Repository navigation
0.3.1 — Opt-in memory sidecar (stop the <mem> leak)
Patch release on top of 0.3.0. One behavior change, no migrations.
Fixed
-
The
## Memory Sidecarprompt block is now opt-in (sidecar.enabled,
defaultfalse). That block asks the agent to append a<mem>{...}</mem>
line at the end of every turn. On backends whose reply delivery bypasses
OpenClaw'smessage_sendinghook — notably the claude-cli backend — the
block is not stripped and leaked verbatim into user-facing replies
(Telegram/Discord), with no way to remove it downstream. Until now it was
emitted unconditionally on every install. It is now gated behind the
(previously inert)sidecar.enabledflag and defaults OFF, so no deployment
leaks<mem>out of the box.Memory capture is unaffected when the sidecar is off:
memory_storeand the
transcript watcher still ingest every turn — the sidecar was only the
cheapest of several capture paths. Re-enable it with
sidecar: { enabled: true }in yourmemory-postgresplugin config once
you've confirmed your backend strips the block before the user sees it. The
flag is read once at plugin register time, so aopenclaw gateway restart
picks up a change. -
Bumped
package-lock.jsonto match (0.3.0 shipped with a stale0.2.1
version stamp in the lockfile).
Install (curl-installed OpenClaw):
openclaw plugins install git:github.com/NextAgentBC/nextclaw@v0.3.1