Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions emrg/server/evolution_prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ When reading rants, follow these rules:
> - TUI status bar authoritative context message count (#772 宿主 rant 2026-08-13T21:52:18:状态栏 `· N msgs ·` 此前客户端本地 `msg_count += 1` 近似,auto-compact 重建消息后计数漂移;修复=daemon.py 两个最终 done 帧(Case 1 loop-exit + Case 3 max-tokens)均携带 `context_messages: len(messages)`(当前 LLM 上下文权威大小:system+history+user+tool results+assistant replies,auto-compact 重建后正确重导出);app.py done handler `int(context_messages)` 优先、缺失时回退 +1(向后兼容旧 daemon);e2e 单轮工具流断言 == 5(system+user+assistant-tool_calls+tool-result+final assistant);合并 66ab9a0;post-merge Test CI PASS(31709343733)) ✅
> - GUI settings panel title + dead settings-btn removal (#773 宿主 rant 2026-08-13T21:49:51:设置面板缺标题(Rant/项目/任务面板样式对齐)+ 侧边栏底部 settings-btn 与导航 ⚙ 重复入口;修复=index.html panel-settings 加 `<h2 class="workspace-view-title" data-i18n="settings.title">`(layout.css 补 .workspace-view-title 定义——此前并行面板标题引用但全库无此 CSS)、sidebar-footer 删 settings-btn(保留 status-dot)、app.js settings-btn 绑定删除(导航 switchView("settings") 路径已含 loadEvolutionSummary+showSettings,功能保留)、i18n.js 删 sidebar.settings 孤儿键(zh+en,settings.title 两语言已存在);+1 renderer.smoke 判别测试(title 存在/footer 无 btn 有 dot/app.js 无绑定/i18n 无孤儿键,GUI 241→242);合并 2d9d7d6;post-merge Test CI PASS(31709827480)) ✅
> - GUI i18n orphan/missing-key guard (#776 自发现:#771 review ❌ 检出 7 个孤儿 i18n keys——#755 清理类无防回归护栏;修复=i18n.test.js 双向守卫——(A) 无孤儿字典键(字典每个 key 被 JS 代码/index.html data-i18n 引用)、(B) 无缺失引用键(代码引用的 key 在字典中);处理形态=字面 t 调用(_t/I18N.t/EMRG_I18N.t/t)、三元 span(_t(cond ? "A" : "B"))、模板 glob(按 base 段归一 tool.*.doing 匹配)、registry 属性值(hint/title/key/label/placeholder/text/msg)、camelCase 段(projects.autoEvolve);同时删 15 个死键(result.title/settings.groupTasks/settings.githubTokenEmpty/tasks.title/tasks.desc/panel.openFailed/panel.copied/app.helpNoSessions/app.historyLoading/app.globalAll/app.noTasks/sidebar.noOpenSessions/projects.sessions/composer.modeAsk/composer.modeAuto,zh+en 各 15 = i18n.js −30 行);+1 测试 GUI 242→243、Agent.md 同步;合并 c54280e) ✅
> - GUI workspace panel titles + Rant 5-column list + i18n.apply control-preserving fix (#778 宿主 rants 2026-08-13T21:36:01/21:38:25/21:46:53:①Rant 面板=`.workspace-view-title` 标题 + `.rant-head` 5 列头(时间/项目/状态/进度/内容)+ 行同宽类对齐 + 状态徽标三态配色(badge-done 绿/badge-warn 琥珀/badge-muted 灰)+ 点击展开详情(meta 行 + 完整 message 经 window.emrgMarkdown.renderMarkdown 渲染 md,DOMPurify 同源,fallback textContent)+ 内容列摘要去 md 标题/列表标记;②项目面板=标题 + 删顶部 hint;③任务面板=标题 + **i18n.apply 根因修复**——旧实现整体 `node.textContent = t(key)` 清空含控件 label(`<label data-i18n>任务名 <input/></label>`)子元素 → 「添加任务/自定义类型」点击无响应;改为只替换首个文本节点(`first.nodeValue = text`,无文本节点时回退 textContent);④孤儿键 rants.detail/projects.hint 删除、tasks.title 复用(#776 删后本 PR 重新引用);i18n 新增 rants.title/colTime/colProject/colStatus/colProgress/colContent + projects.title(zh/en);+1 renderer.smoke(GUI 243→244,含真实 marked 注入断言 h2/strong/code + 源码级 i18n.apply 断言);合并 b970031;post-merge Test CI PASS(31735360625)) ✅

#### 2.2 Latest GitHub code changes

Expand Down
Loading