recallnest 1.4.1
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/.claude-plugin/CLAUDE.md +29 -0
- package/.claude-plugin/marketplace.json +18 -0
- package/.env.example +3 -0
- package/.github/workflows/ci.yml +28 -0
- package/.mcp.json +9 -0
- package/CHANGELOG.md +51 -0
- package/CLAUDE.md +42 -0
- package/DEMO.md +94 -0
- package/EVAL.md +89 -0
- package/FAILURES.md +75 -0
- package/LICENSE +21 -0
- package/OPERATIONS.md +59 -0
- package/README.md +427 -0
- package/README_CN.md +425 -0
- package/ROADMAP.md +198 -0
- package/assets/recallnest-workbench.png +0 -0
- package/assets/ui/app.js +807 -0
- package/assets/ui/index.html +154 -0
- package/assets/ui/styles.css +605 -0
- package/assets/wechat-qr.jpg +0 -0
- package/config.json.example +38 -0
- package/daily-recall.sh +87 -0
- package/daily-reflections/2026-03-05.md +15 -0
- package/daily-reflections/2026-03-06.md +15 -0
- package/daily-reflections/2026-03-07.md +7 -0
- package/daily-reflections/2026-03-08.md +34 -0
- package/daily-reflections/2026-03-09.md +35 -0
- package/daily-reflections/2026-03-10.md +36 -0
- package/daily-reflections/2026-03-11.md +35 -0
- package/daily-reflections/2026-03-12.md +36 -0
- package/daily-reflections/2026-03-13.md +35 -0
- package/daily-reflections/2026-03-14.md +35 -0
- package/daily-reflections/2026-03-15.md +35 -0
- package/daily-reflections/2026-03-16.md +41 -0
- package/daily-reflections/2026-03-17.md +10 -0
- package/daily-reflections/2026-03-18.md +10 -0
- package/daily-reflections/2026-03-19.md +10 -0
- package/daily-reflections/2026-03-20.md +10 -0
- package/daily-reflections/2026-03-21.md +10 -0
- package/daily-reflections/2026-03-22.md +10 -0
- package/daily-reflections/2026-03-23.md +10 -0
- package/daily-reflections/2026-03-24.md +10 -0
- package/daily-reflections/2026-03-25.md +32 -0
- package/daily-reflections/2026-03-26.md +37 -0
- package/daily-reflections/2026-03-27.md +35 -0
- package/daily-reflections/2026-03-28.md +35 -0
- package/daily-reflections/2026-03-29.md +35 -0
- package/daily-reflections/2026-03-30.md +36 -0
- package/daily-reflections/2026-03-31.md +35 -0
- package/daily-reflections/2026-04-01.md +35 -0
- package/docs/api-reference.md +1291 -0
- package/docs/architecture.md +168 -0
- package/docs/memory-boundary-contract.md +226 -0
- package/docs/memory-categories.md +119 -0
- package/docs/pipeline-audit-ultramemory.md +177 -0
- package/docs/plans/2026-03-08-query-expansion.md +270 -0
- package/docs/plans/2026-03-16-continuity-layer.md +196 -0
- package/docs/plans/mcp-tiering-plan.md +126 -0
- package/docs/research/recall-quality-audit-2026-03-22.md +153 -0
- package/docs/self-evolution.md +198 -0
- package/docs/superpowers/plans/2026-03-19-ingest-pipeline-upgrade.md +782 -0
- package/docs/superpowers/specs/2026-03-19-ingest-pipeline-upgrade-design.md +77 -0
- package/docs/superpowers/specs/2026-03-23-pull-claude-desktop-design.md +95 -0
- package/eval/cases.json +85 -0
- package/eval/continuity/case-seeds.json +90 -0
- package/eval/continuity/cases.json +302 -0
- package/eval/continuity/memory-seeds.json +26 -0
- package/eval/continuity/pattern-seeds.json +100 -0
- package/eval/continuity/results-2026-03-16.md +117 -0
- package/eval/continuity/results-2026-03-19.md +453 -0
- package/eval/continuity/runbook.md +110 -0
- package/eval/continuity/seed-cases.md +54 -0
- package/eval/reports/2026-03-06-abstract-query-baseline.md +96 -0
- package/eval/reports/2026-03-06-aws-ssh-baseline.md +82 -0
- package/eval/reports/2026-03-06-baseline.md +82 -0
- package/eval/reports/query-expansion.md +138 -0
- package/integrations/README.md +57 -0
- package/integrations/claude-code/README.md +133 -0
- package/integrations/claude-code/claude-md-snippet.md +31 -0
- package/integrations/claude-code/setup.sh +66 -0
- package/integrations/claude-code/smoke-continuity.sh +452 -0
- package/integrations/codex/README.md +49 -0
- package/integrations/codex/agents-md-snippet.md +31 -0
- package/integrations/codex/setup.sh +58 -0
- package/integrations/examples/claude-agent-sdk/memory-agent.ts +182 -0
- package/integrations/examples/langchain/memory-chain.py +111 -0
- package/integrations/examples/openai-agents-sdk/memory-agent.py +109 -0
- package/integrations/gemini-cli/README.md +57 -0
- package/integrations/gemini-cli/gemini-md-snippet.md +31 -0
- package/integrations/gemini-cli/setup.sh +64 -0
- package/integrations/shared/install-managed-block.sh +51 -0
- package/lm +19 -0
- package/package.json +50 -0
- package/plan-v1.2-distributable.md +105 -0
- package/scripts/archive-distilled-junk.ts +116 -0
- package/scripts/backfill-l0l1l2.ts +98 -0
- package/scripts/blind-scan.ts +588 -0
- package/scripts/cleanup-step1-exact-dups.ts +117 -0
- package/scripts/cleanup-step2-template-dups.ts +113 -0
- package/scripts/cleanup-step3-stale-content.ts +149 -0
- package/scripts/cleanup-step4-orphan-scopes.ts +131 -0
- package/scripts/delete-distilled-junk.ts +88 -0
- package/scripts/distill-facts.ts +305 -0
- package/scripts/health-check.ts +343 -0
- package/scripts/incremental-ingest.sh +71 -0
- package/scripts/mlp-health-check.ts +382 -0
- package/scripts/pull-claude-desktop.ts +515 -0
- package/scripts/re-ingest-cc.sh +66 -0
- package/scripts/rebalance-memory-health.ts +181 -0
- package/scripts/run-desktop-ingest.sh +11 -0
- package/scripts/start-server.sh +12 -0
- package/scripts/viz-dashboard.html +423 -0
- package/scripts/viz-export.ts +703 -0
- package/src/__tests__/access-tracker-novelty.test.ts +228 -0
- package/src/__tests__/auto-consolidation.test.ts +168 -0
- package/src/__tests__/auto-recall.test.ts +131 -0
- package/src/__tests__/batch-dedup.test.ts +65 -0
- package/src/__tests__/capture-engine.test.ts +1142 -0
- package/src/__tests__/capture-heuristic.test.ts +171 -0
- package/src/__tests__/cascade-forget.test.ts +210 -0
- package/src/__tests__/category-min-scores.test.ts +33 -0
- package/src/__tests__/confidence-tracker.test.ts +196 -0
- package/src/__tests__/conflict-advisor.test.ts +206 -0
- package/src/__tests__/conflict-escalation.test.ts +149 -0
- package/src/__tests__/conflict-lifecycle.test.ts +83 -0
- package/src/__tests__/conflict-output.test.ts +85 -0
- package/src/__tests__/conflict-store.test.ts +374 -0
- package/src/__tests__/consolidation-engine.test.ts +181 -0
- package/src/__tests__/context-composer-pins.test.ts +64 -0
- package/src/__tests__/context-composer-task-selection.test.ts +24 -0
- package/src/__tests__/context-renderer.test.ts +91 -0
- package/src/__tests__/continuity-eval.test.ts +275 -0
- package/src/__tests__/continuity-schema.test.ts +97 -0
- package/src/__tests__/core-recall-eval.test.ts +235 -0
- package/src/__tests__/core-summary.test.ts +109 -0
- package/src/__tests__/dedup-actions.test.ts +58 -0
- package/src/__tests__/deterministic-id.test.ts +39 -0
- package/src/__tests__/doctor.test.ts +303 -0
- package/src/__tests__/drill-down.test.ts +108 -0
- package/src/__tests__/embedder.test.ts +122 -0
- package/src/__tests__/entity-resolver.test.ts +58 -0
- package/src/__tests__/event-segmenter.test.ts +153 -0
- package/src/__tests__/hotness-blend.test.ts +76 -0
- package/src/__tests__/ingest.test.ts +360 -0
- package/src/__tests__/kg-extractor.test.ts +184 -0
- package/src/__tests__/kg-store.test.ts +198 -0
- package/src/__tests__/llm-consolidation.test.ts +226 -0
- package/src/__tests__/memory-boundaries.test.ts +237 -0
- package/src/__tests__/memory-health-rebalance.test.ts +144 -0
- package/src/__tests__/memory-output.test.ts +215 -0
- package/src/__tests__/multi-vector.test.ts +242 -0
- package/src/__tests__/ppr-traversal.test.ts +256 -0
- package/src/__tests__/preference-guard-smoke.test.ts +211 -0
- package/src/__tests__/preference-matcher.test.ts +230 -0
- package/src/__tests__/preference-slots.test.ts +106 -0
- package/src/__tests__/prospective-memory.test.ts +283 -0
- package/src/__tests__/query-entity-detector.test.ts +171 -0
- package/src/__tests__/query-expander.test.ts +34 -0
- package/src/__tests__/recall-mode.test.ts +64 -0
- package/src/__tests__/result-synthesizer.test.ts +198 -0
- package/src/__tests__/resume-context.test.ts +4743 -0
- package/src/__tests__/retrieval-trace.test.ts +213 -0
- package/src/__tests__/retriever-boundary-weight.test.ts +136 -0
- package/src/__tests__/retroactive-boost.test.ts +223 -0
- package/src/__tests__/scope-inventory.test.ts +200 -0
- package/src/__tests__/scope-policy.test.ts +69 -0
- package/src/__tests__/session-checkpoint.test.ts +259 -0
- package/src/__tests__/session-gc.test.ts +215 -0
- package/src/__tests__/store-scope-audit.test.ts +81 -0
- package/src/__tests__/temporal-parser.test.ts +241 -0
- package/src/__tests__/term-registry.test.ts +121 -0
- package/src/__tests__/tool-output-compressor.test.ts +133 -0
- package/src/__tests__/version-manager.test.ts +213 -0
- package/src/__tests__/workflow-observation.test.ts +400 -0
- package/src/access-tracker.ts +316 -0
- package/src/adaptive-retrieval.ts +64 -0
- package/src/api-server.ts +667 -0
- package/src/asset-sync.ts +79 -0
- package/src/auto-consolidation.ts +133 -0
- package/src/auto-gc.ts +124 -0
- package/src/auto-recall.ts +95 -0
- package/src/capture-engine.ts +931 -0
- package/src/capture-heuristic.ts +177 -0
- package/src/cascade-forget.ts +135 -0
- package/src/chunker.ts +253 -0
- package/src/cli.ts +1917 -0
- package/src/confidence-tracker.ts +166 -0
- package/src/conflict-advisor.ts +433 -0
- package/src/conflict-engine.ts +181 -0
- package/src/conflict-escalation.ts +138 -0
- package/src/conflict-lifecycle.ts +67 -0
- package/src/conflict-output.ts +218 -0
- package/src/conflict-schema.ts +130 -0
- package/src/conflict-store.ts +127 -0
- package/src/consolidation-engine.ts +256 -0
- package/src/context-composer-pins.ts +183 -0
- package/src/context-composer-queries.ts +121 -0
- package/src/context-composer-scope.ts +56 -0
- package/src/context-composer-stable-selection.ts +200 -0
- package/src/context-composer-stable.ts +217 -0
- package/src/context-composer-task-fallbacks.ts +36 -0
- package/src/context-composer-task-ranking.ts +197 -0
- package/src/context-composer-task-results.ts +137 -0
- package/src/context-composer-task-selection.ts +342 -0
- package/src/context-composer-text.ts +57 -0
- package/src/context-composer.ts +300 -0
- package/src/context-renderer.ts +179 -0
- package/src/decay-engine.ts +189 -0
- package/src/doctor.ts +543 -0
- package/src/embedder.ts +557 -0
- package/src/entity-resolver.ts +131 -0
- package/src/eval.ts +632 -0
- package/src/event-segmenter.ts +216 -0
- package/src/ingest.ts +1822 -0
- package/src/kg-extractor.ts +217 -0
- package/src/kg-store.ts +353 -0
- package/src/legacy-scope-review.ts +53 -0
- package/src/llm-client.ts +629 -0
- package/src/llm-consolidation.ts +168 -0
- package/src/mcp-server.ts +1337 -0
- package/src/memory-assets.ts +475 -0
- package/src/memory-boundaries.ts +354 -0
- package/src/memory-health-rebalance.ts +220 -0
- package/src/memory-output.ts +474 -0
- package/src/memory-schema.ts +184 -0
- package/src/multi-vector.ts +234 -0
- package/src/noise-filter.ts +155 -0
- package/src/ppr-traversal.ts +279 -0
- package/src/preference-matcher.ts +174 -0
- package/src/preference-slots.ts +259 -0
- package/src/prospective-memory.ts +198 -0
- package/src/query-entity-detector.ts +207 -0
- package/src/query-expander.ts +98 -0
- package/src/result-synthesizer.ts +114 -0
- package/src/retrieval-profiles.ts +101 -0
- package/src/retrieval-trace.ts +94 -0
- package/src/retriever.ts +1338 -0
- package/src/retroactive-boost.ts +154 -0
- package/src/rif.ts +73 -0
- package/src/runtime-config.ts +172 -0
- package/src/schema-utils.ts +56 -0
- package/src/scope-inventory.ts +310 -0
- package/src/scope-policy.ts +142 -0
- package/src/session-engine.ts +168 -0
- package/src/session-output.ts +96 -0
- package/src/session-schema.ts +60 -0
- package/src/session-store.ts +293 -0
- package/src/stderr-log.ts +16 -0
- package/src/store.ts +903 -0
- package/src/temporal-parser.ts +318 -0
- package/src/term-registry.ts +791 -0
- package/src/tool-output-compressor.ts +115 -0
- package/src/tracker.ts +57 -0
- package/src/ui-server.ts +430 -0
- package/src/version-manager.ts +172 -0
- package/src/workflow-observation-engine.ts +316 -0
- package/src/workflow-observation-managed.ts +83 -0
- package/src/workflow-observation-output.ts +86 -0
- package/src/workflow-observation-schema.ts +87 -0
- package/src/workflow-observation-scope-review.ts +409 -0
- package/src/workflow-observation-store.ts +69 -0
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>RecallNest</title>
|
|
7
|
+
<link rel="stylesheet" href="/ui/styles.css" />
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<div class="page-shell">
|
|
11
|
+
<header class="hero">
|
|
12
|
+
<div>
|
|
13
|
+
<p class="eyebrow">RecallNest</p>
|
|
14
|
+
<h1>AI transcript memory workbench.</h1>
|
|
15
|
+
<p class="subtitle">Search, explain, distill, pin.</p>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="hero-badge">
|
|
18
|
+
<span>MCP-native</span>
|
|
19
|
+
<span>Hybrid Retrieval</span>
|
|
20
|
+
<span>Asset Recall</span>
|
|
21
|
+
</div>
|
|
22
|
+
</header>
|
|
23
|
+
|
|
24
|
+
<section class="brand-strip">
|
|
25
|
+
<button class="brand-card quick-card" data-quick-action="search">
|
|
26
|
+
<strong>Search</strong>
|
|
27
|
+
<span>run ranked recall</span>
|
|
28
|
+
</button>
|
|
29
|
+
<button class="brand-card quick-card" data-quick-action="distill">
|
|
30
|
+
<strong>Distill</strong>
|
|
31
|
+
<span>build a briefing</span>
|
|
32
|
+
</button>
|
|
33
|
+
<button class="brand-card quick-card" data-quick-action="pin">
|
|
34
|
+
<strong>Pin</strong>
|
|
35
|
+
<span>jump to pin flow</span>
|
|
36
|
+
</button>
|
|
37
|
+
</section>
|
|
38
|
+
|
|
39
|
+
<main class="workspace">
|
|
40
|
+
<section class="control-panel card">
|
|
41
|
+
<div class="section-head">
|
|
42
|
+
<h2>Query Console</h2>
|
|
43
|
+
<button id="statsButton" class="ghost-button">Refresh Stats</button>
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<div class="view-switch" id="viewSwitch">
|
|
47
|
+
<button class="view-tab is-active" data-view="search">Search</button>
|
|
48
|
+
<button class="view-tab" data-view="pins">Assets</button>
|
|
49
|
+
<button class="view-tab" data-view="exports">Exports</button>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
<label class="field">
|
|
53
|
+
<span>Query</span>
|
|
54
|
+
<textarea id="queryInput" rows="4" placeholder="telegram bridge, OpenClaw memory, writing style..."></textarea>
|
|
55
|
+
</label>
|
|
56
|
+
|
|
57
|
+
<div class="grid two-up">
|
|
58
|
+
<label class="field">
|
|
59
|
+
<span>Profile</span>
|
|
60
|
+
<select id="profileInput">
|
|
61
|
+
<option value="default">default</option>
|
|
62
|
+
<option value="writing">writing</option>
|
|
63
|
+
<option value="debug">debug</option>
|
|
64
|
+
<option value="fact-check">fact-check</option>
|
|
65
|
+
</select>
|
|
66
|
+
</label>
|
|
67
|
+
<label class="field">
|
|
68
|
+
<span>Scope</span>
|
|
69
|
+
<input id="scopeInput" type="text" placeholder="cc / codex / gemini / memory / asset" />
|
|
70
|
+
</label>
|
|
71
|
+
</div>
|
|
72
|
+
|
|
73
|
+
<div class="grid two-up">
|
|
74
|
+
<label class="field">
|
|
75
|
+
<span>Limit</span>
|
|
76
|
+
<input id="limitInput" type="number" value="5" min="1" max="20" />
|
|
77
|
+
</label>
|
|
78
|
+
<label class="field">
|
|
79
|
+
<span>Export Format</span>
|
|
80
|
+
<select id="formatInput">
|
|
81
|
+
<option value="md">md</option>
|
|
82
|
+
<option value="json">json</option>
|
|
83
|
+
</select>
|
|
84
|
+
</label>
|
|
85
|
+
</div>
|
|
86
|
+
|
|
87
|
+
<div class="action-row">
|
|
88
|
+
<button data-mode="search" class="action-button primary">Search</button>
|
|
89
|
+
<button data-mode="explain" class="action-button">Explain</button>
|
|
90
|
+
<button data-mode="distill" class="action-button">Distill</button>
|
|
91
|
+
<button id="briefButton" class="action-button">Brief</button>
|
|
92
|
+
<button id="exportButton" class="action-button accent">Export</button>
|
|
93
|
+
</div>
|
|
94
|
+
|
|
95
|
+
<p id="statusLine" class="status-line">Ready.</p>
|
|
96
|
+
</section>
|
|
97
|
+
|
|
98
|
+
<section class="result-panel card">
|
|
99
|
+
<div class="section-head">
|
|
100
|
+
<h2 id="resultTitle">Result Surface</h2>
|
|
101
|
+
<button id="reloadPinsButton" class="ghost-button">Load Assets</button>
|
|
102
|
+
</div>
|
|
103
|
+
<div id="viewToolbar" class="view-toolbar is-hidden">
|
|
104
|
+
<input id="viewFilterInput" type="text" placeholder="Filter current view..." />
|
|
105
|
+
<div id="assetTagBar" class="tag-bar is-hidden"></div>
|
|
106
|
+
<div id="assetOpsBar" class="ops-bar is-hidden">
|
|
107
|
+
<span id="dirtyBriefCount" class="ops-copy">Dirty briefs: 0</span>
|
|
108
|
+
<button id="cleanDirtyBriefsButton" class="ghost-button">Archive Dirty Briefs</button>
|
|
109
|
+
</div>
|
|
110
|
+
</div>
|
|
111
|
+
<div id="resultMeta" class="result-meta">Run a query to populate structured cards.</div>
|
|
112
|
+
<div id="artifactBar" class="artifact-bar"></div>
|
|
113
|
+
<div id="resultCards" class="result-cards"></div>
|
|
114
|
+
</section>
|
|
115
|
+
|
|
116
|
+
<section class="side-panel card">
|
|
117
|
+
<div class="section-head">
|
|
118
|
+
<h2>Recall Actions</h2>
|
|
119
|
+
</div>
|
|
120
|
+
|
|
121
|
+
<label class="field">
|
|
122
|
+
<span>Memory ID</span>
|
|
123
|
+
<input id="pinMemoryId" type="text" placeholder="Click a result card or paste a short ID" />
|
|
124
|
+
</label>
|
|
125
|
+
<label class="field">
|
|
126
|
+
<span>Optional Title</span>
|
|
127
|
+
<input id="pinTitle" type="text" placeholder="Leave blank to auto-title" />
|
|
128
|
+
</label>
|
|
129
|
+
<button id="pinButton" class="action-button primary full-width">Pin Selected Memory</button>
|
|
130
|
+
|
|
131
|
+
<div class="section-head compact">
|
|
132
|
+
<h3>Trace Output</h3>
|
|
133
|
+
<button id="toggleTraceButton" class="ghost-button">Expand</button>
|
|
134
|
+
</div>
|
|
135
|
+
<pre id="resultOutput" class="mini-output tall is-collapsed">Run a search to see the raw trace.</pre>
|
|
136
|
+
|
|
137
|
+
<div class="section-head compact">
|
|
138
|
+
<h3>Index Stats</h3>
|
|
139
|
+
<button id="toggleStatsButton" class="ghost-button">Expand</button>
|
|
140
|
+
</div>
|
|
141
|
+
<pre id="statsOutput" class="mini-output is-collapsed">Loading stats...</pre>
|
|
142
|
+
|
|
143
|
+
<div class="section-head compact">
|
|
144
|
+
<h3>Memory Assets</h3>
|
|
145
|
+
<button id="togglePinsButton" class="ghost-button">Expand</button>
|
|
146
|
+
</div>
|
|
147
|
+
<pre id="pinsOutput" class="mini-output is-collapsed">No assets loaded yet.</pre>
|
|
148
|
+
</section>
|
|
149
|
+
</main>
|
|
150
|
+
</div>
|
|
151
|
+
|
|
152
|
+
<script type="module" src="/ui/app.js"></script>
|
|
153
|
+
</body>
|
|
154
|
+
</html>
|