Commit fde7a82
authored
chore: upgrade all deps to latest, fix ESM/CJS interop for Vite 8/Rolldown (#719)
* chore: update docs, TS6 config, Vite8/Vitest4 config compatibility
* fix: MUI v9 system-props migration to sx prop (codemod)
* fix: TypeORM 1.0 relations API migration (string[] to object)
* fix: inversify 8 rebindSync→rebind, logform types, test mocks for vitest 4
* fix: other type compatibility fixes for upgraded deps
* chore: upgrade all non-ESM deps to latest (excl date-fns, default-gateway, electron-unhandled)
* fix: add missing @testing-library/dom dev dependency
* fix: ensure node-linker=hoisted for forge compatibility
* fix: proper onlyBuiltDependencies in workspace.yaml for pnpm 11 compat
* chore: upgrade all non-ESM deps with clean lockfile
* fix: add onlyBuiltDependencies to .npmrc for pnpm 11 compat
* fix: downgrade electron to 41.7.1 for better-sqlite3 native module compat
* fix: external rotating-file-stream with CJS patch for Electron 41
* fix: strip Rolldown e.a() wrapper for rotating-file-stream via plugin
* fix: bundle rotating-file-stream as CJS via alias (not external) to fix class method breakage
* feat: output main process as ESM to fix rotating-file-stream class methods
* fix: force rotating-file-stream as CJS via commonjsOptions.include
* fix: upgrade to electron-forge v8 alpha with ESM hooks
* fix: add external for typeorm expo-sqlite optional dep
* fix: strip Rolldown e.a() wrapper for rotating-file-stream via post-build plugin
* chore: upgrade all deps to latest, fix ESM/CJS interop for Vite 8/Rolldown
- Upgrade date-fns 3.6→4.4, default-gateway 6.0→7.2, electron-unhandled 4.0→5.0
- Fix rotating-file-stream ESM→CJS interop: external + afterPack copy
- Fix moment CJS function export: external + afterPack copy
- Fix default-gateway v7: migrate from platform sub-paths to unified gateway4()
- Fix electron-unhandled v5: bridge module with dynamic import()
- Fix TypeORM 1.0 relations: string[]→{x:true} in agentRepository
- Fix MUI v9 Autocomplete freeSolo: explicit Enter key handling for tag input
- Fix Forge v8 alpha: async hooks, packageAfterPrune signature
- Fix worker URL: post-build plugin strips {}.url in CJS output
- Add validate-e2e-args.ts guard with clear error messages pointing to docs
- Add moment + rotating-file-stream to afterPack with dereference support
- All deps latest except electron@41.7.1 (better-sqlite3 V8 API compat)
* fix: lint errors (file rename, no-throw-in-finally, naming)
* fix: resolve all lint and TypeScript errors for CI
- Rename validate-e2e-arguments.ts → validate-cucumber-arguments.ts to fix unicorn/prevent-abbreviations
- Fix type safety in validate-cucumber-arguments.ts (explicit string[] types, unify function names)
- Fix no-unsafe-finally in afterPack.ts by moving throw out of finally block
- Remove unused is/isNot imports from Sidebar.tsx
- Fix no-unsafe-assignment in FormComponents.tsx with explicit type casts
- Fix await-thenable and no-confusing-void-expression in wikiSearchPlugin.test.ts
- Fix no-unsafe-return in log/index.ts with eslint-disable on any-return
- Fix unicorn/prevent-abbreviations in workerAdapter.ts (err → error_)
- Fix restrict-template-expressions in systemPreferences/index.ts (String(key))
- Migrate WorkspaceSelectorBase.tsx from transient props () to data-* attributes for MUI v9 compat
- Fix vitest mock types in NewWikiForm.test.tsx and KeyboardShortcutRegister.test.tsx
* style: auto-fix format/dprint warnings across codebase
* fix(pnpm): disable block-exotic-subdeps for @reforged/maker-appimage git dep
* fix: E2E failures in workspaceGroup and subWiki
- Remove duplicate data-drag-intent from WorkspaceSelectorBase Root (kept on Avatar)
to fix strict mode violation in workspaceGroup E2E test
- Merge Autocomplete parameters.slotProps instead of overriding in NewWikiForm
to fix subWiki tag input (UITestTag not applied)
* fix(test): update NewWikiForm test for MUI v9 Autocomplete combobox role
* fix(pnpm): duplicate blockExoticSubdeps=false in pnpm-workspace.yaml for CI
* fix(copilot): address PR review comments - restore TransformableInfo type, re-enable skipped tests, fix vitest config comment
* chore: remove moment.js dependency
- Override file-stream-rotator to 1.0.0 (drops moment)
- Remove moment from vite main externals and afterPack copy rules
- Restore block-exotic-subdeps=false in .npmrc
* refactor(analytics): remove deprecated disclosure dialog and related dead code
- Remove AnalyticsDisclosure window, route, window props, and i18n strings
- Remove shouldShowDisclosure, recordDisclosureVersion, showDisclosureIfNeeded
from IAnalyticsService and AnalyticsService
- Remove analyticsDisclosureVersion from IAnalyticsSecretSettings
- Remove showDisclosureIfNeeded call from main.ts
- Simplify isEnabled to rely solely on analyticsEnabled preference
fix(wiki): prevent multi-run filter corruption in getTiddlersJSON
- Stop appending '+[!is[system]]' to the filter string, which broke
multi-run filters by corrupting their union/accumulator logic
- Post-filter system tiddlers via wiki.isSystemTiddler() instead
- Add skipSystemFilter option to bypass post-filter entirely for
filters that return field names or other non-title values
* chore: remove typescript-styled-is and clean up peer dep rules
- Remove unused typescript-styled-is dependency from package.json
- Add auto-install-peers=false to .npmrc to prevent auto-installing optional peer deps
- Add peerDependencyRules.ignoreMissing for moment variants in pnpm-workspace.yaml
- Regenerate pnpm-lock.yaml: drops moment override, styled-components, babel deps
* fix(mcp): default token auth off and fix CJS require in packaged app
- Set mcpServerRequireToken default to false so new users don't get
blocked by empty token when enabling MCP server
- Write {type: 'commonjs'} package.json into @modelcontextprotocol/sdk
dist/cjs after copy in afterPack hook, fixing ESM-not-found error
when require() loads the SDK in the packaged Electron app
Refs: runtime crash on MCP server start due to createEsmNotFoundErr
* fix(dnd): use activatorEvent + delta for pointer Y on Windows CI
Derive live pointer Y from dnd-kit's activatorEvent.clientY + delta.y
instead of relying on a global pointermove listener. Playwright on
Windows CI/Electron does not reliably fire pointermove events, causing
deriveDragState to fallback to stale rect centers and mis-detect
'group' intent as 'reorder-after'.
- Update deriveDragState signature to accept activatorEvent
- Compute activatorPointerY = activatorEvent.clientY + delta.y
- Prefer activatorPointerY over pointerYReference in all branches
- Fix lint: remove unnecessary type assertion, rename mcpSdkDest
Fixes workspaceGroup E2E failures on windows-2022-3.1 parent e561f03 commit fde7a82
98 files changed
Lines changed: 4581 additions & 4152 deletions
File tree
- docs
- localization/locales
- en
- zh-Hans
- scripts
- src
- components/__tests__
- helpers
- pages
- Agent/TabContent/TabTypes
- ChatTabContent/components
- MessageRenderer
- PromptPreviewDialog
- PromptConfigForm
- components/display
- Main
- WorkspaceIconAndSelector
- services
- agentInstance
- tools/__tests__
- analytics
- __tests__
- database
- git
- libs
- preferences
- definitions
- systemPreferences
- wiki
- plugin/watchFileSystemAdaptor/__tests__
- wikiOperations/sender
- wikiWorker
- windows
- type-declarations
- windows
- AddWorkspace
- __tests__
- AnalyticsDisclosure
- EditWorkspace
- customItems
- GitLog
- Preferences
- customItems
- sections
- ExternalAPI/components
- __tests__
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
5 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | | - | |
166 | | - | |
167 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
168 | 174 | | |
169 | 175 | | |
170 | 176 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | | - | |
46 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | 95 | | |
112 | 96 | | |
113 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | 95 | | |
112 | 96 | | |
113 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
| 84 | + | |
| 85 | + | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
| 114 | + | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | | - | |
| 124 | + | |
126 | 125 | | |
127 | 126 | | |
128 | 127 | | |
| |||
132 | 131 | | |
133 | 132 | | |
134 | 133 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | 134 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
150 | 146 | | |
151 | 147 | | |
| 148 | + | |
152 | 149 | | |
153 | 150 | | |
154 | 151 | | |
| |||
159 | 156 | | |
160 | 157 | | |
161 | 158 | | |
162 | | - | |
163 | | - | |
| 159 | + | |
| 160 | + | |
164 | 161 | | |
165 | 162 | | |
166 | 163 | | |
167 | 164 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
172 | 169 | | |
173 | 170 | | |
174 | 171 | | |
175 | | - | |
| 172 | + | |
176 | 173 | | |
177 | 174 | | |
178 | 175 | | |
179 | 176 | | |
180 | | - | |
| 177 | + | |
181 | 178 | | |
182 | 179 | | |
183 | | - | |
| 180 | + | |
184 | 181 | | |
185 | 182 | | |
186 | 183 | | |
187 | 184 | | |
188 | 185 | | |
189 | 186 | | |
190 | | - | |
| 187 | + | |
191 | 188 | | |
192 | 189 | | |
193 | | - | |
194 | | - | |
| 190 | + | |
| 191 | + | |
195 | 192 | | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
| 193 | + | |
215 | 194 | | |
216 | 195 | | |
217 | 196 | | |
0 commit comments