Skip to content

feat(setup): detect CLIs and prompt for integrations - #20

Merged
HeftyKoo merged 2 commits into
mainfrom
codex/setup-cli-selection
Oct 13, 2026
Merged

HeftyKoo merged 2 commits into
mainfrom
codex/setup-cli-selection

Conversation

@HeftyKoo

@HeftyKoo HeftyKoo commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

Setup previously wrote integrations for every supported CLI, including CLIs that were not installed. It now detects codex, claude and pi executables on PATH and presents a terminal menu to install all detected integrations, a subset, or none.

The menu reads from the controlling terminal for curl-to-bash installation. --agents supports explicit unattended selection; missing CLIs are always skipped. Cancellation happens before integration/service configuration, and headless global npm installs defer setup. Setup guides and support/privacy copy describe the new behavior.

The native pairing acceptance test also waits for the endpoint readiness file, avoiding a race between the startup log and the atomic file write.

Validation:

  • 307 tests passed; one optional installed-DSH test skipped.
  • TypeScript, architecture/privacy checks and terminal-host build passed.
  • Real terminal checks verified selection with redirected stdin and cancellation with Control+C.
  • Full pnpm release:audit passed, including browser builds, Safari native validation, archive reproducibility and an isolated packed-host install with real shell I/O.

This PR does not publish a new terminal-host npm version.

@HeftyKoo
HeftyKoo marked this pull request as ready for review October 13, 2026 02:13
@HeftyKoo
HeftyKoo merged commit ab4a756 into main Oct 13, 2026
2 checks passed
@HeftyKoo
HeftyKoo deleted the codex/setup-cli-selection branch October 13, 2026 02:19
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