aboutsummaryrefslogtreecommitdiff
path: root/docs/next/api/herdr-api.schema.json
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-15 02:32:52 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-15 02:32:52 +0300
commit88370e1516182ab519d22a12fa82d5780a40fee6 (patch)
treeb07be9b77abe14cdd3c1ff0e9acc1268729d8723 /docs/next/api/herdr-api.schema.json
parent5d24d0d214d05858e344a9e15a63856dc1328eae (diff)
feat: add isolated pane graphics streaming
Diffstat (limited to 'docs/next/api/herdr-api.schema.json')
-rw-r--r--docs/next/api/herdr-api.schema.json158
1 files changed, 158 insertions, 0 deletions
diff --git a/docs/next/api/herdr-api.schema.json b/docs/next/api/herdr-api.schema.json
index a769d050..d146e11b 100644
--- a/docs/next/api/herdr-api.schema.json
+++ b/docs/next/api/herdr-api.schema.json
@@ -2075,6 +2075,92 @@
],
"type": "object"
},
+ "PaneGraphicsClearParams": {
+ "properties": {
+ "pane_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "pane_id"
+ ],
+ "type": "object"
+ },
+ "PaneGraphicsFormat": {
+ "enum": [
+ "png",
+ "rgb",
+ "rgba"
+ ],
+ "type": "string"
+ },
+ "PaneGraphicsPlacementParams": {
+ "properties": {
+ "grid_cols": {
+ "default": 0,
+ "format": "uint32",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "grid_rows": {
+ "default": 0,
+ "format": "uint32",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "viewport_col": {
+ "default": 0,
+ "format": "int32",
+ "type": "integer"
+ },
+ "viewport_row": {
+ "default": 0,
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "PaneGraphicsSetParams": {
+ "properties": {
+ "data_base64": {
+ "default": "",
+ "type": "string"
+ },
+ "format": {
+ "$ref": "#/schemas/request/$defs/PaneGraphicsFormat"
+ },
+ "image_height": {
+ "format": "uint32",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "image_width": {
+ "format": "uint32",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "pane_id": {
+ "type": "string"
+ },
+ "placement": {
+ "$ref": "#/schemas/request/$defs/PaneGraphicsPlacementParams",
+ "default": {
+ "grid_cols": 0,
+ "grid_rows": 0,
+ "viewport_col": 0,
+ "viewport_row": 0
+ }
+ }
+ },
+ "required": [
+ "pane_id",
+ "format",
+ "image_width",
+ "image_height"
+ ],
+ "type": "object"
+ },
"PaneLayoutParams": {
"properties": {
"pane_id": {
@@ -4800,6 +4886,54 @@
{
"properties": {
"method": {
+ "const": "pane.graphics.set",
+ "type": "string"
+ },
+ "params": {
+ "$ref": "#/schemas/request/$defs/PaneGraphicsSetParams"
+ }
+ },
+ "required": [
+ "method",
+ "params"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "method": {
+ "const": "pane.graphics.clear",
+ "type": "string"
+ },
+ "params": {
+ "$ref": "#/schemas/request/$defs/PaneGraphicsClearParams"
+ }
+ },
+ "required": [
+ "method",
+ "params"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "method": {
+ "const": "pane.graphics.info",
+ "type": "string"
+ },
+ "params": {
+ "$ref": "#/schemas/request/$defs/PaneTarget"
+ }
+ },
+ "required": [
+ "method",
+ "params"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "method": {
"const": "pane.report_agent",
"type": "string"
},
@@ -8352,6 +8486,30 @@
},
{
"properties": {
+ "cell_height_px": {
+ "format": "uint32",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "cell_width_px": {
+ "format": "uint32",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "type": {
+ "const": "pane_graphics_info",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "cell_width_px",
+ "cell_height_px"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
"explain": true,
"type": {
"const": "agent_explain",