Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(desktop): carry the typecheck heap ceiling in the script itself (#1560)

Zymonody73fe9b6c09cf6
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index 940b1bc3be..4e8a40b20c 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -26,7 +26,7 @@
"gen:help-kb": "node scripts/gen-help-kb.mjs",
"gen:help-kb:check": "node scripts/help-kb-guard.mjs",
"lint": "eslint src/",
- "typecheck": "tsc --noEmit -p tsconfig.json",
+ "typecheck": "cross-env NODE_OPTIONS=--max-old-space-size=8192 tsc --noEmit -p tsconfig.json",
"format": "prettier --write src/",
"ensure-deps": "node ../../scripts/ensure-deps.mjs",
"ensure-dev-runtime-assets": "node ../../scripts/ensure-dev-runtime-assets.mjs",