Commit 8afa3fb
committed
fix(codex): separate multirouter catalog and subagent ordering
Fix the Codex MultiRouter setup flow so single-provider model mapping checkboxes mean catalog retention instead of spawn-agent selection. Removing a checkbox now removes that model row, and the row arrows move the provider catalog order directly.
Add explicit wizard pages for naming the new MultiRouter plan, curating the final merged model catalog, and selecting ordered spawn-agent candidates after the final model pool is known. The plan builder now accepts planName, catalogModelOrder, and spawnAgentModels while filtering routes and catalog consistently.
Record the new flow in memory.md. Verification: pnpm typecheck; pnpm vitest run tests/lib/codexMultiRouterWizard.test.ts tests/components/CodexMultiRouterWizard.test.tsx tests/components/CodexFormFields.test.tsx; pnpm exec prettier --check src/components/codex/CodexMultiRouterWizard.tsx src/components/providers/forms/CodexFormFields.tsx src/lib/codexMultiRouterWizard.ts tests/components/CodexMultiRouterWizard.test.tsx tests/components/CodexFormFields.test.tsx tests/lib/codexMultiRouterWizard.test.ts memory.md; git diff --check.1 parent ac9f000 commit 8afa3fb
7 files changed
Lines changed: 701 additions & 115 deletions
File tree
- src
- components
- codex
- providers/forms
- lib
- tests
- components
- lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
| |||
0 commit comments