Skip to content

feat: add Kimi CLI runner#875

Merged
stephanj merged 3 commits intomasterfrom
feature/cli-runners
Feb 12, 2026
Merged

feat: add Kimi CLI runner#875
stephanj merged 3 commits intomasterfrom
feature/cli-runners

Conversation

@stephanj
Copy link
Copy Markdown
Collaborator

@stephanj stephanj commented Feb 12, 2026

Summary

  • Add Kimi as a new CLI runner type with --prompt flag for prompt delivery, --yolo auto-approve mode, and --mcp-config-file for MCP support
  • Fix Test Connection button to use the CliCommand abstraction instead of always piping via stdin (broke tools like Kimi that use --prompt flag)
  • Update CLI Runners documentation to include Kimi

Test plan

  • KimiCliCommandIT.testBuildProcessCommand — verifies command construction
  • KimiCliCommandIT.testKimiProcessStartsWithPromptFlag — verifies no BrokenPipeError
  • Full build passes (./gradlew build)
  • Manual: verify Kimi appears in CLI tool type dropdown in Settings
  • Manual: verify Test Connection works for Kimi

🤖 Generated with Claude Code

stephanj and others added 3 commits February 12, 2026 15:47
Kimi passes the prompt via --prompt flag (not stdin) and requires
stdin to stay open to avoid BrokenPipeError from prompt_toolkit.
Process is force-killed on task completion since Kimi enters
interactive mode after processing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
runTest() bypassed the Command pattern and always piped prompts via
stdin, which broke tools like Kimi that require --prompt flag.
Now delegates to CliCommand.buildProcessCommand() and writePrompt().

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@stephanj stephanj merged commit 1e1ec03 into master Feb 12, 2026
8 checks passed
@stephanj stephanj deleted the feature/cli-runners branch February 12, 2026 14:52
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