@dreamor/memvault-bin 0.6.9 → 0.6.11

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  <div align="center">
2
2
 
3
- <img src="assets/memvault-logo.png" alt="MemVault — a round hamster mascot hugging its memory nut, honey gold and brown on cream" width="360" />
3
+ <img src="https://cdn.jsdelivr.net/gh/dreamor/memvault@master/assets/memvault-logo.png" alt="MemVault — a round hamster mascot hugging its memory nut, honey gold and brown on cream" width="360" />
4
4
 
5
5
  # MemVault
6
6
 
@@ -8,19 +8,19 @@
8
8
 
9
9
  > Not "agent learns to search memory" — memory finds the agent.
10
10
 
11
- **MCP Native &nbsp;·&nbsp; Hybrid Retrieval &nbsp;·&nbsp; Auto-Injection &nbsp;·&nbsp; Zero-Config Sync**
11
+ **MCP Native · Hybrid Retrieval · Auto-Injection · Zero-Config Sync**
12
12
 
13
- **Open Source &nbsp;·&nbsp; Self-Hosted &nbsp;·&nbsp; Private &nbsp;·&nbsp; MIT Licensed**
13
+ **Open Source · Self-Hosted · Private · MIT Licensed**
14
14
 
15
- [![Crates.io](https://img.shields.io/crates/v/memvault-cli.svg?style=flat-square)](https://crates.io/crates/memvault-cli) [![GitHub Release](https://img.shields.io/github/v/release/dreamor/memvault?style=flat-square)](https://github.com/dreamor/memvault/releases) [![CI](https://img.shields.io/github/actions/workflow/status/dreamor/memvault/ci.yml?style=flat-square&branch=master)](https://github.com/dreamor/memvault/actions) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](LICENSE) [![Rust](https://img.shields.io/badge/Rust-stable-orange.svg?style=flat-square)](https://www.rust-lang.org) [![MCP](https://img.shields.io/badge/MCP-compatible-blue.svg?style=flat-square)](https://modelcontextprotocol.io) [![Status](https://img.shields.io/badge/status-beta-yellow.svg?style=flat-square)](#project-status)
15
+ [![Crates.io](https://img.shields.io/crates/v/memvault-cli.svg?style=flat-square)](https://crates.io/crates/memvault-cli) [![GitHub Release](https://img.shields.io/github/v/release/dreamor/memvault?style=flat-square)](https://github.com/dreamor/memvault/releases) [![CI](https://img.shields.io/github/actions/workflow/status/dreamor/memvault/ci.yml?style=flat-square&branch=master)](https://github.com/dreamor/memvault/actions) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](LICENSE) [![Rust](https://img.shields.io/badge/Rust-stable-orange.svg?style=flat-square)](https://www.rust-lang.org) [![MCP](https://img.shields.io/badge/MCP-compatible-blue.svg?style=flat-square)](https://modelcontextprotocol.io) [![Glama](https://glama.ai/mcp/servers/dreamor/MemVault/badges/score.svg)](https://glama.ai/mcp/servers/dreamor/MemVault) [![Status](https://img.shields.io/badge/status-beta-yellow.svg?style=flat-square)](#project-status)
16
16
 
17
- **English** &nbsp;·&nbsp; [简体中文](README.zh-CN.md)
17
+ **English** · [简体中文](README.zh-CN.md)
18
18
 
19
19
  <div align="center">
20
20
 
21
21
  If MemVault solves a real problem for you, a star helps others find it.
22
22
 
23
- **[⭐ Star on GitHub](https://github.com/dreamor/memvault)** &nbsp;·&nbsp; **[Report Bug](https://github.com/dreamor/memvault/issues/new)**
23
+ **[⭐ Star on GitHub](https://github.com/dreamor/memvault)** · **[Report Bug](https://github.com/dreamor/memvault/issues/new)**
24
24
 
25
25
  </div>
26
26
 
@@ -45,7 +45,7 @@ MemVault is that layer. A lightweight, self-hosted memory router that sits betwe
45
45
  - **Platform teams** deploying AI-assisted workflows where consistency matters across a mixed agent fleet: code review conventions, architecture decisions, project-specific preferences
46
46
  - **Anyone tired of telling their AI the same thing twice** — MemVault works the way your brain should: you say it once, it's there when you need it, no matter which agent is asking
47
47
 
48
- **[Quick Start](#quick-start)** &nbsp;·&nbsp; **[How It Works](#how-it-works)** &nbsp;·&nbsp; **[What MemVault Gives You](#what-memvault-gives-you)** &nbsp;·&nbsp; **[Why MemVault](#why-memvault)** &nbsp;·&nbsp; **[MCP Server](#mcp-server)** &nbsp;·&nbsp; **[CLI Reference](#cli-reference)** &nbsp;·&nbsp; **[Integrations](#integrations)** &nbsp;·&nbsp; **[Architecture](#architecture)** &nbsp;·&nbsp; **[Project Status](#project-status)** &nbsp;·&nbsp; **[Testing](#testing)** &nbsp;·&nbsp; **[Documentation](#documentation)** &nbsp;·&nbsp; **[Contributing](#contributing)** &nbsp;·&nbsp; **[License](#license)**
48
+ **[Quick Start](#quick-start)** · **[How It Works](#how-it-works)** · **[What MemVault Gives You](#what-memvault-gives-you)** · **[Why MemVault](#why-memvault)** · **[MCP Server](#mcp-server)** · **[CLI Reference](#cli-reference)** · **[Integrations](#integrations)** · **[Architecture](#architecture)** · **[Project Status](#project-status)** · **[Testing](#testing)** · **[Documentation](#documentation)** · **[Contributing](#contributing)** · **[License](#license)**
49
49
 
50
50
  ---
51
51
 
@@ -98,14 +98,14 @@ memvault-cli dedup && memvault-cli decay
98
98
  ```
99
99
 
100
100
  > **System requirements:**
101
- > - **Prebuilt Linux binaries** (install script / GitHub release): glibc ≥ 2.38 + GLIBCXX_3.4.31 (GCC 13-era runtime — Ubuntu 24.04+ / Fedora 39+ / Arch; `memvault-proxy` additionally wants glibc ≥ 2.39). TLS is rustls, so no OpenSSL dependency. Ubuntu 22.04 / RHEL or EL8/EL9 users: use the Docker image (`dreamor/memvault`) or build from source.
101
+ > - **Prebuilt Linux binaries** (install script / GitHub release): glibc ≥ 2.39 + GLIBCXX_3.4.31 (GCC 13-era runtime — Ubuntu 24.04+ / Fedora 40+ / Arch). Release builds are pinned to Ubuntu 24.04 runners, and the release workflow gates the highest glibc/GLIBCXX symbol version every binary may require plus a startup smoke test, so this floor cannot silently drift upward (0.6.9 shipped x86_64 binaries requiring glibc 2.43 that way). TLS is rustls, so no OpenSSL dependency. Ubuntu 22.04 / RHEL or EL8/EL9 users: use the Docker image (`dreamor/memvault`) or build from source.
102
102
  > - **Building from source** (`cargo install` / `cargo build`): links fastembed's prebuilt ONNX Runtime static library and needs a GCC 13-class toolchain. Older toolchains (e.g. GCC 8, CentOS 7/8-era libstdc++) fail at link time with missing C++20/23 stdlib symbols (`std::format`, `std::to_chars`). macOS / Windows (MSVC) / Homebrew / Docker are unaffected.
103
103
 
104
104
  **Verify your install in 5 seconds:**
105
105
 
106
106
  ```bash
107
107
  memvault-cli --version
108
- # memvault 0.6.9
108
+ # memvault 0.6.11
109
109
 
110
110
  # sanity check: list saved memories (verifies DB is healthy)
111
111
  memvault-cli list
@@ -283,20 +283,20 @@ SSE features: multi-client simultaneous connections, auto-triggered embedding ba
283
283
  | `record_outcome` | Record a task outcome (episodic memory); failures reflect into lessons |
284
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 |
285
285
  | `import_skills` | Import skills from a Markdown SOP (headings → skills, list items → steps) |
286
- | `search_memory` | Keyword / semantic / hybrid |
287
- | `session_start` | Agent-aware context injection; honors the agent's `inject_channel` (skips with an explanation when another channel is canonical) |
288
- | `review_memory` | Approve / reject / edit |
289
- | `delete_memory` | Remove a memory (soft delete — restorable via `restore`) |
286
+ | `search_memory` | Hybrid (default) / keyword / semantic; semantic modes fall back to keyword when embeddings are unavailable |
287
+ | `session_start` | Agent-aware context injection; honors the agent's `inject_channel` (skips with an explanation when another channel is canonical); records compliance injections when enabled |
288
+ | `review_memory` | Approve / reject / edit; edit also works on already-approved memories, reject only applies to pending ones |
289
+ | `delete_memory` | Soft delete — removes the live row and cascaded evidence relations, restorable via CLI `restore`; use `forget_memory` for irreversible purge |
290
290
  | `forget_memory` | Permanently erase one memory or a criteria-matched bulk set (GDPR-style, irreversible); `dry_run` defaults to `true` |
291
291
  | `extract_memories` | Structured extraction from text |
292
- | `run_dedup` | Deduplication scan |
293
- | `run_decay` | Decay + auto-archive |
294
- | `confirm_read` | Mark read (updates access_count) |
295
- | `list_inbox` | List memories pending human review |
292
+ | `run_dedup` | Read-only deduplication scan (reports near-duplicates; does not merge/delete) |
293
+ | `run_decay` | Decay + auto-archive; opt-in permanent auto-forget when `MEMVAULT_FORGET_AUTO_ENABLED=1` |
294
+ | `confirm_read` | Mark read (increments `access_count`; repeated calls increment again) |
295
+ | `list_inbox` | List memories pending human review; `limit` only, no pagination |
296
296
  | `run_promote` | Promote pipeline (L1→L2→L3), archive sources to L0 |
297
- | `report_compliance` | Report follow/violate status for an injected session |
297
+ | `report_compliance` | Report follow/violate status for an injected session; bad items are skipped, so check the returned updated/total counts |
298
298
  | `get_compliance_report` | Compliance rates per session or aggregate |
299
- | `add_evidence` | Record evidence relations: supports / contradicts / sourced_from |
299
+ | `add_evidence` | Record evidence relations: supports / contradicts / sourced_from; identical relations are rejected rather than duplicated |
300
300
  | `get_memory_evidence` | Get the raw-evidence chain a memory was distilled from (its L0 trace rows) plus its evidence profile — read-only grounding, so an agent can quote the original session text and name its sources |
301
301
  | `get_effectiveness_report` | Automatic effectiveness judgments for injected memories (useful/neutral/harmful/insufficient-context rates, judged from `record_outcome`) — independent of the manual `report_compliance` flow |
302
302
 
@@ -334,7 +334,8 @@ Two groups are intentionally not in the table below: the host installation contr
334
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 |
335
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 |
336
336
  | `MEMVAULT_CORROBORATION_MIN_AGENTS` | Minimum distinct identity-verified agents required for the corroboration gate above | `2` |
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 — across every injection channel (CLI/MCP body, MCP `[MORE - 摘要]` overflow summaries, REST `/api/session`, proxy deterministic fast path), with an `unreviewed-must-gated` skip reason kept for audit. Only affects MUST — unreviewed REF/BG memories are unaffected | false |
337
+ | `MEMVAULT_INJECT_REQUIRE_REVIEW` | Injection gate, **on by default**: any AI-extracted memory a human has not reviewed is removed from injection entirely — every priority, not just MUST — across the CLI/MCP body, the MCP `[MORE - 摘要]` overflow summaries, REST `/api/session`, and the proxy deterministic fast path, with an `unreviewed-gated` skip reason kept for audit. Unreviewed drafts stay in the review inbox and remain reachable via `search_memory`; they only enter new sessions after approval. Set `0` only for a deliberately unreviewed/experimental store, where unreviewed entries fall back to the `[未审核]` reference-data block | true |
338
+ | `MEMVAULT_INJECT_REQUIRE_REVIEW_FOR_MUST` | Legacy MUST-only render gate, kept for compatibility and as defense-in-depth when the broad gate above is disabled: with `MEMVAULT_INJECT_REQUIRE_REVIEW=0`, setting this to `true` still drops unreviewed MUST memories instead of rendering them as `[未审核]` reference data (`unreviewed-must-gated` skip reason) | false |
338
339
  | `MEMVAULT_DB_POOL_SIZE` | SQLite connection pool size | `5` |
339
340
  | `MEMVAULT_CORS_ORIGIN` | Comma-separated allowed CORS origins for REST (unset = localhost only) | (localhost only) |
340
341
  | `MEMVAULT_SERVER_START_TIMEOUT` | Seconds `server start` / the SessionStart hook waits for a freshly spawned REST server to become healthy | `15` |
@@ -402,19 +403,19 @@ MemVault ships native adapters for most agents — one shared store, per-host id
402
403
 
403
404
  | Package | Version | Install / Source |
404
405
  |---|---|---|
405
- | `memvault-core` (crates.io) | 0.6.9 | library dependency |
406
- | `memvault-cli` · `memvault-mcp` · `memvault-proxy` (crates.io) | 0.6.9 | `cargo install memvault-cli memvault-mcp memvault-proxy` |
407
- | `@dreamor/dsh-memvault` (npm) | 0.6.9 | npm registry (dsh Cordis plugin, below) |
406
+ | `memvault-core` (crates.io) | 0.6.11 | library dependency |
407
+ | `memvault-cli` · `memvault-mcp` · `memvault-proxy` (crates.io) | 0.6.11 | `cargo install memvault-cli memvault-mcp memvault-proxy` |
408
+ | `@dreamor/dsh-memvault` (npm) | 0.6.11 | npm registry (dsh Cordis plugin, below) |
408
409
 
409
410
  **Shipped plugins & versions** — each bumps on its own schedule:
410
411
 
411
412
  | Plugin | Version | Distributed via |
412
413
  |---|---|---|
413
- | Claude Code / Codex plugin bundle ([`plugins/memvault/`](plugins/memvault/)) | 0.6.9 | `dreamor/memvault` marketplace |
414
- | Gemini CLI extension (`gemini-extension.json`) | 0.6.9 | `gemini extensions install` |
415
- | Qoder plugin (`.qoder-plugin/`) | 0.6.9 | in-repo manifest |
414
+ | Claude Code / Codex plugin bundle ([`plugins/memvault/`](plugins/memvault/)) | 0.6.11 | `dreamor/memvault` marketplace |
415
+ | Gemini CLI extension (`gemini-extension.json`) | 0.6.11 | `gemini extensions install` |
416
+ | Qoder plugin (`.qoder-plugin/`) | 0.6.11 | in-repo manifest |
416
417
  | Obsidian plugin ([`obsidian-plugin/`](obsidian-plugin/)) | 0.3.6 | [`dreamor/memvault-obsidian`](https://github.com/dreamor/memvault-obsidian) (BRAT / community dir) |
417
- | dsh Cordis plugin ([`dsh-plugin/`](dsh-plugin/)) | 0.6.9 | npm [`@dreamor/dsh-memvault`](https://www.npmjs.com/package/@dreamor/dsh-memvault) |
418
+ | dsh Cordis plugin ([`dsh-plugin/`](dsh-plugin/)) | 0.6.11 | npm [`@dreamor/dsh-memvault`](https://www.npmjs.com/package/@dreamor/dsh-memvault) |
418
419
 
419
420
  **Tier 1 — one-command native plugins** (memory injected by hooks; extraction opt-in where the host exposes lifecycle hooks):
420
421
 
@@ -430,7 +431,7 @@ MemVault ships native adapters for most agents — one shared store, per-host id
430
431
 
431
432
  **Tier 2 — paste an MCP snippet.** Strict-JSON registrations with per-host identities in [integrations/mcp-clients/](integrations/mcp-clients/) (target paths in its [README](integrations/mcp-clients/README.md)): Cursor · Windsurf · Cline/Roo · Continue · Zed · JetBrains AI/Junie · VS Code (Copilot Chat) · Claude Desktop.
432
433
 
433
- **Tier 3 — native manifests, verify-on-install.** Qoder (`.qoder/rules/` + `.qoder-plugin/` + a `UserPromptSubmit` hook template), Grok Build (`grok plugin install dreamor/memvault --trust`), the Hermes Python plugin ([integrations/hermes/](integrations/hermes/), `pre_llm_call` recall + extraction helper) and the pi extension (`pi-extension/`, `pi install git:github.com/dreamor/memvault`) ship in-repo; OpenClaw and Swival consume the generated root `skills/` (also exported to `.openclaw/skills/`); Devin stays a manual recipe in [integrations/README.md](integrations/README.md).
434
+ **Tier 3 — native manifests.** Qoder (`.qoder/rules/` + `.qoder-plugin/` + a `UserPromptSubmit` hook template), Grok Build (`grok plugin install dreamor/memvault --trust`), the Hermes Python plugin ([integrations/hermes/](integrations/hermes/), `pre_llm_call` recall + extraction helper) and the pi extension (`pi-extension/`, declared by the root `package.json` `pi` manifest; `pi install git:github.com/dreamor/memvault`) ship in-repo; OpenClaw and Swival consume the generated root `skills/` (also exported to `.openclaw/skills/`); Devin stays a manual recipe in [integrations/README.md](integrations/README.md).
434
435
 
435
436
  **Tier 4 — instruction-only rule copies.** Canonical text + `scripts/gen-rule-copies.sh` (parity-checked in CI) produce `AGENTS.md`/`CLAUDE.md` blocks, `.cursor/rules/`, `.clinerules/`, `.kiro/steering/`, Junie guidelines; `memvault-cli sync --watch` keeps them fresh from the store.
436
437
 
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: 35762336 bytes
4
- sha256: 21aba4b79418e64c091dc6e4887136978033c4d6e47d11b897de5be5706e6ddc
3
+ size: 35795904 bytes
4
+ sha256: b68e3c0489cb09a657691551eaf4bc450fbb603c3351dd508c36f8dba983ea07
package/memvault-proxy CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/memvault-proxy
3
- size: 35871680 bytes
4
- sha256: f60dfe29fbeaf2914f8ce512cec02a4749ea0b93f5e081596a1cd29c6056d6ba
3
+ size: 35905312 bytes
4
+ sha256: 7e5b1532d50906963ca1b648ef15af189662458c90409103348cddeee7f9c139
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dreamor/memvault-bin",
3
- "version": "0.6.9",
3
+ "version": "0.6.11",
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" },