Skip to content

profiles,tui: Add Claude Cowork/Claude Code GUI profile#15

Open
lkosewsk wants to merge 1 commit intomainfrom
lk/claude-cowork
Open

profiles,tui: Add Claude Cowork/Claude Code GUI profile#15
lkosewsk wants to merge 1 commit intomainfrom
lk/claude-cowork

Conversation

@lkosewsk
Copy link
Copy Markdown

Add support for configuring and launching Claude Cowork / Claude Code GUI as a desktop application profile. Unlike CLI profiles, Cowork writes persistent platform-specific gateway configuration and launches the app rather than exec'ing a binary.

Install: writes three gateway config values (inferenceProvider, inferenceGatewayApiKey, inferenceGatewayBaseUrl) to the macOS plist (~/Library/Preferences/com.anthropic.claude.plist) or Windows registry (HKCU\SOFTWARE\Policies\Claude), then opens the installer download in the user's browser.

Launch: reads back the stored gateway URL, re-writes config if the active Aperture endpoint has changed, then starts the app (open -a Claude on macOS, cmd /c start claude:// on Windows).

New interfaces:

  • Launcher: for profiles that launch a desktop app (returns immediately)
  • HostAwareInstaller: for install steps that need the aperture host URL

Also fixes isExecutable() on Windows where Unix permission bits are always zero, causing CommonPaths detection to fail for all profiles.

Add support for configuring and launching Claude Cowork / Claude Code
GUI as a desktop application profile. Unlike CLI profiles, Cowork
writes persistent platform-specific gateway configuration and launches
the app rather than exec'ing a binary.

Install: writes three gateway config values (inferenceProvider,
inferenceGatewayApiKey, inferenceGatewayBaseUrl) to the macOS plist
(~/Library/Preferences/com.anthropic.claude.plist) or Windows registry
(HKCU\SOFTWARE\Policies\Claude), then opens the installer download in
the user's browser.

Launch: reads back the stored gateway URL, re-writes config if the
active Aperture endpoint has changed, then starts the app (open -a
Claude on macOS, cmd /c start claude:// on Windows).

New interfaces:
- Launcher: for profiles that launch a desktop app (returns immediately)
- HostAwareInstaller: for install steps that need the aperture host URL

Also fixes isExecutable() on Windows where Unix permission bits are
always zero, causing CommonPaths detection to fail for all profiles.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@lkosewsk lkosewsk requested a review from mostlygeek April 10, 2026 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant