@jingyi0605/codingns4dsh 0.2.1-rc.3 → 0.2.1-rc.5

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.
Files changed (220) hide show
  1. package/README.en.md +3 -3
  2. package/README.md +3 -3
  3. package/data/build/dist/client/bundle.js +1838 -223
  4. package/data/build/dist/client/bundle.js.map +1 -1
  5. package/data/build/dist/client/cli-session-config-cache.d.ts.map +1 -1
  6. package/data/build/dist/client/cli-session-config-cache.js +9 -3
  7. package/data/build/dist/client/cli-session-config-cache.js.map +1 -1
  8. package/data/build/dist/client/client.native-workspace-store.js +7 -1
  9. package/data/build/dist/client/client.native-workspace-store.js.map +1 -1
  10. package/data/build/dist/client/client.transport.js +276 -60
  11. package/data/build/dist/client/client.transport.js.map +1 -1
  12. package/data/build/dist/client/desktop-assistant.js +274 -58
  13. package/data/build/dist/client/features/cli-adapters.d.ts.map +1 -1
  14. package/data/build/dist/client/features/cli-adapters.js +13 -1
  15. package/data/build/dist/client/features/cli-adapters.js.map +1 -1
  16. package/data/build/dist/client/features/index.d.ts.map +1 -1
  17. package/data/build/dist/client/features/index.js +2 -0
  18. package/data/build/dist/client/features/index.js.map +1 -1
  19. package/data/build/dist/client/features/magpie-management-controls.d.ts.map +1 -1
  20. package/data/build/dist/client/features/magpie-management-controls.js +45 -10
  21. package/data/build/dist/client/features/magpie-management-controls.js.map +1 -1
  22. package/data/build/dist/client/features/magpie-management-page.d.ts +6 -1
  23. package/data/build/dist/client/features/magpie-management-page.d.ts.map +1 -1
  24. package/data/build/dist/client/features/magpie-management-page.js +109 -37
  25. package/data/build/dist/client/features/magpie-management-page.js.map +1 -1
  26. package/data/build/dist/client/features/magpie-management.d.ts.map +1 -1
  27. package/data/build/dist/client/features/magpie-management.js +3 -2
  28. package/data/build/dist/client/features/magpie-management.js.map +1 -1
  29. package/data/build/dist/client/features/plugin-update.d.ts +3 -0
  30. package/data/build/dist/client/features/plugin-update.d.ts.map +1 -0
  31. package/data/build/dist/client/features/plugin-update.js +8 -0
  32. package/data/build/dist/client/features/plugin-update.js.map +1 -0
  33. package/data/build/dist/client/features/types.d.ts +3 -0
  34. package/data/build/dist/client/features/types.d.ts.map +1 -1
  35. package/data/build/dist/client/locale.d.ts.map +1 -1
  36. package/data/build/dist/client/locale.js +3 -0
  37. package/data/build/dist/client/locale.js.map +1 -1
  38. package/data/build/dist/client/locales/magpie.d.ts.map +1 -1
  39. package/data/build/dist/client/locales/magpie.js +92 -12
  40. package/data/build/dist/client/locales/magpie.js.map +1 -1
  41. package/data/build/dist/client/locales/pluginUpdate.d.ts +3 -0
  42. package/data/build/dist/client/locales/pluginUpdate.d.ts.map +1 -0
  43. package/data/build/dist/client/locales/pluginUpdate.js +131 -0
  44. package/data/build/dist/client/locales/pluginUpdate.js.map +1 -0
  45. package/data/build/dist/client/locales/usage.d.ts.map +1 -1
  46. package/data/build/dist/client/locales/usage.js +2 -0
  47. package/data/build/dist/client/locales/usage.js.map +1 -1
  48. package/data/build/dist/client/magpie-context-meter.d.ts +18 -0
  49. package/data/build/dist/client/magpie-context-meter.d.ts.map +1 -0
  50. package/data/build/dist/client/magpie-context-meter.js +274 -0
  51. package/data/build/dist/client/magpie-context-meter.js.map +1 -0
  52. package/data/build/dist/client/magpie-context-store.d.ts +32 -0
  53. package/data/build/dist/client/magpie-context-store.d.ts.map +1 -0
  54. package/data/build/dist/client/magpie-context-store.js +165 -0
  55. package/data/build/dist/client/magpie-context-store.js.map +1 -0
  56. package/data/build/dist/client/settings-promo-styles.d.ts +5 -0
  57. package/data/build/dist/client/settings-promo-styles.d.ts.map +1 -1
  58. package/data/build/dist/client/settings-promo-styles.js +15 -2
  59. package/data/build/dist/client/settings-promo-styles.js.map +1 -1
  60. package/data/build/dist/client/settings-promo.d.ts +4 -2
  61. package/data/build/dist/client/settings-promo.d.ts.map +1 -1
  62. package/data/build/dist/client/settings-promo.js +4 -4
  63. package/data/build/dist/client/settings-promo.js.map +1 -1
  64. package/data/build/dist/client/settings-section.d.ts +2 -3
  65. package/data/build/dist/client/settings-section.d.ts.map +1 -1
  66. package/data/build/dist/client/settings-section.js +7 -7
  67. package/data/build/dist/client/settings-section.js.map +1 -1
  68. package/data/build/dist/client/settings-update.d.ts +8 -0
  69. package/data/build/dist/client/settings-update.d.ts.map +1 -0
  70. package/data/build/dist/client/settings-update.js +57 -0
  71. package/data/build/dist/client/settings-update.js.map +1 -0
  72. package/data/build/dist/client/subscription-slot.d.ts +3 -2
  73. package/data/build/dist/client/subscription-slot.d.ts.map +1 -1
  74. package/data/build/dist/client/subscription-slot.js +115 -43
  75. package/data/build/dist/client/subscription-slot.js.map +1 -1
  76. package/data/build/dist/client/update-panel-styles.d.ts +29 -0
  77. package/data/build/dist/client/update-panel-styles.d.ts.map +1 -0
  78. package/data/build/dist/client/update-panel-styles.js +69 -0
  79. package/data/build/dist/client/update-panel-styles.js.map +1 -0
  80. package/data/build/dist/client/update-panel.d.ts +7 -0
  81. package/data/build/dist/client/update-panel.d.ts.map +1 -0
  82. package/data/build/dist/client/update-panel.js +52 -0
  83. package/data/build/dist/client/update-panel.js.map +1 -0
  84. package/data/build/dist/client/update-store.d.ts +43 -0
  85. package/data/build/dist/client/update-store.d.ts.map +1 -0
  86. package/data/build/dist/client/update-store.js +207 -0
  87. package/data/build/dist/client/update-store.js.map +1 -0
  88. package/data/build/dist/dsh-capabilities/client/plugin-reload-adapter.d.ts +4 -0
  89. package/data/build/dist/dsh-capabilities/client/plugin-reload-adapter.d.ts.map +1 -0
  90. package/data/build/dist/dsh-capabilities/client/plugin-reload-adapter.js +6 -0
  91. package/data/build/dist/dsh-capabilities/client/plugin-reload-adapter.js.map +1 -0
  92. package/data/build/dist/dsh-capabilities/client/session-performance-adapter.d.ts +15 -1
  93. package/data/build/dist/dsh-capabilities/client/session-performance-adapter.d.ts.map +1 -1
  94. package/data/build/dist/dsh-capabilities/client/session-performance-adapter.js +53 -21
  95. package/data/build/dist/dsh-capabilities/client/session-performance-adapter.js.map +1 -1
  96. package/data/build/dist/dsh-capabilities/host/plugin-update-adapter.d.ts +22 -0
  97. package/data/build/dist/dsh-capabilities/host/plugin-update-adapter.d.ts.map +1 -0
  98. package/data/build/dist/dsh-capabilities/host/plugin-update-adapter.js +71 -0
  99. package/data/build/dist/dsh-capabilities/host/plugin-update-adapter.js.map +1 -0
  100. package/data/build/dist/dsh-capabilities/host/session-model-selection-adapter.d.ts +4 -0
  101. package/data/build/dist/dsh-capabilities/host/session-model-selection-adapter.d.ts.map +1 -1
  102. package/data/build/dist/dsh-capabilities/host/session-model-selection-adapter.js +16 -1
  103. package/data/build/dist/dsh-capabilities/host/session-model-selection-adapter.js.map +1 -1
  104. package/data/build/dist/dsh-capabilities/matrix.d.ts.map +1 -1
  105. package/data/build/dist/dsh-capabilities/matrix.js +4 -0
  106. package/data/build/dist/dsh-capabilities/matrix.js.map +1 -1
  107. package/data/build/dist/dsh-capabilities/routes.d.ts.map +1 -1
  108. package/data/build/dist/dsh-capabilities/routes.js +10 -0
  109. package/data/build/dist/dsh-capabilities/routes.js.map +1 -1
  110. package/data/build/dist/dsh-capabilities/types.d.ts +1 -1
  111. package/data/build/dist/dsh-capabilities/types.d.ts.map +1 -1
  112. package/data/build/dist/dsh-capabilities/types.js.map +1 -1
  113. package/data/build/dist/host/cli-adapters/feature.d.ts.map +1 -1
  114. package/data/build/dist/host/cli-adapters/feature.js +230 -34
  115. package/data/build/dist/host/cli-adapters/feature.js.map +1 -1
  116. package/data/build/dist/host/cli-adapters/magpie-context.d.ts +9 -0
  117. package/data/build/dist/host/cli-adapters/magpie-context.d.ts.map +1 -0
  118. package/data/build/dist/host/cli-adapters/magpie-context.js +128 -0
  119. package/data/build/dist/host/cli-adapters/magpie-context.js.map +1 -0
  120. package/data/build/dist/host/cli-adapters/magpie-detection.d.ts +3 -3
  121. package/data/build/dist/host/cli-adapters/magpie-detection.d.ts.map +1 -1
  122. package/data/build/dist/host/cli-adapters/magpie-detection.js +18 -4
  123. package/data/build/dist/host/cli-adapters/magpie-detection.js.map +1 -1
  124. package/data/build/dist/host/cli-adapters/magpie-management.d.ts.map +1 -1
  125. package/data/build/dist/host/cli-adapters/magpie-management.js +95 -20
  126. package/data/build/dist/host/cli-adapters/magpie-management.js.map +1 -1
  127. package/data/build/dist/host/cli-adapters/magpie-update.d.ts.map +1 -1
  128. package/data/build/dist/host/cli-adapters/magpie-update.js +14 -4
  129. package/data/build/dist/host/cli-adapters/magpie-update.js.map +1 -1
  130. package/data/build/dist/host/cli-adapters/magpie-usage.d.ts +17 -3
  131. package/data/build/dist/host/cli-adapters/magpie-usage.d.ts.map +1 -1
  132. package/data/build/dist/host/cli-adapters/magpie-usage.js +382 -92
  133. package/data/build/dist/host/cli-adapters/magpie-usage.js.map +1 -1
  134. package/data/build/dist/host/cli-adapters/magpie-web.d.ts +15 -0
  135. package/data/build/dist/host/cli-adapters/magpie-web.d.ts.map +1 -1
  136. package/data/build/dist/host/cli-adapters/magpie-web.js +100 -22
  137. package/data/build/dist/host/cli-adapters/magpie-web.js.map +1 -1
  138. package/data/build/dist/host/cli-adapters/process-utils.d.ts.map +1 -1
  139. package/data/build/dist/host/cli-adapters/process-utils.js +4 -0
  140. package/data/build/dist/host/cli-adapters/process-utils.js.map +1 -1
  141. package/data/build/dist/host/cli-adapters/registry.d.ts.map +1 -1
  142. package/data/build/dist/host/cli-adapters/registry.js +6 -5
  143. package/data/build/dist/host/cli-adapters/registry.js.map +1 -1
  144. package/data/build/dist/host/cli-adapters/session-performance-projection.d.ts +6 -0
  145. package/data/build/dist/host/cli-adapters/session-performance-projection.d.ts.map +1 -1
  146. package/data/build/dist/host/cli-adapters/session-performance-projection.js +25 -0
  147. package/data/build/dist/host/cli-adapters/session-performance-projection.js.map +1 -1
  148. package/data/build/dist/host/features/index.d.ts.map +1 -1
  149. package/data/build/dist/host/features/index.js +2 -0
  150. package/data/build/dist/host/features/index.js.map +1 -1
  151. package/data/build/dist/host/features/plugin-update.d.ts +6 -0
  152. package/data/build/dist/host/features/plugin-update.d.ts.map +1 -0
  153. package/data/build/dist/host/features/plugin-update.js +45 -0
  154. package/data/build/dist/host/features/plugin-update.js.map +1 -0
  155. package/data/build/dist/host/index.d.ts.map +1 -1
  156. package/data/build/dist/host/index.js +31 -1
  157. package/data/build/dist/host/index.js.map +1 -1
  158. package/data/build/dist/host/native-session-bridge.d.ts +8 -0
  159. package/data/build/dist/host/native-session-bridge.d.ts.map +1 -1
  160. package/data/build/dist/host/native-session-bridge.js +43 -0
  161. package/data/build/dist/host/native-session-bridge.js.map +1 -1
  162. package/data/build/dist/host/rpc.d.ts +4 -1
  163. package/data/build/dist/host/rpc.d.ts.map +1 -1
  164. package/data/build/dist/host/rpc.js +33 -7
  165. package/data/build/dist/host/rpc.js.map +1 -1
  166. package/data/build/dist/host/session-handle-eviction.d.ts +29 -0
  167. package/data/build/dist/host/session-handle-eviction.d.ts.map +1 -0
  168. package/data/build/dist/host/session-handle-eviction.js +413 -0
  169. package/data/build/dist/host/session-handle-eviction.js.map +1 -0
  170. package/data/build/dist/host/settings.d.ts.map +1 -1
  171. package/data/build/dist/host/settings.js +12 -1
  172. package/data/build/dist/host/settings.js.map +1 -1
  173. package/data/build/dist/host/update/application-result.d.ts +3 -0
  174. package/data/build/dist/host/update/application-result.d.ts.map +1 -0
  175. package/data/build/dist/host/update/application-result.js +13 -0
  176. package/data/build/dist/host/update/application-result.js.map +1 -0
  177. package/data/build/dist/host/update/http.d.ts +7 -0
  178. package/data/build/dist/host/update/http.d.ts.map +1 -0
  179. package/data/build/dist/host/update/http.js +55 -0
  180. package/data/build/dist/host/update/http.js.map +1 -0
  181. package/data/build/dist/host/update/metadata.d.ts +14 -0
  182. package/data/build/dist/host/update/metadata.d.ts.map +1 -0
  183. package/data/build/dist/host/update/metadata.js +75 -0
  184. package/data/build/dist/host/update/metadata.js.map +1 -0
  185. package/data/build/dist/host/update/release-notes.d.ts +6 -0
  186. package/data/build/dist/host/update/release-notes.d.ts.map +1 -0
  187. package/data/build/dist/host/update/release-notes.js +52 -0
  188. package/data/build/dist/host/update/release-notes.js.map +1 -0
  189. package/data/build/dist/host/update/service.d.ts +25 -0
  190. package/data/build/dist/host/update/service.d.ts.map +1 -0
  191. package/data/build/dist/host/update/service.js +209 -0
  192. package/data/build/dist/host/update/service.js.map +1 -0
  193. package/data/build/dist/shared/contracts/config.d.ts +17 -0
  194. package/data/build/dist/shared/contracts/config.d.ts.map +1 -1
  195. package/data/build/dist/shared/contracts/config.js +8 -0
  196. package/data/build/dist/shared/contracts/config.js.map +1 -1
  197. package/data/build/dist/shared/contracts/magpie-management.d.ts +59 -0
  198. package/data/build/dist/shared/contracts/magpie-management.d.ts.map +1 -1
  199. package/data/build/dist/shared/contracts/plugin-update.d.ts +93 -0
  200. package/data/build/dist/shared/contracts/plugin-update.d.ts.map +1 -0
  201. package/data/build/dist/shared/contracts/plugin-update.js +128 -0
  202. package/data/build/dist/shared/contracts/plugin-update.js.map +1 -0
  203. package/data/build/dist/shared/contracts/subscription.d.ts +5 -0
  204. package/data/build/dist/shared/contracts/subscription.d.ts.map +1 -1
  205. package/data/build/dist/shared/contracts/subscription.js.map +1 -1
  206. package/data/build/dist/shared/contracts/version.d.ts +1 -1
  207. package/data/build/dist/shared/contracts/version.js +1 -1
  208. package/data/build/dist/shared/index.d.ts +2 -1
  209. package/data/build/dist/shared/index.d.ts.map +1 -1
  210. package/data/build/dist/shared/index.js +1 -0
  211. package/data/build/dist/shared/index.js.map +1 -1
  212. package/data/build/dist/shared/magpie-provider-id.d.ts +12 -0
  213. package/data/build/dist/shared/magpie-provider-id.d.ts.map +1 -0
  214. package/data/build/dist/shared/magpie-provider-id.js +16 -0
  215. package/data/build/dist/shared/magpie-provider-id.js.map +1 -0
  216. package/package.json +2 -1
  217. package/profile/README.md +2 -2
  218. package/profile/package.json +2 -2
  219. package/profile/version.json +1 -1
  220. package/version.json +1 -1
@@ -12,7 +12,7 @@ window.__ModuleLoader__.load({
12
12
  * 只放该域新增的键;合并与命名空间注册由 ../locale.ts 统一完成。
13
13
  * 规范见 docs/开发规范/20260930-前端文案国际化规范.md。
14
14
  */
15
- const en$17 = {
15
+ const en$18 = {
16
16
  "debug.title": "Debug",
17
17
  "debug.guideDescription": "Start workspace commands, check ports, and open services",
18
18
  "debug.readingWorkspace": "Reading workspace…",
@@ -90,7 +90,7 @@ window.__ModuleLoader__.load({
90
90
  "feature.debug.label": "Workspace debugging",
91
91
  "feature.debug.description": "Launch terminals and check services"
92
92
  };
93
- const zh$17 = {
93
+ const zh$18 = {
94
94
  "debug.title": "调试",
95
95
  "debug.guideDescription": "启动工作区命令、检查端口并访问服务",
96
96
  "debug.readingWorkspace": "正在读取工作区…",
@@ -171,7 +171,7 @@ window.__ModuleLoader__.load({
171
171
  //#endregion
172
172
  //#region src/client/locales/assistantDebug.ts
173
173
  /** 全局助理调试页词典;状态名与 JSON 只在明确的调试区域展示。 */
174
- const zh$16 = {
174
+ const zh$17 = {
175
175
  "assistant.debug.open": "全局项目状态调试",
176
176
  "assistant.debug.title": "全局助理管理状态调试",
177
177
  "assistant.debug.description": "独立检查工作区范围、会话状态和文字指令,无需启动语音。",
@@ -351,7 +351,7 @@ window.__ModuleLoader__.load({
351
351
  "assistant.debug.analysisState.cancelled": "总结已停止,原始索引材料已保留",
352
352
  "assistant.debug.rawEvidence": "以下是原始会话摘录,作为总结证据保留,不是 LLM 生成的进展判断。"
353
353
  };
354
- const en$16 = {
354
+ const en$17 = {
355
355
  "assistant.debug.open": "Global project state debug",
356
356
  "assistant.debug.title": "Global assistant management debug",
357
357
  "assistant.debug.description": "Inspect workspace scope, session state and text commands without starting voice.",
@@ -533,7 +533,7 @@ window.__ModuleLoader__.load({
533
533
  };
534
534
  //#endregion
535
535
  //#region src/client/locales/assistantAvatar.ts
536
- const en$15 = {
536
+ const en$16 = {
537
537
  "avatar.portraitTitle": "Avatar",
538
538
  "avatar.portraitEdit": "Adjust avatar",
539
539
  "avatar.portraitLocalHint": "Saved in this browser for this character; conversation and sidebar avatars update together.",
@@ -669,7 +669,7 @@ window.__ModuleLoader__.load({
669
669
  "avatar.desktopFallback": "Desktop companion unavailable; showing inside this window.",
670
670
  "avatar.dragHint": "Drag to move; click to open the assistant."
671
671
  };
672
- const zh$15 = {
672
+ const zh$16 = {
673
673
  "avatar.portraitTitle": "头像",
674
674
  "avatar.portraitEdit": "微调头像",
675
675
  "avatar.portraitLocalHint": "按形象保存在当前浏览器,对话与侧栏头像同步更新。",
@@ -813,7 +813,7 @@ window.__ModuleLoader__.load({
813
813
  * 只放该域新增的键;合并与命名空间注册由 ../locale.ts 统一完成。
814
814
  * 规范见 docs/开发规范/20260930-前端文案国际化规范.md。
815
815
  */
816
- const en$14 = {
816
+ const en$15 = {
817
817
  "htmlFiles.confirmConnect": "Allow this HTML page to read, save, and delete files in these locations?\n\nPage: {path}\n\n{scopes}\n\nAccess lasts until this preview is closed or reloaded.",
818
818
  "htmlFiles.cancelled": "Workspace file connection cancelled.",
819
819
  "fileMenu.expandFolder": "Expand folder",
@@ -886,7 +886,7 @@ window.__ModuleLoader__.load({
886
886
  "pwaPrompt.dismiss": "Not now",
887
887
  "pwaPrompt.iosHint": "Tap \"Share\" then \"Add to Home Screen\" to install."
888
888
  };
889
- const zh$14 = {
889
+ const zh$15 = {
890
890
  "htmlFiles.confirmConnect": "允许此 HTML 页面读取、保存和删除以下位置中的文件吗?\n\n页面:{path}\n\n{scopes}\n\n授权在关闭或重新加载预览后失效。",
891
891
  "htmlFiles.cancelled": "已取消工作区文件连接。",
892
892
  "fileMenu.expandFolder": "展开文件夹",
@@ -967,7 +967,7 @@ window.__ModuleLoader__.load({
967
967
  * 只放该域新增的键;合并与命名空间注册由 ../locale.ts 统一完成。
968
968
  * 规范见 docs/开发规范/20260930-前端文案国际化规范.md。
969
969
  */
970
- const en$13 = {
970
+ const en$14 = {
971
971
  "feature.gitManagement.label": "Git repository management",
972
972
  "feature.gitManagement.description": "View changes and manage commits",
973
973
  "git.tabTitle": "Git",
@@ -1089,7 +1089,7 @@ window.__ModuleLoader__.load({
1089
1089
  "git.unknownTime": "Unknown time",
1090
1090
  "git.dateLabel": "{month}/{day}"
1091
1091
  };
1092
- const zh$13 = {
1092
+ const zh$14 = {
1093
1093
  "feature.gitManagement.label": "Git 仓库管理",
1094
1094
  "feature.gitManagement.description": "查看改动并管理提交",
1095
1095
  "git.tabTitle": "Git",
@@ -1219,7 +1219,7 @@ window.__ModuleLoader__.load({
1219
1219
  * 只放该域新增的键;合并与命名空间注册由 ../locale.ts 统一完成。
1220
1220
  * 规范见 docs/开发规范/20260930-前端文案国际化规范.md。
1221
1221
  */
1222
- const en$12 = {
1222
+ const en$13 = {
1223
1223
  "common.listSeparator": ", ",
1224
1224
  "settings.unknownVersion": "Unknown version",
1225
1225
  "settings.maintenanceDisabled": "This module is disabled by maintenance policy; the setting will not start it.",
@@ -1320,7 +1320,7 @@ window.__ModuleLoader__.load({
1320
1320
  "translation.adapter.cursor": "Cursor",
1321
1321
  "translation.adapter.kiro": "Kiro"
1322
1322
  };
1323
- const zh$12 = {
1323
+ const zh$13 = {
1324
1324
  "common.listSeparator": "、",
1325
1325
  "settings.unknownVersion": "未知版本",
1326
1326
  "settings.maintenanceDisabled": "该模块当前由维护策略停用,设置不会启动它。",
@@ -1429,7 +1429,7 @@ window.__ModuleLoader__.load({
1429
1429
  * 只放该域新增的键;合并与命名空间注册由 ../locale.ts 统一完成。
1430
1430
  * 规范见 docs/开发规范/20260930-前端文案国际化规范.md。
1431
1431
  */
1432
- const en$11 = {
1432
+ const en$12 = {
1433
1433
  "feature.peerHost.label": "Manage other DSH Hosts",
1434
1434
  "feature.peerHost.description": "Aggregate sessions from multiple Hosts",
1435
1435
  "peerHost.panelTitle": "Manage other DSH Hosts",
@@ -1510,7 +1510,7 @@ window.__ModuleLoader__.load({
1510
1510
  "peerHost.stateActive": "The preboot shim has taken over the page Transport; the native Connection of this page keeps reusing the same instance.",
1511
1511
  "peerHost.statePending": "The preboot shim is installed with CodingNS; it takes effect as soon as PeerHost is enabled, and native workspaces read the aggregate Transport directly."
1512
1512
  };
1513
- const zh$11 = {
1513
+ const zh$12 = {
1514
1514
  "feature.peerHost.label": "管理其他 DSH Host",
1515
1515
  "feature.peerHost.description": "聚合多个 Host 会话",
1516
1516
  "peerHost.panelTitle": "管理其他 DSH Host",
@@ -1599,7 +1599,7 @@ window.__ModuleLoader__.load({
1599
1599
  * 只放该域新增的键;合并与命名空间注册由 ../locale.ts 统一完成。
1600
1600
  * 规范见 docs/开发规范/20260930-前端文案国际化规范.md。
1601
1601
  */
1602
- const en$10 = {
1602
+ const en$11 = {
1603
1603
  "peerHostWorkspace.tabLocal": "Local folders",
1604
1604
  "peerHostWorkspace.tabRemote": "Remote HOST",
1605
1605
  "peerHostWorkspace.sourceLabel": "Workspace source",
@@ -1645,7 +1645,7 @@ window.__ModuleLoader__.load({
1645
1645
  "peerHostWorkspace.hintNotReady": "“{host}” is currently “{status}”; finish connecting it in the management panel first.",
1646
1646
  "peerHostWorkspace.manageHosts": "Manage other DSH Hosts"
1647
1647
  };
1648
- const zh$10 = {
1648
+ const zh$11 = {
1649
1649
  "peerHostWorkspace.tabLocal": "本机文件夹",
1650
1650
  "peerHostWorkspace.tabRemote": "远程 HOST",
1651
1651
  "peerHostWorkspace.sourceLabel": "工作区来源",
@@ -1699,7 +1699,7 @@ window.__ModuleLoader__.load({
1699
1699
  * 只放该域新增的键;合并与命名空间注册由 ../locale.ts 统一完成。
1700
1700
  * 规范见 docs/开发规范/20260930-前端文案国际化规范.md。
1701
1701
  */
1702
- const en$9 = {
1702
+ const en$10 = {
1703
1703
  "terminalShare.title": "Share terminal output to a conversation",
1704
1704
  "terminalShare.menuTitle": "Share to a conversation",
1705
1705
  "terminalShare.more": "More conversations",
@@ -1772,7 +1772,7 @@ window.__ModuleLoader__.load({
1772
1772
  "loginProtection.errorTimeoutRange": "The session timeout must be between 60 and 604800 seconds",
1773
1773
  "loginProtection.errorScopesRequired": "Select at least one scope"
1774
1774
  };
1775
- const zh$9 = {
1775
+ const zh$10 = {
1776
1776
  "terminalShare.title": "分享终端输出至会话",
1777
1777
  "terminalShare.menuTitle": "分享至会话",
1778
1778
  "terminalShare.more": "更多会话",
@@ -1853,7 +1853,7 @@ window.__ModuleLoader__.load({
1853
1853
  * 只放该域新增的键;合并与命名空间注册由 ../locale.ts 统一完成。
1854
1854
  * 规范见 docs/开发规范/20260930-前端文案国际化规范.md。
1855
1855
  */
1856
- const en$8 = {
1856
+ const en$9 = {
1857
1857
  "usage.r4StatsPeriod": "Account usage · UTC",
1858
1858
  "usage.r4TodayIoTokens": "Input + output tokens today",
1859
1859
  "usage.r4WeekRequests": "Requests · last 7 days",
@@ -1974,6 +1974,7 @@ window.__ModuleLoader__.load({
1974
1974
  "usage.magpieTabRoute": "Route + quota",
1975
1975
  "usage.magpieAggregateTitle": "Gateway usage",
1976
1976
  "usage.magpieSessionTitle": "This Agent session",
1977
+ "usage.magpieSessionTodayTitle": "This Agent session · today",
1977
1978
  "usage.magpieRouteTitle": "Latest route",
1978
1979
  "usage.magpieUsageUnavailable": "Magpie usage is unavailable.",
1979
1980
  "usage.magpieRequests": "Requests",
@@ -2058,7 +2059,7 @@ window.__ModuleLoader__.load({
2058
2059
  "usage.magpieRequestsTitle": "Magpie requests",
2059
2060
  "usage.magpieRequestsClose": "Close"
2060
2061
  };
2061
- const zh$8 = {
2062
+ const zh$9 = {
2062
2063
  "usage.r4StatsPeriod": "账户用量 · UTC",
2063
2064
  "usage.r4TodayIoTokens": "今日输入与输出 Token",
2064
2065
  "usage.r4WeekRequests": "近 7 天请求数",
@@ -2179,6 +2180,7 @@ window.__ModuleLoader__.load({
2179
2180
  "usage.magpieTabRoute": "路由 + 配额",
2180
2181
  "usage.magpieAggregateTitle": "网关用量",
2181
2182
  "usage.magpieSessionTitle": "当前 Agent 会话",
2183
+ "usage.magpieSessionTodayTitle": "当前 Agent 会话 · 今日",
2182
2184
  "usage.magpieRouteTitle": "最近路由",
2183
2185
  "usage.magpieUsageUnavailable": "暂时无法读取 Magpie 用量。",
2184
2186
  "usage.magpieRequests": "请求数",
@@ -2265,7 +2267,7 @@ window.__ModuleLoader__.load({
2265
2267
  };
2266
2268
  //#endregion
2267
2269
  //#region src/client/locales/voiceModels.ts
2268
- const en$7 = {
2270
+ const en$8 = {
2269
2271
  "voice.models.prepared": "Model resources are ready. Save the configuration to use this recognition model.",
2270
2272
  "voice.settings.input": "Speech input",
2271
2273
  "voice.settings.output": "Speech output",
@@ -2308,7 +2310,7 @@ window.__ModuleLoader__.load({
2308
2310
  "voice.models.localHint": "Models are stored on this Host. Verification tests model loading and recognition without using your microphone.",
2309
2311
  "voice.models.close": "Close"
2310
2312
  };
2311
- const zh$7 = {
2313
+ const zh$8 = {
2312
2314
  "voice.models.prepared": "模型资源已准备好,保存配置后使用此识别模型。",
2313
2315
  "voice.settings.input": "语音输入",
2314
2316
  "voice.settings.output": "语音输出",
@@ -2354,7 +2356,7 @@ window.__ModuleLoader__.load({
2354
2356
  //#endregion
2355
2357
  //#region src/client/locales/assistantTts.ts
2356
2358
  /** 独立音色面板词典;官方名称保留原文,元数据标签随界面语言翻译。 */
2357
- const en$6 = {
2359
+ const en$7 = {
2358
2360
  "tts.wizardPrepareResources": "Prepare voice resources",
2359
2361
  "tts.wizardDraftReady": "Voice resources are ready. Configuration changes apply after saving.",
2360
2362
  "tts.prepare": "Prepare MOSS resources",
@@ -2431,7 +2433,7 @@ window.__ModuleLoader__.load({
2431
2433
  "tts.saveParameters": "Save speech controls",
2432
2434
  "tts.resetParameters": "Restore and save defaults"
2433
2435
  };
2434
- const zh$6 = {
2436
+ const zh$7 = {
2435
2437
  "tts.wizardPrepareResources": "准备语音资源",
2436
2438
  "tts.wizardDraftReady": "语音资源已就绪,配置保存后生效。",
2437
2439
  "tts.prepare": "准备 MOSS 资源",
@@ -2511,7 +2513,7 @@ window.__ModuleLoader__.load({
2511
2513
  //#endregion
2512
2514
  //#region src/client/locales/assistantWorkbench.ts
2513
2515
  /** 生命周期工作台文案;高级资源管理复用原有词典。 */
2514
- const zh$5 = {
2516
+ const zh$6 = {
2515
2517
  "awb.notifications.title": "会话提醒",
2516
2518
  "awb.notifications.hint": "在悬浮助理旁显示提醒,查看会话后标记已读。",
2517
2519
  "awb.notifications.enabled": "启用会话提醒",
@@ -2679,7 +2681,7 @@ window.__ModuleLoader__.load({
2679
2681
  "awb.prompts": "提示词",
2680
2682
  "awb.unavailableSelection": "原选择暂不可用:{id}"
2681
2683
  };
2682
- const en$5 = {
2684
+ const en$6 = {
2683
2685
  "awb.notifications.title": "Session notices",
2684
2686
  "awb.notifications.hint": "Show notices beside the floating assistant. Viewing a session marks its notice as read.",
2685
2687
  "awb.notifications.enabled": "Enable session notices",
@@ -2857,7 +2859,7 @@ window.__ModuleLoader__.load({
2857
2859
  * 注册仍使用同一份 zh/en。
2858
2860
  * 规范见 docs/开发规范/20260930-前端文案国际化规范.md。
2859
2861
  */
2860
- const zh$4 = {
2862
+ const zh$5 = {
2861
2863
  "subagentCollapsed.inactive.one": "已停止 {count} 个子智能体",
2862
2864
  "subagentCollapsed.inactive.other": "已停止 {count} 个子智能体",
2863
2865
  "subagentCollapsed.inactive.expand": "展开已停止的子智能体",
@@ -2900,7 +2902,7 @@ window.__ModuleLoader__.load({
2900
2902
  "subagentCollapsed.open.sidebar": "在侧边栏打开",
2901
2903
  "subagentCollapsed.open.sidebar.aria": "在侧边栏打开 {label}"
2902
2904
  };
2903
- const en$4 = {
2905
+ const en$5 = {
2904
2906
  "subagentCollapsed.inactive.one": "{count} stopped subagent",
2905
2907
  "subagentCollapsed.inactive.other": "{count} stopped subagents",
2906
2908
  "subagentCollapsed.inactive.expand": "Show stopped subagents",
@@ -2956,7 +2958,7 @@ window.__ModuleLoader__.load({
2956
2958
  };
2957
2959
  //#endregion
2958
2960
  //#region src/client/locales/quickApps.ts
2959
- const en$3 = {
2961
+ const en$4 = {
2960
2962
  "quickApps.storagePreview": "App data is saved in this browser. IndexedDB and URLs starting with / are not supported in this view.",
2961
2963
  "quickApps.storageFailed": "App data could not be saved in this browser: {message}",
2962
2964
  "quickApps.sandboxPreview": "Workspace preview. Browser storage and URLs starting with / may not work in this view.",
@@ -3089,7 +3091,7 @@ window.__ModuleLoader__.load({
3089
3091
  "quickApps.status.missing-workspace": "The original workspace is unavailable.",
3090
3092
  "quickApps.status.missing-file": "The entry file or application folder is missing or cannot be accessed."
3091
3093
  };
3092
- const zh$3 = {
3094
+ const zh$4 = {
3093
3095
  "quickApps.storagePreview": "应用数据保存在当前浏览器中。此视图不支持 IndexedDB 和以 / 开头的网址。",
3094
3096
  "quickApps.storageFailed": "无法在当前浏览器中保存应用数据:{message}",
3095
3097
  "quickApps.sandboxPreview": "工作区预览:浏览器存储和以 / 开头的网址可能无法在此视图中使用。",
@@ -3224,7 +3226,7 @@ window.__ModuleLoader__.load({
3224
3226
  };
3225
3227
  //#endregion
3226
3228
  //#region src/client/locales/cliManagement.ts
3227
- const en$2 = {
3229
+ const en$3 = {
3228
3230
  "cli.team.label": "Team eligibility",
3229
3231
  "cli.team.leadAndMember": "Collaborator and Lead",
3230
3232
  "cli.team.member": "Collaborator",
@@ -3301,7 +3303,7 @@ window.__ModuleLoader__.load({
3301
3303
  "cli.manage.retryStatus": "Retry status",
3302
3304
  "cli.manage.reviewAgain": "Review another operation"
3303
3305
  };
3304
- const zh$2 = {
3306
+ const zh$3 = {
3305
3307
  "cli.team.label": "团队适配能力",
3306
3308
  "cli.team.leadAndMember": "协作者和管理者",
3307
3309
  "cli.team.member": "协作者",
@@ -3381,14 +3383,43 @@ window.__ModuleLoader__.load({
3381
3383
  //#endregion
3382
3384
  //#region src/client/locales/magpie.ts
3383
3385
  /** Copy for the optional Magpie usage dashboard. */
3384
- const en$1 = {
3386
+ const en$2 = {
3385
3387
  "feature.magpieManagement.label": "Magpie management and usage",
3386
3388
  "feature.magpieManagement.description": "Enable to add a separate Magpie Management page below Plugins in the global sidebar.",
3387
3389
  "magpie.sidebarLabel": "Magpie",
3390
+ "magpie.context.system": "System prompt",
3391
+ "magpie.context.tools": "Tools",
3392
+ "magpie.context.memory": "Memory",
3393
+ "magpie.context.files": "Files",
3394
+ "magpie.context.results": "Tool results",
3395
+ "magpie.context.chat": "Conversation content",
3396
+ "magpie.context.usedPercent": "Context used {percent}%",
3397
+ "magpie.context.window": "Context window",
3398
+ "magpie.context.used": "Used context",
3399
+ "magpie.context.native": "DSH context",
3400
+ "magpie.context.nativeTools": "Tool definitions",
3401
+ "magpie.context.nativeMessages": "Conversation messages",
3402
+ "magpie.context.nativeComposition": "Estimated composition (share of total)",
3403
+ "magpie.context.modelWindow": "Model window {value}",
3404
+ "magpie.context.cache": "Prompt cache",
3405
+ "magpie.context.hit": "hit",
3406
+ "magpie.context.close": "Close context",
3407
+ "magpie.context.composition": "Context composition",
3408
+ "magpie.context.content": "Content",
3409
+ "magpie.context.all": "All",
3410
+ "magpie.context.allCount": "All · {count}",
3411
+ "magpie.context.empty": "No content available",
3412
+ "magpie.context.rounds": "{count} rounds",
3413
+ "magpie.context.requests": "{count} requests",
3414
+ "magpie.context.request": "Request {count}",
3415
+ "magpie.context.earlierRounds": "Earlier {count} rounds",
3416
+ "magpie.context.round": "Round {count}",
3388
3417
  "magpie.usage": "Usage",
3389
3418
  "magpie.routing": "Routing",
3390
3419
  "magpie.statTokens": "Tokens",
3391
3420
  "magpie.statCalls": "Requests",
3421
+ "magpie.statTurns": "Turns",
3422
+ "magpie.statSteps": "Steps",
3392
3423
  "magpie.statWriteDown": "Output",
3393
3424
  "magpie.statSessions": "Sessions",
3394
3425
  "magpie.statReasoning": "Reasoning",
@@ -3429,8 +3460,10 @@ window.__ModuleLoader__.load({
3429
3460
  "magpie.refreshing": "Refreshing…",
3430
3461
  "magpie.update.title": "Magpie update",
3431
3462
  "magpie.update.open": "Magpie {version}; open update details",
3463
+ "magpie.update.openAvailable": "Magpie {version}; update {latest} available; open update details",
3464
+ "magpie.update.badge": "New",
3432
3465
  "magpie.update.close": "Close Magpie update details",
3433
- "magpie.update.description": "Automatic checks observe Magpie in the background. Download and restart only run after you confirm a manual update.",
3466
+ "magpie.update.description": "Opening this page checks for updates automatically. Download and restart only run after you confirm a manual update.",
3434
3467
  "magpie.update.unavailable": "Magpie update status is unavailable.",
3435
3468
  "magpie.update.unsupported": "This Magpie version does not expose a supported update API.",
3436
3469
  "magpie.update.invalid": "Magpie returned an update response CodingNS cannot safely read.",
@@ -3556,6 +3589,11 @@ window.__ModuleLoader__.load({
3556
3589
  "magpie.management.modelCountUnknown": "Model count not reported",
3557
3590
  "magpie.management.modelCounts": "{exposed} exposed / {total} available models",
3558
3591
  "magpie.management.providerName": "Provider name",
3592
+ "magpie.management.providerId": "Provider ID",
3593
+ "magpie.management.providerIdHint": "Lower-case letters, digits and dashes, as model IDs spell it ({id}/model). Renaming carries the routing groups and Agent configs that name its models along.",
3594
+ "magpie.management.providerIdLocked": "Magpie stores this provider under an ID it will not write again, so it cannot be renamed here.",
3595
+ "magpie.management.providerIdInvalid": "An ID needs at least one letter or digit.",
3596
+ "magpie.management.providerIdPreview": "Saved as {id}; the current one stays a remembered alias.",
3559
3597
  "magpie.management.endpointType": "Endpoint type",
3560
3598
  "magpie.management.endpointUrl": "Endpoint URL",
3561
3599
  "magpie.management.exposedModels": "Exposed models",
@@ -3619,6 +3657,8 @@ window.__ModuleLoader__.load({
3619
3657
  "magpie.management.reviewProvider": "Review provider changes",
3620
3658
  "magpie.management.reviewGroup": "Review routing-group changes",
3621
3659
  "magpie.management.reviewName": "Name: {value}",
3660
+ "magpie.management.reviewProviderId": "ID: {from} → {to}",
3661
+ "magpie.management.providerIdRenameHint": "Magpie saves the other changes under the current ID first, then moves the provider: the routing groups and Agent configs naming its models follow, and the current ID stays an alias of the new one.",
3622
3662
  "magpie.management.reviewEndpoint": "{field} endpoint: {value}",
3623
3663
  "magpie.management.reviewModels": "Model list: {count} entries",
3624
3664
  "magpie.management.reviewRouting": "Routing: {value}",
@@ -3652,6 +3692,8 @@ window.__ModuleLoader__.load({
3652
3692
  "magpie.previous": "Previous",
3653
3693
  "magpie.next": "Next",
3654
3694
  "magpie.pageOf": "Page {page}",
3695
+ "magpie.loadMore": "Load more",
3696
+ "magpie.loadedCount": "Loaded {count}",
3655
3697
  "magpie.quotaHistory": "Allowance history",
3656
3698
  "magpie.quotaHistoryNote": "Remaining allowance values recorded by Magpie; units follow each provider.",
3657
3699
  "magpie.dailyUsage": "Daily usage",
@@ -3680,25 +3722,54 @@ window.__ModuleLoader__.load({
3680
3722
  "magpie.install.reason.launch": "The entry {command} exists but Magpie could not run. Check the installation and try again.",
3681
3723
  "magpie.install.reason.timeout": "The entry {command} did not answer in time. Check the installation and try again.",
3682
3724
  "magpie.install.reason.version": "The entry {command} ran but did not report a recognizable Magpie version.",
3683
- "magpie.install.command": "npm i -g magpie && magpie --version",
3684
- "magpie.install.installHelp.macos": "Install with npm or pnpm, then reopen DSH. The Host reads the login shell PATH and the Homebrew, /usr/local, ~/.local/bin, and ~/.bun/bin directories, so a version manager install is enough.",
3685
- "magpie.install.installHelp.windows": "Install with npm or pnpm (a magpie.cmd shim is found), or use the Magpie installer. The Host searches PATH, then the npm, pnpm, Volta, Bun, Scoop, and WinGet directories under your user profile. Reopen DSH after installing so it picks up the new PATH.",
3686
- "magpie.install.installHelp.linux": "Install with npm or pnpm, then reopen DSH. The Host reads the login shell PATH plus /usr/local/bin and ~/.local/bin.",
3725
+ "magpie.install.command": "magpie --version",
3726
+ "magpie.install.installHelp.macos": "Install Magpie with the official GitHub release or installation script, then reopen DSH. The Host reads the login shell PATH and common standalone binary directories such as Homebrew and ~/.local/bin.",
3727
+ "magpie.install.installHelp.windows": "Install Magpie from the official GitHub release or installation script. The Host reads the Windows registry PATH and checks the installer's %USERPROFILE%\\.local\\bin location plus other common standalone binary directories. Reopen DSH after installing so it picks up the new PATH.",
3728
+ "magpie.install.installHelp.linux": "Install Magpie with the official GitHub release or installation script, then reopen DSH. The Host reads the login shell PATH plus /usr/local/bin and ~/.local/bin.",
3687
3729
  "magpie.install.customToggle": "Specify the Magpie path",
3688
3730
  "magpie.install.customLabel": "Absolute path to the Magpie executable",
3689
- "magpie.install.customPlaceholder": "/opt/homebrew/bin/magpie or C:\\Users\\you\\AppData\\Roaming\\npm\\magpie.cmd",
3731
+ "magpie.install.customPlaceholder": "/opt/homebrew/bin/magpie or C:\\Users\\you\\.local\\bin\\magpie.exe",
3690
3732
  "magpie.install.customHelp": "Only an absolute path to a file is accepted; arguments are not allowed. The path is used for this session only.",
3691
3733
  "magpie.install.customApply": "Detect this path",
3692
3734
  "magpie.install.disabledNote": "Magpie management stays off until a working Magpie CLI is detected."
3693
3735
  };
3694
- const zh$1 = {
3736
+ const zh$2 = {
3695
3737
  "feature.magpieManagement.label": "Magpie 管理与用量",
3696
3738
  "feature.magpieManagement.description": "启用后,会在全局侧栏的「插件」下方添加独立的 Magpie 管理页面。",
3697
3739
  "magpie.sidebarLabel": "Magpie",
3740
+ "magpie.context.system": "系统提示词",
3741
+ "magpie.context.tools": "工具",
3742
+ "magpie.context.memory": "记忆",
3743
+ "magpie.context.files": "文件",
3744
+ "magpie.context.results": "工具结果",
3745
+ "magpie.context.chat": "会话内容",
3746
+ "magpie.context.usedPercent": "上下文已用 {percent}%",
3747
+ "magpie.context.window": "上下文窗口",
3748
+ "magpie.context.used": "已用上下文",
3749
+ "magpie.context.native": "DSH 上下文",
3750
+ "magpie.context.nativeTools": "工具定义",
3751
+ "magpie.context.nativeMessages": "对话消息",
3752
+ "magpie.context.nativeComposition": "估算组成(占估算总量的比例)",
3753
+ "magpie.context.modelWindow": "模型窗口 {value}",
3754
+ "magpie.context.cache": "提示词缓存",
3755
+ "magpie.context.hit": "命中",
3756
+ "magpie.context.close": "关闭上下文",
3757
+ "magpie.context.composition": "上下文组成",
3758
+ "magpie.context.content": "内容",
3759
+ "magpie.context.all": "全部",
3760
+ "magpie.context.allCount": "全部 · {count}",
3761
+ "magpie.context.empty": "没有可显示的内容",
3762
+ "magpie.context.rounds": "{count} 轮",
3763
+ "magpie.context.requests": "{count} 个请求",
3764
+ "magpie.context.request": "请求 {count}",
3765
+ "magpie.context.earlierRounds": "更早的 {count} 轮",
3766
+ "magpie.context.round": "第 {count} 轮",
3698
3767
  "magpie.usage": "用量",
3699
3768
  "magpie.routing": "路由",
3700
3769
  "magpie.statTokens": "Token",
3701
3770
  "magpie.statCalls": "请求",
3771
+ "magpie.statTurns": "回合",
3772
+ "magpie.statSteps": "步骤",
3702
3773
  "magpie.statWriteDown": "输出",
3703
3774
  "magpie.statSessions": "会话数",
3704
3775
  "magpie.statReasoning": "推理",
@@ -3739,8 +3810,10 @@ window.__ModuleLoader__.load({
3739
3810
  "magpie.refreshing": "正在刷新…",
3740
3811
  "magpie.update.title": "Magpie 更新",
3741
3812
  "magpie.update.open": "Magpie {version};打开更新详情",
3813
+ "magpie.update.openAvailable": "Magpie {version};发现新版本 {latest};打开更新详情",
3814
+ "magpie.update.badge": "新",
3742
3815
  "magpie.update.close": "关闭 Magpie 更新详情",
3743
- "magpie.update.description": "后台会自动观察 Magpie 的更新状态;只有你确认手动更新后,才会下载或重启。",
3816
+ "magpie.update.description": "打开管理页时会自动检查更新;只有你确认手动更新后,才会下载或重启。",
3744
3817
  "magpie.update.unavailable": "暂时无法读取 Magpie 更新状态。",
3745
3818
  "magpie.update.unsupported": "当前 Magpie 版本没有可支持的更新 API。",
3746
3819
  "magpie.update.invalid": "Magpie 返回了 CodingNS 无法安全读取的更新数据。",
@@ -3866,6 +3939,11 @@ window.__ModuleLoader__.load({
3866
3939
  "magpie.management.modelCountUnknown": "未报告模型数量",
3867
3940
  "magpie.management.modelCounts": "已公开 {exposed} / 可用 {total} 个模型",
3868
3941
  "magpie.management.providerName": "提供商名称",
3942
+ "magpie.management.providerId": "提供商 ID",
3943
+ "magpie.management.providerIdHint": "只能使用小写字母、数字和短横线,模型 ID 以它开头({id}/模型)。改名时会一并迁移引用其模型的路由组与 Agent 配置。",
3944
+ "magpie.management.providerIdLocked": "Magpie 以这个不会再写入的 ID 保存该提供商,因此此处不能改名。",
3945
+ "magpie.management.providerIdInvalid": "ID 至少需要一个字母或数字。",
3946
+ "magpie.management.providerIdPreview": "将保存为 {id};原 ID 仍会作为别名保留。",
3869
3947
  "magpie.management.endpointType": "端点类型",
3870
3948
  "magpie.management.endpointUrl": "端点 URL",
3871
3949
  "magpie.management.exposedModels": "已公开模型",
@@ -3929,6 +4007,8 @@ window.__ModuleLoader__.load({
3929
4007
  "magpie.management.reviewProvider": "确认提供商变更",
3930
4008
  "magpie.management.reviewGroup": "确认路由组变更",
3931
4009
  "magpie.management.reviewName": "名称:{value}",
4010
+ "magpie.management.reviewProviderId": "ID:{from} → {to}",
4011
+ "magpie.management.providerIdRenameHint": "Magpie 会先在当前 ID 下保存其他变更,再迁移该提供商:引用其模型的路由组与 Agent 配置会随之迁移,当前 ID 会保留为新 ID 的别名。",
3932
4012
  "magpie.management.reviewEndpoint": "{field} 端点:{value}",
3933
4013
  "magpie.management.reviewModels": "模型列表:{count} 项",
3934
4014
  "magpie.management.reviewRouting": "路由:{value}",
@@ -3962,6 +4042,8 @@ window.__ModuleLoader__.load({
3962
4042
  "magpie.previous": "上一页",
3963
4043
  "magpie.next": "下一页",
3964
4044
  "magpie.pageOf": "第 {page} 页",
4045
+ "magpie.loadMore": "加载更多",
4046
+ "magpie.loadedCount": "已加载 {count} 条",
3965
4047
  "magpie.quotaHistory": "额度历史",
3966
4048
  "magpie.quotaHistoryNote": "Magpie 记录的剩余额度;单位以各提供商报告为准。",
3967
4049
  "magpie.dailyUsage": "每日用量",
@@ -3990,18 +4072,150 @@ window.__ModuleLoader__.load({
3990
4072
  "magpie.install.reason.launch": "入口 {command} 存在,但 Magpie 无法运行;请检查安装后重试。",
3991
4073
  "magpie.install.reason.timeout": "入口 {command} 未在限定时间内响应;请检查安装后重试。",
3992
4074
  "magpie.install.reason.version": "入口 {command} 已运行,但没有输出可识别的 Magpie 版本。",
3993
- "magpie.install.command": "npm i -g magpie && magpie --version",
3994
- "magpie.install.installHelp.macos": "使用 npm 或 pnpm 安装后重新打开 DSH。Host 会读取登录 Shell 的 PATH,以及 Homebrew、/usr/local、~/.local/bin、~/.bun/bin 目录,因此通过版本管理器安装也能识别。",
3995
- "magpie.install.installHelp.windows": "使用 npm 或 pnpm 安装(可识别 magpie.cmd),或使用 Magpie 安装包。Host 先查 PATH,再查用户目录下的 npm、pnpm、Volta、Bun、Scoop 和 WinGet 目录。安装后请重新打开 DSH,以读取新的 PATH。",
3996
- "magpie.install.installHelp.linux": "使用 npm 或 pnpm 安装后重新打开 DSH。Host 会读取登录 Shell 的 PATH、/usr/local/bin 和 ~/.local/bin。",
4075
+ "magpie.install.command": "magpie --version",
4076
+ "magpie.install.installHelp.macos": "请使用官方 GitHub Release 或安装脚本安装 Magpie,然后重新打开 DSH。Host 会读取登录 Shell 的 PATH,以及 Homebrew、/usr/local/bin、~/.local/bin 等常见独立程序目录。",
4077
+ "magpie.install.installHelp.windows": "请使用官方 GitHub Release 或安装脚本安装 Magpie。Host 会读取 Windows 注册表中的 PATH,并检查安装脚本使用的 %USERPROFILE%\\.local\\bin 以及其他常见独立程序目录。安装后请重新打开 DSH,以读取新的 PATH。",
4078
+ "magpie.install.installHelp.linux": "请使用官方 GitHub Release 或安装脚本安装 Magpie,然后重新打开 DSH。Host 会读取登录 Shell 的 PATH、/usr/local/bin 和 ~/.local/bin。",
3997
4079
  "magpie.install.customToggle": "手动指定 Magpie 路径",
3998
4080
  "magpie.install.customLabel": "Magpie 可执行文件的绝对路径",
3999
- "magpie.install.customPlaceholder": "/opt/homebrew/bin/magpie 或 C:\\Users\\你\\AppData\\Roaming\\npm\\magpie.cmd",
4081
+ "magpie.install.customPlaceholder": "/opt/homebrew/bin/magpie 或 C:\\Users\\你\\.local\\bin\\magpie.exe",
4000
4082
  "magpie.install.customHelp": "只接受文件绝对路径,不允许附加参数;该路径只在本次会话生效。",
4001
4083
  "magpie.install.customApply": "检测此路径",
4002
4084
  "magpie.install.disabledNote": "检测到可用的 Magpie CLI 前,Magpie 管理保持关闭。"
4003
4085
  };
4004
4086
  //#endregion
4087
+ //#region src/client/locales/pluginUpdate.ts
4088
+ const en$1 = {
4089
+ "update.localeTag": "en-US",
4090
+ "update.newVersionBadge": "New",
4091
+ "update.toggleDetails": "Show or hide update details",
4092
+ "update.newVersion": "New version {version}",
4093
+ "update.title": "Plugin updates",
4094
+ "update.description": "Check npm releases and review the exact GitHub tag.",
4095
+ "update.hostVersion": "Running Host:",
4096
+ "update.clientVersion": "Running Client:",
4097
+ "update.installedVersion": "Installed package:",
4098
+ "update.unknown": "Unknown",
4099
+ "update.activationHelp": "Package installation and live code activation are reported separately. This DSH version cannot confirm a Desktop Client reload.",
4100
+ "update.channel": "Release channel",
4101
+ "update.latest": "npm latest",
4102
+ "update.next": "npm next (prerelease)",
4103
+ "update.exact": "Exact version",
4104
+ "update.exactVersion": "Exact npm version",
4105
+ "update.check": "Check for updates",
4106
+ "update.checking": "Checking npm and GitHub...",
4107
+ "update.requestError": "The request could not be completed. Retry the check or review native DSH Plugins.",
4108
+ "update.previousResult": "Previous check shown. Check again before updating.",
4109
+ "update.targetVersion": "Target version:",
4110
+ "update.publishedAt": "Published:",
4111
+ "update.releasePublishedAt": "GitHub release published:",
4112
+ "update.commit": "Source commit:",
4113
+ "update.compatibility": "DSH compatibility:",
4114
+ "update.openRelease": "Open exact GitHub release",
4115
+ "update.noNotes": "Release notes are unavailable for this exact tag.",
4116
+ "update.nativeFallback": "Use native DSH Plugins to review package status and complete any required update or restart.",
4117
+ "update.review": "Review update",
4118
+ "update.confirmTitle": "Confirm the exact package update",
4119
+ "update.confirmHelp": "Install Codingns4DSH {version} through the DSH package manager? The new Host and Client code may require a DSH restart.",
4120
+ "update.confirm": "Confirm and update",
4121
+ "update.back": "Back",
4122
+ "update.cancel": "Request cancellation",
4123
+ "update.refreshStatus": "Refresh operation status",
4124
+ "update.operationHelp": "DSH owns this operation. Closing settings does not cancel it. Cancellation is confirmed only after DSH finishes restoring the package files.",
4125
+ "update.packageState": "Package:",
4126
+ "update.hostActivation": "Host activation:",
4127
+ "update.clientActivation": "Client activation:",
4128
+ "update.checkState.up-to-date": "This channel is up to date.",
4129
+ "update.checkState.update-available": "A newer version is available.",
4130
+ "update.checkState.no-newer-version": "This channel is older than the running or installed version.",
4131
+ "update.checkState.incompatible": "This target is incompatible with the running DSH.",
4132
+ "update.checkState.compatibility-unknown": "Target compatibility could not be confirmed. Updating is blocked.",
4133
+ "update.checkState.unavailable": "Update information is unavailable.",
4134
+ "update.checkState.unsupported": "This runtime does not support checking the active version.",
4135
+ "update.compatibilityState.compatible": "Compatible",
4136
+ "update.compatibilityState.incompatible": "Incompatible",
4137
+ "update.compatibilityState.unknown": "Unknown",
4138
+ "update.phase.installing": "Installing through DSH...",
4139
+ "update.phase.cancelling": "Waiting for DSH cancellation...",
4140
+ "update.phase.applying": "DSH is applying the package...",
4141
+ "update.phase.completed": "Operation completed",
4142
+ "update.application.applied-without-desktop-restart": "Host and Client are active at the target version.",
4143
+ "update.application.restart-required": "Package installed; restart required to activate the code.",
4144
+ "update.application.activation-unknown": "Live activation could not be confirmed.",
4145
+ "update.application.failed": "The update failed. Review package status before retrying.",
4146
+ "update.application.cancelled": "DSH cancelled the update.",
4147
+ "update.application.unsupported": "Use native DSH Plugins to update this package.",
4148
+ "update.package.installed": "Installed",
4149
+ "update.package.unchanged": "Unchanged",
4150
+ "update.package.rolled-back": "Profile files restored by DSH",
4151
+ "update.package.unknown": "Unknown; review native DSH Plugins"
4152
+ };
4153
+ const zh$1 = {
4154
+ "update.localeTag": "zh-CN",
4155
+ "update.newVersionBadge": "新版本",
4156
+ "update.toggleDetails": "展开或收起更新详情",
4157
+ "update.newVersion": "新版本 {version}",
4158
+ "update.title": "插件更新",
4159
+ "update.description": "检查 npm 发布版本,并查看对应的 GitHub 标签。",
4160
+ "update.hostVersion": "运行中的 Host:",
4161
+ "update.clientVersion": "运行中的 Client:",
4162
+ "update.installedVersion": "已安装的软件包:",
4163
+ "update.unknown": "未知",
4164
+ "update.activationHelp": "软件包安装状态与运行时代码激活状态分开显示。当前 DSH 版本无法确认 Desktop Client 是否已重新加载。",
4165
+ "update.channel": "发布渠道",
4166
+ "update.latest": "npm latest(稳定版)",
4167
+ "update.next": "npm next(预发布版)",
4168
+ "update.exact": "指定版本",
4169
+ "update.exactVersion": "npm 指定版本号",
4170
+ "update.check": "检查更新",
4171
+ "update.checking": "正在检查 npm 和 GitHub……",
4172
+ "update.requestError": "请求未完成。请重试,或到 DSH 原生插件页面查看状态。",
4173
+ "update.previousResult": "显示的是上一次检查结果。更新前请重新检查。",
4174
+ "update.targetVersion": "目标版本:",
4175
+ "update.publishedAt": "npm 发布时间:",
4176
+ "update.releasePublishedAt": "GitHub 发布时间:",
4177
+ "update.commit": "源代码提交:",
4178
+ "update.compatibility": "DSH 兼容性:",
4179
+ "update.openRelease": "打开对应的 GitHub Release",
4180
+ "update.noNotes": "该精确标签没有可用的 Release notes。",
4181
+ "update.nativeFallback": "请到 DSH 原生插件页面查看软件包状态,并完成必要的更新或重启。",
4182
+ "update.review": "查看更新",
4183
+ "update.confirmTitle": "确认更新指定软件包",
4184
+ "update.confirmHelp": "通过 DSH 软件包管理器安装 Codingns4DSH {version}?新的 Host 和 Client 代码可能需要重启 DSH 才能生效。",
4185
+ "update.confirm": "确认并更新",
4186
+ "update.back": "返回",
4187
+ "update.cancel": "请求取消",
4188
+ "update.refreshStatus": "刷新操作状态",
4189
+ "update.operationHelp": "此操作由 DSH 管理。关闭设置不会取消操作;只有 DSH 完成软件包恢复后,取消才会被确认。",
4190
+ "update.packageState": "软件包状态:",
4191
+ "update.hostActivation": "Host 激活状态:",
4192
+ "update.clientActivation": "Client 激活状态:",
4193
+ "update.checkState.up-to-date": "此渠道已经是最新版本。",
4194
+ "update.checkState.update-available": "发现新版本。",
4195
+ "update.checkState.no-newer-version": "此渠道版本低于当前运行或已安装版本。",
4196
+ "update.checkState.incompatible": "此目标版本与当前 DSH 不兼容。",
4197
+ "update.checkState.compatibility-unknown": "无法确认目标版本兼容性,更新已阻止。",
4198
+ "update.checkState.unavailable": "更新信息暂不可用。",
4199
+ "update.checkState.unsupported": "当前运行环境不支持检查活动版本。",
4200
+ "update.compatibilityState.compatible": "兼容",
4201
+ "update.compatibilityState.incompatible": "不兼容",
4202
+ "update.compatibilityState.unknown": "未知",
4203
+ "update.phase.installing": "正在通过 DSH 安装……",
4204
+ "update.phase.cancelling": "正在等待 DSH 完成取消……",
4205
+ "update.phase.applying": "DSH 正在应用软件包……",
4206
+ "update.phase.completed": "操作已完成",
4207
+ "update.application.applied-without-desktop-restart": "Host 和 Client 已运行目标版本。",
4208
+ "update.application.restart-required": "软件包已安装;需要重启才能激活新代码。",
4209
+ "update.application.activation-unknown": "无法确认运行时代码是否已激活。",
4210
+ "update.application.failed": "更新失败。请先检查软件包状态再重试。",
4211
+ "update.application.cancelled": "DSH 已取消更新。",
4212
+ "update.application.unsupported": "请使用 DSH 原生插件页面更新此软件包。",
4213
+ "update.package.installed": "已安装",
4214
+ "update.package.unchanged": "未改变",
4215
+ "update.package.rolled-back": "DSH 已恢复配置文件",
4216
+ "update.package.unknown": "未知;请检查 DSH 原生插件页面"
4217
+ };
4218
+ //#endregion
4005
4219
  //#region src/client/locale.ts
4006
4220
  /** Codingns4DSH 自有词典命名空间。词典缺少的语言由 DSH 自动回退到英文。 */
4007
4221
  const CODINGNS_LOCALE_NS = "codingns";
@@ -4929,19 +5143,20 @@ window.__ModuleLoader__.load({
4929
5143
  */
4930
5144
  const en = {
4931
5145
  ...CORE_EN,
4932
- ...en$15,
4933
5146
  ...en$16,
4934
- ...en$13,
4935
5147
  ...en$17,
5148
+ ...en$14,
5149
+ ...en$18,
5150
+ ...en$12,
4936
5151
  ...en$11,
4937
- ...en$10,
5152
+ ...en$9,
4938
5153
  ...en$8,
4939
5154
  ...en$7,
4940
5155
  ...en$6,
5156
+ ...en$15,
5157
+ ...en$10,
5158
+ ...en$13,
4941
5159
  ...en$5,
4942
- ...en$14,
4943
- ...en$9,
4944
- ...en$12,
4945
5160
  ...en$4,
4946
5161
  ...en$3,
4947
5162
  ...en$2,
@@ -4949,19 +5164,20 @@ window.__ModuleLoader__.load({
4949
5164
  };
4950
5165
  const zh = {
4951
5166
  ...CORE_ZH,
4952
- ...zh$15,
4953
5167
  ...zh$16,
4954
- ...zh$13,
4955
5168
  ...zh$17,
5169
+ ...zh$14,
5170
+ ...zh$18,
5171
+ ...zh$12,
4956
5172
  ...zh$11,
4957
- ...zh$10,
5173
+ ...zh$9,
4958
5174
  ...zh$8,
4959
5175
  ...zh$7,
4960
5176
  ...zh$6,
5177
+ ...zh$15,
5178
+ ...zh$10,
5179
+ ...zh$13,
4961
5180
  ...zh$5,
4962
- ...zh$14,
4963
- ...zh$9,
4964
- ...zh$12,
4965
5181
  ...zh$4,
4966
5182
  ...zh$3,
4967
5183
  ...zh$2,
@@ -5027,7 +5243,7 @@ window.__ModuleLoader__.load({
5027
5243
  Object.defineProperty(exports, "en", {
5028
5244
  enumerable: true,
5029
5245
  get: function() {
5030
- return en$4;
5246
+ return en$5;
5031
5247
  }
5032
5248
  });
5033
5249
  Object.defineProperty(exports, "registerCodingNsLocale", {
@@ -5051,7 +5267,7 @@ window.__ModuleLoader__.load({
5051
5267
  Object.defineProperty(exports, "zh", {
5052
5268
  enumerable: true,
5053
5269
  get: function() {
5054
- return zh$4;
5270
+ return zh$5;
5055
5271
  }
5056
5272
  });
5057
5273
  return module.exports;