memorix 1.2.7 → 1.2.9
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/CHANGELOG.md +15 -0
- package/dist/cli/index.js +19531 -19017
- package/dist/cli/index.js.map +1 -1
- package/dist/dashboard/static/app.js +7 -2
- package/dist/index.js +7870 -7497
- package/dist/index.js.map +1 -1
- package/dist/maintenance-jobs-o1rYSFcM.d.ts +36 -0
- package/dist/maintenance-runner.d.ts +1 -28
- package/dist/maintenance-runner.js +5937 -5596
- package/dist/maintenance-runner.js.map +1 -1
- package/dist/memcode-runtime/CHANGELOG.md +15 -0
- package/dist/sdk.js +7866 -7493
- package/dist/sdk.js.map +1 -1
- package/dist/vector-backfill-runner.d.ts +31 -0
- package/dist/vector-backfill-runner.js +12670 -0
- package/dist/vector-backfill-runner.js.map +1 -0
- package/docs/dev-log/progress.txt +25 -0
- package/package.json +3 -3
- package/plugins/claude/memorix/.claude-plugin/plugin.json +1 -1
- package/plugins/codex/memorix/.codex-plugin/plugin.json +1 -1
- package/plugins/copilot/memorix/plugin.json +1 -1
- package/plugins/gemini/memorix/gemini-extension.json +1 -1
- package/plugins/omp/memorix/package.json +1 -1
- package/plugins/openclaw/memorix/.codex-plugin/plugin.json +1 -1
- package/plugins/pi/memorix/package.json +1 -1
- package/src/cli/commands/agent-integrations.ts +102 -5
- package/src/cli/commands/operator-shared.ts +4 -1
- package/src/cli/commands/serve-http.ts +58 -50
- package/src/cli/commands/setup.ts +44 -0
- package/src/dashboard/server.ts +54 -63
- package/src/memory/observations.ts +175 -99
- package/src/memory/retention.ts +106 -28
- package/src/memory/session.ts +71 -12
- package/src/runtime/maintenance-jobs.ts +84 -4
- package/src/runtime/project-maintenance.ts +63 -6
- package/src/runtime/vector-backfill-runner.ts +144 -0
- package/src/search/intent-detector.ts +39 -1
- package/src/server.ts +5 -5
|
@@ -216,6 +216,7 @@ const i18n = {
|
|
|
216
216
|
backfillPending: 'Backfill Pending',
|
|
217
217
|
vectorsMissing: 'vectors missing',
|
|
218
218
|
noBackfillNeeded: 'All vectors indexed',
|
|
219
|
+
vectorStatusSessionLocal: 'Active MCP session',
|
|
219
220
|
providerReady: 'Ready',
|
|
220
221
|
providerUnavailable: 'Unavailable',
|
|
221
222
|
providerDisabled: 'Disabled (BM25 only)',
|
|
@@ -647,6 +648,7 @@ const i18n = {
|
|
|
647
648
|
backfillPending: '回填待处理',
|
|
648
649
|
vectorsMissing: '条向量缺失',
|
|
649
650
|
noBackfillNeeded: '所有向量已索引',
|
|
651
|
+
vectorStatusSessionLocal: '由活动 MCP 会话统计',
|
|
650
652
|
providerReady: '就绪',
|
|
651
653
|
providerUnavailable: '不可用',
|
|
652
654
|
providerDisabled: '已禁用 (仅 BM25)',
|
|
@@ -1357,6 +1359,9 @@ async function loadDashboard() {
|
|
|
1357
1359
|
: pendingProposals > 0
|
|
1358
1360
|
? { color: 'var(--accent-blue)', text: `${pendingProposals} ${t('pendingProposals')}` }
|
|
1359
1361
|
: { color: 'var(--accent-green)', text: t('knowledgeReady') };
|
|
1362
|
+
// Standalone dashboards and older control planes do not own the MCP process's
|
|
1363
|
+
// in-memory index. Absence of a proof is not proof that every vector exists.
|
|
1364
|
+
const vectorStatusAvailable = stats.vectorStatus?.available === true;
|
|
1360
1365
|
|
|
1361
1366
|
const typeIcons = {
|
|
1362
1367
|
'session-request': '<span class="iconify" data-icon="lucide:target" style="color:#f87171;"></span>', gotcha: '<span class="iconify" data-icon="lucide:alert-octagon" style="color:#ef4444;"></span>', 'problem-solution': '<span class="iconify" data-icon="lucide:lightbulb" style="color:#fbbf24;"></span>',
|
|
@@ -1418,8 +1423,8 @@ async function loadDashboard() {
|
|
|
1418
1423
|
</div>
|
|
1419
1424
|
<div>
|
|
1420
1425
|
<div style="font-size:11px;color:var(--text-muted);margin-bottom:4px;">${t('backfillPending')}</div>
|
|
1421
|
-
<div style="font-size:14px;font-weight:600;color:${(stats.vectorStatus?.missing || 0) > 0 ? 'var(--accent-amber)' : 'var(--accent-green)'};">
|
|
1422
|
-
${(stats.vectorStatus?.missing || 0) > 0 ? stats.vectorStatus.missing + ' ' + t('vectorsMissing') : t('noBackfillNeeded')}
|
|
1426
|
+
<div style="font-size:14px;font-weight:600;color:${!vectorStatusAvailable ? 'var(--text-muted)' : (stats.vectorStatus?.missing || 0) > 0 ? 'var(--accent-amber)' : 'var(--accent-green)'};">
|
|
1427
|
+
${!vectorStatusAvailable ? t('vectorStatusSessionLocal') : (stats.vectorStatus?.missing || 0) > 0 ? stats.vectorStatus.missing + ' ' + t('vectorsMissing') : t('noBackfillNeeded')}
|
|
1423
1428
|
</div>
|
|
1424
1429
|
</div>
|
|
1425
1430
|
<div>
|