duaer-spec 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.duaer/active-job.json +1 -5
- package/.duaer/specs/011-live-agent-launch/delivery.json +15 -0
- package/.duaer/specs/011-live-agent-launch/spec.md +33 -0
- package/.duaer/specs/011-live-agent-launch/tasks.md +5 -0
- package/.duaer/specs/012-live-dispatch-progress/delivery.json +12 -0
- package/.duaer/specs/012-live-dispatch-progress/spec.md +29 -0
- package/.duaer/specs/012-live-dispatch-progress/tasks.md +5 -0
- package/.duaer/specs/013-fix-live-agent-run/delivery.json +9 -0
- package/.duaer/specs/013-fix-live-agent-run/spec.md +18 -0
- package/.duaer/specs/013-fix-live-agent-run/tasks.md +4 -0
- package/.duaer/specs/014-fix-live-agent-auto/delivery.json +9 -0
- package/.duaer/specs/014-fix-live-agent-auto/spec.md +18 -0
- package/.duaer/specs/014-fix-live-agent-auto/tasks.md +4 -0
- package/.duaer/specs/015-fix-live-open-worktree/delivery.json +9 -0
- package/.duaer/specs/015-fix-live-open-worktree/spec.md +17 -0
- package/.duaer/specs/015-fix-live-open-worktree/tasks.md +4 -0
- package/.duaer/specs/016-live-cursor-cli/delivery.json +9 -0
- package/.duaer/specs/016-live-cursor-cli/spec.md +18 -0
- package/.duaer/specs/016-live-cursor-cli/tasks.md +4 -0
- package/.duaer/specs/017-live-cli-install-prompt/delivery.json +9 -0
- package/.duaer/specs/017-live-cli-install-prompt/spec.md +18 -0
- package/.duaer/specs/017-live-cli-install-prompt/tasks.md +5 -0
- package/.duaer/specs/018-fix-live-cursor-terminal/delivery.json +9 -0
- package/.duaer/specs/018-fix-live-cursor-terminal/spec.md +17 -0
- package/.duaer/specs/018-fix-live-cursor-terminal/tasks.md +4 -0
- package/.duaer/specs/019-fix-live-terminal-open/delivery.json +1 -0
- package/.duaer/specs/019-fix-live-terminal-open/spec.md +17 -0
- package/.duaer/specs/019-fix-live-terminal-open/tasks.md +4 -0
- package/.duaer/specs/020-fix-live-dispatch-hang/delivery.json +1 -0
- package/.duaer/specs/020-fix-live-dispatch-hang/spec.md +16 -0
- package/.duaer/specs/020-fix-live-dispatch-hang/tasks.md +3 -0
- package/.duaer/specs/021-fix-live-cli-only/delivery.json +1 -0
- package/.duaer/specs/021-fix-live-cli-only/spec.md +17 -0
- package/.duaer/specs/021-fix-live-cli-only/tasks.md +4 -0
- package/.duaer/specs/022-live-preview-link/delivery.json +9 -0
- package/.duaer/specs/022-live-preview-link/spec.md +19 -0
- package/.duaer/specs/022-live-preview-link/tasks.md +5 -0
- package/CHANGELOG.md +15 -1
- package/README.md +13 -3
- package/README.zh-CN.md +9 -1
- package/bin/duaer-live.mjs +931 -34
- package/docs/agent/e2e-test-plan.md +8 -1
- package/package.json +1 -1
- package/web/live-dev/app.js +354 -16
- package/web/live-dev/index.html +30 -1
- package/web/live-dev/styles.css +172 -0
package/.duaer/active-job.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"status": "accepted",
|
|
3
|
+
"acceptedAt": "2026-09-16T00:45:00.000Z",
|
|
4
|
+
"verification": {
|
|
5
|
+
"levels": ["L0", "L1", "L3"],
|
|
6
|
+
"commands": [
|
|
7
|
+
"node --check bin/duaer-live.mjs",
|
|
8
|
+
"curl GET /api/agents (cursor-agent,claude,cursor,code,none)",
|
|
9
|
+
"curl POST /api/dispatch agentId=none",
|
|
10
|
+
"curl POST /api/dispatch agentId=cursor (open)",
|
|
11
|
+
"curl POST /api/dispatch/launch agentId=none"
|
|
12
|
+
],
|
|
13
|
+
"result": "pass"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Feature Specification: Live desk agent detect + launch
|
|
2
|
+
|
|
3
|
+
**Feature Branch**: `feat/live-agent-launch`
|
|
4
|
+
|
|
5
|
+
**Created**: 2026-09-16
|
|
6
|
+
|
|
7
|
+
**Status**: Active
|
|
8
|
+
|
|
9
|
+
## Goal
|
|
10
|
+
|
|
11
|
+
派工后不只给文案:检测本机已安装的数字员工(Cursor Agent、Claude Code,以及仅打开仓库的 Cursor / VS Code),在现场开发页面列出可选,用户选中后启动并带上开工 prompt。
|
|
12
|
+
|
|
13
|
+
## Out of scope
|
|
14
|
+
|
|
15
|
+
- 远程/云端 Agent 编排
|
|
16
|
+
- 代填各工具的 API Key / 登录
|
|
17
|
+
- 默认开启 bypassPermissions / dangerously-skip-permissions(Claude)
|
|
18
|
+
- 自动合入 / 自动 stamp delivery(仍由被启动的数字员工完成)
|
|
19
|
+
|
|
20
|
+
## Acceptance
|
|
21
|
+
|
|
22
|
+
1. `GET /api/agents` 返回本机检测到的启动器列表(至少探测 `agent`/`cursor agent`、`claude`、`cursor`、`code`)
|
|
23
|
+
2. 派工面板展示可用启动器供点选;可「仅派工不启动」
|
|
24
|
+
3. 派工时可带 `agentId`;或派工后再 `POST /api/dispatch/launch` 启动
|
|
25
|
+
4. Cursor Agent:在 worktree 上以 prompt 启动(非交互 `-p`,记录日志);Claude Code:`--bg` 后台开工;`cursor`/`code`:打开 worktree
|
|
26
|
+
5. UI 文案不再暗示「请手动复制给数字员工」为唯一路径
|
|
27
|
+
6. E2E catalog 增加场景;smoke curl 覆盖 detect + launch(launch 可用假/探测级)
|
|
28
|
+
|
|
29
|
+
## Assumptions
|
|
30
|
+
|
|
31
|
+
- macOS/Linux PATH 上有 CLI 即视为已安装
|
|
32
|
+
- Cursor Agent 启动使用 `--trust`;为无人值守加 `--force`(用户显式点启动)
|
|
33
|
+
- 上次选用的 agentId 可记在 live 配置里作默认
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"status": "accepted",
|
|
3
|
+
"acceptedAt": "2026-09-16T00:50:00.000Z",
|
|
4
|
+
"verification": {
|
|
5
|
+
"levels": ["L0", "L1", "L3"],
|
|
6
|
+
"commands": [
|
|
7
|
+
"node --check bin/duaer-live.mjs",
|
|
8
|
+
"curl status progress 0/3 → 1/3 after T001 → accepted"
|
|
9
|
+
],
|
|
10
|
+
"result": "pass"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Feature Specification: Live dispatch progress
|
|
2
|
+
|
|
3
|
+
**Feature Branch**: `feat/live-dispatch-progress`
|
|
4
|
+
|
|
5
|
+
**Created**: 2026-09-16
|
|
6
|
+
|
|
7
|
+
**Status**: Active
|
|
8
|
+
|
|
9
|
+
## Goal
|
|
10
|
+
|
|
11
|
+
派工后现场开发能看到数字员工做到哪一步:轮询产品仓 Brief 的 `tasks.md` 勾选状态,并展示当前步骤;可选附带启动日志尾部。
|
|
12
|
+
|
|
13
|
+
## Out of scope
|
|
14
|
+
|
|
15
|
+
- 实时流式推送 Agent token
|
|
16
|
+
- 解析 IDE 内部会话状态
|
|
17
|
+
- 强制远程 Agent 上报自定义协议(依赖 tasks.md 勾选约定)
|
|
18
|
+
|
|
19
|
+
## Acceptance
|
|
20
|
+
|
|
21
|
+
1. `GET /api/status` 返回 `progress`:tasks 列表(done/pending)、done/total、current 文案
|
|
22
|
+
2. 派工面板展示进度清单,随轮询更新
|
|
23
|
+
3. delivery accepted 时进度显示完成并停止轮询
|
|
24
|
+
4. 派工写入的 tasks / agentPrompt 明确要求边做边勾选
|
|
25
|
+
5. Smoke curl + E2E catalog
|
|
26
|
+
|
|
27
|
+
## Assumptions
|
|
28
|
+
|
|
29
|
+
- 数字员工按 Duaer 流程会更新 `tasks.md` 的 `- [x]`
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Feature Specification: Live agent actually runs
|
|
2
|
+
|
|
3
|
+
**Feature Branch**: `fix/live-agent-run`
|
|
4
|
+
|
|
5
|
+
**Created**: 2026-09-16
|
|
6
|
+
|
|
7
|
+
**Status**: Active
|
|
8
|
+
|
|
9
|
+
## Goal
|
|
10
|
+
|
|
11
|
+
选 Cursor Agent / Claude 派工后,真正启动可运行的数字员工会话(终端可见),而不是只打开 Cursor 窗口;默认不要记住「仅打开 IDE」。
|
|
12
|
+
|
|
13
|
+
## Acceptance
|
|
14
|
+
|
|
15
|
+
1. cursor-agent:打开 worktree,并在 Terminal(macOS)或等效方式启动 `agent --workspace … --trust --force`(交互,不用 `-p` 静默)
|
|
16
|
+
2. claude:在终端启动交互 `claude`(或明确后台时写清日志);不再让用户误以为「打开 Cursor」就是开工
|
|
17
|
+
3. preferredAgentId 只持久化 worker;open-only 不覆盖默认
|
|
18
|
+
4. UI 文案区分「开工」与「仅打开」
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Feature Specification: Live agent auto-run (no wait for input)
|
|
2
|
+
|
|
3
|
+
**Feature Branch**: `fix/live-agent-auto`
|
|
4
|
+
|
|
5
|
+
**Created**: 2026-09-16
|
|
6
|
+
|
|
7
|
+
**Status**: Active
|
|
8
|
+
|
|
9
|
+
## Goal
|
|
10
|
+
|
|
11
|
+
派工选 Cursor Agent / Claude 后立刻非交互开工,不落在终端/IDE 里等用户再输入。
|
|
12
|
+
|
|
13
|
+
## Acceptance
|
|
14
|
+
|
|
15
|
+
1. cursor-agent:`agent -p --force --trust --workspace` 后台 spawn,prompt 作 argv;日志写入 agent-launch.log
|
|
16
|
+
2. claude:`claude --bg` 后台开工(非交互)
|
|
17
|
+
3. 不再为 worker 打开交互 Terminal;不默认只打开 Cursor 空窗导致误以为要手输
|
|
18
|
+
4. UI 说明「已后台自动开工」
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Feature Specification: Open named worktree on auto-start
|
|
2
|
+
|
|
3
|
+
**Feature Branch**: `fix/live-open-worktree`
|
|
4
|
+
|
|
5
|
+
**Created**: 2026-09-16
|
|
6
|
+
|
|
7
|
+
**Status**: Active
|
|
8
|
+
|
|
9
|
+
## Goal
|
|
10
|
+
|
|
11
|
+
后台自动开工时,同时用 Cursor 打开派工得到的命名 worktree(如 `.worktree/feat-1`),方便查看与操作。
|
|
12
|
+
|
|
13
|
+
## Acceptance
|
|
14
|
+
|
|
15
|
+
1. cursor-agent:后台 `-p` 开工 + `cursor <worktreePath>`
|
|
16
|
+
2. claude:`--bg` + 尽量打开 Cursor/VS Code 到该 worktree
|
|
17
|
+
3. UI 提示已打开 worktree
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Feature Specification: Cursor CLI dispatch support
|
|
2
|
+
|
|
3
|
+
**Feature Branch**: `feat/live-cursor-cli`
|
|
4
|
+
|
|
5
|
+
**Created**: 2026-09-16
|
|
6
|
+
|
|
7
|
+
**Status**: Active
|
|
8
|
+
|
|
9
|
+
## Goal
|
|
10
|
+
|
|
11
|
+
派工启动对齐 Cursor 官方 CLI:用 `cursor -n` 打开命名 worktree,用 `agent` / `cursor agent` 非交互开工(`--workspace --trust -p --force`,不用 `-w`),并暴露 CLI 检测信息。
|
|
12
|
+
|
|
13
|
+
## Acceptance
|
|
14
|
+
|
|
15
|
+
1. Open: `cursor -n <worktree>`;尽量 `-g` 到 Brief `tasks.md`
|
|
16
|
+
2. Run: prefer `agent` else `cursor agent`; args include `--workspace --trust -p --force --sandbox disabled`; never pass `-w`
|
|
17
|
+
3. `/api/agents` includes cursor/agent binary paths (+ optional version)
|
|
18
|
+
4. UI hint reflects Cursor CLI behavior
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Feature Specification: CLI install hints + Agent start command box
|
|
2
|
+
|
|
3
|
+
**Feature Branch**: `feat/live-cli-install-prompt`
|
|
4
|
+
|
|
5
|
+
**Created**: 2026-09-16
|
|
6
|
+
|
|
7
|
+
**Status**: Active
|
|
8
|
+
|
|
9
|
+
## Goal
|
|
10
|
+
|
|
11
|
+
未安装 Cursor CLI 时提示安装命令;派工区提供「启动命令」输入框,默认以 `Agent` 开头,派工时把该内容交给 Cursor Agent。
|
|
12
|
+
|
|
13
|
+
## Acceptance
|
|
14
|
+
|
|
15
|
+
1. missing Cursor / Cursor Agent 带 `installCommand: curl https://cursor.com/install -fsS | bash`,UI 展示可复制
|
|
16
|
+
2. 派工面板有启动命令输入框;选 Cursor Agent 时默认以 `Agent` 开头
|
|
17
|
+
3. `POST /api/dispatch` 接受 `startCommand`,用作 agent prompt(并补全 worktree/Brief 路径)
|
|
18
|
+
4. 未安装却选 Cursor Agent 时阻止启动并提示安装
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Feature Specification: Cursor Agent launches Terminal + CLI
|
|
2
|
+
|
|
3
|
+
**Feature Branch**: `fix/live-cursor-terminal`
|
|
4
|
+
|
|
5
|
+
**Created**: 2026-09-16
|
|
6
|
+
|
|
7
|
+
**Status**: Active
|
|
8
|
+
|
|
9
|
+
## Goal
|
|
10
|
+
|
|
11
|
+
Cursor Agent 派工打开 Terminal,在终端里执行 `agent` / `cursor agent` CLI(带启动命令),不再 `cursor -n` 开 IDE,也不后台静默 `-p`。
|
|
12
|
+
|
|
13
|
+
## Acceptance
|
|
14
|
+
|
|
15
|
+
1. cursor-agent → launchInTerminal with cursor CLI; mode=terminal
|
|
16
|
+
2. Hint/UI 文案反映 Terminal + CLI
|
|
17
|
+
3. 不调用 openCursorWorktree for cursor-agent
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"status":"accepted","acceptedAt":"2026-09-16T01:45:00.000Z","verification":{"levels":["L0"],"commands":["node --check","open .command"],"result":"pass"}}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Feature Specification: Reliable Terminal open for Cursor Agent
|
|
2
|
+
|
|
3
|
+
**Feature Branch**: `fix/live-terminal-open`
|
|
4
|
+
|
|
5
|
+
**Created**: 2026-09-16
|
|
6
|
+
|
|
7
|
+
**Status**: Active
|
|
8
|
+
|
|
9
|
+
## Goal
|
|
10
|
+
|
|
11
|
+
Cursor Agent 派工时真正弹出 Terminal:用 `.command` + `open`(并修正 osascript 引号)。
|
|
12
|
+
|
|
13
|
+
## Acceptance
|
|
14
|
+
|
|
15
|
+
1. macOS uses `open *.command` to launch Terminal with Cursor CLI
|
|
16
|
+
2. Failed open falls back to correctly quoted osascript; both fail → error with command
|
|
17
|
+
3. Launch log records open result
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"status":"accepted","acceptedAt":"2026-09-16T01:50:00.000Z","verification":{"levels":["L0"],"commands":["node --check"],"result":"pass"}}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Feature Specification: Unstick dispatch UI
|
|
2
|
+
|
|
3
|
+
**Feature Branch**: `fix/live-dispatch-hang`
|
|
4
|
+
|
|
5
|
+
**Created**: 2026-09-16
|
|
6
|
+
|
|
7
|
+
**Status**: Active
|
|
8
|
+
|
|
9
|
+
## Goal
|
|
10
|
+
|
|
11
|
+
派工不再因同步打开 Terminal / osascript 卡住;接口快速返回,UI 有超时。
|
|
12
|
+
|
|
13
|
+
## Acceptance
|
|
14
|
+
|
|
15
|
+
1. launchInTerminal non-blocking
|
|
16
|
+
2. fetch abort 60s; finally clears 派工中
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"status":"accepted","acceptedAt":"2026-09-16T01:55:00.000Z","verification":{"levels":["L0"],"commands":["node --check"],"result":"pass"}}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Feature Specification: CLI-only digital employees
|
|
2
|
+
|
|
3
|
+
**Feature Branch**: `fix/live-cli-only`
|
|
4
|
+
|
|
5
|
+
**Created**: 2026-09-16
|
|
6
|
+
|
|
7
|
+
**Status**: Active
|
|
8
|
+
|
|
9
|
+
## Goal
|
|
10
|
+
|
|
11
|
+
派工「用哪个数字员工」只保留 CLI:Cursor Agent、Claude Code;二者均在 Terminal 执行。
|
|
12
|
+
|
|
13
|
+
## Acceptance
|
|
14
|
+
|
|
15
|
+
1. `/api/agents` only lists cursor-agent / claude (plus missing install hints)
|
|
16
|
+
2. No Cursor-open-only / VS Code / 仅派工 options
|
|
17
|
+
3. Claude launches via Terminal like Cursor Agent
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Feature Specification: Live delivery preview link
|
|
2
|
+
|
|
3
|
+
**Feature Branch**: `feat/live-preview-link`
|
|
4
|
+
|
|
5
|
+
**Created**: 2026-09-16
|
|
6
|
+
|
|
7
|
+
**Status**: Active
|
|
8
|
+
|
|
9
|
+
## Goal
|
|
10
|
+
|
|
11
|
+
delivery accepted 后现场开发展示可点击的成品链接(`delivery.preview` 或 worktree 内常见静态页),用户可直接打开查看。
|
|
12
|
+
|
|
13
|
+
## Acceptance
|
|
14
|
+
|
|
15
|
+
1. Agents stamp `preview.url` (http(s) or worktree-relative path) in delivery.json when there is a viewable artifact
|
|
16
|
+
2. `/api/status` returns `preview: { url, label, source }`
|
|
17
|
+
3. Live serves worktree files at `/api/artifact?jobId=&path=` (path confined to worktree)
|
|
18
|
+
4. UI shows 「查看成品」 link/button on accept; bubble mentions the link
|
|
19
|
+
5. Dispatch prompt/tasks require preview for UI deliverables
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 0.12.0 — 2026-09-16
|
|
4
|
+
|
|
5
|
+
### Live desk → product dispatch (closed loop)
|
|
6
|
+
|
|
7
|
+
- Confirm + auto-accept, then pick a product repo (browse / scan / recent) and create `.worktree/feat-*` with Brief under that worktree’s `.duaer/specs/`
|
|
8
|
+
- Non-git folders: auto `git init -b develop`; repos without develop/main/master: auto-create local `develop`
|
|
9
|
+
- Launchers are **CLI only**: Cursor Agent and Claude Code — open Terminal and run `agent` / `cursor agent` or `claude` with the start command (prefix `Agent`)
|
|
10
|
+
- Missing Cursor CLI shows install: `curl https://cursor.com/install -fsS | bash`
|
|
11
|
+
- Progress: poll product Brief `tasks.md` checkboxes; optional agent-launch.log tail
|
|
12
|
+
- On `delivery.json` accepted: show **查看成品** from `preview.url` (or auto-detect `index.html`); serve worktree files at `/api/artifact/<jobId>/…`
|
|
13
|
+
- Dispatch does not block the UI on Terminal open (async); 60s client timeout
|
|
14
|
+
|
|
15
|
+
### Docs
|
|
16
|
+
|
|
17
|
+
- README / README.zh-CN: live desk flow updated for CLI launch, progress, and preview link
|
|
4
18
|
|
|
5
19
|
## 0.11.0 — 2026-09-16
|
|
6
20
|
|
package/README.md
CHANGED
|
@@ -40,16 +40,26 @@ everyday human UI.
|
|
|
40
40
|
Isolated from product repos. Config and Briefs live under `~/.duaer/live/`.
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
|
-
# DeepSeek
|
|
43
|
+
# DeepSeek (recommended)
|
|
44
44
|
duaer live config --provider deepseek --api-key sk-...
|
|
45
45
|
|
|
46
|
-
#
|
|
46
|
+
# Remember a product repo for dispatch (optional; run inside that repo)
|
|
47
47
|
duaer live repo add
|
|
48
48
|
|
|
49
49
|
duaer live
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
Open the printed URL (default `http://127.0.0.1:8787`).
|
|
53
|
+
|
|
54
|
+
**Flow**
|
|
55
|
+
|
|
56
|
+
1. Dialogue → fill confirm card → auto-accept
|
|
57
|
+
2. Pick a product repo (browse / scan / recent). Non-git folders get `git init -b develop`; missing develop/main/master creates local `develop`
|
|
58
|
+
3. Choose a **CLI** digital employee: **Cursor Agent** or **Claude Code** (install Cursor CLI if needed: `curl https://cursor.com/install -fsS | bash`)
|
|
59
|
+
4. Edit the start command (must begin with `Agent`) → dispatch creates `.worktree/feat-*` and opens **Terminal** to run the CLI
|
|
60
|
+
5. Watch `tasks.md` progress on the desk; when `delivery.json` is `accepted`, open **查看成品** (`preview.url` or auto-detected `index.html`)
|
|
61
|
+
|
|
62
|
+
Worktree id ≠ Brief folder name — use `.worktree/feat-<name>/`, Brief under `.duaer/specs/<nnn-slug>/` inside that worktree.
|
|
53
63
|
|
|
54
64
|
## Branches (mandatory)
|
|
55
65
|
|
package/README.zh-CN.md
CHANGED
|
@@ -51,7 +51,15 @@ duaer live config --base-url https://api.openai.com/v1 --api-key sk-... --model
|
|
|
51
51
|
duaer live
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
浏览器打开提示地址(默认 `http://127.0.0.1:8787`)。
|
|
55
|
+
|
|
56
|
+
**流程**
|
|
57
|
+
|
|
58
|
+
1. 多轮对话 → 确认卡 → 自动验收
|
|
59
|
+
2. 浏览 / 扫描 / 点选产品仓派工(非 git 目录会自动 `git init -b develop`;没有 develop/main/master 会自动建本地 `develop`)
|
|
60
|
+
3. 只选 **CLI 数字员工**:**Cursor Agent** 或 **Claude Code**(未装 Cursor 时页面会提示:`curl https://cursor.com/install -fsS | bash`)
|
|
61
|
+
4. 编辑「启动命令」(须以 `Agent` 开头)→ 派工建 `.worktree/feat-*`,并打开 **Terminal** 跑对应 CLI
|
|
62
|
+
5. 页面轮询 `tasks.md` 进度;`delivery.json` 为 `accepted` 后出现 **查看成品**(`preview.url`,或自动发现 `index.html`)
|
|
55
63
|
|
|
56
64
|
### 目录不要同名套娃
|
|
57
65
|
|