v0.7.0 feat: add zero-config agent discovery - #18
Merged
Conversation
Discover installed Codex, Kimi, and Claude CLIs from the invoking shell PATH when hub config is absent. Preserve project cwd, explicit config precedence, and cover the native PTY flows. Co-Authored-By: OpenAI Codex <noreply@openai.com>
Give the popup time to accept input after returning from a launched agent, preventing the second Ctrl-Q from racing the macOS tmux transition.
Wait for the returned hub to show the launched job, then use the empty-composer Left action. This avoids recursively invoking the tmux Ctrl-Q binding while the popup is still taking focus on macOS CI.
Require a fresh composer redraw after Ctrl-U before sending Left. This proves the returned popup owns input instead of relying on frame output or a fixed delay.
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
clilaneon a clean setup and immediately choose any installed Codex, Kimi, or Claude CLI without creatinghub.jsonfirst.clilanewas invoked; returning from a managed job uses that job's project directory.Test Coverage
AI-assessed persistent regression coverage: 83% (20/24 paths), above the 80% target.
Pre-Landing Review
Approved with no findings. Independent specialist quality score: 9.6/10.
The review verified terminal safety, exact executable resolution, old-context compatibility, cleanup behavior, PTY reliability, version consistency, and macOS/Linux portability. It also confirmed that the earlier coverage and empty-config guidance findings are resolved.
Design Review
No frontend files changed; design review was not applicable.
Eval Results
No prompt-related files changed; evals were not applicable.
Scope Drift
Scope Check: CLEAN. The diff is limited to zero-config agent discovery, project-aware launch context, user guidance, regression coverage, and v0.7.0 assertions.
Plan Completion
Verification Results
PYTHONDONTWRITEBYTECODE=1 python3 tests/hub_pty.pyPYTHONDONTWRITEBYTECODE=1 python3 tests/test_provider_evidence.py(23 tests)git diff --checkRefactor opportunities
Test plan
Generated with OpenAI Codex.