main has the recall source + hooks.json wiring (from #65) but never got
the built bundles, so UserPromptSubmit -> recall-hook.cjs errored with
MODULE_NOT_FOUND on every turn. This commits the build output:
- recall-hook.cjs, recall-approve.cjs (new) — the two missing bundles
hooks.json already references
- context-hook/summary-hook/add-memory/save-project-memory/search-memory/
status .cjs (refreshed) — were stale on main (built pre-#65), so they
reported version 0.0.7 while the source is 0.0.8; rebuilding aligns them
(also clears the false "update available" notice loop)
No package/version files changed — source is already at 0.0.8; this only
ships the bundles that build.js produces.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Resolve by rebuilding plugin/scripts/*.cjs so the artifacts carry BOTH
main's source changes (Windows auth fix, update-notice via version-check)
and this branch's recall hooks — the .cjs were otherwise stale against the
merged source. Apply biome auto-format to the inherited context-hook.js /
version-check.js so `biome ci` passes.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add a UserPromptSubmit hook that injects a directive telling Claude to
reason — per message — about whether recalling memory would help, and
only then search via the supermemory-search skill. A PreToolUse hook
auto-approves that search so it runs silently, like auto-capture, instead
of interrupting with a permission prompt.
Reasoned recall and auto-approve are built-in (no toggles): searching
only when it helps keeps more usage on the user's plan. The auto-approve
is scoped to the read-only search and refuses any command laced with
shell chaining/redirection. SUPERMEMORY_DEBUG surfaces a per-turn
[recall-decision] line for debugging. SessionStart profile load and the
Stop-hook save are unchanged.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>