Commit Graph

9 Commits

Author SHA1 Message Date
Dhravya Shah e9f018c6b6 checkpoint: visibility fixes in src + new CLI-free hooks architecture (pre-restructure)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-18 17:19:14 -07:00
Sreeram Sreedhar 2556183965 feat: reasoned per-turn memory recall with auto-approve
Re-introduces the reasoned recall feature (previously reverted in #64),
source files only — generated plugin/scripts/*.cjs are intentionally not
included and must be produced by the build step.

- recall-hook (UserPromptSubmit): injects a per-turn directive so Claude
  decides whether recalling saved memory helps the current message.
- recall-approve (PreToolUse): auto-approves only the supermemory-search
  tool call (narrow allow-list, rejects shell-laced commands).
- settings: recallDirective override + getRecallConfig.
- build/hooks wiring and version bump to 0.0.8.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 23:13:17 -07:00
Vedant Mahajan ba4595dacb Revert "feat: reasoned per-turn memory recall with auto-approve" 2026-06-16 11:32:10 +05:30
Sreeram Sreedhar 0493e6ee47 feat: reasoned per-turn memory recall with auto-approve
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>
2026-06-06 14:30:40 -07:00
Dhravya Shah f5f77c5e65 Merge branch 'main' into fix/windows-hook-path-spaces 2026-02-05 16:05:06 -07:00
Prasanna721 f8906e6f98 v2: Claude Code Supermemory Refreshed
Refresh plugin architecture with Supermemory

 - Add project-level configuration system (.claude/.supermemory-claude/config.json) for per-repo API keys and container tags
  - Add /project-config command to manage project settings
  - Add /super-save skill for saving project knowledge (architectural decisions, bug fixes, design patterns)
  - Add repo container tag support for team-shared memories (separate from personal memories)
  - Rename prompt-hook to save-project-memory with dedicated repo-level memory saving
  - Remove observation hook (consolidate into other hooks)
  - Enhance context hook, search memory, and summary hook scripts
  - Update supermemory client with repo entity context support
  - Remove MCP config file
2026-02-04 19:14:37 -08:00
yash f6b6a7741c fix(windows): quote hook command paths to support spaces 2026-02-02 00:49:54 +05:30
Prasanna721 2dd97f3e32 Zero-dependency bundled plugin with session-based memory
1. Bundled Scripts — Used esbuild to bundle all dependencies into self-contained .cjs files. Users don't need npm install.
  2. Session-Based Memory — One document per session using sessionId as customId. All hooks append to same document.
  3. Fixed Double Shebang — Source files had shebang + esbuild added another. Removed from source, esbuild adds via banner.
  4. Code Cleanup — Removed unnecessary comments and spacing. Clean source in src/, built output in plugin/scripts/.
  5. Simplified README — Removed MCP, architecture, comparisons. Kept installation and config only.
2026-01-22 21:26:56 -08:00
Prasanna721 89b95c3299 initial commit 2026-01-21 19:53:41 -08:00