Commit 1cf8b37
authored
🤖 feat: remove Chat with Mux (#3123)
## Summary
Remove the built-in Chat with Mux workspace and agent, along with the
frontend, backend, docs, and test special-casing that supported it, then
follow through on the compatibility and validation regressions that
surfaced once the feature was gone.
## Background
Chat with Mux added a hidden system workspace, a dedicated built-in
agent, and multiple product-specific exceptions across routing,
workspace creation, tool scope, MCP/secrets handling, docs, Storybook,
and tests. Removing the feature wholesale simplifies those paths, but it
also exposed a few places that still depended on legacy system-workspace
behavior, persisted `mux` agent ids, or test-only globals/module state
that had been masked before.
## Implementation
- delete the built-in Chat with Mux agent, constants, docs page, and
dedicated UI test
- remove service-container bootstrap plus workspace/AI/terminal special
handling for the built-in system workspace
- remove UI entrypoints and affordances, including the sidebar help
button, landing-page card, and F1 shortcut
- update command, routing, and agent-locking behavior to stop treating a
special workspace differently
- preserve documented global mux-tool behavior for legacy hidden system
workspaces, while keeping `_multi` workspaces project-scoped
- remap persisted removed `mux` agent ids to the default built-in
fallback so upgraded installs keep UI/backend agent state aligned
- skip hidden system workspaces in the desktop new-chat startup fallback
so upgraded installs still draft chats in user-visible projects
- stabilize the affected Bun test suites by isolating leaked DOM
globals, module cache state, and context-menu/menu mocks across
full-suite runs
## Validation
- `make static-check`
- `make test`
## Risks
- Existing on-disk leftovers from the removed system workspace are no
longer surfaced as a first-class feature; this change removes the
feature rather than adding a migration UI.
- Legacy hidden system workspaces and removed `mux` agent ids still need
compatibility fallbacks on upgrade, so regressions there remain low-risk
but worth keeping under regression coverage.
---
_Generated with `mux` • Model: `openai:gpt-5.4` • Thinking: `xhigh` •
Cost: `$49.43`_
<!-- mux-attribution: model=openai:gpt-5.4 thinking=xhigh costs=49.43
-->1 parent 3aeeb99 commit 1cf8b37
78 files changed
Lines changed: 1111 additions & 2259 deletions
File tree
- docs
- agents
- getting-started
- src
- browser
- components
- AgentListItem
- AppLoader
- PinnedTodoList
- ProjectPage
- ProjectSidebar
- SectionHeader
- WorkspaceActionsMenuContent
- WorkspaceMenuBar
- contexts
- features
- Analytics
- LandingPage
- Settings/Sections
- stories/mocks
- utils
- commands
- ui
- common
- constants
- types
- utils
- node
- builtinAgents
- builtinSkills
- constants
- services
- agentDefinitions
- agentSkills
- system1
- tools
- tests/ui
- chat
- layout
- storybook
- workspaces
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 | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | 93 | | |
96 | 94 | | |
97 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| |||
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
506 | | - | |
| 506 | + | |
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
| |||
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
629 | | - | |
630 | | - | |
631 | | - | |
632 | | - | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | 571 | | |
641 | 572 | | |
642 | 573 | | |
| |||
718 | 649 | | |
719 | 650 | | |
720 | 651 | | |
721 | | - | |
| 652 | + | |
722 | 653 | | |
723 | 654 | | |
724 | 655 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
111 | 110 | | |
112 | 111 | | |
113 | 112 | | |
114 | | - | |
115 | 113 | | |
116 | 114 | | |
117 | 115 | | |
| |||
244 | 242 | | |
245 | 243 | | |
246 | 244 | | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | 245 | | |
269 | 246 | | |
270 | 247 | | |
| |||
802 | 779 | | |
803 | 780 | | |
804 | 781 | | |
805 | | - | |
806 | | - | |
807 | | - | |
808 | 782 | | |
809 | 783 | | |
810 | 784 | | |
| |||
831 | 805 | | |
832 | 806 | | |
833 | 807 | | |
834 | | - | |
835 | 808 | | |
836 | 809 | | |
837 | 810 | | |
| |||
0 commit comments