diff --git a/backend/src/bin/generate_types.rs b/backend/src/bin/generate_types.rs index f3e855df..18651942 100644 --- a/backend/src/bin/generate_types.rs +++ b/backend/src/bin/generate_types.rs @@ -27,8 +27,8 @@ export const EDITOR_TYPES: EditorType[] = [ export const EXECUTOR_LABELS: Record = { "echo": "Echo (Test Mode)", - "claude": "Claude", - "claude-plan": "Claude Plan", + "claude": "Claude Code", + "claude-plan": "Claude Code Plan", "amp": "Amp", "gemini": "Gemini", "charm-opencode": "Charm Opencode", diff --git a/backend/src/executor.rs b/backend/src/executor.rs index c107acb0..4df95c77 100644 --- a/backend/src/executor.rs +++ b/backend/src/executor.rs @@ -1001,7 +1001,7 @@ mod tests { .normalize_logs(claude_logs, "/tmp/test-worktree") .unwrap(); - assert_eq!(result.executor_type, "Claude"); + assert_eq!(result.executor_type, "Claude Code"); assert_eq!( result.session_id, Some("499dcce4-04aa-4a3e-9e0c-ea0228fa87c9".to_string()) diff --git a/backend/src/executors/claude.rs b/backend/src/executors/claude.rs index 41d84da0..d39f2409 100644 --- a/backend/src/executors/claude.rs +++ b/backend/src/executors/claude.rs @@ -54,7 +54,7 @@ impl ClaudeExecutor { /// Create a new ClaudeExecutor with default settings pub fn new() -> Self { Self { - executor_type: "Claude".to_string(), + executor_type: "Claude Code".to_string(), command: "npx -y @anthropic-ai/claude-code@latest -p --dangerously-skip-permissions --verbose --output-format=stream-json".to_string(), } } diff --git a/shared/types.ts b/shared/types.ts index d12c4423..0ef07a67 100644 --- a/shared/types.ts +++ b/shared/types.ts @@ -141,8 +141,8 @@ export const EDITOR_TYPES: EditorType[] = [ export const EXECUTOR_LABELS: Record = { "echo": "Echo (Test Mode)", - "claude": "Claude", - "claude-plan": "Claude Plan", + "claude": "Claude Code", + "claude-plan": "Claude Code Plan", "amp": "Amp", "gemini": "Gemini", "charm-opencode": "Charm Opencode",