Skip to content

PromptScript API


Interface: TargetConfig

Defined in: compiler/src/types.ts:75

Configuration for a single target.

Properties

convention?

optional convention?: string

Defined in: compiler/src/types.ts:81

Output convention ('xml', 'markdown', or custom name)


enabled?

optional enabled?: boolean

Defined in: compiler/src/types.ts:77

Whether this target is enabled


guardsAsSkills?

optional guardsAsSkills?: boolean

Defined in: compiler/src/types.ts:90

Generate skills from

Guards

named entries (Factory).

Default

true

guardsSkillsListing?

optional guardsSkillsListing?: boolean

Defined in: compiler/src/types.ts:93

List generated guard skills in main output file (Factory).

Default

true

output?

optional output?: string

Defined in: compiler/src/types.ts:79

Custom output path


version?

optional version?: string

Defined in: compiler/src/types.ts:87

Target version or format variant. Use 'legacy' for deprecated formats.

Example

'legacy' | '1.0' | '2.0'