Commit 7d17e8b
committed
feat(ux): 4-phase extreme UX improvement
Phase 1 — Smart tool tiering:
- Add ToolTier (Core/Standard/Extended) and ToolCategory enums
- Annotate all 40+ tools with tier and category classifications
- Add tier()/categories() default methods to Tool trait
Phase 2 — Zero-config startup (prx go):
- New `prx go` subcommand for instant start with -k flag
- File-based credential detection (auth-profiles, config.toml, Claude OAuth)
- Provider/model auto-inference from API key prefix
Phase 3 — Structured error experience:
- Did-you-mean suggestions for unknown tool names (strsim)
- Schema-aware missing parameter formatting
- Context-sensitive recovery hints for common errors
- Repeated failure detection with guidance injection
Phase 4 — Perception enhancement:
- Dynamic braille spinner during LLM thinking
- Tool execution duration display (e.g. "shell (1.2s)")
- Multi-step progress indicators for tool iterations1 parent 9fe8ab5 commit 7d17e8b
59 files changed
Lines changed: 1427 additions & 88 deletions
File tree
- src
- agent
- channels
- chat
- onboard
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| |||
177 | 180 | | |
178 | 181 | | |
179 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
180 | 186 | | |
181 | 187 | | |
182 | 188 | | |
| |||
247 | 253 | | |
248 | 254 | | |
249 | 255 | | |
250 | | - | |
251 | 256 | | |
252 | 257 | | |
253 | 258 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
522 | | - | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
523 | 529 | | |
524 | 530 | | |
525 | 531 | | |
526 | 532 | | |
527 | | - | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
528 | 540 | | |
529 | 541 | | |
530 | 542 | | |
| |||
535 | 547 | | |
536 | 548 | | |
537 | 549 | | |
538 | | - | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
539 | 558 | | |
540 | 559 | | |
541 | 560 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
35 | 41 | | |
36 | 42 | | |
37 | 43 | | |
| |||
1599 | 1605 | | |
1600 | 1606 | | |
1601 | 1607 | | |
1602 | | - | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
1603 | 1615 | | |
1604 | 1616 | | |
1605 | 1617 | | |
| |||
1639 | 1651 | | |
1640 | 1652 | | |
1641 | 1653 | | |
1642 | | - | |
1643 | | - | |
1644 | | - | |
| 1654 | + | |
| 1655 | + | |
1645 | 1656 | | |
1646 | 1657 | | |
1647 | 1658 | | |
| |||
1672 | 1683 | | |
1673 | 1684 | | |
1674 | 1685 | | |
1675 | | - | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
1676 | 1693 | | |
1677 | 1694 | | |
1678 | 1695 | | |
| |||
1681 | 1698 | | |
1682 | 1699 | | |
1683 | 1700 | | |
1684 | | - | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
1685 | 1708 | | |
1686 | 1709 | | |
1687 | 1710 | | |
| |||
2280 | 2303 | | |
2281 | 2304 | | |
2282 | 2305 | | |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
| 2314 | + | |
| 2315 | + | |
| 2316 | + | |
| 2317 | + | |
2283 | 2318 | | |
2284 | | - | |
2285 | 2319 | | |
2286 | 2320 | | |
2287 | 2321 | | |
| |||
2573 | 2607 | | |
2574 | 2608 | | |
2575 | 2609 | | |
| 2610 | + | |
2576 | 2611 | | |
2577 | 2612 | | |
2578 | 2613 | | |
| |||
2584 | 2619 | | |
2585 | 2620 | | |
2586 | 2621 | | |
| 2622 | + | |
2587 | 2623 | | |
2588 | 2624 | | |
2589 | 2625 | | |
| |||
2602 | 2638 | | |
2603 | 2639 | | |
2604 | 2640 | | |
| 2641 | + | |
2605 | 2642 | | |
2606 | 2643 | | |
2607 | 2644 | | |
2608 | 2645 | | |
2609 | 2646 | | |
2610 | 2647 | | |
| 2648 | + | |
| 2649 | + | |
| 2650 | + | |
| 2651 | + | |
| 2652 | + | |
| 2653 | + | |
| 2654 | + | |
| 2655 | + | |
| 2656 | + | |
| 2657 | + | |
| 2658 | + | |
| 2659 | + | |
| 2660 | + | |
| 2661 | + | |
| 2662 | + | |
| 2663 | + | |
| 2664 | + | |
| 2665 | + | |
2611 | 2666 | | |
2612 | 2667 | | |
2613 | 2668 | | |
2614 | 2669 | | |
2615 | | - | |
2616 | | - | |
| 2670 | + | |
| 2671 | + | |
2617 | 2672 | | |
2618 | 2673 | | |
2619 | 2674 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
526 | | - | |
| 526 | + | |
527 | 527 | | |
528 | | - | |
| 528 | + | |
529 | 529 | | |
530 | 530 | | |
531 | | - | |
| 531 | + | |
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2250 | 2250 | | |
2251 | 2251 | | |
2252 | 2252 | | |
2253 | | - | |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
2254 | 2258 | | |
2255 | 2259 | | |
2256 | 2260 | | |
2257 | 2261 | | |
2258 | 2262 | | |
| 2263 | + | |
2259 | 2264 | | |
2260 | 2265 | | |
2261 | 2266 | | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
2262 | 2279 | | |
2263 | 2280 | | |
2264 | 2281 | | |
| |||
0 commit comments