@qilin-agent/desktop 3.1.6 → 3.1.7

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
@@ -18,8 +18,8 @@
18
18
  en: 5ec800129a3b52e1
19
19
  zh: f168527405890d73
20
20
  /qilin-desktop-desktop/terminal-command:
21
- en: 79dba206fff8643d
22
- zh: 9abe8f7c756e86fd
21
+ en: 24390aa079a4a210
22
+ zh: 13779319413d18e1
23
23
  /qilin-desktop-desktop/closing-the-window-and-quitting:
24
24
  en: 892e4df9961ec303
25
25
  zh: 2298945feab91889
@@ -30,8 +30,8 @@
30
30
  en: 0b1c191c446edcca
31
31
  zh: defe570f79ec7573
32
32
  /qilin-desktop-desktop/bundled-command-runtime:
33
- en: 61d28fcca0e1b76d
34
- zh: b6cece346c47a742
33
+ en: 384b17393ef82824
34
+ zh: b1291a7ecb2f73d1
35
35
  /qilin-desktop-desktop/installation-ownership:
36
36
  en: ca8d961f3abb1f91
37
37
  zh: 9d81e04a276b9961
@@ -48,14 +48,14 @@
48
48
  en: 9f6ce48b48bf6075
49
49
  zh: 1828761b747881aa
50
50
  /qilin-desktop-desktop/develop/welcome-window-appearance:
51
- en: eca626dd5f8c58da
52
- zh: 3ec1f6dd62a6018a
51
+ en: 707bec623821357a
52
+ zh: f51d61df82c5837b
53
53
  /qilin-desktop-desktop/package:
54
54
  en: d5e0c43a6c15954c
55
55
  zh: 7c13c139bd787f65
56
56
  /qilin-desktop-desktop/windows-installer-interface:
57
- en: 14a85bd6c19706eb
58
- zh: c86393233e80f2c9
57
+ en: c2a2b619256fa7c4
58
+ zh: 8740261e82e66d78
59
59
  /qilin-desktop-desktop/updates:
60
60
  en: 3a9cf6edb7ea4c89
61
61
  zh: eb56c630cd22e36c
package/README.md CHANGED
@@ -58,7 +58,7 @@ Press F12 (Fn+F12 on media-key keyboards), Command+Option+I on macOS, or Ctrl+Sh
58
58
 
59
59
  The application menu's **Manage qilin Command…** entry, immediately below **Check for Updates…**, shows the current command and offers Install, Repair, and Remove. The command uses Desktop's installed runtime and the ordinary [qilin CLI](../cli/README.md), including when the Desktop application is closed. Open a new terminal after installation and run `qilin --version`.
60
60
 
61
- On macOS, installation creates `/usr/local/bin/dsh` and requests administrator authentication when the directory requires it. Shell startup files are unchanged. On Windows, the management dialog registers the command in the current user's PATH. A pre-existing command requires confirmation before switching; repairing Desktop's own selected command does not repeat that confirmation. The macOS link preserves and restores the displaced launcher; Windows preserves other PATH entries, including entries that predate registration. A command with higher PATH precedence is reported with its location. After moving the application, use Repair on macOS or Install from the new location on Windows. Remove leaves unrelated installations intact.
61
+ On macOS, installation creates `/usr/local/bin/qilin` and requests administrator authentication when the directory requires it. Shell startup files are unchanged. On Windows, the management dialog registers the command in the current user's PATH. A pre-existing command requires confirmation before switching; repairing Desktop's own selected command does not repeat that confirmation. The macOS link preserves and restores the displaced launcher; Windows preserves other PATH entries, including entries that predate registration. A command with higher PATH precedence is reported with its location. After moving the application, use Repair on macOS or Install from the new location on Windows. Remove leaves unrelated installations intact.
62
62
 
63
63
  Command registration is optional after installing Desktop. Use **Manage qilin Command… → Remove** before uninstalling Desktop to remove its CLI registration; the application uninstaller does not remove it. Finish CLI commands before updating or uninstalling Desktop. The CLI runtime version follows the installed Desktop release. See [bundled command runtime](#bundled-command-runtime) for Desktop plugin commands and runtime limitations.
64
64
 
@@ -128,7 +128,7 @@ Welcome loads the shared Toast palette and shadow tokens, with system typography
128
128
 
129
129
  ## Bundled command runtime
130
130
 
131
- The installed `resources/runtime/cli/bin/dsh` shell script (`dsh.cmd` on Windows) runs the ordinary CLI dispatcher using Desktop's Electron executable and bundled pnpm. It works while Desktop is closed and retains the Electron runtime limitations. Ordinary profile, configuration, and plugin commands use the same implementation as npm qilin; the command does not open Desktop.
131
+ The installed `resources/runtime/cli/bin/qilin` shell script (`qilin.cmd` on Windows) runs the ordinary CLI dispatcher using Desktop's Electron executable and bundled pnpm. It works while Desktop is closed and retains the Electron runtime limitations. Ordinary profile, configuration, and plugin commands use the same implementation as npm qilin; the command does not open Desktop.
132
132
 
133
133
  To manage Desktop's plugins, launch Desktop once to initialize its profile, fully quit the application, then run `qilin plugin --profile desktop add <package>`, `list`, or `remove <package>`. Reopen Desktop to use the changes. Package operations retain the shared profile write lock and compatibility checks. The installed command refuses an uninitialized Desktop profile instead of creating an ordinary CLI profile in its place.
134
134
 
@@ -222,7 +222,7 @@ The browser-login waiting page offers a copy-link action for the current pending
222
222
 
223
223
  ### Welcome window appearance
224
224
 
225
- The welcome window follows system appearance with the design’s Platform light/dark colors and shows the 600 × 700 entry layout and the API-key form, with native window controls, a draggable title area, a local brand SVG, system sans-serif fallbacks, and locally bundled Montserrat Light for non-button text. The window uses macOS menu vibrancy or Windows acrylic with the onboarding window tint: 40% white in light mode and 50% rgb(24 25 28) in dark mode. The local React welcome entry bundles React and the shared `StateDot` loading indicator with its CSS; it uses the isolated preload without loading the main Web application. The entry, sign-in status and API-key pages share a fixed bottom action row; the back-to-sign-in link sits below it. Buttons share the platform motion timings, and Reduce Motion disables their transitions. The OS owns blur strength and outer corners. macOS Reduce Transparency suppresses translucency, and Increase Contrast forces that setting on. Save and continue writes to the development credential store; Set up later opens the real workspace without saving a key or completion flag. The generated project links the declared workspace dependency closure as well as pnpm’s hoisted packages, so unhoisted configured plugins remain resolvable. [The window note](../../.agents/notes/implemented/architecture/2026-09-25-desktop-and-account-alignment-boundaries.md) owns the material and onboarding decisions.
225
+ The welcome window follows system appearance with the product color pack's light and dark palettes, generated into `renderer/welcome-palette.generated.css` from the same pack the Web surface uses, and shows the 600 × 700 entry layout and the API-key form, with native window controls, a draggable title area, a local brand SVG, system sans-serif fallbacks, and locally bundled Montserrat Light for non-button text. The window uses macOS menu vibrancy or Windows acrylic with the onboarding window tint: 40% white in light mode and 50% rgb(24 25 28) in dark mode. The local React welcome entry bundles React and the shared `StateDot` loading indicator with its CSS; it uses the isolated preload without loading the main Web application. The entry, sign-in status and API-key pages share a fixed bottom action row; the back-to-sign-in link sits below it. Buttons share the platform motion timings, and Reduce Motion disables their transitions. The OS owns blur strength and outer corners. macOS Reduce Transparency suppresses translucency, and Increase Contrast forces that setting on. Save and continue writes to the development credential store; Set up later opens the real workspace without saving a key or completion flag. The generated project links the declared workspace dependency closure as well as pnpm’s hoisted packages, so unhoisted configured plugins remain resolvable. [The window note](../../.agents/notes/implemented/architecture/2026-09-25-desktop-and-account-alignment-boundaries.md) owns the material and onboarding decisions.
226
226
 
227
227
  <a id="package"></a>
228
228
 
@@ -249,9 +249,9 @@ Use the dedicated guides for build and release operations. Shared Windows runner
249
249
 
250
250
  ## Windows installer interface
251
251
 
252
- The Windows installer uses native NSIS pages with light and dark palettes, system shadows, an editable installation directory, and a finish page whose launch checkbox is selected by default. Installation is restricted to the current user. Clicking Install or pressing Enter validates the current path; drive roots remain invalid after normalization, including repeated trailing separators. New destinations must be empty, and nonempty destinations must be registered installations. Running executables at the affected installation path produce a native prompt and remain running; same-named applications in other directories do not block installation. Silent updates wait up to ten seconds for the affected application to exit, then stop with exit code 2 if it is still running.
252
+ The Windows installer uses native NSIS pages with light and dark palettes generated from the same product color pack (`installer/theme.generated.nsh`), system shadows, an editable installation directory, and a finish page whose launch checkbox is selected by default. Installation is restricted to the current user. Clicking Install or pressing Enter validates the current path; drive roots remain invalid after normalization, including repeated trailing separators. New destinations must be empty, and nonempty destinations must be registered installations. Running executables at the affected installation path produce a native prompt and remain running; same-named applications in other directories do not block installation. Silent updates wait up to ten seconds for the affected application to exit, then stop with exit code 2 if it is still running.
253
253
 
254
- The theme follows Windows at startup; `/THEME=light`, `/THEME=dark`, and `/THEME=auto` select a palette explicitly. The window appears after its branded controls are ready. When the welcome page first appears, the installer moves above ordinary windows once and flashes its taskbar button if another window has focus; it does not remain always on top. Progress reads the pinned 7-Zip extractor’s percentage; directory promotion, registration, and cleanup retain bounded estimates. The weighted percentage does not predict remaining time. After NSIS reports success, the bar fills over 600 ms and displays 100% briefly before the finish page appears; the transition targets 750 ms. The finish page preserves the window position. Finish dismisses the installer before launching the installed executable; a launch failure restores the page for retry. Directory replacement and failure recovery follow the [installation checks](packaging/README.md#runtime-file-selection). First-launch profile preparation remains a separate Desktop operation.
254
+ The theme follows Windows at startup; `/THEME=light`, `/THEME=dark`, and `/THEME=auto` select a palette explicitly. `pnpm run gen-desktop-theme` writes both shell palettes from the pack, and `pnpm run verify-desktop-theme` rejects stale artifacts in the static gates. The window appears after its branded controls are ready. When the welcome page first appears, the installer moves above ordinary windows once and flashes its taskbar button if another window has focus; it does not remain always on top. Progress reads the pinned 7-Zip extractor’s percentage; directory promotion, registration, and cleanup retain bounded estimates. The weighted percentage does not predict remaining time. After NSIS reports success, the bar fills over 600 ms and displays 100% briefly before the finish page appears; the transition targets 750 ms. The finish page preserves the window position. Finish dismisses the installer before launching the installed executable; a launch failure restores the page for retry. Directory replacement and failure recovery follow the [installation checks](packaging/README.md#runtime-file-selection). First-launch profile preparation remains a separate Desktop operation.
255
255
 
256
256
  Windows packaging compiles an x86 Win32/GDI+ helper with Visual C++ Build Tools and a Windows SDK; signed builds sign this helper through the configured Windows signer. The preparation hook leaves production dependency collection to electron-builder on every platform.
257
257
 
package/README.zh.md CHANGED
@@ -58,7 +58,7 @@ Desktop Host 的 Platform API 请求与更新策略请求用相同的 Platform
58
58
 
59
59
  应用菜单中的**管理 qilin 命令…**位于**检查更新…**下方,显示当前命令,并提供安装、修复和移除操作。命令复用 Desktop 已安装的运行时和普通 [qilin CLI](../cli/README.zh.md),Desktop 应用关闭后也可以使用。安装后打开新终端,运行 `qilin --version`。
60
60
 
61
- macOS 安装会创建 `/usr/local/bin/dsh`;目录权限需要时,系统会请求管理员认证,不会修改 shell 启动文件。Windows 管理对话框将命令注册到当前用户的 PATH。切换已有命令前会要求确认;修复当前已选中的 Desktop 命令不会重复要求切换确认。macOS 链接会保留并恢复被替换的启动器;Windows 会保留其他 PATH 条目,包括注册前就已存在的条目。若其他命令的 PATH 优先级更高,对话框会显示其位置。移动应用后,macOS 使用“修复”,Windows 从新位置使用“安装”。“移除”不会改动无关安装。
61
+ macOS 安装会创建 `/usr/local/bin/qilin`;目录权限需要时,系统会请求管理员认证,不会修改 shell 启动文件。Windows 管理对话框将命令注册到当前用户的 PATH。切换已有命令前会要求确认;修复当前已选中的 Desktop 命令不会重复要求切换确认。macOS 链接会保留并恢复被替换的启动器;Windows 会保留其他 PATH 条目,包括注册前就已存在的条目。若其他命令的 PATH 优先级更高,对话框会显示其位置。移动应用后,macOS 使用“修复”,Windows 从新位置使用“安装”。“移除”不会改动无关安装。
62
62
 
63
63
  命令注册是安装 Desktop 后的可选操作。卸载 Desktop 前,请通过**管理 qilin 命令… → 移除**删除其 CLI 注册;应用卸载程序不会移除该注册。更新或卸载 Desktop 前请结束 CLI 命令。CLI 运行时版本随已安装的 Desktop 版本变化。Desktop 插件命令与运行时限制见[内置命令运行时](#bundled-command-runtime)。
64
64
 
@@ -128,7 +128,7 @@ Welcome 加载共享 Toast 的配色和阴影变量,挂载在 body 下的通
128
128
 
129
129
  ## 内置命令运行时
130
130
 
131
- 安装后的 `resources/runtime/cli/bin/dsh` shell 脚本(Windows 为 `dsh.cmd`)使用 Desktop 的 Electron 可执行文件和内置 pnpm 运行普通 CLI 分派入口。Desktop 关闭时也可使用,并保留 Electron 运行时限制。普通 profile、配置和插件命令与 npm qilin 使用相同实现;该命令不会打开 Desktop。
131
+ 安装后的 `resources/runtime/cli/bin/qilin` shell 脚本(Windows 为 `qilin.cmd`)使用 Desktop 的 Electron 可执行文件和内置 pnpm 运行普通 CLI 分派入口。Desktop 关闭时也可使用,并保留 Electron 运行时限制。普通 profile、配置和插件命令与 npm qilin 使用相同实现;该命令不会打开 Desktop。
132
132
 
133
133
  管理 Desktop 插件前,先启动一次 Desktop 以初始化其 profile,完全退出应用,再运行 `qilin plugin --profile desktop add <package>`、`list` 或 `remove <package>`。重新打开 Desktop 后使用更改。包操作保留共享的 profile 写锁和兼容性检查。内置命令拒绝未初始化的 Desktop profile,不会在其位置创建普通 CLI profile。
134
134
 
@@ -222,7 +222,7 @@ Desktop 在 Host 启动后、打开工作区前检查模型 API Key 引用是否
222
222
 
223
223
  ### 欢迎窗口外观
224
224
 
225
- 欢迎窗口使用设计稿的 Platform light/dark 颜色跟随系统外观,展示 600 × 700 的入口布局和 API Key 表单,包含原生窗口控件、可拖动标题区域、本地品牌 SVG、系统无衬线字体回退,以及非按钮文字使用的本地 Montserrat Light 字体。窗口使用 macOS menu vibrancy 或 Windows acrylic,叠加 onboarding 的窗口背景色:浅色模式为 40% 白色,深色模式为 50% rgb(24 25 28)。本地 React 欢迎入口将 React、公共 `StateDot` 加载指示器及其 CSS 一起打包;它通过隔离 preload 工作,不加载主 Web 应用。入口、登录状态和 API Key 页面共用固定的底部操作行;“返回登录”链接位于操作行下方。按钮共用平台的过渡时序,开启“减少动态效果”会禁用过渡。操作系统控制模糊强度和外部圆角。macOS 的“降低透明度”会抑制半透明效果,“增强对比度”会强制开启该设置。“保存并继续”写入开发环境的凭证存储;“稍后配置”打开真实工作区,不保存密钥或完成标记。生成的开发项目同时链接已声明的 workspace 依赖闭包和 pnpm 提升的包,因此未提升的配置插件仍能解析。[窗口记录](../../.agents/notes/implemented/architecture/2026-09-25-desktop-and-account-alignment-boundaries.zh.md)负责材质与引导决策。
225
+ 欢迎窗口跟随系统外观,使用产品配色包的明暗两套调色——与 Web 表面同一份配色,由生成器写入 `renderer/welcome-palette.generated.css`——展示 600 × 700 的入口布局和 API Key 表单,包含原生窗口控件、可拖动标题区域、本地品牌 SVG、系统无衬线字体回退,以及非按钮文字使用的本地 Montserrat Light 字体。窗口使用 macOS menu vibrancy 或 Windows acrylic,叠加 onboarding 的窗口背景色:浅色模式为 40% 白色,深色模式为 50% rgb(24 25 28)。本地 React 欢迎入口将 React、公共 `StateDot` 加载指示器及其 CSS 一起打包;它通过隔离 preload 工作,不加载主 Web 应用。入口、登录状态和 API Key 页面共用固定的底部操作行;“返回登录”链接位于操作行下方。按钮共用平台的过渡时序,开启“减少动态效果”会禁用过渡。操作系统控制模糊强度和外部圆角。macOS 的“降低透明度”会抑制半透明效果,“增强对比度”会强制开启该设置。“保存并继续”写入开发环境的凭证存储;“稍后配置”打开真实工作区,不保存密钥或完成标记。生成的开发项目同时链接已声明的 workspace 依赖闭包和 pnpm 提升的包,因此未提升的配置插件仍能解析。[窗口记录](../../.agents/notes/implemented/architecture/2026-09-25-desktop-and-account-alignment-boundaries.zh.md)负责材质与引导决策。
226
226
 
227
227
  <a id="package"></a>
228
228
 
@@ -249,9 +249,9 @@ Desktop 在 Host 启动后、打开工作区前检查模型 API Key 引用是否
249
249
 
250
250
  ## Windows 安装界面
251
251
 
252
- Windows 安装程序使用原生 NSIS 页面,提供亮暗配色、系统阴影、可编辑的安装目录,以及默认勾选立即启动的完成页。安装仅面向当前用户。点击安装或按 Enter 均校验当前路径;路径规范化后仍拒绝磁盘根目录,包括带重复末尾分隔符的写法。新安装位置必须为空,非空位置必须是已登记的安装目录。受影响安装路径中的程序运行时显示系统提示,并保持应用运行;其他目录中的同名应用不阻止安装。静默更新最多等待受影响应用退出十秒,若仍在运行则以退出码 2 结束。
252
+ Windows 安装程序使用原生 NSIS 页面,亮暗配色由同一份产品配色生成(`installer/theme.generated.nsh`),并提供系统阴影、可编辑的安装目录,以及默认勾选立即启动的完成页。安装仅面向当前用户。点击安装或按 Enter 均校验当前路径;路径规范化后仍拒绝磁盘根目录,包括带重复末尾分隔符的写法。新安装位置必须为空,非空位置必须是已登记的安装目录。受影响安装路径中的程序运行时显示系统提示,并保持应用运行;其他目录中的同名应用不阻止安装。静默更新最多等待受影响应用退出十秒,若仍在运行则以退出码 2 结束。
253
253
 
254
- 主题在启动时跟随 Windows;可用 `/THEME=light`、`/THEME=dark` 和 `/THEME=auto` 显式选择配色。窗口在品牌控件准备完成后显示。欢迎页首次出现时,安装窗口会一次性移到普通窗口前方;若焦点在其他窗口,任务栏按钮会闪烁提示,但安装窗口不会始终置顶。进度读取锁定版本的 7-Zip 解压器百分比;目录替换、注册和清理仍使用有界估算。加权百分比不代表剩余时间。NSIS 报告成功后,进度条用 600 毫秒补满并短暂显示 100%,再显示完成页;切换目标时长为 750 毫秒。完成页保留窗口位置。点击完成后,安装程序先隐藏窗口,再启动已安装的可执行文件;启动失败会恢复页面以供重试。目录替换和失败恢复遵循[安装检查](packaging/README.zh.md#runtime-file-selection)。首次启动的配置档案准备仍属于独立的 Desktop 操作。
254
+ 主题在启动时跟随 Windows;可用 `/THEME=light`、`/THEME=dark` 和 `/THEME=auto` 显式选择配色。`pnpm run gen-desktop-theme` 从配色包生成两个壳面调色,`pnpm run verify-desktop-theme` 在静态门禁中拒绝过期产物。窗口在品牌控件准备完成后显示。欢迎页首次出现时,安装窗口会一次性移到普通窗口前方;若焦点在其他窗口,任务栏按钮会闪烁提示,但安装窗口不会始终置顶。进度读取锁定版本的 7-Zip 解压器百分比;目录替换、注册和清理仍使用有界估算。加权百分比不代表剩余时间。NSIS 报告成功后,进度条用 600 毫秒补满并短暂显示 100%,再显示完成页;切换目标时长为 750 毫秒。完成页保留窗口位置。点击完成后,安装程序先隐藏窗口,再启动已安装的可执行文件;启动失败会恢复页面以供重试。目录替换和失败恢复遵循[安装检查](packaging/README.zh.md#runtime-file-selection)。首次启动的配置档案准备仍属于独立的 Desktop 操作。
255
255
 
256
256
  Windows 打包使用 Visual C++ Build Tools 和 Windows SDK 编译 x86 Win32/GDI+ 辅助库;签名构建通过已配置的 Windows 签名器对该库签名。准备钩子在所有平台上均由 electron-builder 继续负责收集生产依赖。
257
257
 
@@ -302,7 +302,7 @@ async function readReceipt(options) {
302
302
  if (record.backup !== void 0) {
303
303
  if (typeof record.backup !== "object" || record.backup === null) throw new CommandInstallationError("EOWNERSHIP", "Invalid command backup record.");
304
304
  const candidate = record.backup;
305
- if (typeof candidate.name !== "string" || !/^\.dsh-command-backup-[a-f0-9-]{36}$/u.test(candidate.name) || typeof candidate.fingerprint !== "string" || !/^[a-f0-9]{64}$/u.test(candidate.fingerprint)) throw new CommandInstallationError("EOWNERSHIP", "Invalid command backup record.");
305
+ if (typeof candidate.name !== "string" || !/^\.qilin-command-backup-[a-f0-9-]{36}$/u.test(candidate.name) || typeof candidate.fingerprint !== "string" || !/^[a-f0-9]{64}$/u.test(candidate.fingerprint)) throw new CommandInstallationError("EOWNERSHIP", "Invalid command backup record.");
306
306
  backup = {
307
307
  name: candidate.name,
308
308
  fingerprint: candidate.fingerprint
@@ -383,7 +383,7 @@ async function linkEntry(options, source, destination) {
383
383
  async function withdraw(options, destination, expected) {
384
384
  if (expected.kind === "missing") return void 0;
385
385
  if (expected.kind === "unsupported") throw new CommandInstallationError("EUNSUPPORTED", "The command path is not a file or symbolic link.");
386
- const path = join(dirname(destination), ".dsh-command-backup-" + randomUUID());
386
+ const path = join(dirname(destination), ".qilin-command-backup-" + randomUUID());
387
387
  await rename(destination, path);
388
388
  if ((await readEntry(path)).fingerprint !== expected.fingerprint) {
389
389
  try {
@@ -408,7 +408,7 @@ async function installFileCommand(options, expected) {
408
408
  if (state.fingerprint !== expected) throw new CommandInstallationError("ESTALE", "The command changed after confirmation.");
409
409
  if (!await available(options.launcher)) throw new CommandInstallationError("ENOENT", "The installed launcher is unavailable.");
410
410
  const moved = await withdraw(options, options.destination, entry);
411
- const pending = join(dirname(options.destination), ".dsh-command-new-" + randomUUID());
411
+ const pending = join(dirname(options.destination), ".qilin-command-new-" + randomUUID());
412
412
  let created;
413
413
  try {
414
414
  await symlink(options.launcher, pending);
@@ -504,7 +504,7 @@ try {
504
504
  if (operation !== "inspect" && !/^[a-f0-9]{64}$/u.test(fingerprint)) throw new CommandInstallationError("EINVAL", "Missing command confirmation.");
505
505
  if (process.platform === "darwin") {
506
506
  const options = {
507
- destination: "/usr/local/bin/dsh",
507
+ destination: "/usr/local/bin/qilin",
508
508
  launcher: join(resources, "runtime", "cli", "bin", "qilin"),
509
509
  linkHelper: join(resources, "runtime", "cli", "link-entry")
510
510
  };
package/lib/main.js CHANGED
@@ -4028,7 +4028,7 @@ function parseRemoteStreamServerMessage(raw) {
4028
4028
  * @throws Error when the build carries no client version, instead of reporting a guessed one.
4029
4029
  */
4030
4030
  function desktopClientVersion() {
4031
- return "3.1.6";
4031
+ return "3.1.7";
4032
4032
  }
4033
4033
  /**
4034
4034
  * Sample the Desktop client identity for one Platform request.
@@ -4719,7 +4719,7 @@ const en = {
4719
4719
  welcomePasswordHide: "Hide password",
4720
4720
  welcomeApiKey: "Add API Key",
4721
4721
  welcomeKeyTitle: "Add an API key to get started",
4722
- welcomeKeyDescription: "Configure official DeepSeek models to start using Harness",
4722
+ welcomeKeyDescription: "Configure official DeepSeek models to start using QiLin",
4723
4723
  welcomeKeyPlaceholder: "Enter API key",
4724
4724
  welcomeKeySave: "Save and continue",
4725
4725
  welcomeKeyLater: "Set up later",
@@ -5351,7 +5351,7 @@ function object(value) {
5351
5351
  }
5352
5352
  function parseState(value, platform) {
5353
5353
  if (!object(value) || typeof value.fingerprint !== "string" || !/^[a-f0-9]{64}$/u.test(value.fingerprint) || typeof value.managed !== "boolean" || typeof value.available !== "boolean") throw new Error("Invalid command-manager response.");
5354
- const destination = platform === "win32" && typeof value.directory === "string" ? join(value.directory, "dsh.cmd") : value.destination;
5354
+ const destination = platform === "win32" && typeof value.directory === "string" ? join(value.directory, "qilin.cmd") : value.destination;
5355
5355
  const launcher = platform === "win32" ? destination : value.launcher;
5356
5356
  if (typeof destination !== "string" || !isAbsolute(destination) || typeof launcher !== "string" || !isAbsolute(launcher)) throw new Error("Invalid command-manager locations.");
5357
5357
  for (const name of [
@@ -106,7 +106,7 @@ export declare const en: {
106
106
  readonly welcomePasswordHide: "Hide password";
107
107
  readonly welcomeApiKey: "Add API Key";
108
108
  readonly welcomeKeyTitle: "Add an API key to get started";
109
- readonly welcomeKeyDescription: "Configure official DeepSeek models to start using Harness";
109
+ readonly welcomeKeyDescription: "Configure official DeepSeek models to start using QiLin";
110
110
  readonly welcomeKeyPlaceholder: "Enter API key";
111
111
  readonly welcomeKeySave: "Save and continue";
112
112
  readonly welcomeKeyLater: "Set up later";
package/package.json CHANGED
@@ -1,7 +1,7 @@
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.6",
4
+ "version": "3.1.7",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "main": "lib/main.js",
@@ -9,8 +9,8 @@
9
9
  "electron-updater": "^6.8.9",
10
10
  "semver": "^7.8.5",
11
11
  "ws": "^8.21.3",
12
- "@qilin-agent/kylin": "~4.0.5",
13
- "@qilin-agent/api-gateway": "3.1.6"
12
+ "@qilin-agent/api-gateway": "3.1.7",
13
+ "@qilin-agent/kylin": "~4.0.5"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@electron/get": "^5.1.0",
@@ -32,16 +32,17 @@
32
32
  "sharp": "0.35.5",
33
33
  "typescript": "^6.0.3",
34
34
  "vite": "^6.4.3",
35
- "@qilin-agent/app-boot": "3.1.6",
36
- "@qilin-agent/client-product-analytics": "3.1.6",
37
- "@qilin-agent/atomic-write": "3.1.6",
38
- "@qilin-agent/client-shortcuts": "3.1.6",
39
- "@qilin-agent/client-ui-primitives": "3.1.6",
40
- "@qilin-agent/client-ui-settings-general": "3.1.6",
41
- "@qilin-agent/client-ui-sidebar-browser": "3.1.6",
42
- "@qilin-agent/client-ui-theme": "3.1.6",
35
+ "@qilin-agent/atomic-write": "3.1.7",
36
+ "@qilin-agent/app-boot": "3.1.7",
37
+ "@qilin-agent/client-shortcuts": "3.1.7",
38
+ "@qilin-agent/client-product-analytics": "3.1.7",
39
+ "@qilin-agent/client-ui-primitives": "3.1.7",
40
+ "@qilin-agent/client-ui-settings-general": "3.1.7",
41
+ "@qilin-agent/client-ui-sidebar-browser": "3.1.7",
42
+ "@qilin-agent/client-ui-theme": "3.1.7",
43
+ "@qilin-agent/client-ui-theme-brand": "3.1.7",
43
44
  "@qilin-agent/node-addon-system": "~0.1.2",
44
- "@qilin-agent/home-paths": "3.1.6"
45
+ "@qilin-agent/home-paths": "3.1.7"
45
46
  },
46
47
  "peerDependencies": {},
47
48
  "optionalDependencies": {},