Skip to content

Local-first 🧠 memory for Hermes Agent that lives in your Obsidian vault and remembers project context. Nightly 😴 dream passes turn repeat corrections into confirmed preferences with measurable confidence. Adapters ship for Claude Code, Codex, and OpenClaw, with an MCP server for anything else.

TypeScript

fix: add name field inside tool objects for OpenClaw registerTool (v0.5.4)

Sol Aitkenddca75ba41c5
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json
index 3bee71e3..705269f3 100644
--- a/.claude-plugin/plugin.json
+++ b/.claude-plugin/plugin.json
@@ -1,6 +1,6 @@
{
"name": "open-second-brain",
- "version": "0.5.3",
+ "version": "0.5.4",
"description": "Plugin-first second brain package for AI agents and humans.",
"author": "Open Second Brain contributors",
"license": "MIT",
diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json
index 04e73be3..38352a43 100644
--- a/.codex-plugin/plugin.json
+++ b/.codex-plugin/plugin.json
@@ -1,6 +1,6 @@
{
"name": "open-second-brain",
- "version": "0.5.3",
+ "version": "0.5.4",
"description": "Plugin-first second brain package for Codex, Hermes, Claude Code, OpenClaw, and other agent runtimes.",
"skills": "./skills",
"keywords": ["second-brain", "obsidian", "agents", "skills", "event-log", "mcp"]
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f10e3d2c..9d818ac1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+## [0.5.4] - 2026-05-07
+
+### Fixed
+
+- Added `name` field inside each tool object passed to `api.registerTool()`.
+ OpenClaw 2026.5.6 reads `tool.name` during normalization and calls `.trim()`
+ on it β€” omitting it caused `TypeError: Cannot read properties of undefined`.
+
## [0.5.3] - 2026-05-07
### Fixed
diff --git a/install.md b/install.md
index 704170a8..548d6ba7 100644
--- a/install.md
+++ b/install.md
@@ -88,7 +88,7 @@ The vault and its Markdown files are never deleted by the uninstall process.
From Git (pin to a version tag):
```bash
-openclaw plugins install git:github.com/itechmeat/[email protected]
+openclaw plugins install git:github.com/itechmeat/[email protected]
```
Or from a local checkout:
diff --git a/openclaw.plugin.json b/openclaw.plugin.json
index b9e91c7c..1db2ae55 100644
--- a/openclaw.plugin.json
+++ b/openclaw.plugin.json
@@ -2,7 +2,7 @@
"id": "open-second-brain",
"name": "Open Second Brain",
"description": "Second brain for AI agents using Obsidian-compatible Markdown vaults.",
- "version": "0.5.3",
+ "version": "0.5.4",
"activation": { "onStartup": true },
"skills": ["./skills"],
"contracts": {
diff --git a/openclaw/index.js b/openclaw/index.js
index 307977c8..df48bc45 100644
--- a/openclaw/index.js
+++ b/openclaw/index.js
@@ -184,6 +184,7 @@ export default definePluginEntry({
// ── second_brain_status ────────────────────────────────────────────
api.registerTool(
{
+ name: "second_brain_status",
description: "Report Open Second Brain configuration and vault status.",
parameters: {
type: "object",
@@ -239,6 +240,7 @@ export default definePluginEntry({
// ── second_brain_query ─────────────────────────────────────────────
api.registerTool(
{
+ name: "second_brain_query",
description: "List vault pages with optional title substring filter.",
parameters: {
type: "object",
@@ -295,6 +297,7 @@ export default definePluginEntry({
// ── second_brain_capture ───────────────────────────────────────────
api.registerTool(
{
+ name: "second_brain_capture",
description: "Write a new Markdown note to AI Wiki/notes/ with frontmatter.",
parameters: {
type: "object",
@@ -377,6 +380,7 @@ export default definePluginEntry({
// ── event_log_append ───────────────────────────────────────────────
api.registerTool(
{
+ name: "event_log_append",
description: "Append a single-line event to the daily Markdown event log.",
parameters: {
type: "object",
@@ -440,6 +444,7 @@ export default definePluginEntry({
// ── vault_health ───────────────────────────────────────────────────
api.registerTool(
{
+ name: "vault_health",
description: "Run vault, config, and plugin manifest health checks.",
parameters: {
type: "object",
diff --git a/package.json b/package.json
index 94e7d094..b02f5456 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "open-second-brain",
- "version": "0.5.3",
+ "version": "0.5.4",
"type": "module",
"private": false,
"description": "Second brain for AI agents using Obsidian-compatible Markdown vaults. Works with Hermes, Claude Code, Codex, and OpenClaw.",
diff --git a/plugin.yaml b/plugin.yaml
index 4993bc02..70ec07bb 100644
--- a/plugin.yaml
+++ b/plugin.yaml
@@ -1,5 +1,5 @@
name: open-second-brain
-version: "0.5.3"
+version: "0.5.4"
description: "Hermes plugin entrypoint for OpenSecondBrain vault health checks and the optional MCP tool server."
author: "OpenSecondBrain contributors"
kind: standalone
diff --git a/plugins/hermes/plugin.yaml b/plugins/hermes/plugin.yaml
index 7cc0c682..a3718b6c 100644
--- a/plugins/hermes/plugin.yaml
+++ b/plugins/hermes/plugin.yaml
@@ -1,5 +1,5 @@
name: open-second-brain
-version: "0.5.3"
+version: "0.5.4"
description: "Hermes adapter for OpenSecondBrain vault health checks and optional MCP tool server."
author: "OpenSecondBrain contributors"
kind: standalone
diff --git a/pyproject.toml b/pyproject.toml
index 889f3933..68c0cfd8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "open-second-brain"
-version = "0.5.3"
+version = "0.5.4"
description = "Second brain for AI agents using Obsidian-compatible Markdown vaults. Works with Hermes, Claude Code, Codex, and OpenClaw."
readme = "README.md"
requires-python = ">=3.11"
diff --git a/src/open_second_brain/__init__.py b/src/open_second_brain/__init__.py
index 36402484..c425b44a 100644
--- a/src/open_second_brain/__init__.py
+++ b/src/open_second_brain/__init__.py
@@ -1,3 +1,3 @@
"""Open Second Brain core package."""
-__version__ = "0.5.3"
+__version__ = "0.5.4"
diff --git a/src/open_second_brain/mcp.py b/src/open_second_brain/mcp.py
index 35b6417c..4eed5f2d 100644
--- a/src/open_second_brain/mcp.py
+++ b/src/open_second_brain/mcp.py
@@ -29,7 +29,7 @@ from open_second_brain.vault import list_vault_pages, parse_frontmatter, write_f
PROTOCOL_VERSION = "2025-06-18"
SERVER_NAME = "open-second-brain"
-SERVER_VERSION = "0.5.3"
+SERVER_VERSION = "0.5.4"
JSONRPC_VERSION = "2.0"
# JSON-RPC 2.0 error codes used by the MCP server.
diff --git a/tests/test_openclaw_plugin.py b/tests/test_openclaw_plugin.py
index be465036..52f6b0c0 100644
--- a/tests/test_openclaw_plugin.py
+++ b/tests/test_openclaw_plugin.py
@@ -34,7 +34,7 @@ class OpenClawManifestValidityTests(unittest.TestCase):
self.assertEqual(schema["type"], "object")
def test_manifest_has_version(self):
- self.assertEqual(self.manifest["version"], "0.5.3")
+ self.assertEqual(self.manifest["version"], "0.5.4")
def test_manifest_declares_tools(self):
tools = self.manifest["contracts"]["tools"]
@@ -133,7 +133,7 @@ class OpenClawPackageJsonTests(unittest.TestCase):
self.assertEqual(self.pkg["name"], "open-second-brain")
def test_package_json_has_version(self):
- self.assertEqual(self.pkg["version"], "0.5.3")
+ self.assertEqual(self.pkg["version"], "0.5.4")
def test_package_json_has_type_module(self):
self.assertEqual(self.pkg["type"], "module")