memorix 1.0.7 → 1.0.8
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 +36 -9
- package/README.md +469 -409
- package/README.zh-CN.md +468 -415
- package/TEAM.md +106 -0
- package/dist/cli/index.js +31325 -26915
- package/dist/cli/index.js.map +1 -1
- package/dist/dashboard/static/app.js +49 -49
- package/dist/dashboard/static/index.html +2 -2
- package/dist/index.js +1061 -234
- package/dist/index.js.map +1 -1
- package/dist/sdk.d.ts +677 -0
- package/dist/sdk.js +18962 -0
- package/dist/sdk.js.map +1 -0
- package/dist/types.d.ts +10 -10
- package/dist/types.js +10 -10
- package/dist/types.js.map +1 -1
- package/docs/AGENT_OPERATOR_PLAYBOOK.md +684 -0
- package/docs/AI_CONTEXT.md +18 -0
- package/docs/API_REFERENCE.md +687 -0
- package/docs/ARCHITECTURE.md +488 -0
- package/docs/CLOUD_SYNC_AND_MULTI_AGENT_RESEARCH.md +470 -0
- package/docs/CONFIGURATION.md +265 -0
- package/docs/DESIGN_DECISIONS.md +358 -0
- package/docs/DEVELOPMENT.md +317 -0
- package/docs/DOCKER.md +138 -0
- package/docs/GIT_MEMORY.md +221 -0
- package/docs/KNOWN_ISSUES_AND_ROADMAP.md +149 -0
- package/docs/MEMORY_FORMATION_PIPELINE.md +224 -0
- package/docs/MODULES.md +383 -0
- package/docs/PERFORMANCE.md +64 -0
- package/docs/README.md +79 -0
- package/docs/SETUP.md +521 -0
- package/docs/hooks-architecture.md +108 -0
- package/package.json +24 -23
package/CHANGELOG.md
CHANGED
|
@@ -2,10 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
## [1.0.
|
|
6
|
-
|
|
7
|
-
###
|
|
8
|
-
-
|
|
5
|
+
## [1.0.8] - 2026-04-19
|
|
6
|
+
|
|
7
|
+
### Added -- Operator CLI Surface
|
|
8
|
+
- **Namespaced operator commands** -- Added human-oriented CLI namespaces for `session`, `memory`, `reasoning`, `retention`, `formation`, `audit`, `transfer`, `skills`, `team`, `task`, `message`, `lock`, `handoff`, `poll`, `sync`, and `ingest` so Memorix-native operations no longer require raw MCP tool calls.
|
|
9
|
+
- **Lightweight session start + explicit collaboration join** -- `memorix session start` now opens project-bound memory sessions without auto-registering a team identity. Operators can opt into collaboration with `--joinTeam`, or join later via `memorix team join`, while still getting default role mapping from `agentType` when they do join.
|
|
10
|
+
- **CLI-first project ops** -- Terminal operators can now inspect memory detail/timeline, store and search reasoning traces, run retention and formation checks, audit attribution, export/import memory snapshots, inspect/generate skills, run explicit rules/workspace sync flows, and ingest images without leaving the shell.
|
|
11
|
+
|
|
12
|
+
### Added -- Programmatic SDK
|
|
13
|
+
- **`memorix/sdk` subpath export** -- `createMemoryClient()` factory returns a self-contained `MemoryClient` with `store`, `search`, `get`, `getAll`, `count`, `resolve`, and `close` methods. No MCP transport or CLI needed — initialize from a Git project root, read/write observations directly.
|
|
14
|
+
- **`createMemorixServer` re-export** -- Embed the full MCP server into your own Node.js process and connect it to any transport.
|
|
15
|
+
- **`detectProject` re-export** -- Standalone Git-based project detection.
|
|
16
|
+
- **Three subpath exports** -- `memorix/sdk` (runtime API + types), `memorix/types` (type-only), `memorix` (MCP stdio entry).
|
|
17
|
+
|
|
18
|
+
### Added -- Official Docker Deployment
|
|
19
|
+
- **Official HTTP control-plane container path** -- `Dockerfile` now builds a real `serve-http` runtime image instead of defaulting to stdio MCP.
|
|
20
|
+
- **Compose example** -- added `compose.yaml` with port `3211`, persistent data volume, and `/health` healthcheck.
|
|
21
|
+
- **Docker docs** -- added `docs/DOCKER.md` and linked Docker deployment from README / setup docs.
|
|
22
|
+
- **Runtime truth** -- documentation now explicitly states that Docker support is for the HTTP control plane and that project-scoped Git/config behavior requires the container to see the bound repo path.
|
|
23
|
+
|
|
24
|
+
### Visual Semantic Layering (dashboard follow-up)
|
|
25
|
+
- Team mental model tightened before release: docs and dashboard copy now say "explicit collaborators" instead of implying a persistent IDE-window roster.
|
|
26
|
+
- `memorix team status` now defaults to active collaborators only; inactive/historical identities remain available with `--all` for audits without flooding the normal operator view.
|
|
27
|
+
- Team page headline is now **active-only**; `recent`/`historical` shown as secondary subtitle only.
|
|
9
28
|
- Team agents list gets four filter tabs: **Active** (default) / Recent / Historical / All. Historical rows no longer flood the view; they sit behind an explicit "Show historical (N)" toggle.
|
|
10
29
|
- Each agent row carries an explicit tier badge (Active/Recent/Historical) instead of a single "offline" sea of red.
|
|
11
30
|
- Historical agent rows are de-emphasized (reduced opacity, muted colors) so they don't dominate the main view.
|
|
@@ -14,9 +33,9 @@ All notable changes to this project will be documented in this file.
|
|
|
14
33
|
- Project switcher groups items into **Current / Real projects / Temporary / Placeholder**, with temporary and placeholder folded behind a "Show temporary" toggle. Each group has a visible count so users can tell a real project list apart from the historical test/smoke scratch pile.
|
|
15
34
|
- All new labels wired through the i18n system (English + Simplified Chinese).
|
|
16
35
|
|
|
17
|
-
### Team Page Cleanup (1.0.7 final)
|
|
18
|
-
- **Team page semantics**: clearly presented as a **project collaboration space**, not an organization backend or staffing admin tool. Scope labels: "Project Collaboration" / "All Projects".
|
|
19
|
-
-
|
|
36
|
+
### Team Page Cleanup (1.0.7 final)
|
|
37
|
+
- **Team page semantics**: clearly presented as a **project collaboration space**, not an organization backend or staffing admin tool. Scope labels: "Project Collaboration" / "All Projects".
|
|
38
|
+
- **Explicit collaboration join**: `memorix_session_start` is lightweight by default and no longer auto-registers a team identity. Collaboration is now opt-in via `joinTeam: true` or `team_manage(join)`, and default role mapping from `agentType` applies only when joining.
|
|
20
39
|
- **"Continue This Project" resume area**: shows open tasks, available-to-claim tasks, open handoffs, unread messages, active locks, and active agent count at the top of the Team page. Provides a clear "pick up where you left off" entry point.
|
|
21
40
|
- **Unified statistics**: stat cards clearly labeled — Active Agents (with session count + historical total), Locked Files, Tasks (by status), Messages (unread count). No conflicting or ambiguous labels.
|
|
22
41
|
|
|
@@ -30,7 +49,15 @@ All notable changes to this project will be documented in this file.
|
|
|
30
49
|
### Added -- Team Identity (Phase 4)
|
|
31
50
|
- Team store with agent registration, heartbeat, task board, handoff artifacts, stale detection. Prompt identity contract, sticky attribution prevention.
|
|
32
51
|
|
|
33
|
-
### Fixed
|
|
52
|
+
### Fixed
|
|
53
|
+
- **HTTP stale-session poisoning (#82)** — `serve-http` no longer has only a hardcoded 30-minute idle GC. Added `MEMORIX_SESSION_TIMEOUT_MS` so long-running HTTP MCP clients such as Codex can keep sessions alive for longer work blocks without getting stuck on stale `Mcp-Session-Id` failures.
|
|
54
|
+
- **TUI responsive layout** — sidebar width now scales with terminal width (28% ratio, 26-40 range) instead of fixed 34 columns; content area uses `flexGrow` to fill remaining space; maximized terminal windows now show expanded UI instead of locked small-window layout
|
|
55
|
+
- **TUI search score display** — replaced absurd raw-percentage display (e.g. "927%") with relative relevance dots (●●●○○) normalized against top result
|
|
56
|
+
- **TUI /resume numeric index** — `/resume 2` now selects thread #2 from the list (1-based), in addition to `/resume <threadId>` by ID
|
|
57
|
+
- **TUI CJK text wrapping** — Ink's `wrap="wrap"` doesn't understand double-width CJK characters, causing garbled text; replaced with CJK-aware manual line splitting in chat output and ContextRail sizing so mixed CJK content renders predictably
|
|
58
|
+
- **TUI layout DRY** — sidebar/content width calculation extracted to shared `computeLayoutWidths()` in theme.ts; App.tsx and ChatView.tsx now use the same function, preventing drift
|
|
59
|
+
- **TUI CommandBar overlay** — palette no longer pushes input bar down; rendered as overlay in App.tsx; mouse SGR mode centrally managed to avoid conflicts between palette clicks and chat scrolling
|
|
60
|
+
- **TUI chat freeze under assistant output** — removed assistant Markdown rendering from the workbench chat path and render chat bodies as plain text with CJK-aware wrapping; this avoids heavy reparsing/rerender spikes that could freeze the TUI when the assistant started answering after tool calls
|
|
34
61
|
- **#4** Parallel multi-agent — fully implemented via orchestrator
|
|
35
62
|
- **#52** observations.json perf — migrated to SQLite
|
|
36
63
|
- **#56** LLM rerank timeout — configurable via `MEMORIX_RERANK_TIMEOUT_MS`
|
|
@@ -92,7 +119,7 @@ All notable changes to this project will be documented in this file.
|
|
|
92
119
|
- **E2e demo tests** (`tests/e2e/`) excluded from default `vitest run` — these test CLI-agent demo artifacts, not Memorix product code. Available via `npm run test:e2e`.
|
|
93
120
|
- **Live LLM quality tests** excluded from default suite — require `MEMORIX_RUN_LIVE_LLM_TESTS=1`. Rules-only fallback test preserved in `tests/memory/formation-rules-fallback.test.ts`. Available via `npm run test:llm-live`.
|
|
94
121
|
- **Coordinator merge-conflict test** made deterministic — synchronous conflict file writes in `spawn()` instead of async `setTimeout` race. Removed `{ retry: 3 }`.
|
|
95
|
-
- **Default test suite**:
|
|
122
|
+
- **Default test suite**: 156 files, 2064 tests, **0 failed**.
|
|
96
123
|
|
|
97
124
|
### Added -- Hooks Test Coverage
|
|
98
125
|
- Audit ledger lost/corrupted → re-install recovers audit entry (codex).
|