AgentRunContext
Defined in: packages/engine/src/lib/agent-session/agent-config.ts:19
Who an Agent Run acts for, as supplied when the connection opened. Model factories and budget resolvers receive it once per run. It never reaches a prompt, tool arguments or an event.
Properties
Section titled “Properties”token?
Section titled “token?”
readonlyoptionaltoken?:string
Defined in: packages/engine/src/lib/agent-session/agent-config.ts:23
The credential the host forwarded with the connection, when there is one.
readonlyuser:unknown
Defined in: packages/engine/src/lib/agent-session/agent-config.ts:21
The user supplied when the connection opened, passed through unchanged.