@qilin-agent/desktop 3.1.11 → 3.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.i18n.yaml CHANGED
@@ -30,8 +30,8 @@
30
30
  en: 2b75d72e6eb8da5b
31
31
  zh: d1757564e99cdea1
32
32
  /qilin-desktop-desktop/key-technical-decisions/bundled-workspace-dependencies:
33
- en: 0b1c191c446edcca
34
- zh: defe570f79ec7573
33
+ en: 65de6a09f2fab951
34
+ zh: 028e99dfe614bd55
35
35
  /qilin-desktop-desktop/bundled-command-runtime:
36
36
  en: 384b17393ef82824
37
37
  zh: b1291a7ecb2f73d1
package/README.md CHANGED
@@ -115,7 +115,7 @@ Desktop exposes the compact `office` router and named authoring/operation subski
115
115
 
116
116
  The payload follows the Desktop release. `runtime.json` records the Desktop version, target, top-level interpreter/package-manager versions and the Python distribution map, and a digest of the selected target’s locked payload inputs and assembly format. Distribution names use PEP 503 normalization; duplicate normalized names reject the manifest. Legacy `components` manifests remain readable through normalization, with their existing library-version consistency checks. Matching installations are reused; a dependency or archive change replaces the directory after a complete staged copy even when the Desktop version stays unchanged. Older manifests without a digest are replaced on their next installation. User-added Python packages remain only while the payload identity matches. A failed directory replacement retains the previous installation; Windows may refuse replacement while an interpreter is still running.
117
117
 
118
- The private Desktop `runtime/bin` directory is added only to package-installation processes, not the Host PATH inherited by PTC and agent shells. This tool does not change PATH, environment variables or user package-manager configuration. pnpm retains its own defaults and user settings for global packages, executable entries and its store, including native errors when the environment does not support global installation. There is no separate dependency updater. [The primary-runtime decision](../../.agents/notes/implemented/architecture/2026-09-25-desktop-and-account-alignment-boundaries.md) records these choices.
118
+ The private Desktop `runtime/bin` directory is added only to package-installation processes, not the Host PATH inherited by coding and agent shells. This tool does not change PATH, environment variables or user package-manager configuration. pnpm retains its own defaults and user settings for global packages, executable entries and its store, including native errors when the environment does not support global installation. There is no separate dependency updater. [The primary-runtime decision](../../.agents/notes/implemented/architecture/2026-09-25-desktop-and-account-alignment-boundaries.md) records these choices.
119
119
 
120
120
  Node prepares the bundled interpreters and Python libraries without a system Python or pip. [The download lock](../../.agents/notes/implemented/architecture/2026-09-25-desktop-and-account-alignment-boundaries.md) pins interpreter archives, Python distribution versions and target-specific wheel URLs and hashes; the shared builder resolves pnpm from the root development dependency pin. The root package-manager version and the Desktop pin are checked for agreement. Wheel filenames and distribution versions must agree for every target. Preserve key order within the selected target, wheel records and distribution map, plus wheel-entry order; these affect payload identity, while top-level lock key order does not. Library wheels unpack into site-packages, retaining auxiliary files under each wheel's `.data/scripts` directory without generating command wrappers. Other installation schemes are rejected. macOS signs the versioned Python executable once, retaining the [two interpreter aliases](../../packages/skill/tool-workspace-dependencies/README.md) in external resources and installed copies. POSIX native-target checks require relative interpreter aliases. All native-target checks exercise command names, child execution and a pip-enabled venv, verify the locked wheel set and versions, permit the interpreter's bundled pip, and check the Python version, Office document read/write operations and dependency completeness without writing bytecode after staging cleanup and again after macOS signing. The standalone Node executable receives the JIT entitlement required by V8; the x64 target also receives `com.apple.security.cs.allow-unsigned-executable-memory` for executable code pages, including under Rosetta. ARM64 Node and Office helpers retain JIT-only permissions. Cross-target execution and signed installation require the target release host. Both `dev:desktop` and `start:desktop` prepare `.desktop-build/targets/<target>/runtime/primary-runtime` before launching Electron; first use may download locked dependencies. An unfinished preparation cannot report a successful launcher exit.
121
121
 
package/README.zh.md CHANGED
@@ -115,7 +115,7 @@ Desktop 展示精简的 `office` 路由及可具名调用的创作/操作子
115
115
 
116
116
  该产物随 Desktop 版本发布。`runtime.json` 记录 Desktop 版本、目标平台、顶层解释器和包管理器版本及 Python 分发包版本表,以及所选目标的锁定产物输入与组装格式的摘要。分发包名称按 PEP 503 归一化;名称归一化后重复时,清单会被拒绝。旧 `components` 清单通过归一化继续可读,并保留其原有库版本一致性校验。匹配的安装会被复用;依赖或压缩包变化后,即使 Desktop 版本不变,也会在完整暂存副本完成后替换目录。不含摘要的旧清单会在下次安装时被替换。用户自行添加的 Python 包仅在产物身份一致时保留。目录替换失败时保留之前的安装;解释器仍在运行时,Windows 可能拒绝替换。
117
117
 
118
- Desktop 私有的 `runtime/bin` 目录仅添加到包安装进程,不进入 PTC 和 agent shell 从 Host 继承的 PATH。该工具不修改 PATH、环境变量或用户包管理器配置。pnpm 的全局包、命令入口和 store 保留自身默认值及用户设置,包括环境不支持全局安装时的原生错误。不提供独立依赖更新器。[第一方 Runtime 决策](../../.agents/notes/implemented/architecture/2026-09-25-desktop-and-account-alignment-boundaries.zh.md)记录这些选择。
118
+ Desktop 私有的 `runtime/bin` 目录仅添加到包安装进程,不进入 coding 和 agent shell 从 Host 继承的 PATH。该工具不修改 PATH、环境变量或用户包管理器配置。pnpm 的全局包、命令入口和 store 保留自身默认值及用户设置,包括环境不支持全局安装时的原生错误。不提供独立依赖更新器。[第一方 Runtime 决策](../../.agents/notes/implemented/architecture/2026-09-25-desktop-and-account-alignment-boundaries.zh.md)记录这些选择。
119
119
 
120
120
  Node 准备内置解释器和 Python 库,无需系统 Python 或 pip。[下载锁](../../.agents/notes/implemented/architecture/2026-09-25-desktop-and-account-alignment-boundaries.zh.md)固定解释器压缩包、Python 分发包版本及目标平台 wheel 的 URL 和哈希;共享构建器从根开发依赖中解析 pnpm 固定版本。测试检查根 package-manager 版本和 Desktop 固定版本保持一致。每个目标的 wheel 文件名必须与分发包版本一致。所选目标、wheel 记录及分发包映射内部的键顺序,以及 wheel 条目顺序都会影响产物身份,编辑时须保留;锁文件顶层键的顺序不影响该身份。库 wheel 解压到 site-packages,各 wheel 的 `.data/scripts` 目录保留辅助文件,不生成命令行包装器。其他安装方案会被拒绝。macOS 只对版本化 Python 可执行文件签名一次,在外部资源及安装副本中保留[两个解释器别名](../../packages/skill/tool-workspace-dependencies/README.zh.md)。POSIX 本机目标检查要求解释器别名为相对链接。所有本机目标检查验证命令名、子进程执行及包含 pip 的 venv,并在清理暂存目录后以及 macOS 签名后验证锁定 wheel 的集合与版本,允许解释器自带的 pip,并检查 Python 版本、Office 文档读写和依赖完整性,不写入字节码。独立 Node 可执行文件获得 V8 所需的 JIT 权限;x64 目标还获得 `com.apple.security.cs.allow-unsigned-executable-memory`,允许可执行代码页,包括在 Rosetta 下运行时。ARM64 Node 和 Office 辅助程序保留仅 JIT 权限。跨目标执行和签名安装需要对应的发布主机。`dev:desktop` 和 `start:desktop` 都会在启动 Electron 前准备 `.desktop-build/targets/<target>/runtime/primary-runtime`;首次准备可能需要下载锁定的依赖。准备未完成时,启动命令不能报告成功退出。
121
121
 
package/lib/main.js CHANGED
@@ -3978,13 +3978,15 @@ const PROFILE_TEMPLATES = {
3978
3978
  web: { bundles: [
3979
3979
  "@qilin-agent/base",
3980
3980
  "@qilin-agent/web-app",
3981
- "@qilin-agent/web-brand"
3981
+ "@qilin-agent/web-brand",
3982
+ "@qilin-agent/agent-team-profile"
3982
3983
  ] },
3983
3984
  headless: { bundles: ["@qilin-agent/base", "@qilin-agent/headless"] },
3984
3985
  qilin: { bundles: [
3985
3986
  "@qilin-agent/base",
3986
3987
  "@qilin-agent/web-app",
3987
- "@qilin-agent/web-brand"
3988
+ "@qilin-agent/web-brand",
3989
+ "@qilin-agent/agent-team-profile"
3988
3990
  ] },
3989
3991
  sdk: { bundles: ["@qilin-agent/base", "@qilin-agent/sdk-app"] },
3990
3992
  "sdk-minimal": { bundles: ["@qilin-agent/sdk-minimal"] }
@@ -4569,7 +4571,7 @@ function parseRemoteStreamServerMessage(raw) {
4569
4571
  * @throws Error when the build carries no client version, instead of reporting a guessed one.
4570
4572
  */
4571
4573
  function desktopClientVersion() {
4572
- return "3.1.11";
4574
+ return "3.1.12";
4573
4575
  }
4574
4576
  /**
4575
4577
  * Sample the Desktop client identity for one Platform request.
@@ -10579,7 +10581,7 @@ function isHex(c) {
10579
10581
  return view;
10580
10582
  }
10581
10583
  /**
10582
- * View an already parsed argument payload, such as a PTC dispatch object.
10584
+ * View an already parsed argument payload, such as a coding dispatch object.
10583
10585
  * @param value - the parsed argument value.
10584
10586
  * @returns a sealed view; a non-object payload has no fields.
10585
10587
  */
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@qilin-agent/desktop",
3
3
  "description": "Electron desktop shell for a bundled qilin runtime and external plugins",
4
- "version": "3.1.11",
4
+ "version": "3.1.12",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "main": "lib/main.js",
8
8
  "dependencies": {
9
- "@qilin-agent/api-gateway": "3.1.11",
9
+ "@qilin-agent/api-gateway": "3.1.12",
10
10
  "@qilin-agent/kylin": "~4.0.7",
11
11
  "electron-updater": "^6.8.9",
12
12
  "semver": "^7.8.5",
@@ -15,19 +15,19 @@
15
15
  "devDependencies": {
16
16
  "@electron/get": "^5.1.0",
17
17
  "@electron/notarize": "2.5.0",
18
- "@qilin-agent/app-boot": "3.1.11",
19
- "@qilin-agent/atomic-write": "3.1.11",
20
- "@qilin-agent/client-product-analytics": "3.1.11",
21
- "@qilin-agent/client-shortcuts": "3.1.11",
22
- "@qilin-agent/client-ui-file-actions": "3.1.11",
23
- "@qilin-agent/client-ui-primitives": "3.1.11",
24
- "@qilin-agent/client-ui-settings-general": "3.1.11",
25
- "@qilin-agent/client-ui-sidebar-browser": "3.1.11",
26
- "@qilin-agent/client-ui-theme": "3.1.11",
27
- "@qilin-agent/client-ui-theme-brand": "3.1.11",
28
- "@qilin-agent/home-paths": "3.1.11",
18
+ "@qilin-agent/app-boot": "3.1.12",
19
+ "@qilin-agent/atomic-write": "3.1.12",
20
+ "@qilin-agent/client-product-analytics": "3.1.12",
21
+ "@qilin-agent/client-shortcuts": "3.1.12",
22
+ "@qilin-agent/client-ui-file-actions": "3.1.12",
23
+ "@qilin-agent/client-ui-primitives": "3.1.12",
24
+ "@qilin-agent/client-ui-settings-general": "3.1.12",
25
+ "@qilin-agent/client-ui-sidebar-browser": "3.1.12",
26
+ "@qilin-agent/client-ui-theme": "3.1.12",
27
+ "@qilin-agent/client-ui-theme-brand": "3.1.12",
28
+ "@qilin-agent/home-paths": "3.1.12",
29
29
  "@qilin-agent/node-addon-system": "~0.1.2",
30
- "@qilin-agent/util-file-drag": "3.1.11",
30
+ "@qilin-agent/util-file-drag": "3.1.12",
31
31
  "@types/js-yaml": "^4.0.9",
32
32
  "@types/node": "^22.20.1",
33
33
  "@types/semver": "^7.8.0",