Files
BrowserSkill/crates/bsk-protocol/schema/tool_window_resize_result.json
T
BB-fat 49378d70de feat: support Agent Window sizing (session start --width/--height, window resize) (#52)
- `bsk session start --width <px> --height <px>` opens the Agent Window
  with the given outer size (chrome.windows.create)
- new `bsk window resize --session <id> --width <px> --height <px>`
  resizes the Agent Window at runtime (chrome.windows.update)
- both validated on CLI, daemon and extension sides (100..=7680 CSS px)
- protocol: new tool.window_resize method (BrowserMutation) and
  optional width/height on tool.session_start params; schemas regenerated
2026-08-05 11:19:10 +08:00

27 lines
462 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "WindowResizeResult",
"type": "object",
"required": [
"height",
"width",
"window_id"
],
"properties": {
"height": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
},
"width": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
},
"window_id": {
"type": "integer",
"format": "int64"
}
}
}