Skip to content

TargetConfig

PromptScript API


Defined in: browser-compiler/src/compiler.ts:39

Configuration for a single target.

Properties

convention?

optional convention?: string

Defined in: browser-compiler/src/compiler.ts:45

Output convention (‘xml’, ‘markdown’, or custom name)


enabled?

optional enabled?: boolean

Defined in: browser-compiler/src/compiler.ts:41

Whether this target is enabled


excludeAgents?

optional excludeAgents?: string[]

Defined in: browser-compiler/src/compiler.ts:60

Agent names never emitted for this target


includeAgents?

optional includeAgents?: boolean | string[]

Defined in: browser-compiler/src/compiler.ts:58

Controls which agents are emitted for this target


includeSkills?

optional includeSkills?: boolean | string[]

Defined in: browser-compiler/src/compiler.ts:56

Controls which skills are emitted for this target


output?

optional output?: string

Defined in: browser-compiler/src/compiler.ts:43

Custom output path


rulesMode?

optional rulesMode?: FactoryRulesMode

Defined in: browser-compiler/src/compiler.ts:52

Factory always-on rules output mode. Split mode requires Factory’s multifile or full version.


skillBaseDir?

optional skillBaseDir?: string

Defined in: browser-compiler/src/compiler.ts:54

Custom base directory for generated skill files


version?

optional version?: string

Defined in: browser-compiler/src/compiler.ts:47

Target version or format variant