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 v37.2.5 https://github.com/siyuan-note/siyuan/issues/15410
Daniel309a9995d8ee
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.mdindex d175e94cdf..4a02564967 100644--- a/.github/CONTRIBUTING.md+++ b/.github/CONTRIBUTING.md@@ -7,17 +7,17 @@## NPM dependencies-Install pnpm: `npm install -g [email protected]`+Install pnpm: `npm install -g [email protected]`<details><summary>For China mainland</summary>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:@@ -27,7 +27,7 @@ NPM mirror:Enter the app folder and execute:-* `pnpm install [email protected] -D`+* `pnpm install [email protected] -D`* `pnpm run dev`* `pnpm run start`diff --git a/.github/CONTRIBUTING_zh_CN.md b/.github/CONTRIBUTING_zh_CN.mdindex 3f2ff72f11..a8626f5bb4 100644--- a/.github/CONTRIBUTING_zh_CN.md+++ b/.github/CONTRIBUTING_zh_CN.md@@ -7,17 +7,17 @@## NPM 依赖-安装 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 镜像:@@ -27,7 +27,7 @@ NPM 镜像:进入 app 文件夹执行:-* `pnpm install [email protected] -D`+* `pnpm install [email protected] -D`* `pnpm run dev`* `pnpm run start`diff --git a/app/package.json b/app/package.jsonindex bcfd02af14..c888e4af83 100644--- a/app/package.json+++ b/app/package.json@@ -4,7 +4,7 @@"description": "Refactor your thinking","homepage": "https://b3log.org/siyuan","main": "./electron/main.js",- "packageManager": "[email protected]",+ "packageManager": "[email protected]","scripts": {"lint": "eslint . --fix --cache","dev": "webpack --mode development",@@ -58,7 +58,7 @@"clean-webpack-plugin": "^4.0.0","css-loader": "^7.1.2","dayjs": "^1.11.5",- "electron": "37.2.3",+ "electron": "37.2.5","electron-builder": "26.0.12","encoding": "^0.1.13","esbuild-loader": "^3.0.1",diff --git a/app/pnpm-lock.yaml b/app/pnpm-lock.yamlindex ce14e26dfc..dbdf05ad52 100644--- a/app/pnpm-lock.yaml+++ b/app/pnpm-lock.yaml@@ -10,7 +10,7 @@ importers:dependencies:'@electron/remote':specifier: ^2.1.3- version: 2.1.3([email protected])+ version: 2.1.3([email protected])devDependencies:'@eslint/eslintrc':specifier: ^3.3.1@@ -40,8 +40,8 @@ importers:specifier: ^1.11.5version: 1.11.13electron:- specifier: 37.2.3- version: 37.2.3+ specifier: 37.2.5+ version: 37.2.5electron-builder:specifier: 26.0.12version: 26.0.12([email protected])@@ -459,36 +459,42 @@ packages:engines: {node: '>= 10.0.0'}cpu: [arm]os: [linux]+ libc: [glibc]'@parcel/[email protected]':resolution: {integrity: sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==}engines: {node: '>= 10.0.0'}cpu: [arm]os: [linux]+ libc: [musl]'@parcel/[email protected]':resolution: {integrity: sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==}engines: {node: '>= 10.0.0'}cpu: [arm64]os: [linux]+ libc: [glibc]'@parcel/[email protected]':resolution: {integrity: sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==}engines: {node: '>= 10.0.0'}cpu: [arm64]os: [linux]+ libc: [musl]'@parcel/[email protected]':resolution: {integrity: sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==}engines: {node: '>= 10.0.0'}cpu: [x64]os: [linux]+ libc: [glibc]'@parcel/[email protected]':resolution: {integrity: sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==}engines: {node: '>= 10.0.0'}cpu: [x64]os: [linux]+ libc: [musl]'@parcel/[email protected]':resolution: {integrity: sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==}@@ -1206,8 +1212,8 @@ packages:resolution: {integrity: sha512-bO3y10YikuUwUuDUQRM4KfwNkKhnpVO7IPdbsrejwN9/AABJzzTQ4GeHwyzNSrVO+tEH3/Np255a3sVZpZDjvg==}engines: {node: '>=8.0.0'}- resolution: {integrity: sha512-JRKKn8cRDXDfkC+oWISbYs+c+L6RA776JM0NiB9bn2yV8H/LnBUlVPzKKfsXgrUIokN4YcbCw694vfAdEJwtGw==}+ resolution: {integrity: sha512-719ZqEp43rj6xDJMICm4CIXl8keFFgvVNO9Ix6OtjNjrh9HtYlP/1WiYeRohnXj06aLyGx5NCzrHbG7j3BxO9w==}engines: {node: '>= 12.20.55'}hasBin: true@@ -1594,9 +1600,6 @@ packages:resolution: {integrity: sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A==}- resolution: {integrity: sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==}-resolution: {integrity: sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==}@@ -2816,7 +2819,7 @@ snapshots:'@electron/[email protected]':dependencies:- debug: 4.4.0+ debug: 4.4.1env-paths: 2.2.1fs-extra: 8.1.0got: 11.8.6@@ -2837,7 +2840,7 @@ snapshots:make-fetch-happen: 10.2.1nopt: 6.0.0proc-log: 2.0.1- semver: 7.7.1+ semver: 7.7.2tar: 6.2.1which: 2.0.2transitivePeerDependencies:@@ -2846,7 +2849,7 @@ snapshots:'@electron/[email protected]':dependencies:- debug: 4.4.0+ debug: 4.4.1fs-extra: 9.1.0promise-retry: 2.0.1transitivePeerDependencies:@@ -2855,7 +2858,7 @@ snapshots:'@electron/[email protected]':dependencies:compare-version: 0.1.2- debug: 4.4.0+ debug: 4.4.1fs-extra: 10.1.0isbinaryfile: 4.0.10minimist: 1.2.8@@ -2868,7 +2871,7 @@ snapshots:'@electron/node-gyp': https://codeload.github.com/electron/node-gyp/tar.gz/06b29aafb7708acef8b3669835c8a7857ebc92d2'@malept/cross-spawn-promise': 2.0.0chalk: 4.1.2- debug: 4.4.0+ debug: 4.4.1detect-libc: 2.0.3fs-extra: 10.1.0got: 11.8.6@@ -2876,22 +2879,22 @@ snapshots:node-api-version: 0.2.1ora: 5.4.1read-binary-file-arch: 1.0.6- semver: 7.7.1+ semver: 7.7.2tar: 6.2.1yargs: 17.7.2transitivePeerDependencies:- bluebird- supports-color- '@electron/[email protected]([email protected])':+ '@electron/[email protected]([email protected])':dependencies:- electron: 37.2.3+ electron: 37.2.5'@electron/[email protected]':dependencies:'@electron/asar': 3.4.1'@malept/cross-spawn-promise': 2.0.0- debug: 4.4.0+ debug: 4.4.1dir-compare: 4.2.0fs-extra: 11.3.0minimatch: 9.0.5@@ -2989,7 +2992,7 @@ snapshots:'@eslint/[email protected]':dependencies:'@eslint/object-schema': 2.1.6- debug: 4.4.0+ debug: 4.4.1minimatch: 3.1.2transitivePeerDependencies:- supports-color@@ -3085,7 +3088,7 @@ snapshots:'@malept/[email protected]':dependencies:- debug: 4.4.0+ debug: 4.4.1fs-extra: 9.1.0lodash: 4.17.21tmp-promise: 3.0.3@@ -3107,7 +3110,7 @@ snapshots:'@npmcli/[email protected]':dependencies:'@gar/promisify': 1.1.3- semver: 7.7.1+ semver: 7.7.2'@npmcli/[email protected]':dependencies:@@ -3298,7 +3301,7 @@ snapshots:dependencies:'@typescript-eslint/typescript-estree': 8.30.1([email protected])'@typescript-eslint/utils': 8.30.1([email protected])([email protected])- debug: 4.4.0+ debug: 4.4.1eslint: 9.24.0ts-api-utils: 2.1.0([email protected])typescript: 4.9.5@@ -3311,11 +3314,11 @@ snapshots:dependencies:'@typescript-eslint/types': 8.30.1'@typescript-eslint/visitor-keys': 8.30.1- debug: 4.4.0+ debug: 4.4.1fast-glob: 3.3.3is-glob: 4.0.3minimatch: 9.0.5- semver: 7.7.1+ semver: 7.7.2ts-api-utils: 2.1.0([email protected])typescript: 4.9.5transitivePeerDependencies:@@ -3447,7 +3450,7 @@ snapshots:dependencies:- debug: 4.4.0+ debug: 4.4.1transitivePeerDependencies:- supports-color@@ -3558,7 +3561,7 @@ snapshots:builder-util-runtime: 9.3.1chromium-pickle-js: 0.2.0config-file-ts: 0.2.8-rc1- debug: 4.4.0+ debug: 4.4.1dmg-builder: 26.0.12([email protected])dotenv: 16.5.0dotenv-expand: 11.0.7@@ -3575,7 +3578,7 @@ snapshots:minimatch: 10.0.1plist: 3.1.0resedit: 1.7.2- semver: 7.7.1+ semver: 7.7.2tar: 6.2.1temp-file: 3.4.0tiny-async-pool: 1.3.0@@ -3655,7 +3658,7 @@ snapshots:dependencies:- debug: 4.4.0+ debug: 4.4.1sax: 1.4.1transitivePeerDependencies:- supports-color@@ -3668,7 +3671,7 @@ snapshots:builder-util-runtime: 9.3.1chalk: 4.1.2cross-spawn: 7.0.6- debug: 4.4.0+ debug: 4.4.1fs-extra: 10.1.0http-proxy-agent: 7.0.2https-proxy-agent: 7.0.6@@ -3711,7 +3714,7 @@ snapshots:dependencies:clone-response: 1.0.3get-stream: 5.2.0- http-cache-semantics: 4.1.1+ http-cache-semantics: 4.2.0keyv: 4.5.4lowercase-keys: 2.0.0normalize-url: 6.1.0@@ -4062,7 +4065,7 @@ snapshots:transitivePeerDependencies:- supports-colordependencies:'@electron/get': 2.0.3'@types/node': 22.15.3@@ -4235,7 +4238,7 @@ snapshots:dependencies:- debug: 4.4.0+ debug: 4.4.1get-stream: 5.2.0yauzl: 2.10.0optionalDependencies:@@ -4430,7 +4433,7 @@ snapshots:es6-error: 4.1.1matcher: 3.0.0roarr: 2.15.4- semver: 7.7.1+ semver: 7.7.2serialize-error: 7.0.1optional: true@@ -4544,22 +4547,20 @@ snapshots:domutils: 2.8.0entities: 2.2.0- [email protected]: {}-dependencies:'@tootallnate/once': 2.0.0agent-base: 6.0.2- debug: 4.4.0+ debug: 4.4.1transitivePeerDependencies:- supports-colordependencies:agent-base: 7.1.3- debug: 4.4.0+ debug: 4.4.1transitivePeerDependencies:- supports-color@@ -4571,14 +4572,14 @@ snapshots:dependencies:agent-base: 6.0.2- debug: 4.4.0+ debug: 4.4.1transitivePeerDependencies:- supports-colordependencies:agent-base: 7.1.3- debug: 4.4.0+ debug: 4.4.1transitivePeerDependencies:- supports-color@@ -4940,7 +4941,7 @@ snapshots:dependencies:- semver: 7.7.1+ semver: 7.7.2optional: true@@ -4950,7 +4951,7 @@ snapshots:dependencies:- semver: 7.7.1+ semver: 7.7.2@@ -5163,7 +5164,7 @@ snapshots:dependencies:- debug: 4.4.0+ debug: 4.4.1transitivePeerDependencies:- supports-color@@ -5328,7 +5329,7 @@ snapshots:dependencies:- semver: 7.7.1+ semver: 7.7.2dependencies:@@ -5348,7 +5349,7 @@ snapshots:dependencies:agent-base: 6.0.2- debug: 4.4.0+ debug: 4.4.1socks: 2.8.6transitivePeerDependencies:- supports-color@@ -5405,7 +5406,7 @@ snapshots:dependencies:- debug: 4.4.0+ debug: 4.4.1transitivePeerDependencies:- supports-color