feat(lanes): add pipeline-template picker to the Workspace lane header

Lets a lane's pipeline template be switched live from the dashboard
(the same PATCH /api/lanes/:id the CLI's `ccam lanes pipeline` uses),
so lanes created before the picker shipped don't need the terminal.
Both ship-feature skills now force their own template before their
first `ccam stage` call, so the human never has to pick correctly at
lane creation.
This commit is contained in:
2026-08-11 12:15:16 +07:00
parent f6946d72f4
commit f0ae876472
9 changed files with 91 additions and 6 deletions
@@ -41,6 +41,10 @@ vi.mock("../../lib/api", async (importOriginal) => {
send: r({ messageId: "m-1" }),
kill: r({ ok: true }),
},
lanes: {
list: r({ lanes: [], counts: { total: 0, running: 0, needs_you: 0, dead: 0 } }),
pipelines: r({ pipelines: [] }),
},
ccConfig: {
commands: r({ items: [] }),
plugins: r({ plugins: [] }),