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): include domino in packaged runtime dependencies

xd416570c36a30
diff --git a/apps/desktop/forge.config.ts b/apps/desktop/forge.config.ts
index 5256f86ba2..d6b9c1f062 100644
--- a/apps/desktop/forge.config.ts
+++ b/apps/desktop/forge.config.ts
@@ -145,6 +145,9 @@ const NATIVE_RUNTIME_DEPS = [
'@protobufjs/pool',
'@protobufjs/utf8',
'long',
+ // turndown keeps this require in the bundled browser recipes. Ship its
+ // dependency-free DOM implementation so packaged startup can resolve it.
+ '@mixmark-io/domino',
// @parcel/watcher: file-browser 用的 OS 原生 watcher。N-API 模块, 无需
// electron-rebuild, 但平台特定子包 (@parcel/watcher-{platform}-{arch})
// 必须跟主包一起进包, 否则运行时 require('@parcel/watcher') 找不到 .node。