feat: wire gui instance start and delete confirmation

This commit is contained in:
QiuSW
2026-07-22 17:02:59 +08:00
parent 46578c8743
commit 176e3cdad2
12 changed files with 600 additions and 59 deletions
+5 -5
View File
@@ -3,7 +3,7 @@ id: T-301
title: 接入 GUI 启动操作与实例删除确认
phase: 3
deps: [T-204, T-208]
status: DOING
status: DONE
created: 2026-07-22
owner: codex
---
@@ -30,8 +30,8 @@ owner: codex
## 执行记录
- 状态:DOING
- 变更:待实施。
- 验证:待实施。
- 状态:DONE
- 变更:Gio Shell 新增异步启动命令、行级“启动中/运行中/启动失败”状态和重复提交防护;删除图标改为窗口级确认弹层。组合根将启动命令接到 `browser.NewOSLauncher` 与浏览器发现器;新建/删除实例同步保存配置,保留已有 profile、代理和额外参数。空 URL 现在表示不传 URL 参数,浏览器打开默认页。
- 验证:`gofmt`、`go test ./...`、`go vet ./...`、`scripts/smoke-browser.ps1`(真实 Chrome/Edge)和 `scripts/smoke-windows.ps1` 均通过。
- 阻塞:无。
- 残余风险:实际浏览器启动将受本机可执行文件、目录权限和 profile 占用状态影响。
- 残余风险:实际浏览器启动仍受本机可执行文件、目录权限和 profile 占用状态影响;关闭、重启、退出状态回传和 CLI BrowserManager adapter 尚未接入。