feat: unify execution and add workspace file imports
Remove Ask/Execute modes and general product tool approvals so requests use the selected runtime, enabled capabilities, and execution account permissions. Migrate retired application metadata while preserving user content. Retire the Results page while retaining conversation images and stored artifacts. Add local and remote workspace file imports, timestamps and sorting, improve image discovery and saving, and refine workspace navigation and supervision responsiveness. Include the accompanying web-search changes, tests, probes, and product documentation. Remote imports require an updated Agent. Existing artifacts are not automatically copied into project directories. Validation evidence and outstanding failures remain documented in feature progress files; no full test suite or real-model calls were rerun for this commit. Release note: Run requests without switching work modes, import files into a selected local or remote workspace folder, sort workspace files by date, and keep using conversation images after removal of the Results page.
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
1. 先保证完整、可用的生产路径,再扩展能力范围。
|
||||
2. 性能优化必须有基线、目标和优化后的对比数据。
|
||||
3. 复用现有合同、IPC、Worker、通知、错误边界和界面组件,不引入不必要的框架。
|
||||
4. Ask 保持只读;Execute 继续代表当前本机或 SSH 账号的完整授权。
|
||||
4. 问答与工具任务统一执行,使用当前本机或 SSH 账号权限与已接入能力,无产品模式或一般工具审批。
|
||||
5. 每批只处理列明的范围,不借机进行无关重构。
|
||||
|
||||
## 2. 明确排除的工作
|
||||
@@ -82,7 +82,7 @@
|
||||
- **范围:**
|
||||
- 发布并验证 Agent `0.11.14`,或在 Desktop 发布前恢复到已发布 Agent 契约。
|
||||
- 验证 Linux x64、Linux arm64 正式候选包。
|
||||
- 覆盖安装、Attach、Execute、取消和断线恢复。
|
||||
- 覆盖安装、Attach、工具执行、取消和断线恢复。
|
||||
- 覆盖 GitHub、镜像和离线 GoodBuddy 传输路径。
|
||||
- **验收:**
|
||||
- 干净用户目录能获取预期版本。
|
||||
@@ -130,7 +130,7 @@
|
||||
- **范围:**
|
||||
- 新增共享 Update schema、Preload 方法和可信 IPC handler。
|
||||
- 复用定制任务创建对话框作为编辑模式。
|
||||
- 支持修改名称、Prompt、Ask/Execute、Runtime、首次运行时间和周期。
|
||||
- 支持修改名称、Prompt、Runtime、首次运行时间和周期。
|
||||
- 保留原 Task、Conversation、Schedule 和历史运行关联。
|
||||
- **验收:**
|
||||
- 从任务界面进入编辑,保存后列表和下一次运行时间立即更新。
|
||||
@@ -250,7 +250,7 @@
|
||||
- 接入现有 computer-control broker。
|
||||
- **验收:**
|
||||
- 在真实桌面应用完成一次可重复的查看、点击和输入任务。
|
||||
- Ask 仍不可执行桌面变更,Execute 路径记录活动。
|
||||
- 桌面操作沿用能力开关、资源范围和账号权限,执行路径记录活动。
|
||||
- 取消和关闭后不遗留 GoodBuddy 控制会话。
|
||||
- **外部依赖:** 首个平台产品决策及对应真实设备。
|
||||
- **起始证据:** `src/main/capabilities/capability-service.ts`、
|
||||
@@ -982,6 +982,12 @@ Renderer 主线程降速 4 倍(Main 不降速,每次 reload 后重新应用
|
||||
|
||||
未做:读取最大的会话(407 条消息、42 MB metadata)在 worker 上约 170 ms,不阻塞 Main,但切换到这个会话时要等这么久;需要按需加载 metadata,单独立项。
|
||||
|
||||
### 7.2.3 监督回顾初始化(2026-10-04,PERF-15)
|
||||
|
||||
真实 2.43 GB 隔离快照的全局七天回顾在调用模型前阻塞 Main:来源清单的 25 次扫描都处于同一写事务。修复复用既有 Worker 通信和打包入口,以独立连接单次扫描读快照,再每次写入最多 200 条元数据;初始化期间可受理暂停、取消,未完成清单在继续时重建。最终结果和 checkpoint 仍按原事务一起提交。
|
||||
|
||||
原版与修复版各三轮交替测量,周范围初始化从 16.641–17.911 秒降至 1.099–1.146 秒,最慢 IPC 从 16.642–17.928 秒降至 8.1–14.7 ms。最终取消检查补充后的复核为初始化 1.122 秒、IPC 4.7 ms。来源逐条一致;小范围、取消、并发数据库读写和测量限制统一记录在[监督者进度](../features/conversation-supervision/progress.md#2026-10-04-回顾初始化阻塞修复)。完整发布仍在 Main,未把此修复计作全库写入异步化完成。
|
||||
|
||||
### 7.3 体验倒退复查(2026-10-03)
|
||||
|
||||
逐一复查了所有性能提交对交互体验的影响,并新增原则 P10“体验不倒退”。发现并修复:
|
||||
@@ -1039,14 +1045,14 @@ Renderer 主线程降速 4 倍(Main 不降速,每次 reload 后重新应用
|
||||
|
||||
## 8. 体验与可访问性
|
||||
|
||||
### UX-01 统一 Ask/Execute 文案
|
||||
### UX-01 统一执行文案
|
||||
|
||||
- **优先级 / 状态:** P1 / 已完成
|
||||
- **优先级 / 状态:** P1 / 旧模式文案工作由统一执行替代,完整验收见[进度](../features/unified-execution/progress.md)。
|
||||
- **范围:**
|
||||
- 删除“Execute 高风险操作仍需审批”的冲突说明。
|
||||
- 统一表达为使用当前账号完整权限执行,调用记录到活动。
|
||||
- 删除工作模式、安全分类及一般工具审批策略说明。
|
||||
- 统一表达为使用当前账号权限和已接入能力执行,调用记录到活动。
|
||||
- 同步定时任务、Composer、Runtime、帮助文案及中英文资源。
|
||||
- **验收:** 所有入口对 Ask/Execute 的描述与真实 Runtime 契约一致。
|
||||
- **验收:** 各入口说明与无模式 Runtime 契约一致,清除数据入口和确认行为可用。
|
||||
|
||||
### UX-02 Runtime 显式状态
|
||||
|
||||
|
||||
Reference in New Issue
Block a user