memorix 1.9.5 → 1.9.6
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 +42 -0
- package/README.md +6 -1
- package/README.zh-CN.md +6 -1
- package/dist/cli/index.js +1647 -264
- package/dist/index.d.ts +12 -7
- package/dist/index.js +952 -182
- package/dist/maintenance-runner.js +243 -103
- package/dist/media-audio-runner.js +243 -103
- package/dist/media-video-runner.js +243 -103
- package/dist/memcode-runtime/CHANGELOG.md +42 -0
- package/dist/sdk.js +871 -157
- package/dist/vector-backfill-runner.js +243 -103
- package/docs/API_REFERENCE.md +36 -0
- package/docs/CONFIGURATION.md +43 -0
- package/docs/DEVELOPMENT.md +1 -1
- package/docs/KNOWN_ISSUES_AND_ROADMAP.md +49 -14
- package/docs/PERFORMANCE.md +46 -2
- package/docs/README.md +2 -1
- package/docs/SETUP.md +1 -1
- package/package.json +2 -1
- package/plugins/antigravity/memorix/plugin.json +1 -1
- package/plugins/claude/memorix/.claude-plugin/plugin.json +1 -1
- package/plugins/codebuddy/memorix/.codebuddy-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/hermes/memorix/plugin.yaml +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/server.json +2 -2
- package/src/cli/capability-map.ts +1 -0
- package/src/cli/command-guide.ts +13 -1
- package/src/cli/commands/context.ts +2 -0
- package/src/cli/commands/continuity.ts +155 -0
- package/src/cli/commands/init.ts +5 -2
- package/src/cli/commands/serve-http.ts +242 -42
- package/src/cli/index.ts +3 -1
- package/src/cli/tui/ConfigureView.tsx +2 -0
- package/src/codegraph/auto-context.ts +17 -0
- package/src/config/legacy-loader.ts +2 -2
- package/src/config/resolved-config.ts +8 -5
- package/src/config/yaml-loader.ts +20 -10
- package/src/embedding/api-provider.ts +4 -2
- package/src/embedding/fastembed-provider.ts +47 -14
- package/src/embedding/transformers-provider.ts +29 -7
- package/src/evaluation/memory-quality-gate.ts +90 -0
- package/src/hooks/official-skills.ts +2 -0
- package/src/knowledge/context-assembly.ts +1 -0
- package/src/knowledge/context-receipt.ts +15 -0
- package/src/knowledge/task-continuity.ts +413 -0
- package/src/knowledge/workset.ts +77 -0
- package/src/llm/provider.ts +2 -1
- package/src/orchestrate/coordinator.ts +60 -0
- package/src/orchestrate/effect-ledger.ts +160 -0
- package/src/orchestrate/pipeline-trace.ts +40 -6
- package/src/runtime/maintenance-jobs.ts +12 -6
- package/src/server/modern-mcp-bridge.ts +153 -27
- package/src/server/tool-profile.ts +3 -2
- package/src/server.ts +129 -5
- package/src/store/sqlite-db.ts +144 -4
- package/src/team/team-store.ts +62 -27
package/dist/index.d.ts
CHANGED
|
@@ -258,14 +258,16 @@ declare class TeamStore {
|
|
|
258
258
|
getAgentByInstance(projectId: string, agentType: string, instanceId: string): TeamAgentRow | undefined;
|
|
259
259
|
listAgents(projectId: string, filter?: {
|
|
260
260
|
status?: 'active' | 'inactive';
|
|
261
|
+
limit?: number;
|
|
261
262
|
}): TeamAgentRow[];
|
|
262
263
|
/** List agents across all projects (for global scope) */
|
|
263
|
-
listAllAgents(): TeamAgentRow[];
|
|
264
|
+
listAllAgents(limit?: number): TeamAgentRow[];
|
|
264
265
|
/** List locks across all projects (for global scope) */
|
|
265
|
-
listAllLocks(): TeamLockRow[];
|
|
266
|
+
listAllLocks(limit?: number): TeamLockRow[];
|
|
266
267
|
/** List tasks across all projects (for global scope) */
|
|
267
268
|
listAllTasks(filter?: {
|
|
268
269
|
available?: boolean;
|
|
270
|
+
limit?: number;
|
|
269
271
|
}): TeamTaskRow[];
|
|
270
272
|
heartbeat(agentId: string): boolean;
|
|
271
273
|
leaveAgent(agentId: string): boolean;
|
|
@@ -288,7 +290,7 @@ declare class TeamStore {
|
|
|
288
290
|
}): TeamMessageRow | {
|
|
289
291
|
error: string;
|
|
290
292
|
};
|
|
291
|
-
getInbox(projectId: string, agentId: string): TeamMessageRow[];
|
|
293
|
+
getInbox(projectId: string, agentId: string, limit?: number): TeamMessageRow[];
|
|
292
294
|
getUnreadCount(projectId: string, agentId: string): number;
|
|
293
295
|
markMessageRead(messageId: string): boolean;
|
|
294
296
|
markAllRead(projectId: string, agentId: string): number;
|
|
@@ -334,6 +336,7 @@ declare class TeamStore {
|
|
|
334
336
|
status?: string;
|
|
335
337
|
assignee?: string;
|
|
336
338
|
available?: boolean;
|
|
339
|
+
limit?: number;
|
|
337
340
|
}): TeamTaskRow[];
|
|
338
341
|
/**
|
|
339
342
|
* List available tasks for a specific agent, sorted by role affinity.
|
|
@@ -349,7 +352,7 @@ declare class TeamStore {
|
|
|
349
352
|
};
|
|
350
353
|
releaseLock(projectId: string, file: string, agentId: string): boolean;
|
|
351
354
|
getLockStatus(projectId: string, file: string): TeamLockRow | null;
|
|
352
|
-
listLocks(projectId: string, agentId?: string): TeamLockRow[];
|
|
355
|
+
listLocks(projectId: string, agentId?: string, limit?: number): TeamLockRow[];
|
|
353
356
|
releaseAllLocks(agentId: string): number;
|
|
354
357
|
cleanExpiredLocks(projectId: string): number;
|
|
355
358
|
private migrateFromJsonIfNeeded;
|
|
@@ -464,9 +467,9 @@ declare class KnowledgeGraphManager {
|
|
|
464
467
|
* We provide four profiles:
|
|
465
468
|
* - "micro" (stdio default): Agent-ready project context + bounded recovery/media controls — 9 tools.
|
|
466
469
|
* Suitable for normal MCP clients where every tool schema costs context tokens.
|
|
467
|
-
* - "lite": Core memory CRUD, sessions, reasoning, retention, backup —
|
|
470
|
+
* - "lite": Core memory CRUD, sessions, reasoning, continuity, retention, backup — 21 tools.
|
|
468
471
|
* Suitable for solo users who want the full memory surface without team tools.
|
|
469
|
-
* - "team" (HTTP default): lite + orchestration coordination tools, dashboard, and Knowledge Workspace —
|
|
472
|
+
* - "team" (HTTP default): lite + orchestration coordination tools, dashboard, and Knowledge Workspace — 29 tools.
|
|
470
473
|
* Suitable when an operator explicitly wants task/message/lock surfaces.
|
|
471
474
|
* - "full": Everything, including niche / advanced tools (consolidate, dedup,
|
|
472
475
|
* formation metrics, skills, rules/workspace sync, KG-official, image ingest).
|
|
@@ -507,7 +510,9 @@ declare function createMemorixServer(cwd?: string, existingServer?: McpServer, s
|
|
|
507
510
|
graphManager: KnowledgeGraphManager;
|
|
508
511
|
projectId: string;
|
|
509
512
|
deferredInit: () => Promise<void>;
|
|
510
|
-
|
|
513
|
+
activateProjectRuntime: () => Promise<void>;
|
|
514
|
+
switchProject: (newCwd: string, source?: ProjectBindingSource) => Promise<boolean>;
|
|
515
|
+
getProjectDataDir: () => string;
|
|
511
516
|
isExplicitlyBound: () => boolean;
|
|
512
517
|
getRequestContext: () => MemorixRequestContext;
|
|
513
518
|
handleTransportClose: () => void;
|