Skip to content
Merged
Show file tree
Hide file tree
Changes from 48 commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
4b46bca
acpmux: require version evidence for already-current updates
teamleaderleo Oct 19, 2026
4f309ff
agents: refresh inventory versions without probing or updating
teamleaderleo Oct 19, 2026
c1819be
agents: connect explicit version refresh to the selected owner
teamleaderleo Oct 19, 2026
b4472f9
Add owner update terminal jobs with durable replay
teamleaderleo Oct 19, 2026
2f04b04
Preserve app mutation keys through shared action runs
teamleaderleo Oct 19, 2026
3fddabe
Preserve app callers through the shared action registry
teamleaderleo Oct 19, 2026
239e427
Share agent CLI update UI across Settings and actions
teamleaderleo Oct 19, 2026
67ae37f
Recover agent updates across app restarts
teamleaderleo Oct 19, 2026
f8390f6
Require trusted page context for Settings agent updates
teamleaderleo Oct 19, 2026
ff11579
Merge remote-tracking branch 'origin/feat-cmux-next' into HEAD
teamleaderleo Oct 19, 2026
768b9cb
Merge commit 'ff11579374809ab14471071c0f198821581b12e7' into HEAD
teamleaderleo Oct 19, 2026
364f92a
Let every retained agent update end
teamleaderleo Oct 19, 2026
0aae74c
Merge feat-cmux-next into the agent-update chain after #21398 landed
teamleaderleo Oct 19, 2026
0309542
chore(next): PR autofix at 0aae74c95fc8
Oct 19, 2026
368c704
Keep other sessions' agent update rows blocking
teamleaderleo Oct 19, 2026
4df7468
Merge remote-tracking branch 'pr/21439new' into HEAD
teamleaderleo Oct 19, 2026
14000c7
Merge feat-cmux-next into the agent-update chain
teamleaderleo Oct 19, 2026
953137a
Merge commit '14000c7d02d1422243ac8fb03312e050f46d7786' into HEAD
teamleaderleo Oct 19, 2026
bb34af6
Merge commit '0c2d0e8719258b410e8e8d0d14ba5d0c078140b6' into HEAD
teamleaderleo Oct 19, 2026
4982e18
Merge commit 'bb34af663b08b741b6618d893784653625b33d5e' into HEAD
teamleaderleo Oct 19, 2026
78baffe
Merge commit '4982e18eb88eb12df0183db356c72c677bb8b5b4' into HEAD
teamleaderleo Oct 19, 2026
be7ccaf
Merge commit '78baffe6020eda39ff8a2d86fb250a929c213359' into HEAD
teamleaderleo Oct 19, 2026
db6c520
Merge commit 'be7ccaf4e41f044e41535aaae50819e74193a01a' into HEAD
teamleaderleo Oct 19, 2026
bff87ce
Merge commit 'db6c520f18289ab1310bc43d0bf1755473aa67f1' into HEAD
teamleaderleo Oct 19, 2026
6460e0a
Merge remote-tracking branch 'origin/feat-cmux-next' into HEAD
teamleaderleo Oct 19, 2026
adfd7b7
chore(next): PR autofix at 953137aa1e81
Oct 19, 2026
79130e8
Merge commit '6460e0a6e9178f02b705fdc1e086be1ee45abcc2' into HEAD
teamleaderleo Oct 19, 2026
45adaef
Bind the Settings update scope with withValueInTask
teamleaderleo Oct 19, 2026
7048dcf
Merge commit '45adaef20fc3b97163bd62ec6d22d86d158193bc' into HEAD
teamleaderleo Oct 19, 2026
1ee01b5
Merge commit 'adfd7b72f652abedbab043f818173018d87573a2' into HEAD
teamleaderleo Oct 19, 2026
37083aa
chore(next): PR autofix at 45adaef20fc3
Oct 19, 2026
b5d1dcc
chore(next): PR autofix at 1ee01b5f743c
Oct 19, 2026
a6975b6
Merge origin/feat-cmux-next into #21447
teamleaderleo Oct 19, 2026
8f5959f
Merge commit 'a6975b6f93e2dcc6dcd8e7fd2726bb3906ba9636' into HEAD
teamleaderleo Oct 19, 2026
a1e3808
Translate the agent update intent argument into every locale
teamleaderleo Oct 19, 2026
a7a6e6a
Merge commit 'a827da19e2f9d3bcfb87ed8fc4d369843b7761dd' into HEAD
teamleaderleo Oct 19, 2026
6785f99
Merge commit 'a827da19e2f9d3bcfb87ed8fc4d369843b7761dd' into HEAD
teamleaderleo Oct 19, 2026
c3fa200
test(next): agent CLI updates survive reconnects, unknown exits, owne…
teamleaderleo Oct 19, 2026
cdb706e
fix(next): agent CLI update jobs follow their owner across reconnects…
teamleaderleo Oct 19, 2026
c341860
Merge remote-tracking branch 'origin/feat-cmux-next' into HEAD
teamleaderleo Oct 20, 2026
fa5f717
test(next): agent update survives a reconnect mid-batch and a lost st…
teamleaderleo Oct 20, 2026
ab7aab2
Merge #21447 (c341860c47e) into #21469
teamleaderleo Oct 20, 2026
124684a
fix(next): agent update start keeps its captured owner and replays lo…
teamleaderleo Oct 20, 2026
2a7686e
test(next): a busy answer to a replayed agent CLI update start keeps …
teamleaderleo Oct 20, 2026
4d8358a
fix(next): a busy answer to a replayed agent CLI update start keeps i…
teamleaderleo Oct 20, 2026
97f5fe4
test(next): retained agent update rows no owner can reach are shown a…
teamleaderleo Oct 20, 2026
0baa8d2
fix(next): show and let a person dismiss agent update rows no owner c…
teamleaderleo Oct 20, 2026
99a29e6
Merge branch 'feat-cmux-next' into codex/agent-update-shared-ui-b9db4d92
teamleaderleo Oct 20, 2026
217ba19
Merge #21447 (4d8358a8d58) into #21469
teamleaderleo Oct 20, 2026
0f6f896
test(next): busy first starts, dismiss during a replay, and resolve-t…
teamleaderleo Oct 20, 2026
66c6399
chore(next): PR autofix at 99a29e6f4d3a
Oct 20, 2026
b1eada9
Merge remote-tracking branch 'origin/feat-cmux-next' into HEAD
teamleaderleo Oct 20, 2026
78c9e1e
fix(next): settle busy first starts, hold replays against dismiss, an…
teamleaderleo Oct 20, 2026
e003cb4
Merge commit 'b1eada98a6dc0544b4ae0c4c32d35475e7efd1a3' into HEAD
teamleaderleo Oct 20, 2026
459ffa8
Merge remote-tracking branch 'origin/feat-cmux-next' into HEAD
teamleaderleo Oct 20, 2026
de6a736
Merge feat-cmux-next into codex/agent-update-shared-ui-b9db4d92
teamleaderleo Oct 20, 2026
3b5a7ca
Merge feat-cmux-next into codex/agent-update-shared-ui-b9db4d92
teamleaderleo Oct 20, 2026
db34702
chore(next): PR autofix at 3b5a7cad2bea
Oct 20, 2026
7502ddf
test(next): settled owner failures and ended jobs never block agent C…
teamleaderleo Oct 20, 2026
433979f
Merge feat-cmux-next into codex/agent-update-shared-ui-b9db4d92
teamleaderleo Oct 20, 2026
46ae1f5
Merge branch 'feat-cmux-next' into codex/agent-update-shared-ui-b9db4d92
teamleaderleo Oct 20, 2026
0ad8305
fix(next): settle agent CLI updates the owner answered, and check end…
teamleaderleo Oct 20, 2026
3062743
Merge #21447's head into codex/agent-update-recovery-bde4eddf
teamleaderleo Oct 20, 2026
0902535
test(next): a coded answer to a replayed agent CLI update start keeps…
teamleaderleo Oct 20, 2026
445644e
fix(next): only a refusal settles a replayed agent CLI update start
teamleaderleo Oct 20, 2026
135d115
Merge feat-cmux-next (d3a9df0c733d) into codex/agent-update-shared-ui…
teamleaderleo Oct 20, 2026
2794366
Merge #21447's head (135d11526f53) into codex/agent-update-recovery-b…
teamleaderleo Oct 20, 2026
1db61b6
fix(next): a first agent CLI update start settles on any owner answer
teamleaderleo Oct 20, 2026
47f662a
test(next): an indeterminate first agent CLI update start keeps block…
teamleaderleo Oct 20, 2026
bba7226
fix(next): an indeterminate first agent CLI update start keeps its job
teamleaderleo Oct 20, 2026
6f00b00
Merge feat-cmux-next (550ef1d99f6c) into codex/agent-update-shared-ui…
teamleaderleo Oct 20, 2026
f55eb9c
Merge #21447's head (6f00b0087e1d) into codex/agent-update-recovery-b…
teamleaderleo Oct 20, 2026
2506184
fix(next): an indeterminate first agent CLI update start keeps its le…
teamleaderleo Oct 20, 2026
17059f1
test(next): a failed first agent CLI update start keeps its ledger ro…
teamleaderleo Oct 20, 2026
93d1be9
fix(next): a first agent CLI update start settles its ledger row only…
teamleaderleo Oct 20, 2026
3979200
Merge remote-tracking branch 'origin/feat-cmux-next' into m21469
teamleaderleo Oct 20, 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
12 changes: 11 additions & 1 deletion Packages/macOS/CmuxNext/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ import PackageDescription
// tab or its front tab, and the one-time rename; pure rules; the App supplies its pages and the rename command)
// CmuxNextAgentActivity -> Design (Agent activity pane: computer use sessions, timeline, prototype layouts;
// a projection of the CUA host; no daemon; the App supplies the source; plans/cmux-next/computer-use.md)
// CmuxNextAgentUpdates -> Actions, Daemon, DaemonService, Pages, Settings (Settings and palette agent CLI
// updates as owner-bound terminal jobs: intents, receipts, outcomes; the App supplies the route glue)
// CmuxNextAgentLanes -> AgentActivity, Bridge, Sidebar, Wakeups (the acpmux `_acpmux/watch` feed for turn
// states and lanes, and the sidebar's Lanes item; cx-v9k2f)
// CmuxNextApps -> Design, Icons, Wakeups (app platform: manifest model, scene store + native renderer, JavaScriptCore
Expand Down Expand Up @@ -194,6 +196,7 @@ let package = Package(
"CmuxNextHome",
"CmuxNextHomeEngine",
"CmuxNextDaemonService",
"CmuxNextAgentUpdates",
"CmuxNextFocus",
"CmuxNextFocusUI",
"CmuxNextComputerUse",
Expand Down Expand Up @@ -1103,9 +1106,16 @@ let package = Package(
dependencies: ["CmuxNextWakeups", "CmuxNextCompat", "CmuxNextControl", "CmuxNextActions", "CmuxNextSettings", "CmuxNextDaemon"],
swiftSettings: daemonSwiftSettings
),
// Settings and palette agent CLI updates (moved out of CmuxNextApp/AgentHarnesses):
// the shared registry handler, owner routes, intents and terminal outcomes.
.target(
name: "CmuxNextAgentUpdates",
dependencies: ["CmuxNextActions", "CmuxNextDaemon", "CmuxNextDaemonService", "CmuxNextPages", "CmuxNextSettings"],
swiftSettings: uiSwiftSettings
),
.testTarget(
name: "CmuxNextAppTests",
dependencies: ["CmuxNextCompat", "CmuxNextTerminalGeometry", "CmuxNextRemote", "CmuxNextWakeups", "CmuxNextNowPlaying", "CmuxNextFloating", "CmuxNextLayout", "CmuxNextTasks", "CmuxNextAgentCursor", "CmuxNextTabs", "CmuxNextProcessEnvironment", "CmuxNextApp", "CmuxNextApps", "CmuxNextCookieImport", "CmuxNextAgentLanes", "CmuxNextBrowserHistory", "CmuxNextCrashReporting", "CmuxNextDiff", "CmuxNextActions", "CmuxNextHistory", "CmuxNextCopyMode",
dependencies: ["CmuxNextAgentUpdates", "CmuxNextCompat", "CmuxNextTerminalGeometry", "CmuxNextRemote", "CmuxNextWakeups", "CmuxNextNowPlaying", "CmuxNextFloating", "CmuxNextLayout", "CmuxNextTasks", "CmuxNextAgentCursor", "CmuxNextTabs", "CmuxNextProcessEnvironment", "CmuxNextApp", "CmuxNextApps", "CmuxNextCookieImport", "CmuxNextAgentLanes", "CmuxNextBrowserHistory", "CmuxNextCrashReporting", "CmuxNextDiff", "CmuxNextActions", "CmuxNextHistory", "CmuxNextCopyMode",
"CmuxNextComputerUse", "CmuxNextDaemon", "CmuxNextDaemonRecovery", "CmuxNextDaemonService", "CmuxNextRemoteLocalhostService", "CmuxNextFocus", "CmuxNextFocusUI", "CmuxNextHome", "CmuxNextHomeEngine", .product(name: "CmuxHomeCore", package: "CmuxHomeCore"),
.product(name: "CmuxHomeRender", package: "CmuxHomeRender"),
// ReduceMotionLoopTests builds the vendored Home typing indicators.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,137 @@
{
"sourceLanguage": "en",
"strings": {
"argument.agent.harness.intent": {
"extractionState": "manual",
"localizations": {
"en": {
"stringUnit": {
"state": "translated",
"value": "Update intent"
}
},
"bs": {
"stringUnit": {
"state": "translated",
"value": "Zahtjev za ažuriranje"
}
},
"da": {
"stringUnit": {
"state": "translated",
"value": "Opdateringsanmodning"
}
},
"it": {
"stringUnit": {
"state": "translated",
"value": "Richiesta di aggiornamento"
}
},
"km": {
"stringUnit": {
"state": "translated",
"value": "សំណើធ្វើបច្ចុប្បន្នភាព"
}
},
"nb": {
"stringUnit": {
"state": "translated",
"value": "Oppdateringsforespørsel"
}
},
"pl": {
"stringUnit": {
"state": "translated",
"value": "Żądanie aktualizacji"
}
},
"pt-BR": {
"stringUnit": {
"state": "translated",
"value": "Solicitação de atualização"
}
},
"ru": {
"stringUnit": {
"state": "translated",
"value": "Запрос на обновление"
}
},
"th": {
"stringUnit": {
"state": "translated",
"value": "คำขออัปเดต"
}
},
"tr": {
"stringUnit": {
"state": "translated",
"value": "Güncelleme isteği"
}
},
"uk": {
"stringUnit": {
"state": "translated",
"value": "Запит на оновлення"
}
},
"vi": {
"stringUnit": {
"state": "translated",
"value": "Yêu cầu cập nhật"
}
},
"ar": {
"stringUnit": {
"state": "translated",
"value": "طلب التحديث"
}
},
"de": {
"stringUnit": {
"state": "translated",
"value": "Update-Anforderung"
}
},
"es": {
"stringUnit": {
"state": "translated",
"value": "Solicitud de actualización"
}
},
"fr": {
"stringUnit": {
"state": "translated",
"value": "Demande de mise à jour"
}
},
"ja": {
"stringUnit": {
"state": "translated",
"value": "更新リクエスト"
}
},
"ko": {
"stringUnit": {
"state": "translated",
"value": "업데이트 요청"
}
},
"zh-Hans": {
"stringUnit": {
"state": "translated",
"value": "更新请求"
}
},
"zh-Hant": {
"stringUnit": {
"state": "translated",
"value": "更新請求"
}
}
}
},
"action.links.openInCmuxBrowser": {
"extractionState": "manual",
"localizations": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ public nonisolated enum ActionWorkRefusal: Sendable, Hashable {
/// tasks the handlers reported with `track(_:)`. Keyboard, menu, and
/// palette runs capture nothing, so tracking costs them nothing.
extension ActionRegistry {
/// Whether a caller awaits the work handlers report (`capturingWork`). A handler whose
/// failure would otherwise go unseen (a palette run) shows it itself when this is false.
public var isCapturingWork: Bool { capturedWork != nil }

/// Reports a task a handler started. Ignored unless a caller is capturing.
public func track(_ task: ActionWork) {
if capturedWork != nil { capturedWork?.append(task) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ nonisolated enum AgentHarnessActionCatalog: ActionCatalogGroup {
ActionEnumCase(value: "acp", title: t("argument.agent.harness.protocol.acp", "ACP")),
ActionEnumCase(value: "terminal", title: t("argument.agent.harness.protocol.terminal", "Terminal")),
])
return [
var actions = [
// Without arguments (the palette, the model picker's +) it opens Settings > Agents >
// Add; with a command, registry agent or example it writes the profile.
ActionDescriptor(
Expand Down Expand Up @@ -63,17 +63,22 @@ nonisolated enum AgentHarnessActionCatalog: ActionCatalogGroup {
cliName: "agent check-harness",
surfacePlan: ActionSurfacePlan(cli: .offered, contextMenuExemption: .noObject)
),
// Agent CLI health (cx-ny85): types every outdated agent CLI's own update into a
// terminal tab, like Settings > Agents > Update All; with nothing to update (or no
// window) it opens Settings > Agents.
// The native owner starts visible terminal jobs. Settings passes a profile id;
// the palette updates each observed outdated family on its captured machine.
ActionDescriptor(
id: "agent.harness.updateAll", title: t("action.agent.harness.updateAll", "Update Agent CLIs"),
keywords: ["agent", "harness", "cli", "update", "upgrade", "version", "outdated", "npm", "brew", "codex", "claude", "gemini"],
category: .agents, symbol: "arrow.down.circle",
arguments: [id, ActionArgument(name: "intent", title: t("argument.agent.harness.intent", "Update intent"), kind: .string, isRequired: false)],
// A retained intent selects the original owner, family and key.
// A terminal tab the person watches: scripts run the updates themselves.
surfacePlan: ActionSurfacePlan(cli: .exempt(.guiOnly), contextMenuExemption: .noObject)
),
]
for index in actions.indices where actions[index].id == "agent.harness.updateAll" {
actions[index].isPersonOnly = true
}
return actions
}

private static func t(_ key: StaticString, _ english: String.LocalizationValue) -> String {
Expand Down
Loading