AssistantMessageResultMessage
Defined in: packages/protocol/src/lib/envelope.ts:287
Engine acknowledgement that an assistant-message injection finished.
requestId echoes the originating AcknowledgedAssistantMessage id
so clients can correlate the result to a waiter. Legacy
AssistantInjectionMessage requests remain fire-and-forget and do not
receive this frame. outcome is load-bearing: 'inserted' means the engine
stored a new history entry; 'deduped' means an entry with that id already
existed and nothing was appended. Greeting and other idempotent injectors
branch on that distinction before running side effects such as speech.
Properties
Section titled “Properties”outcome
Section titled “outcome”
readonlyoutcome:"inserted"|"deduped"
Defined in: packages/protocol/src/lib/envelope.ts:295
Whether history grew or already contained the request id.
requestId
Section titled “requestId”
readonlyrequestId:MessageId
Defined in: packages/protocol/src/lib/envelope.ts:291
Echoes the acknowledged request id.
sessionId
Section titled “sessionId”
readonlysessionId:SessionId
Defined in: packages/protocol/src/lib/envelope.ts:293
Echoes the session whose history was targeted.
readonlytype:"engine.assistant_message.result"
Defined in: packages/protocol/src/lib/envelope.ts:289
Identifies the correlated assistant-injection result frame.