memorix 1.0.8 → 1.0.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 +39 -4
- package/README.md +16 -16
- package/README.zh-CN.md +24 -8
- package/dist/cli/index.js +3424 -1056
- package/dist/cli/index.js.map +1 -1
- package/dist/dashboard/static/app.js +934 -10
- package/dist/dashboard/static/index.html +24 -4
- package/dist/dashboard/static/style.css +663 -0
- package/dist/index.js +635 -17
- package/dist/index.js.map +1 -1
- package/dist/sdk.js +635 -17
- package/dist/sdk.js.map +1 -1
- package/dist/types.d.ts +2 -1
- package/dist/types.js +2 -1
- package/dist/types.js.map +1 -1
- package/docs/SETUP.md +97 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,44 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
## [1.0.
|
|
6
|
-
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
## [1.0.9] - 2026-05-19
|
|
6
|
+
|
|
7
|
+
### Added -- Knowledge Base / LLM Wiki Foundation
|
|
8
|
+
- **First-class Knowledge Base layer** -- Added a readable project knowledge layer generated from durable memory, git-backed facts, mini-skills, and project evidence. The Knowledge Base is a shared human-and-AI surface, not a replacement for raw observations and not a TUI-only feature.
|
|
9
|
+
- **Knowledge graph projection** -- Added a semantic graph projection over the same eligible knowledge inputs, preserving source refs for navigation and traceability.
|
|
10
|
+
- **Dashboard Knowledge foundation** -- Dashboard surfaces can consume the same generated knowledge contract as the TUI, keeping Knowledge Base and graph semantics aligned.
|
|
11
|
+
|
|
12
|
+
### Added -- TUI Knowledge Workbench
|
|
13
|
+
- **Tabbed terminal workbench** -- Reworked the TUI around `Home`, `Knowledge`, `Memory`, `Workbench`, and `Graph` tabs.
|
|
14
|
+
- **Knowledge browsing** -- Added a Knowledge tab for generated wiki sections, item summaries, entities, and source refs.
|
|
15
|
+
- **Memory browsing** -- Added a Memory tab for recent/search/detail flows with ref-focused navigation from Knowledge.
|
|
16
|
+
- **Workbench session center** -- Added explicit session status, explicit bind/end actions, context source summary, and chat. Entering the tab does not auto-start a session.
|
|
17
|
+
- **Graph text browser** -- Added a terminal-native Knowledge Graph tab with summary stats, cluster browsing, node detail, light filtering, and Graph -> Knowledge jumps.
|
|
18
|
+
- **Cross-surface ref navigation** -- Added Knowledge -> Memory, Memory -> Knowledge, and Graph -> Knowledge navigation paths based on stable refs where available.
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
- **Knowledge architecture clarified** -- Documented the memory layer as the primary input to the knowledge layer, while project evidence such as docs, source structure, and git facts act as secondary inputs.
|
|
22
|
+
- **TUI scope tightened** -- The TUI now behaves as a knowledge-native workbench, not a placeholder coding-agent harness. No fake Run Task / Review controls are exposed.
|
|
23
|
+
- **Session semantics preserved** -- `session_start` remains explicit and lightweight. Agent Team join remains opt-in.
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
- **Formation duplicate detection (#94)** -- Fixed Formation resolve comparing raw Orama/BM25 ranking scores against normalized similarity thresholds. Noisy log-dump memories with high backend scores no longer discard unrelated valid memories as duplicates.
|
|
27
|
+
- **TUI chat input lock** -- Fixed a regression where after a free-text chat response the bottom input bar became unresponsive because the chat overlay disabled the CommandBar. Chat overlay now keeps input active so users can continue the conversation.
|
|
28
|
+
- **TUI read-only overlay input lock** -- Fixed read-only overlays such as `/doctor` disabling the CommandBar. Users can now keep typing commands or questions while diagnostics and other non-action views are open.
|
|
29
|
+
- **TUI shortcut/input conflicts** -- Fixed CommandBar conflicts with view shortcuts such as Graph `f`/`k`, Memory `k`, and Knowledge `m` while still allowing normal first-character input.
|
|
30
|
+
- **Graph TypeScript build issue** -- Fixed a type-only re-export under `verbatimModuleSyntax`.
|
|
31
|
+
|
|
32
|
+
### Known Limitations
|
|
33
|
+
- The Knowledge Base and Knowledge Graph are read-only generated projections in 1.0.9.
|
|
34
|
+
- 1.0.9 does not include a desktop app, realtime agent messaging layer, GraphRAG system, graph editing, or full coding-agent harness.
|
|
35
|
+
|
|
36
|
+
### Stats
|
|
37
|
+
- **Verified TUI subset:** 95 passing tests across `interaction`, `workbench`, and `graph` suites.
|
|
38
|
+
- **Release gates run during cleanup:** `npm run lint`, `npm run build`, and full `npm test`.
|
|
39
|
+
|
|
40
|
+
## [1.0.8] - 2026-04-19
|
|
41
|
+
|
|
7
42
|
### Added -- Operator CLI Surface
|
|
8
43
|
- **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
44
|
- **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.
|
package/README.md
CHANGED
|
@@ -123,9 +123,11 @@ Deeper details on startup, project binding, config precedence, and agent workflo
|
|
|
123
123
|
|
|
124
124
|

|
|
125
125
|
|
|
126
|
-
Running `memorix` without arguments opens an interactive fullscreen terminal UI (requires a TTY). Use it for chat with project memory, search, quick memory capture, diagnostics, background service control, dashboard launch, and IDE setup. Press `/help` inside the TUI for the current command list.
|
|
127
|
-
|
|
128
|
-
|
|
126
|
+
Running `memorix` without arguments opens an interactive fullscreen terminal UI (requires a TTY). Use it for chat with project memory, search, quick memory capture, diagnostics, background service control, dashboard launch, and IDE setup. Press `/help` inside the TUI for the current command list.
|
|
127
|
+
|
|
128
|
+
In 1.0.9 the TUI is organized as a knowledge workbench with `Home`, `Knowledge`, `Memory`, `Workbench`, and `Graph` tabs. It can browse the generated Knowledge Base, inspect memory detail, jump between wiki refs and source observations, view the text Knowledge Graph, and keep chatting after answers without leaving the terminal.
|
|
129
|
+
|
|
130
|
+
Single-shot chat (no TUI): `memorix ask "your question"`.
|
|
129
131
|
|
|
130
132
|
### Operator CLI
|
|
131
133
|
|
|
@@ -429,19 +431,17 @@ Additional deep references:
|
|
|
429
431
|
|
|
430
432
|
---
|
|
431
433
|
|
|
432
|
-
## What's New in 1.0.
|
|
433
|
-
|
|
434
|
-
Version `1.0.
|
|
435
|
-
|
|
436
|
-
- **
|
|
437
|
-
- **
|
|
438
|
-
- **
|
|
439
|
-
- **
|
|
440
|
-
- **
|
|
441
|
-
- **
|
|
442
|
-
- **
|
|
443
|
-
- **Programmatic SDK**: `import { createMemoryClient } from 'memorix/sdk'` to store, search, get, and resolve observations directly from your own code without MCP or CLI. Also exports `createMemorixServer` and `detectProject`.
|
|
444
|
-
- **Test Suite Stabilization**: E2e and live-LLM tests are excluded from the default suite, and load-sensitive tests are isolated so the default verification path stays deterministic.
|
|
434
|
+
## What's New in 1.0.9
|
|
435
|
+
|
|
436
|
+
Version `1.0.9` adds the first readable project knowledge layer and turns the terminal UI into a knowledge-native workbench.
|
|
437
|
+
|
|
438
|
+
- **Knowledge Base / LLM Wiki**: Memorix now exposes a generated, readable Knowledge Base from durable observations, git facts, mini-skills, and project evidence. Raw memory remains the source of truth; the Knowledge Base is a citable synthesis for humans and agents.
|
|
439
|
+
- **Semantic Knowledge Graph**: A graph projection over the same eligible knowledge inputs preserves source refs and supports concept/module/decision exploration without claiming to be GraphRAG.
|
|
440
|
+
- **Tabbed TUI Workbench**: `Home`, `Knowledge`, `Memory`, `Workbench`, and `Graph` tabs replace the old scattered view model.
|
|
441
|
+
- **Cross-Reference Navigation**: Jump between Knowledge items, Memory detail, and Graph nodes through stable refs where available.
|
|
442
|
+
- **Explicit Session Center**: Workbench shows session state and context sources with explicit bind/end actions. It does not auto-start sessions or auto-join Agent Team.
|
|
443
|
+
- **TUI Chat Usability Fixes**: Chat input remains active after assistant responses, and view shortcuts no longer steal normal CommandBar text.
|
|
444
|
+
- **Architecture Boundaries**: App, realtime agent messaging, full coding-agent harness, graph editing, and GraphRAG remain outside 1.0.9 scope.
|
|
445
445
|
|
|
446
446
|
---
|
|
447
447
|
|
package/README.zh-CN.md
CHANGED
|
@@ -123,9 +123,11 @@ Memorix 使用两类文件:
|
|
|
123
123
|
|
|
124
124
|

|
|
125
125
|
|
|
126
|
-
在终端中直接运行 `memorix`(不带参数)即可打开交互式全屏 TUI(需要 TTY)。它适合用于项目记忆问答、搜索、快速存储、诊断、后台服务控制、Dashboard 打开和 IDE 配置。进入 TUI 后用 `/help` 查看当前命令列表。
|
|
127
|
-
|
|
128
|
-
|
|
126
|
+
在终端中直接运行 `memorix`(不带参数)即可打开交互式全屏 TUI(需要 TTY)。它适合用于项目记忆问答、搜索、快速存储、诊断、后台服务控制、Dashboard 打开和 IDE 配置。进入 TUI 后用 `/help` 查看当前命令列表。
|
|
127
|
+
|
|
128
|
+
在 1.0.9 中,TUI 已整理成知识工作台:`Home`、`Knowledge`、`Memory`、`Workbench`、`Graph` 五个 tab。它可以浏览生成的 Knowledge Base、查看记忆详情、在 wiki refs 和源 observation 之间跳转、查看文本化 Knowledge Graph,并且在回答结束后继续保持输入可用。
|
|
129
|
+
|
|
130
|
+
单次聊天(不进 TUI):`memorix ask "your question"`。
|
|
129
131
|
|
|
130
132
|
### Operator CLI
|
|
131
133
|
|
|
@@ -427,11 +429,25 @@ Memorix 不是一条单线流水线。它从多个入口接收记忆,把内容
|
|
|
427
429
|
- [`llms.txt`](llms.txt)
|
|
428
430
|
- [`llms-full.txt`](llms-full.txt)
|
|
429
431
|
|
|
430
|
-
---
|
|
431
|
-
|
|
432
|
-
## 1.0.
|
|
433
|
-
|
|
434
|
-
`1.0.
|
|
432
|
+
---
|
|
433
|
+
|
|
434
|
+
## 1.0.9 更新亮点
|
|
435
|
+
|
|
436
|
+
`1.0.9` 增加了第一版可读项目知识层,并把终端 UI 收束为 knowledge-native workbench。
|
|
437
|
+
|
|
438
|
+
- **Knowledge Base / LLM Wiki**:Memorix 现在可以从 durable observations、Git facts、mini-skills 和项目证据生成可读的 Knowledge Base。Raw memory 仍是事实来源;Knowledge Base 是给人和 agent 使用的可引用综合层。
|
|
439
|
+
- **Semantic Knowledge Graph**:基于同一批 eligible knowledge inputs 生成语义图谱投影,保留 source refs,支持围绕概念、模块和决策探索,但不把它包装成 GraphRAG。
|
|
440
|
+
- **Tabbed TUI Workbench**:`Home`、`Knowledge`、`Memory`、`Workbench`、`Graph` 五个 tab 替代旧的分散视图模型。
|
|
441
|
+
- **跨引用导航**:可通过稳定 refs 在 Knowledge item、Memory detail 和 Graph node 之间跳转。
|
|
442
|
+
- **显式 Session Center**:Workbench 展示 session 状态和上下文来源,bind/end 都是显式动作;进入 tab 不会自动 start session,也不会自动 join Agent Team。
|
|
443
|
+
- **TUI Chat 可用性修复**:assistant 回复后输入框保持可用;Graph/Memory/Knowledge 的视图快捷键不再吞掉正常 CommandBar 输入。
|
|
444
|
+
- **架构边界**:desktop app、realtime agent messaging、完整 coding-agent harness、graph editing 和 GraphRAG 都不属于 1.0.9 范围。
|
|
445
|
+
|
|
446
|
+
---
|
|
447
|
+
|
|
448
|
+
## 1.0.8 更新亮点
|
|
449
|
+
|
|
450
|
+
`1.0.8` 在 1.0.7 的多 Agent 协调 / SQLite / 团队身份基线上,进一步收成了 CLI-first operator surface、官方 Docker 路径、Dashboard 语义分层和大量 Hooks 修复。
|
|
435
451
|
|
|
436
452
|
- **CLI-First 产品面**:所有 Memorix 原生能力都已经有面向人的 CLI 路径 — `session`、`memory`、`reasoning`、`retention`、`formation`、`audit`、`transfer`、`skills`、`team`、`task`、`message`、`lock`、`handoff`、`poll`、`sync`、`ingest`。MCP 保留为标准接入协议和可选 graph-compatibility 层。
|
|
437
453
|
- **Docker 部署**:官方 `Dockerfile`、`compose.yaml`、健康检查、`--host` 绑定,详见 [DOCKER.md](docs/DOCKER.md)。
|