Commit aaeb904
feat(tui): ship TUI in default binary (#2195)
* feat(tui): ship TUI in default binary
Add `tui` to default Cargo features so the Ratatui terminal UI is
included in standard builds. The TUI only activates when explicitly
configured at runtime (`config.channels.tui`), so server deployments
are unaffected — the deps compile in but nothing initializes.
Also remove `dist = false` from ironclaw_tui so cargo-dist includes
it in release artifacts.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(tui): make arboard/clipboard optional to support headless builds
arboard requires X11/Wayland dev headers on Linux, breaking builds in
minimal Docker images and headless CI runners. Move arboard and image
behind an opt-in `clipboard` feature (defaulted on) so headless builds
can exclude them while desktop builds keep full clipboard support.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent e0bdd74 commit aaeb904
3 files changed
Lines changed: 23 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
27 | | - | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1660 | 1660 | | |
1661 | 1661 | | |
1662 | 1662 | | |
1663 | | - | |
| 1663 | + | |
1664 | 1664 | | |
1665 | 1665 | | |
1666 | 1666 | | |
1667 | 1667 | | |
1668 | 1668 | | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
1669 | 1675 | | |
1670 | 1676 | | |
1671 | 1677 | | |
| |||
2442 | 2448 | | |
2443 | 2449 | | |
2444 | 2450 | | |
| 2451 | + | |
2445 | 2452 | | |
2446 | 2453 | | |
2447 | 2454 | | |
| |||
2460 | 2467 | | |
2461 | 2468 | | |
2462 | 2469 | | |
| 2470 | + | |
| 2471 | + | |
| 2472 | + | |
| 2473 | + | |
| 2474 | + | |
2463 | 2475 | | |
2464 | 2476 | | |
| 2477 | + | |
2465 | 2478 | | |
2466 | 2479 | | |
2467 | 2480 | | |
| |||
2526 | 2539 | | |
2527 | 2540 | | |
2528 | 2541 | | |
| 2542 | + | |
2529 | 2543 | | |
2530 | 2544 | | |
2531 | 2545 | | |
| |||
2540 | 2554 | | |
2541 | 2555 | | |
2542 | 2556 | | |
| 2557 | + | |
2543 | 2558 | | |
2544 | 2559 | | |
2545 | 2560 | | |
| |||
2548 | 2563 | | |
2549 | 2564 | | |
2550 | 2565 | | |
| 2566 | + | |
2551 | 2567 | | |
2552 | 2568 | | |
2553 | 2569 | | |
| |||
0 commit comments