Display claude-code executor as Claude Code (#305)
This commit is contained in:
@@ -27,8 +27,8 @@ export const EDITOR_TYPES: EditorType[] = [
|
||||
|
||||
export const EXECUTOR_LABELS: Record<string, string> = {
|
||||
"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",
|
||||
|
||||
@@ -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())
|
||||
|
||||
@@ -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(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user