Neo Desktop — menu-bar app with integrated terminal (our UI) - #18
Open
lam0819 wants to merge 4 commits into
Open
Neo Desktop — menu-bar app with integrated terminal (our UI)#18lam0819 wants to merge 4 commits into
lam0819 wants to merge 4 commits into
Conversation
…erminal Menu-bar (Accessory) Tauri 2 app for managing neo servers: - Compact Control-Center popover: live CPU/RAM/disk gauges, apps, alerts - AppKit source-list dashboard: per-app start/stop/restart (instant GUI ops), logs viewer, domain/HTTPS dialog, remove — with confirmations + toasts - Integrated tabbed terminals (server SSH + container shell), full-screen, real PTY over neo's own SSH auth via the neo-bridge sidecar neo-bridge sidecar (cmd/neo-bridge): one-shot JSON API reusing internal config/ssh/state + an interactive `pty` mode (remote PTY, resize control frame). Adds Executor.InteractiveShell.
top -bn1 is a single instantaneous sample — unreliable, jumps, and often reads ~0 idle → a stuck 100%. Measure the busy fraction across two /proc/stat reads ~0.3s apart instead, matching htop. Also: drop the unused `neo` sidecar from externalBin (the terminal uses neo-bridge pty), and bump desktop to 0.2.0.
- desktop-release.yml: on desktop-v* tags, builds mac arm64 + x86_64, version-stamped neo-bridge sidecar, unsigned-safe (signing gated), smoke-tests the bundled bridge, publishes a draft Release with DMGs. - desktop-ci.yml: Go bridge build/test, frontend typecheck/build, macOS fmt/clippy/bundle/smoke on PRs. - rustfmt the Tauri crate.
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.
The Neo Desktop menu-bar app: compact Control-Center popover + AppKit source-list dashboard + integrated terminal, plus its CI/release pipeline.
App
neo-bridge pty,std::process— no macOS fork abort, raw-byte streaming, live resize).Backend
cmd/neo-bridge: one-shot JSON API (hello/list/snapshot/app.*/logs/domain/sshkey) +ptyinteractive mode, reusinginternal/config+internal/ssh.internal/ssh:Executor.InteractiveShell(PTY + resize control frame)./proc/statsamples (was stuck 100% fromtop -bn1).CI / release
desktop-ci.yml: Go + frontend + macOS fmt/clippy/bundle/smoke on PRs.desktop-release.yml: ondesktop-v*tag → mac arm64 + x86_64 DMGs → draft Release. Signing gated (unsigned-safe).Validation
npm run build(tsc) ✓,tauri buildarm64 ✓, rustfmt + clippy ✓, bridge smoke ✓.Note: an alternate, separately-productized implementation lives on
plan/neo-desktop-tray-app(PR #17 ported this terminal onto it). This PR is the UI direction chosen for shipping.