feat(cli): add claudecode install platform + runner + lazyclaudecode routing

--platform=claudecode (alias cc normalized in resolveInstallArgs); hasClaudeCode;
runClaudeCodeInstaller shells to claude plugin marketplace add/install, prints
/plugin commands + errors (no ~/.claude write) when claude absent; install
telemetry via @oh-my-opencode/omo-claude/telemetry; lazyclaudecode invocation
routes to claudecode. 26 target tests + 23 dependent tests green; both unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
YeonGyu-Kim
2026-05-29 13:50:17 +09:00
parent c6bfc14268
commit 79ec1c23c1
14 changed files with 431 additions and 7 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
export type ClaudeSubscription = "no" | "yes" | "max20"
export type BooleanArg = "no" | "yes"
export type InstallPlatform = "opencode" | "codex" | "both"
export type InstallPlatform = "opencode" | "codex" | "claudecode" | "both"
export interface InstallArgs {
tui: boolean
@@ -26,6 +26,7 @@ export interface InstallConfig {
hasGemini: boolean
hasCopilot: boolean
hasCodex: boolean
hasClaudeCode: boolean
hasOpencodeZen: boolean
hasZaiCodingPlan: boolean
hasKimiForCoding: boolean