Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

Regenerate the tools-json golden for the combined train

garrytane227048e501d
diff --git a/test/fixtures/goldens/cli/tools-json.json b/test/fixtures/goldens/cli/tools-json.json
index 664c05c799..6cd8781fe0 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": 283195,
- "stdoutSha256": "7e43ff7a847b439fa2f86ec741776e4be19459cdc2b9f0a039888bac3ae7b6cd",
+ "stdoutBytes": 287194,
+ "stdoutSha256": "77ce6903a27a21e1913a9b4cd49be328cffda29f27d55ef25465c189461d3af5",
"toolNames": [
"remember",
"entity",
@@ -164,6 +164,7 @@
"unpurge_page",
"memory_recall",
"memory_write",
+ "memory_propose",
"get_memory_settings",
"set_memory_writeback",
"memory_conversation_mode",
@@ -2961,6 +2962,8 @@
"min_trust": "string?",
"since": "string?",
"slug": "string",
+ "source_id": "string?",
+ "source_ids": "array?",
"until": "string?"
},
"required_scopes": [],
@@ -2998,6 +3001,17 @@
"description": "Slug of the page whose timeline entries to return.",
"type": "string"
},
+ "source_id": {
+ "description": "Read only this source.",
+ "type": "string"
+ },
+ "source_ids": {
+ "description": "Narrow to these sources (omit or [] for all you can read).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"until": {
"description": "Alias for before; accepted for agent callers",
"type": "string"
@@ -6599,6 +6613,7 @@
"min_trust": "string?",
"prior_context": "string?",
"session_id": "string?",
+ "source_ids": "array?",
"stats": "boolean?",
"turn": "number?",
"window": "string?"
@@ -6638,6 +6653,13 @@
"description": "Optional caller session id, logged for attribution.",
"type": "string"
},
+ "source_ids": {
+ "description": "Narrow to these sources (omit or [] for all you can read).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"stats": {
"description": "Return the volunteered-vs-used precision summary instead of volunteering. APPROXIMATE: \"used\" = pages.last_retrieved_at > volunteered_at.",
"type": "boolean"
@@ -7431,6 +7453,7 @@
"acting_user": "string?",
"max_chars": "integer?",
"query": "string",
+ "query_keep": "string?",
"source_id": "string?",
"source_ids": "array?"
},
@@ -7449,6 +7472,14 @@
"description": "What the turn is about; ranks the facts.",
"type": "string"
},
+ "query_keep": {
+ "description": "Which end of a query over 2000 characters ranks the facts: head (the default) or tail. Sending it adds query_truncated.",
+ "enum": [
+ "head",
+ "tail"
+ ],
+ "type": "string"
+ },
"source_id": {
"description": "Read this one source as its audience (a shared scope): never the person's own facts.",
"type": "string"
@@ -7541,6 +7572,101 @@
},
"scope": "write"
},
+ {
+ "description": "Propose one timeline entry or link on a shared page for the person this call serves; the brain owner approves it before it is written. Needs an attested person. Poll get_write_request with the request_id; the same idempotency_key replays.",
+ "idempotent": true,
+ "local_only": false,
+ "mutating": true,
+ "name": "memory_propose",
+ "parameters": {
+ "acting_user": "string?",
+ "context": "string?",
+ "date": "string?",
+ "detail": "string?",
+ "expected_revision": "string?",
+ "idempotency_key": "string",
+ "kind": "string",
+ "link_type": "string?",
+ "source": "string?",
+ "summary": "string?",
+ "target": "string",
+ "to": "string?",
+ "valid_from": "string?",
+ "valid_until": "string?"
+ },
+ "required_scopes": [],
+ "schema": {
+ "properties": {
+ "acting_user": {
+ "description": "Set by the trusted system: equal to the x-qm-actor header, or omit.",
+ "type": "string"
+ },
+ "context": {
+ "description": "link: context.",
+ "type": "string"
+ },
+ "date": {
+ "description": "timeline: YYYY-MM-DD.",
+ "type": "string"
+ },
+ "detail": {
+ "description": "timeline: details.",
+ "type": "string"
+ },
+ "expected_revision": {
+ "description": "The revision shown to the person; refused when the page moved.",
+ "type": "string"
+ },
+ "idempotency_key": {
+ "description": "1-128 visible ASCII characters; the same key replays this proposal.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "timeline (date, summary) or link (to).",
+ "enum": [
+ "timeline",
+ "link"
+ ],
+ "type": "string"
+ },
+ "link_type": {
+ "description": "link: a type the schema pack declares.",
+ "type": "string"
+ },
+ "source": {
+ "description": "timeline: where it came from.",
+ "type": "string"
+ },
+ "summary": {
+ "description": "timeline: one line.",
+ "type": "string"
+ },
+ "target": {
+ "description": "Slug the write lands on (a link's from page).",
+ "type": "string"
+ },
+ "to": {
+ "description": "link: the page it points to.",
+ "type": "string"
+ },
+ "valid_from": {
+ "description": "link: YYYY-MM-DD.",
+ "type": "string"
+ },
+ "valid_until": {
+ "description": "link: YYYY-MM-DD.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "target",
+ "idempotency_key"
+ ],
+ "type": "object"
+ },
+ "scope": "write"
+ },
{
"description": "Memory writeback settings: the mode agents follow, the exact rule text, every mode's rule, background capture state, and whether you may change it.",
"idempotent": true,
@@ -7680,6 +7806,7 @@
"parameters": {
"explain": "boolean?",
"limit": "number?",
+ "source_ids": "array?",
"topic": "string?"
},
"required_scopes": [],
@@ -7693,6 +7820,13 @@
"description": "Max results (default 5).",
"type": "number"
},
+ "source_ids": {
+ "description": "Narrow to these sources (omit or [] for all you can read).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
"topic": {
"description": "The topic to route. Free-form natural language.",
"type": "string"