changedInput schema / properties / agent_id / description
Previous value: -"Agent ID from spawn_agent"New value: +"Single agent ID from spawn_agent"
addedInput schema / properties / condition
Added value: +{
+ "description": "Alias for target_state",
+ "enum": [
+ "ready",
+ "working",
+ "idle",
+ "done",
+ "error"
+ ],
+ "type": "string"
+}
addedInput schema / properties / delivery_id
Added value: +{
+ "description": "Wait for a send_to delivery_id to reach a terminal outcome",
+ "type": "string"
+}
addedInput schema / properties / done_marker
Added value: +{
+ "description": "Final-line marker for report_path",
+ "minLength": 1,
+ "type": "string"
+}
addedInput schema / properties / ids
Added value: +{
+ "description": "Agent IDs to wait for together",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+}
addedInput schema / properties / mine
Added value: +{
+ "default": false,
+ "description": "Wait for every direct child of the calling agent",
+ "type": "boolean"
+}
addedInput schema / properties / report_path
Added value: +{
+ "description": "With done_marker and agent_id: file-backed done. Matches when this ABSOLUTE file's final non-empty line equals done_marker, the same report contract spawn_agent issues. After symlinks resolve it must sit under ~/.cmux/ or ~/.cmux/agents/<agent_id>/, else refused.",
+ "type": "string"
+}
addedInput schema / properties / watch
Added value: +{
+ "additionalProperties": false,
+ "description": "Declared WatchSpec alternative to agent_id/ids",
+ "properties": {
+ "change": {
+ "const": "content",
+ "description": "Persistent file-content change watch; mutually exclusive with predicate and marker",
+ "type": "string"
+ },
+ "deadline": {
+ "description": "Absolute Unix deadline in milliseconds",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "marker": {
+ "description": "Literal file marker; mutually exclusive with predicate and change",
+ "minLength": 1,
+ "type": "string"
+ },
+ "notify": {
+ "description": "Opt in to the configured external notification transport",
+ "type": "boolean"
+ },
+ "owner": {
+ "description": "Agent/seat notified by the watch",
+ "minLength": 1,
+ "type": "string"
+ },
+ "predicate": {
+ "description": "Agent screen-state predicate: thinking, working, idle, done, error; mutually exclusive with marker and change",
+ "enum": [
+ "thinking",
+ "working",
+ "idle",
+ "done",
+ "error"
+ ],
+ "type": "string"
+ },
+ "target": {
+ "description": "Absolute file path or public agent_id",
+ "minLength": 1,
+ "type": "string"
+ },
+ "watermark": {
+ "description": "Prior marker count; defaults to count observed at arm time",
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "owner",
+ "target",
+ "deadline"
+ ],
+ "type": "object"
+}
removedInput schema / required
Removed value: -[
- "agent_id",
- "target_state"
-]
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": true,
+ "properties": {
+ "agent_id": {
+ "type": "string"
+ },
+ "attention_reason": {
+ "type": "string"
+ },
+ "delivered": {
+ "type": "boolean"
+ },
+ "delivery": {
+ "enum": [
+ "submitted",
+ "typed",
+ "queued",
+ "queued_followup",
+ "rescued",
+ "failed",
+ "pending_verify",
+ "failed_confirmed",
+ "stalled_queue"
+ ],
+ "type": "string"
+ },
+ "delivery_id": {
+ "type": "string"
+ },
+ "delivery_state": {
+ "enum": [
+ "submitted",
+ "typed",
+ "queued",
+ "queued_followup",
+ "rescued",
+ "failed",
+ "pending_verify",
+ "failed_confirmed",
+ "stalled_queue"
+ ],
+ "type": "string"
+ },
+ "duplicate_of": {
+ "type": "string"
+ },
+ "needs_attention": {
+ "type": "boolean"
+ },
+ "ok": {
+ "type": "boolean"
+ },
+ "results": {
+ "items": {
+ "additionalProperties": {},
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "retry_count": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "rpc_methods": {
+ "items": {
+ "enum": [
+ "surface.send_text",
+ "surface.send_key"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "submit_attempted": {
+ "type": "boolean"
+ },
+ "submit_dispatched": {
+ "type": "boolean"
+ },
+ "submit_evidence": {
+ "anyOf": [
+ {
+ "enum": [
+ "token_delta",
+ "transcript_echo",
+ "cleared_composer",
+ "status_only"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "submit_verified": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "terminal": {
+ "type": "boolean"
+ },
+ "timed_out": {
+ "type": "boolean"
+ },
+ "typed": {
+ "type": "boolean"
+ },
+ "watch": {
+ "additionalProperties": {},
+ "type": "object"
+ }
+ },
+ "required": [
+ "ok",
+ "retry_count"
+ ],
+ "type": "object"
+}