RFC: setup command + workspace build scripts #216

Closed
opened 2026-05-12 10:11:27 +00:00 by xingyue · 0 comments
Owner

背景

init workspace + init template 生成的工作区缺少两个关键能力:

  1. 没有 build scripts — 无法构建出符合 bundle 合约的 .esm.js + .d.ts
  2. 没有 setup 命令 — ~/.uncaged/workflow/workflow.yamlconfig 段没有配置入口,workflow 跑不起来

Phase 拆分

Phase 1: workspace build scripts

Phase 2: setup command

完成标准

  • Phase 1 testing issue #217 closed
  • Phase 2 testing issue #218 closed
  • 现有测试通过
## 背景 `init workspace` + `init template` 生成的工作区缺少两个关键能力: 1. 没有 build scripts — 无法构建出符合 bundle 合约的 `.esm.js` + `.d.ts` 2. 没有 setup 命令 — `~/.uncaged/workflow/workflow.yaml` 的 `config` 段没有配置入口,workflow 跑不起来 ## Phase 拆分 ### Phase 1: workspace build scripts - 验证目标:`init workspace` 后自带 bundle 脚本,`bun run bundle` 能产出 `.esm.js` + `.d.ts` - Testing issue: #217 ### Phase 2: setup command - 验证目标:`uncaged-workflow setup` 能引导配置 provider/model 并写入 workflow.yaml;CLI 模式支持 agent 非交互调用 - Testing issue: #218 ## 完成标准 - [ ] Phase 1 testing issue #217 closed - [ ] Phase 2 testing issue #218 closed - [ ] 现有测试通过
xingyue changed title from feat: setup command + workspace build scripts to RFC: setup command + workspace build scripts 2026-05-12 10:12:47 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#216