Initial public release

This commit is contained in:
BB-fat committed 2026-06-22 17:36:26 +08:00
commit f1036a860c
289 files changed
+54589

No files matched your search

@@ -0,0 +1,40 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "SnapshotParams",
"description": "Parameters for `tool.snapshot` — produce an indented accessibility tree for one tab plus a fresh `@e<N>` ref-store on the extension side (design §4 / §7).",
"type": "object",
"required": [
"session_id"
],
"properties": {
"max_depth": {
"description": "Cap the depth of the rendered tree (defense against very deep pages). Implementation-defined default; agents typically use `Some(16)` for \"browse and read\" prompts.",
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0.0
},
"max_tokens": {
"description": "Soft cap on rendered tokens (approximate; extension uses a best-effort heuristic based on character count).",
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0.0
},
"session_id": {
"type": "string"
},
"tab_id": {
"description": "Optional target tab. Defaults to the Agent Window's currently active tab.",
"type": [
"integer",
"null"
],
"format": "int64"
}
}
}