feat: bump version to 0.14.0
Includes all changes from this release cycle: - Top header navigation (sidebar removed) - Accounts screen decomposition and visual redesign - Dev/prod environment isolation - Usage Analytics with accurate averages, cost reporting, OpenRouter pricing - Monitor moved to Usage with per-request token/cost tracking - Clickable traffic logs with expandable JSON body viewer - OpenCode IDE config in Quick Setup - API Proxy reorganization (flattened tabs) - CI/CD pipeline fixes (release config, Node version, pnpm alignment) - Repository cleanup (~80MB of binaries removed)
This commit is contained in:
1 parent
3752dfda91
commit
a905877c76
67 files changed
+9303
-3862
No files matched your search
@@ -146,12 +146,22 @@ describe('Proxy Advanced Handler', () => {
|
||||
|
||||
it('should export as CSV', async () => {
|
||||
vi.mocked(TrafficLogsRepo.getAllForExport).mockReturnValueOnce([
|
||||
{ timestamp: 1000, direction: 'outbound', requestId: 'r1', endpoint: '/chat', method: 'POST', status: 200, durationMs: 50 },
|
||||
{
|
||||
timestamp: 1000,
|
||||
direction: 'outbound',
|
||||
requestId: 'r1',
|
||||
endpoint: '/chat',
|
||||
method: 'POST',
|
||||
status: 200,
|
||||
durationMs: 50,
|
||||
},
|
||||
]);
|
||||
|
||||
const result = await exportTrafficLogs('csv');
|
||||
expect(result.success).toBe(true);
|
||||
expect(result.data).toContain('timestamp,direction,requestId,endpoint,method,status,durationMs');
|
||||
expect(result.data).toContain(
|
||||
'timestamp,direction,requestId,endpoint,method,status,durationMs',
|
||||
);
|
||||
expect(result.data).toContain('outbound');
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user