open-memex 0.11.0-alpha.1 → 0.11.0
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/AGENTS.md +13 -3
- package/CHANGELOG.md +3 -1
- package/README.md +22 -4
- package/README.zh-CN.md +7 -2
- package/dist/.build-stamp +1 -1
- package/dist/cli.js +31 -1
- package/dist/config.js +17 -0
- package/dist/doctor.js +49 -1
- package/dist/retrieve/embedding.js +191 -0
- package/dist/retrieve/rerank.js +74 -0
- package/dist/retrieve/search.js +10 -4
- package/dist/store/curation-feedback.js +10 -10
- package/dist/store/db.js +15 -0
- package/dist/store/embeddings.js +75 -0
- package/dist/tools/ops.js +6 -1
- package/docs/V2-DESIGN.md +7 -4
- package/docs/design/decisions.md +3 -0
- package/docs/retrieval-ablation-study.md +11 -0
- package/package.json +66 -66
- package/scripts/bench-semantic.ts +376 -111
- package/scripts/smoke-pure.ts +48 -1
- package/server.json +2 -2
- package/src/cli.ts +31 -1
- package/src/config.ts +28 -0
- package/src/doctor.ts +48 -1
- package/src/retrieve/embedding.ts +214 -0
- package/src/retrieve/rerank.ts +96 -0
- package/src/retrieve/search.ts +11 -4
- package/src/store/curate.ts +675 -675
- package/src/store/curation-feedback.ts +81 -81
- package/src/store/db.ts +16 -0
- package/src/store/embeddings.ts +82 -0
- package/src/tools/ops.ts +6 -1
package/dist/store/db.js
CHANGED
|
@@ -135,6 +135,20 @@ CREATE TABLE IF NOT EXISTS memory_usage (
|
|
|
135
135
|
updated_at TEXT NOT NULL DEFAULT ''
|
|
136
136
|
);
|
|
137
137
|
`;
|
|
138
|
+
// D96: the cross-lingual rerank's vector cache. Like the D77 counters it is
|
|
139
|
+
// local, derived telemetry — keyed by a hash of the embedded text, never in
|
|
140
|
+
// frontmatter, and never dropped by a rebuild (the vectors stay valid as long
|
|
141
|
+
// as the text and model do). `model` is part of the key, so switching
|
|
142
|
+
// `embeddingModel` cannot mix vector spaces.
|
|
143
|
+
const EMBEDDING_SCHEMA = `
|
|
144
|
+
CREATE TABLE IF NOT EXISTS embedding_vectors (
|
|
145
|
+
model TEXT NOT NULL,
|
|
146
|
+
hash TEXT NOT NULL,
|
|
147
|
+
dim INTEGER NOT NULL,
|
|
148
|
+
vector BLOB NOT NULL,
|
|
149
|
+
PRIMARY KEY (model, hash)
|
|
150
|
+
);
|
|
151
|
+
`;
|
|
138
152
|
function userVersion(d) {
|
|
139
153
|
const row = d.prepare("PRAGMA user_version").get();
|
|
140
154
|
return row.user_version;
|
|
@@ -190,6 +204,7 @@ export function db() {
|
|
|
190
204
|
d.exec(TABLE_SCHEMA);
|
|
191
205
|
d.exec(FTS_SCHEMA);
|
|
192
206
|
d.exec(USAGE_SCHEMA);
|
|
207
|
+
d.exec(EMBEDDING_SCHEMA);
|
|
193
208
|
if (userVersion(d) < SCHEMA_VERSION)
|
|
194
209
|
rebuildIndexSchema(d);
|
|
195
210
|
_db = d;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* D96: disk cache for the cross-lingual rerank's text embeddings.
|
|
3
|
+
*
|
|
4
|
+
* Vectors are keyed by `(model, sha256(text))` — not by memory id — so an
|
|
5
|
+
* edited memory re-embeds under a new key while an unchanged one stays warm
|
|
6
|
+
* across supersede chains, scope moves, and index rebuilds. `model` is part of
|
|
7
|
+
* the key so changing `embeddingModel` can never mix two vector spaces.
|
|
8
|
+
*
|
|
9
|
+
* Like the D77 counters and the D91 graph, this is derived local telemetry:
|
|
10
|
+
* it lives in a `CREATE TABLE IF NOT EXISTS` table outside the versioned
|
|
11
|
+
* index schema and is never dropped by `rebuildIndexSchema`. It never leaves
|
|
12
|
+
* the machine and never appears in Markdown.
|
|
13
|
+
*
|
|
14
|
+
* Vectors are stored as little-endian float32 BLOBs: 1.5 KB for the 384-dim
|
|
15
|
+
* default model, versus ~8 KB as JSON. Rows are written one per new text, so
|
|
16
|
+
* a save costs O(1), not a rewrite of the whole cache.
|
|
17
|
+
*/
|
|
18
|
+
import { db } from "./db.js";
|
|
19
|
+
function encode(values) {
|
|
20
|
+
const bytes = new Uint8Array(values.length * 4);
|
|
21
|
+
const view = new DataView(bytes.buffer);
|
|
22
|
+
for (let i = 0; i < values.length; i++)
|
|
23
|
+
view.setFloat32(i * 4, values[i], true);
|
|
24
|
+
return bytes;
|
|
25
|
+
}
|
|
26
|
+
function decode(bytes) {
|
|
27
|
+
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
28
|
+
const n = Math.floor(bytes.byteLength / 4);
|
|
29
|
+
const out = new Array(n);
|
|
30
|
+
for (let i = 0; i < n; i++)
|
|
31
|
+
out[i] = view.getFloat32(i * 4, true);
|
|
32
|
+
return out;
|
|
33
|
+
}
|
|
34
|
+
/** Load the cached vectors for `hashes`. Missing hashes are simply absent. */
|
|
35
|
+
export function loadVectors(model, hashes) {
|
|
36
|
+
const out = new Map();
|
|
37
|
+
if (hashes.length === 0)
|
|
38
|
+
return out;
|
|
39
|
+
const d = db();
|
|
40
|
+
// SQLite's default variable limit is 999; chunk well below it.
|
|
41
|
+
const CHUNK = 500;
|
|
42
|
+
for (let i = 0; i < hashes.length; i += CHUNK) {
|
|
43
|
+
const chunk = hashes.slice(i, i + CHUNK);
|
|
44
|
+
const rows = d
|
|
45
|
+
.prepare(`SELECT hash, vector FROM embedding_vectors
|
|
46
|
+
WHERE model = ? AND hash IN (${chunk.map(() => "?").join(",")})`)
|
|
47
|
+
.all(model, ...chunk);
|
|
48
|
+
for (const r of rows) {
|
|
49
|
+
const bytes = new Uint8Array(r.vector.buffer, r.vector.byteOffset, r.vector.byteLength);
|
|
50
|
+
out.set(r.hash, decode(bytes));
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return out;
|
|
54
|
+
}
|
|
55
|
+
/** Insert or replace one vector. Idempotent on `(model, hash)`. */
|
|
56
|
+
export function saveVector(model, hash, values) {
|
|
57
|
+
db()
|
|
58
|
+
.prepare(`INSERT INTO embedding_vectors (model, hash, dim, vector) VALUES (?, ?, ?, ?)
|
|
59
|
+
ON CONFLICT(model, hash) DO UPDATE SET dim = excluded.dim, vector = excluded.vector`)
|
|
60
|
+
.run(model, hash, values.length, encode(values));
|
|
61
|
+
}
|
|
62
|
+
/** Cache size for this model — `doctor` and the D96 docs quote this. */
|
|
63
|
+
export function countVectors(model) {
|
|
64
|
+
const row = db()
|
|
65
|
+
.prepare(`SELECT COUNT(*) AS n FROM embedding_vectors WHERE model = ?`)
|
|
66
|
+
.get(model);
|
|
67
|
+
return row.n;
|
|
68
|
+
}
|
|
69
|
+
/** Drop every vector for one model (a model switch or an explicit reset). */
|
|
70
|
+
export function clearVectors(model) {
|
|
71
|
+
const d = db();
|
|
72
|
+
const before = countVectors(model);
|
|
73
|
+
d.prepare(`DELETE FROM embedding_vectors WHERE model = ?`).run(model);
|
|
74
|
+
return before;
|
|
75
|
+
}
|
package/dist/tools/ops.js
CHANGED
|
@@ -10,6 +10,7 @@ import fs from "node:fs";
|
|
|
10
10
|
import { z } from "zod";
|
|
11
11
|
import { PERSONAL_SCOPE } from "../scope.js";
|
|
12
12
|
import { search, list, countList, hitStateLabel } from "../retrieve/search.js";
|
|
13
|
+
import { applyCrossLingualRerank } from "../retrieve/embedding.js";
|
|
13
14
|
import { formatInventoryLine, truncationNote } from "../retrieve/display.js";
|
|
14
15
|
import { writeMemoryFile, readMemoryFile, ulid, msToRfc3339, MEMORY_TYPE_TAXONOMY, normalizeAliases, } from "../store/markdown.js";
|
|
15
16
|
import { upsertFromFile, deleteFromIndex } from "../store/sync.js";
|
|
@@ -329,13 +330,17 @@ export async function searchMemories(getScope, cfg, args) {
|
|
|
329
330
|
? [project.key]
|
|
330
331
|
: [project.key, PERSONAL_SCOPE.key];
|
|
331
332
|
// D77-L2: every surface that hands hits to a caller counts as exposure.
|
|
332
|
-
const
|
|
333
|
+
const found = search(args.query, {
|
|
333
334
|
scopeKeys,
|
|
334
335
|
limit: args.limit,
|
|
335
336
|
type: args.type,
|
|
336
337
|
record: true,
|
|
337
338
|
feedback: cfg.feedbackWeighting,
|
|
338
339
|
});
|
|
340
|
+
// D96: opt-in cross-lingual rerank. Reorders only what BM25 returned, never
|
|
341
|
+
// adds or removes a hit, and is a no-op unless the query and some hit are
|
|
342
|
+
// written in different scripts.
|
|
343
|
+
const hits = (await applyCrossLingualRerank(args.query, found, cfg)).hits;
|
|
339
344
|
if (hits.length === 0) {
|
|
340
345
|
return {
|
|
341
346
|
title: "memory: 0 results",
|
package/docs/V2-DESIGN.md
CHANGED
|
@@ -330,9 +330,12 @@ instructions are never candidates.)
|
|
|
330
330
|
FTS5** — simplest fully-offline default, no new dependencies. The tokenizer is **configurable**
|
|
331
331
|
(`cjkTokenizer: bigram | trigram`); trigram indexing and local embeddings are benchmark-gated
|
|
332
332
|
Phase 2 work, behind an `EmbeddingProvider` interface (never hard-wired to one model).
|
|
333
|
-
- **Embeddings (optional capability):**
|
|
334
|
-
|
|
335
|
-
|
|
333
|
+
- **Embeddings (optional capability, D96):** never a retriever — BM25 retrieves, embeddings may only
|
|
334
|
+
*rerank* cross-script (EN↔ZH) hits inside a review tier. Opt-in via `crossLingualRerank` (default
|
|
335
|
+
off); the model is downloaded on first use into `<data root>/models/` and is user-selectable via
|
|
336
|
+
`embeddingModel` (default `Xenova/paraphrase-multilingual-MiniLM-L12-v2`, q8, 113 MB). The runtime
|
|
337
|
+
package is deliberately **not** a dependency, so the default install stays zero-download — the
|
|
338
|
+
"pure-BM25 minimal mode" is simply the default. Measured gain and tax: D96.
|
|
336
339
|
- **Write-time CJK enrichment (recommended):** generate pinyin/keyword mappings for `tags` at write
|
|
337
340
|
time as a BM25 fallback when segmentation misses.
|
|
338
341
|
- **Conflict priority** — two orthogonal orderings (facts vs preferences must not share one chain):
|
|
@@ -582,7 +585,7 @@ requirement: personal data never touches third-party services). Benchmarks to tr
|
|
|
582
585
|
for enterprise knowledge systems.
|
|
583
586
|
- **Near-term backlog — committed direction, not yet built (2026-10-07).** Stone's rule: anything said as "later" is written down here. D77-L2 ✅ built 2026-11-03 (0.9.0-alpha.2): per-memory `retrieved_count`/`useful_count` (`useful_self` vs `useful_team`) + `memory_useful` tool, counters in a `memory_usage` table beside the rebuildable index. D77-L3 ✅ built 2026-11-04 (0.9.0-alpha.3): `memory_status`/`sync-status` reuse report — per-scope rates, top reused, zero-reuse "zombies". D77: external bench — LongMemEval-S run 2026-10-07 (`scripts/bench-longmemeval.ts`, 470 questions, recall_any@k: R@5 97.0% / MRR 0.909 per-question, R@5 40.6% on a pooled 22k corpus; ahead of agentmemory’s BM25-only, level with their BM25+vector). MemoryAgentBench still open as a second external data point. D79 follow-up SUPERSEDED → built as **D80** (2026-10-07): index-time synonym/translation expansion shipped; 41-query fixture recall@5 0.854 → 0.976, MRR 0.791 → 0.859. Embedding-model configurability (Stone 2026-10-07): the multilingual model is his personal need (EN↔ZH), not everyone’s — the model must be user-configurable. Timing: (1) NOW in the bench only — a `--model` flag to measure the multilingual tax (multilingual vs English-only on English data), which decides the DEFAULT. (2) AT SHIP TIME — `embedding.model` in `MyOMemoryConfig` + `SETTABLE_KEYS`, model-agnostic storage from day one (dim + model id stored with vectors, cache dir), download UX and `doctor` checks. Not before the gate passes: building config UX for a layer we haven’t decided to ship is premature. If multilingual tax ≈ 0, default multilingual (covers everyone); else default English-only with a docs note.D78: curate+submit — pre-submit lint, then confidence-tier auto-curation (auto-apply / batch-confirm / explicit human). **First slice built 2026-11-13 (0.10.0-alpha.3, D93):** deterministic auto-apply (exact duplicates / empty bodies / title whitespace), report-only lint and near-duplicates, `--no-curate`, `curate undo`. **Second slice built 2026-11-20 (0.11.0-alpha.1, D95) — closed:** batch-confirm (one screen, accept-all/decline-all, nothing written before the decision), semantic merges (≥ 0.9, never auto) and splits (both halves kept), type/tag inference (high confidence + `source: keyword` auto, everything else batch), `curate undo --batch <id>`, `curate stats`; threshold learning from those counters is the remaining follow-up, not part of D78's surface. D79 follow-ups: feedback-weighted ranking ✅ first slice built 2026-11-11 (0.10.0-alpha.2, D92): opt-in `feedbackWeighting`, near-tied BM25 band reordered by `reuse_rate` only for `retrieved_count >= 3`, explain trace, fixture R@1 0.660 → 0.702 / MRR 0.804 → 0.825; embeddings gate decision against the published baseline; reranker evaluation. Cross-lingual embedding rerank (Stone 2026-10-16, from obsidian-mind comparison): ablation showed multilingual vectors beat BM25 by +12pp R@5 on the cross-lingual slice — the one gap lexical can't cover. Design as opt-in rerank for EN↔ZH queries only, not a default path; local stays BM25-first per the retrieval split above. TDQS nit (separate PR): tighten search/list `type` to `z.enum`. Retrieval eval: grow the fixture (project-scope tier cases) as retrieval logic evolves. Retrieval split — local vs share server (Stone 2026-10-07): the two environments emphasize different mechanisms. Local (personal machine): BM25 + curated index-time expansion as the primary — deterministic, zero model download (D7), fast on CPU, index bloat bounded by the small corpus; embeddings opt-in only. Share server (team/org, enterprise): embeddings + ANN + reranker as the primary — server-grade compute with models resident, corpus too large and multi-author for any curated map; the curated map stays as a precision layer plus org glossary. The server additionally aggregates D77 useful_count across users into feedback-weighted ranking (already in D79 follow-ups) — a signal a single machine can never have. Bottom-up loop: curated pairs that many users converge on locally become org-glossary candidates. Economics flip: N users each downloading a model vs one model amortized on the server. OptMem lessons (Stone 2026-10-16, from kafkaup's OptMem post): three friction-reduction ideas worth stealing from the minimalist end of the spectrum. (1) **Token cost as spec** — measure and publish open-memex's prompt/token overhead in the README, the way OptMem advertises its "426-token prompt"; acquisition copy, not just engineering. (2) **`wake` convention** — document a session-start ritual (one `memory_recall` call at the beginning of every session), mirroring OptMem's `memo wake`; the MCP tools exist but the habit isn't specified. (3) **Capture length nudge** — a soft length cap or conciseness hint at capture time, inspired by OptMem's 280-byte hard cap; forces conciseness at write time, cheap to implement, aligned with the distill-to-AGENTS.md direction (D40). Three-tier memory zones (Stone 2026-10-18, from Westenberg "I Deleted My Second Brain" + his own reflection): the second brain should have zones like cache vs database, not "keep everything" vs "delete everything". **Hot** (active zone, cache-like: small, curated, always in context — D81 aliases, WHAT-level) · **Warm** (compost/incubation: not active but not cold; periodic review, rotted items deleted — this is "forget on purpose" as engineering) · **Cold** (full archive, searchable, not resident). The hard part is the **promotion/demotion policy** — what moves between zones, when, by what rule (the cache-replacement problem for knowledge; "useful" ≠ "recently used"). Capture restraint is a separate gate: not everything deserves to enter even cold storage. Spec the policy before building the zones. Auto-capture design brief (Stone 2026-10-19, from ai-memory comparison): open-memex wants auto-capture but under the restraint philosophy (not ai-memory's capture-everything). Five design questions: (1) **End-session trigger** — what hooks does opencode actually expose? (check before designing; ai-memory built finalize-session fallback for harnesses without SessionEnd); candidates: native hook / idle timeout / explicit command / context-near-full. (2) **Distillation** — rules first (what happened: git diff, tool calls, decision sentences; zero LLM), interpretation layer (what it means) left to human/LLM. (3) **Save-value triage** — three tiers: clearly valuable → save; clearly noise → drop; ambiguous → ask human. Boundary principle: **rather over-ask than over-save** (polluted retrieval costs more than a missed memory). (4) **Routing** — four exits: project memory / personal memory / AGENTS.md proposal (distill-agents exists) / discard; keep v1 routing rules simple. (5) **Human interaction** — one batch confirmation at session end ("save these 3? [y/n/edit]"), never per-item popups. Relations: D73 keyword capture is turn-level (no conflict); `wake` convention is session-start (this is session-end — the other bookend); three-tier zones govern where auto-captured items land. Cross-agent study (Stone 2026-10-19): open-memex has cross-agent on the roadmap — study how ai-memory does it (handoff claim-once semantics, lifecycle hooks per harness, VSCode support via MCP-only) before designing ours; borrow the semantics, not the push-injection behavior (discoverability > injection). Injection cost discipline (Stone 2026-10-19, from Harness² paper arXiv:2610.14224): "ALWAYS-ON PROSE IS THE EXPENSIVE OPTION" — every always-on word competes with the agent's output budget. Current session-start injection (8 project + 5 personal) is the expensive path; direction: move "important but not needed every turn" memories to on-demand (tool/skill-triggered loading), keep only truly every-turn items resident. Tolerable now, better not to tolerate. Component cost ladder for reference: SKILL (default, zero-cost until invoked) > SCRIPT > SUBAGENT > PLUGIN ("prose can be skipped, a hook cannot") > ALWAYS-ON TEXT (last resort). Read-less compression (Stone 2026-10-19, from caveman https://github.com/JuliusBrussee/caveman): the execution layer of injection cost discipline — compress what the agent READS before it reaches context, not just what we inject. Caveman's measured numbers: 33.2% fewer input tokens per session (CSV 98.9%, logs 98.5%, YAML 99.1%, JSON 98.5% per-file; HTML has no compressor yet). Direction for open-memex: a pre-retrieval compression pass on tool outputs and retrieved passages (structured data → compact form), originals stay on disk and pullable on demand. Two design principles borrowed: (1) never compress the user's own prompt/input (Adobe CAVEWOMAN finding: cavemanning user prompts makes answers worse); (2) leave code/tool calls/payloads verbatim — compress the wrapper, not the payload. Caveats: caveman's own rules cost ~1,160 input tokens fixed; per-request billing (Copilot-style) nullifies the saving — compression pays off on per-token billing only. Knowledge upkeep as a first-class direction (Stone 2026-10-23; external validation: Hedy Zhang's FDE field retrospective on enterprise AI knowledge bases, X article 2026-10-22 — enterprise knowledge bases die on unowned upkeep, not on retrieval: stale answers served silently, conflicts with no owner, updates nobody owns after delivery). The mechanisms already exist (supersede chains, lifecycle states, `audit` health check, curator convention); the direction is driving the human cost of upkeep toward zero: (1) staleness signals — age, contradiction with newer captures, D77 zero-reuse counters — feeding a standing review queue instead of waiting for someone to remember to run `audit`; (2) a conflict inbox — semantic conflicts and broken chains as a persistent todo; (3) the endgame is D78 confidence-tier auto-curation (auto-apply the safe tier, batch-confirm the rest). Success metric: the base stays trustworthy on minutes-per-week of human attention, not a curator shift. README pitches the shipped half of this as core concept 4 (Knowledge stays current) plus a "When facts change" comparison row. Session working state note (D89, 2026-11-02) → BUILT, shipped 2026-11-03 as D90: 12th tool `memory_workingstate` on both hosts, session-start surfacing, `audit` expiry report, `wstate` CLI; opencode write path is instruction + tool (plugin API has no Stop hook).
|
|
584
587
|
|
|
585
|
-
- **Build order after D77-L3 (2026-11-04, Stone approved; (1) shipped 2026-11-06).** Once PR #74 (D77-L3 reuse report) merges, the queue is: (1) §20 / D88 deterministic half — **shipped 0.9.0-alpha.6 (D91)**: `graph build` (structural edges only), compiled outline injected at session start, `graph neighbours` / `graph path` / `graph outline` / `graph lint` CLI (orphans / dangling / stale; missing-page alerts are part of the LLM half, still open); no LLM, no ranking change. Remaining under §20: **the LLM half** — semantic insights, missing-page alerts that propose new memories (through the D61 propose-first flow), compiled wiki pages — D78's pre-submit integration of the lint report shipped in D93 (0.10.0-alpha.3); the LLM half stays open. (2) D79 feedback-weighted ranking — **first slice shipped 0.10.0-alpha.2 (D92)**: fixture + baseline landed first, then an opt-in reuse-signal band reorder (`retrieved_count >= 3`, `reuse_rate`, 0.75 near-tie band); no embedding/cross-lingual rerank yet. (3) D78 curate+submit — **first slice shipped 0.10.0-alpha.3 (D93)**: pre-submit lint + deterministic auto-apply (exact duplicate / empty body / title) + `curate undo`, fixture 9→6 lint findings. **Second slice shipped 0.11.0-alpha.1 (D95): 已实现** — one batch-confirm screen (semantic merges ≥ 0.9, splits that keep both halves, uncertain type/tag inferences; no flag = stop before writing, `--accept-batch` / `--decline-batch`), high-confidence type/tag inference auto-applied only on `source: keyword`, `curate undo --batch <id>`, `curate stats` feedback counters (data only - thresholds still fixed), fixture now pins the accepted and declined batches plus the whole-batch undo. (4) Embeddings gate decision (bench `--model` measures the multilingual tax) + opt-in cross-lingual rerank for EN↔ZH queries only; local stays BM25-first. (5) OptMem small items — **shipped 0.10.0-alpha.4 (D94)**: token cost measured (`scripts/token-cost.ts`, chars/4 estimate) and published in the READMEs; `wake` ritual documented (README en+zh, Agent Skill, MCP handshake - docs only, no new surface); capture length nudge at 500 chars (hint appended to the save result, never a refusal; keyword 2000-char hard cap unchanged, over-cap drops now surface in the D73 hand-off note). (6) Three-tier memory zones policy spec (Hot/Warm/Cold promotion/demotion rules) before building; §20's compiled outline already covers part of Hot. (7) Auto-capture design — answer the five open questions first (notably which session-end trigger opencode exposes). Then measurement/candidates: MemoryAgentBench second external data point; Phase 2C native plugins (candidate, not committed); D9 LAN reference server likely dropped; D2/D11 iron-rule gate is a known safety gap awaiting a build/drop decision. Non-code track: Phase 2B 1–2 colleague pilot (needs people, not code). Dependency chain: §20 lint → D78; D77-L2 counters → D79; gate decision → rerank. Tension to respect: §20's resident outline must stay compact per the injection-cost discipline (2026-10-19) — "important but not every turn" stays on-demand.
|
|
588
|
+
- **Build order after D77-L3 (2026-11-04, Stone approved; (1) shipped 2026-11-06).** Once PR #74 (D77-L3 reuse report) merges, the queue is: (1) §20 / D88 deterministic half — **shipped 0.9.0-alpha.6 (D91)**: `graph build` (structural edges only), compiled outline injected at session start, `graph neighbours` / `graph path` / `graph outline` / `graph lint` CLI (orphans / dangling / stale; missing-page alerts are part of the LLM half, still open); no LLM, no ranking change. Remaining under §20: **the LLM half** — semantic insights, missing-page alerts that propose new memories (through the D61 propose-first flow), compiled wiki pages — D78's pre-submit integration of the lint report shipped in D93 (0.10.0-alpha.3); the LLM half stays open. (2) D79 feedback-weighted ranking — **first slice shipped 0.10.0-alpha.2 (D92)**: fixture + baseline landed first, then an opt-in reuse-signal band reorder (`retrieved_count >= 3`, `reuse_rate`, 0.75 near-tie band); no embedding/cross-lingual rerank yet. (3) D78 curate+submit — **first slice shipped 0.10.0-alpha.3 (D93)**: pre-submit lint + deterministic auto-apply (exact duplicate / empty body / title) + `curate undo`, fixture 9→6 lint findings. **Second slice shipped 0.11.0-alpha.1 (D95): 已实现** — one batch-confirm screen (semantic merges ≥ 0.9, splits that keep both halves, uncertain type/tag inferences; no flag = stop before writing, `--accept-batch` / `--decline-batch`), high-confidence type/tag inference auto-applied only on `source: keyword`, `curate undo --batch <id>`, `curate stats` feedback counters (data only - thresholds still fixed), fixture now pins the accepted and declined batches plus the whole-batch undo. (4) Embeddings gate decision (bench `--model` measures the multilingual tax) + opt-in cross-lingual rerank for EN↔ZH queries only; local stays BM25-first. — **已实现 0.11.0-alpha.2 (D96)**: gate re-measured on the fixture (BM25 R@1 0.660 / R@5 0.979 / MRR 0.804 → cross-lingual slice R@1 0% / MRR 0.431 → 33.3% / 0.597, same-language slice untouched; pooled ceiling unchanged), verdict **opt-in only**, `crossLingualRerank` default false + `embeddingModel`, q8 model 112.8 MB / 0.76 s / 497 MB RSS / 3.1 ms per query published in D96; RRF/general fusion explicitly still open (needs its own gate). (5) OptMem small items — **shipped 0.10.0-alpha.4 (D94)**: token cost measured (`scripts/token-cost.ts`, chars/4 estimate) and published in the READMEs; `wake` ritual documented (README en+zh, Agent Skill, MCP handshake - docs only, no new surface); capture length nudge at 500 chars (hint appended to the save result, never a refusal; keyword 2000-char hard cap unchanged, over-cap drops now surface in the D73 hand-off note). (6) Three-tier memory zones policy spec (Hot/Warm/Cold promotion/demotion rules) before building; §20's compiled outline already covers part of Hot. (7) Auto-capture design — answer the five open questions first (notably which session-end trigger opencode exposes). Then measurement/candidates: MemoryAgentBench second external data point; Phase 2C native plugins (candidate, not committed); D9 LAN reference server likely dropped; D2/D11 iron-rule gate is a known safety gap awaiting a build/drop decision. Non-code track: Phase 2B 1–2 colleague pilot (needs people, not code). Dependency chain: §20 lint → D78; D77-L2 counters → D79; gate decision → rerank. Tension to respect: §20's resident outline must stay compact per the injection-cost discipline (2026-10-19) — "important but not every turn" stays on-demand.
|
|
586
589
|
|
|
587
590
|
- **Phase 5 — Candidates recorded 2026-10-04 (not committed).** From the competitor scan (D75): an offline FTS5 retrieval eval with a published recall number (gates any semantic-layer decision) [promoted to next build, D77] · per-client trust levels on the review ladder · cold-start Markdown import into outbox drafts · `doctor` check that each editor's MCP registration points at the intended data root (mis-rooted servers are a real failure mode elsewhere). Sequencing and scope TBD per candidate.
|
|
588
591
|
- **Phase 5 — Candidates recorded 2026-10-11 (not committed).** From the XERJ review (xerj-org/xerj, Apache-2.0; founder Ivan N requested open-memex D81 for the XERJ Corpus Hub — agreed 2026-10-11, attribution + repo link): schema-first querying (`xerj_map` — agent fetches the field map before writing query DSL; candidate: a schema/describe helper ahead of `memory_search` to cut dead queries) · token-budgeted MCP results (their `token_budget.rs` — truncate to a token budget, not a fixed row limit) · hybrid retrieval as the scale answer (BM25 + vector kNN with fused ranking, e.g. RRF — the reference pattern for the eventual embedding layer; our lexical ceiling is already measured at R@5 40.6% pooled) · NL-to-validated-query planning (`xerj_plan` — natural language in, validated query out; candidate: a query lint/validate step before search executes) · evidence-carrying memory links (typed links with evidence + confidence, soft-retire never hard-delete — same spirit as our review-state ladder; prior art for a future memory-graph direction) · honest isolation docs (state what a namespace guarantees and does NOT — query-level vs trust boundary; same spirit as our Limitations section) · cost-accounted evals (report tokens + dollars per approach, as in their case studies — the format for proving "memory makes agents cheaper"). Sequencing and scope TBD per candidate.
|
package/docs/design/decisions.md
CHANGED
|
@@ -1159,3 +1159,6 @@
|
|
|
1159
1159
|
|
|
1160
1160
|
- **D95 - pre-submit curation, second slice: batch-confirm + semantic merge/split + type/tag inference (2026-11-20).** Finishes D78's remaining slices without reopening a settled decision: the tiers stay auto-apply / batch-confirm / explicit human, and submit is still human-triggered. **Measurement first:** `scripts/curate-eval.ts` grew a batch corpus before any product logic (commit `caa0109`) - lint 14 (orphan 12, dangling 1, stale 1), deterministic candidates 1 exact-dup / 1 empty / 2 title, near-dup report 2, batch proposals 1 merge / 1 split / 2 type / 2 tag, plus a declined batch that submits all 9 remaining members unchanged. **Auto tier additions:** exact-duplicate, empty-body and title actions unchanged; `infer-type` and `infer-tags` auto-apply only when the inference is HIGH confidence **and** `source: keyword` - the hook never chose a type or tag, so there is no explicit choice to overwrite. Tags are additive (never renamed or removed) and capped at `MAX_INFERRED_TAGS` 3; the vocabulary is explicit `#hashtags` plus tags already used by >= 2 memories in scope. **Batch tier (never auto):** semantic merge = near-duplicate with similarity >= `SEMANTIC_MERGE_THRESHOLD` 0.9 and a length ratio >= 0.6 - 0.8-0.9 stays report-only because one flipped word (thursday/friday) lands there and a bulk accept must not drop a real difference; split = overlong body (`MIN_SPLIT_BODY_CHARS` 320) whose two substantial halves (>= 100 chars each) share < 0.25 token overlap, code fences excluded, and accepting keeps BOTH halves (the original keeps the first, a new memory with `derived_from` takes the second and rides the same submit); uncertain type/tag inference (a non-keyword save, or medium confidence) is a proposal. Never a per-item gate: with proposals and no decision flag, `submit` throws `BatchDecisionRequired` **before the first write** (the outbox snapshot is unchanged - fixture-pinned), `--accept-batch` applies all, `--decline-batch` changes nothing; `memory_submit` returns the same summary as a normal result with `curateBatch="accept"|"decline"`. Merges never choose a chain-managed record as canonical, never target a non-active record, and a superseded duplicate stays in the outbox as history. **Reversibility:** every action appends a `curation:` receipt carrying its `signal` (e.g. `type:decision`, `merge:semantic`) and, in a batch, a `batch <id>` token; `curate undo <id>` reverses the latest one, `curate undo --batch <id>` replays the exact markers of an accepted batch (a memory can carry two - type then tags), split undo rejoins the halves and retracts the derived part, and a failed batch rolls back as a unit. **Closed loop (data only):** `src/store/curation-feedback.ts` keeps `curation_feedback` (kind, signal, accepted/declined/undone) in `index.db` with `CREATE TABLE IF NOT EXISTS`, like D77's counters - accumulated telemetry with no Markdown source to rebuild from, so a rebuild never drops it; `open-memex curate stats` prints it. Thresholds are still fixed constants: no learning pass ships in this slice, and the D77 useful counters are not consumed yet. **Verified:** typecheck clean, `smoke-pure.ts` (a new D95 block pins inference, split detection, the 0.9 gate, the explicit-type guard, batch-id stability across input order), `curate-eval.ts` (accepted batch effects, a declined batch changing nothing, whole-batch undo), reindex against a scratch `OPEN_MEMEX_HOME`.
|
|
1161
1161
|
*Status (2026-11-20): 已实现(0.11.0-alpha.1)- batch-confirm 一屏决定(无参数不写盘)、语义合并/拆分、type/tag 推断(高置信 + keyword 捕获才自动)、整批撤销、`curate stats` 反馈计数;阈值学习与 D77 useful_count 消费仍是后续。§18 第 (3) 项 D78 → 已实现。*
|
|
1162
|
+
|
|
1163
|
+
- **D96 - embedding gate + opt-in cross-lingual rerank, EN<->ZH only (2026-11-20).** Closes §18 build item (4) without reopening D7's local-first / zero-download default. **Measurement first:** commit 1 re-ran the D77 gate bench (`scripts/bench-semantic.ts`, extended with `--dtype`, `--arms`, `--cache-dir`, a tax block and an explicit EN<->ZH slice) with **no** retrieval change; its BM25 arm reproduces the published fixture baseline exactly (60 memories / 47 queries, feedback off: R@1 0.660 / R@5 0.979 / MRR 0.804 - the bench now seeds the real fixture frontmatter, so aliases/tags sit in their own FTS columns instead of being folded into the body). **Gate numbers (fixture, depth 50, `Xenova/paraphrase-multilingual-MiniLM-L12-v2`, 384-dim):** BM25 66.0 / 97.9 / 0.804; vec-only 76.6 / 91.5 (fp32) / 0.832; naive RRF 78.7 / 97.9 / 0.864; **rerank arm** (BM25-first, cross-script pairs only, cosine floor 0.2) 70.2 / 97.9 / **0.825**. The target slice is the six cross-script queries (EN query + ZH memory, or ZH query + EN memory): BM25 R@1 **0.0%** / MRR **0.431** -> rerank R@1 **33.3%** / MRR **0.597** (+0.166 MRR, two of six lifted to rank 1), while the 41 same-language queries are **identical at every floor** (75.6 / 97.6 / 0.858) - by construction, not by luck. Floor sweep: 0.2 is the highest floor that still captures the gain; 0.3 keeps one of six, 0.4+ is inert. A depth-8 run (only the returned set reranked - the product shape) holds at 70.2 / 97.9 / 0.823. **Pooled LongMemEval-S (22,419 sessions / 470 questions): the ceiling stands.** Current code reproduces the BM25 arm at R@1 19.8 / R@5 38.3 / MRR 0.288, i.e. the recorded 38.5 / 40.6 ceiling within limit variance. The vector arms were **not** re-run at that scale (about two hours of CPU on a corpus that is not memory-shaped; the 2026-10-07 run already measured the collapse: vec-only 3.4% R@5 / 0.021 MRR, RRF 27.4%, because one mean-pooled vector cannot stand in for a 10k-char session). A cross-script census shows the rerank is near-inert there anyway: 0 of 470 questions are CJK and only 109 of 22,419 sessions contain any CJK. **Gate verdict: PASS as an opt-in rerank, FAIL as a retriever or a default** - it beats the lexical ceiling exactly where the product lives (short, focused memories) and only on ranking, never on recall. So embeddings may reorder, and only for EN<->ZH. **Mechanism.** `src/retrieve/rerank.ts` (pure, smoke-tested) reorders only cross-script hits inside a contiguous run whose cosine clears `DEFAULT_RERANK_MIN_COSINE` (0.2, fixture-picked); same-language hits and below-floor cross-script hits keep their **exact** BM25 slot and act as barriers, so a run can never leapfrog them. The BM25 score is never modified, and the rerank runs per contiguous review-tier block, so a draft can never be lifted over reviewed knowledge. `src/retrieve/embedding.ts` is the runtime: it lazily loads `@huggingface/transformers` (q8 ONNX, CPU) only when a cross-script hit exists, embeds the query plus those hits only, and caches text vectors in SQLite (`embedding_vectors`, keyed by `(model, sha256(text))`, 1.5 KB/vector at 384-dim, `CREATE TABLE IF NOT EXISTS` beside the D77 counters, never dropped by a rebuild). A same-language search never loads a model and never reads the cache. **Tax, measured and published** (Windows x64, Node 26, CPU): q8 model **112.8 MB** on disk, **0.76 s** warm load, **497 MB** RSS, **3.1 ms** median per query; fp32 (the 2026-10-07 parity run) 448.5 MB / 1.06 s / 874 MB / 5.2 ms. The fixture cannot distinguish q8 from fp32, so q8 ships. Config is two flat keys, both in `SETTABLE_KEYS`: `crossLingualRerank` (**default false**) and `embeddingModel` (default the benched MiniLM; a user pick must ship a quantized ONNX file). The runtime package is deliberately **not** a dependency - the default install stays zero-download: `npm install -g open-memex @huggingface/transformers` opts in, and with the flag on but the package missing, search degrades to BM25 with one stderr warning; `open-memex doctor` reports the flag, whether the package resolves, and the cached vector count. `search --explain` prints whether the rerank ran, how many cross-script hits were eligible, and every promotion with its cosine. **Explicitly not done:** no RRF or general fusion (it scores 0.864 on the fixture by reordering same-language hits on vector similarity - real, but that is general rerank, which this slice excludes, and 4.7 measured naive fusion demoting vector-#1 hits out of the top-10; it needs its own gate), no chunking or pooled re-run, no embedding on the write path, no new MCP tool (stays 13), no new CLI verb, and no change to D77 / D79 / D92 ordering.
|
|
1164
|
+
*Status (2026-11-20): 已实现(opt-in,0.11.0-alpha.2)- `src/retrieve/rerank.ts` + `src/retrieve/embedding.ts` + `src/store/embeddings.ts` + `crossLingualRerank`/`embeddingModel` 扁平键 + `search --explain` 重排轨迹 + `doctor` 检查;`smoke-pure` 固定纯排序规则。默认关、BM25 先行、只做 EN↔ZH 重排;pooled 规模仍未通过(沿用 2026-10-07 的测量)。通用混合检索若要上线,需要单独一次 gate。*
|
|
@@ -135,6 +135,17 @@ BM25 reproduces the §4.2 lexical ceiling (38.5% vs 40.6%, within implementation
|
|
|
135
135
|
|
|
136
136
|
**Gate verdict: PASS on memory-like docs, methodology artifact on pooled.** The pooled corpus does not resemble open-memex memories (short, focused) — it tested single-vector-per-long-doc, which nobody ships. The fixture is the product-representative test, and there the multilingual vector beats BM25 by **+12pp R@5**, specifically on the cross-lingual slice. A chunked rerun was deliberately skipped (4× compute on a non-representative corpus). The 40.6% lexical ceiling stands as the BM25 bar; the semantic layer's value is proven where the product lives.
|
|
137
137
|
|
|
138
|
+
**Re-measurement (2026-11-20, D96 — decision, not new method).** The fixture has since grown to 60 memories / 47 queries and the lexical arm improved (D80/D81/D83), so the gate was re-run on current code, now with a **rerank arm** in the shape the project would actually ship: BM25 retrieves, and embeddings may only reorder *cross-script* (EN↔ZH) hits inside a contiguous run, inside one review tier, with a cosine floor.
|
|
139
|
+
|
|
140
|
+
| arm (60 memories / 47 queries, feedback off) | R@1 | R@5 | MRR |
|
|
141
|
+
|---|---|---|---|
|
|
142
|
+
| BM25 (shipped) | 66.0% | 97.9% | 0.804 |
|
|
143
|
+
| vec-only | 76.6% | 91.5% | 0.832 |
|
|
144
|
+
| naive RRF | 78.7% | 97.9% | 0.864 |
|
|
145
|
+
| **rerank @ cosine ≥ 0.2** | **70.2%** | **97.9%** | **0.825** |
|
|
146
|
+
|
|
147
|
+
On the six genuinely cross-script queries the rerank lifts R@1 from **0% to 33.3%** and MRR from **0.431 to 0.597**; the 41 same-language queries are identical at every floor (that is the containment rule, not a coincidence). Depth-8 (rerank only the returned set) holds at 0.823. The pooled ceiling is unchanged — BM25 reproduces 38.3% R@5 on the 22,419-session corpus, and the vector arms were not re-run there (the 2026-10-07 collapse is a single-vector-on-long-docs artifact; the rerank is near-inert on that corpus anyway: 0/470 questions are CJK, 109/22,419 sessions contain CJK). Two findings stand out: (1) **RRF now beats the rerank arm** (0.864 vs 0.825) by reordering same-language hits too — that is general fusion, outside D96's EN↔ZH scope, and it needs its own gate; (2) the rerank's gain is entirely a *ranking* gain (R@5 was already 100% on the slice), which is exactly what a BM25-first design can promise. Tax: q8 model 112.8 MB, 0.76 s load, 497 MB RSS, 3.1 ms/query. Full decision: D96 in `docs/design/decisions.md`.
|
|
148
|
+
|
|
138
149
|
## 5. Discussion
|
|
139
150
|
|
|
140
151
|
**OR semantics does the work; everything else is trim.** Of +0.66 total explainable MRR, OR contributes +0.652 and the remaining factors ±0.01. The lexical lemon is squeezed — further gains will not come from query-string tweaks.
|
package/package.json
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "open-memex",
|
|
3
|
-
"version": "0.11.0
|
|
4
|
-
"mcpName": "io.github.stoneskin/open-memex",
|
|
5
|
-
"description": "Local-first memory layer and protocol for AI coding agents. Markdown source of truth, SQLite FTS5 index, zero cloud.",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"mcp",
|
|
8
|
-
"model-context-protocol",
|
|
9
|
-
"mcp-server",
|
|
10
|
-
"opencode",
|
|
11
|
-
"ai-agents",
|
|
12
|
-
"agent-memory",
|
|
13
|
-
"persistent-memory",
|
|
14
|
-
"local-first",
|
|
15
|
-
"sqlite",
|
|
16
|
-
"fts5",
|
|
17
|
-
"markdown",
|
|
18
|
-
"memory",
|
|
19
|
-
"copilot",
|
|
20
|
-
"cursor",
|
|
21
|
-
"claude-code",
|
|
22
|
-
"vscode",
|
|
23
|
-
"knowledge-management",
|
|
24
|
-
"developer-tools",
|
|
25
|
-
"synonyms"
|
|
26
|
-
],
|
|
27
|
-
"type": "module",
|
|
28
|
-
"license": "Apache-2.0",
|
|
29
|
-
"repository": {
|
|
30
|
-
"type": "git",
|
|
31
|
-
"url": "git+https://github.com/stoneskin/open-memex.git"
|
|
32
|
-
},
|
|
33
|
-
"homepage": "https://github.com/stoneskin/open-memex#readme",
|
|
34
|
-
"bugs": {
|
|
35
|
-
"url": "https://github.com/stoneskin/open-memex/issues"
|
|
36
|
-
},
|
|
37
|
-
"main": "src/index.ts",
|
|
38
|
-
"scripts": {
|
|
39
|
-
"typecheck": "tsc --noEmit",
|
|
40
|
-
"cli": "node --experimental-strip-types src/cli.ts",
|
|
41
|
-
"mcp": "node --experimental-strip-types src/mcp.ts",
|
|
42
|
-
"build": "tsc -p tsconfig.build.json && node scripts/build-stamp.mjs",
|
|
43
|
-
"prepublishOnly": "npm run build",
|
|
44
|
-
"postinstall": "node scripts/postinstall.js",
|
|
45
|
-
"test-full": "node --experimental-strip-types scripts/test-full.ts"
|
|
46
|
-
},
|
|
47
|
-
"dependencies": {
|
|
48
|
-
"@modelcontextprotocol/sdk": "^1.30.1",
|
|
49
|
-
"better-sqlite3": "^13.0.3",
|
|
50
|
-
"js-yaml": "^4.1.0",
|
|
51
|
-
"zod": "^4.1.8"
|
|
52
|
-
},
|
|
53
|
-
"devDependencies": {
|
|
54
|
-
"@opencode-ai/plugin": "^1.18.30",
|
|
55
|
-
"@types/better-sqlite3": "^7.6.11",
|
|
56
|
-
"@types/js-yaml": "^4.0.9",
|
|
57
|
-
"@types/node": "^22.0.0",
|
|
58
|
-
"typescript": "^5.6.0"
|
|
59
|
-
},
|
|
60
|
-
"bin": {
|
|
61
|
-
"open-memex": "dist/cli.js"
|
|
62
|
-
},
|
|
63
|
-
"engines": {
|
|
64
|
-
"node": ">=22.14.0"
|
|
65
|
-
}
|
|
66
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "open-memex",
|
|
3
|
+
"version": "0.11.0",
|
|
4
|
+
"mcpName": "io.github.stoneskin/open-memex",
|
|
5
|
+
"description": "Local-first memory layer and protocol for AI coding agents. Markdown source of truth, SQLite FTS5 index, zero cloud.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"mcp",
|
|
8
|
+
"model-context-protocol",
|
|
9
|
+
"mcp-server",
|
|
10
|
+
"opencode",
|
|
11
|
+
"ai-agents",
|
|
12
|
+
"agent-memory",
|
|
13
|
+
"persistent-memory",
|
|
14
|
+
"local-first",
|
|
15
|
+
"sqlite",
|
|
16
|
+
"fts5",
|
|
17
|
+
"markdown",
|
|
18
|
+
"memory",
|
|
19
|
+
"copilot",
|
|
20
|
+
"cursor",
|
|
21
|
+
"claude-code",
|
|
22
|
+
"vscode",
|
|
23
|
+
"knowledge-management",
|
|
24
|
+
"developer-tools",
|
|
25
|
+
"synonyms"
|
|
26
|
+
],
|
|
27
|
+
"type": "module",
|
|
28
|
+
"license": "Apache-2.0",
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://github.com/stoneskin/open-memex.git"
|
|
32
|
+
},
|
|
33
|
+
"homepage": "https://github.com/stoneskin/open-memex#readme",
|
|
34
|
+
"bugs": {
|
|
35
|
+
"url": "https://github.com/stoneskin/open-memex/issues"
|
|
36
|
+
},
|
|
37
|
+
"main": "src/index.ts",
|
|
38
|
+
"scripts": {
|
|
39
|
+
"typecheck": "tsc --noEmit",
|
|
40
|
+
"cli": "node --experimental-strip-types src/cli.ts",
|
|
41
|
+
"mcp": "node --experimental-strip-types src/mcp.ts",
|
|
42
|
+
"build": "tsc -p tsconfig.build.json && node scripts/build-stamp.mjs",
|
|
43
|
+
"prepublishOnly": "npm run build",
|
|
44
|
+
"postinstall": "node scripts/postinstall.js",
|
|
45
|
+
"test-full": "node --experimental-strip-types scripts/test-full.ts"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"@modelcontextprotocol/sdk": "^1.30.1",
|
|
49
|
+
"better-sqlite3": "^13.0.3",
|
|
50
|
+
"js-yaml": "^4.1.0",
|
|
51
|
+
"zod": "^4.1.8"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@opencode-ai/plugin": "^1.18.30",
|
|
55
|
+
"@types/better-sqlite3": "^7.6.11",
|
|
56
|
+
"@types/js-yaml": "^4.0.9",
|
|
57
|
+
"@types/node": "^22.0.0",
|
|
58
|
+
"typescript": "^5.6.0"
|
|
59
|
+
},
|
|
60
|
+
"bin": {
|
|
61
|
+
"open-memex": "dist/cli.js"
|
|
62
|
+
},
|
|
63
|
+
"engines": {
|
|
64
|
+
"node": ">=22.14.0"
|
|
65
|
+
}
|
|
66
|
+
}
|