UserIntentReason
Defined in: packages/protocol/src/lib/request.ts:33
Reason for triggering an engine update - user intent
Properties
Section titled “Properties”
readonlyoptionalid?:string
Defined in: packages/protocol/src/lib/request.ts:40
An id the caller assigns so a Planner verdict can name this reason. Unique within the request and never blank. Absent when the caller needs no per-reason verdict.
intent
Section titled “intent”
readonlyintent:string
Defined in: packages/protocol/src/lib/request.ts:42
The user’s natural language intent
referents?
Section titled “referents?”
readonlyoptionalreferents?:Readonly<Record<string,JsonValue>>
Defined in: packages/protocol/src/lib/request.ts:49
Exact values the caller already knows, such as ids and quantities, carried to every Planner stage unchanged. A Planner decides whether to read them. They are inputs, not instructions: the Planner still chooses the Actions and their parameters. Absent means none.
readonlytype:"user_intent"
Defined in: packages/protocol/src/lib/request.ts:34