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 v39.3.0 https://github.com/siyuan-note/siyuan/issues/16915
Daniel7da12c04cf57
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.mdindex 9490f421b4..614fd49908 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 35545641bf..1fac6fac0c 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 3b36a9e332..bc57e226c6 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",@@ -57,13 +57,13 @@"clean-webpack-plugin": "^4.0.0","css-loader": "^7.1.2","dayjs": "^1.11.5",- "electron": "39.2.7",+ "electron": "39.3.0","electron-builder": "26.0.12","encoding": "^0.1.13","esbuild-loader": "^3.0.1","eslint": "^9.15.0",- "filesize": "^11.0.13","file-loader": "^6.2.0",+ "filesize": "^11.0.13","globals": "^15.12.0","html-loader": "^2.1.2","html-webpack-plugin": "^5.5.0",diff --git a/app/pnpm-lock.yaml b/app/pnpm-lock.yamlindex 8eb0b583ba..9e77aaff1f 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.18electron:- specifier: 39.2.7- version: 39.2.7+ specifier: 39.3.0+ version: 39.3.0electron-builder:specifier: 26.0.12version: 26.0.12([email protected])@@ -1210,8 +1210,8 @@ packages:resolution: {integrity: sha512-bO3y10YikuUwUuDUQRM4KfwNkKhnpVO7IPdbsrejwN9/AABJzzTQ4GeHwyzNSrVO+tEH3/Np255a3sVZpZDjvg==}engines: {node: '>=8.0.0'}- resolution: {integrity: sha512-KU0uFS6LSTh4aOIC3miolcbizOFP7N1M46VTYVfqIgFiuA2ilfNaOHLDS9tCMvwwHRowAsvqBrh9NgMXcTOHCQ==}+ resolution: {integrity: sha512-ZA2Cmu5Vs8zeuZBr71XWZ5vgm7lRDB9N50oV6ee7YocITyxRxx/apWFKY48Sxyn0gzVlX+6YQc3CS1PtYIkGUg==}engines: {node: '>= 12.20.55'}hasBin: true@@ -1434,10 +1434,6 @@ packages:resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==}engines: {node: '>=12'}- resolution: {integrity: sha512-eXvGGwZ5CL17ZSwHWd3bbgk7UUpF6IFHtP57NYYakPvHOs8GDgDe5KJI36jIJzDkJ6eJjuzRA8eBQb6SkKue0g==}- engines: {node: '>=14.14'}-resolution: {integrity: sha512-Xr9F6z6up6Ws+NjzMCZc6WXg2YFRlrLP9NQDO3VQrWrfiojdhS56TzueT88ze0uBdCTwEIhQ3ptnmKeWGFAe0A==}engines: {node: '>=14.14'}@@ -2851,7 +2847,7 @@ snapshots:'@electron/[email protected]':dependencies:- debug: 4.4.1+ debug: 4.4.3fs-extra: 9.1.0promise-retry: 2.0.1transitivePeerDependencies:@@ -2860,7 +2856,7 @@ snapshots:'@electron/[email protected]':dependencies:compare-version: 0.1.2- debug: 4.4.1+ debug: 4.4.3fs-extra: 10.1.0isbinaryfile: 4.0.10minimist: 1.2.8@@ -2873,7 +2869,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.1+ debug: 4.4.3detect-libc: 2.0.4fs-extra: 10.1.0got: 11.8.6@@ -2888,17 +2884,17 @@ snapshots:- bluebird- supports-color- '@electron/[email protected]([email protected])':+ '@electron/[email protected]([email protected])':dependencies:- electron: 39.2.7+ electron: 39.3.0'@electron/[email protected]':dependencies:'@electron/asar': 3.2.18'@malept/cross-spawn-promise': 2.0.0- debug: 4.4.1+ debug: 4.4.3dir-compare: 4.2.0- fs-extra: 11.3.1+ fs-extra: 11.3.2minimatch: 9.0.5plist: 3.1.0transitivePeerDependencies:@@ -2994,7 +2990,7 @@ snapshots:'@eslint/[email protected]':dependencies:'@eslint/object-schema': 2.1.6- debug: 4.4.1+ debug: 4.4.3minimatch: 3.1.2transitivePeerDependencies:- supports-color@@ -3081,7 +3077,7 @@ snapshots:'@malept/[email protected]':dependencies:- debug: 4.4.1+ debug: 4.4.3fs-extra: 9.1.0lodash: 4.17.21tmp-promise: 3.0.3@@ -3291,7 +3287,7 @@ snapshots:dependencies:'@typescript-eslint/tsconfig-utils': 8.42.0([email protected])'@typescript-eslint/types': 8.42.0- debug: 4.4.1+ debug: 4.4.3typescript: 4.9.5transitivePeerDependencies:- supports-color@@ -3310,7 +3306,7 @@ snapshots:'@typescript-eslint/types': 8.42.0'@typescript-eslint/typescript-estree': 8.42.0([email protected])- debug: 4.4.1+ debug: 4.4.3eslint: 9.35.0([email protected])ts-api-utils: 2.1.0([email protected])typescript: 4.9.5@@ -3325,7 +3321,7 @@ snapshots:'@typescript-eslint/tsconfig-utils': 8.42.0([email protected])'@typescript-eslint/types': 8.42.0'@typescript-eslint/visitor-keys': 8.42.0- debug: 4.4.1+ debug: 4.4.3fast-glob: 3.3.3is-glob: 4.0.3minimatch: 9.0.5@@ -3535,7 +3531,7 @@ snapshots:builder-util-runtime: 9.3.1chromium-pickle-js: 0.2.0config-file-ts: 0.2.8-rc1- debug: 4.4.1+ debug: 4.4.3dmg-builder: 26.0.12([email protected])dotenv: 16.6.1dotenv-expand: 11.0.7@@ -3632,7 +3628,7 @@ snapshots:dependencies:- debug: 4.4.1+ debug: 4.4.3sax: 1.4.1transitivePeerDependencies:- supports-color@@ -3645,7 +3641,7 @@ snapshots:builder-util-runtime: 9.3.1chalk: 4.1.2cross-spawn: 7.0.6- debug: 4.4.1+ debug: 4.4.3fs-extra: 10.1.0http-proxy-agent: 7.0.2https-proxy-agent: 7.0.6@@ -4037,7 +4033,7 @@ snapshots:transitivePeerDependencies:- supports-colordependencies:'@electron/get': 2.0.3'@types/node': 22.18.1@@ -4307,18 +4303,11 @@ snapshots:jsonfile: 6.2.0universalify: 2.0.1- dependencies:- graceful-fs: 4.2.11- jsonfile: 6.2.0- universalify: 2.0.1-dependencies:graceful-fs: 4.2.11jsonfile: 6.2.0universalify: 2.0.1- optional: truedependencies:@@ -4544,7 +4533,7 @@ snapshots:dependencies:agent-base: 7.1.4- debug: 4.4.1+ debug: 4.4.3transitivePeerDependencies:- supports-color@@ -4563,7 +4552,7 @@ snapshots:dependencies:agent-base: 7.1.4- debug: 4.4.1+ debug: 4.4.3transitivePeerDependencies:- supports-color