Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

chore(goldens): tools-json golden after the master merge

garrytan01432224ebd4
diff --git a/test/fixtures/goldens/cli/tools-json.json b/test/fixtures/goldens/cli/tools-json.json
index c61f3a73f2..7843a09096 100644
--- a/test/fixtures/goldens/cli/tools-json.json
+++ b/test/fixtures/goldens/cli/tools-json.json
@@ -2,8 +2,8 @@
"golden": {
"exitCode": 0,
"stderr": "",
- "stdoutBytes": 209938,
- "stdoutSha256": "a8804aad5e3f0691c8a937f411df17e2592662c8eed52ea9c116f90ad05b433d",
+ "stdoutBytes": 210022,
+ "stdoutSha256": "6bccdce11b0e616d6edfa773c2f0a382f2b238c783c65fb42407f7f1d7b60784",
"toolNames": [
"remember",
"entity",
@@ -235,11 +235,11 @@
"type": "string"
},
"replaces": {
- "description": "fact_id this fact replaces (same entity).",
+ "description": "fact_id this fact replaces (same entity, or none).",
"type": "string"
},
"request_id": {
- "description": "UUID; retry with it on timeout.",
+ "description": "Optional; reuse only to retry.",
"type": "string"
},
"source_id": {
@@ -346,7 +346,7 @@
"type": "string"
},
"request_id": {
- "description": "UUID; retry with it on timeout.",
+ "description": "Optional; reuse only to retry.",
"type": "string"
},
"semantic_review": {
@@ -473,7 +473,7 @@
"type": "string"
},
"request_id": {
- "description": "UUID; retry with it on timeout.",
+ "description": "Optional; reuse only to retry.",
"type": "string"
},
"slug": {
@@ -535,7 +535,7 @@
"type": "boolean"
},
"request_id": {
- "description": "UUID; retry with it on timeout.",
+ "description": "Optional; reuse only to retry.",
"type": "string"
},
"slug": {
@@ -647,7 +647,7 @@
"type": "boolean"
},
"request_id": {
- "description": "UUID; retry with it on timeout.",
+ "description": "Optional; reuse only to retry.",
"type": "string"
},
"slug": {
@@ -742,7 +742,7 @@
"type": "string"
},
"request_id": {
- "description": "UUID; retry with it on timeout.",
+ "description": "Optional; reuse only to retry.",
"type": "string"
},
"slug": {
@@ -849,7 +849,7 @@
"type": "string"
},
"request_id": {
- "description": "UUID; retry with it on timeout.",
+ "description": "Optional; reuse only to retry.",
"type": "string"
},
"slug": {
@@ -871,7 +871,7 @@
"scope": "write"
},
{
- "description": "Write up to 50 complete Markdown pages (8 MB total) in one call; use instead of put_page for more than 3 pages. Each page replaces its whole page, like put_page. Keep one request_id UUID per batch: replaying the identical call never writes twice, and put_pages with ONLY request_id reports progress without resending content. Waits up to wait_ms (default 25000) for commits; follow the returned `next`. Needs put_page permission.",
+ "description": "Write up to 50 complete Markdown pages (8 MB total) in one call; use instead of put_page for more than 3 pages. Each page replaces its whole page, like put_page. Keep one request_id per batch: replaying the identical call never writes twice, and put_pages with ONLY request_id reports progress without resending content. Waits up to wait_ms (default 25000) for commits; follow the returned `next`. Needs put_page permission.",
"idempotent": true,
"local_only": false,
"mutating": true,
@@ -920,7 +920,7 @@
"type": "array"
},
"request_id": {
- "description": "Batch UUID; reuse it to replay or poll.",
+ "description": "Batch id; reuse only to replay or poll.",
"type": "string"
},
"source_id": {
@@ -952,7 +952,7 @@
"schema": {
"properties": {
"request_id": {
- "description": "The UUID you sent with the write.",
+ "description": "The id you sent, or the receipt's.",
"type": "string"
}
},
@@ -1009,7 +1009,7 @@
"schema": {
"properties": {
"request_id": {
- "description": "The UUID you sent with the write.",
+ "description": "The id you sent, or the receipt's.",
"type": "string"
}
},
@@ -1021,14 +1021,16 @@
"scope": "write"
},
{
- "description": "Cheap hybrid search (vector + keyword), no LLM expansion, top 20: for exact tokens, names, field values. Results are NOT proof of coverage: concepts or landscape, use `query`; exhaustive lists, list_pages. return_unit returns whole sections or conversations. Personal: get_recent_salience; saved facts: recall. fields: \"full\" adds diagnostics.",
+ "description": "Cheap hybrid search, no LLM expansion, top 20: exact tokens, names, field values. NOT proof of coverage; match: \"keyword\" pages every keyword match. Concepts or landscape: `query`; lists: list_pages; personal: get_recent_salience. return_unit: sections or conversations. fields: \"full\" adds diagnostics.",
"idempotent": true,
"local_only": false,
"mutating": false,
"name": "search",
"parameters": {
+ "cursor": "string?",
"fields": "string?",
"limit": "number?",
+ "match": "string?",
"mode": "string?",
"offset": "number?",
"query": "string",
@@ -1044,6 +1046,10 @@
"required_scopes": [],
"schema": {
"properties": {
+ "cursor": {
+ "description": "From next.",
+ "type": "string"
+ },
"fields": {
"description": "lean (remote default) or full.",
"enum": [
@@ -1053,9 +1059,17 @@
"type": "string"
},
"limit": {
- "description": "Max results (default 20).",
+ "description": "Default 20.",
"type": "number"
},
+ "match": {
+ "description": "keyword: every keyword match, paged.",
+ "enum": [
+ "hybrid",
+ "keyword"
+ ],
+ "type": "string"
+ },
"mode": {
"description": "Local callers only.",
"type": "string"
@@ -1069,7 +1083,7 @@
"type": "string"
},
"recency": {
- "description": "Boost recent pages (default: auto).",
+ "description": "Boost recent pages.",
"enum": [
"off",
"on",
@@ -1078,7 +1092,7 @@
"type": "string"
},
"return_unit": {
- "description": "auto (default) returns whole conversations.",
+ "description": "Default auto: whole conversations.",
"enum": [
"chunk",
"window",
@@ -1089,11 +1103,11 @@
"type": "string"
},
"return_window": {
- "description": "Neighbor chunks each side for window (1-3).",
+ "description": "Window radius 1-3.",
"type": "number"
},
"salience": {
- "description": "Boost emotional pages (default: auto).",
+ "description": "Boost emotional pages.",
"enum": [
"off",
"on",
@@ -1102,7 +1116,7 @@
"type": "string"
},
"snippet_chars": {
- "description": "Max chars per chunk_text (0 = full).",
+ "description": "Chars per row (0 = full).",
"type": "number"
},
"source_id": {
@@ -1110,7 +1124,7 @@
"type": "string"
},
"token_budget": {
- "description": "Evidence token cap (default 6000).",
+ "description": "Default 6000.",
"type": "number"
},
"types": {
@@ -1248,7 +1262,7 @@
"type": "string"
},
"recency": {
- "description": "Boost recent pages (default: auto).",
+ "description": "Boost recent pages.",
"enum": [
"off",
"on",
@@ -1261,7 +1275,7 @@
"type": "boolean"
},
"return_unit": {
- "description": "auto (default) returns whole conversations.",
+ "description": "Default auto: whole conversations.",
"enum": [
"chunk",
"window",
@@ -1272,11 +1286,11 @@
"type": "string"
},
"return_window": {
- "description": "Neighbor chunks each side for window (1-3).",
+ "description": "Window radius 1-3.",
"type": "number"
},
"salience": {
- "description": "Boost emotional pages (default: auto).",
+ "description": "Boost emotional pages.",
"enum": [
"off",
"on",
@@ -1289,7 +1303,7 @@
"type": "string"
},
"snippet_chars": {
- "description": "Max chars per chunk_text (0 = full).",
+ "description": "Chars per row (0 = full).",
"type": "number"
},
"source_id": {
@@ -1369,7 +1383,7 @@
"type": "string"
},
"return_window": {
- "description": "Neighbor chunks each side for window (1-3).",
+ "description": "Window radius 1-3.",
"type": "number"
},
"token_budget": {
@@ -1560,7 +1574,7 @@
"schema": {
"properties": {
"request_id": {
- "description": "UUID; retry with it on timeout.",
+ "description": "Optional; reuse only to retry.",
"type": "string"
},
"slug": {
@@ -1595,7 +1609,7 @@
"schema": {
"properties": {
"request_id": {
- "description": "UUID; retry with it on timeout.",
+ "description": "Optional; reuse only to retry.",
"type": "string"
},
"slug": {
@@ -2014,7 +2028,7 @@
"type": "string"
},
"request_id": {
- "description": "UUID; retry with it on timeout.",
+ "description": "Optional; reuse only to retry.",
"type": "string"
},
"slug": {
@@ -2193,7 +2207,7 @@
"type": "boolean"
},
"request_id": {
- "description": "UUID; retry with it on timeout.",
+ "description": "Optional; reuse only to retry.",
"type": "string"
},
"slug": {
@@ -4077,7 +4091,7 @@
"type": "string"
},
"request_id": {
- "description": "UUID; retry with it on timeout.",
+ "description": "Optional; reuse only to retry.",
"type": "string"
},
"since": {
@@ -4130,7 +4144,7 @@
"type": "string"
},
"request_id": {
- "description": "UUID; retry with it on timeout.",
+ "description": "Optional; reuse only to retry.",
"type": "string"
},
"row_num": {
@@ -4201,7 +4215,7 @@
"type": "string"
},
"request_id": {
- "description": "UUID; retry with it on timeout.",
+ "description": "Optional; reuse only to retry.",
"type": "string"
},
"resolved_by": {
@@ -4278,7 +4292,7 @@
"type": "string"
},
"request_id": {
- "description": "UUID; retry with it on timeout.",
+ "description": "Optional; reuse only to retry.",
"type": "string"
},
"row_num": {
@@ -4331,7 +4345,7 @@
"type": "string"
},
"request_id": {
- "description": "UUID; retry with it on timeout.",
+ "description": "Optional; reuse only to retry.",
"type": "string"
},
"row_num": {
@@ -4365,7 +4379,7 @@
"schema": {
"properties": {
"request_id": {
- "description": "UUID; retry with it on timeout.",
+ "description": "Optional; reuse only to retry.",
"type": "string"
},
"slug": {
@@ -5420,7 +5434,7 @@
"type": "boolean"
},
"request_id": {
- "description": "UUID; retry with it on timeout. Managed extraction returns durable receipts; when omitted, each call gets a new UUID. Unmanaged extraction retains its legacy non-journaled behavior.",
+ "description": "Optional; reuse only to retry. Managed extraction returns durable receipts; when omitted, each call gets a new UUID. Unmanaged extraction retains its legacy non-journaled behavior.",
"type": "string"
},
"session_id": {
@@ -5666,7 +5680,7 @@
"type": "string"
},
"request_id": {
- "description": "UUID; retry with it on timeout.",
+ "description": "Optional; reuse only to retry.",
"type": "string"
}
},