Skip to content

PromptScript API


Interface: TargetConfig

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

Configuration for a single target.

Properties

convention?

optional convention: string

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

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


enabled?

optional enabled: boolean

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

Whether this target is enabled


guardsAsSkills?

optional guardsAsSkills: boolean

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

Generate skills from

Guards

named entries (Factory).

Default

true

guardsSkillsListing?

optional guardsSkillsListing: boolean

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

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

Default

true

output?

optional output: string

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

Custom output path


version?

optional version: string

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

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

Example

'legacy' | '1.0' | '2.0'