Merge branch 'main' into feat/subagents

This commit is contained in:
tanzhenxin 2025-09-11 17:00:50 +08:00
commit 81e83ac855
96 changed files with 10582 additions and 364 deletions

View file

@ -437,7 +437,7 @@ describe('useSlashCommandProcessor', () => {
});
await act(async () => {
await vi.advanceTimersByTimeAsync(200);
await vi.advanceTimersByTimeAsync(1000); // Advance by 1000ms to trigger the setTimeout callback
});
expect(mockSetQuittingMessages).toHaveBeenCalledWith([]);
@ -469,7 +469,7 @@ describe('useSlashCommandProcessor', () => {
});
await act(async () => {
await vi.advanceTimersByTimeAsync(200);
await vi.advanceTimersByTimeAsync(1000); // Advance by 1000ms to trigger the setTimeout callback
});
expect(mockRunExitCleanup).toHaveBeenCalledTimes(1);