Skip to content
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
437431c
test: reproduce missing Cloud sidebar folder move and pin actions
austinywang Sep 13, 2026
aa781bd
feat: persist Cloud sidebar organization and route notification movem…
austinywang Sep 13, 2026
74bbd46
Merge origin/main and retain Cloud sidebar organization with VPN cont…
austinywang Sep 13, 2026
7c904e3
fix: validate sidebar actions against current catalog and preserve pi…
austinywang Sep 13, 2026
06e05b2
fix: keep shared-terminal folders stable during notification movement
austinywang Sep 13, 2026
a744db6
fix: coalesce Cloud notification ordering and share native drag owner…
austinywang Sep 13, 2026
85889dc
fix: unblock Cloud compilation after upstream merges
austinywang Sep 13, 2026
1df6449
Merge origin/main and preserve Cloud sidebar translations
austinywang Sep 13, 2026
3babe96
clarify: advertise native drag payloads from their actual storage
austinywang Sep 13, 2026
6a9b875
Merge latest origin/main and preserve Cloud sidebar actions
austinywang Sep 13, 2026
ccd08e1
refactor: separate persisted sidebar group state
austinywang Sep 13, 2026
aaa2ff8
fix: keep the lazy notification queue outside Observation tracking
austinywang Sep 13, 2026
1a55885
ci: retain hosted unit test results and fixture screenshots
austinywang Sep 13, 2026
91dc646
fix: declare Cloud navigation operations as escaping
austinywang Sep 13, 2026
f2c2abf
fix: discard saved sidebar preferences after confirmed machine deletion
austinywang Sep 13, 2026
c7fa0f4
fix: expose localized organization help through shared CLI usage
austinywang Sep 13, 2026
8c63029
test: adapt sidebar fixture to current machine action API
austinywang Sep 13, 2026
8314ed2
fix: use the public Bonsplit tab UUID accessor
austinywang Sep 13, 2026
df3598c
Merge origin/main into issue-12360-cloud-sidebar-ordering
austinywang Sep 13, 2026
edb1e43
test: reproduce Cloud agent title divergence and terminal notificatio…
austinywang Sep 13, 2026
6be5b79
fix: converge Cloud titles and raise only workspace folders for notif…
austinywang Sep 13, 2026
0dd3a55
fix: reconcile failed Cloud renames to accepted names and retain agen…
austinywang Sep 13, 2026
4bbd54f
Merge origin/main and preserve Cloud attention in targeted row updates
austinywang Sep 13, 2026
bf9eae5
test: update terminal link fixture for Cloud target resolution
austinywang Sep 13, 2026
a0d40df
fix: restore Cloud terminal provider primitives after main merge
austinywang Sep 13, 2026
f527c20
Merge origin/main and preserve Cloud naming authority
austinywang Sep 13, 2026
225ba4d
fix: use merged Cloud agent title authority implementation
austinywang Sep 13, 2026
52d6206
Merge latest origin/main Cloud authority updates
austinywang Sep 13, 2026
3a895fb
Merge latest origin/main sidebar and terminal updates
austinywang Sep 13, 2026
796b99d
Merge latest main terminal IO recovery changes
austinywang Sep 13, 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
15 changes: 14 additions & 1 deletion .github/workflows/test-depot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,19 @@ jobs:
if: ${{ !inputs.skip_unit_tests }}
env:
UNIT_TEST_SUITES: ${{ inputs.unit_test_suites }}
TEST_RESULTS_ROOT: ${{ runner.temp }}/cmux-unit-results-${{ github.run_id }}-${{ github.run_attempt }}
run: |
set -euo pipefail
SOURCE_PACKAGES_DIR="$PWD/.ci-source-packages"
mkdir -p "$TEST_RESULTS_ROOT"
run_unit_suite() {
local result_dir
result_dir="$(mktemp -d "$TEST_RESULTS_ROOT/suite.XXXXXX")"
scripts/ci/xcodebuild_noninteractive.py \
xcodebuild -project cmux.xcodeproj -scheme cmux-unit -configuration Debug \
-clonedSourcePackagesDirPath "$SOURCE_PACKAGES_DIR" \
-disableAutomaticPackageResolution \
-destination "platform=macOS" "$@" test 2>&1
-destination "platform=macOS" -resultBundlePath "$result_dir/result.xcresult" "$@" test 2>&1
}
run_unit_tests() {
if [ -z "$UNIT_TEST_SUITES" ]; then
Expand Down Expand Up @@ -244,3 +248,12 @@ jobs:
-destination "platform=macOS" \
-maximum-test-execution-time-allowance "$TEST_TIMEOUT" \
"$ONLY_TESTING" test

- name: Upload unit test results
if: ${{ always() && !inputs.skip_unit_tests }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: macos-unit-results-${{ github.run_id }}-${{ github.run_attempt }}
path: ${{ runner.temp }}/cmux-unit-results-${{ github.run_id }}-${{ github.run_attempt }}
if-no-files-found: warn
retention-days: 7
33 changes: 33 additions & 0 deletions CLI/CMUXCLI+CloudSidebar.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import Foundation

extension CMUXCLI {
static var cloudSidebarUsage: String {
CMUXDiffViewerLocalization.string("cli.vm.sidebar.usage", defaultValue: """
cmux vm tree --sidebar [list|pin|unpin|up|down|before|after] [node-id] [target-id]
Organize this Mac's Cloud sidebar. Use list to find row IDs; before/after require a target in the same group and pin section. Sessions and pane layouts are unchanged.
""")
}

func runCloudSidebarCommand(rest: [String], client: SocketClient, jsonOutput: Bool) throws {
if rest.contains("--help") || rest.contains("-h") { print(Self.cloudSidebarUsage); return }
let args = rest.filter { !["--sidebar", "--json"].contains($0) }
let verb = args.first ?? "list"
let counts = ["list": 1, "pin": 2, "unpin": 2, "up": 2, "down": 2, "before": 3, "after": 3]
guard let count = counts[verb], args.count == count || args.isEmpty else {
throw CLIError(message: Self.cloudSidebarUsage)
}
var params: [String: Any] = ["sidebar": true, "action": verb]
if args.count > 1 { params["node_id"] = args[1] }
if args.count > 2 { params["target_id"] = args[2] }
let result = try client.sendV2(method: "vm.tree", params: params)
if jsonOutput { print(jsonString(result)); return }
func lines(_ rows: [[String: Any]], depth: Int) {
for row in rows {
let pin = row["pinned"] as? Bool == true ? "📌 " : ""
print(String(repeating: " ", count: depth) + pin + (row["title"] as? String ?? "") + " " + (row["id"] as? String ?? ""))
lines(row["children"] as? [[String: Any]] ?? [], depth: depth + 1)
}
}
lines(result["rows"] as? [[String: Any]] ?? [], depth: 0)
}
}
4 changes: 2 additions & 2 deletions CLI/CMUXCLI+VMTui.swift
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ extension CMUXCLI {
--refresh Re-read every provider (machine list, links, local panes) first.
--json Print the catalog payload ({machines, resources, projections}).
"""
)
) + "\n\n" + cloudSidebarUsage
}

static var surfaceUsage: String {
Expand Down Expand Up @@ -1367,6 +1367,7 @@ extension CMUXCLI {
}

func runVMTreeCommand(rest: [String], client: SocketClient, jsonOutput: Bool) throws {
if rest.contains("--sidebar") { try runCloudSidebarCommand(rest: rest, client: client, jsonOutput: jsonOutput); return }
if rest.contains("--help") || rest.contains("-h") {
print(Self.vmTreeUsage)
return
Expand Down Expand Up @@ -1966,7 +1967,6 @@ extension CMUXCLI {

// MARK: - cmux surface ls|open|new-terminal

/// `cmux surface <sub>` for the catalog verbs. `resume` stays in cmux.swift.
func runSurfaceCatalogCommand(subcommand: String, rest: [String], client: SocketClient, jsonOutput: Bool) throws {
if rest.contains("--help") || rest.contains("-h") {
print(Self.surfaceUsage)
Expand Down
8 changes: 8 additions & 0 deletions Resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,14 @@
<false/>
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeIdentifier</key>
<string>com.cmux.cloud-sidebar-row</string>
<key>UTTypeConformsTo</key>
<array><string>public.data</string></array>
<key>UTTypeDescription</key>
<string>Cloud Sidebar Row</string>
</dict>
<dict>
<key>UTTypeConformsTo</key>
<array>
Expand Down
Loading
Loading