Merge branch 'main' into docs/vitepress-site
This commit is contained in:
@@ -128,6 +128,15 @@ mempalace repair
|
||||
|
||||
Creates a backup at `<palace_path>.backup` before rebuilding.
|
||||
|
||||
## `mempalace mcp`
|
||||
|
||||
Helper command that outputs setup syntax (like `claude mcp add...`) to connect MemPalace to your AI client, automatically handling paths.
|
||||
|
||||
```bash
|
||||
mempalace mcp
|
||||
mempalace mcp --palace ~/.custom-palace
|
||||
```
|
||||
|
||||
## `mempalace hook`
|
||||
|
||||
Run hook logic for Claude Code / Codex integration.
|
||||
|
||||
@@ -68,7 +68,7 @@ Check if content already exists in the palace before filing.
|
||||
| Parameter | Type | Required | Description |
|
||||
|-----------|------|----------|-------------|
|
||||
| `content` | string | **Yes** | Content to check |
|
||||
| `threshold` | number | No | Similarity threshold 0–1 (default: 0.9) |
|
||||
| `threshold` | number | No | Similarity threshold 0–1 (default: 0.85–0.87) |
|
||||
|
||||
**Returns:** `{ is_duplicate, matches: [{ id, wing, room, similarity, content }] }`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user