An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:recycle: Upgrade to Electron v44.3.0 https://github.com/siyuan-note/siyuan/issues/19124
Daniel22b97f0fcb46
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.mdindex 8966024b88..e8a53e7e22 100644--- a/.github/CONTRIBUTING.md+++ b/.github/CONTRIBUTING.md@@ -17,10 +17,10 @@ Install pnpm: `npm install -g [email protected]`Set the Electron mirror environment variable and install Electron:-* macOS/Linux: `ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install [email protected] -D`+* macOS/Linux: `ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install [email protected] -D`* Windows:* `SET ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/`- * `pnpm install [email protected] -D`+ * `pnpm install [email protected] -D`NPM mirror:@@ -30,7 +30,7 @@ NPM mirror:Enter the app folder and execute:-* `pnpm install [email protected] -D`+* `pnpm install [email protected] -D`* `pnpm run install:electron`* `pnpm run dev`* `pnpm run start`diff --git a/.github/CONTRIBUTING.zh-CN.md b/.github/CONTRIBUTING.zh-CN.mdindex 10fb0ee80a..02f334bfdb 100644--- a/.github/CONTRIBUTING.zh-CN.md+++ b/.github/CONTRIBUTING.zh-CN.md@@ -10,17 +10,17 @@Electron 44 要求 macOS 13 或更高版本,Windows 和 Linux 仅支持 64 位构建。-安装 pnpm:`npm install -g [email protected]`+安装 pnpm:`npm install -g [email protected]`<details><summary>适用于中国大陆</summary>设置 Electron 镜像环境变量并安装 Electron:-* macOS/Linux:`ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install [email protected] -D`+* macOS/Linux:`ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install [email protected] -D`* Windows:* `SET ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/`- * `pnpm install [email protected] -D`+ * `pnpm install [email protected] -D`NPM 镜像:@@ -30,7 +30,7 @@ NPM 镜像:进入 app 文件夹执行:-* `pnpm install [email protected] -D`+* `pnpm install [email protected] -D`* `pnpm run install:electron`* `pnpm run dev`* `pnpm run start`diff --git a/app/package.json b/app/package.jsonindex ecde6f270c..d46690f383 100644--- a/app/package.json+++ b/app/package.json@@ -5,7 +5,7 @@"description": "From thought to insight, with agents","homepage": "https://b3log.org/siyuan","main": "./electron/main.js",- "packageManager": "[email protected]",+ "packageManager": "[email protected]","scripts": {"lint": "pnpm run typecheck && eslint . --fix --cache","typecheck": "tsc -p tsconfig.typecheck.json",@@ -66,7 +66,7 @@"cross-env": "^10.1.0","css-loader": "^7.1.2","dayjs": "^1.11.5",- "electron": "44.2.0",+ "electron": "44.3.0","electron-builder": "26.15.7","encoding": "^0.1.13","esbuild-loader": "^3.0.1",diff --git a/app/pnpm-lock.yaml b/app/pnpm-lock.yamlindex 7c06582444..4f74b844e9 100644--- a/app/pnpm-lock.yaml+++ b/app/pnpm-lock.yaml@@ -1,3 +1,123 @@+---+lockfileVersion: '9.0'++importers:++ .:+ configDependencies: {}+ packageManagerDependencies:+ '@pnpm/exe':+ specifier: 12.3.4+ version: 12.3.4+ pnpm:+ specifier: 12.3.4+ version: 12.3.4++packages:++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-PAyUol8T1+/+ViOiXAt51ECA+QnfXCqz6foL4bW+LsoX0NcVd5XVEM2mRQu+LV4oc7uRz9zf9U0P+XFfuQeDAw==}+ cpu: [arm64]+ os: [darwin]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-fxP9JCk0Cdye+ePuj+GJJLMUMTqHGWRdb1dtv4How876uQ2ehxvenpgiYAir/ceO9PsYUZkFTtyZdx+rRu5QOA==}+ cpu: [x64]+ os: [darwin]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-FBOt0/7ye6O6q4AllVV5QMviB6qE6fqkeczV/+MDWQsmo+QJrlfsh6X7CpH/tClVpBZEyIbjpUoT8bNhCYBxEg==}+ cpu: [arm64]+ os: [linux]+ libc: [musl]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-t71AVA7LRqiKTyZ5xMYaZc2n5DfdpMbfokZuiIOXHBOM03ECnF0t4iYwaBDqJgVjlKYUOwaF/bRQajGNA4cJ4w==}+ cpu: [arm64]+ os: [linux]+ libc: [glibc]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-RPmk7Jb/aYaFvL2iyDN/AtMY+hUEsue732WmXpcuQ9tBpMnGyA5py7Z3+e+qmQaJ0zY/4ni9jJiyPBQHujmv6w==}+ cpu: [x64]+ os: [linux]+ libc: [musl]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-2ZqOlSPkfwX1h5cR+FPiWf8+F+2hZT/3TvhUK5sigHqwaQCIiq8R7CGxhndKs63JtcLi2a1Qpo+wX/EoyfjyJQ==}+ cpu: [x64]+ os: [linux]+ libc: [glibc]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-ANyrHqyqco6SXBysUTRF74itDyyraea7IbFsKFdNXTjcFnfycTDx37EwuhdpPYFNSIh2JhUG4fByclsRfiHX7w==}+ cpu: [arm64]+ os: [win32]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-WH/KqBPY/hq2Tb7SgQltEZytimcjgKRaCRL/aM9CI0c67iKc5TVmHUhIiL3Ux9FB4bWn36i6XewUcScQI+zG8w==}+ cpu: [x64]+ os: [win32]++ '@pnpm/[email protected]':+ resolution: {integrity: sha512-Rq7JokWAyYF9IFfn8zofB/q2AgnZlmoMuH5fMHB2+Ta61I9aD7sNm+woZpx6iH+5vb38chdSoYRvOtSqlH72YQ==}+ engines: {node: '>=18.*'}+ hasBin: true++ resolution: {integrity: sha512-lhqkH7B32joEpEHZ+OFevAyW2o73ELLrZ7+e58sGEOq9SPH9hfUc/+c4RnhfoPh8VqOocqHYk/hEZ0G1zORUVw==}+ engines: {node: '>=18.*'}+ hasBin: true++snapshots:++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optional: true++ '@pnpm/[email protected]':+ optionalDependencies:+ '@pnpm/exe.darwin-arm64': 12.3.4+ '@pnpm/exe.darwin-x64': 12.3.4+ '@pnpm/exe.linux-arm64': 12.3.4+ '@pnpm/exe.linux-arm64-musl': 12.3.4+ '@pnpm/exe.linux-x64': 12.3.4+ '@pnpm/exe.linux-x64-musl': 12.3.4+ '@pnpm/exe.win32-arm64': 12.3.4+ '@pnpm/exe.win32-x64': 12.3.4++ optionalDependencies:+ '@pnpm/exe.darwin-arm64': 12.3.4+ '@pnpm/exe.darwin-x64': 12.3.4+ '@pnpm/exe.linux-arm64': 12.3.4+ '@pnpm/exe.linux-arm64-musl': 12.3.4+ '@pnpm/exe.linux-x64': 12.3.4+ '@pnpm/exe.linux-x64-musl': 12.3.4+ '@pnpm/exe.win32-arm64': 12.3.4+ '@pnpm/exe.win32-x64': 12.3.4++---lockfileVersion: '9.0'settings:@@ -13,7 +133,7 @@ importers:dependencies:'@electron/remote':specifier: ^2.1.3- version: 2.1.3([email protected]([email protected]))+ version: 2.1.3([email protected]([email protected]))zxcvbn:specifier: 4.4.2version: 4.4.2@@ -55,8 +175,8 @@ importers:specifier: ^1.11.5version: 1.11.20electron:- specifier: 44.2.0- version: 44.2.0([email protected])+ specifier: 44.3.0+ version: 44.3.0([email protected])electron-builder:specifier: 26.15.7version: 26.15.7([email protected])([email protected])@@ -894,9 +1014,6 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-8oljBDGun9cIsZRJR6fkihn0TSXJI0UDOOhncYaERq6M0JMDoPLxyscwruJcb4GKS6dvK/d8xebYBg27h/duaQ==}- '@types/[email protected]':- resolution: {integrity: sha512-sokuT28dxf9JT5Kady1fsXOvI4HVpjZa95NKT5y9PNTIrs2AsobR4GFAA90ZG8M+nxVRLysCXsVj6eGC7Vbrlw==}-'@types/[email protected]':resolution: {integrity: sha512-FZJgC5Bxuqg7Rhsm/bx6gAruHHhDQ55r+s0JhDh8CQ16fD7NsJJ+p8YMMQDhSQoIrSmjpqqYWA96oQVMNkjRyA==}@@ -1494,8 +1611,8 @@ packages:resolution: {integrity: sha512-bO3y10YikuUwUuDUQRM4KfwNkKhnpVO7IPdbsrejwN9/AABJzzTQ4GeHwyzNSrVO+tEH3/Np255a3sVZpZDjvg==}engines: {node: '>=8.0.0'}- resolution: {integrity: sha512-oK1icjhapp3xsUZycO9WZaLmd3hJnA7ieobC4mpdtO1pEN+PPGWpA3m1Mgzzuc1wzSD2Wai4zcH4yfpGJqxFMA==}+ resolution: {integrity: sha512-St9EV7F2VtYaYWD2qaAjBwUgKxx39eJOUsUJ5+/1113sqbVfNqv4Dbm/W1rN7qmYSPa+mWwR6yr+b7MfgjgVfQ==}engines: {node: '>= 22.12.0'}hasBin: true@@ -2839,9 +2956,6 @@ packages:resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==}- resolution: {integrity: sha512-qYVnV5OEm2AW8cJMCpdV20CDyaN3g0AjDlOGf1OW4iaDEx8MwdtChUp4zu4H0VP3nDRF/8RKWH+IPp9uW0YGZg==}-resolution: {integrity: sha512-YmfV3YnEDzXRC5lZ2jWtWWHKGUm1zIt8AhesR1tens+HTNv+YZlN/dp6G727LOvMJ8xjP9Be7Y2Sdr96LDm+pg==}engines: {node: '>=18.17'}@@ -3071,9 +3185,9 @@ snapshots:transitivePeerDependencies:- supports-colordependencies:- electron: 44.2.0([email protected])+ electron: 44.3.0([email protected])'@electron/[email protected]([email protected])':dependencies:@@ -3420,7 +3534,7 @@ snapshots:'@isaacs/[email protected]':dependencies:string-width: 5.1.2- string-width-cjs: [email protected]+ string-width-cjs: [email protected]strip-ansi: 7.2.0strip-ansi-cjs: [email protected]wrap-ansi: 8.1.0@@ -3578,12 +3692,12 @@ snapshots:'@types/[email protected]':dependencies:- '@types/node': 25.6.2+ '@types/node': 18.13.0'@types/[email protected]':dependencies:'@types/minimatch': 6.0.0- '@types/node': 25.6.2+ '@types/node': 18.13.0'@types/[email protected]': {}@@ -3603,10 +3717,6 @@ snapshots:dependencies:undici-types: 7.16.0- '@types/[email protected]':- dependencies:- undici-types: 7.19.2-'@types/[email protected]': {}'@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected]([email protected])([email protected]))([email protected])([email protected])':@@ -4325,7 +4435,7 @@ snapshots:transitivePeerDependencies:- supports-colordependencies:'@electron-internal/extract-zip': 1.0.3'@electron/get': 4.0.3([email protected])@@ -4927,7 +5037,7 @@ snapshots:dependencies:- '@types/node': 25.6.2+ '@types/node': 18.13.0merge-stream: 2.0.0supports-color: 8.1.1@@ -5681,8 +5791,6 @@ snapshots:- [email protected]: {}-diff --git a/app/pnpm-workspace.yaml b/app/pnpm-workspace.yamlindex 9e23bbc98e..9065d098bb 100644--- a/app/pnpm-workspace.yaml+++ b/app/pnpm-workspace.yaml@@ -5,7 +5,7 @@ allowBuilds:esbuild: trueblockExoticSubdeps: falseminimumReleaseAgeExclude:+ - [email protected] || 44.3.0