aboutsummaryrefslogtreecommitdiff
path: root/docs/next/api
diff options
context:
space:
mode:
Diffstat (limited to 'docs/next/api')
-rw-r--r--docs/next/api/herdr-api.schema.json113
1 files changed, 78 insertions, 35 deletions
diff --git a/docs/next/api/herdr-api.schema.json b/docs/next/api/herdr-api.schema.json
index a9712784..cb0c0b72 100644
--- a/docs/next/api/herdr-api.schema.json
+++ b/docs/next/api/herdr-api.schema.json
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
- "protocol": 16,
+ "protocol": 17,
"schema_version": 1,
"schemas": {
"error_response": {
@@ -1176,6 +1176,21 @@
},
"request": {
"$defs": {
+ "AgentPromptParams": {
+ "properties": {
+ "target": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "target",
+ "text"
+ ],
+ "type": "object"
+ },
"AgentReadParams": {
"properties": {
"format": {
@@ -1241,57 +1256,35 @@
},
"AgentStartParams": {
"properties": {
- "argv": {
+ "args": {
"items": {
"type": "string"
},
"type": "array"
},
- "cwd": {
- "type": [
- "string",
- "null"
- ]
- },
- "env": {
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
- },
- "focus": {
- "default": false,
- "type": "boolean"
+ "kind": {
+ "type": "string"
},
"name": {
"type": "string"
},
- "split": {
- "anyOf": [
- {
- "$ref": "#/schemas/request/$defs/SplitDirection"
- },
- {
- "type": "null"
- }
- ]
- },
- "tab_id": {
- "type": [
- "string",
- "null"
- ]
+ "pane_id": {
+ "type": "string"
},
- "workspace_id": {
+ "timeout_ms": {
+ "description": "Startup timeout in milliseconds. Values must be greater than 3000 and at most 300000.",
+ "format": "uint64",
+ "minimum": 0,
"type": [
- "string",
+ "integer",
"null"
]
}
},
"required": [
"name",
- "argv"
+ "kind",
+ "pane_id"
],
"type": "object"
},
@@ -4570,6 +4563,22 @@
{
"properties": {
"method": {
+ "const": "agent.prompt",
+ "type": "string"
+ },
+ "params": {
+ "$ref": "#/schemas/request/$defs/AgentPromptParams"
+ }
+ },
+ "required": [
+ "method",
+ "params"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "method": {
"const": "pane.split",
"type": "string"
},
@@ -5604,6 +5613,12 @@
"null"
]
},
+ "interactive_ready": {
+ "type": "boolean"
+ },
+ "launch_pending": {
+ "type": "boolean"
+ },
"name": {
"type": [
"string",
@@ -5621,6 +5636,12 @@
"screen_detection_skipped": {
"type": "boolean"
},
+ "state_change_seq": {
+ "default": 0,
+ "format": "uint64",
+ "minimum": 0,
+ "type": "integer"
+ },
"state_labels": {
"additionalProperties": {
"type": "string"
@@ -8296,6 +8317,28 @@
},
{
"properties": {
+ "agent": {
+ "$ref": "#/schemas/success_response/$defs/AgentInfo"
+ },
+ "baseline_state_change_seq": {
+ "format": "uint64",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "type": {
+ "const": "agent_prompted",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "agent",
+ "baseline_state_change_seq"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
"agents": {
"items": {
"$ref": "#/schemas/success_response/$defs/AgentInfo"