Skip to content

CommandToolingConfig

Defined in: core/dist/config/types.d.ts:59

Shared per-command tooling configuration (the knobs every actionable command carries). Reused across the per-command types in GthConfig.commands and by PrCommandConfig. Type-level dedupe only — no runtime/behaviour change.

NOTE: commands.api intentionally does NOT use this shape (it only has filesystem/builtInTools plus port/cors), so it stays bespoke below.

optional allowedTools?: string[]

Defined in: core/dist/config/types.d.ts:70

See GthConfig.allowedTools.


optional approvals?: ApprovalsConfig

Defined in: core/dist/config/types.d.ts:67

§9.1 — per-command approvals posture. It overrides only the fields it NAMES: mode, rater, raterTimeoutMs and allow replace the root’s, while deny and escalate concatenate with it. See GthConfig.approvals.


optional binaryFormats?: false | BinaryFormatConfig[]

Defined in: core/dist/config/types.d.ts:71


optional builtInTools?: BuiltInToolsSetting

Defined in: core/dist/config/types.d.ts:61


optional customTools?: false | CustomToolsConfig

Defined in: core/dist/config/types.d.ts:68


optional filesystem?: string[] | "none" | "all" | "read"

Defined in: core/dist/config/types.d.ts:60