Skip to content

AssistantMessageResultOutput

Defined in: packages/protocol/src/lib/engine-output.ts:32

Result of an assistant_message submission. outcome tells the caller whether this specific call wrote a new entry ('inserted') or was a dedup no-op against an existing entry with the same MessageId ('deduped'). The history write itself is always idempotent; this field only reports which branch happened so callers can instrument behavior.

readonly id: MessageId

Defined in: packages/protocol/src/lib/engine-output.ts:12

EngineOutputBase.id


readonly outcome: "inserted" | "deduped"

Defined in: packages/protocol/src/lib/engine-output.ts:34


readonly sessionId: SessionId

Defined in: packages/protocol/src/lib/engine-output.ts:11

EngineOutputBase.sessionId


readonly type: "assistant_message_result"

Defined in: packages/protocol/src/lib/engine-output.ts:33