refactor(core)!: Generalize GitWorktreeService from Arena-specific to reusable service

Rename ArenaWorktreeConfig → WorktreeSetupConfig, setupArenaWorktrees →
setupWorktrees, cleanupArenaSession → cleanupSession, etc. Change default
storage path from ~/.qwen/arena/ to ~/.qwen/worktrees/ and branch prefix
from arena/ to worktrees/. Add branchPrefix and metadata options for
flexibility. Remove auto-repo-init behavior; fail fast instead.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
tanzhenxin 2026-02-23 22:44:45 +08:00
parent 5d07c495f1
commit e12e0533a3
6 changed files with 241 additions and 207 deletions

View file

@ -156,12 +156,6 @@ export function ArenaStatusDialog({
</Text>
<Text color={theme.text.secondary}> · </Text>
<Text color={sessionLabel.color}>{sessionLabel.text}</Text>
{isInProcess && (
<>
<Text color={theme.text.secondary}> · </Text>
<Text color={theme.text.accent}>In-Process</Text>
</>
)}
</Box>
<Box height={1} />