Skip to content

Improve open in editor remote support - #403

Merged
ymichael merged 15 commits into
mainfrom
bb/open-in-editor-remote-support-thr_r2td3th8i8
Jun 26, 2026
Merged

ymichael merged 15 commits into
mainfrom
bb/open-in-editor-remote-support-thr_r2td3th8i8

Conversation

@ymichael

@ymichael ymichael commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • consolidate work-host local operations behind server routes while keeping host-local primitives in the daemon
  • improve open-in-editor discovery with Codex-aligned macOS targets, app icon thumbnails, terminal file opens, and SSH-aware remote opens
  • add client-side remote SSH target mapping with bb-app client ssh-target stored in <dataDir>/client.json
  • add Codex-aligned fallback icons for supported workspace open targets
  • document the multi-device/client configuration workflow

Validation

  • Latest icon change: pnpm exec turbo run typecheck test --filter=@bb/local-open-targets --cache-dir=.turbo/cache --output-logs=new-only
  • Latest icon change: pnpm exec turbo run typecheck lint build --filter=@bb/app --cache-dir=.turbo/cache --output-logs=new-only
  • git diff --check
  • Earlier branch validation: pnpm exec turbo run typecheck --filter=@bb/config --filter=@bb/host-daemon-contract --filter=@bb/host-daemon --filter=bb-app --filter=@bb/templates --force
  • Earlier branch validation: pnpm exec turbo run test --filter=@bb/config --filter=@bb/host-daemon-contract --filter=@bb/host-daemon --filter=bb-app --force -- test/client-config.test.ts test/contract.test.ts src/local-api.test.ts src/workspace-open-targets.test.ts test/index.test.ts
  • Earlier branch validation: pnpm exec turbo run test --filter=@bb/templates --force
  • Earlier branch validation: pnpm exec turbo run build --filter=bb-app --force

@ymichael
ymichael marked this pull request as ready for review June 26, 2026 03:30
@ymichael
ymichael force-pushed the bb/open-in-editor-remote-support-thr_r2td3th8i8 branch 2 times, most recently from 81752b7 to 671b763 Compare June 26, 2026 03:44
@ymichael
ymichael force-pushed the bb/open-in-editor-remote-support-thr_r2td3th8i8 branch from 9014303 to d5eac13 Compare June 26, 2026 18:06
@ymichael
ymichael merged commit b3e2e12 into main Jun 26, 2026
6 checks passed
@ymichael
ymichael deleted the bb/open-in-editor-remote-support-thr_r2td3th8i8 branch June 26, 2026 19:04
SawyerHood pushed a commit that referenced this pull request Aug 28, 2026
## Summary

- restrict generic Linux desktop-entry discovery to file managers, text
editors, and terminal emulators
- use the standard XDG `Categories` values `FileManager`, `TextEditor`,
and `TerminalEmulator`
- keep unrelated desktop applications out of BB's Open in/Open with
menus

## Root cause

PR #403 added generic Linux desktop-application discovery for workspace
open
targets. It currently includes every visible `.desktop` entry with
`Type=Application`, an `Exec` command, and neither `Hidden=true` nor
`NoDisplay=true`.

As a result, BB's Open in/Open with menus can contain nearly every
installed
desktop application on Linux, including media players, settings
utilities,
messaging clients, and other software that is not a useful workspace
target.

This change additionally requires a relevant standard XDG category:
`FileManager`, `TextEditor`, or `TerminalEmulator`. Existing explicit BB
launch
adapters remain unaffected.

## Validation

- `pnpm exec turbo run typecheck test --filter=@bb/local-open-targets
--force`
- `git diff --check`

> AGENT GENERATED
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