Skip to content
Developer Preview

BackgroundTerminalCompletion

backgroundTerminalCompletion: the five facts the Finished cell renders (ADR 50041 D3/D4). The fold reads them from the inbox terminal record and the backgrounded call it names; every member is required (empty output serializes as "", never absent).

  • command
  • output
  • outputTruncated
  • terminalStatus
  • toolCallId
Source

schema/msp/experimental/msp.schema.json#/types/BackgroundTerminalCompletion

{
"description": "`backgroundTerminalCompletion`: the five facts the Finished cell\nrenders (ADR 50041 D3/D4). The fold reads them from the inbox\nterminal record and the backgrounded call it names; every member\nis required (empty output serializes as `\"\"`, never absent).",
"properties": {
"command": {
"description": "The title text gate-off shows for the backgrounded command.",
"type": "string"
},
"output": {
"description": "The completion text; empty when the terminal carries none.",
"type": "string"
},
"outputTruncated": {
"description": "True when `output` is a prefix of the terminal text.",
"type": "boolean"
},
"terminalStatus": {
"description": "One of `completed`, `failed`, `cancelled`, `timedOut`,\n`rejected`.",
"type": "string"
},
"toolCallId": {
"description": "The backgrounded call's call id: the live/history correlation\nkey behind the skip-when-minted rule (ADR 50041 D6).",
"type": "string"
}
},
"required": [
"command",
"output",
"outputTruncated",
"terminalStatus",
"toolCallId"
],
"type": "object"
}