changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "accepted": {
- "description": "Whether the action was sent to the device connection; this does not confirm it was consumed or completed.",
- "type": "boolean"
- },
- "action": {
- "description": "The session_control action this result describes; determines which acknowledgment or terminal fields apply.",
- "enum": [
- "input"
- ],
- "type": "string"
- }
- },
- "required": [
- "accepted",
- "action"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "description": "The session_control action this result describes; determines which acknowledgment or terminal fields apply.",
- "enum": [
- "interrupt"
- ],
- "type": "string"
- },
- "delivered": {
- "description": "True only after the client confirms it performed the requested signal or EOF operation. Does not guarantee the program consumed it, stopped or exited.",
- "type": "boolean"
- }
- },
- "required": [
- "delivered",
- "action"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "description": "The session_control action this result describes; determines which acknowledgment or terminal fields apply.",
- "enum": [
- "eof"
- ],
- "type": "string"
- },
- "delivered": {
- "description": "True only after the client confirms it performed the requested signal or EOF operation. Does not guarantee the program consumed it, stopped or exited.",
- "type": "boolean"
- }
- },
- "required": [
- "delivered",
- "action"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "accepted": {
- "description": "True if a cancellation request was sent or is pending. False for a session already ended before this call. This alone never confirms termination.",
- "type": "boolean"
- },
- "action": {
- "description": "The session_control action this result describes; determines which acknowledgment or terminal fields apply.",
- "enum": [
- "stop"
- ],
- "type": "string"
- },
- "already_done": {
- "description": "True if the session was already ended when this stop call began; no new cancellation request is sent.",
- "type": "boolean"
- },
- "canceled": {
- "description": "True only when the target reported cancellation; a disconnect alone does not confirm cancellation.",
- "type": [
- "null",
- "boolean"
- ]
- },
- "done": {
- "description": "True when a terminal result is available or the device connection closed; status and canceled identify the outcome.",
- "type": "boolean"
- },
- "error": {
- "description": "Optional execution or connection error. A disconnect does not prove the remote process completed successfully.",
- "type": "string"
- },
- "exit_code": {
- "description": "Reported process exit code: 0 means success; -1 means execution failed, was interrupted, or the device disconnected before a normal exit report.",
- "type": [
- "null",
- "integer"
- ]
- },
- "next_action": {
- "description": "Next step to perform. Invitation creation returns the exact tool call and deadline; other tools return human-readable guidance.",
- "type": "string"
- },
- "session_id": {
- "description": "Session identifier used by session_read and session_control.",
- "type": "string"
- },
- "status": {
- "description": "stopping: cancellation pending. stopped: terminal cancellation confirmed. finished: ended for another reason, including disconnection.",
- "enum": [
- "stopping",
- "stopped",
- "finished"
- ],
- "type": "string"
- },
- "timed_out": {
- "description": "True if the target reported that the process execution timeout elapsed.",
- "type": [
- "null",
- "boolean"
- ]
- }
- },
- "required": [
- "session_id",
- "accepted",
- "done",
- "status",
- "already_done",
- "action"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "accepted": {
+ "description": "Whether the action was sent to the device connection; this does not confirm it was consumed or completed.",
+ "type": "boolean"
+ },
+ "action": {
+ "description": "The session_control action this result describes; determines which acknowledgment or terminal fields apply.",
+ "enum": [
+ "input"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "accepted",
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "description": "The session_control action this result describes; determines which acknowledgment or terminal fields apply.",
+ "enum": [
+ "interrupt"
+ ],
+ "type": "string"
+ },
+ "delivered": {
+ "description": "True only after the client confirms it performed the requested signal or EOF operation. Does not guarantee the program consumed it, stopped or exited.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "delivered",
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "description": "The session_control action this result describes; determines which acknowledgment or terminal fields apply.",
+ "enum": [
+ "eof"
+ ],
+ "type": "string"
+ },
+ "delivered": {
+ "description": "True only after the client confirms it performed the requested signal or EOF operation. Does not guarantee the program consumed it, stopped or exited.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "delivered",
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "accepted": {
+ "description": "True if a cancellation request was sent or is pending. False for a session already ended before this call. This alone never confirms termination.",
+ "type": "boolean"
+ },
+ "action": {
+ "description": "The session_control action this result describes; determines which acknowledgment or terminal fields apply.",
+ "enum": [
+ "stop"
+ ],
+ "type": "string"
+ },
+ "already_done": {
+ "description": "True if the session was already ended when this stop call began; no new cancellation request is sent.",
+ "type": "boolean"
+ },
+ "canceled": {
+ "description": "True only when the target reported cancellation; a disconnect alone does not confirm cancellation.",
+ "type": [
+ "null",
+ "boolean"
+ ]
+ },
+ "done": {
+ "description": "True when a terminal result is available or the device connection closed; status and canceled identify the outcome.",
+ "type": "boolean"
+ },
+ "error": {
+ "description": "Optional execution or connection error. A disconnect does not prove the remote process completed successfully.",
+ "type": "string"
+ },
+ "exit_code": {
+ "description": "Reported process exit code: 0 means success; -1 means execution failed, was interrupted, or the device disconnected before a normal exit report.",
+ "type": [
+ "null",
+ "integer"
+ ]
+ },
+ "session_id": {
+ "description": "Session identifier used by session_read and session_control.",
+ "type": "string"
+ },
+ "status": {
+ "description": "stopping: cancellation pending. stopped: terminal cancellation confirmed. finished: ended for another reason, including disconnection.",
+ "enum": [
+ "stopping",
+ "stopped",
+ "finished"
+ ],
+ "type": "string"
+ },
+ "timed_out": {
+ "description": "True if the target reported that the process execution timeout elapsed.",
+ "type": [
+ "null",
+ "boolean"
+ ]
+ }
+ },
+ "required": [
+ "session_id",
+ "accepted",
+ "done",
+ "status",
+ "already_done",
+ "action"
+ ],
+ "type": "object"
+ }
+]