Skip to content

PromptScript API


Interface: OutputPlanFile

Defined in: core/src/output-plan.ts:45

One normalized file in an output plan.

Extends

Properties

content

content: string

Defined in: core/src/output-plan.ts:14

File contents.

Inherited from

OutputArtifact.content


managedOutputDirectories?

optional managedOutputDirectories?: string[]

Defined in: core/src/output-plan.ts:22

Relative directories managed by this artifact.

Inherited from

OutputArtifact.managedOutputDirectories


managedOutputFiles?

optional managedOutputFiles?: string[]

Defined in: core/src/output-plan.ts:24

Relative files managed by this artifact.

Inherited from

OutputArtifact.managedOutputFiles


merge?

optional merge?: StructuredMergePlan

Defined in: core/src/output-plan.ts:18

Optional structured merge instructions.

Inherited from

OutputArtifact.merge


mode?

optional mode?: number

Defined in: core/src/output-plan.ts:16

Optional Unix file mode.

Inherited from

OutputArtifact.mode


originalPath

originalPath: string

Defined in: core/src/output-plan.ts:49

Original formatter path before normalization.


owner

owner: string

Defined in: core/src/output-plan.ts:51

Formatter or adapter that owns the file.


path

path: string

Defined in: core/src/output-plan.ts:47

Normalized project-relative path.

Overrides

OutputArtifact.path


resourceOf?

optional resourceOf?: string

Defined in: core/src/output-plan.ts:55

Normalized parent path for nested resources.


role

role: OutputPlanArtifactRole

Defined in: core/src/output-plan.ts:53

Artifact role used for collision resolution.