-
-
Notifications
You must be signed in to change notification settings - Fork 52.9k
Closed as not planned
Labels
bugSomething isn't workingSomething isn't working
Description
[Bug] Bundled hooks missing handler.ts in dist/
Bug Description
Bundled hooks in dist/hooks/bundled/ are missing handler.ts files, only containing HOOK.md.
Steps to Reproduce
- Run
openclaw hooks list - Output:
No hooks found. - Check bundle directory:
ls -la /opt/homebrew/lib/node_modules/openclaw/dist/hooks/bundled/session-memory/ # Shows only HOOK.md, no handler.ts
Expected Behavior
Bundled hooks (session-memory, command-logger, boot-md, soul-evil) should be discovered and listed.
Environment
- macOS (Darwin 25.2.0 arm64)
- OpenClaw installed via npm
- Version: Feb 5 2026 (recent update)
Root Cause
The dist/hooks/bundled/ directory contains HOOK.md files but the compiled handler.ts JavaScript files are missing from the npm package.
The source files may also not be included in the repository:
ls -la /opt/homebrew/lib/node_modules/openclaw/src/hooks/bundled/session-memory/
# src dir not found
Config
Hooks are enabled in config:
{
"hooks": {
"internal": {
"enabled": true,
"entries": {
"session-memory": { "enabled": true },
"boot-md": { "enabled": true },
"command-logger": { "enabled": true }
}
}
}
}Workaround
Users must manually read workspace memory files (SOUL.md, USER.md, MEMORY.md, memory/YYYY-MM-DD.md) at the start of each session.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working