From 443ea20106a414c5febc13eca9c158e061e24b8e Mon Sep 17 00:00:00 2001 From: EMRG Evolution Date: Thu, 6 Aug 2026 07:46:17 +0800 Subject: [PATCH] =?UTF-8?q?emrg:=20docs=20=E2=80=94=20=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=20v0.2.5=20GUI=20=E9=87=8D=E8=AE=BE=E8=AE=A1=E8=87=B3=E8=8B=B1?= =?UTF-8?q?=E6=96=87=E7=89=88=20(#425)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #424 同步了 README.md/Agent.md 但漏了 README.en.md(中英双版约定): - README.en.md:GUI 表格补充 v0.2.5 重设计特性(双主题/工具友好/多模型/空状态/回到底部) - README.en.md:pytest 464→472、npm test 34 项说明 - Agent.md:GUI 会话管理补 #423 右键重命名 --- Agent.md | 2 +- README.en.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Agent.md b/Agent.md index 5d3463f6..a85a25c2 100644 --- a/Agent.md +++ b/Agent.md @@ -62,7 +62,7 @@ EMRG is a self-evolving AI agent architecture experiment. Python implementation, - v0.2.5 full redesign (rant 08-05): light/dark dual theme (prefers-color-scheme), friendly tool status rows (collapsible, 2000-char truncation), multi-model management (add/edit/delete/set-default in settings + in-chat switcher), empty-state welcome screen, back-to-bottom button - First-run onboarding: missing config → settings dialog (no daemon spawn) → save → daemon starts; placeholder API key treated as unconfigured - Streaming chat with delta rendering (16ms batching), markdown on done (marked + DOMPurify + local highlight.js subset), tool call status cards (2000-char truncation + expand) - - Session list/switch/new/delete synced with daemon; own-stream busy lock (G65); broadcast streams from other clients tagged "来自其他客户端" + - Session list/switch/new/delete + right-click rename (context menu, #423) synced with daemon; own-stream busy lock (G65); broadcast streams from other clients tagged "来自其他客户端" - Disconnect/reconnect: red status dot, auto daemon respawn (stale-port detection), session resume, input bar restored on disconnect (no 30s fake-timeout) - Unit tests `npm test` (34: 22 daemon_client + 7 integration + 5 renderer smoke); RESPONSE_TYPES mirror daemon protocol verified against `daemon.py` - **Auto project tracking** — Automatically detects and records working directories; project-scoped sessions diff --git a/README.en.md b/README.en.md index 5d93ed81..51d4d579 100644 --- a/README.en.md +++ b/README.en.md @@ -34,7 +34,7 @@ EMRG is an experiment in *autonomous self-improvement*. It's an AI agent that he | 🔄 **Gets better on its own** | Background evolution cycles review rants + GitHub + competitor tools, then auto-PR improvements | | 📝 **Never forgets** | Project memory + session memory + daily logs — context that persists | | 🖥️ **Beautiful TUI** | Slash-command autocomplete, session picker, streaming markdown, elapsed timer, ESC interrupt | -| 🖱️ **Electron GUI (new)** | Non-developer entry point — chat/sessions/tool status/settings, auto-starts daemon, `npm start` to launch | +| 🖱️ **Electron GUI (new)** | Non-developer entry point — chat/sessions/tool status/settings, auto-starts daemon, `npm start` to launch. v0.2.5 full redesign: light/dark theme (follows system), friendly tool status rows, multi-model management, empty-state welcome, back-to-bottom button | | ⚡ **Parallel tools** | Independent tool calls run concurrently for speed | | 🔌 **Micro-kernel daemon** | `emrgd` runs persistently — reconnect anytime without losing state | | 🎮 **Vim-friendly** | `j`/`k` navigation, `Ctrl+W`/`Ctrl+K` editing, `Tab` to expand tool cards | @@ -263,14 +263,14 @@ EMRG doesn't just keep up — it catches up on its own. git clone https://github.com/argszero/emrg.git cd emrg uv sync # install deps -uv run pytest tests/ -v # run tests (currently 464 items) +uv run pytest tests/ -v # run tests (currently 472 items) uv run python -m emrg # launch TUI # Optional: Electron GUI (non-developer entry point, Phase 3) cd emrg/gui npm ci # install deps (production: --omit=dev) npm start # launch GUI (auto-starts daemon) -npm test # run Node tests (unit; integration runs in CI, local: npm run test:integration) +npm test # run Node tests (34: 22 daemon_client + 7 integration + 5 renderer smoke; integration runs in CI, local: npm run test:integration) ``` CI runs tests and checks for conflict markers automatically via GitHub Actions (`.github/workflows/test.yml`).