Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/claude-code-plugin/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dist/
*.zip
hooks/bin/

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: after ignoring and deleting hooks/bin, the marketplace install path still pulls the plugin from the Git source tree (.claude-plugin/marketplace.json uses ./apps/claude-code-plugin). A Git or marketplace install will not include generated binaries, and hooks/run-hook.sh exits successfully when hooks/bin/powermem-hook-* is absent. The release zip path works because the packaging script builds binaries, but marketplace installs get inert hooks unless the binaries are shipped another way or the hook builds/locates them at install/runtime.

5 changes: 5 additions & 0 deletions apps/claude-code-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ This directory still contains the plugin itself (`.claude-plugin/`, `hooks/`,
claude --plugin-dir /path/to/powermem/apps/claude-code-plugin
```

Release plugin zips include prebuilt native hook binaries under `hooks/bin/`.
Source checkouts do not track those binaries; run `make build-claude-hook` from
the repository root, or `bash apps/claude-code-plugin/scripts/package-plugin.sh`
to build them before loading the source directory directly.

## Marketplace install

Once the PowerMem marketplace entry is available, install the Claude Code plugin
Expand Down
9 changes: 6 additions & 3 deletions apps/claude-code-plugin/SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -682,14 +682,17 @@ make build-claude-hook

#### [E005] Storage Backend Initialization
**Problem**: 503 errors on API calls despite server health
**Fix**: the Claude Code plugin defaults to embedded OceanBase/seekdb. Stop the
managed server, remove stale seekdb data only if you accept deleting local memories, and
**Fix**: the Claude Code plugin defaults to local SQLite. Stop the managed
server, remove stale SQLite data only if you accept deleting local memories, and
restart init:
```bash
sh "$CLAUDE_PLUGIN_ROOT/scripts/stop.sh"
rm -rf "$HOME/.powermem/seekdb_data"
rm -f "$HOME/.powermem/powermem.db" "$HOME/.powermem/powermem.db-"*
sh "$CLAUDE_PLUGIN_ROOT/scripts/init.sh"
```
If you explicitly set `POWERMEM_INIT_DATABASE_PROVIDER=oceanbase`, use the
OceanBase/seekdb troubleshooting path instead and remove `seekdb_data` only when
data loss is acceptable.

#### [E006] Model Download Timeout
**Problem**: Server hangs or reports "timed out thrown while requesting HEAD" on startup.
Expand Down
Loading
Loading