BURROW // API

Results and wire shapes

Named Go result shapes are derived from the actual JSON types. Union and map replies have explicit descriptions. These shapes document successful responses and reviews; they do not certify remote success. Fields such as remoteExit, localExit, outputComplete, cancellation and collection answer different questions.

Activity

Independent observation, not a terminal transcript. Shared controls use source=burrow/shell-control, id=owner requestID, resourceID=shell ID, connectionID=connection creation and actor=available controller label (not authenticated identity). Details distinguish submittedBytes and providerResult.acceptedBytes; shell/run exits remain separate.

Field / optionTypePresenceDescription / constraints
actorstringOptionalSee full schema.
chainstringOptionalSee full schema.
connectionIDstringOptionalSee full schema.
datastringOptionalSee full schema.
detailssee schemaOptionalSee full schema.
idstringOptionalSee full schema.
kindstringRequiredSee full schema.
messagestringRequiredSee full schema.
nextOffsetintegerRequiredSee full schema.
observedAtstringRequiredSee full schema.
offsetintegerRequiredSee full schema.
operationstringOptionalSee full schema.
resourceIDstringOptionalSee full schema.
runIDstringOptionalSee full schema.
sequenceintegerOptionalSee full schema.
sourcestringRequiredSee full schema.
statestringOptionalSee full schema.
streamstringOptionalSee full schema.
targetstringOptionalSee full schema.
timestringRequiredSee full schema.
versionintegerRequiredSee full schema.
workspacePathstringRequiredSee full schema.
Full JSON schema
{
  "description": "Independent observation, not a terminal transcript. Shared controls use source=burrow/shell-control, id=owner requestID, resourceID=shell ID, connectionID=connection creation and actor=available controller label (not authenticated identity). Details distinguish submittedBytes and providerResult.acceptedBytes; shell/run exits remain separate.",
  "properties": {
    "actor": {
      "type": "string"
    },
    "chain": {
      "type": "string"
    },
    "connectionID": {
      "type": "string"
    },
    "data": {
      "type": "string"
    },
    "details": {},
    "id": {
      "type": "string"
    },
    "kind": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "nextOffset": {
      "type": "integer"
    },
    "observedAt": {
      "type": "string"
    },
    "offset": {
      "type": "integer"
    },
    "operation": {
      "type": "string"
    },
    "resourceID": {
      "type": "string"
    },
    "runID": {
      "type": "string"
    },
    "sequence": {
      "type": "integer"
    },
    "source": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "stream": {
      "type": "string"
    },
    "target": {
      "type": "string"
    },
    "time": {
      "type": "string"
    },
    "version": {
      "type": "integer"
    },
    "workspacePath": {
      "type": "string"
    }
  },
  "required": [
    "version",
    "workspacePath",
    "time",
    "observedAt",
    "source",
    "kind",
    "message",
    "offset",
    "nextOffset"
  ],
  "type": "object"
}

Backup

Field / optionTypePresenceDescription / constraints
backupstringRequiredSee full schema.
collectionstringRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "backup": {
      "type": "string"
    },
    "collection": {
      "type": "string"
    }
  },
  "required": [
    "backup",
    "collection"
  ],
  "type": "object"
}

ChainSelection

Field / optionTypePresenceDescription / constraints
connectionobjectRequiredSee full schema.
ownerobjectRequiredSee full schema.
tunnelsobject[] | nullRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "connection": {
      "properties": {
        "connected": {
          "type": "integer"
        },
        "creation": {
          "type": "string"
        },
        "detail": {
          "type": "string"
        },
        "dispatch": {
          "type": "integer"
        },
        "generation": {
          "type": "string"
        },
        "host": {
          "type": "string"
        },
        "masterPID": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "ownerPID": {
          "type": "integer"
        },
        "port": {
          "type": "integer"
        },
        "proxy": {
          "properties": {
            "connection": {
              "type": "string"
            },
            "connectionCreation": {
              "type": "string"
            },
            "creation": {
              "type": "string"
            },
            "destination": {
              "type": "string"
            },
            "direction": {
              "type": "string"
            },
            "generation": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "listen": {
              "type": "string"
            },
            "requestedListen": {
              "type": "string"
            },
            "runID": {
              "type": "string"
            },
            "session": {
              "type": "string"
            },
            "state": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "creation",
            "connection",
            "connectionCreation",
            "session",
            "generation",
            "direction",
            "listen",
            "destination",
            "state",
            "runID"
          ],
          "type": "object"
        },
        "proxyPort": {
          "type": "integer"
        },
        "runID": {
          "type": "string"
        },
        "session": {
          "type": "string"
        },
        "shellCount": {
          "type": "integer"
        },
        "shellRevision": {
          "type": "integer"
        },
        "socket": {
          "type": "string"
        },
        "socketInode": {
          "type": "integer"
        },
        "state": {
          "type": "string"
        },
        "tunnelCount": {
          "type": "integer"
        },
        "tunnelRevision": {
          "type": "integer"
        },
        "user": {
          "type": "string"
        }
      },
      "required": [
        "shellCount",
        "shellRevision",
        "tunnelCount",
        "tunnelRevision",
        "name",
        "host",
        "user",
        "port",
        "state",
        "socket",
        "session",
        "ownerPID",
        "masterPID",
        "socketInode",
        "detail"
      ],
      "type": "object"
    },
    "owner": {
      "properties": {
        "generation": {
          "type": "string"
        },
        "ownerPID": {
          "type": "integer"
        },
        "passwordAuth": {
          "type": "boolean"
        },
        "retainedShells": {
          "type": "boolean"
        },
        "runID": {
          "type": "string"
        },
        "session": {
          "type": "string"
        },
        "workspace": {
          "type": "string"
        }
      },
      "required": [
        "session",
        "generation",
        "workspace",
        "ownerPID",
        "runID"
      ],
      "type": "object"
    },
    "tunnels": {
      "items": {
        "properties": {
          "connection": {
            "type": "string"
          },
          "connectionCreation": {
            "type": "string"
          },
          "creation": {
            "type": "string"
          },
          "destination": {
            "type": "string"
          },
          "direction": {
            "type": "string"
          },
          "generation": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "listen": {
            "type": "string"
          },
          "requestedListen": {
            "type": "string"
          },
          "runID": {
            "type": "string"
          },
          "session": {
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "creation",
          "connection",
          "connectionCreation",
          "session",
          "generation",
          "direction",
          "listen",
          "destination",
          "state",
          "runID"
        ],
        "type": "object"
      },
      "type": [
        "array",
        "null"
      ]
    }
  },
  "required": [
    "owner",
    "connection",
    "tunnels"
  ],
  "type": "object"
}

CloseReview

{review:string,digest:string} before approval; {state:'closed',name:string} after close. --review binds the exact creation, state and tunnel revision.

object | object

Full JSON schema
{
  "anyOf": [
    {
      "properties": {
        "digest": {
          "type": "string"
        },
        "review": {
          "type": "string"
        }
      },
      "required": [
        "review",
        "digest"
      ],
      "type": "object"
    },
    {
      "properties": {
        "name": {
          "type": "string"
        },
        "state": {
          "type": "string"
        }
      },
      "required": [
        "state",
        "name"
      ],
      "type": "object"
    }
  ],
  "description": "{review:string,digest:string} before approval; {state:'closed',name:string} after close. --review binds the exact creation, state and tunnel revision."
}

Collection

Field / optionTypePresenceDescription / constraints
pathstringRequiredSee full schema.
profilesobject[] | nullRequiredSee full schema.
revisionstringRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "path": {
      "type": "string"
    },
    "profiles": {
      "items": {
        "properties": {
          "agent": {
            "type": "string"
          },
          "agentExplicit": {
            "type": "boolean"
          },
          "host": {
            "type": "string"
          },
          "jump": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "passwordAuth": {
            "type": "boolean"
          },
          "port": {
            "type": "integer"
          },
          "proxyPort": {
            "type": "integer"
          },
          "sshConfig": {
            "type": "string"
          },
          "user": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "host",
          "user",
          "port"
        ],
        "type": "object"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "revision": {
      "type": "string"
    }
  },
  "required": [
    "path",
    "revision",
    "profiles"
  ],
  "type": "object"
}

ConnectionReview

Review object {review:string,digest:string} or State after confirmation. Interactive authentication may show a private prompt before State.

object | State

Full JSON schema
{
  "anyOf": [
    {
      "properties": {
        "digest": {
          "type": "string"
        },
        "review": {
          "type": "string"
        }
      },
      "required": [
        "review",
        "digest"
      ],
      "type": "object"
    },
    {
      "$ref": "#/results/State"
    }
  ],
  "description": "Review object {review:string,digest:string} or State after confirmation. Interactive authentication may show a private prompt before State."
}

Document

Field / optionTypePresenceDescription / constraints
markdownstringRequiredSee full schema.
reportobjectRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "markdown": {
      "type": "string"
    },
    "report": {
      "properties": {
        "complete": {
          "type": "boolean"
        },
        "connection": {
          "type": "string"
        },
        "createdAt": {
          "type": "string"
        },
        "detail": {
          "type": "string"
        },
        "error": {
          "type": "string"
        },
        "exit": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "host": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "markdown": {
          "type": "string"
        },
        "path": {
          "type": "string"
        },
        "port": {
          "type": "integer"
        },
        "producer": {
          "type": "string"
        },
        "sha256": {
          "type": "string"
        },
        "size": {
          "type": "integer"
        },
        "sourceRun": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "user": {
          "type": "string"
        },
        "version": {
          "type": "integer"
        }
      },
      "required": [
        "version",
        "title",
        "producer",
        "connection",
        "host",
        "user",
        "port",
        "sourceRun",
        "status",
        "exit",
        "complete",
        "markdown",
        "id",
        "createdAt",
        "path",
        "sha256",
        "size"
      ],
      "type": "object"
    }
  },
  "required": [
    "report",
    "markdown"
  ],
  "type": "object"
}

Download

Field / optionTypePresenceDescription / constraints
averageRatenumberRequiredSee full schema.
bytesintegerRequiredSee full schema.
cancelledFilesintegerRequiredSee full schema.
completedstringOptionalSee full schema.
completedFilesintegerRequiredSee full schema.
detailstringOptionalSee full schema.
elapsednumberRequiredSee full schema.
etanumber | nullRequiredSee full schema.
failedFilesintegerRequiredSee full schema.
filesobject[] | nullRequiredSee full schema.
idstringRequiredSee full schema.
planobjectRequiredSee full schema.
ratenumberRequiredSee full schema.
runIDstringRequiredSee full schema.
startedstringRequiredSee full schema.
statestringRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "averageRate": {
      "type": "number"
    },
    "bytes": {
      "type": "integer"
    },
    "cancelledFiles": {
      "type": "integer"
    },
    "completed": {
      "format": "date-time",
      "type": "string"
    },
    "completedFiles": {
      "type": "integer"
    },
    "detail": {
      "type": "string"
    },
    "elapsed": {
      "type": "number"
    },
    "eta": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "failedFiles": {
      "type": "integer"
    },
    "files": {
      "items": {
        "properties": {
          "averageRate": {
            "type": "number"
          },
          "bytes": {
            "type": "integer"
          },
          "completed": {
            "format": "date-time",
            "type": "string"
          },
          "destination": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "elapsed": {
            "type": "number"
          },
          "existing": {
            "type": "string"
          },
          "modified": {
            "format": "date-time",
            "type": "string"
          },
          "partial": {
            "type": "string"
          },
          "relative": {
            "type": "string"
          },
          "size": {
            "type": "integer"
          },
          "source": {
            "type": "string"
          },
          "sourceIdentity": {
            "type": "string"
          },
          "started": {
            "format": "date-time",
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        },
        "required": [
          "source",
          "destination",
          "relative",
          "size",
          "modified",
          "existing",
          "bytes",
          "elapsed",
          "averageRate",
          "state"
        ],
        "type": "object"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "id": {
      "type": "string"
    },
    "plan": {
      "properties": {
        "digest": {
          "type": "string"
        },
        "files": {
          "items": {
            "properties": {
              "averageRate": {
                "type": "number"
              },
              "bytes": {
                "type": "integer"
              },
              "completed": {
                "format": "date-time",
                "type": "string"
              },
              "destination": {
                "type": "string"
              },
              "detail": {
                "type": "string"
              },
              "elapsed": {
                "type": "number"
              },
              "existing": {
                "type": "string"
              },
              "modified": {
                "format": "date-time",
                "type": "string"
              },
              "partial": {
                "type": "string"
              },
              "relative": {
                "type": "string"
              },
              "size": {
                "type": "integer"
              },
              "source": {
                "type": "string"
              },
              "sourceIdentity": {
                "type": "string"
              },
              "started": {
                "format": "date-time",
                "type": "string"
              },
              "state": {
                "type": "string"
              }
            },
            "required": [
              "source",
              "destination",
              "relative",
              "size",
              "modified",
              "existing",
              "bytes",
              "elapsed",
              "averageRate",
              "state"
            ],
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "local": {
          "type": "string"
        },
        "operation": {
          "type": "string"
        },
        "owner": {
          "properties": {
            "connected": {
              "type": "integer"
            },
            "creation": {
              "type": "string"
            },
            "detail": {
              "type": "string"
            },
            "dispatch": {
              "type": "integer"
            },
            "generation": {
              "type": "string"
            },
            "host": {
              "type": "string"
            },
            "masterPID": {
              "type": "integer"
            },
            "name": {
              "type": "string"
            },
            "ownerPID": {
              "type": "integer"
            },
            "port": {
              "type": "integer"
            },
            "proxy": {
              "properties": {
                "connection": {
                  "type": "string"
                },
                "connectionCreation": {
                  "type": "string"
                },
                "creation": {
                  "type": "string"
                },
                "destination": {
                  "type": "string"
                },
                "direction": {
                  "type": "string"
                },
                "generation": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                },
                "listen": {
                  "type": "string"
                },
                "requestedListen": {
                  "type": "string"
                },
                "runID": {
                  "type": "string"
                },
                "session": {
                  "type": "string"
                },
                "state": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "creation",
                "connection",
                "connectionCreation",
                "session",
                "generation",
                "direction",
                "listen",
                "destination",
                "state",
                "runID"
              ],
              "type": "object"
            },
            "proxyPort": {
              "type": "integer"
            },
            "runID": {
              "type": "string"
            },
            "session": {
              "type": "string"
            },
            "shellCount": {
              "type": "integer"
            },
            "shellRevision": {
              "type": "integer"
            },
            "socket": {
              "type": "string"
            },
            "socketInode": {
              "type": "integer"
            },
            "state": {
              "type": "string"
            },
            "tunnelCount": {
              "type": "integer"
            },
            "tunnelRevision": {
              "type": "integer"
            },
            "user": {
              "type": "string"
            }
          },
          "required": [
            "shellCount",
            "shellRevision",
            "tunnelCount",
            "tunnelRevision",
            "name",
            "host",
            "user",
            "port",
            "state",
            "socket",
            "session",
            "ownerPID",
            "masterPID",
            "socketInode",
            "detail"
          ],
          "type": "object"
        },
        "pattern": {
          "type": "string"
        },
        "root": {
          "type": "string"
        },
        "rootIdentity": {
          "type": "string"
        },
        "workspace": {
          "type": "string"
        }
      },
      "required": [
        "operation",
        "pattern",
        "local",
        "workspace",
        "owner",
        "root",
        "rootIdentity",
        "files",
        "digest"
      ],
      "type": "object"
    },
    "rate": {
      "type": "number"
    },
    "runID": {
      "type": "string"
    },
    "started": {
      "format": "date-time",
      "type": "string"
    },
    "state": {
      "type": "string"
    }
  },
  "required": [
    "completedFiles",
    "failedFiles",
    "cancelledFiles",
    "id",
    "runID",
    "plan",
    "files",
    "state",
    "started",
    "elapsed",
    "bytes",
    "rate",
    "averageRate",
    "eta"
  ],
  "type": "object"
}

DownloadPlan

Field / optionTypePresenceDescription / constraints
digeststringRequiredSee full schema.
filesobject[] | nullRequiredSee full schema.
localstringRequiredSee full schema.
operationstringRequiredSee full schema.
ownerobjectRequiredSee full schema.
patternstringRequiredSee full schema.
rootstringRequiredSee full schema.
rootIdentitystringRequiredSee full schema.
workspacestringRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "digest": {
      "type": "string"
    },
    "files": {
      "items": {
        "properties": {
          "averageRate": {
            "type": "number"
          },
          "bytes": {
            "type": "integer"
          },
          "completed": {
            "format": "date-time",
            "type": "string"
          },
          "destination": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "elapsed": {
            "type": "number"
          },
          "existing": {
            "type": "string"
          },
          "modified": {
            "format": "date-time",
            "type": "string"
          },
          "partial": {
            "type": "string"
          },
          "relative": {
            "type": "string"
          },
          "size": {
            "type": "integer"
          },
          "source": {
            "type": "string"
          },
          "sourceIdentity": {
            "type": "string"
          },
          "started": {
            "format": "date-time",
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        },
        "required": [
          "source",
          "destination",
          "relative",
          "size",
          "modified",
          "existing",
          "bytes",
          "elapsed",
          "averageRate",
          "state"
        ],
        "type": "object"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "local": {
      "type": "string"
    },
    "operation": {
      "type": "string"
    },
    "owner": {
      "properties": {
        "connected": {
          "type": "integer"
        },
        "creation": {
          "type": "string"
        },
        "detail": {
          "type": "string"
        },
        "dispatch": {
          "type": "integer"
        },
        "generation": {
          "type": "string"
        },
        "host": {
          "type": "string"
        },
        "masterPID": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "ownerPID": {
          "type": "integer"
        },
        "port": {
          "type": "integer"
        },
        "proxy": {
          "properties": {
            "connection": {
              "type": "string"
            },
            "connectionCreation": {
              "type": "string"
            },
            "creation": {
              "type": "string"
            },
            "destination": {
              "type": "string"
            },
            "direction": {
              "type": "string"
            },
            "generation": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "listen": {
              "type": "string"
            },
            "requestedListen": {
              "type": "string"
            },
            "runID": {
              "type": "string"
            },
            "session": {
              "type": "string"
            },
            "state": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "creation",
            "connection",
            "connectionCreation",
            "session",
            "generation",
            "direction",
            "listen",
            "destination",
            "state",
            "runID"
          ],
          "type": "object"
        },
        "proxyPort": {
          "type": "integer"
        },
        "runID": {
          "type": "string"
        },
        "session": {
          "type": "string"
        },
        "shellCount": {
          "type": "integer"
        },
        "shellRevision": {
          "type": "integer"
        },
        "socket": {
          "type": "string"
        },
        "socketInode": {
          "type": "integer"
        },
        "state": {
          "type": "string"
        },
        "tunnelCount": {
          "type": "integer"
        },
        "tunnelRevision": {
          "type": "integer"
        },
        "user": {
          "type": "string"
        }
      },
      "required": [
        "shellCount",
        "shellRevision",
        "tunnelCount",
        "tunnelRevision",
        "name",
        "host",
        "user",
        "port",
        "state",
        "socket",
        "session",
        "ownerPID",
        "masterPID",
        "socketInode",
        "detail"
      ],
      "type": "object"
    },
    "pattern": {
      "type": "string"
    },
    "root": {
      "type": "string"
    },
    "rootIdentity": {
      "type": "string"
    },
    "workspace": {
      "type": "string"
    }
  },
  "required": [
    "operation",
    "pattern",
    "local",
    "workspace",
    "owner",
    "root",
    "rootIdentity",
    "files",
    "digest"
  ],
  "type": "object"
}

DownloadReview

Review returns DownloadPlan directly (including digest); confirmed start returns Download; asynchronous state must be inspected.

DownloadPlan | Download

Full JSON schema
{
  "anyOf": [
    {
      "$ref": "#/results/DownloadPlan"
    },
    {
      "$ref": "#/results/Download"
    }
  ],
  "description": "Review returns DownloadPlan directly (including digest); confirmed start returns Download; asynchronous state must be inspected."
}

Downloads

Field / optionTypePresenceDescription / constraints
bytesintegerRequiredSee full schema.
connectionsobject | nullRequiredSee full schema.
filesintegerRequiredSee full schema.
recordsobject[] | nullRequiredSee full schema.
warningstringOptionalSee full schema.
Full JSON schema
{
  "properties": {
    "bytes": {
      "type": "integer"
    },
    "connections": {
      "additionalProperties": {
        "properties": {
          "bytes": {
            "type": "integer"
          },
          "files": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "files",
          "bytes"
        ],
        "type": "object"
      },
      "type": [
        "object",
        "null"
      ]
    },
    "files": {
      "type": "integer"
    },
    "records": {
      "items": {
        "properties": {
          "averageRate": {
            "type": "number"
          },
          "bytes": {
            "type": "integer"
          },
          "cancelledFiles": {
            "type": "integer"
          },
          "completed": {
            "format": "date-time",
            "type": "string"
          },
          "completedFiles": {
            "type": "integer"
          },
          "detail": {
            "type": "string"
          },
          "elapsed": {
            "type": "number"
          },
          "eta": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "failedFiles": {
            "type": "integer"
          },
          "files": {
            "items": {
              "properties": {
                "averageRate": {
                  "type": "number"
                },
                "bytes": {
                  "type": "integer"
                },
                "completed": {
                  "format": "date-time",
                  "type": "string"
                },
                "destination": {
                  "type": "string"
                },
                "detail": {
                  "type": "string"
                },
                "elapsed": {
                  "type": "number"
                },
                "existing": {
                  "type": "string"
                },
                "modified": {
                  "format": "date-time",
                  "type": "string"
                },
                "partial": {
                  "type": "string"
                },
                "relative": {
                  "type": "string"
                },
                "size": {
                  "type": "integer"
                },
                "source": {
                  "type": "string"
                },
                "sourceIdentity": {
                  "type": "string"
                },
                "started": {
                  "format": "date-time",
                  "type": "string"
                },
                "state": {
                  "type": "string"
                }
              },
              "required": [
                "source",
                "destination",
                "relative",
                "size",
                "modified",
                "existing",
                "bytes",
                "elapsed",
                "averageRate",
                "state"
              ],
              "type": "object"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "plan": {
            "properties": {
              "digest": {
                "type": "string"
              },
              "files": {
                "items": {
                  "properties": {
                    "averageRate": {
                      "type": "number"
                    },
                    "bytes": {
                      "type": "integer"
                    },
                    "completed": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "destination": {
                      "type": "string"
                    },
                    "detail": {
                      "type": "string"
                    },
                    "elapsed": {
                      "type": "number"
                    },
                    "existing": {
                      "type": "string"
                    },
                    "modified": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "partial": {
                      "type": "string"
                    },
                    "relative": {
                      "type": "string"
                    },
                    "size": {
                      "type": "integer"
                    },
                    "source": {
                      "type": "string"
                    },
                    "sourceIdentity": {
                      "type": "string"
                    },
                    "started": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "state": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "source",
                    "destination",
                    "relative",
                    "size",
                    "modified",
                    "existing",
                    "bytes",
                    "elapsed",
                    "averageRate",
                    "state"
                  ],
                  "type": "object"
                },
                "type": [
                  "array",
                  "null"
                ]
              },
              "local": {
                "type": "string"
              },
              "operation": {
                "type": "string"
              },
              "owner": {
                "properties": {
                  "connected": {
                    "type": "integer"
                  },
                  "creation": {
                    "type": "string"
                  },
                  "detail": {
                    "type": "string"
                  },
                  "dispatch": {
                    "type": "integer"
                  },
                  "generation": {
                    "type": "string"
                  },
                  "host": {
                    "type": "string"
                  },
                  "masterPID": {
                    "type": "integer"
                  },
                  "name": {
                    "type": "string"
                  },
                  "ownerPID": {
                    "type": "integer"
                  },
                  "port": {
                    "type": "integer"
                  },
                  "proxy": {
                    "properties": {
                      "connection": {
                        "type": "string"
                      },
                      "connectionCreation": {
                        "type": "string"
                      },
                      "creation": {
                        "type": "string"
                      },
                      "destination": {
                        "type": "string"
                      },
                      "direction": {
                        "type": "string"
                      },
                      "generation": {
                        "type": "string"
                      },
                      "id": {
                        "type": "string"
                      },
                      "listen": {
                        "type": "string"
                      },
                      "requestedListen": {
                        "type": "string"
                      },
                      "runID": {
                        "type": "string"
                      },
                      "session": {
                        "type": "string"
                      },
                      "state": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "creation",
                      "connection",
                      "connectionCreation",
                      "session",
                      "generation",
                      "direction",
                      "listen",
                      "destination",
                      "state",
                      "runID"
                    ],
                    "type": "object"
                  },
                  "proxyPort": {
                    "type": "integer"
                  },
                  "runID": {
                    "type": "string"
                  },
                  "session": {
                    "type": "string"
                  },
                  "shellCount": {
                    "type": "integer"
                  },
                  "shellRevision": {
                    "type": "integer"
                  },
                  "socket": {
                    "type": "string"
                  },
                  "socketInode": {
                    "type": "integer"
                  },
                  "state": {
                    "type": "string"
                  },
                  "tunnelCount": {
                    "type": "integer"
                  },
                  "tunnelRevision": {
                    "type": "integer"
                  },
                  "user": {
                    "type": "string"
                  }
                },
                "required": [
                  "shellCount",
                  "shellRevision",
                  "tunnelCount",
                  "tunnelRevision",
                  "name",
                  "host",
                  "user",
                  "port",
                  "state",
                  "socket",
                  "session",
                  "ownerPID",
                  "masterPID",
                  "socketInode",
                  "detail"
                ],
                "type": "object"
              },
              "pattern": {
                "type": "string"
              },
              "root": {
                "type": "string"
              },
              "rootIdentity": {
                "type": "string"
              },
              "workspace": {
                "type": "string"
              }
            },
            "required": [
              "operation",
              "pattern",
              "local",
              "workspace",
              "owner",
              "root",
              "rootIdentity",
              "files",
              "digest"
            ],
            "type": "object"
          },
          "rate": {
            "type": "number"
          },
          "runID": {
            "type": "string"
          },
          "started": {
            "format": "date-time",
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        },
        "required": [
          "completedFiles",
          "failedFiles",
          "cancelledFiles",
          "id",
          "runID",
          "plan",
          "files",
          "state",
          "started",
          "elapsed",
          "bytes",
          "rate",
          "averageRate",
          "eta"
        ],
        "type": "object"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "warning": {
      "type": "string"
    }
  },
  "required": [
    "records",
    "files",
    "bytes",
    "connections"
  ],
  "type": "object"
}

FileListing

Field / optionTypePresenceDescription / constraints
entriesobject[] | nullRequiredSee full schema.
noticestringOptionalSee full schema.
pathstringRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "entries": {
      "items": {
        "properties": {
          "directory": {
            "type": "boolean"
          },
          "error": {
            "type": "string"
          },
          "gid": {
            "type": "integer"
          },
          "group": {
            "type": "string"
          },
          "link": {
            "type": "string"
          },
          "modified": {
            "format": "date-time",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "owner": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "permissions": {
            "type": "string"
          },
          "size": {
            "type": "integer"
          },
          "uid": {
            "type": "integer"
          }
        },
        "required": [
          "name",
          "path",
          "permissions",
          "uid",
          "gid",
          "owner",
          "group",
          "size",
          "modified",
          "directory"
        ],
        "type": "object"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "notice": {
      "type": "string"
    },
    "path": {
      "type": "string"
    }
  },
  "required": [
    "path",
    "entries"
  ],
  "type": "object"
}

FileRoots

Field / optionTypePresenceDescription / constraints
downloadstringRequiredSee full schema.
uploadstringRequiredSee full schema.
versionintegerRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "download": {
      "type": "string"
    },
    "upload": {
      "type": "string"
    },
    "version": {
      "type": "integer"
    }
  },
  "required": [
    "version",
    "upload",
    "download"
  ],
  "type": "object"
}

FileTree

Field / optionTypePresenceDescription / constraints
entriesobject[] | nullRequiredSee full schema.
errorsstring[] | nullRequiredSee full schema.
incompletebooleanRequiredSee full schema.
pathstringRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "entries": {
      "items": {
        "properties": {
          "directory": {
            "type": "boolean"
          },
          "error": {
            "type": "string"
          },
          "gid": {
            "type": "integer"
          },
          "group": {
            "type": "string"
          },
          "link": {
            "type": "string"
          },
          "modified": {
            "format": "date-time",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "owner": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "permissions": {
            "type": "string"
          },
          "size": {
            "type": "integer"
          },
          "uid": {
            "type": "integer"
          }
        },
        "required": [
          "name",
          "path",
          "permissions",
          "uid",
          "gid",
          "owner",
          "group",
          "size",
          "modified",
          "directory"
        ],
        "type": "object"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "errors": {
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "incomplete": {
      "type": "boolean"
    },
    "path": {
      "type": "string"
    }
  },
  "required": [
    "path",
    "entries",
    "incomplete",
    "errors"
  ],
  "type": "object"
}

HTTPReview

Review {review:string,digest:string}; confirmed HTTP returns TunnelHTTP, including HTTP error status and evidence identity.

object | TunnelHTTP

Full JSON schema
{
  "anyOf": [
    {
      "properties": {
        "digest": {
          "type": "string"
        },
        "review": {
          "type": "string"
        }
      },
      "required": [
        "review",
        "digest"
      ],
      "type": "object"
    },
    {
      "$ref": "#/results/TunnelHTTP"
    }
  ],
  "description": "Review {review:string,digest:string}; confirmed HTTP returns TunnelHTTP, including HTTP error status and evidence identity."
}

Inventory

Versioned capability inventory, optionally filtered by stable operation ID. Includes inputs, result shapes, errors, provenance and module schema.

see schema

Full JSON schema
{
  "description": "Versioned capability inventory, optionally filtered by stable operation ID. Includes inputs, result shapes, errors, provenance and module schema."
}

LogSnapshot

Field / optionTypePresenceDescription / constraints
textstringRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "text": {
      "type": "string"
    }
  },
  "required": [
    "text"
  ],
  "type": "object"
}

ManagerReview

Field / optionTypePresenceDescription / constraints
actionstringRequiredSee full schema.
connectionsobject[] | nullRequiredSee full schema.
digeststringRequiredSee full schema.
ownerobjectRequiredSee full schema.
reviewstringRequiredSee full schema.
statestringRequiredSee full schema.
workspaceobjectRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "action": {
      "type": "string"
    },
    "connections": {
      "items": {
        "properties": {
          "connected": {
            "type": "integer"
          },
          "creation": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "dispatch": {
            "type": "integer"
          },
          "generation": {
            "type": "string"
          },
          "host": {
            "type": "string"
          },
          "masterPID": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "ownerPID": {
            "type": "integer"
          },
          "port": {
            "type": "integer"
          },
          "proxy": {
            "properties": {
              "connection": {
                "type": "string"
              },
              "connectionCreation": {
                "type": "string"
              },
              "creation": {
                "type": "string"
              },
              "destination": {
                "type": "string"
              },
              "direction": {
                "type": "string"
              },
              "generation": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "listen": {
                "type": "string"
              },
              "requestedListen": {
                "type": "string"
              },
              "runID": {
                "type": "string"
              },
              "session": {
                "type": "string"
              },
              "state": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "creation",
              "connection",
              "connectionCreation",
              "session",
              "generation",
              "direction",
              "listen",
              "destination",
              "state",
              "runID"
            ],
            "type": "object"
          },
          "proxyPort": {
            "type": "integer"
          },
          "runID": {
            "type": "string"
          },
          "session": {
            "type": "string"
          },
          "shellCount": {
            "type": "integer"
          },
          "shellRevision": {
            "type": "integer"
          },
          "socket": {
            "type": "string"
          },
          "socketInode": {
            "type": "integer"
          },
          "state": {
            "type": "string"
          },
          "tunnelCount": {
            "type": "integer"
          },
          "tunnelRevision": {
            "type": "integer"
          },
          "user": {
            "type": "string"
          }
        },
        "required": [
          "shellCount",
          "shellRevision",
          "tunnelCount",
          "tunnelRevision",
          "name",
          "host",
          "user",
          "port",
          "state",
          "socket",
          "session",
          "ownerPID",
          "masterPID",
          "socketInode",
          "detail"
        ],
        "type": "object"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "digest": {
      "type": "string"
    },
    "owner": {
      "properties": {
        "generation": {
          "type": "string"
        },
        "ownerPID": {
          "type": "integer"
        },
        "passwordAuth": {
          "type": "boolean"
        },
        "retainedShells": {
          "type": "boolean"
        },
        "runID": {
          "type": "string"
        },
        "session": {
          "type": "string"
        },
        "workspace": {
          "type": "string"
        }
      },
      "required": [
        "session",
        "generation",
        "workspace",
        "ownerPID",
        "runID"
      ],
      "type": "object"
    },
    "review": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "workspace": {
      "properties": {
        "access": {
          "type": "string"
        },
        "health": {
          "type": "string"
        },
        "pid": {
          "type": "integer"
        },
        "startedAt": {
          "type": "string"
        },
        "workspacePath": {
          "type": "string"
        }
      },
      "required": [
        "workspacePath",
        "pid",
        "startedAt",
        "health",
        "access"
      ],
      "type": "object"
    }
  },
  "required": [
    "action",
    "state",
    "digest",
    "review",
    "workspace",
    "owner",
    "connections"
  ],
  "type": "object"
}

Profile

Field / optionTypePresenceDescription / constraints
agentstringOptionalSee full schema.
agentExplicitbooleanOptionalSee full schema.
hoststringRequiredSee full schema.
jumpstringOptionalSee full schema.
keystringOptionalSee full schema.
namestringRequiredSee full schema.
passwordAuthbooleanOptionalSee full schema.
portintegerRequiredSee full schema.
proxyPortintegerOptionalSee full schema.
sshConfigstringOptionalSee full schema.
userstringRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "agent": {
      "type": "string"
    },
    "agentExplicit": {
      "type": "boolean"
    },
    "host": {
      "type": "string"
    },
    "jump": {
      "type": "string"
    },
    "key": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "passwordAuth": {
      "type": "boolean"
    },
    "port": {
      "type": "integer"
    },
    "proxyPort": {
      "type": "integer"
    },
    "sshConfig": {
      "type": "string"
    },
    "user": {
      "type": "string"
    }
  },
  "required": [
    "name",
    "host",
    "user",
    "port"
  ],
  "type": "object"
}

ProfileChange

Replacement review {review:string,revision:string,collection:string}; success {state:string,name:string,collection:string}.

object | object

Full JSON schema
{
  "anyOf": [
    {
      "properties": {
        "collection": {
          "type": "string"
        },
        "review": {
          "type": "string"
        },
        "revision": {
          "type": "string"
        }
      },
      "required": [
        "review",
        "revision",
        "collection"
      ],
      "type": "object"
    },
    {
      "properties": {
        "collection": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "state": {
          "type": "string"
        }
      },
      "required": [
        "state",
        "name",
        "collection"
      ],
      "type": "object"
    }
  ],
  "description": "Replacement review {review:string,revision:string,collection:string}; success {state:string,name:string,collection:string}."
}

Proxy

Tunnel while configured; otherwise {state:'off'|'unavailable',connection:string}.

Tunnel | object

Full JSON schema
{
  "anyOf": [
    {
      "$ref": "#/results/Tunnel"
    },
    {
      "properties": {
        "connection": {
          "type": "string"
        },
        "state": {
          "type": "string"
        }
      },
      "required": [
        "state",
        "connection"
      ],
      "type": "object"
    }
  ],
  "description": "Tunnel while configured; otherwise {state:'off'|'unavailable',connection:string}."
}

ProxyReview

Review {review:string,digest:string}; confirmed creation returns Tunnel, removal returns {id:string,state:'removed',detail:string}.

object | Tunnel | object

Full JSON schema
{
  "anyOf": [
    {
      "properties": {
        "digest": {
          "type": "string"
        },
        "review": {
          "type": "string"
        }
      },
      "required": [
        "review",
        "digest"
      ],
      "type": "object"
    },
    {
      "$ref": "#/results/Tunnel"
    },
    {
      "properties": {
        "detail": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "state": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "state",
        "detail"
      ],
      "type": "object"
    }
  ],
  "description": "Review {review:string,digest:string}; confirmed creation returns Tunnel, removal returns {id:string,state:'removed',detail:string}."
}

Reports

object[] | null

Full JSON schema
{
  "items": {
    "properties": {
      "complete": {
        "type": "boolean"
      },
      "connection": {
        "type": "string"
      },
      "createdAt": {
        "type": "string"
      },
      "detail": {
        "type": "string"
      },
      "error": {
        "type": "string"
      },
      "exit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ]
      },
      "host": {
        "type": "string"
      },
      "id": {
        "type": "string"
      },
      "markdown": {
        "type": "string"
      },
      "path": {
        "type": "string"
      },
      "port": {
        "type": "integer"
      },
      "producer": {
        "type": "string"
      },
      "sha256": {
        "type": "string"
      },
      "size": {
        "type": "integer"
      },
      "sourceRun": {
        "type": "string"
      },
      "status": {
        "type": "string"
      },
      "title": {
        "type": "string"
      },
      "user": {
        "type": "string"
      },
      "version": {
        "type": "integer"
      }
    },
    "required": [
      "version",
      "title",
      "producer",
      "connection",
      "host",
      "user",
      "port",
      "sourceRun",
      "status",
      "exit",
      "complete",
      "markdown",
      "id",
      "createdAt",
      "path",
      "sha256",
      "size"
    ],
    "type": "object"
  },
  "type": [
    "array",
    "null"
  ]
}

Run

Field / optionTypePresenceDescription / constraints
auditErrorstringOptionalSee full schema.
budgetPerStreamintegerRequiredSee full schema.
cancellationstringRequiredSee full schema.
cleanupErrorstringOptionalSee full schema.
cleanupScopestringRequiredSee full schema.
collectionstringOptionalSee full schema.
commandstring[] | nullRequiredSee full schema.
connectionobjectRequiredSee full schema.
executionstringRequiredSee full schema.
idstringRequiredSee full schema.
inputobjectRequiredSee full schema.
launchRunIDstringRequiredSee full schema.
localExitinteger | nullRequiredSee full schema.
localSignalstringOptionalSee full schema.
outputCompletebooleanRequiredSee full schema.
outputErrorstringRequiredSee full schema.
ownerPIDintegerRequiredSee full schema.
receivedBytesinteger[]RequiredSee full schema.
remoteExitinteger | nullRequiredSee full schema.
runIDstringRequiredSee full schema.
stageCleanupstringOptionalSee full schema.
stagingstringOptionalSee full schema.
statestringRequiredSee full schema.
storedBytesinteger[]RequiredSee full schema.
timedOutbooleanRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "auditError": {
      "type": "string"
    },
    "budgetPerStream": {
      "type": "integer"
    },
    "cancellation": {
      "type": "string"
    },
    "cleanupError": {
      "type": "string"
    },
    "cleanupScope": {
      "type": "string"
    },
    "collection": {
      "type": "string"
    },
    "command": {
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "connection": {
      "properties": {
        "connected": {
          "type": "integer"
        },
        "creation": {
          "type": "string"
        },
        "detail": {
          "type": "string"
        },
        "dispatch": {
          "type": "integer"
        },
        "generation": {
          "type": "string"
        },
        "host": {
          "type": "string"
        },
        "masterPID": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "ownerPID": {
          "type": "integer"
        },
        "port": {
          "type": "integer"
        },
        "proxy": {
          "properties": {
            "connection": {
              "type": "string"
            },
            "connectionCreation": {
              "type": "string"
            },
            "creation": {
              "type": "string"
            },
            "destination": {
              "type": "string"
            },
            "direction": {
              "type": "string"
            },
            "generation": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "listen": {
              "type": "string"
            },
            "requestedListen": {
              "type": "string"
            },
            "runID": {
              "type": "string"
            },
            "session": {
              "type": "string"
            },
            "state": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "creation",
            "connection",
            "connectionCreation",
            "session",
            "generation",
            "direction",
            "listen",
            "destination",
            "state",
            "runID"
          ],
          "type": "object"
        },
        "proxyPort": {
          "type": "integer"
        },
        "runID": {
          "type": "string"
        },
        "session": {
          "type": "string"
        },
        "shellCount": {
          "type": "integer"
        },
        "shellRevision": {
          "type": "integer"
        },
        "socket": {
          "type": "string"
        },
        "socketInode": {
          "type": "integer"
        },
        "state": {
          "type": "string"
        },
        "tunnelCount": {
          "type": "integer"
        },
        "tunnelRevision": {
          "type": "integer"
        },
        "user": {
          "type": "string"
        }
      },
      "required": [
        "shellCount",
        "shellRevision",
        "tunnelCount",
        "tunnelRevision",
        "name",
        "host",
        "user",
        "port",
        "state",
        "socket",
        "session",
        "ownerPID",
        "masterPID",
        "socketInode",
        "detail"
      ],
      "type": "object"
    },
    "execution": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "input": {
      "properties": {
        "interpreter": {
          "type": "string"
        },
        "keep": {
          "type": "boolean"
        },
        "mode": {
          "type": "string"
        },
        "script": {
          "properties": {
            "bytes": {
              "type": "integer"
            },
            "path": {
              "type": "string"
            },
            "sha256": {
              "type": "string"
            }
          },
          "required": [
            "bytes"
          ],
          "type": "object"
        },
        "stagePath": {
          "type": "string"
        },
        "stdin": {
          "properties": {
            "bytes": {
              "type": "integer"
            },
            "path": {
              "type": "string"
            },
            "sha256": {
              "type": "string"
            }
          },
          "required": [
            "bytes"
          ],
          "type": "object"
        },
        "survey": {
          "type": "string"
        },
        "timeout": {
          "type": "string"
        }
      },
      "required": [
        "script",
        "stdin",
        "keep"
      ],
      "type": "object"
    },
    "launchRunID": {
      "type": "string"
    },
    "localExit": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "localSignal": {
      "type": "string"
    },
    "outputComplete": {
      "type": "boolean"
    },
    "outputError": {
      "type": "string"
    },
    "ownerPID": {
      "type": "integer"
    },
    "receivedBytes": {
      "items": {
        "type": "integer"
      },
      "type": "array"
    },
    "remoteExit": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "runID": {
      "type": "string"
    },
    "stageCleanup": {
      "type": "string"
    },
    "staging": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "storedBytes": {
      "items": {
        "type": "integer"
      },
      "type": "array"
    },
    "timedOut": {
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "runID",
    "launchRunID",
    "connection",
    "command",
    "execution",
    "localExit",
    "input",
    "timedOut",
    "budgetPerStream",
    "state",
    "remoteExit",
    "outputComplete",
    "outputError",
    "receivedBytes",
    "storedBytes",
    "cancellation",
    "cleanupScope",
    "ownerPID"
  ],
  "type": "object"
}

RunOutput

Field / optionTypePresenceDescription / constraints
budgetPerStreamintegerRequiredSee full schema.
datastringRequiredSee full schema.
executionstringRequiredSee full schema.
localExitinteger | nullRequiredSee full schema.
localSignalstringOptionalSee full schema.
nextOffsetintegerRequiredSee full schema.
outputCompletebooleanRequiredSee full schema.
outputErrorstringRequiredSee full schema.
receivedBytesintegerRequiredSee full schema.
remoteExitinteger | nullRequiredSee full schema.
statestringRequiredSee full schema.
storedBytesintegerRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "budgetPerStream": {
      "type": "integer"
    },
    "data": {
      "type": "string"
    },
    "execution": {
      "type": "string"
    },
    "localExit": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "localSignal": {
      "type": "string"
    },
    "nextOffset": {
      "type": "integer"
    },
    "outputComplete": {
      "type": "boolean"
    },
    "outputError": {
      "type": "string"
    },
    "receivedBytes": {
      "type": "integer"
    },
    "remoteExit": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "state": {
      "type": "string"
    },
    "storedBytes": {
      "type": "integer"
    }
  },
  "required": [
    "data",
    "nextOffset",
    "state",
    "remoteExit",
    "execution",
    "localExit",
    "budgetPerStream",
    "storedBytes",
    "receivedBytes",
    "outputComplete",
    "outputError"
  ],
  "type": "object"
}

RunReview

Review {review:string,digest:string}, with id/confirm for now/survey; confirmed action returns Run. Inspect remoteExit/localExit, outputComplete, cancellation and collection separately; exit 0 is not proof of remote success.

object | Run

Full JSON schema
{
  "anyOf": [
    {
      "properties": {
        "confirm": {
          "type": "string"
        },
        "digest": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "review": {
          "type": "string"
        }
      },
      "required": [
        "review",
        "digest"
      ],
      "type": "object"
    },
    {
      "$ref": "#/results/Run"
    }
  ],
  "description": "Review {review:string,digest:string}, with id/confirm for now/survey; confirmed action returns Run. Inspect remoteExit/localExit, outputComplete, cancellation and collection separately; exit 0 is not proof of remote success."
}

Runs

object[] | null

Full JSON schema
{
  "items": {
    "properties": {
      "auditError": {
        "type": "string"
      },
      "budgetPerStream": {
        "type": "integer"
      },
      "cancellation": {
        "type": "string"
      },
      "cleanupError": {
        "type": "string"
      },
      "cleanupScope": {
        "type": "string"
      },
      "collection": {
        "type": "string"
      },
      "command": {
        "items": {
          "type": "string"
        },
        "type": [
          "array",
          "null"
        ]
      },
      "connection": {
        "properties": {
          "connected": {
            "type": "integer"
          },
          "creation": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "dispatch": {
            "type": "integer"
          },
          "generation": {
            "type": "string"
          },
          "host": {
            "type": "string"
          },
          "masterPID": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "ownerPID": {
            "type": "integer"
          },
          "port": {
            "type": "integer"
          },
          "proxy": {
            "properties": {
              "connection": {
                "type": "string"
              },
              "connectionCreation": {
                "type": "string"
              },
              "creation": {
                "type": "string"
              },
              "destination": {
                "type": "string"
              },
              "direction": {
                "type": "string"
              },
              "generation": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "listen": {
                "type": "string"
              },
              "requestedListen": {
                "type": "string"
              },
              "runID": {
                "type": "string"
              },
              "session": {
                "type": "string"
              },
              "state": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "creation",
              "connection",
              "connectionCreation",
              "session",
              "generation",
              "direction",
              "listen",
              "destination",
              "state",
              "runID"
            ],
            "type": "object"
          },
          "proxyPort": {
            "type": "integer"
          },
          "runID": {
            "type": "string"
          },
          "session": {
            "type": "string"
          },
          "shellCount": {
            "type": "integer"
          },
          "shellRevision": {
            "type": "integer"
          },
          "socket": {
            "type": "string"
          },
          "socketInode": {
            "type": "integer"
          },
          "state": {
            "type": "string"
          },
          "tunnelCount": {
            "type": "integer"
          },
          "tunnelRevision": {
            "type": "integer"
          },
          "user": {
            "type": "string"
          }
        },
        "required": [
          "shellCount",
          "shellRevision",
          "tunnelCount",
          "tunnelRevision",
          "name",
          "host",
          "user",
          "port",
          "state",
          "socket",
          "session",
          "ownerPID",
          "masterPID",
          "socketInode",
          "detail"
        ],
        "type": "object"
      },
      "execution": {
        "type": "string"
      },
      "id": {
        "type": "string"
      },
      "input": {
        "properties": {
          "interpreter": {
            "type": "string"
          },
          "keep": {
            "type": "boolean"
          },
          "mode": {
            "type": "string"
          },
          "script": {
            "properties": {
              "bytes": {
                "type": "integer"
              },
              "path": {
                "type": "string"
              },
              "sha256": {
                "type": "string"
              }
            },
            "required": [
              "bytes"
            ],
            "type": "object"
          },
          "stagePath": {
            "type": "string"
          },
          "stdin": {
            "properties": {
              "bytes": {
                "type": "integer"
              },
              "path": {
                "type": "string"
              },
              "sha256": {
                "type": "string"
              }
            },
            "required": [
              "bytes"
            ],
            "type": "object"
          },
          "survey": {
            "type": "string"
          },
          "timeout": {
            "type": "string"
          }
        },
        "required": [
          "script",
          "stdin",
          "keep"
        ],
        "type": "object"
      },
      "launchRunID": {
        "type": "string"
      },
      "localExit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ]
      },
      "localSignal": {
        "type": "string"
      },
      "outputComplete": {
        "type": "boolean"
      },
      "outputError": {
        "type": "string"
      },
      "ownerPID": {
        "type": "integer"
      },
      "receivedBytes": {
        "items": {
          "type": "integer"
        },
        "type": "array"
      },
      "remoteExit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ]
      },
      "runID": {
        "type": "string"
      },
      "stageCleanup": {
        "type": "string"
      },
      "staging": {
        "type": "string"
      },
      "state": {
        "type": "string"
      },
      "storedBytes": {
        "items": {
          "type": "integer"
        },
        "type": "array"
      },
      "timedOut": {
        "type": "boolean"
      }
    },
    "required": [
      "id",
      "runID",
      "launchRunID",
      "connection",
      "command",
      "execution",
      "localExit",
      "input",
      "timedOut",
      "budgetPerStream",
      "state",
      "remoteExit",
      "outputComplete",
      "outputError",
      "receivedBytes",
      "storedBytes",
      "cancellation",
      "cleanupScope",
      "ownerPID"
    ],
    "type": "object"
  },
  "type": [
    "array",
    "null"
  ]
}

SavedChain

Hovel saved-chain JSON: apiVersion, kind, metadata and spec (mode, steps, targets, config). Generated workspace/build/owner fields are opaque; regenerate after changes. Authoritative schema belongs to Hovel.

Field / optionTypePresenceDescription / constraints
apiVersion"hovel.dev/v1alpha1"RequiredSee full schema.
kind"Chain"RequiredSee full schema.
metadataobjectRequiredSee full schema.
specobjectRequiredSee full schema.
Full JSON schema
{
  "description": "Hovel saved-chain JSON: apiVersion, kind, metadata and spec (mode, steps, targets, config). Generated workspace/build/owner fields are opaque; regenerate after changes. Authoritative schema belongs to Hovel.",
  "example": {
    "apiVersion": "hovel.dev/v1alpha1",
    "kind": "Chain",
    "metadata": {
      "name": "burrow-chain"
    },
    "spec": {
      "config": {
        "command": "run list",
        "workspace": "/absolute/workspace"
      },
      "mode": "configured",
      "steps": [
        {
          "id": "burrow",
          "uses": "module:burrow@0.1.0"
        }
      ],
      "targets": [
        {
          "id": "local://burrow"
        }
      ]
    }
  },
  "properties": {
    "apiVersion": {
      "const": "hovel.dev/v1alpha1"
    },
    "kind": {
      "const": "Chain"
    },
    "metadata": {
      "properties": {
        "name": {
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "spec": {
      "properties": {
        "config": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Hovel chain configuration. Generated request strings are opaque confirmed adapter inputs; do not edit them.",
          "type": "object"
        },
        "mode": {
          "const": "configured"
        },
        "steps": {
          "items": {
            "properties": {
              "id": {
                "type": "string"
              },
              "uses": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "uses"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "targets": {
          "items": {
            "properties": {
              "id": {
                "type": "string"
              }
            },
            "required": [
              "id"
            ],
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "mode",
        "steps",
        "targets",
        "config"
      ],
      "type": "object"
    }
  },
  "required": [
    "apiVersion",
    "kind",
    "metadata",
    "spec"
  ],
  "type": "object"
}

Shell

Field / optionTypePresenceDescription / constraints
auditErrorstringOptionalSee full schema.
bufferedintegerRequiredSee full schema.
cleanupstringRequiredSee full schema.
columnsintegerRequiredSee full schema.
connectionobjectRequiredSee full schema.
controlGenerationintegerRequiredSee full schema.
controllerstringRequiredSee full schema.
detailstringRequiredSee full schema.
droppedintegerRequiredSee full schema.
idstringRequiredSee full schema.
ownerPIDintegerRequiredSee full schema.
pidintegerRequiredSee full schema.
receivedintegerRequiredSee full schema.
rowsintegerRequiredSee full schema.
runIDstringRequiredSee full schema.
sshExitinteger | nullOptionalSee full schema.
statestringRequiredSee full schema.
workspacestringRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "auditError": {
      "type": "string"
    },
    "buffered": {
      "type": "integer"
    },
    "cleanup": {
      "type": "string"
    },
    "columns": {
      "type": "integer"
    },
    "connection": {
      "properties": {
        "connected": {
          "type": "integer"
        },
        "creation": {
          "type": "string"
        },
        "detail": {
          "type": "string"
        },
        "dispatch": {
          "type": "integer"
        },
        "generation": {
          "type": "string"
        },
        "host": {
          "type": "string"
        },
        "masterPID": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "ownerPID": {
          "type": "integer"
        },
        "port": {
          "type": "integer"
        },
        "proxy": {
          "properties": {
            "connection": {
              "type": "string"
            },
            "connectionCreation": {
              "type": "string"
            },
            "creation": {
              "type": "string"
            },
            "destination": {
              "type": "string"
            },
            "direction": {
              "type": "string"
            },
            "generation": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "listen": {
              "type": "string"
            },
            "requestedListen": {
              "type": "string"
            },
            "runID": {
              "type": "string"
            },
            "session": {
              "type": "string"
            },
            "state": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "creation",
            "connection",
            "connectionCreation",
            "session",
            "generation",
            "direction",
            "listen",
            "destination",
            "state",
            "runID"
          ],
          "type": "object"
        },
        "proxyPort": {
          "type": "integer"
        },
        "runID": {
          "type": "string"
        },
        "session": {
          "type": "string"
        },
        "shellCount": {
          "type": "integer"
        },
        "shellRevision": {
          "type": "integer"
        },
        "socket": {
          "type": "string"
        },
        "socketInode": {
          "type": "integer"
        },
        "state": {
          "type": "string"
        },
        "tunnelCount": {
          "type": "integer"
        },
        "tunnelRevision": {
          "type": "integer"
        },
        "user": {
          "type": "string"
        }
      },
      "required": [
        "shellCount",
        "shellRevision",
        "tunnelCount",
        "tunnelRevision",
        "name",
        "host",
        "user",
        "port",
        "state",
        "socket",
        "session",
        "ownerPID",
        "masterPID",
        "socketInode",
        "detail"
      ],
      "type": "object"
    },
    "controlGeneration": {
      "type": "integer"
    },
    "controller": {
      "type": "string"
    },
    "detail": {
      "type": "string"
    },
    "dropped": {
      "type": "integer"
    },
    "id": {
      "type": "string"
    },
    "ownerPID": {
      "type": "integer"
    },
    "pid": {
      "type": "integer"
    },
    "received": {
      "type": "integer"
    },
    "rows": {
      "type": "integer"
    },
    "runID": {
      "type": "string"
    },
    "sshExit": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "state": {
      "type": "string"
    },
    "workspace": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "workspace",
    "connection",
    "runID",
    "ownerPID",
    "pid",
    "state",
    "detail",
    "columns",
    "rows",
    "received",
    "buffered",
    "dropped",
    "cleanup",
    "controller",
    "controlGeneration"
  ],
  "type": "object"
}

ShellControl

Provider result, never command completion. requestID correlates with owner operation notes and follow events. A nonempty auditError preserves the actual result/token after persistence failure; inspect before continuing, never automatically resend input.

Field / optionTypePresenceDescription / constraints
acceptedBytesintegerRequiredSee full schema.
auditErrorstringOptionalSee full schema.
backpressurebooleanRequiredSee full schema.
columnsintegerRequiredSee full schema.
controllerstringRequiredSee full schema.
generationintegerRequiredSee full schema.
inputErrorstringOptionalSee full schema.
releasedbooleanRequiredSee full schema.
requestIDstringOptionalSee full schema.
rowsintegerRequiredSee full schema.
tokenstringOptionalSee full schema.
Full JSON schema
{
  "description": "Provider result, never command completion. requestID correlates with owner operation notes and follow events. A nonempty auditError preserves the actual result/token after persistence failure; inspect before continuing, never automatically resend input.",
  "properties": {
    "acceptedBytes": {
      "type": "integer"
    },
    "auditError": {
      "type": "string"
    },
    "backpressure": {
      "type": "boolean"
    },
    "columns": {
      "type": "integer"
    },
    "controller": {
      "type": "string"
    },
    "generation": {
      "type": "integer"
    },
    "inputError": {
      "type": "string"
    },
    "released": {
      "type": "boolean"
    },
    "requestID": {
      "type": "string"
    },
    "rows": {
      "type": "integer"
    },
    "token": {
      "type": "string"
    }
  },
  "required": [
    "generation",
    "controller",
    "acceptedBytes",
    "backpressure",
    "columns",
    "rows",
    "released"
  ],
  "type": "object"
}

ShellOutput

Field / optionTypePresenceDescription / constraints
closedbooleanRequiredSee full schema.
datastring | nullRequiredSee full schema.
gapbooleanRequiredSee full schema.
lostbooleanRequiredSee full schema.
nextintegerRequiredSee full schema.
oldestintegerRequiredSee full schema.
recoveryErrorstringOptionalSee full schema.
revisionintegerOptionalSee full schema.
screenobject | nullOptionalSee full schema.
shellobjectRequiredSee full schema.
synchronizationstringRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "closed": {
      "type": "boolean"
    },
    "data": {
      "contentEncoding": "base64",
      "type": [
        "string",
        "null"
      ]
    },
    "gap": {
      "type": "boolean"
    },
    "lost": {
      "type": "boolean"
    },
    "next": {
      "type": "integer"
    },
    "oldest": {
      "type": "integer"
    },
    "recoveryError": {
      "type": "string"
    },
    "revision": {
      "type": "integer"
    },
    "screen": {
      "anyOf": [
        {
          "properties": {
            "alternate": {
              "type": "boolean"
            },
            "cursorX": {
              "type": "integer"
            },
            "cursorY": {
              "type": "integer"
            },
            "historyLines": {
              "type": "integer"
            },
            "inputModes": {
              "items": {
                "type": "integer"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "scrollOffset": {
              "type": "integer"
            },
            "text": {
              "type": "string"
            },
            "visible": {
              "type": "boolean"
            }
          },
          "required": [
            "historyLines",
            "scrollOffset",
            "inputModes",
            "text",
            "cursorX",
            "cursorY",
            "visible",
            "alternate"
          ],
          "type": "object"
        },
        {
          "type": "null"
        }
      ]
    },
    "shell": {
      "properties": {
        "auditError": {
          "type": "string"
        },
        "buffered": {
          "type": "integer"
        },
        "cleanup": {
          "type": "string"
        },
        "columns": {
          "type": "integer"
        },
        "connection": {
          "properties": {
            "connected": {
              "type": "integer"
            },
            "creation": {
              "type": "string"
            },
            "detail": {
              "type": "string"
            },
            "dispatch": {
              "type": "integer"
            },
            "generation": {
              "type": "string"
            },
            "host": {
              "type": "string"
            },
            "masterPID": {
              "type": "integer"
            },
            "name": {
              "type": "string"
            },
            "ownerPID": {
              "type": "integer"
            },
            "port": {
              "type": "integer"
            },
            "proxy": {
              "properties": {
                "connection": {
                  "type": "string"
                },
                "connectionCreation": {
                  "type": "string"
                },
                "creation": {
                  "type": "string"
                },
                "destination": {
                  "type": "string"
                },
                "direction": {
                  "type": "string"
                },
                "generation": {
                  "type": "string"
                },
                "id": {
                  "type": "string"
                },
                "listen": {
                  "type": "string"
                },
                "requestedListen": {
                  "type": "string"
                },
                "runID": {
                  "type": "string"
                },
                "session": {
                  "type": "string"
                },
                "state": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "creation",
                "connection",
                "connectionCreation",
                "session",
                "generation",
                "direction",
                "listen",
                "destination",
                "state",
                "runID"
              ],
              "type": "object"
            },
            "proxyPort": {
              "type": "integer"
            },
            "runID": {
              "type": "string"
            },
            "session": {
              "type": "string"
            },
            "shellCount": {
              "type": "integer"
            },
            "shellRevision": {
              "type": "integer"
            },
            "socket": {
              "type": "string"
            },
            "socketInode": {
              "type": "integer"
            },
            "state": {
              "type": "string"
            },
            "tunnelCount": {
              "type": "integer"
            },
            "tunnelRevision": {
              "type": "integer"
            },
            "user": {
              "type": "string"
            }
          },
          "required": [
            "shellCount",
            "shellRevision",
            "tunnelCount",
            "tunnelRevision",
            "name",
            "host",
            "user",
            "port",
            "state",
            "socket",
            "session",
            "ownerPID",
            "masterPID",
            "socketInode",
            "detail"
          ],
          "type": "object"
        },
        "controlGeneration": {
          "type": "integer"
        },
        "controller": {
          "type": "string"
        },
        "detail": {
          "type": "string"
        },
        "dropped": {
          "type": "integer"
        },
        "id": {
          "type": "string"
        },
        "ownerPID": {
          "type": "integer"
        },
        "pid": {
          "type": "integer"
        },
        "received": {
          "type": "integer"
        },
        "rows": {
          "type": "integer"
        },
        "runID": {
          "type": "string"
        },
        "sshExit": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "state": {
          "type": "string"
        },
        "workspace": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "workspace",
        "connection",
        "runID",
        "ownerPID",
        "pid",
        "state",
        "detail",
        "columns",
        "rows",
        "received",
        "buffered",
        "dropped",
        "cleanup",
        "controller",
        "controlGeneration"
      ],
      "type": "object"
    },
    "synchronization": {
      "type": "string"
    }
  },
  "required": [
    "shell",
    "data",
    "oldest",
    "next",
    "gap",
    "closed",
    "lost",
    "synchronization"
  ],
  "type": "object"
}

ShellReview

Review {review,digest}; confirmation returns Shell. Creation prepares then launches through supported Hovel throws. Failed acknowledgement requires inspection, never automatic retry.

object | Shell

Full JSON schema
{
  "anyOf": [
    {
      "properties": {
        "digest": {
          "type": "string"
        },
        "review": {
          "type": "string"
        }
      },
      "required": [
        "review",
        "digest"
      ],
      "type": "object"
    },
    {
      "$ref": "#/results/Shell"
    }
  ],
  "description": "Review {review,digest}; confirmation returns Shell. Creation prepares then launches through supported Hovel throws. Failed acknowledgement requires inspection, never automatic retry."
}

Shells

object[] | null

Full JSON schema
{
  "items": {
    "properties": {
      "auditError": {
        "type": "string"
      },
      "buffered": {
        "type": "integer"
      },
      "cleanup": {
        "type": "string"
      },
      "columns": {
        "type": "integer"
      },
      "connection": {
        "properties": {
          "connected": {
            "type": "integer"
          },
          "creation": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "dispatch": {
            "type": "integer"
          },
          "generation": {
            "type": "string"
          },
          "host": {
            "type": "string"
          },
          "masterPID": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "ownerPID": {
            "type": "integer"
          },
          "port": {
            "type": "integer"
          },
          "proxy": {
            "properties": {
              "connection": {
                "type": "string"
              },
              "connectionCreation": {
                "type": "string"
              },
              "creation": {
                "type": "string"
              },
              "destination": {
                "type": "string"
              },
              "direction": {
                "type": "string"
              },
              "generation": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "listen": {
                "type": "string"
              },
              "requestedListen": {
                "type": "string"
              },
              "runID": {
                "type": "string"
              },
              "session": {
                "type": "string"
              },
              "state": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "creation",
              "connection",
              "connectionCreation",
              "session",
              "generation",
              "direction",
              "listen",
              "destination",
              "state",
              "runID"
            ],
            "type": "object"
          },
          "proxyPort": {
            "type": "integer"
          },
          "runID": {
            "type": "string"
          },
          "session": {
            "type": "string"
          },
          "shellCount": {
            "type": "integer"
          },
          "shellRevision": {
            "type": "integer"
          },
          "socket": {
            "type": "string"
          },
          "socketInode": {
            "type": "integer"
          },
          "state": {
            "type": "string"
          },
          "tunnelCount": {
            "type": "integer"
          },
          "tunnelRevision": {
            "type": "integer"
          },
          "user": {
            "type": "string"
          }
        },
        "required": [
          "shellCount",
          "shellRevision",
          "tunnelCount",
          "tunnelRevision",
          "name",
          "host",
          "user",
          "port",
          "state",
          "socket",
          "session",
          "ownerPID",
          "masterPID",
          "socketInode",
          "detail"
        ],
        "type": "object"
      },
      "controlGeneration": {
        "type": "integer"
      },
      "controller": {
        "type": "string"
      },
      "detail": {
        "type": "string"
      },
      "dropped": {
        "type": "integer"
      },
      "id": {
        "type": "string"
      },
      "ownerPID": {
        "type": "integer"
      },
      "pid": {
        "type": "integer"
      },
      "received": {
        "type": "integer"
      },
      "rows": {
        "type": "integer"
      },
      "runID": {
        "type": "string"
      },
      "sshExit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ]
      },
      "state": {
        "type": "string"
      },
      "workspace": {
        "type": "string"
      }
    },
    "required": [
      "id",
      "workspace",
      "connection",
      "runID",
      "ownerPID",
      "pid",
      "state",
      "detail",
      "columns",
      "rows",
      "received",
      "buffered",
      "dropped",
      "cleanup",
      "controller",
      "controlGeneration"
    ],
    "type": "object"
  },
  "type": [
    "array",
    "null"
  ]
}

SkillInstallation

Offline installation report. A failure may emit this partial report on stdout, then text stderr and exit 1; planned actions are not success. Native client discovery is not implied.

Field / optionTypePresenceDescription / constraints
bundleSHA256stringRequiredSHA256 of the manifest, which binds every bundled file hash; not a publisher signature.
completebooleanRequiredSee full schema.
destinationstringRequiredSee full schema.
dryRunbooleanRequiredSee full schema.
provenancestringRequiredSee full schema.
skillsobject[]RequiredSee full schema.
sourcestringRequiredSee full schema.
upstreamstringRequiredSee full schema.
versionstringRequiredSee full schema.
Full JSON schema
{
  "description": "Offline installation report. A failure may emit this partial report on stdout, then text stderr and exit 1; planned actions are not success. Native client discovery is not implied.",
  "properties": {
    "bundleSHA256": {
      "description": "SHA256 of the manifest, which binds every bundled file hash; not a publisher signature.",
      "type": "string"
    },
    "complete": {
      "type": "boolean"
    },
    "destination": {
      "type": "string"
    },
    "dryRun": {
      "type": "boolean"
    },
    "provenance": {
      "type": "string"
    },
    "skills": {
      "items": {
        "properties": {
          "action": {
            "enum": [
              "install",
              "update",
              "unchanged"
            ]
          },
          "backup": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "state": {
            "enum": [
              "planned",
              "applied",
              "unchanged",
              "failed"
            ]
          }
        },
        "required": [
          "name",
          "path",
          "action",
          "state"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "source": {
      "type": "string"
    },
    "upstream": {
      "type": "string"
    },
    "version": {
      "type": "string"
    }
  },
  "required": [
    "version",
    "bundleSHA256",
    "source",
    "provenance",
    "upstream",
    "destination",
    "dryRun",
    "complete",
    "skills"
  ],
  "type": "object"
}

State

Field / optionTypePresenceDescription / constraints
connectedintegerOptionalSee full schema.
creationstringOptionalSee full schema.
detailstringRequiredSee full schema.
dispatchintegerOptionalSee full schema.
generationstringOptionalSee full schema.
hoststringRequiredSee full schema.
masterPIDintegerRequiredSee full schema.
namestringRequiredSee full schema.
ownerPIDintegerRequiredSee full schema.
portintegerRequiredSee full schema.
proxyobjectOptionalSee full schema.
proxyPortintegerOptionalSee full schema.
runIDstringOptionalSee full schema.
sessionstringRequiredSee full schema.
shellCountintegerRequiredSee full schema.
shellRevisionintegerRequiredSee full schema.
socketstringRequiredSee full schema.
socketInodeintegerRequiredSee full schema.
statestringRequiredSee full schema.
tunnelCountintegerRequiredSee full schema.
tunnelRevisionintegerRequiredSee full schema.
userstringRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "connected": {
      "type": "integer"
    },
    "creation": {
      "type": "string"
    },
    "detail": {
      "type": "string"
    },
    "dispatch": {
      "type": "integer"
    },
    "generation": {
      "type": "string"
    },
    "host": {
      "type": "string"
    },
    "masterPID": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "ownerPID": {
      "type": "integer"
    },
    "port": {
      "type": "integer"
    },
    "proxy": {
      "properties": {
        "connection": {
          "type": "string"
        },
        "connectionCreation": {
          "type": "string"
        },
        "creation": {
          "type": "string"
        },
        "destination": {
          "type": "string"
        },
        "direction": {
          "type": "string"
        },
        "generation": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "listen": {
          "type": "string"
        },
        "requestedListen": {
          "type": "string"
        },
        "runID": {
          "type": "string"
        },
        "session": {
          "type": "string"
        },
        "state": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "creation",
        "connection",
        "connectionCreation",
        "session",
        "generation",
        "direction",
        "listen",
        "destination",
        "state",
        "runID"
      ],
      "type": "object"
    },
    "proxyPort": {
      "type": "integer"
    },
    "runID": {
      "type": "string"
    },
    "session": {
      "type": "string"
    },
    "shellCount": {
      "type": "integer"
    },
    "shellRevision": {
      "type": "integer"
    },
    "socket": {
      "type": "string"
    },
    "socketInode": {
      "type": "integer"
    },
    "state": {
      "type": "string"
    },
    "tunnelCount": {
      "type": "integer"
    },
    "tunnelRevision": {
      "type": "integer"
    },
    "user": {
      "type": "string"
    }
  },
  "required": [
    "shellCount",
    "shellRevision",
    "tunnelCount",
    "tunnelRevision",
    "name",
    "host",
    "user",
    "port",
    "state",
    "socket",
    "session",
    "ownerPID",
    "masterPID",
    "socketInode",
    "detail"
  ],
  "type": "object"
}

States

object[] | null

Full JSON schema
{
  "items": {
    "properties": {
      "connected": {
        "type": "integer"
      },
      "creation": {
        "type": "string"
      },
      "detail": {
        "type": "string"
      },
      "dispatch": {
        "type": "integer"
      },
      "generation": {
        "type": "string"
      },
      "host": {
        "type": "string"
      },
      "masterPID": {
        "type": "integer"
      },
      "name": {
        "type": "string"
      },
      "ownerPID": {
        "type": "integer"
      },
      "port": {
        "type": "integer"
      },
      "proxy": {
        "properties": {
          "connection": {
            "type": "string"
          },
          "connectionCreation": {
            "type": "string"
          },
          "creation": {
            "type": "string"
          },
          "destination": {
            "type": "string"
          },
          "direction": {
            "type": "string"
          },
          "generation": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "listen": {
            "type": "string"
          },
          "requestedListen": {
            "type": "string"
          },
          "runID": {
            "type": "string"
          },
          "session": {
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "creation",
          "connection",
          "connectionCreation",
          "session",
          "generation",
          "direction",
          "listen",
          "destination",
          "state",
          "runID"
        ],
        "type": "object"
      },
      "proxyPort": {
        "type": "integer"
      },
      "runID": {
        "type": "string"
      },
      "session": {
        "type": "string"
      },
      "shellCount": {
        "type": "integer"
      },
      "shellRevision": {
        "type": "integer"
      },
      "socket": {
        "type": "string"
      },
      "socketInode": {
        "type": "integer"
      },
      "state": {
        "type": "string"
      },
      "tunnelCount": {
        "type": "integer"
      },
      "tunnelRevision": {
        "type": "integer"
      },
      "user": {
        "type": "string"
      }
    },
    "required": [
      "shellCount",
      "shellRevision",
      "tunnelCount",
      "tunnelRevision",
      "name",
      "host",
      "user",
      "port",
      "state",
      "socket",
      "session",
      "ownerPID",
      "masterPID",
      "socketInode",
      "detail"
    ],
    "type": "object"
  },
  "type": [
    "array",
    "null"
  ]
}

Strings

string[] | null

Full JSON schema
{
  "items": {
    "type": "string"
  },
  "type": [
    "array",
    "null"
  ]
}

Terminal

Human terminal interaction; no structured JSON result contract for this route.

see schema

Full JSON schema
{
  "description": "Human terminal interaction; no structured JSON result contract for this route."
}

TransferInventory

Downloads aggregate when ID is omitted; one Download when an ID is supplied. transfers includes both directions, downloads excludes uploads. Aggregate files/bytes remain download-only.

Downloads | Download

Full JSON schema
{
  "anyOf": [
    {
      "$ref": "#/results/Downloads"
    },
    {
      "$ref": "#/results/Download"
    }
  ],
  "description": "Downloads aggregate when ID is omitted; one Download when an ID is supplied. transfers includes both directions, downloads excludes uploads. Aggregate files/bytes remain download-only."
}

Tunnel

Field / optionTypePresenceDescription / constraints
connectionstringRequiredSee full schema.
connectionCreationstringRequiredSee full schema.
creationstringRequiredSee full schema.
destinationstringRequiredSee full schema.
directionstringRequiredSee full schema.
generationstringRequiredSee full schema.
idstringRequiredSee full schema.
listenstringRequiredSee full schema.
requestedListenstringOptionalSee full schema.
runIDstringRequiredSee full schema.
sessionstringRequiredSee full schema.
statestringRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "connection": {
      "type": "string"
    },
    "connectionCreation": {
      "type": "string"
    },
    "creation": {
      "type": "string"
    },
    "destination": {
      "type": "string"
    },
    "direction": {
      "type": "string"
    },
    "generation": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "listen": {
      "type": "string"
    },
    "requestedListen": {
      "type": "string"
    },
    "runID": {
      "type": "string"
    },
    "session": {
      "type": "string"
    },
    "state": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "creation",
    "connection",
    "connectionCreation",
    "session",
    "generation",
    "direction",
    "listen",
    "destination",
    "state",
    "runID"
  ],
  "type": "object"
}

TunnelCheck

Field / optionTypePresenceDescription / constraints
detailstringRequiredSee full schema.
idstringRequiredSee full schema.
statestringRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "detail": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "state": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "state",
    "detail"
  ],
  "type": "object"
}

TunnelHTTP

Field / optionTypePresenceDescription / constraints
bytesintegerRequiredSee full schema.
detailstringOptionalSee full schema.
runIDstringRequiredSee full schema.
selectionobjectRequiredSee full schema.
sha256stringOptionalSee full schema.
statestringRequiredSee full schema.
statusCodeintegerRequiredSee full schema.
urlstringRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "bytes": {
      "type": "integer"
    },
    "detail": {
      "type": "string"
    },
    "runID": {
      "type": "string"
    },
    "selection": {
      "properties": {
        "connection": {
          "type": "string"
        },
        "connectionCreation": {
          "type": "string"
        },
        "creation": {
          "type": "string"
        },
        "destination": {
          "type": "string"
        },
        "direction": {
          "type": "string"
        },
        "generation": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "listen": {
          "type": "string"
        },
        "requestedListen": {
          "type": "string"
        },
        "runID": {
          "type": "string"
        },
        "session": {
          "type": "string"
        },
        "state": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "creation",
        "connection",
        "connectionCreation",
        "session",
        "generation",
        "direction",
        "listen",
        "destination",
        "state",
        "runID"
      ],
      "type": "object"
    },
    "sha256": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "statusCode": {
      "type": "integer"
    },
    "url": {
      "type": "string"
    }
  },
  "required": [
    "runID",
    "selection",
    "url",
    "state",
    "statusCode",
    "bytes"
  ],
  "type": "object"
}

TunnelReview

Create review {review:string,digest:string}; confirmed creation returns Tunnel. Remove review {review:string}; confirmed removal returns {id:string,state:'removed',detail:string}.

object | Tunnel | object

Full JSON schema
{
  "anyOf": [
    {
      "properties": {
        "digest": {
          "type": "string"
        },
        "review": {
          "type": "string"
        }
      },
      "required": [
        "review"
      ],
      "type": "object"
    },
    {
      "$ref": "#/results/Tunnel"
    },
    {
      "properties": {
        "detail": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "state": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "state",
        "detail"
      ],
      "type": "object"
    }
  ],
  "description": "Create review {review:string,digest:string}; confirmed creation returns Tunnel. Remove review {review:string}; confirmed removal returns {id:string,state:'removed',detail:string}."
}

Tunnels

object[] | null

Full JSON schema
{
  "items": {
    "properties": {
      "connection": {
        "type": "string"
      },
      "connectionCreation": {
        "type": "string"
      },
      "creation": {
        "type": "string"
      },
      "destination": {
        "type": "string"
      },
      "direction": {
        "type": "string"
      },
      "generation": {
        "type": "string"
      },
      "id": {
        "type": "string"
      },
      "listen": {
        "type": "string"
      },
      "requestedListen": {
        "type": "string"
      },
      "runID": {
        "type": "string"
      },
      "session": {
        "type": "string"
      },
      "state": {
        "type": "string"
      }
    },
    "required": [
      "id",
      "creation",
      "connection",
      "connectionCreation",
      "session",
      "generation",
      "direction",
      "listen",
      "destination",
      "state",
      "runID"
    ],
    "type": "object"
  },
  "type": [
    "array",
    "null"
  ]
}

Workspace

Field / optionTypePresenceDescription / constraints
accessstringRequiredSee full schema.
healthstringRequiredSee full schema.
pidintegerRequiredSee full schema.
startedAtstringRequiredSee full schema.
workspacePathstringRequiredSee full schema.
Full JSON schema
{
  "properties": {
    "access": {
      "type": "string"
    },
    "health": {
      "type": "string"
    },
    "pid": {
      "type": "integer"
    },
    "startedAt": {
      "type": "string"
    },
    "workspacePath": {
      "type": "string"
    }
  },
  "required": [
    "workspacePath",
    "pid",
    "startedAt",
    "health",
    "access"
  ],
  "type": "object"
}

WorkspaceInventory

Only explicitly supplied paths, never an authoritative registry. Each observation is independent; exit 0 can include unverified entries.

Field / optionTypePresenceDescription / constraints
registryAvailablefalseRequiredSee full schema.
scope"explicit-paths"RequiredSee full schema.
workspacesobject[]RequiredSee full schema.
Full JSON schema
{
  "description": "Only explicitly supplied paths, never an authoritative registry. Each observation is independent; exit 0 can include unverified entries.",
  "properties": {
    "registryAvailable": {
      "const": false
    },
    "scope": {
      "const": "explicit-paths"
    },
    "workspaces": {
      "items": {
        "properties": {
          "daemon": {
            "$ref": "#/results/Workspace"
          },
          "error": {
            "type": "string"
          },
          "state": {
            "enum": [
              "verified",
              "unverified"
            ]
          },
          "workspacePath": {
            "type": "string"
          }
        },
        "required": [
          "workspacePath",
          "state"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "scope",
    "registryAvailable",
    "workspaces"
  ],
  "type": "object"
}