CompileOptions
Defined in: compiler/src/compiler.ts:1471
Options for the standalone compile function.
Properties
customConventions?
optionalcustomConventions?:Record<string,OutputConvention>
Defined in: compiler/src/compiler.ts:1497
Custom conventions for formatters.
formatters?
optionalformatters?: (string|Formatter| {config?:TargetConfig;name:string; })[]
Defined in: compiler/src/compiler.ts:1493
Formatters to use. If not specified, all built-in formatters are used.
models?
optionalmodels?:ModelsConfig
Defined in: compiler/src/compiler.ts:1505
Model catalog settings (models in promptscript.yaml).
prettier?
optionalprettier?:PrettierMarkdownOptions
Defined in: compiler/src/compiler.ts:1501
Prettier formatting options for markdown output.
resolver?
optionalresolver?:object
Defined in: compiler/src/compiler.ts:1476
Resolver options for resolving imports and inheritance. If not provided, defaults to current working directory.
cache?
optionalcache?:boolean
Whether to cache resolved ASTs. Defaults to true.
localPath?
optionallocalPath?:string
Base path for local/relative file resolution. Defaults to cwd.
projectRoot?
optionalprojectRoot?:string
Project root containing .promptscript/scripts.
registryPath?
optionalregistryPath?:string
Base path for registry lookups (@namespace/…). Defaults to cwd.
skillContent?
optionalskillContent?:string
Defined in: compiler/src/compiler.ts:1509
Content of the PromptScript SKILL.md to inject into compilation output.
validator?
optionalvalidator?:ValidatorConfig
Defined in: compiler/src/compiler.ts:1489
Validator configuration.