Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

goldens: tools-json after the P7 merge

garrytana2603198b473
diff --git a/test/fixtures/goldens/cli/tools-json.json b/test/fixtures/goldens/cli/tools-json.json
index e60ce55bb7..8e6043ff47 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": 199133,
- "stdoutSha256": "b42f35c3d886837625a537154830f9938b921618548b83498e4d8df0285c868c",
+ "stdoutBytes": 199389,
+ "stdoutSha256": "325446e4b115d275755533f566458e68beb9e1e1ac3e9e63ecf7a717a48916e4",
"toolNames": [
"remember",
"entity",
@@ -172,11 +172,12 @@
"parameters": {
"entity": "string?",
"expected_revision": "string?",
- "fact": "string",
+ "fact": "string?",
"force": "boolean?",
"infer_entity": "boolean?",
+ "items": "array?",
"kind": "string?",
- "provenance": "string",
+ "provenance": "string?",
"request_id": "string?",
"source_id": "string?",
"ttl": "string?",
@@ -205,6 +206,13 @@
"description": "Default true.",
"type": "boolean"
},
+ "items": {
+ "description": "Up to 20 facts at once (e.g. before compaction): [{fact, entity?, kind?, ttl?, provenance?}]",
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
"kind": {
"description": "Default fact.",
"enum": [
@@ -217,7 +225,7 @@
"type": "string"
},
"provenance": {
- "description": "Where the fact came from (max 500 chars).",
+ "description": "Where the fact came from (max 500 chars); per item with items.",
"type": "string"
},
"request_id": {
@@ -241,10 +249,7 @@
"type": "string"
}
},
- "required": [
- "fact",
- "provenance"
- ],
+ "required": [],
"type": "object"
},
"scope": "write"
@@ -5235,14 +5240,14 @@
"scope": "read"
},
{
- "description": "MEMORY VERB (v1): budget-packed cards, open threads and hot facts for up to 8 entities, zero LLM. Call at session start and after compaction.",
+ "description": "MEMORY VERB (v1): core memory plus budget-packed cards, open threads and hot facts for up to 8 entities, zero LLM. Call at session start and after compaction.",
"idempotent": true,
"local_only": false,
"mutating": false,
"name": "context_pack",
"parameters": {
"budget_tokens": "number?",
- "entities": "string",
+ "entities": "string?",
"include_private": "boolean?",
"session_id": "string?",
"since": "string?"
@@ -5255,7 +5260,7 @@
"type": "number"
},
"entities": {
- "description": "Comma-separated names or slugs (max 8).",
+ "description": "Comma-separated names or slugs (max 8); omit for core only.",
"type": "string"
},
"include_private": {
@@ -5271,9 +5276,7 @@
"type": "string"
}
},
- "required": [
- "entities"
- ],
+ "required": [],
"type": "object"
},
"scope": "read"