cmux/scripts
Lawrence Chen f451766d12
Add cmux <path> to open directories and Homebrew binary stanza (#705)
* Add `cmux <path>` to open directories and Homebrew binary stanza

CLI: `cmux .` or `cmux /path/to/dir` opens a new workspace at the
given directory. If the app isn't running, it launches first and waits
for the socket. Also adds `--cwd` flag to `new-workspace`.

Server: `workspace.create` now accepts an optional `cwd` parameter,
passed through to `TabManager.addWorkspace(workingDirectory:)`.

Homebrew: adds `binary` stanza to the cask so `cmux` CLI is globally
available after `brew install --cask cmux`. Updated both the cask file,
the CI workflow template, and the manual release script so automated
version bumps preserve the stanza.

* Address review: validate cwd type, fix socket detection, propagate errors

- looksLikePath now also matches paths containing `/` (e.g. `foo/bar`)
- openPath uses socket connection attempt instead of fileExists to detect
  whether the app is running (Unix sockets may not appear on filesystem)
- launchApp/activateApp now throw instead of swallowing errors with try?
- Server validates that cwd param is a string, returns invalid_params error
  if wrong type is passed
2026-02-28 20:25:41 -08:00
..
build-sign-upload.sh Add cmux <path> to open directories and Homebrew binary stanza (#705) 2026-02-28 20:25:41 -08:00
bump-version.sh Reversion all 1.x.x to 0.x.x for pre-launch versioning 2026-02-17 18:31:05 -08:00
derive_sparkle_public_key.swift Fix Sparkle auto-update: inject SUPublicEDKey into Info.plist via PlistBuddy (#15) 2026-02-05 19:57:01 -08:00
generate_nightly_icon.py Fix nightly icon to match debug icon style (#167) 2026-02-20 04:19:10 -08:00
notify_probe.sh Add cmuxterm CLI and socket control modes 2026-01-28 21:19:48 -08:00
rebuild.sh Rename to cmux and add About panel 2026-01-26 03:05:03 -08:00
release_asset_guard.js Fail partial release assets and short-circuit reruns 2026-02-21 15:27:24 -08:00
release_asset_guard.test.js Fail partial release assets and short-circuit reruns 2026-02-21 15:27:24 -08:00
reload.sh Harden drag overlay routing and add terminal overlay regression probes 2026-02-20 19:58:58 -08:00
reload2.sh scripts: require --tag for debug reload 2026-02-14 03:13:10 -08:00
reloadp.sh Release v1.23.0 (#31) 2026-02-09 15:30:43 -08:00
reloads.sh Fix frozen terminals after split churn (#12) 2026-02-13 16:45:31 -08:00
run-tests-v1.sh Require launch tag for cmux DEV 2026-02-24 20:39:55 -08:00
run-tests-v2.sh Require launch tag for cmux DEV 2026-02-24 20:39:55 -08:00
setup.sh Use SHA stamp to safely reuse local xcframework on cache miss 2026-02-20 17:42:35 -08:00
sparkle_generate_appcast.sh Release v1.23.0 (#31) 2026-02-09 15:30:43 -08:00
sparkle_generate_keys.sh Release v1.23.0 (#31) 2026-02-09 15:30:43 -08:00
test-unit.sh Stabilize rapid workspace switching handoff 2026-02-18 21:17:53 -08:00