Skip to content

feat(chat): 任务时间、过程折叠与本轮文件改动汇总 - #701

Open
TheFlareStar-Re wants to merge 24 commits into
vastsa:mainfrom
TheFlareStar-Re:feat/task-turn-summary
Open

TheFlareStar-Re wants to merge 24 commits into
vastsa:mainfrom
TheFlareStar-Re:feat/task-turn-summary

Conversation

@TheFlareStar-Re

@TheFlareStar-Re TheFlareStar-Re commented Sep 20, 2026 •

Copy link
Copy Markdown

任务执行过程与最终回答分别展示,并使用持久化工具记录生成“本轮编辑”汇总。修复子代理修改被漏掉、父任务构建产生的 Gradle 缓存反而占据汇总的问题。

  • 用户发送与任务完成时间显示在消息悬浮操作区;过程完成后折叠,保留最终回答、失败图标、搜索导航和键盘焦点行为。Alt+Enter 转向继续归入当前任务,“立即发送”仍创建新一轮。
  • 汇总成功 Write/Edit 与 Bash 捕获的真实改动,包括 Task 子代理。修改按原始父调用归属保留在对应轮次;继续同一子代理时,过程卡片可以合并,历史修改不会转移到新一轮。迟到结果与回滚状态能正确更新汇总。
  • 文件汇总与右侧 Review 使用一致的记录筛选,保留原始消息和快照标识。点击文件打开持久化差异,回滚仍受会话归属和内容哈希保护。最多 5 个文件全部显示,超过 5 个默认显示前 3 个。
  • Bash 文件扫描与忽略规则扫描均跳过根目录及子模块的 .gradle 缓存,旧会话显示同步过滤这些自动采集记录;显式 Write/Edit、名为 .gradle 的普通文件和其他二进制资源仍保留。

验证:

  • 候选 c6e7cb384 已整合 main 的 b10325837,PR 基线校验通过;通过普通推送保留已发布提交历史。
  • JS 构建、桌面类型检查、lint、Host 构建通过;前端定向测试 58/58 通过。
  • 真实 Write/Edit/Bash 采集、持久化、Host 重启后限额重载、子代理快照回滚及后续用户修改冲突保护 E2E 通过。
  • 实际 React/Chromium 组件测试与滚动锚点 E2E 通过,包含跨轮继续子代理后原轮汇总的回滚更新。
  • 修复专项 Rust Review/忽略规则测试 18/18 通过;超过一万项 Gradle 缓存的回归已验证修复前失败、修复后通过。格式与 Clippy 检查通过。

私人 Star 安装包的版本与禁更新覆盖仅用于本地打包,不包含在本 PR 中。

@TheFlareStar-Re

Copy link
Copy Markdown
Author

预览

0fbb2655b443a657a6663c502f0cb694 adca528026b2ae24f09a5f157bfe6438 18507f015c41a9ca049b8978c062e7d1

@TheFlareStar-Re

Copy link
Copy Markdown
Author

根据 #639 改进时间显示

66c3c04dca0c63a7fa4f77466b181493 7f9d5b0eeee7258ffb928788dd130674

Keep each task's activity and steering input together while leaving the
final response visible. Show message-owned file changes with focused
review navigation and preserve their evidence across capped reloads.

Capture shell workspace mutations with guarded rollback, retain native
summary styling and bounded file expansion, and document the verified
behavior with regression coverage.
Keep workspace serialization within the existing admission deadline and
bounded queue so review capture cannot stack another full wait window.
Release queued accounting and partial permits when callers cancel.

Cover contention, cancellation and rollback-lock compatibility with
controlled-time regression tests.
Keep completed processes collapsed in the mounted fixtures, wrap them in
the pane-owned disclosure provider, and stop measuring live-turn geometry
through historical tool rows that now fold with the task.
Keep send and completed-turn wall-clock times in the existing hover
action chrome so they are not always on screen. Restore the process
header issue marker while folded so detailed matches compact groups.
Keep process headers compact, hide stale hover chrome outside the window, and retain icon-only failure marks. Avoid process subtree remounts and repeated summary work while preserving focus, review navigation and rollback safety.
TheFlareStar-Re and others added 16 commits September 22, 2026 18:28
Keep each task's activity and steering input together while leaving the
final response visible. Show message-owned file changes with focused
review navigation and preserve their evidence across capped reloads.

Capture shell workspace mutations with guarded rollback, retain native
summary styling and bounded file expansion, and document the verified
behavior with regression coverage.
Keep workspace serialization within the existing admission deadline and
bounded queue so review capture cannot stack another full wait window.
Release queued accounting and partial permits when callers cancel.

Cover contention, cancellation and rollback-lock compatibility with
controlled-time regression tests.
Keep completed processes collapsed in the mounted fixtures, wrap them in
the pane-owned disclosure provider, and stop measuring live-turn geometry
through historical tool rows that now fold with the task.
Keep send and completed-turn wall-clock times in the existing hover
action chrome so they are not always on screen. Restore the process
header issue marker while folded so detailed matches compact groups.
Keep process headers compact, hide stale hover chrome outside the window, and retain icon-only failure marks. Avoid process subtree remounts and repeated summary work while preserving focus, review navigation and rollback safety.
Keep file evidence attached to its original Task even when resumed delegate cards merge. Preserve recorded identities for Review navigation and guarded rollback.

Exclude incidental Gradle caches from both bounded shell scans and historical display so build bookkeeping does not displace actual source edits.
The five published feature commits are patch-equivalent to their rebased local counterparts. Retain their ancestry so the repaired branch can be pushed without rewriting the PR history.
Integrate upstream changes before validating and publishing the delegated file-summary repair.
Keep the Chinese E2E specification aligned with the renderer crash recovery scenario added to the English matrix. This restores the locale structure check used by CI and release verification.
Catalog the reasoning slider improvements in every shipped locale and clear the consumed unreleased notes so the tagged build has an offline changelog.
Document the renderer crash recovery shipped in the test build across all in-app locales and keep the stable changelog catalog checks aligned.
Run the Windows pnpm.cmd shim through a shell so the release builder works with Node 24 on GitHub Actions, and cover the platform-specific invocation contract.
Preserve upstream main behavior for release metadata, Composer drafts, Settings navigation, network policy, and runtime changes while retaining the complete task process, Review, file summary, and transcript scrolling fixes.
Use the unread older-page flag to activate partial-tail alignment. Loaded rows hidden by the bounded window do not keep a completed short conversation pinned to the composer after history is exhausted. Extend the underfilled fixture and interaction documentation to cover both states.
Keep upstream persistence, queue recovery, plugin theme, hosted search, and transcript error-card changes while retaining the accepted short-conversation layout fix.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants