Repository navigation
feat(desktop): bundled Node, service supervision, menu bar item, and release pipeline - #6
Merged
Merged
Conversation
…ting The update route passed the new content as the entry's text, so Hermes could not locate the entry it was asked to replace. The authority now looks up the live entry by id and target and hands Hermes its stored text; a missing entry still reports as changed.
Draining used to mark every queued run cancelled. Those runs never started, so they now stay queued in the ledger; recovery keeps them queued on the next boot and dispatch starts them once the server listens.
A conditional expression around both window-root imports produced one preload wrapper carrying only the panel's CSS dependencies, so the settings window rendered without its stylesheet. Each window's import is now a separate statement.
createPanelWindow owns the native window options, content security, renderer-exit reporting and size persistence; main.ts keeps the panel's lifecycle. No behavior change.
Packaged apps now run the service on the official Node.js release pinned by .node-version, which the pack step downloads, verifies against SHASUMS256.txt and stages; unpackaged runs keep the system Node. The service's PATH starts from the user's login shell, with the bundled Node last as a fallback. Each pack writes a build ID that the service publishes in its endpoint, so a packaged app reuses a running service only from the same build. A supervisor restarts a service that exits unexpectedly with backoff and gives up after 3 exits in 5 minutes. Service output goes to rotated logs/service.log files and main-process output to main.log through electron-log. The menu gains Restart Agent Service and Show Service Logs. A quit guard asks before stopping running tasks and passes OS shutdown, logout and termination signals through without asking.
The status item is a second entry to the task panel: a click shares the global shortcut's toggle, and a right or Control/Option click opens the everyday app items. Its template icon shows the highest-priority state across the service connection and the cached tasks: unavailable, attention, running or idle. Settings › Shortcuts gains Show in Dock (macOS, off by default; packaged apps launch as LSUIElement agents) and Open at login (packaged macOS and Windows), which reads and writes the OS login item instead of the settings file. An app opened at login waits in the menu bar without showing the panel. The window preference switches drop their redundant tooltips and wrap as a group before Restore defaults moves down.
A Release workflow builds arm64 and x64 dmgs when the desktop version changes on main and publishes them as the GitHub Release v<version>, marking suffixed versions as prereleases. With a Developer ID certificate the build is signed, notarized when Apple credentials are set, and also publishes per-architecture zips with a merged latest-mac.yml; without one the dmg is ad-hoc signed. Signed installs check the feed through electron-updater after launch and every 4 hours, download in the background and install at the next quit. The app menu gains Check for Updates… and, once an update is ready, Restart to Update, which first confirms stopping running tasks. A package:installer script builds the platform installer locally.
A push to main that edits apps/desktop/package.json without changing its version (dependencies, scripts) no longer publishes the current version just because its tag is missing. The version before the push is read from github.event.before. A manual run still releases an untagged version, which covers a first release without a bump and retries.
Jirentian
pushed a commit
to Jirentian/Atd
that referenced
this pull request
Nov 8, 2026
…s; even out README previews - Seven case clips in both languages are re-rendered from atd-films 4a5b05f (PR JUNERDD#6): the composer expands as soon as dropped files or a long request overflow its one-line row, the subagents view and its morph keep their rows whole, the toast and the published app card follow the app, and the selection tour's island, toolbar and menus blur the desktop like real glass. - The README's paired previews share one crop size each (selection toolbar and write-back 1392 x 1044; conversation and Mini Panel 1072 x 1428), so GitHub's tables give both columns the same width and height, and the computer-use preview takes the 1.6:1 ratio of the other full-width previews.
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.
Summary
Eight commits that make the desktop app shippable as a standalone macOS app, plus three small fixes.
electron/panel-window.ts, with no behavior change..node-version, which the pack step downloads, verifies againstSHASUMS256.txtand stages.PATHcomes from the user's login shell.main.log.v<version>.mainreleases only when the desktop version changes.Merging this does not publish a release
This PR changes
apps/desktop/package.json(new dependencies and a script) but keepsversionat0.1.0. The last commit makes the Release workflow compare the version with the one before the push, so this merge builds nothing. Running the script locally withBEFOREset to the currentmaingaverelease=false. To publishv0.1.0later, run the workflow manually frommain.Validation
oxlintreports no errors.pnpm --filter @ai/desktop test: 11 files, 57 tests pass on the final tree.pnpm test:electron, a packaging build, and the Release workflow itself. The bundled-Node pack, the updater and signing are unverified at runtime.