Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
NODE_ENV: production
NODE_OPTIONS: --max-old-space-size=6144
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
Expand Down Expand Up @@ -129,6 +130,7 @@ jobs:
run: npm run make -- --platform win32 --arch ${{ matrix.arch }}
env:
NODE_ENV: production
NODE_OPTIONS: --max-old-space-size=6144
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
Expand Down Expand Up @@ -181,6 +183,7 @@ jobs:
run: npm run make -- --platform linux
env:
NODE_ENV: production
NODE_OPTIONS: --max-old-space-size=6144
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/desktop/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "openconduit",
"productName": "OpenConduit",
"version": "2.0.0-beta.4",
"version": "2.0.0-beta.5",
"description": "Cross-platform desktop AI chat client — OpenAI, Anthropic, LM Studio, and MCP tool servers",
"main": ".vite/build/main.js",
"private": true,
Expand Down
11 changes: 6 additions & 5 deletions packages/desktop/vite.main.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,17 @@ export default defineConfig(({ mode }) => {
// builds: with npm workspaces hoisting, those packages live at the workspace
// root node_modules/ which electron-forge never copies into the .asar.
// Bundling them with Vite is the correct fix.
//
// inlineDynamicImports: true eliminates the "circular dependency between chunks"
// warnings from @smithy's export* re-export graph — the main process has no need
// for chunk-splitting so collapsing everything into one bundle is the right call.
external: [
'bufferutil',
'utf-8-validate',
],
// Suppress the "circular dependency" warnings emitted by @smithy's export*
// re-export graph — they are harmless build-time noise.
onwarn(warning, defaultHandler) {
if (warning.code === 'CIRCULAR_DEPENDENCY' && warning.ids?.some((id) => id.includes('@smithy') || id.includes('@aws-sdk'))) return;
defaultHandler(warning);
},
output: {
inlineDynamicImports: true,
// pdfjs-dist (bundled via pdf-parse) has top-level `new DOMMatrix()` that runs
// at module evaluation time. Its own polyfill loads @napi-rs/canvas via the
// native `.node` binding, which fails in packaged Electron builds due to ABI
Expand Down
Loading