Architecture V2 Migration
Migrate from legacy V1 execution paths to the Architecture V2 durable kernel: control plane schedules work; workers execute steps; state lives in PostgreSQL. - POST /v1/runs · GET /v1/runs/:id · GET /v1/runs/:id/steps · GET /v1/runs/:id/events
本文说明 Architecture V2 Migration 在 Commander 中的职责、使用方式与相关模块。命令与代码路径与产品保持一致。
bash
# After setting DATABASE_URL
pnpm db:migrate # from monorepo — see product scripts要点
- 与英文源文档语义对齐;API 与 CLI 以 monorepo 为准
- 需要可运行示例时,优先使用 快速开始 中的
cliEntry.ts路径 - 指标口径:25 提供商 · 5 拓扑 · 18 工具 · 6700+ 测试