total-recall-brain 3.16.0 → 3.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,6 +37,7 @@ vi.mock('./pages/OnboardingPage', () => ({ default: () => <div data-testid="onbo
37
37
  describe('App', () => {
38
38
  beforeEach(() => {
39
39
  vi.clearAllMocks();
40
+ window.history.replaceState({}, '', '/');
40
41
  });
41
42
 
42
43
  it('renders loading state initially', () => {
@@ -1,6 +1,7 @@
1
1
  import { describe, it, expect, vi, beforeEach } from 'vitest';
2
2
  import { render, screen } from '@testing-library/react';
3
3
  import TasksPage from './TasksPage';
4
+ import * as api from '../api';
4
5
 
5
6
  vi.mock('../api');
6
7
 
@@ -9,7 +10,10 @@ describe('TasksPage', () => {
9
10
  vi.resetAllMocks();
10
11
  });
11
12
 
12
- it('renders without crashing', () => {
13
+ it('renders without crashing', async () => {
14
+ vi.mocked(api.listTasks).mockResolvedValue({ items: [] } as any);
15
+ vi.mocked(api.listResearch).mockResolvedValue({ items: [] } as any);
16
+ vi.mocked(api.fetchLogs).mockResolvedValue([]);
13
17
  render(<TasksPage />);
14
18
  expect(screen.getByText(/Cognitive Dashboard/i)).toBeInTheDocument();
15
19
  });
@@ -53,3 +53,7 @@ if (typeof window !== 'undefined') {
53
53
  value: localStorageMock,
54
54
  });
55
55
  }
56
+
57
+ import { vi } from 'vitest';
58
+ vi.mock('react-force-graph-3d', () => ({ default: () => null }));
59
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "total-recall-brain",
3
- "version": "3.16.0",
3
+ "version": "3.16.1",
4
4
  "description": "Personal AI system — database-free, SSSS-powered intelligence engine deployable to any POSIX host.",
5
5
  "type": "module",
6
6
  "workspaces": [
@@ -76,10 +76,13 @@
76
76
  "zod": "^4.4.3"
77
77
  },
78
78
  "devDependencies": {
79
+ "@rolldown/binding-darwin-x64": "^1.2.0",
80
+ "@rolldown/pluginutils": "^1.0.1",
79
81
  "@testing-library/dom": "^10.4.1",
80
82
  "@testing-library/jest-dom": "^6.9.1",
81
83
  "@testing-library/react": "^16.3.2",
82
84
  "@testing-library/user-event": "^14.6.1",
85
+ "@vitejs/plugin-react": "^6.0.3",
83
86
  "@vitest/coverage-v8": "^4.1.10",
84
87
  "jsdom": "^29.1.1",
85
88
  "openwiki": "^0.1.2",