Skip to content

fix: align Tray with the native Desktop protocol - #49

Merged
abrichr merged 3 commits into
mainfrom
codex/tray-desktop-protocol-20260828
Aug 28, 2026
Merged

fix: align Tray with the native Desktop protocol#49
abrichr merged 3 commits into
mainfrom
codex/tray-desktop-protocol-20260828

Conversation

@abrichr

@abrichr abrichr commented Aug 28, 2026

Copy link
Copy Markdown
Member

What changed

Tray now uses the Desktop protocol that the installed product exposes. It checks protocol version 1, authenticates each command, and requests current status as soon as it connects. Recording and compile events now map to the states that Desktop sends.

The launcher opens the native Desktop app through the platform's installed identity. macOS uses the bundle ID. Windows uses the known installer paths. Linux uses the installed desktop entry or binary. An explicit AppImage path remains available for portable installs.

The lock file also moves cryptography from 49.0.0 to 50.0.0.

Verification

  • uv run pytest -q: 257 passed, 2 skipped
  • uv run ruff check src tests: passed
  • uv run python scripts/check_source_boundary.py: passed
  • uv build: built the wheel and source archive
  • uv run python scripts/check_release_consistency.py --require-dist: passed
  • gitleaks git --redact --log-opts="origin/main..HEAD": no leaks found

I also checked the public Desktop 0.15.0 Debian package. It installs OpenAdapt Desktop.desktop and /usr/bin/openadapt-desktop, which are the Linux identities used here.

Review order

Review and merge this PR before the paired Desktop PR. Desktop tests the exact Tray commit debe280ae7b1bd81d1c353809056599f094b2f64.

This PR doesn't publish a package or create a release.

@abrichr
abrichr merged commit 3d6ffbe into main Aug 28, 2026
10 checks passed
@abrichr
abrichr deleted the codex/tray-desktop-protocol-20260828 branch August 28, 2026 21:14
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