forked from bchanot/claude
docs: memory recall, known-error line and session digest
This commit is contained in:
1 parent
3261a919c2
commit
2a0d73da12
8 files changed
+84
-48
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "memory",
|
||||
"version": "0.1.0",
|
||||
"description": "Captures what fails in a session (failed Bash runs, commits, finished branches) and hands it to the memory registries, fail-open, with a per-machine off switch.",
|
||||
"description": "Captures what fails in a session (failed Bash runs, commits, finished branches) and hands it to the memory registries, recalls matching registry entries on design prompts and known errors, fail-open, with a per-machine off switch.",
|
||||
"author": {
|
||||
"name": "bchanot"
|
||||
}
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
// and the per-session state. Every hook reads the session id and root at
|
||||
// the point of use, never from a cache. A hook that fails passes the event
|
||||
// through unchanged: the mod may never break a tool call or a prompt.
|
||||
// It also recalls: registry entries on a qualifying prompt and a known-error
|
||||
// line on a Bash failure, both switchable with "recall": false.
|
||||
import type { EngineInterface, On, Register } from 'claude-code'
|
||||
|
||||
type Api = EngineInterface
|
||||
|
||||
Reference in new issue
Block a user