You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
925 B
925 B
useCommandProgress Implementation Plan
For agentic workers: REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (
- [ ]) syntax for tracking.
Goal: 抽出指令进度状态机与 runCommand。
Spec: docs/superpowers/specs/2026-08-28-use-command-progress-design.md
Task 1
- Create
src/composables/useCommandProgress.js - Modify
MonitorView.vue:删除COMMAND_STATUS~runCommand块,改为 composable 调用;保留 Escape/onUnmounted对closeCommandProgress的调用;detailActions.statusText仍绑buttonStatusText
Commit: refactor: 抽取 useCommandProgress 指令进度逻辑
Task 2 冒烟(Main)
evaluate startCommandProgress 或打开浮层;关闭有效。
约束
不改后台;精确 git add;中文 commit;跳过全量测试