Skip to content
This repository was archived by the owner on Nov 26, 2026. It is now read-only.

Add one-line installation and automatic Mission Control launch - #42

Merged
korallis merged 7 commits into
mainfrom
agent/kor-oneline-install
Oct 15, 2026
Merged

korallis merged 7 commits into
mainfrom
agent/kor-oneline-install

Conversation

@korallis

Copy link
Copy Markdown
Owner

Summary

Install Kor and Mission Control with one curl command, then run kor ui to start the daemon and open the browser, including the Windows browser from WSL.

install.sh → prerequisite checks → clone/fast-forward → pinned pnpm → build → kor install
kor ui → reuse/start daemon → authenticated readiness → browser (or local URL)

Updates refresh the cockpit plugin while retaining configuration, credentials and the original uninstall backups. Uninstall stops the background daemon. README leads with the public one-liner, documents authenticated private routes, and retains the manual route as an appendix.

Mission Control also retries event-stream handshakes that stall before receiving headers. The timeout ends once the stream connects.

Evidence

  • Before: installation required manual clone/install/build; kor ui required a running daemon; repeat installation refused its existing manifest.
    After: the public branch curl installer built the CLI and web app in a fresh sandbox HOME with separate Claude/Codex/XDG directories and no global pnpm. Two consecutive clean kor ui launches opened the Windows browser and showed LIVE in Mission Control; both streams remained live beyond the handshake deadline. kor status --json reported provenance: live.
  • Before: a task-local proxy holding the first /api/events response headers left the browser at CONNECTING while REST status returned 200.
    After: two independent replays reached LIVE through automatic retry.
  • Curl update retained configuration, gateway credentials, UI token and original uninstall backups, refreshed the plugin, and stopped the previous daemon. Browser failure printed the local URL; repeated launch reused the daemon. kor uninstall --purge removed sandbox configuration/state/data/CLI/journal and stopped its daemon.
  • Checks passed: sh -n scripts/install.sh, bash -n scripts/install.sh, git diff --check, full workspace pnpm typecheck, and pnpm --filter @kor-code/web build. Sandbox builds used the actual installer and its Corepack pnpm shim.

No tests were added. Proof scripts, logs and the LIVE screenshot are retained in the task evidence directory. The real CLIProxyAPI answered the reachability check; no proxy configuration or real Claude/Codex/agents state was changed. External account connections and model runs were outside this installation proof.

Merge Danger

Door: two-way

Blast Radius: installation

Installer updates stop the old daemon; launch it again with kor ui. Systemd launch uses the installed user unit, while hosts without a user manager use a detached process. Live lifecycle verification covered the detached WSL path; systemd lifecycle was not live-tested. The downloaded checkout is retained after uninstall.

@korallis
korallis merged commit 58a9723 into main Oct 15, 2026
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant