mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-14 03:30:19 +00:00
dd81642d83
* ♻️ refactor: extract agent-stream into @lobechat/agent-gateway-client package Move the Agent Gateway WebSocket client from src/libs/agent-stream/ into a standalone workspace package at packages/agent-gateway-client/. This eliminates the duplicate AgentStreamEvent type in apps/cli and provides a single source of truth for the Gateway WS protocol types shared by SPA, server, and CLI consumers. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * add agent-gateway-client --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
19 lines
374 B
TypeScript
19 lines
374 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
coverage: {
|
|
exclude: [
|
|
'coverage/**',
|
|
'dist/**',
|
|
'**/node_modules/**',
|
|
'**/*.d.ts',
|
|
'**/*.config.*',
|
|
'**/index.ts',
|
|
],
|
|
reporter: ['text', 'json', 'lcov', 'text-summary'],
|
|
},
|
|
environment: 'happy-dom',
|
|
},
|
|
});
|