feat: Add process abort control and improve auth detection

This commit is contained in:
gsxdsm
2026-02-18 20:48:37 -08:00
parent 4ee160fae4
commit 15ca1eb6d3
24 changed files with 706 additions and 498 deletions

View File

@@ -5,6 +5,17 @@ import { collectAsyncGenerator } from '../../utils/helpers.js';
vi.mock('@anthropic-ai/claude-agent-sdk');
vi.mock('@automaker/platform', () => ({
getClaudeAuthIndicators: vi.fn().mockResolvedValue({
hasCredentialsFile: false,
hasSettingsFile: false,
hasStatsCacheWithActivity: false,
hasProjectsSessions: false,
credentials: null,
checks: {},
}),
}));
describe('claude-provider.ts', () => {
let provider: ClaudeProvider;