From 10974c822d607f03e20e9741ec027910f0c1f93a Mon Sep 17 00:00:00 2001 From: Can Celik Date: Sat, 8 Aug 2026 16:26:47 +0300 Subject: feat(input): add per-pane right-click routing (#2504) --- docs/next/api/herdr-api.schema.json | 42 +++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'docs/next/api/herdr-api.schema.json') diff --git a/docs/next/api/herdr-api.schema.json b/docs/next/api/herdr-api.schema.json index 4183c2ba..1e8d7830 100644 --- a/docs/next/api/herdr-api.schema.json +++ b/docs/next/api/herdr-api.schema.json @@ -2536,6 +2536,21 @@ ], "type": "object" }, + "PaneInputSetParams": { + "properties": { + "pane_id": { + "type": "string" + }, + "right_click": { + "$ref": "#/schemas/request/$defs/PaneRightClickTarget" + } + }, + "required": [ + "pane_id", + "right_click" + ], + "type": "object" + }, "PaneLayoutParams": { "properties": { "pane_id": { @@ -2970,6 +2985,13 @@ ], "type": "object" }, + "PaneRightClickTarget": { + "enum": [ + "herdr", + "pane" + ], + "type": "string" + }, "PaneSendInputParams": { "properties": { "keys": { @@ -3051,6 +3073,10 @@ "null" ] }, + "right_click": { + "$ref": "#/schemas/request/$defs/PaneRightClickTarget", + "default": "herdr" + }, "target_pane_id": { "type": [ "string", @@ -5326,6 +5352,22 @@ ], "type": "object" }, + { + "properties": { + "method": { + "const": "pane.input.set", + "type": "string" + }, + "params": { + "$ref": "#/schemas/request/$defs/PaneInputSetParams" + } + }, + "required": [ + "method", + "params" + ], + "type": "object" + }, { "properties": { "method": { -- cgit v1.2.3