CodeModeReceipt
Code Mode’s details payload (ADR 42727 D2/D3).
Every member is absent when it does not apply, never null; an empty
outputSpans list is never served.
Fields and variants
Section titled “Fields and variants”cellItemIdlanguageoutputSpanssourceArg
Source
schema/msp/experimental/msp.schema.json#/types/CodeModeReceipt
{ "description": "Code Mode's `details` payload (ADR 42727 D2/D3).\n\nEvery member is absent when it does not apply, never `null`; an empty\n`outputSpans` list is never served.", "properties": { "cellItemId": { "description": "`wait` only, when the producer resolved it: the `itemId` of the\n`execute` item that started the cell.", "type": "string" }, "language": { "$ref": "#/$defs/CodeModeLanguage", "description": "`execute`, and `wait` when the producer resolved the originating\nexecute: the language the cell ran in." }, "outputSpans": { "description": "The public cell-output spans, ascending and non-overlapping; absent\nwhen there is no cell body or a hook rewrote the served body.", "items": { "$ref": "#/$defs/CodeModeOutputSpan" }, "type": "array" }, "sourceArg": { "description": "`execute` only: the top-level key of the item's `args` object whose\nvalue is the cell source. A pointer, never source bytes.", "type": "string" } }, "type": "object"}