agent-sdk / Exports / IResolvedConfig
Interface: IResolvedConfig
Fully resolved config after merging all settings files and applying defaults.
Table of contents
Properties
Properties
defaultTrustLevel
• defaultTrustLevel: "safe" | "moderate" | "full"
Defined in
packages/agent-sdk/src/config/config-types.ts:57
provider
• provider: Object
Type declaration
| Name | Type |
|---|---|
name | string |
model | string |
apiKey | undefined | string |
Defined in
packages/agent-sdk/src/config/config-types.ts:58
permissions
• permissions: Object
Type declaration
| Name | Type |
|---|---|
allow | string[] |
deny | string[] |
Defined in
packages/agent-sdk/src/config/config-types.ts:63
env
• env: Record<string, string>
Defined in
packages/agent-sdk/src/config/config-types.ts:67
hooks
• Optional hooks: Object
Type declaration
| Name | Type |
|---|---|
PreToolUse? | { matcher: string ; hooks: { type: "command" ; command: string }[] }[] |
PostToolUse? | { matcher: string ; hooks: { type: "command" ; command: string }[] }[] |
SessionStart? | { matcher: string ; hooks: { type: "command" ; command: string }[] }[] |
Stop? | { matcher: string ; hooks: { type: "command" ; command: string }[] }[] |