feat: add native discovery for configured actions
Reviewer summary
Shows configured actions in the existing discovery surfaces, with stable identity and the right global-versus-project scope. The change reuses the current action and settings owners.
What changed
Adds the smallest native discovery/management surface for the existing cmux.json action system.
- adds an Actions · cmux.json… entry beside Settings/Open cmux.json in the app menu
- adds the same entry to the new-workspace (+) menu management tail
- shows the live resolved custom action registry, including inherited/project-local actions and overridden built-ins
- shows effective placements using the existing config vocabulary:
palette,ui.newWorkspace.action,ui.newWorkspace.contextMenu,ui.surfaceTabBar.buttons, andshortcut - exposes the existing in-cmux config edit path and the existing custom-commands docs
- keeps execution on the existing action/config paths; this adds no action registry, workflow format, or editor
The discovery model filters shipped built-ins unless they have a config source path, so the panel focuses on user/project customization while still surfacing built-in overrides.
Lane K / #79
Implements Lane K from https://github.com/teamleaderleo/Tact/issues/79.
Lane J uses workflows / saved layouts for reusable layout discovery. This PR keeps that vocabulary intact and scopes its UI to resolved cmux.json actions and their launcher placements; it does not touch Lane J's workflow catalog/docs files.
Tests
Focused coverage:
CmuxConfigWorkspaceActionTests.actionsAndLaunchersDiscoveryReportsEffectivePlacementscovers agent/workspace kinds, palette/default/+ menu/tab-bar/shortcut placement, and hiding unconfigured shipped built-ins.- existing new-workspace rendering tests now assert the shared Actions entry in the management tail.
- the added Swift source parses cleanly with
swiftc -frontend -parse.
Localization audit
No new prose localization keys were introduced. The new native UI reuses existing localized strings for Actions, Open cmux.json, Open Docs, and OK. Placement/type rows intentionally display invariant cmux.json identifiers and schema enum values so users can map the discovery view directly back to config.
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.
Summary by cubic
Adds a native discovery panel for cmux.json actions. Previously there was no in-app view of resolved custom actions; now an Actions · cmux.json… entry in the app menu and new-workspace menu tail shows a read-only list of resolved actions with effective placements and source paths. Built-ins are hidden unless overridden. Execution and edit paths are unchanged, and no new localization keys were introduced.
Surface tab bar placement is reported per configured action and only for visible buttons, so hidden buttons are excluded and identical commands are never conflated in the panel.
Implements Lane K of #79 without touching Lane J's workflow/saved-layout vocabulary.
Tests
- Pin exact surface-tab-bar placement identity, hidden-button reference dropping, and the shared Actions entry in new-workspace menu rendering.