Skip to content

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

NameType
namestring
modelstring
apiKeyundefined | string

Defined in

packages/agent-sdk/src/config/config-types.ts:58


permissions

permissions: Object

Type declaration

NameType
allowstring[]
denystring[]

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

NameType
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 }[] }[]

Defined in

packages/agent-sdk/src/config/config-types.ts:68

Released under the MIT License.