9dd8b180ac
Changed all hook entry points to use dynamic imports after bootstrap runs. This ensures that better-sqlite3 is installed before Node.js attempts to resolve the import.
Changes:
- Modified src/bin/hooks/*.ts to call ensureDependencies() before dynamic import
- Moved from static `import { hook } from '...'` to `const { hook } = await import('...')`
- This delays module resolution until after npm install completes
- Bumped version to 4.0.6
The previous approach failed because static imports are resolved at module link time, before any runtime code (including ensureDependencies) executes.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
425 B
JSON
19 lines
425 B
JSON
{
|
|
"name": "thedotmack",
|
|
"owner": {
|
|
"name": "Alex Newman"
|
|
},
|
|
"metadata": {
|
|
"description": "Plugins by Alex Newman (thedotmack)",
|
|
"homepage": "https://github.com/thedotmack/claude-mem"
|
|
},
|
|
"plugins": [
|
|
{
|
|
"name": "claude-mem",
|
|
"version": "4.0.6",
|
|
"source": "./plugin",
|
|
"description": "Persistent memory system for Claude Code - context compression across sessions"
|
|
}
|
|
]
|
|
}
|