Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
0ef85b5
Add CMUXWorkstream package with schema + store skeleton
lawrencecchen Apr 20, 2026
b10aba6
Link CMUXWorkstream into the Xcode project
lawrencecchen Apr 20, 2026
8a704da
Register feed.* V2 socket verbs + FeedCoordinator
lawrencecchen Apr 20, 2026
d99c245
Add Feed panel to the right sidebar
lawrencecchen Apr 20, 2026
9ed8391
Add cmux feed-hook bridge for blocking-decision agent events
lawrencecchen Apr 20, 2026
193863e
Match Sessions page visual language in Feed panel
lawrencecchen Apr 20, 2026
1255495
Auto-install feed-hook + OpenCode plugin via setup-hooks
lawrencecchen Apr 20, 2026
bca422d
Feed jump + badge + native notifications + feed clear
lawrencecchen Apr 20, 2026
75d31ce
JA strings, docs, FeedSidebarUITests
lawrencecchen Apr 20, 2026
f764ec0
Per-hook filter so user's hooks survive same-group mixing
lawrencecchen Apr 20, 2026
7c321ea
Install preview: colored diff + header/footer banner
lawrencecchen Apr 20, 2026
5359282
Install preview: bold +/- lines with adds/deletes summary
lawrencecchen Apr 20, 2026
677429b
Skip prompt when install is no-op + clear pill bg when unselected
lawrencecchen Apr 21, 2026
4ed41dc
Prompt before writing OpenCode plugin and codex config.toml
lawrencecchen Apr 21, 2026
8889d5c
Push Feed telemetry from every agent hook subcommand
lawrencecchen Apr 21, 2026
3754acf
Claude wrapper: inject cmux feed-hook PreToolUse for plan/question
lawrencecchen Apr 21, 2026
bca9878
Feed row: card-stack design (option B)
lawrencecchen Apr 21, 2026
4f3e4f5
Feed UI: Vibe-style rich rendering + Debug Feed Preview window
lawrencecchen Apr 21, 2026
9b81bdd
Plan: text-only option pills + feedback field + crash fix
lawrencecchen Apr 21, 2026
7e13fbe
Feed: inline count chip + fix empty-on-initial-load
lawrencecchen Apr 21, 2026
b972e9f
Feed: explicit withObservationTracking for store reads
lawrencecchen Apr 21, 2026
ef2f3c6
Feed: bridge @Observable store to @Published via @StateObject
lawrencecchen Apr 21, 2026
d7cec7f
Feed: drop cmux + jump chips, kill card-wide double-tap delay
lawrencecchen Apr 21, 2026
91e4e21
Feed Preview: show all kinds + states simultaneously; todo icon
lawrencecchen Apr 21, 2026
660266f
Permission card: Vibe-Island style with code block + 4 CTAs
lawrencecchen Apr 21, 2026
4300022
Permission card: match mockup exactly (chips + command size)
lawrencecchen Apr 21, 2026
3a036af
Feed: drop cmux chip and ^G jump chip from all cards (final)
lawrencecchen Apr 21, 2026
6923df0
Feed: unify buttons into FeedButton + green multi-select + shrink
lawrencecchen Apr 21, 2026
45b172f
Feed: lighter weights + You:... echo from last user prompt
lawrencecchen Apr 21, 2026
e054ad9
Feed: long-form questions + tap-to-jump + cursor + schema
lawrencecchen Apr 21, 2026
7387bd5
Feed: keep default cursor on enabled buttons
lawrencecchen Apr 21, 2026
1736b75
Feed: header uses user prompt, resolved stays in place
lawrencecchen Apr 21, 2026
db5cdb8
feed-hook: surface every side-effecting tool as a PermissionRequest
lawrencecchen Apr 21, 2026
93bb34d
Feed: replace "All" filter with "Activity" (actionable + todos only)
lawrencecchen Apr 21, 2026
6f5f673
Feed: flat cards, terminal-ring flash on jump, Type something, fix Cl…
lawrencecchen Apr 21, 2026
bdf9f8d
Feed: plan/permission/question unblock Claude; Stop reply; divider; S…
lawrencecchen Apr 21, 2026
d83bff4
Feed: separator spans sidebar edge-to-edge
lawrencecchen Apr 21, 2026
6f230f9
Feed: async PreToolUse hook + TUI keystroke answer for instant parity
lawrencecchen Apr 21, 2026
dafd471
Feed: fix TUI keystrokes — digit selects immediately, drop trailing \r
lawrencecchen Apr 21, 2026
0555694
Feed: drop keystroke injection, use sync 2s hook + hookSpecificOutput…
lawrencecchen Apr 21, 2026
e0649b5
Feed: async hook + TUI keystroke — honest architecture after vibe-not…
lawrencecchen Apr 21, 2026
8495d31
Feed: expire pending items when agent process dies
lawrencecchen Apr 21, 2026
c35041f
Feed: kqueue process-exit watcher instead of 5s polling Timer
lawrencecchen Apr 21, 2026
427e3e2
Feed: remove keystroke injection per Codex review, sync hook is the path
lawrencecchen Apr 21, 2026
a2ce191
Merge remote-tracking branch 'origin/main' into task-cmux-feed
lawrencecchen Apr 21, 2026
10e1227
fix: address feed PR feedback
lawrencecchen Apr 21, 2026
2921448
test: cover feed timeout expiry
lawrencecchen Apr 22, 2026
f22a863
fix: expire timed-out feed prompts
lawrencecchen Apr 22, 2026
e3d7c1c
test: fix feed coordinator test isolation
lawrencecchen Apr 22, 2026
743f481
Improve feed context and Claude permissions
lawrencecchen Apr 22, 2026
6b38194
Add feed button style debug controls
lawrencecchen Apr 22, 2026
8ad29f3
Add feed button style variations
lawrencecchen Apr 22, 2026
eba290f
Add native Liquid Glass feed button variants
lawrencecchen Apr 22, 2026
c1b6611
Use system glass button styles in feed debug
lawrencecchen Apr 22, 2026
298ad5e
Add more feed button style presets
lawrencecchen Apr 22, 2026
5e3b095
Add compact glass feed button preset
lawrencecchen Apr 22, 2026
d0911e5
Add adaptive feed button palettes
lawrencecchen Apr 22, 2026
a2f8882
Add standard Liquid Glass feed button preset
lawrencecchen Apr 22, 2026
1b0587e
Add tinted standard Liquid Glass feed buttons
lawrencecchen Apr 22, 2026
7563515
Tighten feed button typography
lawrencecchen Apr 22, 2026
a07df87
Support skipping Claude plan interviews from feed
lawrencecchen Apr 22, 2026
d17c70a
Polish Claude question feed layout
lawrencecchen Apr 22, 2026
d5de936
Simplify Claude question prompt styling
lawrencecchen Apr 22, 2026
00c36c6
Show full feed question context
lawrencecchen Apr 22, 2026
3839ad4
Enable Claude feed bypass mode
lawrencecchen Apr 22, 2026
ce5c79b
Require submit for rich question choices
lawrencecchen Apr 22, 2026
70d0b2e
Match Claude plan action buttons
lawrencecchen Apr 22, 2026
511647a
Make custom question answer selectable
lawrencecchen Apr 22, 2026
04d9ba1
Render Claude feed markdown
lawrencecchen Apr 22, 2026
60edc66
Polish plan feed focus and bullets
lawrencecchen Apr 22, 2026
f32eda9
Flush feed row hover backgrounds
lawrencecchen Apr 22, 2026
7ac3d0c
Keep feed row inner padding
lawrencecchen Apr 22, 2026
75b4d4c
Remove feed list content margins
lawrencecchen Apr 22, 2026
7720be9
Move feed hover fill to list rows
lawrencecchen Apr 22, 2026
e673be0
Animate feed row hover fill
lawrencecchen Apr 22, 2026
314fe9e
Focus custom feed question answers
lawrencecchen Apr 22, 2026
3da9d2d
Select custom answer on field activation
lawrencecchen Apr 22, 2026
82ec0fa
Keep custom question focus in sync
lawrencecchen Apr 22, 2026
c542764
Use text cursor for custom answer rows
lawrencecchen Apr 22, 2026
ed4aa77
Preserve custom feed answers
lawrencecchen Apr 22, 2026
1f7d2bf
Grow custom feed answer editor
lawrencecchen Apr 22, 2026
97d9444
Stabilize growing feed answer editor
lawrencecchen Apr 22, 2026
050152e
Add feed text editor debug lab
lawrencecchen Apr 22, 2026
3a92a8b
Merge remote-tracking branch 'origin/main' into task-cmux-feed
lawrencecchen Apr 22, 2026
2377a55
Refine feed editor and row selection
lawrencecchen Apr 22, 2026
ccfd66b
Use intrinsic sizing for feed text input
lawrencecchen Apr 22, 2026
a2d6ece
Use intrinsic sizing for feed answer field
lawrencecchen Apr 22, 2026
2c7b4c4
Stabilize feed answer editor updates
lawrencecchen Apr 23, 2026
6a3d49d
Move active feed rows out of List
lawrencecchen Apr 23, 2026
2c9dc8b
Clear feed editor focus on row change
lawrencecchen Apr 23, 2026
5f3d487
Blur feed editors on row change and escape
lawrencecchen Apr 23, 2026
bceef70
Make feed selection immediate
lawrencecchen Apr 23, 2026
a8ed43b
Focus right sidebar with scoped shortcuts
lawrencecchen Apr 23, 2026
6ce03e8
Replay right sidebar focus after reveal
lawrencecchen Apr 23, 2026
2f2b642
Toggle right sidebar focus
lawrencecchen Apr 23, 2026
79859b5
Keep sidebar focus during reveal
lawrencecchen Apr 23, 2026
df52016
fix: stabilize right sidebar focus
lawrencecchen Apr 24, 2026
80f1e8c
merge: sync task-cmux-feed with main
lawrencecchen Apr 24, 2026
d4bb2d1
fix: address workstream review feedback
lawrencecchen Apr 24, 2026
912b30e
fix: guard native glass feed controls
lawrencecchen Apr 24, 2026
ec37ef7
fix: add sidebar vim navigation keys
lawrencecchen Apr 24, 2026
0f9364f
fix: add file tree h l navigation
lawrencecchen Apr 24, 2026
e439146
fix: keep file tree selection path-owned
lawrencecchen Apr 24, 2026
8d0b733
fix: allow pointer terminal focus from sidebar
lawrencecchen Apr 24, 2026
8eee53d
feat: allow wider right sidebar
lawrencecchen Apr 24, 2026
055d2e7
feat: show right sidebar shortcut hints
lawrencecchen Apr 24, 2026
6478b43
fix: scope shortcut hints to focused surface
lawrencecchen Apr 25, 2026
c0a798d
fix: center right sidebar shortcut hints
lawrencecchen Apr 25, 2026
1b2b9af
fix: show configured right sidebar shortcut hints
lawrencecchen Apr 25, 2026
21b1996
fix: keep right sidebar focus shortcut stable
lawrencecchen Apr 25, 2026
b867e23
fix: standardize shortcut hint animation
lawrencecchen Apr 25, 2026
a15855e
fix: animate right sidebar focus hint
lawrencecchen Apr 25, 2026
2e13c5c
fix: restore terminal focus when hiding right sidebar
lawrencecchen Apr 25, 2026
5031747
fix: remove feed startup retry delay
lawrencecchen Apr 25, 2026
4e2bbc3
fix: make right sidebar focus toggle authoritative
lawrencecchen Apr 25, 2026
cf04b1a
merge: sync task-cmux-feed with main
lawrencecchen Apr 25, 2026
8cc3111
fix: share sidebar resize handle geometry
lawrencecchen Apr 25, 2026
fa14886
fix: restore main panel focus for find shortcuts
lawrencecchen Apr 25, 2026
4553bbf
fix: avoid right sidebar width type-check timeout
lawrencecchen Apr 25, 2026
fcca0d6
Add right sidebar file search
lawrencecchen Apr 25, 2026
96fd510
Add Find right sidebar section
lawrencecchen Apr 25, 2026
9355b71
Update Cmd-F UI regression for Find sidebar
lawrencecchen Apr 25, 2026
5964e75
Route Cmd-F to right sidebar Find
lawrencecchen Apr 25, 2026
46ad373
Prioritize app shortcuts from browser focus
lawrencecchen Apr 25, 2026
76b0185
Narrow browser pre-menu find routing
lawrencecchen Apr 25, 2026
5921179
fix: route find by focus owner
lawrencecchen Apr 26, 2026
078f485
Merge remote-tracking branch 'origin/main' into task-cmux-feed
lawrencecchen Apr 26, 2026
8d7d1be
fix: preserve pending sidebar find focus
lawrencecchen Apr 26, 2026
451cb58
fix: clear active feed focus on browser focus
lawrencecchen Apr 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
522 changes: 507 additions & 15 deletions CLI/cmux.swift

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions GhosttyTabs.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
4378399A7C0245EF8186F306 /* OmnibarAndToolsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B09C007F42697761B5F1A2AB /* OmnibarAndToolsTests.swift */; };
46F6AC15863EC84DCD3770A2 /* TerminalAndGhosttyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02FC74F2C27127CC565B3E8C /* TerminalAndGhosttyTests.swift */; };
5EDB6027B346C46521A93C74 /* CMUXAuthCore in Frameworks */ = {isa = PBXBuildFile; productRef = 29813FE5A6CBC1019289A251 /* CMUXAuthCore */; };
AA11BB22CC33DD44EE550001 /* CMUXWorkstream in Frameworks */ = {isa = PBXBuildFile; productRef = AA11BB22CC33DD44EE550002 /* CMUXWorkstream */; };
FEED0000000000000000F002 /* FeedCoordinator.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEED0000000000000000F001 /* FeedCoordinator.swift */; };
FEED0000000000000000F005 /* FeedPanelView.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEED0000000000000000F004 /* FeedPanelView.swift */; };
698944F99A6ADFBA24A7BFB9 /* AuthSettingsStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B1EA8948C5F126FE63CFB4E /* AuthSettingsStore.swift */; };
6B524A0BA34FD46A771335AB /* WorkspaceUnitTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 71F8ED91A4B55D34BE6A0668 /* WorkspaceUnitTests.swift */; };
734F49D37E543DD01C2F4FEF /* NotificationAndMenuBarTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D2C075029771815DD5DA1332 /* NotificationAndMenuBarTests.swift */; };
Expand Down Expand Up @@ -102,6 +105,7 @@
B9000002A1B2C3D4E5F60719 /* cmux.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9000001A1B2C3D4E5F60719 /* cmux.swift */; };
B900000BA1B2C3D4E5F60719 /* cmux in Copy CLI */ = {isa = PBXBuildFile; fileRef = B9000004A1B2C3D4E5F60719 /* cmux */; };
B9000012A1B2C3D4E5F60719 /* AutomationSocketUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9000011A1B2C3D4E5F60719 /* AutomationSocketUITests.swift */; };
FEED0000000000000000F009 /* FeedSidebarUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEED0000000000000000F008 /* FeedSidebarUITests.swift */; };
B9000014A1B2C3D4E5F60719 /* JumpToUnreadUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9000013A1B2C3D4E5F60719 /* JumpToUnreadUITests.swift */; };
B9000015A1B2C3D4E5F60719 /* MultiWindowNotificationsUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9000016A1B2C3D4E5F60719 /* MultiWindowNotificationsUITests.swift */; };
B9000018A1B2C3D4E5F60719 /* WindowDragHandleView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9000017A1B2C3D4E5F60719 /* WindowDragHandleView.swift */; };
Expand All @@ -124,6 +128,7 @@
D9FEC58D5BACCF76459F1BBE /* AuthEnvironment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 43430FA5929121E2EAAB3091 /* AuthEnvironment.swift */; };
DA7A10CA710E000000000003 /* Localizable.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = DA7A10CA710E000000000001 /* Localizable.xcstrings */; };
DA7A10CA710E000000000004 /* InfoPlist.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = DA7A10CA710E000000000002 /* InfoPlist.xcstrings */; };
FEED0000000000000000F007 /* opencode-plugin.js in Resources */ = {isa = PBXBuildFile; fileRef = FEED0000000000000000F006 /* opencode-plugin.js */; };
DCC935C5F55C1DCB33E25521 /* WorkspacePullRequestSidebarTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 14A7DC53B9CA33BE2A421711 /* WorkspacePullRequestSidebarTests.swift */; };
E1000000A1B2C3D4E5F60718 /* MenuKeyEquivalentRoutingUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E1000001A1B2C3D4E5F60718 /* MenuKeyEquivalentRoutingUITests.swift */; };
E12E88F82733EC42F32C36A3 /* BrowserConfigTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 970226F3C99D0D937CD00539 /* BrowserConfigTests.swift */; };
Expand Down Expand Up @@ -229,6 +234,9 @@
3023B1003023B1003023B100 /* ConfigSource.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Settings/ConfigSource.swift; sourceTree = "<group>"; };
3023B1013023B1013023B101 /* ConfigSettingsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Settings/ConfigSettingsView.swift; sourceTree = "<group>"; };
312DE7503B4658DD173121B8 /* AuthManager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AuthManager.swift; sourceTree = "<group>"; };
FEED0000000000000000F001 /* FeedCoordinator.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = FeedCoordinator.swift; sourceTree = "<group>"; };
FEED0000000000000000F004 /* FeedPanelView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = FeedPanelView.swift; sourceTree = "<group>"; };
FEED0000000000000000F006 /* opencode-plugin.js */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.javascript; path = "opencode-plugin.js"; sourceTree = "<group>"; };
42092CDB2109E250F7F2A76E /* TabManagerUnitTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TabManagerUnitTests.swift; sourceTree = "<group>"; };
43430FA5929121E2EAAB3091 /* AuthEnvironment.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AuthEnvironment.swift; sourceTree = "<group>"; };
491751CE2321474474F27DCF /* TerminalControllerSocketSecurityTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TerminalControllerSocketSecurityTests.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -318,6 +326,7 @@
B9000001A1B2C3D4E5F60719 /* cmux.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = cmux.swift; sourceTree = "<group>"; };
B9000004A1B2C3D4E5F60719 /* cmux */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = cmux; sourceTree = BUILT_PRODUCTS_DIR; };
B9000011A1B2C3D4E5F60719 /* AutomationSocketUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AutomationSocketUITests.swift; sourceTree = "<group>"; };
FEED0000000000000000F008 /* FeedSidebarUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeedSidebarUITests.swift; sourceTree = "<group>"; };
B9000013A1B2C3D4E5F60719 /* JumpToUnreadUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JumpToUnreadUITests.swift; sourceTree = "<group>"; };
B9000016A1B2C3D4E5F60719 /* MultiWindowNotificationsUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MultiWindowNotificationsUITests.swift; sourceTree = "<group>"; };
B9000017A1B2C3D4E5F60719 /* WindowDragHandleView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WindowDragHandleView.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -377,6 +386,7 @@
A5001270 /* PostHog in Frameworks */,
A5001290 /* MarkdownUI in Frameworks */,
5EDB6027B346C46521A93C74 /* CMUXAuthCore in Frameworks */,
AA11BB22CC33DD44EE550001 /* CMUXWorkstream in Frameworks */,
F20F85FC5900550685FA33AD /* StackAuth in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -421,6 +431,7 @@
C1ADE00001A1B2C3D4E5F719 /* claude */,
DA7A10CA710E000000000001 /* Localizable.xcstrings */,
DA7A10CA710E000000000002 /* InfoPlist.xcstrings */,
FEED0000000000000000F006 /* opencode-plugin.js */,
A5001622 /* cmux.sdef */,
);
path = Resources;
Expand All @@ -438,10 +449,21 @@
path = Auth;
sourceTree = "<group>";
};
FEED0000000000000000F003 /* Feed */ = {
isa = PBXGroup;
children = (
FEED0000000000000000F001 /* FeedCoordinator.swift */,
FEED0000000000000000F004 /* FeedPanelView.swift */,
);
name = Feed;
path = Feed;
sourceTree = "<group>";
};
3196C9C2D01F054C1D3385DD /* cmuxUITests */ = {
isa = PBXGroup;
children = (
B9000011A1B2C3D4E5F60719 /* AutomationSocketUITests.swift */,
FEED0000000000000000F008 /* FeedSidebarUITests.swift */,
B9000013A1B2C3D4E5F60719 /* JumpToUnreadUITests.swift */,
B9000022A1B2C3D4E5F60719 /* CloseWorkspaceCmdDUITests.swift */,
B9000019A1B2C3D4E5F60719 /* CloseWorkspaceConfirmDialogUITests.swift */,
Expand Down Expand Up @@ -553,6 +575,7 @@
FE003002 /* SessionIndexView.swift */,
FE003003 /* RightSidebarPanelView.swift */,
105D8421DF4E2E09D255D785 /* Auth */,
FEED0000000000000000F003 /* Feed */,
);
path = Sources;
sourceTree = "<group>";
Expand Down Expand Up @@ -646,6 +669,7 @@
A5001261 /* Bonsplit */,
A5001291 /* MarkdownUI */,
29813FE5A6CBC1019289A251 /* CMUXAuthCore */,
AA11BB22CC33DD44EE550002 /* CMUXWorkstream */,
A8BD195031FC4B82B4354297 /* StackAuth */,
);
productName = GhosttyTabs;
Expand Down Expand Up @@ -767,6 +791,7 @@
A5001292 /* XCRemoteSwiftPackageReference "swift-markdown-ui" */,
A5001260 /* XCLocalSwiftPackageReference "bonsplit" */,
40B63BB4A170F0BD2D1DEFD1 /* XCLocalSwiftPackageReference "CMUXAuthCore" */,
AA11BB22CC33DD44EE550003 /* XCLocalSwiftPackageReference "CMUXWorkstream" */,
28B798BB9086C8E6B60C3355 /* XCLocalSwiftPackageReference "stack-auth-swift-sdk-prerelease" */,
);
productRefGroup = A5001042 /* Products */;
Expand All @@ -792,6 +817,7 @@
A5002000 /* THIRD_PARTY_LICENSES.md in Resources */,
DA7A10CA710E000000000003 /* Localizable.xcstrings in Resources */,
DA7A10CA710E000000000004 /* InfoPlist.xcstrings in Resources */,
FEED0000000000000000F007 /* opencode-plugin.js in Resources */,
A5001623 /* cmux.sdef in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -913,6 +939,8 @@
FE003101 /* SessionIndexStore.swift in Sources */,
FE003102 /* SessionIndexView.swift in Sources */,
FE003103 /* RightSidebarPanelView.swift in Sources */,
FEED0000000000000000F002 /* FeedCoordinator.swift in Sources */,
FEED0000000000000000F005 /* FeedPanelView.swift in Sources */,
36CE99ED050785B5E96B72BB /* AuthCallbackRouter.swift in Sources */,
D9FEC58D5BACCF76459F1BBE /* AuthEnvironment.swift in Sources */,
350DAC5EBD38642A3E81471A /* AuthManager.swift in Sources */,
Expand Down Expand Up @@ -942,6 +970,7 @@
buildActionMask = 2147483647;
files = (
B9000012A1B2C3D4E5F60719 /* AutomationSocketUITests.swift in Sources */,
FEED0000000000000000F009 /* FeedSidebarUITests.swift in Sources */,
B9000014A1B2C3D4E5F60719 /* JumpToUnreadUITests.swift in Sources */,
B900001AA1B2C3D4E5F60719 /* CloseWorkspaceConfirmDialogUITests.swift in Sources */,
B9000023A1B2C3D4E5F60719 /* CloseWorkspaceCmdDUITests.swift in Sources */,
Expand Down Expand Up @@ -1396,6 +1425,10 @@
isa = XCLocalSwiftPackageReference;
relativePath = Packages/CMUXAuthCore;
};
AA11BB22CC33DD44EE550003 /* XCLocalSwiftPackageReference "CMUXWorkstream" */ = {
isa = XCLocalSwiftPackageReference;
relativePath = Packages/CMUXWorkstream;
};
A5001260 /* XCLocalSwiftPackageReference "bonsplit" */ = {
isa = XCLocalSwiftPackageReference;
relativePath = vendor/bonsplit;
Expand Down Expand Up @@ -1443,6 +1476,11 @@
package = 40B63BB4A170F0BD2D1DEFD1 /* XCLocalSwiftPackageReference "CMUXAuthCore" */;
productName = CMUXAuthCore;
};
AA11BB22CC33DD44EE550002 /* CMUXWorkstream */ = {
isa = XCSwiftPackageProductDependency;
package = AA11BB22CC33DD44EE550003 /* XCLocalSwiftPackageReference "CMUXWorkstream" */;
productName = CMUXWorkstream;
};
A5001231 /* Sparkle */ = {
isa = XCSwiftPackageProductDependency;
package = A5001232 /* XCRemoteSwiftPackageReference "Sparkle" */;
Expand Down
25 changes: 25 additions & 0 deletions Packages/CMUXWorkstream/Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// swift-tools-version: 6.0
import PackageDescription

let package = Package(
name: "CMUXWorkstream",
platforms: [
.iOS(.v18),
.macOS(.v14),
],
products: [
.library(
name: "CMUXWorkstream",
targets: ["CMUXWorkstream"]
),
],
targets: [
.target(
name: "CMUXWorkstream"
),
.testTarget(
name: "CMUXWorkstreamTests",
dependencies: ["CMUXWorkstream"]
),
]
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import Foundation

/// User-initiated action sent back through the transport to resolve a
/// pending item or jump to an agent's cmux terminal.
public enum WorkstreamAction: Sendable, Equatable {
case approvePermission(itemId: UUID, mode: WorkstreamPermissionMode)
case replyQuestion(itemId: UUID, selections: [String])
case approveExitPlan(itemId: UUID, mode: WorkstreamExitPlanMode)
case jumpToSession(workstreamId: String)
}
Loading
Loading