Repository navigation
feat(computer-use): remove macOS Swift floating window - #1079
Merged
Merged
Conversation
The desktop app's monitor, screen overlay, and approval surface (inference-gateway/desktop#135) replace the CLI's macOS-only Swift floating window, consuming the headless control surface from #1074/#1075. - delete internal/display/macos/ComputerUse/ (Swift app), the embed and FloatingWindowManager lifecycle (manager.go, manager_stub.go, types.go), and the cmd wiring (floating_window_darwin.go, floating_window_stub.go) - drop floating_window from computer_use config, env overrides, and defaults; unknown keys stay tolerated on load (covered by test fixture) - chat: control-event forwarding to Bubble Tea now gates on an EventBridge being present instead of the floating window - release workflow: remove the Swift build step - CI: add a macos-latest build job so darwin cgo code compiles in CI (was ubuntu-only, which previously masked darwin breakage) - README: point at the desktop app for visualization
edenreich
force-pushed
the
feat/issue-1077
branch
from
August 19, 2026 16:40
1ade389 to
2446f70
Compare
Contributor
|
🎉 This PR is included in version 0.176.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
edenreich
added a commit
that referenced
this pull request
Aug 19, 2026
…#1080) ## Summary Building the CLI via the nix flake on macOS has been broken since #1079: the darwin `preBuild` still ran `build.sh` inside `internal/display/macos/ComputerUse`, a directory that PR removed, so `nix build` fails with `pushd: internal/display/macos/ComputerUse: No such file or directory`. This breaks every consumer pinning the flake - the desktop repo's flox dev environment cannot move past v0.175.0 until this lands in a release. ## Changes - Remove the darwin-only Swift build step (`pushd .../ComputerUse && bash ./build.sh`) and the `pkgs.swift` native build input. - Remove the dead source-filter entry for `internal/display/macos/ComputerUse/build`. - Keep `pkgs.apple-sdk` and the `SDKROOT` export: the computer-use cgo code still links AppKit (`client_darwin.go`) and ApplicationServices (`controller_darwin.go`), and hermetic nix builds cannot see the system Xcode SDK. Verified with a hermetic `nix build .#` on aarch64-darwin at this commit: `result/bin/infer` reports `infer version 0.176.0`. no docs ticket: internal-only build fix ## Cross-repo impact - `inference-gateway/desktop`: unblocks bumping the flox pin (`.flox/env/manifest.toml`) past v0.175.0 once this ships in the next release.
edenreich
added a commit
that referenced
this pull request
Nov 3, 2026
… handshake (#1685) ## Summary The daemon binding's handshake carried a `protocol_version` on the `hello` and echoed `2` in the ack, but the CLI never enforced it: any hello with a valid token was accepted, a missing field was only logged. This drops it from the hello every CLI client sends (TUI, daemon subcommands, subagents, peer daemons), from the ack, from the missing-field warning and the connect/disconnect log fields, and from `docs/browser-extension-protocol.md` and `docs/ag-ui-output.md`. The `protocol_version: 1` inside `browser_extension_status` is that frame's own schema version and stays. Closes #1684 ## Cross-repo - inference-gateway/opentask#248: the extension stops sending and reading the handshake version. Until it lands, an extension that treats a missing ack version as unsupported shows its update state against this CLI. - inference-gateway/docs#1079: the opentask page drops the handshake examples' `protocol_version`. no docs ticket beyond #1079: internal-only refactor of the handshake. ## Tests `TestBindingAcksAHelloOfAnyClientKind` checks the ack is the type alone, the hello-attr test now reads `extension_version`, and the e2e daemon test no longer asserts the ack version.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #1077
Summary
Removes the macOS-only Swift floating window outright (no deprecation cycle). The desktop app's computer-use monitor, screen overlay, and approval surface (inference-gateway/desktop#135) are the visualization layer, consuming the headless control surface from #1074/#1075.
Changes
internal/display/macos/ComputerUse/(Swift app), the//go:embed+FloatingWindowManagerlifecycle (manager.go,manager_stub.go,types.go), and the cmd wiring (floating_window_darwin.go,floating_window_stub.go)floating_windowsection removed fromcomputer_use.yamlschema, defaults, andINFER_COMPUTER_USE_FLOATING_WINDOW_*env overrides. Existing config files with the old keys still load (yaml unmarshal is lenient; covered by a test fixture that keeps the removed keys)build-macosjob (macos-latest, plaingo build) so darwin cgo code compiles in CI — the previous ubuntu-only matrix masked darwin breakage (see feat(computer-use): cross-platform AppProvider replacing macOS-only FocusManager #1078). Now trivial since the Swift embed is goneAcceptance criteria
ComputerUse/andcmd/chat.gowiring removedfloating_windowdropped; unknown keys don't break config load (test-covered)infer chatcomputer-use session verified against the mock gateway (model select, prompt, reply; 42 tools registered, no floating-window errors)Impacted repos
bundle_id→app_id/name) noted on desktop#70 separatelyDocs
Filed: inference-gateway/docs#578