All notable changes to @honcho-ai/openclaw-honcho will be documented in this file.
- Memory passthrough no longer crashes when
memory-coreis disabled (#37, #41): Added a guard inmemory-passthrough.tsthat checks for the existence ofcreateMemorySearchTool/createMemoryGetToolbefore calling them. Whenmemory-coreis disabled, accessing these methods threw aTypeErroron every tool resolution cycle. The guard returnsnull, which OpenClaw handles gracefully. - ClawHub plugin API version compatibility:
pluginApirange updated from>=1.0.0to>=2026.3.22to match OpenClaw's unified versioning scheme. The old value worked by accident (2026 > 1 in semver comparison) but was semantically meaningless. See OpenClaw #53157 for the upstream change that eliminated the separate plugin API version constant. disableDefaultNoisePatternsmissing from plugin manifest (#38): The config option was documented in the README but missing fromopenclaw.plugin.json'sconfigSchemaanduiHints, causing OpenClaw config validation to reject it.
honcho setuppreserves config on re-run (#30): Previously, re-running setup would wipe existing API key, base URL, and workspace ID if the user pressed Enter without typing. Now shows masked existing values and skips prompts unless--reconfigureis passed.- Rate limit safety during setup: Added 1.5s cooldown after initial API calls and 250ms delay between file uploads to stay under Honcho's 5 req/sec limit.
- Per-file upload error handling: File uploads now show progress indicators and a summary, with individual error handling instead of failing the entire batch.
- Tool consolidation and renames:
honcho_recallandhoncho_analyzemerged intohoncho_ask(withdepth='quick'|'thorough').honcho_profilemerged intohoncho_context(withdetail='card'|'full').honcho_searchrenamed tohoncho_search_conclusions. Update any agent prompts or workspace docs that reference the old tool names.
honcho_search_messagestool: Workspace-level message search with hybrid semantic + full-text matching. Filter by sender (from: "user"|"agent"|"all"), date range, and metadata. Usespeer.search()for sender filtering — in multi-agent setups,from: "agent"resolves to the calling agent's peer.honcho_asktool (replaceshoncho_recall+honcho_analyze): Ask Honcho a question and get a direct answer.depth='quick'for factual lookups,'thorough'for synthesis.honcho_contexttool (replaceshoncho_profile): User knowledge across all sessions.detail='card'for key facts,'full'for broad representation.- Configurable noise filtering: New
noisePatternsconfig option to add custom message filters. Patterns support exact match, prefix match, and regex (e.g./^HEARTBEAT/i). Custom patterns merge with built-in defaults. SetdisableDefaultNoisePatterns: trueto use only your own patterns. ownerObserveOthersconfig option: Controls whether the owner peer observes agent messages in Honcho's social model. Defaults tofalse. Set totruefor perspective-aware memory where the user's representation reflects the full conversational context.- Pre-compaction and pre-reset message flush: Messages are now saved to Honcho before session compaction or
/new//reset, preventing data loss. - Timestamp stripping: Leading OpenClaw-injected timestamps are stripped from messages before saving to Honcho.
- Memory prompt section builder: Tool selection guidance is now injected via
registerMemoryPromptSectioninstead of bloating individual tool descriptions (~2,200 token reduction per LLM call).
honcho_sessionuses runtime session key: Previously hardcoded to"default", now derives the session key frombuildSessionKey(toolCtx)to match the capture hook. Fixes session lookup in multi-session setups.- Tool descriptions trimmed: All tool descriptions reduced from 200-400 words to 1-2 sentences.
additionalProperties: falseadded to all schemas. Structureddetailsreturned from all tools. - Synced with OpenClaw plugin SDK updates:
definePluginEntry,appendSystemContext, compaction/reset hooks. - Plugin load logging: "Honcho memory plugin loaded" now logs once per process instead of per workspace registration, reducing log noise in multi-agent setups.
- Parent observer peer in subagent sessions: The spawning agent's peer is now added as a silent observer (
observeMe: false, observeOthers: true) in subagent Honcho sessions, giving the parent agent visibility into subagent activity. - Timestamp-preserving message capture: Messages captured while the plugin is active retain their original timestamps in Honcho.
- Context hook moved to
before_prompt_build: Replaced thebefore_agent_starthook withbefore_prompt_buildto accurately capture the turn-start message index before the prompt is assembled. - Session metadata updated for subagents: Subagent session metadata now records
parentPeerId(replacing the oldparentAgentKeyfield).
- Subagent parent peer resolution via
subagent_spawnedhook: Parent peer is now reliably resolved for all spawn paths.before_agent_startbuilds an authoritativesessionKey→agentIdmap;subagent_spawneduses it to store the child→parent agent ID in a module-levelsubagentParentMap, replacing fragile session-key string parsing. - Absolute message watermarking for capture dedupe:
lastSavedIndexis now treated as an absolute index inevent.messages(instead of a turn-local offset), preventing stale-offset drops on turn 2+ while still respectingturnStartIndexon first run. - Inbound metadata stripping aligned with OpenClaw:
cleanMessageContentnow strips OpenClaw platform metadata blocks (Conversation info, Sender, Thread starter, Replied message, Forwarded message, Chat history, and Untrusted context headers) before saving to Honcho, matchingstrip-inbound-meta.tsbehavior. - File upload throttling in
honcho setup: Added a 250 ms delay between file uploads to stay under Honcho's 5 req/sec rate limit.
- Multi-agent peer system: Each OpenClaw agent now gets its own Honcho peer (
agent-{id}) instead of sharing a single"openclaw"peer. Peer mappings are stored in workspace metadata with auto-scan recovery for agent renames. - Subagent support: Sub-agent sessions are detected via session key format and receive user context from the owner peer via
agentPeer.context({ target: ownerPeer }). honcho setupCLI command: Interactive wizard for first-time configuration — prompts for API key, base URL, and workspace ID, scans for existing memory files, and uploads them to Honcho.--agentflag onhoncho ask: Query Honcho as a specific agent peer (e.g.,openclaw honcho ask --agent beta "What do you know?").sessionKeyparameter inhoncho_sessiontool schema: Previously the tool accepted but never declared this parameter in its TypeBox schema.
- Modular file structure: Monolithic
index.tssplit intostate.ts,helpers.ts,hooks/,tools/, andcommands/modules. No circular dependencies. - Tool registration uses factory pattern:
honcho_recall,honcho_analyze, andhoncho_sessionnow receivetoolCtxto resolve the correct per-agent peer. - Session metadata enriched: Sessions now carry
agentId(andisSubagent/parentAgentKeyfor sub-agent sessions) in their metadata. honcho statusoutput: Now shows the default agent, its peer mapping, and all mapped agent peers.
- Workspace metadata no longer erased on init:
ensureInitialized()previously calledsetMetadata({})unconditionally on every request, wiping any existing workspace metadata. Now reads existing metadata and preserves it. honcho setuppreserves existing workspace metadata: Uses read-merge-write instead of overwriting with{}on re-runs.- Message content cleaning scoped to self-references only:
cleanMessageContentnow only strips Honcho's own injected blocks (<honcho-memory>tags and honcho HTML comments) to prevent feedback loops. Platform headers, message IDs, and other metadata are preserved as useful provenance data.
honcho_setupClawHub skill: Interactive skill for guided plugin installation and workspace migration from within an agent session.
- Simplified
install.js: Migration logic moved out of the postinstall script into the setup skill. The install script now prints guidance directing users to run setup manually.
- QMD (Query-Model-Document) integration: Added QMD support for structured document querying within Honcho sessions.
- LICENSE: Added MIT license file.
- Community links and documentation: Expanded README with community resources.
- Removed check for source docs that blocked installation when workspace files were missing.
- Package renamed to
@honcho-ai/openclaw-honchofor npm compatibility. - Package compatibility fixes for OpenClaw standard plugin format.
- Build errors resolved for clean
pnpm build.
- Initial release of the Honcho memory plugin for OpenClaw.
- Core hooks:
gateway_start(client init),before_agent_start(context injection),agent_end(message capture). - Tools:
honcho_session(session history),honcho_profile(user profile),honcho_search(semantic search),honcho_context(session context),honcho_recall(dialectic recall),honcho_analyze(conversation analysis). - CLI commands:
honcho status,honcho ask,honcho search. - Memory passthrough: Bridges OpenClaw's built-in memory events to Honcho sessions.
- Install script: Automated workspace migration with file archiving to
archive/directory. - Watermark-based incremental message sync to avoid duplicates.
- Owner/agent peer model with configurable observation permissions.