memorix 1.8.3 → 1.8.5
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 +53 -0
- package/CLAUDE.md +3 -0
- package/README.md +4 -4
- package/README.zh-CN.md +5 -3
- package/dist/cli/index.js +1544 -635
- package/dist/dashboard/static/app.js +29 -885
- package/dist/dashboard/static/index.html +1 -5
- package/dist/dashboard/static/style.css +36 -503
- package/dist/index.d.ts +4 -4
- package/dist/index.js +214 -73
- package/dist/memcode/index.js +28035 -169
- package/dist/memcode-runtime/CHANGELOG.md +53 -0
- package/dist/sdk.js +30 -14
- package/docs/1.8.0-RELEASE-CANDIDATE-SPEC.md +22 -16
- package/docs/AGENT_OPERATOR_PLAYBOOK.md +2 -2
- package/docs/API_REFERENCE.md +10 -8
- package/docs/DASHBOARD.md +23 -0
- package/docs/DEVELOPMENT.md +2 -2
- package/docs/DOCKER.md +6 -3
- package/docs/INTEGRATIONS.md +1 -1
- package/docs/MODULES.md +46 -20
- package/docs/PERFORMANCE.md +1 -1
- package/docs/README.md +8 -7
- package/docs/SETUP.md +3 -3
- package/package.json +11 -11
- package/plugins/antigravity/memorix/plugin.json +1 -1
- package/plugins/antigravity/memorix/rules/memorix.md +5 -0
- package/plugins/claude/memorix/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/memorix/skills/memorix-memory/SKILL.md +3 -0
- package/plugins/claude/memorix/skills/memorix-mini-skills/SKILL.md +2 -0
- package/plugins/claude/memorix/skills/memorix-orchestrate/SKILL.md +2 -0
- package/plugins/codebuddy/memorix/.codebuddy-plugin/plugin.json +1 -1
- package/plugins/codebuddy/memorix/skills/memorix-memory/SKILL.md +3 -0
- package/plugins/codebuddy/memorix/skills/memorix-mini-skills/SKILL.md +2 -0
- package/plugins/codebuddy/memorix/skills/memorix-orchestrate/SKILL.md +2 -0
- package/plugins/codex/memorix/.codex-plugin/plugin.json +1 -1
- package/plugins/codex/memorix/skills/memorix-memory/SKILL.md +3 -0
- package/plugins/codex/memorix/skills/memorix-mini-skills/SKILL.md +2 -0
- package/plugins/codex/memorix/skills/memorix-orchestrate/SKILL.md +2 -0
- package/plugins/copilot/memorix/plugin.json +1 -1
- package/plugins/copilot/memorix/skills/memorix-memory/SKILL.md +3 -0
- package/plugins/copilot/memorix/skills/memorix-mini-skills/SKILL.md +2 -0
- package/plugins/copilot/memorix/skills/memorix-orchestrate/SKILL.md +2 -0
- package/plugins/cursor/memorix/skills/memorix-memory/SKILL.md +3 -0
- package/plugins/cursor/memorix/skills/memorix-mini-skills/SKILL.md +2 -0
- package/plugins/cursor/memorix/skills/memorix-orchestrate/SKILL.md +2 -0
- package/plugins/gemini/memorix/GEMINI.md +5 -0
- package/plugins/gemini/memorix/gemini-extension.json +1 -1
- package/plugins/hermes/memorix/plugin.yaml +7 -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/plugins/pi/memorix/skills/memorix-memory/SKILL.md +3 -0
- package/plugins/pi/memorix/skills/memorix-mini-skills/SKILL.md +2 -0
- package/plugins/pi/memorix/skills/memorix-orchestrate/SKILL.md +2 -0
- package/server.json +2 -2
- package/src/cli/command-guide.ts +52 -1
- package/src/cli/commands/background.ts +166 -6
- package/src/cli/commands/serve-http.ts +74 -86
- package/src/cli/commands/serve.ts +95 -93
- package/src/cli/index.ts +1 -1
- package/src/dashboard/static/index.html +1 -5
- package/src/dashboard/static/style.css +36 -503
- package/src/hooks/installers/index.ts +3 -0
- package/src/hooks/official-skills.ts +13 -6
- package/src/memory/graph.ts +2 -2
- package/src/server/mcp-diagnostics.ts +9 -7
- package/src/server/mcp-discovery.ts +0 -1
- package/src/server/modern-mcp-bridge.ts +108 -0
- package/src/server/stdio-startup-gate.ts +41 -2
- package/src/server/tool-profile.ts +7 -6
- package/src/server.ts +1 -1
- package/src/store/orama-store.ts +2 -2
- package/src/wiki/types.ts +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "memorix",
|
|
3
3
|
"mcpName": "io.github.AVIDS2/memorix",
|
|
4
|
-
"version": "1.8.
|
|
4
|
+
"version": "1.8.5",
|
|
5
5
|
"description": "Local-first shared memory layer for AI coding agents across MCP clients, Git history, reasoning context, and project sessions.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": false,
|
|
@@ -57,12 +57,19 @@
|
|
|
57
57
|
],
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build:workspaces": "npm --workspaces --if-present run build",
|
|
60
|
-
"build
|
|
60
|
+
"build:runtime": "tsup --config tsup.runtime.config.ts",
|
|
61
|
+
"build:cli": "tsup --config tsup.cli.config.ts",
|
|
62
|
+
"build:memcode": "tsup --config tsup.memcode.config.ts",
|
|
63
|
+
"build": "npm run build:workspaces && node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && npm run build:runtime && npm run build:cli && npm run build:memcode",
|
|
61
64
|
"dev": "tsup --watch",
|
|
62
65
|
"update-models": "npm --workspace @memorix/ai run update-models",
|
|
63
66
|
"start": "node dist/index.js",
|
|
64
67
|
"test": "vitest run --no-file-parallelism --maxWorkers=1 --minWorkers=1",
|
|
65
68
|
"test:mcp-stdio-smoke": "node scripts/mcp-stdio-smoke.mjs",
|
|
69
|
+
"test:mcp-modern-stdio-smoke": "node scripts/mcp-modern-stdio-smoke.mjs",
|
|
70
|
+
"test:mcp-conformance-smoke": "node scripts/mcp-conformance-smoke.mjs",
|
|
71
|
+
"test:mcp-modern-smoke": "node scripts/mcp-modern-smoke.mjs",
|
|
72
|
+
"test:background-start-smoke": "node scripts/background-start-smoke.mjs",
|
|
66
73
|
"test:watch": "vitest",
|
|
67
74
|
"test:llm-live": "MEMORIX_RUN_LIVE_LLM_TESTS=1 vitest run tests/integration/formation-llm-quality.test.ts",
|
|
68
75
|
"test:e2e": "vitest run tests/e2e/",
|
|
@@ -127,14 +134,11 @@
|
|
|
127
134
|
},
|
|
128
135
|
"dependencies": {
|
|
129
136
|
"@clack/prompts": "^0.9.1",
|
|
137
|
+
"@modelcontextprotocol/node": "^2.0.0",
|
|
138
|
+
"@modelcontextprotocol/server": "^2.0.0",
|
|
130
139
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
131
140
|
"@orama/orama": "^3.1.0",
|
|
132
|
-
"@orama/plugin-data-persistence": "^3.1.0",
|
|
133
141
|
"citty": "^0.1.6",
|
|
134
|
-
"cytoscape": "^3.33.1",
|
|
135
|
-
"cytoscape-dagre": "^2.5.0",
|
|
136
|
-
"dagre": "^0.8.5",
|
|
137
|
-
"diff": "^9.0.0",
|
|
138
142
|
"dotenv": "^17.3.1",
|
|
139
143
|
"gpt-tokenizer": "^2.8.0",
|
|
140
144
|
"ink": "^6.8.0",
|
|
@@ -143,9 +147,6 @@
|
|
|
143
147
|
"ink-scroll-view": "^0.3.6",
|
|
144
148
|
"ink-spinner": "^5.0.0",
|
|
145
149
|
"react": "19.2.7",
|
|
146
|
-
"remark": "^15.0.1",
|
|
147
|
-
"remark-stringify": "^11.0.0",
|
|
148
|
-
"undici": "8.10.0",
|
|
149
150
|
"unpdf": "^1.8.0",
|
|
150
151
|
"yaml": "2.9.0",
|
|
151
152
|
"zod": "^3.24.0"
|
|
@@ -174,7 +175,6 @@
|
|
|
174
175
|
},
|
|
175
176
|
"devDependencies": {
|
|
176
177
|
"@types/better-sqlite3": "^7.6.0",
|
|
177
|
-
"@types/diff": "^7.0.0",
|
|
178
178
|
"@types/node": "^22.0.0",
|
|
179
179
|
"@types/react": "19.2.7",
|
|
180
180
|
"ink-testing-library": "^4.0.0",
|
|
@@ -9,9 +9,14 @@ Use Memorix when prior workspace context, decisions, fixes, or handoff state wou
|
|
|
9
9
|
- Use `memorix_search` for focused lookup.
|
|
10
10
|
- Use `memorix_detail` before relying on a specific memory.
|
|
11
11
|
- Use `memorix_store` for durable workspace knowledge.
|
|
12
|
+
- Use `memorix_evidence` when you need to check a memory's source, freshness, or verification state.
|
|
13
|
+
- Use `memorix_feedback` when a memory helped, conflicted with current evidence, or was corrected.
|
|
14
|
+
- Use `memorix_media` for controlled local media import, inspection, and derivation; provider-backed generation remains explicitly gated.
|
|
12
15
|
- Use `longTerm` on `memorix_store` only for a stable fact, reusable procedure, or completed episode that merits explicit review. It creates a candidate, not live context; keep the default project scope and do not use it for routine updates.
|
|
13
16
|
- A `user` + `portable` durable memory in a task brief is intentionally reusable across projects. When it matches the task, use it as background even if it originated elsewhere; it is not a current-project fact. Expand it only when needed with `memorix_detail` and `typedRefs: ["durable:<id>"]`, stating the missing fact as `purpose`.
|
|
14
17
|
- Use `memorix_store_reasoning` for the reason behind a technical decision.
|
|
15
18
|
- Use `memorix_resolve` when completed or outdated memories should stop surfacing.
|
|
16
19
|
|
|
20
|
+
The standard plugin uses the `lite` MCP profile (20 tools). Coordination and advanced tools are opt-in through `--mode team` or `--mode full`; use the CLI fallback instead of repeatedly probing unavailable tools.
|
|
21
|
+
|
|
17
22
|
Do not store secrets, credentials, raw private transcripts, or trivial one-off actions.
|
|
@@ -16,6 +16,9 @@ Use Memorix as the shared memory layer for the active workspace when Memorix too
|
|
|
16
16
|
| Specific past decision, bug, file, or change | `memorix_search` | `memorix memory search --query "<topic>"` |
|
|
17
17
|
| Need the full source for a search hit | `memorix_detail` | `memorix memory detail --id <id>` |
|
|
18
18
|
| Need the sequence around one memory | `memorix_timeline` | `memorix memory timeline --id <id>` |
|
|
19
|
+
| Check source and freshness for a memory | `memorix_evidence` | `memorix evidence list|get|events` |
|
|
20
|
+
| Record whether a memory helped, conflicted, or was corrected | `memorix_feedback` | `memorix feedback record|show|audit` |
|
|
21
|
+
| Inspect or import controlled media | `memorix_media` | `memorix media import|attach|list|show|status` |
|
|
19
22
|
| Learned reusable project knowledge | `memorix_store` | `memorix memory store --type <type> --entity <name> --title "<title>" "<text>"` |
|
|
20
23
|
| Stable source-backed fact or procedure needing long-term review | `memorix_store` with `longTerm` | `memorix memory long-term qualify|approve --id <id> --reason "..."` |
|
|
21
24
|
| Task or bug is complete/outdated | `memorix_resolve` | `memorix memory resolve --ids <ids>` |
|
|
@@ -7,6 +7,8 @@ description: Use when durable project knowledge, gotchas, workflows, or repeated
|
|
|
7
7
|
|
|
8
8
|
Promote memories into mini-skills only when they are reusable instructions, not just historical notes.
|
|
9
9
|
|
|
10
|
+
The standard setup uses the `lite` MCP profile. `memorix_skills` and `memorix_promote` are full-profile tools, so use the CLI fallback unless the current server was explicitly started with `MEMORIX_MODE=full` or `--mode full`. Do not probe hidden MCP tools repeatedly.
|
|
11
|
+
|
|
10
12
|
## Tool Router
|
|
11
13
|
|
|
12
14
|
| Situation | Prefer | CLI fallback |
|
|
@@ -7,6 +7,8 @@ description: Use when a main agent needs Memorix to coordinate explicit subagent
|
|
|
7
7
|
|
|
8
8
|
Use Memorix coordination for explicit subagent workflows with joined identities, tasks, handoffs, messages, file locks, and orchestrated workers.
|
|
9
9
|
|
|
10
|
+
The standard setup uses the `lite` MCP profile. Coordination MCP tools are exposed only by `team` or `full`; use the CLI fallback for ordinary installations, or explicitly start the server with `--mode team`. Do not probe unavailable team tools in a loop.
|
|
11
|
+
|
|
10
12
|
## Tool Router
|
|
11
13
|
|
|
12
14
|
| Situation | Prefer | CLI fallback |
|
|
@@ -16,6 +16,9 @@ Use Memorix as the shared memory layer for the active workspace when Memorix too
|
|
|
16
16
|
| Specific past decision, bug, file, or change | `memorix_search` | `memorix memory search --query "<topic>"` |
|
|
17
17
|
| Need the full source for a search hit | `memorix_detail` | `memorix memory detail --id <id>` |
|
|
18
18
|
| Need the sequence around one memory | `memorix_timeline` | `memorix memory timeline --id <id>` |
|
|
19
|
+
| Check source and freshness for a memory | `memorix_evidence` | `memorix evidence list|get|events` |
|
|
20
|
+
| Record whether a memory helped, conflicted, or was corrected | `memorix_feedback` | `memorix feedback record|show|audit` |
|
|
21
|
+
| Inspect or import controlled media | `memorix_media` | `memorix media import|attach|list|show|status` |
|
|
19
22
|
| Learned reusable project knowledge | `memorix_store` | `memorix memory store --type <type> --entity <name> --title "<title>" "<text>"` |
|
|
20
23
|
| Stable source-backed fact or procedure needing long-term review | `memorix_store` with `longTerm` | `memorix memory long-term qualify|approve --id <id> --reason "..."` |
|
|
21
24
|
| Task or bug is complete/outdated | `memorix_resolve` | `memorix memory resolve --ids <ids>` |
|
|
@@ -7,6 +7,8 @@ description: Use when durable project knowledge, gotchas, workflows, or repeated
|
|
|
7
7
|
|
|
8
8
|
Promote memories into mini-skills only when they are reusable instructions, not just historical notes.
|
|
9
9
|
|
|
10
|
+
The standard setup uses the `lite` MCP profile. `memorix_skills` and `memorix_promote` are full-profile tools, so use the CLI fallback unless the current server was explicitly started with `MEMORIX_MODE=full` or `--mode full`. Do not probe hidden MCP tools repeatedly.
|
|
11
|
+
|
|
10
12
|
## Tool Router
|
|
11
13
|
|
|
12
14
|
| Situation | Prefer | CLI fallback |
|
|
@@ -7,6 +7,8 @@ description: Use when a main agent needs Memorix to coordinate explicit subagent
|
|
|
7
7
|
|
|
8
8
|
Use Memorix coordination for explicit subagent workflows with joined identities, tasks, handoffs, messages, file locks, and orchestrated workers.
|
|
9
9
|
|
|
10
|
+
The standard setup uses the `lite` MCP profile. Coordination MCP tools are exposed only by `team` or `full`; use the CLI fallback for ordinary installations, or explicitly start the server with `--mode team`. Do not probe unavailable team tools in a loop.
|
|
11
|
+
|
|
10
12
|
## Tool Router
|
|
11
13
|
|
|
12
14
|
| Situation | Prefer | CLI fallback |
|
|
@@ -17,6 +17,9 @@ Use Memorix as the shared memory layer for the active workspace when Memorix too
|
|
|
17
17
|
| Specific past decision, bug, file, or change | `memorix_search` | `memorix memory search --query "<topic>"` |
|
|
18
18
|
| Need the full source for a search hit | `memorix_detail` | `memorix memory detail --id <id>` |
|
|
19
19
|
| Need the sequence around one memory | `memorix_timeline` | `memorix memory timeline --id <id>` |
|
|
20
|
+
| Check source and freshness for a memory | `memorix_evidence` | `memorix evidence list|get|events` |
|
|
21
|
+
| Record whether a memory helped, conflicted, or was corrected | `memorix_feedback` | `memorix feedback record|show|audit` |
|
|
22
|
+
| Inspect or import controlled media | `memorix_media` | `memorix media import|attach|list|show|status` |
|
|
20
23
|
| Learned reusable project knowledge | `memorix_store` | `memorix memory store --type <type> --entity <name> --title "<title>" "<text>"` |
|
|
21
24
|
| Stable source-backed fact or procedure needing long-term review | `memorix_store` with `longTerm` | `memorix memory long-term qualify|approve --id <id> --reason "..."` |
|
|
22
25
|
| Task or bug is complete/outdated | `memorix_resolve` | `memorix memory resolve --ids <ids>` |
|
|
@@ -7,6 +7,8 @@ description: Use when durable project knowledge, gotchas, workflows, or repeated
|
|
|
7
7
|
|
|
8
8
|
Promote memories into mini-skills only when they are reusable instructions, not just historical notes.
|
|
9
9
|
|
|
10
|
+
The standard setup uses the `lite` MCP profile. `memorix_skills` and `memorix_promote` are full-profile tools, so use the CLI fallback unless the current server was explicitly started with `MEMORIX_MODE=full` or `--mode full`. Do not probe hidden MCP tools repeatedly.
|
|
11
|
+
|
|
10
12
|
## Tool Router
|
|
11
13
|
|
|
12
14
|
| Situation | Prefer | CLI fallback |
|
|
@@ -7,6 +7,8 @@ description: Use when a main agent needs Memorix to coordinate explicit subagent
|
|
|
7
7
|
|
|
8
8
|
Use Memorix coordination for explicit subagent workflows with joined identities, tasks, handoffs, messages, file locks, and orchestrated workers.
|
|
9
9
|
|
|
10
|
+
The standard setup uses the `lite` MCP profile. Coordination MCP tools are exposed only by `team` or `full`; use the CLI fallback for ordinary installations, or explicitly start the server with `--mode team`. Do not probe unavailable team tools in a loop.
|
|
11
|
+
|
|
10
12
|
## Tool Router
|
|
11
13
|
|
|
12
14
|
| Situation | Prefer | CLI fallback |
|
|
@@ -17,6 +17,9 @@ Use Memorix as the shared memory layer for the active workspace when Memorix too
|
|
|
17
17
|
| Specific past decision, bug, file, or change | `memorix_search` | `memorix memory search --query "<topic>"` |
|
|
18
18
|
| Need the full source for a search hit | `memorix_detail` | `memorix memory detail --id <id>` |
|
|
19
19
|
| Need the sequence around one memory | `memorix_timeline` | `memorix memory timeline --id <id>` |
|
|
20
|
+
| Check source and freshness for a memory | `memorix_evidence` | `memorix evidence list|get|events` |
|
|
21
|
+
| Record whether a memory helped, conflicted, or was corrected | `memorix_feedback` | `memorix feedback record|show|audit` |
|
|
22
|
+
| Inspect or import controlled media | `memorix_media` | `memorix media import|attach|list|show|status` |
|
|
20
23
|
| Learned reusable project knowledge | `memorix_store` | `memorix memory store --type <type> --entity <name> --title "<title>" "<text>"` |
|
|
21
24
|
| Stable source-backed fact or procedure needing long-term review | `memorix_store` with `longTerm` | `memorix memory long-term qualify|approve --id <id> --reason "..."` |
|
|
22
25
|
| Task or bug is complete/outdated | `memorix_resolve` | `memorix memory resolve --ids <ids>` |
|
|
@@ -7,6 +7,8 @@ description: Use when durable project knowledge, gotchas, workflows, or repeated
|
|
|
7
7
|
|
|
8
8
|
Promote memories into mini-skills only when they are reusable instructions, not just historical notes.
|
|
9
9
|
|
|
10
|
+
The standard setup uses the `lite` MCP profile. `memorix_skills` and `memorix_promote` are full-profile tools, so use the CLI fallback unless the current server was explicitly started with `MEMORIX_MODE=full` or `--mode full`. Do not probe hidden MCP tools repeatedly.
|
|
11
|
+
|
|
10
12
|
## Tool Router
|
|
11
13
|
|
|
12
14
|
| Situation | Prefer | CLI fallback |
|
|
@@ -7,6 +7,8 @@ description: Use when a main agent needs Memorix to coordinate explicit subagent
|
|
|
7
7
|
|
|
8
8
|
Use Memorix coordination for explicit subagent workflows with joined identities, tasks, handoffs, messages, file locks, and orchestrated workers.
|
|
9
9
|
|
|
10
|
+
The standard setup uses the `lite` MCP profile. Coordination MCP tools are exposed only by `team` or `full`; use the CLI fallback for ordinary installations, or explicitly start the server with `--mode team`. Do not probe unavailable team tools in a loop.
|
|
11
|
+
|
|
10
12
|
## Tool Router
|
|
11
13
|
|
|
12
14
|
| Situation | Prefer | CLI fallback |
|
|
@@ -17,6 +17,9 @@ Use Memorix as the shared memory layer for the active workspace when Memorix too
|
|
|
17
17
|
| Specific past decision, bug, file, or change | `memorix_search` | `memorix memory search --query "<topic>"` |
|
|
18
18
|
| Need the full source for a search hit | `memorix_detail` | `memorix memory detail --id <id>` |
|
|
19
19
|
| Need the sequence around one memory | `memorix_timeline` | `memorix memory timeline --id <id>` |
|
|
20
|
+
| Check source and freshness for a memory | `memorix_evidence` | `memorix evidence list|get|events` |
|
|
21
|
+
| Record whether a memory helped, conflicted, or was corrected | `memorix_feedback` | `memorix feedback record|show|audit` |
|
|
22
|
+
| Inspect or import controlled media | `memorix_media` | `memorix media import|attach|list|show|status` |
|
|
20
23
|
| Learned reusable project knowledge | `memorix_store` | `memorix memory store --type <type> --entity <name> --title "<title>" "<text>"` |
|
|
21
24
|
| Stable source-backed fact or procedure needing long-term review | `memorix_store` with `longTerm` | `memorix memory long-term qualify|approve --id <id> --reason "..."` |
|
|
22
25
|
| Task or bug is complete/outdated | `memorix_resolve` | `memorix memory resolve --ids <ids>` |
|
|
@@ -7,6 +7,8 @@ description: Use when durable project knowledge, gotchas, workflows, or repeated
|
|
|
7
7
|
|
|
8
8
|
Promote memories into mini-skills only when they are reusable instructions, not just historical notes.
|
|
9
9
|
|
|
10
|
+
The standard setup uses the `lite` MCP profile. `memorix_skills` and `memorix_promote` are full-profile tools, so use the CLI fallback unless the current server was explicitly started with `MEMORIX_MODE=full` or `--mode full`. Do not probe hidden MCP tools repeatedly.
|
|
11
|
+
|
|
10
12
|
## Tool Router
|
|
11
13
|
|
|
12
14
|
| Situation | Prefer | CLI fallback |
|
|
@@ -7,6 +7,8 @@ description: Use when a main agent needs Memorix to coordinate explicit subagent
|
|
|
7
7
|
|
|
8
8
|
Use Memorix coordination for explicit subagent workflows with joined identities, tasks, handoffs, messages, file locks, and orchestrated workers.
|
|
9
9
|
|
|
10
|
+
The standard setup uses the `lite` MCP profile. Coordination MCP tools are exposed only by `team` or `full`; use the CLI fallback for ordinary installations, or explicitly start the server with `--mode team`. Do not probe unavailable team tools in a loop.
|
|
11
|
+
|
|
10
12
|
## Tool Router
|
|
11
13
|
|
|
12
14
|
| Situation | Prefer | CLI fallback |
|
|
@@ -11,9 +11,14 @@ Use Memorix when prior workspace context, decisions, fixes, or handoff state wou
|
|
|
11
11
|
- Use `memorix_search` for focused lookup.
|
|
12
12
|
- Use `memorix_detail` before relying on a specific memory.
|
|
13
13
|
- Use `memorix_store` for durable workspace knowledge.
|
|
14
|
+
- Use `memorix_evidence` when you need to check a memory's source, freshness, or verification state.
|
|
15
|
+
- Use `memorix_feedback` when a memory helped, conflicted with current evidence, or was corrected.
|
|
16
|
+
- Use `memorix_media` for controlled local media import, inspection, and derivation; provider-backed generation remains explicitly gated.
|
|
14
17
|
- Use `longTerm` on `memorix_store` only for a stable fact, reusable procedure, or completed episode that merits explicit review. It creates a candidate, not live context; keep the default project scope and do not use it for routine updates.
|
|
15
18
|
- A `user` + `portable` durable memory in a task brief is intentionally reusable across projects. When it matches the task, use it as background even if it originated elsewhere; it is not a current-project fact. Expand it only when needed with `memorix_detail` and `typedRefs: ["durable:<id>"]`, stating the missing fact as `purpose`.
|
|
16
19
|
- Use `memorix_store_reasoning` for the reason behind a technical decision.
|
|
17
20
|
- Use `memorix_resolve` when completed or outdated memories should stop surfacing.
|
|
18
21
|
|
|
22
|
+
The standard extension uses the `lite` MCP profile (20 tools). Coordination and advanced tools are opt-in through `--mode team` or `--mode full`; use the CLI fallback instead of repeatedly probing unavailable tools.
|
|
23
|
+
|
|
19
24
|
Do not store secrets, credentials, raw private transcripts, or trivial one-off actions.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
name: memorix
|
|
2
|
-
version: "1.8.
|
|
2
|
+
version: "1.8.5"
|
|
3
3
|
description: Shared workspace memory bridge for Hermes Agent.
|
|
4
4
|
author: AVIDS2
|
|
5
5
|
license: Apache-2.0
|
|
@@ -15,3 +15,9 @@ provides_cli_commands:
|
|
|
15
15
|
- memorix
|
|
16
16
|
provides_skills:
|
|
17
17
|
- memorix-memory
|
|
18
|
+
- memorix-reasoning
|
|
19
|
+
- memorix-sessions
|
|
20
|
+
- memorix-git-memory
|
|
21
|
+
- memorix-mini-skills
|
|
22
|
+
- memorix-orchestrate
|
|
23
|
+
- memorix-troubleshooting
|
|
@@ -17,6 +17,9 @@ Use Memorix as the shared memory layer for the active workspace when Memorix too
|
|
|
17
17
|
| Specific past decision, bug, file, or change | `memorix_search` | `memorix memory search --query "<topic>"` |
|
|
18
18
|
| Need the full source for a search hit | `memorix_detail` | `memorix memory detail --id <id>` |
|
|
19
19
|
| Need the sequence around one memory | `memorix_timeline` | `memorix memory timeline --id <id>` |
|
|
20
|
+
| Check source and freshness for a memory | `memorix_evidence` | `memorix evidence list|get|events` |
|
|
21
|
+
| Record whether a memory helped, conflicted, or was corrected | `memorix_feedback` | `memorix feedback record|show|audit` |
|
|
22
|
+
| Inspect or import controlled media | `memorix_media` | `memorix media import|attach|list|show|status` |
|
|
20
23
|
| Learned reusable project knowledge | `memorix_store` | `memorix memory store --type <type> --entity <name> --title "<title>" "<text>"` |
|
|
21
24
|
| Stable source-backed fact or procedure needing long-term review | `memorix_store` with `longTerm` | `memorix memory long-term qualify|approve --id <id> --reason "..."` |
|
|
22
25
|
| Task or bug is complete/outdated | `memorix_resolve` | `memorix memory resolve --ids <ids>` |
|
|
@@ -7,6 +7,8 @@ description: Use when durable project knowledge, gotchas, workflows, or repeated
|
|
|
7
7
|
|
|
8
8
|
Promote memories into mini-skills only when they are reusable instructions, not just historical notes.
|
|
9
9
|
|
|
10
|
+
The standard setup uses the `lite` MCP profile. `memorix_skills` and `memorix_promote` are full-profile tools, so use the CLI fallback unless the current server was explicitly started with `MEMORIX_MODE=full` or `--mode full`. Do not probe hidden MCP tools repeatedly.
|
|
11
|
+
|
|
10
12
|
## Tool Router
|
|
11
13
|
|
|
12
14
|
| Situation | Prefer | CLI fallback |
|
|
@@ -7,6 +7,8 @@ description: Use when a main agent needs Memorix to coordinate explicit subagent
|
|
|
7
7
|
|
|
8
8
|
Use Memorix coordination for explicit subagent workflows with joined identities, tasks, handoffs, messages, file locks, and orchestrated workers.
|
|
9
9
|
|
|
10
|
+
The standard setup uses the `lite` MCP profile. Coordination MCP tools are exposed only by `team` or `full`; use the CLI fallback for ordinary installations, or explicitly start the server with `--mode team`. Do not probe unavailable team tools in a loop.
|
|
11
|
+
|
|
10
12
|
## Tool Router
|
|
11
13
|
|
|
12
14
|
| Situation | Prefer | CLI fallback |
|
package/server.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"url": "https://github.com/AVIDS2/memorix",
|
|
8
8
|
"source": "github"
|
|
9
9
|
},
|
|
10
|
-
"version": "1.8.
|
|
10
|
+
"version": "1.8.5",
|
|
11
11
|
"websiteUrl": "https://github.com/AVIDS2/memorix#readme",
|
|
12
12
|
"icons": [
|
|
13
13
|
{
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
{
|
|
23
23
|
"registryType": "npm",
|
|
24
24
|
"identifier": "memorix",
|
|
25
|
-
"version": "1.8.
|
|
25
|
+
"version": "1.8.5",
|
|
26
26
|
"runtimeHint": "npx",
|
|
27
27
|
"packageArguments": [
|
|
28
28
|
{
|
package/src/cli/command-guide.ts
CHANGED
|
@@ -61,6 +61,10 @@ const GUIDES: Record<string, CliCommandGuide> = {
|
|
|
61
61
|
usage: [
|
|
62
62
|
'memorix codegraph status',
|
|
63
63
|
'memorix codegraph refresh',
|
|
64
|
+
'memorix codegraph init',
|
|
65
|
+
'memorix codegraph sync',
|
|
66
|
+
'memorix codegraph diff [--from <snapshot>] [--to <snapshot>]',
|
|
67
|
+
'memorix codegraph impact --path <relative-source-path>',
|
|
64
68
|
'memorix codegraph context-pack --task "trace the auth flow" [--limit 20]',
|
|
65
69
|
],
|
|
66
70
|
},
|
|
@@ -79,10 +83,57 @@ const GUIDES: Record<string, CliCommandGuide> = {
|
|
|
79
83
|
usage: [
|
|
80
84
|
'memorix knowledge init [--mode local|versioned]',
|
|
81
85
|
'memorix knowledge status',
|
|
86
|
+
'memorix knowledge claims',
|
|
87
|
+
'memorix knowledge review --id <claim-id> --review approved|rejected --detail "..."',
|
|
82
88
|
'memorix knowledge compile',
|
|
83
89
|
'memorix knowledge lint',
|
|
84
|
-
'memorix knowledge
|
|
90
|
+
'memorix knowledge apply --proposal <id> [--force]',
|
|
91
|
+
'memorix knowledge workflow import|list',
|
|
92
|
+
'memorix knowledge workflow select --task "prepare a release"',
|
|
93
|
+
'memorix knowledge workflow preview|apply --id <workflow-id> --agent codex',
|
|
94
|
+
'memorix knowledge workflow run --id <workflow-id> --task "..." --outcome passed',
|
|
85
95
|
],
|
|
96
|
+
notes: ['Claims need source review before they can become maintained Knowledge Workspace pages.'],
|
|
97
|
+
},
|
|
98
|
+
evidence: {
|
|
99
|
+
summary: 'Inspect the source, freshness, and verification state behind project memories.',
|
|
100
|
+
usage: [
|
|
101
|
+
'memorix evidence list [--query "auth"] [--limit 20]',
|
|
102
|
+
'memorix evidence get --id 42',
|
|
103
|
+
'memorix evidence sync',
|
|
104
|
+
'memorix evidence stale --paths src/server.ts,tests/server.test.ts --reason "source changed"',
|
|
105
|
+
'memorix evidence events --id 42',
|
|
106
|
+
],
|
|
107
|
+
notes: ['Evidence cards point back to observations and source files; they are not a second memory store.'],
|
|
108
|
+
},
|
|
109
|
+
feedback: {
|
|
110
|
+
summary: 'Record and inspect whether a memory helped, conflicted, or was corrected.',
|
|
111
|
+
usage: [
|
|
112
|
+
'memorix feedback record --id 42 --signal verification-success --source test:run-1',
|
|
113
|
+
'memorix feedback show --id 42',
|
|
114
|
+
'memorix feedback audit --id 42 [--limit 100]',
|
|
115
|
+
],
|
|
116
|
+
notes: ['Feedback changes the candidate score through an auditable event; it does not rewrite the original memory.'],
|
|
117
|
+
},
|
|
118
|
+
formation: {
|
|
119
|
+
summary: 'Inspect Memory Formation quality metrics collected by the runtime.',
|
|
120
|
+
usage: ['memorix formation metrics'],
|
|
121
|
+
notes: ['Metrics are empty until the formation pipeline has processed observations.'],
|
|
122
|
+
},
|
|
123
|
+
media: {
|
|
124
|
+
summary: 'Import, inspect, derive, embed, and clean controlled local media assets.',
|
|
125
|
+
usage: [
|
|
126
|
+
'memorix media import --path ./diagram.png',
|
|
127
|
+
'memorix media attach --asset <asset-id> --title "Architecture diagram"',
|
|
128
|
+
'memorix media list --kind image',
|
|
129
|
+
'memorix media show --asset <asset-id>',
|
|
130
|
+
'memorix media derive-pdf|derive-audio --asset <asset-id> [--attach]',
|
|
131
|
+
'memorix media embed|similar --asset <asset-id>',
|
|
132
|
+
'memorix media generate image|video --prompt "..."',
|
|
133
|
+
'memorix media status|cancel --job <media-job-id>',
|
|
134
|
+
'memorix media cleanup [--max-bytes <limit>]',
|
|
135
|
+
],
|
|
136
|
+
notes: ['Media generation is explicit and provider-gated; importing a file does not automatically send it to a model.'],
|
|
86
137
|
},
|
|
87
138
|
reasoning: {
|
|
88
139
|
summary: 'Capture and retrieve engineering decision rationale.',
|