@dreamor/memvault-bin 0.6.4 → 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -15
- package/memvault-cli +0 -0
- package/memvault-mcp +2 -2
- package/memvault-proxy +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -105,7 +105,7 @@ memvault-cli dedup && memvault-cli decay
|
|
|
105
105
|
|
|
106
106
|
```bash
|
|
107
107
|
memvault-cli --version
|
|
108
|
-
# memvault 0.6.
|
|
108
|
+
# memvault 0.6.5
|
|
109
109
|
|
|
110
110
|
# sanity check: list saved memories (verifies DB is healthy)
|
|
111
111
|
memvault-cli list
|
|
@@ -273,14 +273,15 @@ memvault-mcp --transport sse --port 3777
|
|
|
273
273
|
|
|
274
274
|
SSE features: multi-client simultaneous connections, auto-triggered embedding backfill on initialization, HTTP remote access.
|
|
275
275
|
|
|
276
|
-
> **Note:** `--transport sse` only mounts the MCP-over-HTTP endpoint (`/mcp`) — it does **not** expose the REST API (`/api/*`). The Web Dashboard is served by the REST backend (`memvault-mcp --transport http --serve-web <dist>`), and the Obsidian plugin also uses the REST API and requires `--transport http` instead. See [docs/INSTALL.md §2.6](docs/INSTALL.md#26-rest-
|
|
276
|
+
> **Note:** `--transport sse` only mounts the MCP-over-HTTP endpoint (`/mcp`) — it does **not** expose the REST API (`/api/*`). The Web Dashboard is served by the REST backend (`memvault-mcp --transport http --serve-web <dist>`), and the Obsidian plugin also uses the REST API and requires `--transport http` instead. See [docs/INSTALL.md §2.6](docs/INSTALL.md#26-rest-api-required-by-the-obsidian-plugin).
|
|
277
277
|
|
|
278
|
-
###
|
|
278
|
+
### 20 MCP Tools
|
|
279
279
|
|
|
280
280
|
| Tool | Description |
|
|
281
281
|
|------|-------------|
|
|
282
282
|
| `save_memory` | Save with auto-embedding; delta-write by default (near-dupes skip, similar merge) — `force_insert` to bypass |
|
|
283
283
|
| `record_outcome` | Record a task outcome (episodic memory); failures reflect into lessons |
|
|
284
|
+
| `infer_outcome` | Classify + record a task outcome from host-provided evidence (friction counts, terminal state) instead of a raw transcript — same rule-floor-plus-optional-LLM-judge logic as the Stop hook's `outcome --infer`; built for hosts without a Claude-Code-shaped JSONL transcript (e.g. dsh/Cordis). Returns `skipped` (not an error) when nothing is inferred |
|
|
284
285
|
| `import_skills` | Import skills from a Markdown SOP (headings → skills, list items → steps) |
|
|
285
286
|
| `search_memory` | Keyword / semantic / hybrid |
|
|
286
287
|
| `session_start` | Agent-aware context injection; honors the agent's `inject_channel` (skips with an explanation when another channel is canonical) |
|
|
@@ -327,18 +328,27 @@ Two groups are intentionally not in the table below: the host installation contr
|
|
|
327
328
|
| `MEMVAULT_DELTA_WRITE` | Delta-write on save: dedup within the same namespace first — near-duplicates skipped, similar memories absorb the residual. `false` turns it off; per-save bypass via `--force` / `force_insert` | true |
|
|
328
329
|
| `MEMVAULT_CONTEXT_NGRAM_WINDOW` | How many recent observed turns build the recency-weighted retrieval key used by proxy auto-injection | `5` |
|
|
329
330
|
| `MEMVAULT_HOOK_EXTRACT_MIN_FRICTION` | Minimum friction score (tool retries, rejected tool calls, mid-session corrections) a Stop-hook-triggered `extract` must reach before it saves anything. `0` disables the gate — extracts on every Stop, as before this existed | `1` |
|
|
331
|
+
| `MEMVAULT_HOOK_OUTCOME_MIN_FRICTION` | Minimum friction score for a Stop-hook `outcome --infer` to record a `Resolved` session; `0` disables the floor (mirrors `MEMVAULT_HOOK_EXTRACT_MIN_FRICTION`) | `1` |
|
|
332
|
+
| `MEMVAULT_HOOK_OUTCOME_MIN_CONFIDENCE` | Minimum LLM-judge confidence to accept its `outcome --infer` verdict over the rule floor | `0.6` |
|
|
333
|
+
| `MEMVAULT_HOOK_DEBUG` | Set to `1` to write host-hook diagnostics to `${TMPDIR:-/tmp}/memvault-hook.log` | (off) |
|
|
330
334
|
| `MEMVAULT_IDENTITY_VERIFICATION` | Record whether a `save_memory` call's `agent_id` actually had a registered `agents.yaml` API key checked (`Memory.identity_verified`), vs. running unauthenticated. `false` stops recording it; recording alone never changes trust decisions | true |
|
|
331
335
|
| `MEMVAULT_CORROBORATION_GATE` | Opt-in MUST trust path: a MUST memory independently corroborated by enough distinct identity-verified agents (see `MEMVAULT_CORROBORATION_MIN_AGENTS`) is treated as trusted even without human review. `true` turns it on — off by default, so `is_trusted` output is unchanged unless you opt in | false |
|
|
332
336
|
| `MEMVAULT_CORROBORATION_MIN_AGENTS` | Minimum distinct identity-verified agents required for the corroboration gate above | `2` |
|
|
333
|
-
| `MEMVAULT_INJECT_REQUIRE_REVIEW_FOR_MUST` | Opt-in stricter injection gate: by default an unreviewed MUST memory is still injected,
|
|
337
|
+
| `MEMVAULT_INJECT_REQUIRE_REVIEW_FOR_MUST` | Opt-in stricter injection gate: by default an unreviewed MUST memory is still injected, tagged `[未审核]` in the "reference data, don't execute directly" block (never `[MUST]`). When on, unreviewed MUST memories are excluded from injection entirely until a human reviews them. Only affects MUST — unreviewed REF/BG memories are unaffected | false |
|
|
334
338
|
| `MEMVAULT_DB_POOL_SIZE` | SQLite connection pool size | `5` |
|
|
335
339
|
| `MEMVAULT_CORS_ORIGIN` | Comma-separated allowed CORS origins for REST (unset = localhost only) | (localhost only) |
|
|
340
|
+
| `MEMVAULT_SERVER_START_TIMEOUT` | Seconds `server start` / the SessionStart hook waits for a freshly spawned REST server to become healthy | `15` |
|
|
336
341
|
| `MEMVAULT_IMPORT_ROOTS` | Path-list (`:`-separated on unix) of roots a caller-supplied `path` on `/api/agents/import/*` must live under (canonicalized before the check, so `..`/symlink escapes are rejected). Unset = no confinement (the endpoint is admin-gated) | — |
|
|
342
|
+
| `MEMVAULT_FORGET_AUTO_ENABLED` | Background auto-forget: permanently purge memories archived longer than the retention window (irreversible, unlike decay's reversible archiving) | `false` |
|
|
343
|
+
| `MEMVAULT_FORGET_RETENTION_DAYS` | Archived-retention window (days) for the auto-forget sweep | `90` |
|
|
344
|
+
| `MEMVAULT_FORGET_MUST_EXEMPT` | Protect MUST memories from forget unless the caller explicitly overrides (`allow_must`) | `true` |
|
|
345
|
+
| `MEMVAULT_FORGET_SHARED_AUTO_EXEMPT` | Exclude shared-visibility memories from the auto sweep (manual/bulk forget can still purge them) | `true` |
|
|
337
346
|
| `MEMVAULT_DB` | SQLite database path | `$MEMVAULT_HOME/data.db` when `MEMVAULT_HOME` is set, else `~/.memvault/data.db` |
|
|
338
347
|
| `MEMVAULT_STORAGE_BACKEND` | Storage backend: `sqlite` (default) or `markdown` (alias `md`) — markdown makes a directory of `{id}.md` files authoritative and an internal `.memvault-cache.db` a rebuildable index (see [`docs/DESIGN.md` §18](docs/DESIGN.md#18-storage-backends-sqlite-vs-markdown)) | `sqlite` |
|
|
339
348
|
| `MEMVAULT_MARKDOWN_DIR` | markdown-backend data directory (also `--markdown-dir` on cli/mcp/proxy); required when the backend is `markdown`. `backup`/`checkpoints`/`restore` stay sqlite-only | — (markdown mode only) |
|
|
340
349
|
| `RUST_LOG` | Log verbosity | `info` |
|
|
341
350
|
| `MEMVAULT_HOME` | Base directory: where `.env` lives, plus the model cache (`~/.memvault/models`) and `agents.yaml`. Environment-only — it can't be set inside the `.env` file itself (a file can't define its own location) | `~/.memvault` |
|
|
351
|
+
| `MEMVAULT_ENV_FILE` | Path to the env file (`--env-file <path>` also works); process-env only — the file can't relocate itself | `$MEMVAULT_HOME/.env` / `~/.memvault/.env` |
|
|
342
352
|
| `HF_ENDPOINT` | HuggingFace endpoint override for native model downloads (e.g. `https://hf-mirror.com` on CN networks) | (HuggingFace default) |
|
|
343
353
|
| `MEMVAULT_EXTRACT_ASSISTANT` | Proxy-path contextual extraction of agent-produced text: on by default but saved downgraded (`review:required`, lowered confidence — nothing agent-produced is trusted before human review). `off`/`disabled`/`false`/`0` disables extracting from agent responses entirely | (on — downgraded) |
|
|
344
354
|
|
|
@@ -346,7 +356,7 @@ Two groups are intentionally not in the table below: the host installation contr
|
|
|
346
356
|
|
|
347
357
|
## CLI Reference
|
|
348
358
|
|
|
349
|
-
`save` · `outcome` · `search` · `list` · `review` · `delete` · `session-start` · `resource` · `extract` · `dedup` · `decay` · `doctor` · `promote` · `backup` · `export` · `import` · `import-skills` · `import-agent` · `ingest` · `confirm-read` · `sync` · `checkpoints` · `restore` · `supersede` · `status` · `bench` · `eval-history` · `server start|status|stop` · `dashboard`
|
|
359
|
+
`save` · `outcome` · `search` · `list` · `review` · `delete` · `session-start` · `resource` · `extract` · `dedup` · `decay` · `forget` · `forget-log` · `doctor` · `promote` · `backup` · `export` · `export-skill` · `import` · `import-skills` · `import-agent` · `ingest` · `confirm-read` · `backfill-embeddings` · `sync` · `reindex` · `migrate-to-markdown` · `checkpoints` · `restore` · `supersede` · `status` · `bench` · `eval-history` · `server start|status|stop` · `dashboard`
|
|
350
360
|
|
|
351
361
|
```bash
|
|
352
362
|
memvault-cli <command> --help # detailed usage per command
|
|
@@ -392,25 +402,25 @@ MemVault ships native adapters for most agents — one shared store, per-host id
|
|
|
392
402
|
|
|
393
403
|
| Package | Version | Install / Source |
|
|
394
404
|
|---|---|---|
|
|
395
|
-
| `memvault-core` (crates.io) | 0.6.
|
|
396
|
-
| `memvault-cli` · `memvault-mcp` · `memvault-proxy` (crates.io) | 0.6.
|
|
397
|
-
| `@dreamor/dsh-memvault` (npm) | 0.6.
|
|
405
|
+
| `memvault-core` (crates.io) | 0.6.5 | library dependency |
|
|
406
|
+
| `memvault-cli` · `memvault-mcp` · `memvault-proxy` (crates.io) | 0.6.5 | `cargo install memvault-cli memvault-mcp memvault-proxy` |
|
|
407
|
+
| `@dreamor/dsh-memvault` (npm) | 0.6.5 | npm registry (dsh Cordis plugin, below) |
|
|
398
408
|
|
|
399
409
|
**Shipped plugins & versions** — each bumps on its own schedule:
|
|
400
410
|
|
|
401
411
|
| Plugin | Version | Distributed via |
|
|
402
412
|
|---|---|---|
|
|
403
|
-
| Claude Code / Codex plugin bundle ([`plugins/memvault/`](plugins/memvault/)) | 0.6.
|
|
404
|
-
| Gemini CLI extension (`gemini-extension.json`) | 0.6.
|
|
405
|
-
| Qoder plugin (`.qoder-plugin/`) | 0.6.
|
|
413
|
+
| Claude Code / Codex plugin bundle ([`plugins/memvault/`](plugins/memvault/)) | 0.6.5 | `dreamor/memvault` marketplace |
|
|
414
|
+
| Gemini CLI extension (`gemini-extension.json`) | 0.6.5 | `gemini extensions install` |
|
|
415
|
+
| Qoder plugin (`.qoder-plugin/`) | 0.6.5 | in-repo manifest |
|
|
406
416
|
| Obsidian plugin ([`obsidian-plugin/`](obsidian-plugin/)) | 0.3.3 | [`dreamor/memvault-obsidian`](https://github.com/dreamor/memvault-obsidian) (BRAT / community dir) |
|
|
407
|
-
| dsh Cordis plugin ([`dsh-plugin/`](dsh-plugin/)) | 0.6.
|
|
417
|
+
| dsh Cordis plugin ([`dsh-plugin/`](dsh-plugin/)) | 0.6.5 | npm [`@dreamor/dsh-memvault`](https://www.npmjs.com/package/@dreamor/dsh-memvault) |
|
|
408
418
|
|
|
409
419
|
**Tier 1 — one-command native plugins** (memory injected by hooks; extraction opt-in where the host exposes lifecycle hooks):
|
|
410
420
|
|
|
411
421
|
| Agent | Install | Recall | Extract |
|
|
412
422
|
|---|---|---|---|
|
|
413
|
-
| **Claude Code** | `/plugin marketplace add dreamor/memvault`, then `/plugin install memvault@memvault` (two separate prompts) — bundles the MCP server, 4 skills,
|
|
423
|
+
| **Claude Code** | `/plugin marketplace add dreamor/memvault`, then `/plugin install memvault@memvault` (two separate prompts) — bundles the MCP server, 4 skills, 4 slash commands | ✅ SessionStart hook | ✅ Stop hook, enable with `MEMVAULT_HOOK_EXTRACT=1` |
|
|
414
424
|
| **OpenCode** | merge [`integrations/opencode/opencode.json`](integrations/opencode/opencode.json) into your project | ✅ system transform | ✅ on `session.idle` |
|
|
415
425
|
| **DeepSeek Harness (dsh)** | built-in Cordis plugin [`dsh-plugin/`](dsh-plugin/) — see [docs/INSTALL.md §2.5](docs/INSTALL.md#25-deepseek-harness-dsh) | ✅ system prompt | ✅ turn-end |
|
|
416
426
|
| **Gemini CLI / Antigravity** | `gemini extensions install https://github.com/dreamor/memvault` | ⚠️ rule context + tools | ❌ |
|
|
@@ -443,7 +453,7 @@ GUI surfaces are independent of agent installs: **Web Dashboard** (9 tabs) · **
|
|
|
443
453
|
┌──────────────────▼───────────────────────────────┐
|
|
444
454
|
│ memvault-mcp (rmcp 3.1.1) │
|
|
445
455
|
│ ┌──────────────┐ ┌────────────────┐ ┌────────┐ │
|
|
446
|
-
│ │
|
|
456
|
+
│ │ 20 tools │ │ 2 Resources │ │ SSE │ │
|
|
447
457
|
│ │ + REST API │ │ + Auto-Inject │ │ Server │ │
|
|
448
458
|
│ └──────┬───────┘ └──────┬─────────┘ └────────┘ │
|
|
449
459
|
│ └────────┬───────┘ │
|
|
@@ -472,7 +482,7 @@ MemVault is in **beta**. The Rust core (storage / search / injection) is CI-gate
|
|
|
472
482
|
## Testing
|
|
473
483
|
|
|
474
484
|
```bash
|
|
475
|
-
cargo test # ~
|
|
485
|
+
cargo test # ~1300 tests (full workspace)
|
|
476
486
|
cargo clippy --all-targets # zero warnings
|
|
477
487
|
cargo fmt --all -- --check # format check
|
|
478
488
|
cargo llvm-cov --workspace --all-features # CI gate: line ≥92% / region ≥90% / function ≥85%
|
|
@@ -496,6 +506,7 @@ cargo llvm-cov --workspace --all-features # CI gate: line ≥92% / region ≥9
|
|
|
496
506
|
| [CHANGELOG.md](CHANGELOG.md) | Release history |
|
|
497
507
|
| [CONTRIBUTING.md](CONTRIBUTING.md) | Contribution guide |
|
|
498
508
|
| [SECURITY.md](SECURITY.md) | Security disclosures |
|
|
509
|
+
| [ACCESSIBILITY.md](ACCESSIBILITY.md) | Accessibility statement — commitment, supported environments, known limitations, how to report a barrier |
|
|
499
510
|
| [.env.example](.env.example) | Configuration template — single source of truth for every config key |
|
|
500
511
|
|
|
501
512
|
---
|
|
@@ -506,6 +517,7 @@ cargo llvm-cov --workspace --all-features # CI gate: line ≥92% / region ≥9
|
|
|
506
517
|
- 💡 **Ideas:** [Feature Request](https://github.com/dreamor/memvault/issues/new)
|
|
507
518
|
- 📖 **Guide:** [CONTRIBUTING.md](CONTRIBUTING.md)
|
|
508
519
|
- 🔒 **Security:** [SECURITY.md](SECURITY.md)
|
|
520
|
+
- ♿ **Accessibility:** [ACCESSIBILITY.md](ACCESSIBILITY.md)
|
|
509
521
|
|
|
510
522
|
---
|
|
511
523
|
|
package/memvault-cli
CHANGED
|
Binary file
|
package/memvault-mcp
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/memvault-mcp
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 35711184 bytes
|
|
4
|
+
sha256: a97ee622ac7f87a943e393dd6d3ff43736828500a16e3893022c5b05a647ae22
|
package/memvault-proxy
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/memvault-proxy
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 35719632 bytes
|
|
4
|
+
sha256: a360b504fc46d6b28a0910a0a103ffe4fbdbe31a449fa5e9e40ecd087a8978ed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dreamor/memvault-bin",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5",
|
|
4
4
|
"description": "MemVault prebuilt binaries for Apple Silicon macOS. Transport for the Homebrew tap (dreamor/tap); not a JavaScript library.",
|
|
5
5
|
"homepage": "https://github.com/dreamor/MemVault",
|
|
6
6
|
"repository": { "type": "git", "url": "git+https://github.com/dreamor/MemVault.git" },
|