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 Electron https://github.com/siyuan-note/siyuan/issues/9199
Daniel7e1ba0a05a88
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.mdindex 33d77e338c..13922e245c 100644--- a/.github/CONTRIBUTING.md+++ b/.github/CONTRIBUTING.md@@ -14,10 +14,10 @@ Install pnpm: `npm install -g pnpm`Set the Electron mirror environment variable and install Electron:-* macOS/Linux: `ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install [email protected] -D`+* macOS/Linux: `ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install [email protected] -D`* Windows:* `SET ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/`- * `pnpm install [email protected] -D`+ * `pnpm install [email protected] -D`NPM mirror:@@ -28,7 +28,7 @@ NPM mirror:On the desktop, go to the app folder to run:-* `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 8df22a4faf..2a4419cf46 100644--- a/.github/CONTRIBUTING_zh_CN.md+++ b/.github/CONTRIBUTING_zh_CN.md@@ -16,11 +16,11 @@* macOS/Linux:```- ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install [email protected] -D+ ELECTRON_MIRROR=https://cnpmjs.org/mirrors/electron/ pnpm install [email protected] -D```* Windows:* `SET ELECTRON_MIRROR=https://cnpmjs.org/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 dev`* `pnpm run start`diff --git a/app/package.json b/app/package.jsonindex 65980f2e0b..00745419dc 100644--- a/app/package.json+++ b/app/package.json@@ -53,7 +53,7 @@"clean-webpack-plugin": "^4.0.0","css-loader": "^6.7.1","dayjs": "^1.11.5",- "electron": "25.7.0",+ "electron": "25.8.1","electron-builder": "^24.6.3","encoding": "^0.1.13","esbuild-loader": "^3.0.1",diff --git a/app/pnpm-lock.yaml b/app/pnpm-lock.yamlindex 4e7a9ea0d2..c876f52ee6 100644--- a/app/pnpm-lock.yaml+++ b/app/pnpm-lock.yaml@@ -7,7 +7,7 @@ settings:dependencies:'@electron/remote':specifier: ^2.0.9- version: 2.0.9([email protected])+ version: 2.0.9([email protected])devDependencies:'@types/node':@@ -32,8 +32,8 @@ devDependencies:specifier: ^1.11.5version: 1.11.5electron:- specifier: 25.7.0- version: 25.7.0+ specifier: 25.8.1+ version: 25.8.1electron-builder:specifier: ^24.6.3version: 24.6.3@@ -160,12 +160,12 @@ packages:- supports-colordev: true- /@electron/[email protected]([email protected]):+ /@electron/[email protected]([email protected]):resolution: {integrity: sha512-LR0W0ID6WAKHaSs0x5LX9aiG+5pFBNAJL6eQAJfGkCuZPUa6nZz+czZLdlTDETG45CgF/0raSvCtYOYUpr6c+A==}peerDependencies:electron: '>= 13.0.0'dependencies:- electron: 25.7.0+ electron: 25.8.1dev: false/@electron/[email protected]:@@ -701,7 +701,7 @@ packages:debug: 4.3.4globby: 11.1.0is-glob: 4.0.3- semver: 7.3.8+ semver: 7.5.4tsutils: 3.21.0([email protected])typescript: 4.7.4transitivePeerDependencies:@@ -1014,7 +1014,7 @@ packages:minimatch: 5.1.6read-config-file: 6.3.2sanitize-filename: 1.6.3- semver: 7.3.8+ semver: 7.5.4tar: 6.1.13temp-file: 3.4.0transitivePeerDependencies:@@ -1112,6 +1112,7 @@ packages:resolution: {integrity: sha512-d0II/GO9uf9lfUHH2BQsjxzRJZBdsjgsBiW4BvhWk/3qoKwQFjIDVN19PfX8F2D/r9PCMTtLWjYVCFrpeYUzsw==}+ requiresBuild: trueoptional: true@@ -1486,6 +1487,7 @@ packages:resolution: {integrity: sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==}engines: {node: '>= 0.4'}+ requiresBuild: truedependencies:has-property-descriptors: 1.0.0object-keys: 1.1.1@@ -1511,6 +1513,7 @@ packages:resolution: {integrity: sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==}+ requiresBuild: trueoptional: true@@ -1666,8 +1669,8 @@ packages:resolution: {integrity: sha512-YoVeFrGd/7ROjz4R9uPoND1K/hSRC/xADy9639ZmIZeJSaBnKdYx3I6LMPsY7CXLpK7JFgKQVzeZ/dk2br6Eaw==}dev: true- resolution: {integrity: sha512-P82EzYZ8k9J21x5syhXV7EkezDmEXwycReXnagfzS0kwepnrlWzq1aDIUWdNvzTdHobky4m/nYcL98qd73mEVA==}+ resolution: {integrity: sha512-GtcP1nMrROZfFg0+mhyj1hamrHvukfF6of2B/pcWxmWkd5FVY1NJib0tlhiorFZRzQN5Z+APLPr7aMolt7i2AQ==}engines: {node: '>= 12.20.55'}hasBin: truerequiresBuild: true@@ -1727,6 +1730,7 @@ packages:resolution: {integrity: sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==}+ requiresBuild: trueoptional: true@@ -2069,6 +2073,7 @@ packages:resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==}+ requiresBuild: trueresolution: {integrity: sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==}@@ -2081,6 +2086,7 @@ packages:resolution: {integrity: sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==}+ requiresBuild: truedependencies:function-bind: 1.1.1has: 1.0.3@@ -2135,7 +2141,7 @@ packages:es6-error: 4.1.1matcher: 3.0.0roarr: 2.15.4- semver: 7.3.8+ semver: 7.5.4serialize-error: 7.0.1optional: true@@ -2149,6 +2155,7 @@ packages:resolution: {integrity: sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==}engines: {node: '>= 0.4'}+ requiresBuild: truedependencies:define-properties: 1.1.4optional: true@@ -2209,6 +2216,7 @@ packages:resolution: {integrity: sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==}+ requiresBuild: truedependencies:get-intrinsic: 1.1.2optional: true@@ -2216,6 +2224,7 @@ packages:resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==}engines: {node: '>= 0.4'}+ requiresBuild: trueoptional: true@@ -2551,6 +2560,7 @@ packages:resolution: {integrity: sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==}+ requiresBuild: trueoptional: true@@ -2663,6 +2673,7 @@ packages:resolution: {integrity: sha512-OkeDaAZ/bQCxeFAozM55PKcKU0yJMPGifLwV4Qgjitu+5MoAfSQN4lsLJeXZ1b8w0x+/Emda6MZgXS1jvsapng==}engines: {node: '>=10'}+ requiresBuild: truedependencies:escape-string-regexp: 4.0.0optional: true@@ -2825,6 +2836,7 @@ packages:resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==}engines: {node: '>= 0.4'}+ requiresBuild: trueoptional: true@@ -3198,6 +3210,7 @@ packages:resolution: {integrity: sha512-CHhPh+UNHD2GTXNYhPWLnU8ONHdI+5DI+4EYIAOaiD63rHeYlZvyh8P+in5999TTSFgUYuKUAjzRI4mdh/p+2A==}engines: {node: '>=8.0'}+ requiresBuild: truedependencies:boolean: 3.2.0detect-node: 2.1.0@@ -3287,6 +3300,7 @@ packages:resolution: {integrity: sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==}+ requiresBuild: trueoptional: true@@ -3299,6 +3313,7 @@ packages:hasBin: truedependencies:lru-cache: 6.0.0+ dev: trueresolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==}@@ -3306,11 +3321,11 @@ packages:hasBin: truedependencies:lru-cache: 6.0.0- dev: trueresolution: {integrity: sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw==}engines: {node: '>=10'}+ requiresBuild: truedependencies:type-fest: 0.13.1optional: true@@ -3402,6 +3417,7 @@ packages:resolution: {integrity: sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==}+ requiresBuild: trueoptional: true@@ -3590,6 +3606,7 @@ packages:resolution: {integrity: sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==}engines: {node: '>=10'}+ requiresBuild: trueoptional: true