Commit 0dff93b
feat: v0.3.0 — TUI overhaul, universal OAuth, smart model routing, multi-provider search
TUI Component Library (16 primitives):
- Panel, ListNavigator, TabView, SearchInput, StatusBadge, KeyHint
- ConfirmDialog, MultiSelect, TextInput, BreadcrumbNav, Toast, Spinner
- Divider, Table, Alert, Switch
Redesigned Screens:
- Model picker: provider groups, capability badges [R][V][T], cost display,
available vs unconfigured models sorted
- Provider wizard: BreadcrumbNav, back navigation, TextInput with masking,
Spinner during test, auto-sets first model as active
- Settings: 4 tabs (General/Providers/OAuth/Theme), interactive Switch toggle,
OAuth connection status, color palette preview
- Help modal: F1 shortcut, grouped shortcuts, full command catalog
- Status bar: active provider/model display
Universal OAuth System:
- Generic PKCE flow, localhost callback server, token encryption (AES-256-CBC)
- Provider configs: Google, GitHub, Azure, OpenRouter, Claude
- /connect and /disconnect slash commands
- Auto-refresh manager, startup initialization
Smart Model Routing:
- isClaudeModel() guard prevents non-Anthropic models hitting Anthropic SDK
- Aggregator fallback: OpenRouter-style model IDs (org/model) auto-route
- getDefaultModel() fallback when requested model unavailable
- OPEN_ROUTER_API_KEY and CODEBUFF_BYOK_OPENROUTER env var support
Multi-Provider Web Search:
- Tavily, Brave Search, Serper, SearXNG, DuckDuckGo providers
- Automatic fallback chain, DuckDuckGo always-free default
- No backend required for web search in standalone mode
Team System Fixes:
- Commander bypasses ALL phase restrictions
- Per-member toolOverrides (allowed/blocked) for grant/revoke
- Teams use user's swarmDefaultPhase setting (no more forced planning)
- resolveActiveTeam() with proper priority chain
- setLastActiveTeam() after phase transitions
- maxMembers default raised to 999 (limitless)
Bug Fixes:
- Fixed <span> must be inside <text> crash
- Fixed ripgrep binary discovery (PATH, scoop, choco, cargo)
- Fixed model picker showing 0 models (merged catalog + provider models)
- Phase transition messages inform agent of unlocked tools
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent baa519d commit 0dff93b
64 files changed
Lines changed: 5221 additions & 325 deletions
File tree
- cli
- src
- commands
- components
- primitives
- data
- hooks
- state
- utils
- common/src
- providers
- oauth-configs
- types
- packages/agent-runtime/src
- llm-api
- search
- tools
- handlers/tool
- sdk/src
- impl
- native
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
4 | 8 | | |
5 | 9 | | |
6 | 10 | | |
| |||
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
| 63 | + | |
59 | 64 | | |
60 | 65 | | |
61 | 66 | | |
62 | 67 | | |
63 | 68 | | |
| 69 | + | |
| 70 | + | |
64 | 71 | | |
65 | 72 | | |
66 | 73 | | |
| |||
91 | 98 | | |
92 | 99 | | |
93 | 100 | | |
94 | | - | |
| 101 | + | |
95 | 102 | | |
96 | 103 | | |
97 | 104 | | |
| |||
130 | 137 | | |
131 | 138 | | |
132 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
133 | 143 | | |
134 | 144 | | |
135 | 145 | | |
| |||
711 | 721 | | |
712 | 722 | | |
713 | 723 | | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
714 | 735 | | |
715 | 736 | | |
716 | 737 | | |
| |||
1209 | 1230 | | |
1210 | 1231 | | |
1211 | 1232 | | |
1212 | | - | |
| 1233 | + | |
1213 | 1234 | | |
1214 | 1235 | | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
1215 | 1256 | | |
1216 | 1257 | | |
1217 | 1258 | | |
| |||
1474 | 1515 | | |
1475 | 1516 | | |
1476 | 1517 | | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
1477 | 1538 | | |
1478 | 1539 | | |
1479 | 1540 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
96 | 99 | | |
97 | 100 | | |
98 | 101 | | |
| |||
197 | 200 | | |
198 | 201 | | |
199 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
200 | 235 | | |
201 | 236 | | |
202 | 237 | | |
| |||
219 | 254 | | |
220 | 255 | | |
221 | 256 | | |
222 | | - | |
223 | | - | |
224 | | - | |
| 257 | + | |
225 | 258 | | |
226 | 259 | | |
| 260 | + | |
227 | 261 | | |
228 | 262 | | |
229 | 263 | | |
| |||
439 | 473 | | |
440 | 474 | | |
441 | 475 | | |
| 476 | + | |
| 477 | + | |
442 | 478 | | |
443 | 479 | | |
444 | 480 | | |
445 | 481 | | |
446 | 482 | | |
447 | | - | |
| 483 | + | |
448 | 484 | | |
449 | | - | |
| 485 | + | |
450 | 486 | | |
451 | 487 | | |
452 | 488 | | |
| |||
474 | 510 | | |
475 | 511 | | |
476 | 512 | | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
| 513 | + | |
489 | 514 | | |
490 | 515 | | |
491 | 516 | | |
| |||
630 | 655 | | |
631 | 656 | | |
632 | 657 | | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
| 658 | + | |
645 | 659 | | |
646 | 660 | | |
647 | 661 | | |
| |||
685 | 699 | | |
686 | 700 | | |
687 | 701 | | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
688 | 705 | | |
689 | 706 | | |
690 | 707 | | |
| |||
706 | 723 | | |
707 | 724 | | |
708 | 725 | | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
709 | 740 | | |
710 | 741 | | |
711 | 742 | | |
712 | | - | |
| 743 | + | |
713 | 744 | | |
714 | 745 | | |
715 | 746 | | |
| |||
771 | 802 | | |
772 | 803 | | |
773 | 804 | | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | | - | |
781 | | - | |
782 | | - | |
783 | | - | |
784 | | - | |
785 | | - | |
| 805 | + | |
786 | 806 | | |
787 | 807 | | |
788 | 808 | | |
| |||
854 | 874 | | |
855 | 875 | | |
856 | 876 | | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
857 | 921 | | |
858 | 922 | | |
859 | 923 | | |
860 | | - | |
861 | 924 | | |
862 | 925 | | |
863 | 926 | | |
| |||
0 commit comments