Skip to content
Developer Preview

TaskReadTailResult

Experimental

task/readTail result (ADR 70076 D1, experimental).

  • tail — Experimental
  • taskId — Experimental
Source

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

{
"description": "`task/readTail` result (ADR 70076 D1, experimental).",
"properties": {
"tail": {
"description": "The command's latest output, at most [`TASK_READ_TAIL_MAX_BYTES`]\ncut at a character boundary, with invalid UTF-8 replaced. Raw\nterminal text: clients sanitize it before display. Absent when the\nsession holds no output tail for the task: an unknown task, a task\nthat is not a command, or an ended command whose tail the runtime\nreleased.",
"type": "string"
},
"taskId": {
"description": "Echoes the task id.",
"type": "string"
}
},
"required": [
"taskId"
],
"type": "object",
"x-msp-descriptor": "task/readTail",
"x-msp-stability": "experimental"
}