Skip to content

Releases: cugn/OpenInTerminal

OpenInTerminal-Lite 1.2.7 (cmux)

Choose a tag to compare

@oaeen oaeen released this 11 Apr 11:54

Ad-hoc signed rebuild of OpenInTerminal-Lite from upstream v1.2.7 with cmux support and a macOS 15+ regression fix.

Features

  • cmux as a first-class terminal target. cmux's CLI socket rejects clients that are not descendants of cmux.app (ERROR: Access denied — only processes started inside cmux can connect), so shelling out to cmux <path> from a Finder toolbar button doesn't work. open -a cmux.app <path> works but opens a new window every click. This integration uses cmux's AppleScript dictionary instead: new tab in front window followed by input text "cd <path>" to focused terminal of newTab. One click = one new tab in the existing cmux window, no GUI relaunch, no duplicate workspaces from session restore.

Fixes

  • Finder "Cannot access Finder" regression on macOS 15+. Upstream FinderManager.getFullUrlToFrontFinderWindowOrSelectedFile uses guard let selection = finder.selection, let selectionItems = selection.get() else { throw cannotAccessFinder }. On macOS 15+ ScriptingBridge's selection?.get() returns nil (not an empty array) when nothing is selected in Finder — that's a normal condition, not a permission failure — so every click without a selected file silently threw OITError.cannotAccessFinder and the Lite binary exited with no user-visible error. This release treats nil as an empty selection and falls through to the front-window check, matching the pre-15 behavior. Also unifies the singular and plural helpers on as? [FinderItem], removing an unsound per-element as! FinderItem force-cast. This fix benefits all Lite users on macOS 15+, not only cmux users.

Commits

  • a00ef87 feat: support cmux
  • 7ad818f fix: handle nil Finder selection on macOS 15+

Based on upstream bee2c57 (feat: support zed).

Install

  1. Download OpenInTerminal-Lite-1.2.7+a00ef87-cmux.dmg and open it
  2. Drag OpenInTerminal-Lite.app into Applications
  3. First launch: macOS will warn about "unidentified developer" (ad-hoc signed, not notarized). Either right-click → Open → Allow, or:
    xattr -dr com.apple.quarantine /Applications/OpenInTerminal-Lite.app
  4. Drag the app into any Finder window's toolbar to use as a folder-to-terminal button
  5. First click will prompt for Finder and cmux automation permissions — allow both

Runtime requirements

  • macOS 10.13+
  • For the cmux path: cmux.app must already be running before you click (the integration tells cmux's front window)

Not included

  • Notarization. Local ad-hoc build. For a notarized build, re-sign the same commits with a Developer ID.
  • Main OpenInTerminal.app and Finder extension are unchanged and not shipped in this DMG — only OpenInTerminal-Lite.

Verify

SHA256: 9753f37a94daa2b0dc7638f714fdab169598974f1bf4b01c6e74ffee46ee7a23