@jingyi0605/codingns4dsh 0.2.1-beta.9 → 0.2.1-rc.3

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 (938) hide show
  1. package/README.en.md +10 -6
  2. package/README.md +12 -9
  3. package/assets/provider-icons/magpie.png +0 -0
  4. package/data/build/dist/bootstrap/dsh-connection-adapter.d.ts +1 -1
  5. package/data/build/dist/bootstrap/dsh-connection-adapter.d.ts.map +1 -1
  6. package/data/build/dist/bootstrap/index.d.ts +1 -1
  7. package/data/build/dist/bootstrap/index.d.ts.map +1 -1
  8. package/data/build/dist/client/account-bar.d.ts.map +1 -1
  9. package/data/build/dist/client/account-bar.js +24 -70
  10. package/data/build/dist/client/account-bar.js.map +1 -1
  11. package/data/build/dist/client/adapter-catalog-watch.d.ts +10 -2
  12. package/data/build/dist/client/adapter-catalog-watch.d.ts.map +1 -1
  13. package/data/build/dist/client/adapter-catalog-watch.js +16 -4
  14. package/data/build/dist/client/adapter-catalog-watch.js.map +1 -1
  15. package/data/build/dist/client/bundle.js +55627 -31591
  16. package/data/build/dist/client/bundle.js.map +1 -1
  17. package/data/build/dist/client/cli-management-dialog.d.ts +21 -0
  18. package/data/build/dist/client/cli-management-dialog.d.ts.map +1 -0
  19. package/data/build/dist/client/cli-management-dialog.js +215 -0
  20. package/data/build/dist/client/cli-management-dialog.js.map +1 -0
  21. package/data/build/dist/client/cli-management-terminal.d.ts +9 -0
  22. package/data/build/dist/client/cli-management-terminal.d.ts.map +1 -0
  23. package/data/build/dist/client/cli-management-terminal.js +30 -0
  24. package/data/build/dist/client/cli-management-terminal.js.map +1 -0
  25. package/data/build/dist/client/cli-settings-dialog.d.ts +9 -0
  26. package/data/build/dist/client/cli-settings-dialog.d.ts.map +1 -0
  27. package/data/build/dist/client/cli-settings-dialog.js +45 -0
  28. package/data/build/dist/client/cli-settings-dialog.js.map +1 -0
  29. package/data/build/dist/client/cli-settings-rpc.js +1 -1
  30. package/data/build/dist/client/cli-settings-rpc.js.map +1 -1
  31. package/data/build/dist/client/cli-slots.d.ts +17 -3
  32. package/data/build/dist/client/cli-slots.d.ts.map +1 -1
  33. package/data/build/dist/client/cli-slots.js +300 -41
  34. package/data/build/dist/client/cli-slots.js.map +1 -1
  35. package/data/build/dist/client/client.assistant-configuration-view.js +4 -3
  36. package/data/build/dist/client/client.assistant-configuration-view.js.map +1 -1
  37. package/data/build/dist/client/client.delegate-command.js +44 -26
  38. package/data/build/dist/client/client.delegate-command.js.map +1 -1
  39. package/data/build/dist/client/client.editor-engine.js +4 -1
  40. package/data/build/dist/client/client.editor-engine.js.map +1 -1
  41. package/data/build/dist/client/{client.model-catalog-cache.js → client.magpie-model-tag.js} +393 -14
  42. package/data/build/dist/client/client.magpie-model-tag.js.map +1 -0
  43. package/data/build/dist/client/client.moss-voice-output.js +415 -0
  44. package/data/build/dist/client/client.moss-voice-output.js.map +1 -0
  45. package/data/build/dist/client/client.native-workspace-store.js +91 -15
  46. package/data/build/dist/client/client.native-workspace-store.js.map +1 -1
  47. package/data/build/dist/client/client.primitives-adapter.js +128 -0
  48. package/data/build/dist/client/client.primitives-adapter.js.map +1 -1
  49. package/data/build/dist/client/client.react-dom.js +0 -404
  50. package/data/build/dist/client/client.react-dom.js.map +1 -1
  51. package/data/build/dist/client/client.session-translation.js +121 -2
  52. package/data/build/dist/client/client.session-translation.js.map +1 -1
  53. package/data/build/dist/client/client.transport.js +1415 -57
  54. package/data/build/dist/client/client.transport.js.map +1 -1
  55. package/data/build/dist/client/conversation-translation-settings.d.ts +11 -0
  56. package/data/build/dist/client/conversation-translation-settings.d.ts.map +1 -0
  57. package/data/build/dist/client/conversation-translation-settings.js +54 -0
  58. package/data/build/dist/client/conversation-translation-settings.js.map +1 -0
  59. package/data/build/dist/client/delegate-command.d.ts.map +1 -1
  60. package/data/build/dist/client/delegate-command.js +36 -7
  61. package/data/build/dist/client/delegate-command.js.map +1 -1
  62. package/data/build/dist/client/desktop-assistant.js +1948 -494
  63. package/data/build/dist/client/editor-engine.d.ts +1 -1
  64. package/data/build/dist/client/editor-engine.d.ts.map +1 -1
  65. package/data/build/dist/client/editor-engine.js +4 -1
  66. package/data/build/dist/client/editor-engine.js.map +1 -1
  67. package/data/build/dist/client/feature-requirement.d.ts +43 -0
  68. package/data/build/dist/client/feature-requirement.d.ts.map +1 -0
  69. package/data/build/dist/client/feature-requirement.js +105 -0
  70. package/data/build/dist/client/feature-requirement.js.map +1 -0
  71. package/data/build/dist/client/features/cli-adapters.d.ts +3 -1
  72. package/data/build/dist/client/features/cli-adapters.d.ts.map +1 -1
  73. package/data/build/dist/client/features/cli-adapters.js +207 -112
  74. package/data/build/dist/client/features/cli-adapters.js.map +1 -1
  75. package/data/build/dist/client/features/file-management.d.ts.map +1 -1
  76. package/data/build/dist/client/features/file-management.js +18 -0
  77. package/data/build/dist/client/features/file-management.js.map +1 -1
  78. package/data/build/dist/client/features/index.d.ts +1 -0
  79. package/data/build/dist/client/features/index.d.ts.map +1 -1
  80. package/data/build/dist/client/features/index.js +5 -0
  81. package/data/build/dist/client/features/index.js.map +1 -1
  82. package/data/build/dist/client/features/lan-access-panel.d.ts.map +1 -1
  83. package/data/build/dist/client/features/lan-access-panel.js +1 -0
  84. package/data/build/dist/client/features/lan-access-panel.js.map +1 -1
  85. package/data/build/dist/client/features/magpie-management-controls.d.ts +46 -0
  86. package/data/build/dist/client/features/magpie-management-controls.d.ts.map +1 -0
  87. package/data/build/dist/client/features/magpie-management-controls.js +759 -0
  88. package/data/build/dist/client/features/magpie-management-controls.js.map +1 -0
  89. package/data/build/dist/client/features/magpie-management-page.d.ts +124 -0
  90. package/data/build/dist/client/features/magpie-management-page.d.ts.map +1 -0
  91. package/data/build/dist/client/features/magpie-management-page.js +1256 -0
  92. package/data/build/dist/client/features/magpie-management-page.js.map +1 -0
  93. package/data/build/dist/client/features/magpie-management.d.ts +7 -0
  94. package/data/build/dist/client/features/magpie-management.d.ts.map +1 -0
  95. package/data/build/dist/client/features/magpie-management.js +154 -0
  96. package/data/build/dist/client/features/magpie-management.js.map +1 -0
  97. package/data/build/dist/client/features/magpie-mark.d.ts +10 -0
  98. package/data/build/dist/client/features/magpie-mark.d.ts.map +1 -0
  99. package/data/build/dist/client/features/magpie-mark.js +21 -0
  100. package/data/build/dist/client/features/magpie-mark.js.map +1 -0
  101. package/data/build/dist/client/features/magpie-provider-logo.d.ts +11 -0
  102. package/data/build/dist/client/features/magpie-provider-logo.d.ts.map +1 -0
  103. package/data/build/dist/client/features/magpie-provider-logo.js +35 -0
  104. package/data/build/dist/client/features/magpie-provider-logo.js.map +1 -0
  105. package/data/build/dist/client/features/mobile-access.d.ts.map +1 -1
  106. package/data/build/dist/client/features/mobile-access.js +7 -0
  107. package/data/build/dist/client/features/mobile-access.js.map +1 -1
  108. package/data/build/dist/client/features/peer-host.d.ts.map +1 -1
  109. package/data/build/dist/client/features/peer-host.js +6 -0
  110. package/data/build/dist/client/features/peer-host.js.map +1 -1
  111. package/data/build/dist/client/features/quick-apps.d.ts +3 -0
  112. package/data/build/dist/client/features/quick-apps.d.ts.map +1 -0
  113. package/data/build/dist/client/features/quick-apps.js +14 -0
  114. package/data/build/dist/client/features/quick-apps.js.map +1 -0
  115. package/data/build/dist/client/features/session-translation.d.ts.map +1 -1
  116. package/data/build/dist/client/features/session-translation.js +50 -49
  117. package/data/build/dist/client/features/session-translation.js.map +1 -1
  118. package/data/build/dist/client/features/subscription-quota-groups.d.ts +193 -0
  119. package/data/build/dist/client/features/subscription-quota-groups.d.ts.map +1 -0
  120. package/data/build/dist/client/features/subscription-quota-groups.js +548 -0
  121. package/data/build/dist/client/features/subscription-quota-groups.js.map +1 -0
  122. package/data/build/dist/client/features/workspace-session-enhancement.d.ts.map +1 -1
  123. package/data/build/dist/client/features/workspace-session-enhancement.js +6 -0
  124. package/data/build/dist/client/features/workspace-session-enhancement.js.map +1 -1
  125. package/data/build/dist/client/file-management-dom.d.ts +20 -1
  126. package/data/build/dist/client/file-management-dom.d.ts.map +1 -1
  127. package/data/build/dist/client/file-management-dom.js +94 -18
  128. package/data/build/dist/client/file-management-dom.js.map +1 -1
  129. package/data/build/dist/client/file-viewer-copy-path-menu.d.ts +27 -0
  130. package/data/build/dist/client/file-viewer-copy-path-menu.d.ts.map +1 -0
  131. package/data/build/dist/client/file-viewer-copy-path-menu.js +101 -0
  132. package/data/build/dist/client/file-viewer-copy-path-menu.js.map +1 -0
  133. package/data/build/dist/client/git-management-settings.d.ts +4 -0
  134. package/data/build/dist/client/git-management-settings.d.ts.map +1 -0
  135. package/data/build/dist/client/git-management-settings.js +73 -0
  136. package/data/build/dist/client/git-management-settings.js.map +1 -0
  137. package/data/build/dist/client/git-management.d.ts +2 -1
  138. package/data/build/dist/client/git-management.d.ts.map +1 -1
  139. package/data/build/dist/client/git-management.js +64 -41
  140. package/data/build/dist/client/git-management.js.map +1 -1
  141. package/data/build/dist/client/git-panel-styles.d.ts +4 -0
  142. package/data/build/dist/client/git-panel-styles.d.ts.map +1 -1
  143. package/data/build/dist/client/git-panel-styles.js +15 -0
  144. package/data/build/dist/client/git-panel-styles.js.map +1 -1
  145. package/data/build/dist/client/html-workspace-files.d.ts +4 -0
  146. package/data/build/dist/client/html-workspace-files.d.ts.map +1 -0
  147. package/data/build/dist/client/html-workspace-files.js +114 -0
  148. package/data/build/dist/client/html-workspace-files.js.map +1 -0
  149. package/data/build/dist/client/index.d.ts +1 -1
  150. package/data/build/dist/client/index.d.ts.map +1 -1
  151. package/data/build/dist/client/index.js +1 -1
  152. package/data/build/dist/client/index.js.map +1 -1
  153. package/data/build/dist/client/locale.d.ts.map +1 -1
  154. package/data/build/dist/client/locale.js +29 -2
  155. package/data/build/dist/client/locale.js.map +1 -1
  156. package/data/build/dist/client/locales/cliManagement.d.ts +3 -0
  157. package/data/build/dist/client/locales/cliManagement.d.ts.map +1 -0
  158. package/data/build/dist/client/locales/cliManagement.js +155 -0
  159. package/data/build/dist/client/locales/cliManagement.js.map +1 -0
  160. package/data/build/dist/client/locales/fileWorkspace.d.ts.map +1 -1
  161. package/data/build/dist/client/locales/fileWorkspace.js +8 -0
  162. package/data/build/dist/client/locales/fileWorkspace.js.map +1 -1
  163. package/data/build/dist/client/locales/git.d.ts.map +1 -1
  164. package/data/build/dist/client/locales/git.js +30 -2
  165. package/data/build/dist/client/locales/git.js.map +1 -1
  166. package/data/build/dist/client/locales/magpie.d.ts +4 -0
  167. package/data/build/dist/client/locales/magpie.d.ts.map +1 -0
  168. package/data/build/dist/client/locales/magpie.js +622 -0
  169. package/data/build/dist/client/locales/magpie.js.map +1 -0
  170. package/data/build/dist/client/locales/panels.d.ts.map +1 -1
  171. package/data/build/dist/client/locales/panels.js +103 -11
  172. package/data/build/dist/client/locales/panels.js.map +1 -1
  173. package/data/build/dist/client/locales/peerHost.d.ts.map +1 -1
  174. package/data/build/dist/client/locales/peerHost.js +2 -0
  175. package/data/build/dist/client/locales/peerHost.js.map +1 -1
  176. package/data/build/dist/client/locales/quickApps.d.ts +136 -0
  177. package/data/build/dist/client/locales/quickApps.d.ts.map +1 -0
  178. package/data/build/dist/client/locales/quickApps.js +162 -0
  179. package/data/build/dist/client/locales/quickApps.js.map +1 -0
  180. package/data/build/dist/client/locales/usage.d.ts.map +1 -1
  181. package/data/build/dist/client/locales/usage.js +150 -0
  182. package/data/build/dist/client/locales/usage.js.map +1 -1
  183. package/data/build/dist/client/magpie-model-tag.d.ts +16 -0
  184. package/data/build/dist/client/magpie-model-tag.d.ts.map +1 -0
  185. package/data/build/dist/client/magpie-model-tag.js +62 -0
  186. package/data/build/dist/client/magpie-model-tag.js.map +1 -0
  187. package/data/build/dist/client/mobile-team-panel-dom.d.ts +14 -0
  188. package/data/build/dist/client/mobile-team-panel-dom.d.ts.map +1 -0
  189. package/data/build/dist/client/mobile-team-panel-dom.js +164 -0
  190. package/data/build/dist/client/mobile-team-panel-dom.js.map +1 -0
  191. package/data/build/dist/client/model-catalog-cache.d.ts.map +1 -1
  192. package/data/build/dist/client/model-catalog-cache.js +66 -12
  193. package/data/build/dist/client/model-catalog-cache.js.map +1 -1
  194. package/data/build/dist/client/model-priority-pool.d.ts +23 -0
  195. package/data/build/dist/client/model-priority-pool.d.ts.map +1 -0
  196. package/data/build/dist/client/model-priority-pool.js +245 -0
  197. package/data/build/dist/client/model-priority-pool.js.map +1 -0
  198. package/data/build/dist/client/native-model-translation-menu.d.ts +13 -0
  199. package/data/build/dist/client/native-model-translation-menu.d.ts.map +1 -0
  200. package/data/build/dist/client/native-model-translation-menu.js +159 -0
  201. package/data/build/dist/client/native-model-translation-menu.js.map +1 -0
  202. package/data/build/dist/client/native-translation-default.d.ts +6 -0
  203. package/data/build/dist/client/native-translation-default.d.ts.map +1 -0
  204. package/data/build/dist/client/native-translation-default.js +30 -0
  205. package/data/build/dist/client/native-translation-default.js.map +1 -0
  206. package/data/build/dist/client/provider-icons.d.ts +8 -0
  207. package/data/build/dist/client/provider-icons.d.ts.map +1 -1
  208. package/data/build/dist/client/provider-icons.js +125 -3
  209. package/data/build/dist/client/provider-icons.js.map +1 -1
  210. package/data/build/dist/client/quick-apps/browser-storage.d.ts +24 -0
  211. package/data/build/dist/client/quick-apps/browser-storage.d.ts.map +1 -0
  212. package/data/build/dist/client/quick-apps/browser-storage.js +114 -0
  213. package/data/build/dist/client/quick-apps/browser-storage.js.map +1 -0
  214. package/data/build/dist/client/quick-apps/client.d.ts +31 -0
  215. package/data/build/dist/client/quick-apps/client.d.ts.map +1 -0
  216. package/data/build/dist/client/quick-apps/client.js +68 -0
  217. package/data/build/dist/client/quick-apps/client.js.map +1 -0
  218. package/data/build/dist/client/quick-apps/document.d.ts +26 -0
  219. package/data/build/dist/client/quick-apps/document.d.ts.map +1 -0
  220. package/data/build/dist/client/quick-apps/document.js +110 -0
  221. package/data/build/dist/client/quick-apps/document.js.map +1 -0
  222. package/data/build/dist/client/quick-apps/file-picker.d.ts +14 -0
  223. package/data/build/dist/client/quick-apps/file-picker.d.ts.map +1 -0
  224. package/data/build/dist/client/quick-apps/file-picker.js +51 -0
  225. package/data/build/dist/client/quick-apps/file-picker.js.map +1 -0
  226. package/data/build/dist/client/quick-apps/launcher.d.ts +7 -0
  227. package/data/build/dist/client/quick-apps/launcher.d.ts.map +1 -0
  228. package/data/build/dist/client/quick-apps/launcher.js +267 -0
  229. package/data/build/dist/client/quick-apps/launcher.js.map +1 -0
  230. package/data/build/dist/client/quick-apps/presentation.d.ts +16 -0
  231. package/data/build/dist/client/quick-apps/presentation.d.ts.map +1 -0
  232. package/data/build/dist/client/quick-apps/presentation.js +47 -0
  233. package/data/build/dist/client/quick-apps/presentation.js.map +1 -0
  234. package/data/build/dist/client/quick-apps/rail-preference.d.ts +5 -0
  235. package/data/build/dist/client/quick-apps/rail-preference.d.ts.map +1 -0
  236. package/data/build/dist/client/quick-apps/rail-preference.js +19 -0
  237. package/data/build/dist/client/quick-apps/rail-preference.js.map +1 -0
  238. package/data/build/dist/client/quick-apps/reorder-animation.d.ts +6 -0
  239. package/data/build/dist/client/quick-apps/reorder-animation.d.ts.map +1 -0
  240. package/data/build/dist/client/quick-apps/reorder-animation.js +50 -0
  241. package/data/build/dist/client/quick-apps/reorder-animation.js.map +1 -0
  242. package/data/build/dist/client/quick-apps/reorder.d.ts +26 -0
  243. package/data/build/dist/client/quick-apps/reorder.d.ts.map +1 -0
  244. package/data/build/dist/client/quick-apps/reorder.js +128 -0
  245. package/data/build/dist/client/quick-apps/reorder.js.map +1 -0
  246. package/data/build/dist/client/quick-apps/styles.d.ts +3 -0
  247. package/data/build/dist/client/quick-apps/styles.d.ts.map +1 -0
  248. package/data/build/dist/client/quick-apps/styles.js +153 -0
  249. package/data/build/dist/client/quick-apps/styles.js.map +1 -0
  250. package/data/build/dist/client/quick-apps/ui.d.ts +20 -0
  251. package/data/build/dist/client/quick-apps/ui.d.ts.map +1 -0
  252. package/data/build/dist/client/quick-apps/ui.js +21 -0
  253. package/data/build/dist/client/quick-apps/ui.js.map +1 -0
  254. package/data/build/dist/client/quick-apps/viewer.d.ts +16 -0
  255. package/data/build/dist/client/quick-apps/viewer.d.ts.map +1 -0
  256. package/data/build/dist/client/quick-apps/viewer.js +165 -0
  257. package/data/build/dist/client/quick-apps/viewer.js.map +1 -0
  258. package/data/build/dist/client/quick-apps/workspace-picker.d.ts +19 -0
  259. package/data/build/dist/client/quick-apps/workspace-picker.d.ts.map +1 -0
  260. package/data/build/dist/client/quick-apps/workspace-picker.js +30 -0
  261. package/data/build/dist/client/quick-apps/workspace-picker.js.map +1 -0
  262. package/data/build/dist/client/session-translation-chat.d.ts +68 -2
  263. package/data/build/dist/client/session-translation-chat.d.ts.map +1 -1
  264. package/data/build/dist/client/session-translation-chat.js +297 -109
  265. package/data/build/dist/client/session-translation-chat.js.map +1 -1
  266. package/data/build/dist/client/session-translation-interactions.d.ts +31 -0
  267. package/data/build/dist/client/session-translation-interactions.d.ts.map +1 -0
  268. package/data/build/dist/client/session-translation-interactions.js +158 -0
  269. package/data/build/dist/client/session-translation-interactions.js.map +1 -0
  270. package/data/build/dist/client/session-translation-pending-dom.d.ts +8 -0
  271. package/data/build/dist/client/session-translation-pending-dom.d.ts.map +1 -0
  272. package/data/build/dist/client/session-translation-pending-dom.js +58 -0
  273. package/data/build/dist/client/session-translation-pending-dom.js.map +1 -0
  274. package/data/build/dist/client/session-translation-retry.d.ts +16 -0
  275. package/data/build/dist/client/session-translation-retry.d.ts.map +1 -0
  276. package/data/build/dist/client/session-translation-retry.js +66 -0
  277. package/data/build/dist/client/session-translation-retry.js.map +1 -0
  278. package/data/build/dist/client/session-translation-rules.d.ts +13 -0
  279. package/data/build/dist/client/session-translation-rules.d.ts.map +1 -0
  280. package/data/build/dist/client/session-translation-rules.js +58 -0
  281. package/data/build/dist/client/session-translation-rules.js.map +1 -0
  282. package/data/build/dist/client/settings-bridge.d.ts +1 -0
  283. package/data/build/dist/client/settings-bridge.d.ts.map +1 -1
  284. package/data/build/dist/client/settings-bridge.js +29 -10
  285. package/data/build/dist/client/settings-bridge.js.map +1 -1
  286. package/data/build/dist/client/settings-section.d.ts.map +1 -1
  287. package/data/build/dist/client/settings-section.js +21 -3
  288. package/data/build/dist/client/settings-section.js.map +1 -1
  289. package/data/build/dist/client/sidebar-footer-style.d.ts +13 -0
  290. package/data/build/dist/client/sidebar-footer-style.d.ts.map +1 -0
  291. package/data/build/dist/client/sidebar-footer-style.js +54 -0
  292. package/data/build/dist/client/sidebar-footer-style.js.map +1 -0
  293. package/data/build/dist/client/style.css +279 -276
  294. package/data/build/dist/client/subscription-slot.d.ts +26 -2
  295. package/data/build/dist/client/subscription-slot.d.ts.map +1 -1
  296. package/data/build/dist/client/subscription-slot.js +679 -24
  297. package/data/build/dist/client/subscription-slot.js.map +1 -1
  298. package/data/build/dist/client/terminal/model.d.ts.map +1 -1
  299. package/data/build/dist/client/terminal/model.js +2 -1
  300. package/data/build/dist/client/terminal/model.js.map +1 -1
  301. package/data/build/dist/client/workspace-session-archive-dom.d.ts +1 -0
  302. package/data/build/dist/client/workspace-session-archive-dom.d.ts.map +1 -1
  303. package/data/build/dist/client/workspace-session-archive-dom.js +68 -8
  304. package/data/build/dist/client/workspace-session-archive-dom.js.map +1 -1
  305. package/data/build/dist/client/workspace-session-rightbar-dom.d.ts.map +1 -1
  306. package/data/build/dist/client/workspace-session-rightbar-dom.js +12 -21
  307. package/data/build/dist/client/workspace-session-rightbar-dom.js.map +1 -1
  308. package/data/build/dist/client/workspace-session-visibility-dom.d.ts +3 -0
  309. package/data/build/dist/client/workspace-session-visibility-dom.d.ts.map +1 -1
  310. package/data/build/dist/client/workspace-session-visibility-dom.js +43 -10
  311. package/data/build/dist/client/workspace-session-visibility-dom.js.map +1 -1
  312. package/data/build/dist/dsh-capabilities/client/composer-presentation-adapter.d.ts +8 -0
  313. package/data/build/dist/dsh-capabilities/client/composer-presentation-adapter.d.ts.map +1 -0
  314. package/data/build/dist/dsh-capabilities/client/composer-presentation-adapter.js +71 -0
  315. package/data/build/dist/dsh-capabilities/client/composer-presentation-adapter.js.map +1 -0
  316. package/data/build/dist/dsh-capabilities/client/composer-slot-selectors.d.ts +4 -0
  317. package/data/build/dist/dsh-capabilities/client/composer-slot-selectors.d.ts.map +1 -0
  318. package/data/build/dist/dsh-capabilities/client/composer-slot-selectors.js +8 -0
  319. package/data/build/dist/dsh-capabilities/client/composer-slot-selectors.js.map +1 -0
  320. package/data/build/dist/dsh-capabilities/client/global-panel-adapter.d.ts +27 -0
  321. package/data/build/dist/dsh-capabilities/client/global-panel-adapter.d.ts.map +1 -0
  322. package/data/build/dist/dsh-capabilities/client/global-panel-adapter.js +109 -0
  323. package/data/build/dist/dsh-capabilities/client/global-panel-adapter.js.map +1 -0
  324. package/data/build/dist/dsh-capabilities/client/interaction-presentation-adapter.d.ts +30 -0
  325. package/data/build/dist/dsh-capabilities/client/interaction-presentation-adapter.d.ts.map +1 -0
  326. package/data/build/dist/dsh-capabilities/client/interaction-presentation-adapter.js +93 -0
  327. package/data/build/dist/dsh-capabilities/client/interaction-presentation-adapter.js.map +1 -0
  328. package/data/build/dist/dsh-capabilities/client/interaction-text-dom.d.ts +12 -0
  329. package/data/build/dist/dsh-capabilities/client/interaction-text-dom.d.ts.map +1 -0
  330. package/data/build/dist/dsh-capabilities/client/interaction-text-dom.js +181 -0
  331. package/data/build/dist/dsh-capabilities/client/interaction-text-dom.js.map +1 -0
  332. package/data/build/dist/dsh-capabilities/client/message-presentation-adapter.d.ts +19 -0
  333. package/data/build/dist/dsh-capabilities/client/message-presentation-adapter.d.ts.map +1 -0
  334. package/data/build/dist/dsh-capabilities/client/message-presentation-adapter.js +39 -0
  335. package/data/build/dist/dsh-capabilities/client/message-presentation-adapter.js.map +1 -0
  336. package/data/build/dist/dsh-capabilities/client/peer-host-attachment-adapter.d.ts +3 -0
  337. package/data/build/dist/dsh-capabilities/client/peer-host-attachment-adapter.d.ts.map +1 -0
  338. package/data/build/dist/dsh-capabilities/client/peer-host-attachment-adapter.js +27 -0
  339. package/data/build/dist/dsh-capabilities/client/peer-host-attachment-adapter.js.map +1 -0
  340. package/data/build/dist/dsh-capabilities/client/primitives-adapter.d.ts +36 -0
  341. package/data/build/dist/dsh-capabilities/client/primitives-adapter.d.ts.map +1 -1
  342. package/data/build/dist/dsh-capabilities/client/primitives-adapter.js +88 -0
  343. package/data/build/dist/dsh-capabilities/client/primitives-adapter.js.map +1 -1
  344. package/data/build/dist/dsh-capabilities/client/question-history-adapter.d.ts +20 -0
  345. package/data/build/dist/dsh-capabilities/client/question-history-adapter.d.ts.map +1 -0
  346. package/data/build/dist/dsh-capabilities/client/question-history-adapter.js +65 -0
  347. package/data/build/dist/dsh-capabilities/client/question-history-adapter.js.map +1 -0
  348. package/data/build/dist/dsh-capabilities/client/quick-app-footer-adapter.d.ts +18 -0
  349. package/data/build/dist/dsh-capabilities/client/quick-app-footer-adapter.d.ts.map +1 -0
  350. package/data/build/dist/dsh-capabilities/client/quick-app-footer-adapter.js +11 -0
  351. package/data/build/dist/dsh-capabilities/client/quick-app-footer-adapter.js.map +1 -0
  352. package/data/build/dist/dsh-capabilities/client/session-performance-adapter.d.ts +9 -0
  353. package/data/build/dist/dsh-capabilities/client/session-performance-adapter.d.ts.map +1 -0
  354. package/data/build/dist/dsh-capabilities/client/session-performance-adapter.js +75 -0
  355. package/data/build/dist/dsh-capabilities/client/session-performance-adapter.js.map +1 -0
  356. package/data/build/dist/dsh-capabilities/client/sidebar-footer-icon-adapter.d.ts +3 -0
  357. package/data/build/dist/dsh-capabilities/client/sidebar-footer-icon-adapter.d.ts.map +1 -0
  358. package/data/build/dist/dsh-capabilities/client/sidebar-footer-icon-adapter.js +22 -0
  359. package/data/build/dist/dsh-capabilities/client/sidebar-footer-icon-adapter.js.map +1 -0
  360. package/data/build/dist/dsh-capabilities/client/slot-presentation-mirror.d.ts +32 -0
  361. package/data/build/dist/dsh-capabilities/client/slot-presentation-mirror.d.ts.map +1 -0
  362. package/data/build/dist/dsh-capabilities/client/slot-presentation-mirror.js +90 -0
  363. package/data/build/dist/dsh-capabilities/client/slot-presentation-mirror.js.map +1 -0
  364. package/data/build/dist/dsh-capabilities/host/agent-team-adapter.d.ts +52 -0
  365. package/data/build/dist/dsh-capabilities/host/agent-team-adapter.d.ts.map +1 -0
  366. package/data/build/dist/dsh-capabilities/host/agent-team-adapter.js +109 -0
  367. package/data/build/dist/dsh-capabilities/host/agent-team-adapter.js.map +1 -0
  368. package/data/build/dist/dsh-capabilities/host/connection-peer-adapter.d.ts +10 -0
  369. package/data/build/dist/dsh-capabilities/host/connection-peer-adapter.d.ts.map +1 -0
  370. package/data/build/dist/dsh-capabilities/host/connection-peer-adapter.js +34 -0
  371. package/data/build/dist/dsh-capabilities/host/connection-peer-adapter.js.map +1 -0
  372. package/data/build/dist/dsh-capabilities/host/native-dispatch-adapter.d.ts +21 -0
  373. package/data/build/dist/dsh-capabilities/host/native-dispatch-adapter.d.ts.map +1 -0
  374. package/data/build/dist/dsh-capabilities/host/native-dispatch-adapter.js +11 -0
  375. package/data/build/dist/dsh-capabilities/host/native-dispatch-adapter.js.map +1 -0
  376. package/data/build/dist/dsh-capabilities/host/quick-app-credentials.d.ts +11 -0
  377. package/data/build/dist/dsh-capabilities/host/quick-app-credentials.d.ts.map +1 -0
  378. package/data/build/dist/dsh-capabilities/host/quick-app-credentials.js +97 -0
  379. package/data/build/dist/dsh-capabilities/host/quick-app-credentials.js.map +1 -0
  380. package/data/build/dist/dsh-capabilities/host/quick-app-https-provider.d.ts +36 -0
  381. package/data/build/dist/dsh-capabilities/host/quick-app-https-provider.d.ts.map +1 -0
  382. package/data/build/dist/dsh-capabilities/host/quick-app-https-provider.js +164 -0
  383. package/data/build/dist/dsh-capabilities/host/quick-app-https-provider.js.map +1 -0
  384. package/data/build/dist/dsh-capabilities/host/quick-app-lan-ports.d.ts +44 -0
  385. package/data/build/dist/dsh-capabilities/host/quick-app-lan-ports.d.ts.map +1 -0
  386. package/data/build/dist/dsh-capabilities/host/quick-app-lan-ports.js +240 -0
  387. package/data/build/dist/dsh-capabilities/host/quick-app-lan-ports.js.map +1 -0
  388. package/data/build/dist/dsh-capabilities/host/quick-app-origin-adapter.d.ts +37 -0
  389. package/data/build/dist/dsh-capabilities/host/quick-app-origin-adapter.d.ts.map +1 -0
  390. package/data/build/dist/dsh-capabilities/host/quick-app-origin-adapter.js +35 -0
  391. package/data/build/dist/dsh-capabilities/host/quick-app-origin-adapter.js.map +1 -0
  392. package/data/build/dist/dsh-capabilities/host/quick-app-proxy-adapter.d.ts +13 -0
  393. package/data/build/dist/dsh-capabilities/host/quick-app-proxy-adapter.d.ts.map +1 -0
  394. package/data/build/dist/dsh-capabilities/host/quick-app-proxy-adapter.js +30 -0
  395. package/data/build/dist/dsh-capabilities/host/quick-app-proxy-adapter.js.map +1 -0
  396. package/data/build/dist/dsh-capabilities/host/quick-app-proxy-provider.d.ts +21 -0
  397. package/data/build/dist/dsh-capabilities/host/quick-app-proxy-provider.d.ts.map +1 -0
  398. package/data/build/dist/dsh-capabilities/host/quick-app-proxy-provider.js +132 -0
  399. package/data/build/dist/dsh-capabilities/host/quick-app-proxy-provider.js.map +1 -0
  400. package/data/build/dist/dsh-capabilities/host/quick-app-transport.d.ts +10 -0
  401. package/data/build/dist/dsh-capabilities/host/quick-app-transport.d.ts.map +1 -0
  402. package/data/build/dist/dsh-capabilities/host/quick-app-transport.js +33 -0
  403. package/data/build/dist/dsh-capabilities/host/quick-app-transport.js.map +1 -0
  404. package/data/build/dist/dsh-capabilities/host/session-activation-adapter.d.ts +17 -0
  405. package/data/build/dist/dsh-capabilities/host/session-activation-adapter.d.ts.map +1 -0
  406. package/data/build/dist/dsh-capabilities/host/session-activation-adapter.js +37 -0
  407. package/data/build/dist/dsh-capabilities/host/session-activation-adapter.js.map +1 -0
  408. package/data/build/dist/dsh-capabilities/host/session-model-selection-adapter.d.ts +17 -0
  409. package/data/build/dist/dsh-capabilities/host/session-model-selection-adapter.d.ts.map +1 -0
  410. package/data/build/dist/dsh-capabilities/host/session-model-selection-adapter.js +45 -0
  411. package/data/build/dist/dsh-capabilities/host/session-model-selection-adapter.js.map +1 -0
  412. package/data/build/dist/dsh-capabilities/host/session-performance-adapter.d.ts +7 -0
  413. package/data/build/dist/dsh-capabilities/host/session-performance-adapter.d.ts.map +1 -0
  414. package/data/build/dist/dsh-capabilities/host/session-performance-adapter.js +18 -0
  415. package/data/build/dist/dsh-capabilities/host/session-performance-adapter.js.map +1 -0
  416. package/data/build/dist/dsh-capabilities/host/session-prompt-adapter.d.ts +28 -0
  417. package/data/build/dist/dsh-capabilities/host/session-prompt-adapter.d.ts.map +1 -0
  418. package/data/build/dist/dsh-capabilities/host/session-prompt-adapter.js +31 -0
  419. package/data/build/dist/dsh-capabilities/host/session-prompt-adapter.js.map +1 -0
  420. package/data/build/dist/dsh-capabilities/host/session-title-adapter.d.ts +2 -1
  421. package/data/build/dist/dsh-capabilities/host/session-title-adapter.d.ts.map +1 -1
  422. package/data/build/dist/dsh-capabilities/host/session-title-adapter.js +32 -2
  423. package/data/build/dist/dsh-capabilities/host/session-title-adapter.js.map +1 -1
  424. package/data/build/dist/dsh-capabilities/host/workspace-directory-adapter.d.ts +13 -0
  425. package/data/build/dist/dsh-capabilities/host/workspace-directory-adapter.d.ts.map +1 -0
  426. package/data/build/dist/dsh-capabilities/host/workspace-directory-adapter.js +24 -0
  427. package/data/build/dist/dsh-capabilities/host/workspace-directory-adapter.js.map +1 -0
  428. package/data/build/dist/dsh-capabilities/matrix.d.ts.map +1 -1
  429. package/data/build/dist/dsh-capabilities/matrix.js +23 -5
  430. package/data/build/dist/dsh-capabilities/matrix.js.map +1 -1
  431. package/data/build/dist/dsh-capabilities/routes.d.ts +1 -0
  432. package/data/build/dist/dsh-capabilities/routes.d.ts.map +1 -1
  433. package/data/build/dist/dsh-capabilities/routes.js +50 -3
  434. package/data/build/dist/dsh-capabilities/routes.js.map +1 -1
  435. package/data/build/dist/dsh-capabilities/types.d.ts +1 -1
  436. package/data/build/dist/dsh-capabilities/types.d.ts.map +1 -1
  437. package/data/build/dist/dsh-capabilities/types.js.map +1 -1
  438. package/data/build/dist/host/cli-adapters/acp-cli-driver.d.ts +27 -0
  439. package/data/build/dist/host/cli-adapters/acp-cli-driver.d.ts.map +1 -1
  440. package/data/build/dist/host/cli-adapters/acp-cli-driver.js +94 -16
  441. package/data/build/dist/host/cli-adapters/acp-cli-driver.js.map +1 -1
  442. package/data/build/dist/host/cli-adapters/antigravity-driver.js +1 -1
  443. package/data/build/dist/host/cli-adapters/antigravity-driver.js.map +1 -1
  444. package/data/build/dist/host/cli-adapters/attachment-utils.d.ts +4 -3
  445. package/data/build/dist/host/cli-adapters/attachment-utils.d.ts.map +1 -1
  446. package/data/build/dist/host/cli-adapters/attachment-utils.js +9 -8
  447. package/data/build/dist/host/cli-adapters/attachment-utils.js.map +1 -1
  448. package/data/build/dist/host/cli-adapters/binary-detection.d.ts.map +1 -1
  449. package/data/build/dist/host/cli-adapters/binary-detection.js +7 -3
  450. package/data/build/dist/host/cli-adapters/binary-detection.js.map +1 -1
  451. package/data/build/dist/host/cli-adapters/claude-driver.d.ts +1 -0
  452. package/data/build/dist/host/cli-adapters/claude-driver.d.ts.map +1 -1
  453. package/data/build/dist/host/cli-adapters/claude-driver.js +184 -21
  454. package/data/build/dist/host/cli-adapters/claude-driver.js.map +1 -1
  455. package/data/build/dist/host/cli-adapters/codex-driver.d.ts +28 -0
  456. package/data/build/dist/host/cli-adapters/codex-driver.d.ts.map +1 -1
  457. package/data/build/dist/host/cli-adapters/codex-driver.js +158 -22
  458. package/data/build/dist/host/cli-adapters/codex-driver.js.map +1 -1
  459. package/data/build/dist/host/cli-adapters/codex-performance-projection.d.ts +91 -0
  460. package/data/build/dist/host/cli-adapters/codex-performance-projection.d.ts.map +1 -0
  461. package/data/build/dist/host/cli-adapters/codex-performance-projection.js +8 -0
  462. package/data/build/dist/host/cli-adapters/codex-performance-projection.js.map +1 -0
  463. package/data/build/dist/host/cli-adapters/codex-performance.d.ts +16 -0
  464. package/data/build/dist/host/cli-adapters/codex-performance.d.ts.map +1 -0
  465. package/data/build/dist/host/cli-adapters/codex-performance.js +81 -0
  466. package/data/build/dist/host/cli-adapters/codex-performance.js.map +1 -0
  467. package/data/build/dist/host/cli-adapters/command-code-acp-loader.d.ts +6 -2
  468. package/data/build/dist/host/cli-adapters/command-code-acp-loader.d.ts.map +1 -1
  469. package/data/build/dist/host/cli-adapters/command-code-acp-loader.js +198 -26
  470. package/data/build/dist/host/cli-adapters/command-code-acp-loader.js.map +1 -1
  471. package/data/build/dist/host/cli-adapters/command-code-driver.d.ts.map +1 -1
  472. package/data/build/dist/host/cli-adapters/command-code-driver.js +33 -5
  473. package/data/build/dist/host/cli-adapters/command-code-driver.js.map +1 -1
  474. package/data/build/dist/host/cli-adapters/desktop-app-runtime.d.ts +3 -1
  475. package/data/build/dist/host/cli-adapters/desktop-app-runtime.d.ts.map +1 -1
  476. package/data/build/dist/host/cli-adapters/desktop-app-runtime.js +41 -4
  477. package/data/build/dist/host/cli-adapters/desktop-app-runtime.js.map +1 -1
  478. package/data/build/dist/host/cli-adapters/driver.d.ts +2 -0
  479. package/data/build/dist/host/cli-adapters/driver.d.ts.map +1 -1
  480. package/data/build/dist/host/cli-adapters/dsh-message-projector.d.ts +5 -1
  481. package/data/build/dist/host/cli-adapters/dsh-message-projector.d.ts.map +1 -1
  482. package/data/build/dist/host/cli-adapters/dsh-message-projector.js +65 -17
  483. package/data/build/dist/host/cli-adapters/dsh-message-projector.js.map +1 -1
  484. package/data/build/dist/host/cli-adapters/dsh-tool-history.js +3 -2
  485. package/data/build/dist/host/cli-adapters/dsh-tool-history.js.map +1 -1
  486. package/data/build/dist/host/cli-adapters/dsh-virtual-providers.d.ts.map +1 -1
  487. package/data/build/dist/host/cli-adapters/dsh-virtual-providers.js +3 -2
  488. package/data/build/dist/host/cli-adapters/dsh-virtual-providers.js.map +1 -1
  489. package/data/build/dist/host/cli-adapters/feature.d.ts +17 -0
  490. package/data/build/dist/host/cli-adapters/feature.d.ts.map +1 -1
  491. package/data/build/dist/host/cli-adapters/feature.js +972 -102
  492. package/data/build/dist/host/cli-adapters/feature.js.map +1 -1
  493. package/data/build/dist/host/cli-adapters/gemini-driver.d.ts.map +1 -1
  494. package/data/build/dist/host/cli-adapters/gemini-driver.js +5 -3
  495. package/data/build/dist/host/cli-adapters/gemini-driver.js.map +1 -1
  496. package/data/build/dist/host/cli-adapters/grok-driver.d.ts +7 -0
  497. package/data/build/dist/host/cli-adapters/grok-driver.d.ts.map +1 -1
  498. package/data/build/dist/host/cli-adapters/grok-driver.js +463 -59
  499. package/data/build/dist/host/cli-adapters/grok-driver.js.map +1 -1
  500. package/data/build/dist/host/cli-adapters/grok-performance-projection.d.ts +123 -0
  501. package/data/build/dist/host/cli-adapters/grok-performance-projection.d.ts.map +1 -0
  502. package/data/build/dist/host/cli-adapters/grok-performance-projection.js +48 -0
  503. package/data/build/dist/host/cli-adapters/grok-performance-projection.js.map +1 -0
  504. package/data/build/dist/host/cli-adapters/grok-usage.d.ts +45 -0
  505. package/data/build/dist/host/cli-adapters/grok-usage.d.ts.map +1 -0
  506. package/data/build/dist/host/cli-adapters/grok-usage.js +197 -0
  507. package/data/build/dist/host/cli-adapters/grok-usage.js.map +1 -0
  508. package/data/build/dist/host/cli-adapters/kimi-driver.js +2 -2
  509. package/data/build/dist/host/cli-adapters/kimi-driver.js.map +1 -1
  510. package/data/build/dist/host/cli-adapters/legacy-session-adapter.d.ts.map +1 -1
  511. package/data/build/dist/host/cli-adapters/legacy-session-adapter.js +20 -3
  512. package/data/build/dist/host/cli-adapters/legacy-session-adapter.js.map +1 -1
  513. package/data/build/dist/host/cli-adapters/magpie-detection.d.ts +72 -0
  514. package/data/build/dist/host/cli-adapters/magpie-detection.d.ts.map +1 -0
  515. package/data/build/dist/host/cli-adapters/magpie-detection.js +298 -0
  516. package/data/build/dist/host/cli-adapters/magpie-detection.js.map +1 -0
  517. package/data/build/dist/host/cli-adapters/magpie-management.d.ts +50 -0
  518. package/data/build/dist/host/cli-adapters/magpie-management.d.ts.map +1 -0
  519. package/data/build/dist/host/cli-adapters/magpie-management.js +1268 -0
  520. package/data/build/dist/host/cli-adapters/magpie-management.js.map +1 -0
  521. package/data/build/dist/host/cli-adapters/magpie-session-routing.d.ts +9 -0
  522. package/data/build/dist/host/cli-adapters/magpie-session-routing.d.ts.map +1 -0
  523. package/data/build/dist/host/cli-adapters/magpie-session-routing.js +90 -0
  524. package/data/build/dist/host/cli-adapters/magpie-session-routing.js.map +1 -0
  525. package/data/build/dist/host/cli-adapters/magpie-update.d.ts +59 -0
  526. package/data/build/dist/host/cli-adapters/magpie-update.d.ts.map +1 -0
  527. package/data/build/dist/host/cli-adapters/magpie-update.js +249 -0
  528. package/data/build/dist/host/cli-adapters/magpie-update.js.map +1 -0
  529. package/data/build/dist/host/cli-adapters/magpie-usage.d.ts +148 -0
  530. package/data/build/dist/host/cli-adapters/magpie-usage.d.ts.map +1 -0
  531. package/data/build/dist/host/cli-adapters/magpie-usage.js +1710 -0
  532. package/data/build/dist/host/cli-adapters/magpie-usage.js.map +1 -0
  533. package/data/build/dist/host/cli-adapters/magpie-web.d.ts +54 -0
  534. package/data/build/dist/host/cli-adapters/magpie-web.d.ts.map +1 -0
  535. package/data/build/dist/host/cli-adapters/magpie-web.js +407 -0
  536. package/data/build/dist/host/cli-adapters/magpie-web.js.map +1 -0
  537. package/data/build/dist/host/cli-adapters/management-installation.d.ts +5 -0
  538. package/data/build/dist/host/cli-adapters/management-installation.d.ts.map +1 -0
  539. package/data/build/dist/host/cli-adapters/management-installation.js +131 -0
  540. package/data/build/dist/host/cli-adapters/management-installation.js.map +1 -0
  541. package/data/build/dist/host/cli-adapters/management-methods.d.ts +37 -0
  542. package/data/build/dist/host/cli-adapters/management-methods.d.ts.map +1 -0
  543. package/data/build/dist/host/cli-adapters/management-methods.js +144 -0
  544. package/data/build/dist/host/cli-adapters/management-methods.js.map +1 -0
  545. package/data/build/dist/host/cli-adapters/management-process.d.ts +7 -0
  546. package/data/build/dist/host/cli-adapters/management-process.d.ts.map +1 -0
  547. package/data/build/dist/host/cli-adapters/management-process.js +62 -0
  548. package/data/build/dist/host/cli-adapters/management-process.js.map +1 -0
  549. package/data/build/dist/host/cli-adapters/management.d.ts +32 -0
  550. package/data/build/dist/host/cli-adapters/management.d.ts.map +1 -0
  551. package/data/build/dist/host/cli-adapters/management.js +177 -0
  552. package/data/build/dist/host/cli-adapters/management.js.map +1 -0
  553. package/data/build/dist/host/cli-adapters/mcode-driver.d.ts.map +1 -1
  554. package/data/build/dist/host/cli-adapters/mcode-driver.js +12 -5
  555. package/data/build/dist/host/cli-adapters/mcode-driver.js.map +1 -1
  556. package/data/build/dist/host/cli-adapters/model-catalog.d.ts +1 -0
  557. package/data/build/dist/host/cli-adapters/model-catalog.d.ts.map +1 -1
  558. package/data/build/dist/host/cli-adapters/model-catalog.js +70 -7
  559. package/data/build/dist/host/cli-adapters/model-catalog.js.map +1 -1
  560. package/data/build/dist/host/cli-adapters/native-subagent-dispatch.d.ts +1 -1
  561. package/data/build/dist/host/cli-adapters/native-subagent-dispatch.d.ts.map +1 -1
  562. package/data/build/dist/host/cli-adapters/native-subagent-dispatch.js +13 -5
  563. package/data/build/dist/host/cli-adapters/native-subagent-dispatch.js.map +1 -1
  564. package/data/build/dist/host/cli-adapters/native-team-subagent.d.ts +7 -1
  565. package/data/build/dist/host/cli-adapters/native-team-subagent.d.ts.map +1 -1
  566. package/data/build/dist/host/cli-adapters/native-team-subagent.js +6 -3
  567. package/data/build/dist/host/cli-adapters/native-team-subagent.js.map +1 -1
  568. package/data/build/dist/host/cli-adapters/opencode-driver.d.ts +22 -0
  569. package/data/build/dist/host/cli-adapters/opencode-driver.d.ts.map +1 -1
  570. package/data/build/dist/host/cli-adapters/opencode-driver.js +105 -17
  571. package/data/build/dist/host/cli-adapters/opencode-driver.js.map +1 -1
  572. package/data/build/dist/host/cli-adapters/opencode-v2-protocol.js +4 -1
  573. package/data/build/dist/host/cli-adapters/opencode-v2-protocol.js.map +1 -1
  574. package/data/build/dist/host/cli-adapters/pi-driver.d.ts.map +1 -1
  575. package/data/build/dist/host/cli-adapters/pi-driver.js +45 -11
  576. package/data/build/dist/host/cli-adapters/pi-driver.js.map +1 -1
  577. package/data/build/dist/host/cli-adapters/process-utils.d.ts +4 -0
  578. package/data/build/dist/host/cli-adapters/process-utils.d.ts.map +1 -1
  579. package/data/build/dist/host/cli-adapters/process-utils.js +20 -11
  580. package/data/build/dist/host/cli-adapters/process-utils.js.map +1 -1
  581. package/data/build/dist/host/cli-adapters/registry.d.ts +7 -1
  582. package/data/build/dist/host/cli-adapters/registry.d.ts.map +1 -1
  583. package/data/build/dist/host/cli-adapters/registry.js +141 -51
  584. package/data/build/dist/host/cli-adapters/registry.js.map +1 -1
  585. package/data/build/dist/host/cli-adapters/session-performance-projection.d.ts +74 -0
  586. package/data/build/dist/host/cli-adapters/session-performance-projection.d.ts.map +1 -0
  587. package/data/build/dist/host/cli-adapters/session-performance-projection.js +83 -0
  588. package/data/build/dist/host/cli-adapters/session-performance-projection.js.map +1 -0
  589. package/data/build/dist/host/cli-adapters/standard-stream-driver.d.ts.map +1 -1
  590. package/data/build/dist/host/cli-adapters/standard-stream-driver.js +4 -0
  591. package/data/build/dist/host/cli-adapters/standard-stream-driver.js.map +1 -1
  592. package/data/build/dist/host/cli-adapters/stream-normalizer.d.ts +3 -1
  593. package/data/build/dist/host/cli-adapters/stream-normalizer.d.ts.map +1 -1
  594. package/data/build/dist/host/cli-adapters/stream-normalizer.js +2 -0
  595. package/data/build/dist/host/cli-adapters/stream-normalizer.js.map +1 -1
  596. package/data/build/dist/host/cli-adapters/subagent-tool-descriptions.d.ts +26 -0
  597. package/data/build/dist/host/cli-adapters/subagent-tool-descriptions.d.ts.map +1 -0
  598. package/data/build/dist/host/cli-adapters/subagent-tool-descriptions.js +30 -0
  599. package/data/build/dist/host/cli-adapters/subagent-tool-descriptions.js.map +1 -0
  600. package/data/build/dist/host/cli-adapters/subagent-tool.d.ts.map +1 -1
  601. package/data/build/dist/host/cli-adapters/subagent-tool.js +7 -6
  602. package/data/build/dist/host/cli-adapters/subagent-tool.js.map +1 -1
  603. package/data/build/dist/host/cli-adapters/team-input.d.ts +17 -0
  604. package/data/build/dist/host/cli-adapters/team-input.d.ts.map +1 -0
  605. package/data/build/dist/host/cli-adapters/team-input.js +67 -0
  606. package/data/build/dist/host/cli-adapters/team-input.js.map +1 -0
  607. package/data/build/dist/host/cli-adapters/update-check.d.ts +34 -0
  608. package/data/build/dist/host/cli-adapters/update-check.d.ts.map +1 -0
  609. package/data/build/dist/host/cli-adapters/update-check.js +263 -0
  610. package/data/build/dist/host/cli-adapters/update-check.js.map +1 -0
  611. package/data/build/dist/host/cli-adapters/zcode-driver.d.ts.map +1 -1
  612. package/data/build/dist/host/cli-adapters/zcode-driver.js +7 -2
  613. package/data/build/dist/host/cli-adapters/zcode-driver.js.map +1 -1
  614. package/data/build/dist/host/cli-adapters/zcode-update.d.ts +8 -0
  615. package/data/build/dist/host/cli-adapters/zcode-update.d.ts.map +1 -0
  616. package/data/build/dist/host/cli-adapters/zcode-update.js +149 -0
  617. package/data/build/dist/host/cli-adapters/zcode-update.js.map +1 -0
  618. package/data/build/dist/host/cli-bridge/bridge-holder.d.ts +14 -0
  619. package/data/build/dist/host/cli-bridge/bridge-holder.d.ts.map +1 -1
  620. package/data/build/dist/host/cli-bridge/bridge-holder.js +53 -6
  621. package/data/build/dist/host/cli-bridge/bridge-holder.js.map +1 -1
  622. package/data/build/dist/host/cli-bridge/bridge-server.d.ts +8 -0
  623. package/data/build/dist/host/cli-bridge/bridge-server.d.ts.map +1 -1
  624. package/data/build/dist/host/cli-bridge/bridge-server.js +63 -6
  625. package/data/build/dist/host/cli-bridge/bridge-server.js.map +1 -1
  626. package/data/build/dist/host/cli-bridge/command-code-mod.d.ts.map +1 -1
  627. package/data/build/dist/host/cli-bridge/command-code-mod.js +128 -0
  628. package/data/build/dist/host/cli-bridge/command-code-mod.js.map +1 -1
  629. package/data/build/dist/host/cli-bridge/dispatch.js +1 -1
  630. package/data/build/dist/host/cli-bridge/dispatch.js.map +1 -1
  631. package/data/build/dist/host/cli-bridge/fetch-dispatch.d.ts +23 -0
  632. package/data/build/dist/host/cli-bridge/fetch-dispatch.d.ts.map +1 -0
  633. package/data/build/dist/host/cli-bridge/fetch-dispatch.js +73 -0
  634. package/data/build/dist/host/cli-bridge/fetch-dispatch.js.map +1 -0
  635. package/data/build/dist/host/cli-bridge/injections.d.ts +14 -0
  636. package/data/build/dist/host/cli-bridge/injections.d.ts.map +1 -1
  637. package/data/build/dist/host/cli-bridge/injections.js +69 -7
  638. package/data/build/dist/host/cli-bridge/injections.js.map +1 -1
  639. package/data/build/dist/host/cli-bridge/mcp-stdio-entry.d.ts +1 -1
  640. package/data/build/dist/host/cli-bridge/mcp-stdio-entry.js +102 -7
  641. package/data/build/dist/host/cli-bridge/mcp-stdio-entry.js.map +1 -1
  642. package/data/build/dist/host/cli-bridge/pi-extension-entry.d.ts +3 -0
  643. package/data/build/dist/host/cli-bridge/pi-extension-entry.d.ts.map +1 -0
  644. package/data/build/dist/host/cli-bridge/pi-extension-entry.js +9 -0
  645. package/data/build/dist/host/cli-bridge/pi-extension-entry.js.map +1 -0
  646. package/data/build/dist/host/cli-bridge/pi-extension.d.ts +52 -0
  647. package/data/build/dist/host/cli-bridge/pi-extension.d.ts.map +1 -0
  648. package/data/build/dist/host/cli-bridge/pi-extension.js +311 -0
  649. package/data/build/dist/host/cli-bridge/pi-extension.js.map +1 -0
  650. package/data/build/dist/host/cli-bridge/search-dispatch.d.ts +20 -0
  651. package/data/build/dist/host/cli-bridge/search-dispatch.d.ts.map +1 -0
  652. package/data/build/dist/host/cli-bridge/search-dispatch.js +61 -0
  653. package/data/build/dist/host/cli-bridge/search-dispatch.js.map +1 -0
  654. package/data/build/dist/host/cli-bridge/team-adapters.d.ts +11 -0
  655. package/data/build/dist/host/cli-bridge/team-adapters.d.ts.map +1 -0
  656. package/data/build/dist/host/cli-bridge/team-adapters.js +23 -0
  657. package/data/build/dist/host/cli-bridge/team-adapters.js.map +1 -0
  658. package/data/build/dist/host/cli-bridge/team-dispatch.d.ts +28 -0
  659. package/data/build/dist/host/cli-bridge/team-dispatch.d.ts.map +1 -0
  660. package/data/build/dist/host/cli-bridge/team-dispatch.js +208 -0
  661. package/data/build/dist/host/cli-bridge/team-dispatch.js.map +1 -0
  662. package/data/build/dist/host/cli-bridge/team-tool.d.ts +3 -0
  663. package/data/build/dist/host/cli-bridge/team-tool.d.ts.map +1 -0
  664. package/data/build/dist/host/cli-bridge/team-tool.js +18 -0
  665. package/data/build/dist/host/cli-bridge/team-tool.js.map +1 -0
  666. package/data/build/dist/host/dsh-gateway-feature.d.ts.map +1 -1
  667. package/data/build/dist/host/dsh-gateway-feature.js +26 -3
  668. package/data/build/dist/host/dsh-gateway-feature.js.map +1 -1
  669. package/data/build/dist/host/features/file-management.d.ts.map +1 -1
  670. package/data/build/dist/host/features/file-management.js +10 -1
  671. package/data/build/dist/host/features/file-management.js.map +1 -1
  672. package/data/build/dist/host/features/git-commit-message.d.ts +5 -0
  673. package/data/build/dist/host/features/git-commit-message.d.ts.map +1 -0
  674. package/data/build/dist/host/features/git-commit-message.js +66 -0
  675. package/data/build/dist/host/features/git-commit-message.js.map +1 -0
  676. package/data/build/dist/host/features/git-management.d.ts +11 -2
  677. package/data/build/dist/host/features/git-management.d.ts.map +1 -1
  678. package/data/build/dist/host/features/git-management.js +61 -7
  679. package/data/build/dist/host/features/git-management.js.map +1 -1
  680. package/data/build/dist/host/features/global-voice-rpc.d.ts.map +1 -1
  681. package/data/build/dist/host/features/global-voice-rpc.js +2 -3
  682. package/data/build/dist/host/features/global-voice-rpc.js.map +1 -1
  683. package/data/build/dist/host/features/host-status.d.ts +25 -0
  684. package/data/build/dist/host/features/host-status.d.ts.map +1 -1
  685. package/data/build/dist/host/features/host-status.js +60 -6
  686. package/data/build/dist/host/features/host-status.js.map +1 -1
  687. package/data/build/dist/host/features/index.d.ts.map +1 -1
  688. package/data/build/dist/host/features/index.js +2 -0
  689. package/data/build/dist/host/features/index.js.map +1 -1
  690. package/data/build/dist/host/features/interaction-translation.d.ts +10 -0
  691. package/data/build/dist/host/features/interaction-translation.d.ts.map +1 -0
  692. package/data/build/dist/host/features/interaction-translation.js +219 -0
  693. package/data/build/dist/host/features/interaction-translation.js.map +1 -0
  694. package/data/build/dist/host/features/lan-access-dsh.d.ts.map +1 -1
  695. package/data/build/dist/host/features/lan-access-dsh.js +64 -13
  696. package/data/build/dist/host/features/lan-access-dsh.js.map +1 -1
  697. package/data/build/dist/host/features/peer-host.d.ts.map +1 -1
  698. package/data/build/dist/host/features/peer-host.js +13 -6
  699. package/data/build/dist/host/features/peer-host.js.map +1 -1
  700. package/data/build/dist/host/features/quick-apps.d.ts +4 -0
  701. package/data/build/dist/host/features/quick-apps.d.ts.map +1 -0
  702. package/data/build/dist/host/features/quick-apps.js +158 -0
  703. package/data/build/dist/host/features/quick-apps.js.map +1 -0
  704. package/data/build/dist/host/features/session-prompt-translation.d.ts +10 -0
  705. package/data/build/dist/host/features/session-prompt-translation.d.ts.map +1 -0
  706. package/data/build/dist/host/features/session-prompt-translation.js +227 -0
  707. package/data/build/dist/host/features/session-prompt-translation.js.map +1 -0
  708. package/data/build/dist/host/features/session-translation-protection.d.ts +22 -0
  709. package/data/build/dist/host/features/session-translation-protection.d.ts.map +1 -0
  710. package/data/build/dist/host/features/session-translation-protection.js +205 -0
  711. package/data/build/dist/host/features/session-translation-protection.js.map +1 -0
  712. package/data/build/dist/host/features/session-translation-recovery.d.ts +21 -0
  713. package/data/build/dist/host/features/session-translation-recovery.d.ts.map +1 -0
  714. package/data/build/dist/host/features/session-translation-recovery.js +125 -0
  715. package/data/build/dist/host/features/session-translation-recovery.js.map +1 -0
  716. package/data/build/dist/host/features/session-translation-runtime.d.ts +16 -0
  717. package/data/build/dist/host/features/session-translation-runtime.d.ts.map +1 -0
  718. package/data/build/dist/host/features/session-translation-runtime.js +85 -0
  719. package/data/build/dist/host/features/session-translation-runtime.js.map +1 -0
  720. package/data/build/dist/host/features/session-translation-service.d.ts +19 -4
  721. package/data/build/dist/host/features/session-translation-service.d.ts.map +1 -1
  722. package/data/build/dist/host/features/session-translation-service.js +249 -210
  723. package/data/build/dist/host/features/session-translation-service.js.map +1 -1
  724. package/data/build/dist/host/features/session-translation.d.ts.map +1 -1
  725. package/data/build/dist/host/features/session-translation.js +6 -3
  726. package/data/build/dist/host/features/session-translation.js.map +1 -1
  727. package/data/build/dist/host/features/types.d.ts +10 -0
  728. package/data/build/dist/host/features/types.d.ts.map +1 -1
  729. package/data/build/dist/host/html-workspace-files.d.ts +3 -0
  730. package/data/build/dist/host/html-workspace-files.d.ts.map +1 -0
  731. package/data/build/dist/host/html-workspace-files.js +135 -0
  732. package/data/build/dist/host/html-workspace-files.js.map +1 -0
  733. package/data/build/dist/host/index.d.ts.map +1 -1
  734. package/data/build/dist/host/index.js +32 -39
  735. package/data/build/dist/host/index.js.map +1 -1
  736. package/data/build/dist/host/lan-access-dsh.d.ts +14 -2
  737. package/data/build/dist/host/lan-access-dsh.d.ts.map +1 -1
  738. package/data/build/dist/host/lan-access-dsh.js +87 -15
  739. package/data/build/dist/host/lan-access-dsh.js.map +1 -1
  740. package/data/build/dist/host/modules/peer-host/peer-host-native-dispatch.d.ts +2 -2
  741. package/data/build/dist/host/modules/peer-host/peer-host-native-dispatch.d.ts.map +1 -1
  742. package/data/build/dist/host/modules/peer-host/peer-host-native-dispatch.js +10 -9
  743. package/data/build/dist/host/modules/peer-host/peer-host-native-dispatch.js.map +1 -1
  744. package/data/build/dist/host/modules/peer-host/peer-host-native-streams.d.ts +3 -3
  745. package/data/build/dist/host/modules/peer-host/peer-host-native-streams.d.ts.map +1 -1
  746. package/data/build/dist/host/modules/peer-host/peer-host-native-streams.js +26 -14
  747. package/data/build/dist/host/modules/peer-host/peer-host-native-streams.js.map +1 -1
  748. package/data/build/dist/host/modules/peer-host/quick-app-gateway.d.ts +5 -0
  749. package/data/build/dist/host/modules/peer-host/quick-app-gateway.d.ts.map +1 -0
  750. package/data/build/dist/host/modules/peer-host/quick-app-gateway.js +27 -0
  751. package/data/build/dist/host/modules/peer-host/quick-app-gateway.js.map +1 -0
  752. package/data/build/dist/host/modules/pwa/pwa-session-notifications.js +2 -1
  753. package/data/build/dist/host/modules/pwa/pwa-session-notifications.js.map +1 -1
  754. package/data/build/dist/host/modules/quick-apps/browse.d.ts +5 -0
  755. package/data/build/dist/host/modules/quick-apps/browse.d.ts.map +1 -0
  756. package/data/build/dist/host/modules/quick-apps/browse.js +37 -0
  757. package/data/build/dist/host/modules/quick-apps/browse.js.map +1 -0
  758. package/data/build/dist/host/modules/quick-apps/code-revision.d.ts +4 -0
  759. package/data/build/dist/host/modules/quick-apps/code-revision.d.ts.map +1 -0
  760. package/data/build/dist/host/modules/quick-apps/code-revision.js +39 -0
  761. package/data/build/dist/host/modules/quick-apps/code-revision.js.map +1 -0
  762. package/data/build/dist/host/modules/quick-apps/documents.d.ts +14 -0
  763. package/data/build/dist/host/modules/quick-apps/documents.d.ts.map +1 -0
  764. package/data/build/dist/host/modules/quick-apps/documents.js +87 -0
  765. package/data/build/dist/host/modules/quick-apps/documents.js.map +1 -0
  766. package/data/build/dist/host/modules/quick-apps/egress.d.ts +35 -0
  767. package/data/build/dist/host/modules/quick-apps/egress.d.ts.map +1 -0
  768. package/data/build/dist/host/modules/quick-apps/egress.js +244 -0
  769. package/data/build/dist/host/modules/quick-apps/egress.js.map +1 -0
  770. package/data/build/dist/host/modules/quick-apps/errors.d.ts +8 -0
  771. package/data/build/dist/host/modules/quick-apps/errors.d.ts.map +1 -0
  772. package/data/build/dist/host/modules/quick-apps/errors.js +15 -0
  773. package/data/build/dist/host/modules/quick-apps/errors.js.map +1 -0
  774. package/data/build/dist/host/modules/quick-apps/file-api.d.ts +30 -0
  775. package/data/build/dist/host/modules/quick-apps/file-api.d.ts.map +1 -0
  776. package/data/build/dist/host/modules/quick-apps/file-api.js +149 -0
  777. package/data/build/dist/host/modules/quick-apps/file-api.js.map +1 -0
  778. package/data/build/dist/host/modules/quick-apps/launches.d.ts +35 -0
  779. package/data/build/dist/host/modules/quick-apps/launches.d.ts.map +1 -0
  780. package/data/build/dist/host/modules/quick-apps/launches.js +80 -0
  781. package/data/build/dist/host/modules/quick-apps/launches.js.map +1 -0
  782. package/data/build/dist/host/modules/quick-apps/paths.d.ts +14 -0
  783. package/data/build/dist/host/modules/quick-apps/paths.d.ts.map +1 -0
  784. package/data/build/dist/host/modules/quick-apps/paths.js +72 -0
  785. package/data/build/dist/host/modules/quick-apps/paths.js.map +1 -0
  786. package/data/build/dist/host/modules/quick-apps/registry.d.ts +30 -0
  787. package/data/build/dist/host/modules/quick-apps/registry.d.ts.map +1 -0
  788. package/data/build/dist/host/modules/quick-apps/registry.js +195 -0
  789. package/data/build/dist/host/modules/quick-apps/registry.js.map +1 -0
  790. package/data/build/dist/host/modules/quick-apps/remote.d.ts +38 -0
  791. package/data/build/dist/host/modules/quick-apps/remote.d.ts.map +1 -0
  792. package/data/build/dist/host/modules/quick-apps/remote.js +238 -0
  793. package/data/build/dist/host/modules/quick-apps/remote.js.map +1 -0
  794. package/data/build/dist/host/modules/quick-apps/service.d.ts +27 -0
  795. package/data/build/dist/host/modules/quick-apps/service.d.ts.map +1 -0
  796. package/data/build/dist/host/modules/quick-apps/service.js +174 -0
  797. package/data/build/dist/host/modules/quick-apps/service.js.map +1 -0
  798. package/data/build/dist/host/modules/quick-apps/static-handler.d.ts +8 -0
  799. package/data/build/dist/host/modules/quick-apps/static-handler.d.ts.map +1 -0
  800. package/data/build/dist/host/modules/quick-apps/static-handler.js +213 -0
  801. package/data/build/dist/host/modules/quick-apps/static-handler.js.map +1 -0
  802. package/data/build/dist/host/native-session-bridge.d.ts +7 -1
  803. package/data/build/dist/host/native-session-bridge.d.ts.map +1 -1
  804. package/data/build/dist/host/native-session-bridge.js +10 -15
  805. package/data/build/dist/host/native-session-bridge.js.map +1 -1
  806. package/data/build/dist/host/rpc.d.ts +15 -2
  807. package/data/build/dist/host/rpc.d.ts.map +1 -1
  808. package/data/build/dist/host/rpc.js +67 -15
  809. package/data/build/dist/host/rpc.js.map +1 -1
  810. package/data/build/dist/host/session-changes.d.ts.map +1 -1
  811. package/data/build/dist/host/session-changes.js +6 -2
  812. package/data/build/dist/host/session-changes.js.map +1 -1
  813. package/data/build/dist/host/session-migration-repair.js +48 -35
  814. package/data/build/dist/host/session-migration-repair.js.map +1 -1
  815. package/data/build/dist/host/settings.d.ts.map +1 -1
  816. package/data/build/dist/host/settings.js +36 -2
  817. package/data/build/dist/host/settings.js.map +1 -1
  818. package/data/build/dist/host/workspace-file-mutations.d.ts +2 -0
  819. package/data/build/dist/host/workspace-file-mutations.d.ts.map +1 -0
  820. package/data/build/dist/host/workspace-file-mutations.js +15 -0
  821. package/data/build/dist/host/workspace-file-mutations.js.map +1 -0
  822. package/data/build/dist/host/workspace-root.d.ts +14 -0
  823. package/data/build/dist/host/workspace-root.d.ts.map +1 -0
  824. package/data/build/dist/host/workspace-root.js +99 -0
  825. package/data/build/dist/host/workspace-root.js.map +1 -0
  826. package/data/build/dist/shared/attachment-prompts.d.ts +11 -0
  827. package/data/build/dist/shared/attachment-prompts.d.ts.map +1 -0
  828. package/data/build/dist/shared/attachment-prompts.js +17 -0
  829. package/data/build/dist/shared/attachment-prompts.js.map +1 -0
  830. package/data/build/dist/shared/cli-provider-route.d.ts +7 -0
  831. package/data/build/dist/shared/cli-provider-route.d.ts.map +1 -0
  832. package/data/build/dist/shared/cli-provider-route.js +13 -0
  833. package/data/build/dist/shared/cli-provider-route.js.map +1 -0
  834. package/data/build/dist/shared/codex-performance.d.ts +3 -0
  835. package/data/build/dist/shared/codex-performance.d.ts.map +1 -0
  836. package/data/build/dist/shared/codex-performance.js +2 -0
  837. package/data/build/dist/shared/codex-performance.js.map +1 -0
  838. package/data/build/dist/shared/contracts/agent-team.d.ts +14 -0
  839. package/data/build/dist/shared/contracts/agent-team.d.ts.map +1 -0
  840. package/data/build/dist/shared/contracts/agent-team.js +48 -0
  841. package/data/build/dist/shared/contracts/agent-team.js.map +1 -0
  842. package/data/build/dist/shared/contracts/cli-adapter.d.ts +62 -1
  843. package/data/build/dist/shared/contracts/cli-adapter.d.ts.map +1 -1
  844. package/data/build/dist/shared/contracts/cli-management.d.ts +29 -0
  845. package/data/build/dist/shared/contracts/cli-management.d.ts.map +1 -0
  846. package/data/build/dist/shared/contracts/cli-management.js +2 -0
  847. package/data/build/dist/shared/contracts/cli-management.js.map +1 -0
  848. package/data/build/dist/shared/contracts/config.d.ts +25 -1
  849. package/data/build/dist/shared/contracts/config.d.ts.map +1 -1
  850. package/data/build/dist/shared/contracts/config.js +11 -0
  851. package/data/build/dist/shared/contracts/config.js.map +1 -1
  852. package/data/build/dist/shared/contracts/errors.d.ts +2 -2
  853. package/data/build/dist/shared/contracts/errors.d.ts.map +1 -1
  854. package/data/build/dist/shared/contracts/feature.d.ts +7 -0
  855. package/data/build/dist/shared/contracts/feature.d.ts.map +1 -1
  856. package/data/build/dist/shared/contracts/git.d.ts +17 -0
  857. package/data/build/dist/shared/contracts/git.d.ts.map +1 -1
  858. package/data/build/dist/shared/contracts/git.js +27 -1
  859. package/data/build/dist/shared/contracts/git.js.map +1 -1
  860. package/data/build/dist/shared/contracts/interaction-presentation.d.ts +32 -0
  861. package/data/build/dist/shared/contracts/interaction-presentation.d.ts.map +1 -0
  862. package/data/build/dist/shared/contracts/interaction-presentation.js +2 -0
  863. package/data/build/dist/shared/contracts/interaction-presentation.js.map +1 -0
  864. package/data/build/dist/shared/contracts/interaction-translation.d.ts +53 -0
  865. package/data/build/dist/shared/contracts/interaction-translation.d.ts.map +1 -0
  866. package/data/build/dist/shared/contracts/interaction-translation.js +44 -0
  867. package/data/build/dist/shared/contracts/interaction-translation.js.map +1 -0
  868. package/data/build/dist/shared/contracts/magpie-management.d.ts +395 -0
  869. package/data/build/dist/shared/contracts/magpie-management.d.ts.map +1 -0
  870. package/data/build/dist/shared/contracts/magpie-management.js +2 -0
  871. package/data/build/dist/shared/contracts/magpie-management.js.map +1 -0
  872. package/data/build/dist/shared/contracts/quick-apps.d.ts +70 -0
  873. package/data/build/dist/shared/contracts/quick-apps.d.ts.map +1 -0
  874. package/data/build/dist/shared/contracts/quick-apps.js +4 -0
  875. package/data/build/dist/shared/contracts/quick-apps.js.map +1 -0
  876. package/data/build/dist/shared/contracts/session-translation.d.ts +82 -9
  877. package/data/build/dist/shared/contracts/session-translation.d.ts.map +1 -1
  878. package/data/build/dist/shared/contracts/session-translation.js +146 -2
  879. package/data/build/dist/shared/contracts/session-translation.js.map +1 -1
  880. package/data/build/dist/shared/contracts/subscription.d.ts +161 -0
  881. package/data/build/dist/shared/contracts/subscription.d.ts.map +1 -1
  882. package/data/build/dist/shared/contracts/subscription.js.map +1 -1
  883. package/data/build/dist/shared/contracts/version.d.ts +9 -15
  884. package/data/build/dist/shared/contracts/version.d.ts.map +1 -1
  885. package/data/build/dist/shared/contracts/version.js +8 -14
  886. package/data/build/dist/shared/contracts/version.js.map +1 -1
  887. package/data/build/dist/shared/index.d.ts +4 -2
  888. package/data/build/dist/shared/index.d.ts.map +1 -1
  889. package/data/build/dist/shared/index.js +3 -2
  890. package/data/build/dist/shared/index.js.map +1 -1
  891. package/data/build/dist/shared/peer-host-http-routes.d.ts +4 -0
  892. package/data/build/dist/shared/peer-host-http-routes.d.ts.map +1 -1
  893. package/data/build/dist/shared/peer-host-http-routes.js +4 -0
  894. package/data/build/dist/shared/peer-host-http-routes.js.map +1 -1
  895. package/data/build/dist/shared/provider-icon-resources.d.ts.map +1 -1
  896. package/data/build/dist/shared/provider-icon-resources.js +1 -0
  897. package/data/build/dist/shared/provider-icon-resources.js.map +1 -1
  898. package/data/build/dist/shared/quick-app-browser-storage.d.ts +33 -0
  899. package/data/build/dist/shared/quick-app-browser-storage.d.ts.map +1 -0
  900. package/data/build/dist/shared/quick-app-browser-storage.js +33 -0
  901. package/data/build/dist/shared/quick-app-browser-storage.js.map +1 -0
  902. package/data/build/dist/shared/quick-app-network-allow.d.ts +8 -0
  903. package/data/build/dist/shared/quick-app-network-allow.d.ts.map +1 -0
  904. package/data/build/dist/shared/quick-app-network-allow.js +192 -0
  905. package/data/build/dist/shared/quick-app-network-allow.js.map +1 -0
  906. package/data/build/dist/shared/quick-app-network-bootstrap.d.ts +9 -0
  907. package/data/build/dist/shared/quick-app-network-bootstrap.d.ts.map +1 -0
  908. package/data/build/dist/shared/quick-app-network-bootstrap.js +134 -0
  909. package/data/build/dist/shared/quick-app-network-bootstrap.js.map +1 -0
  910. package/data/build/dist/shared/quick-app-proxy-path.d.ts +6 -0
  911. package/data/build/dist/shared/quick-app-proxy-path.d.ts.map +1 -0
  912. package/data/build/dist/shared/quick-app-proxy-path.js +18 -0
  913. package/data/build/dist/shared/quick-app-proxy-path.js.map +1 -0
  914. package/data/build/dist/shared/quick-app-storage-bootstrap.d.ts +9 -0
  915. package/data/build/dist/shared/quick-app-storage-bootstrap.d.ts.map +1 -0
  916. package/data/build/dist/shared/quick-app-storage-bootstrap.js +189 -0
  917. package/data/build/dist/shared/quick-app-storage-bootstrap.js.map +1 -0
  918. package/data/build/dist/shared/quick-apps-bootstrap-locale.d.ts +7 -0
  919. package/data/build/dist/shared/quick-apps-bootstrap-locale.d.ts.map +1 -0
  920. package/data/build/dist/shared/quick-apps-bootstrap-locale.js +10 -0
  921. package/data/build/dist/shared/quick-apps-bootstrap-locale.js.map +1 -0
  922. package/data/build/dist/shared/request-performance.d.ts +15 -0
  923. package/data/build/dist/shared/request-performance.d.ts.map +1 -0
  924. package/data/build/dist/shared/request-performance.js +3 -0
  925. package/data/build/dist/shared/request-performance.js.map +1 -0
  926. package/data/build/dist/shared/session-title.d.ts.map +1 -1
  927. package/data/build/dist/shared/session-title.js +10 -4
  928. package/data/build/dist/shared/session-title.js.map +1 -1
  929. package/data/build/dist/shared/translation-indicator.d.ts +26 -0
  930. package/data/build/dist/shared/translation-indicator.d.ts.map +1 -0
  931. package/data/build/dist/shared/translation-indicator.js +29 -0
  932. package/data/build/dist/shared/translation-indicator.js.map +1 -0
  933. package/package.json +35 -34
  934. package/profile/README.md +2 -2
  935. package/profile/package.json +3 -3
  936. package/profile/version.json +3 -3
  937. package/version.json +3 -3
  938. package/data/build/dist/client/client.model-catalog-cache.js.map +0 -1
@@ -0,0 +1,395 @@
1
+ export type MagpieDashboardPeriod = 'today' | 'week' | 'month' | 'all';
2
+ export type MagpieDashboardAvailabilityIssue = 'web-api-unavailable' | 'cli-unavailable' | 'cli-version-unsupported' | 'model-catalog-unavailable' | 'host-rpc-outdated' | 'feature-disabled' | 'host-request-failed';
3
+ /** Nullable because Magpie omits metrics it cannot price or measure. */
4
+ export interface MagpieUsageMetrics {
5
+ readonly calls: number | null;
6
+ readonly errors: number | null;
7
+ readonly retried: number | null;
8
+ readonly inputTokens: number | null;
9
+ readonly outputTokens: number | null;
10
+ readonly cacheReadTokens: number | null;
11
+ readonly cacheWriteTokens: number | null;
12
+ readonly reasoningTokens: number | null;
13
+ readonly cost: number | null;
14
+ readonly unpriced: number | null;
15
+ readonly credits: number | null;
16
+ readonly credited: number | null;
17
+ readonly timed: number | null;
18
+ readonly ttftMs: number | null;
19
+ readonly decodeMs: number | null;
20
+ readonly decodeTokens: number | null;
21
+ readonly decodeCount: number | null;
22
+ }
23
+ export interface MagpieUsageGroup extends MagpieUsageMetrics {
24
+ readonly id: string;
25
+ readonly name: string | null;
26
+ readonly provider: string | null;
27
+ readonly model: string | null;
28
+ readonly account: string | null;
29
+ readonly agent: string | null;
30
+ }
31
+ export interface MagpieUsageSeriesPoint extends MagpieUsageMetrics {
32
+ readonly time: string | null;
33
+ readonly label: string | null;
34
+ }
35
+ export interface MagpieUsageSession extends MagpieUsageMetrics {
36
+ readonly id: string;
37
+ readonly agent: string;
38
+ /** DSH's human-readable title when this Magpie session was matched exactly. */
39
+ readonly dshSessionName?: string;
40
+ }
41
+ export interface MagpieDashboardQuotaWindow {
42
+ readonly name: string;
43
+ readonly usedPercent: number | null;
44
+ readonly remainingPercent: number | null;
45
+ readonly resetsAt: string | null;
46
+ readonly display: string | null;
47
+ readonly amount: number | null;
48
+ readonly limit: number | null;
49
+ readonly unit: string | null;
50
+ readonly holdsWhy: string | null;
51
+ readonly runsOutAt: string | null;
52
+ readonly runsOut: number | null;
53
+ }
54
+ export interface MagpieDashboardQuota {
55
+ readonly provider: string;
56
+ readonly name: string;
57
+ /** Magpie's built-in icon name or a `file:` asset identifier. */
58
+ readonly icon?: string;
59
+ /** Host-fetched Magpie icon, inlined so the Client never needs Magpie's cookie. */
60
+ readonly logoDataUrl?: string;
61
+ readonly kind: string | null;
62
+ readonly user: string | null;
63
+ readonly plan: string | null;
64
+ readonly alias: string | null;
65
+ readonly balance: string | null;
66
+ readonly readAt: string | null;
67
+ readonly windows: readonly MagpieDashboardQuotaWindow[];
68
+ /** 按日消耗;`since` 是统计起点,上游不提供时为 null。 */
69
+ readonly daily: {
70
+ readonly since: string | null;
71
+ readonly days: readonly {
72
+ readonly day: string;
73
+ readonly used: number | null;
74
+ }[];
75
+ };
76
+ /** 上游读取失败的安全原因摘要(如 `Unauthorized`);成功时为 null。 */
77
+ readonly error?: string | null;
78
+ /** 签到信息与每日消耗;仅部分厂商提供。 */
79
+ readonly checkins?: boolean;
80
+ readonly checkin?: {
81
+ readonly day: string | null;
82
+ readonly at: string | null;
83
+ readonly outcome: string | null;
84
+ readonly credit: number | null;
85
+ readonly streak: number | null;
86
+ } | null;
87
+ /** 套餐到期时间与自动续费状态。 */
88
+ readonly until?: string | null;
89
+ readonly renew?: string | null;
90
+ }
91
+ export interface MagpieQuotaHistoryLine {
92
+ readonly name: string;
93
+ readonly points: readonly {
94
+ readonly at: string;
95
+ readonly left: number | null;
96
+ readonly start: string | null;
97
+ readonly resetsAt: string | null;
98
+ }[];
99
+ }
100
+ export interface MagpieQuotaHistory {
101
+ readonly provider: string;
102
+ readonly user: string | null;
103
+ readonly lines: readonly MagpieQuotaHistoryLine[];
104
+ }
105
+ export interface MagpieUsageDashboard {
106
+ readonly period: MagpieDashboardPeriod;
107
+ readonly capturedAt: string;
108
+ readonly availabilityIssue: MagpieDashboardAvailabilityIssue | null;
109
+ readonly usageStatus: 'available' | 'unavailable';
110
+ readonly aggregate: MagpieUsageMetrics | null;
111
+ readonly series: readonly MagpieUsageSeriesPoint[];
112
+ readonly agents: readonly MagpieUsageGroup[];
113
+ readonly providers: readonly MagpieUsageGroup[];
114
+ readonly models: readonly MagpieUsageGroup[];
115
+ readonly accounts: readonly MagpieUsageGroup[];
116
+ readonly sessions: readonly MagpieUsageSession[];
117
+ readonly sessionCount: number | null;
118
+ readonly quotaStatus: 'available' | 'unavailable';
119
+ readonly quotas: readonly MagpieDashboardQuota[];
120
+ readonly quotaHistoryStatus: 'available' | 'unavailable';
121
+ readonly quotaHistory: readonly MagpieQuotaHistory[];
122
+ }
123
+ /** A progressively rendered dashboard snapshot. The snapshot is cumulative. */
124
+ export type MagpieDashboardStreamPart = 'cache' | 'usage' | 'quotas' | 'history' | 'logos' | 'complete' | 'sessions';
125
+ export interface MagpieDashboardStreamChunk {
126
+ readonly part: MagpieDashboardStreamPart;
127
+ readonly dashboard: MagpieUsageDashboard;
128
+ readonly stale: boolean;
129
+ }
130
+ export interface MagpieUsageRequest {
131
+ readonly routeId: number | null;
132
+ readonly time: string | null;
133
+ readonly agent: string | null;
134
+ readonly provider: string | null;
135
+ readonly account: string | null;
136
+ readonly requestedModel: string | null;
137
+ readonly servedModel: string | null;
138
+ readonly group: string | null;
139
+ readonly effort: string | null;
140
+ readonly inputTokens: number | null;
141
+ readonly outputTokens: number | null;
142
+ readonly cacheReadTokens: number | null;
143
+ readonly cacheWriteTokens: number | null;
144
+ readonly reasoningTokens: number | null;
145
+ readonly cost: number | null;
146
+ readonly priced: boolean | null;
147
+ readonly status: string | null;
148
+ readonly durationMs: number | null;
149
+ readonly ttftMs: number | null;
150
+ readonly firstTextMs: number | null;
151
+ readonly firstReasoningMs: number | null;
152
+ readonly flowMs: number | null;
153
+ readonly sessionId: string | null;
154
+ }
155
+ export interface MagpieUsageRequestPage {
156
+ readonly period: MagpieDashboardPeriod;
157
+ readonly offset: number;
158
+ readonly limit: number;
159
+ readonly total: number | null;
160
+ readonly hasMore: boolean;
161
+ readonly sessionId: string | null;
162
+ readonly sessionAgent: string | null;
163
+ readonly items: readonly MagpieUsageRequest[];
164
+ }
165
+ export type MagpieManagementAvailabilityIssue = 'web-api-unavailable' | 'cli-unavailable' | 'cli-version-unsupported' | 'providers-unavailable' | 'groups-unavailable' | 'accounts-unavailable' | 'host-rpc-outdated' | 'feature-disabled' | 'host-request-failed';
166
+ export type MagpieUpdateState = 'checking' | 'latest' | 'found' | 'downloading' | 'ready' | 'available' | 'source' | 'error' | 'blocked';
167
+ export type MagpieUpdateAvailabilityIssue = 'web-api-unavailable' | 'cli-unavailable' | 'cli-version-unsupported' | 'update-response-invalid' | 'host-rpc-outdated' | 'feature-disabled' | 'host-request-failed';
168
+ export interface MagpieUpdateStatus {
169
+ readonly state: MagpieUpdateState;
170
+ readonly current: string;
171
+ readonly latest: string | null;
172
+ readonly notes: string | null;
173
+ readonly url: string | null;
174
+ readonly stuck: string | null;
175
+ readonly error: string | null;
176
+ readonly retry: boolean;
177
+ readonly done: number | null;
178
+ readonly total: number | null;
179
+ readonly size: number | null;
180
+ readonly waiting: boolean;
181
+ readonly gaveUp: boolean;
182
+ }
183
+ export interface MagpieUpdateReleaseNote {
184
+ readonly version: string;
185
+ readonly notes: string;
186
+ readonly url: string | null;
187
+ }
188
+ export interface MagpieUpdateNotes {
189
+ readonly latest: string | null;
190
+ readonly releases: readonly MagpieUpdateReleaseNote[];
191
+ readonly error: string | null;
192
+ }
193
+ export interface MagpieUpdateSnapshot {
194
+ readonly capturedAt: string;
195
+ readonly availabilityIssue: MagpieUpdateAvailabilityIssue | null;
196
+ readonly status: MagpieUpdateStatus | null;
197
+ readonly notes: MagpieUpdateNotes | null;
198
+ }
199
+ export interface MagpieUpdateActionResult {
200
+ readonly requested: boolean;
201
+ readonly restartExpected: boolean;
202
+ readonly status: MagpieUpdateStatus | null;
203
+ }
204
+ export type MagpieProviderState = 'on' | 'off' | 'unknown';
205
+ export interface MagpieProviderModel {
206
+ readonly id: string;
207
+ readonly name: string | null;
208
+ readonly exposed: boolean;
209
+ }
210
+ export type MagpieProviderEndpointField = 'chat' | 'responses' | 'anthropic' | 'gemini';
211
+ export interface MagpieProviderEndpoint {
212
+ readonly field: MagpieProviderEndpointField;
213
+ readonly url: string;
214
+ readonly editable: boolean;
215
+ }
216
+ export interface MagpieProviderManagementRecord {
217
+ readonly id: string;
218
+ readonly name: string;
219
+ /** Agent identity from Magpie's nested provider.account object, not the provider ID. */
220
+ readonly accountAgent: string | null;
221
+ /** Magpie's built-in icon name or a `file:` asset identifier. */
222
+ readonly icon?: string;
223
+ /** Host-fetched Magpie icon, inlined so the Client never needs Magpie's cookie. */
224
+ readonly logoDataUrl?: string;
225
+ readonly preset: string | null;
226
+ readonly protocol: string | null;
227
+ readonly host: string | null;
228
+ readonly website: string | null;
229
+ readonly state: MagpieProviderState;
230
+ readonly account: string | null;
231
+ readonly keyMasked: string | null;
232
+ readonly endpoints: readonly MagpieProviderEndpoint[];
233
+ readonly models: readonly MagpieProviderModel[];
234
+ /** False when Magpie returned model rows this Host cannot safely round-trip. */
235
+ readonly modelsEditable: boolean;
236
+ readonly modelCount: number | null;
237
+ readonly exposedModelCount: number | null;
238
+ readonly fallback: readonly string[];
239
+ readonly routing: string | null;
240
+ readonly affinity: string | null;
241
+ readonly maxConcurrency: number | null;
242
+ }
243
+ export interface MagpieAccountWindow {
244
+ readonly name: string;
245
+ readonly used: number | null;
246
+ readonly remaining: number | null;
247
+ readonly resetsAt: string | null;
248
+ readonly display: string | null;
249
+ }
250
+ export interface MagpieAccountManagementRecord {
251
+ readonly agent: string;
252
+ readonly user: string;
253
+ readonly alias: string | null;
254
+ readonly plan: string | null;
255
+ readonly active: boolean | null;
256
+ /** Whether the account is currently eligible for routing or failover. */
257
+ readonly on: boolean | null;
258
+ readonly balance: string | null;
259
+ readonly windows: readonly MagpieAccountWindow[];
260
+ readonly asOf: string | null;
261
+ readonly readAt: string | null;
262
+ }
263
+ export interface MagpieRoutingGroupMember {
264
+ readonly id: string;
265
+ readonly provider: string | null;
266
+ readonly name: string | null;
267
+ readonly model: string | null;
268
+ readonly on: boolean | null;
269
+ readonly ready: boolean | null;
270
+ readonly byPattern: boolean;
271
+ /**
272
+ * Magpie can send this member in its vendor's fast mode (OpenAI `service_tier: 'priority'`).
273
+ * Magpie's editor offers the switch only where this is true.
274
+ */
275
+ readonly canFast?: boolean;
276
+ }
277
+ export interface MagpieRoutingGroupManagementRecord {
278
+ readonly id: string;
279
+ readonly name: string;
280
+ readonly routing: string | null;
281
+ readonly stays: string | null;
282
+ readonly members: readonly MagpieRoutingGroupMember[];
283
+ readonly usedBy: readonly string[];
284
+ readonly patterns: readonly string[];
285
+ /**
286
+ * The member `routing: 'manual'` sends every request to (Magpie's `pick`); null for the
287
+ * other policies. Without it a saved manual group would reach Magpie with an empty pick.
288
+ */
289
+ readonly pick: string | null;
290
+ /** True when Agent model lists show the group alone, not the models it names. */
291
+ readonly unlists: boolean | null;
292
+ /** Members sent in their vendor's fast mode (OpenAI `service_tier: 'priority'`). */
293
+ readonly fast: readonly string[];
294
+ /**
295
+ * The context window Agents are told the group takes (Magpie's `Group.Context`).
296
+ *
297
+ * `0` is the largest member's window, `-1` the smallest one's (so Agents compact before any
298
+ * member would turn the conversation away), and a positive number is that many tokens.
299
+ */
300
+ readonly context: number;
301
+ /** The reasoning levels this group offers; empty means "the levels every member shares". */
302
+ readonly levels: readonly string[];
303
+ /** What those shared levels are, as Magpie works them out for the current members. */
304
+ readonly sharedLevels: readonly string[];
305
+ /** `'auto'` lets a classifier pick the level per turn; empty leaves it to the Agent. */
306
+ readonly effort: string;
307
+ /** The model asked to rate a turn, needed whenever `effort` is `'auto'`. */
308
+ readonly classifier: string | null;
309
+ }
310
+ export interface MagpieManagementSnapshot {
311
+ readonly capturedAt: string;
312
+ readonly availabilityIssue: MagpieManagementAvailabilityIssue | null;
313
+ readonly providerStatus: 'available' | 'partial' | 'unavailable';
314
+ readonly providers: readonly MagpieProviderManagementRecord[];
315
+ readonly accountStatus: 'available' | 'unavailable';
316
+ readonly accounts: readonly MagpieAccountManagementRecord[];
317
+ readonly accountApiStatus: 'available' | 'unavailable';
318
+ readonly groupStatus: 'available' | 'unavailable';
319
+ readonly groups: readonly MagpieRoutingGroupManagementRecord[];
320
+ }
321
+ export interface MagpieProviderManagementUpdate {
322
+ readonly id: string;
323
+ readonly name?: string;
324
+ readonly endpointField?: MagpieProviderEndpointField;
325
+ readonly endpointUrl?: string;
326
+ readonly models?: readonly string[];
327
+ readonly on?: boolean;
328
+ }
329
+ export interface MagpieRoutingGroupManagementUpdate {
330
+ readonly id: string;
331
+ readonly name?: string;
332
+ readonly models?: readonly string[];
333
+ readonly routing?: string;
334
+ readonly stays?: string;
335
+ /** The member a manual group sends every request to; required while `routing: 'manual'`. */
336
+ readonly pick?: string;
337
+ /** Whether Agent model lists show the group alone. */
338
+ readonly unlists?: boolean;
339
+ /** Members sent in their vendor's fast mode; filtered to the group's models on save. */
340
+ readonly fast?: readonly string[];
341
+ /** `0` for the largest member's window, `-1` for the smallest, or that many tokens. */
342
+ readonly context?: number;
343
+ /** The levels to offer; an empty list means the levels every member shares. */
344
+ readonly levels?: readonly string[];
345
+ /** `'auto'` picks the level per turn, which needs `classifier`. */
346
+ readonly effort?: string;
347
+ /** The model that rates a turn; required while `effort` is `'auto'`. */
348
+ readonly classifier?: string;
349
+ }
350
+ export interface MagpieAccountManagementUpdate {
351
+ readonly agent: string;
352
+ readonly user: string;
353
+ readonly on: boolean;
354
+ }
355
+ export interface MagpieManagementMutationResult {
356
+ readonly changed: 'provider' | 'group' | 'account';
357
+ readonly id: string;
358
+ readonly snapshot: MagpieManagementSnapshot;
359
+ }
360
+ /**
361
+ * 本机 Magpie 的安装探测结果。
362
+ *
363
+ * 探测只能发生在 Host(Node)进程:浏览器读取不到本机 PATH、Windows 注册表和安装目录。
364
+ * 设置页先读这份结果,再决定 Magpie 管理开关能否启用;Host 写入前也会重新校验。
365
+ */
366
+ export interface MagpieInstallDetection {
367
+ /** 是否找到可执行的 Magpie 入口(含 Windows 的 `.cmd`/`.bat` 包装脚本)。 */
368
+ readonly installed: boolean;
369
+ /** `process.platform` 归一化后的平台名。 */
370
+ readonly platform: MagpieHostPlatform;
371
+ /** 入口来源;未安装时为 null。 */
372
+ readonly source: MagpieInstallSource | null;
373
+ /** 解析到的入口绝对路径;未安装或探测失败时为 null。 */
374
+ readonly command: string | null;
375
+ /** `magpie --version` 归一化后的版本号;未成功运行时为 null。 */
376
+ readonly version: string | null;
377
+ /** 入口存在但无法运行、版本无法识别时的安全原因;成功或未安装时为 null。 */
378
+ readonly reason: MagpieDetectionFailure | null;
379
+ /** 探测完成时间,供界面显示结果新鲜度。 */
380
+ readonly checkedAt: string;
381
+ }
382
+ export type MagpieHostPlatform = 'macos' | 'windows' | 'linux';
383
+ export type MagpieInstallSource = 'path' | 'custom' | 'common-location';
384
+ export type MagpieDetectionFailure = 'launch' | 'timeout' | 'version';
385
+ /**
386
+ * 设置页“重新检测”提交的可选入口。
387
+ *
388
+ * 只接受绝对路径文本:不接受命令参数、shell 片段或裸命令名,避免把用户输入
389
+ * 变成任意命令执行入口。
390
+ */
391
+ export interface MagpieDetectionRequest {
392
+ /** 用户手动填写的入口绝对路径;为空或缺省时只做自动探测。 */
393
+ readonly commandPath?: string;
394
+ }
395
+ //# sourceMappingURL=magpie-management.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"magpie-management.d.ts","sourceRoot":"","sources":["../../../../../src/shared/contracts/magpie-management.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAA;AAEtE,MAAM,MAAM,gCAAgC,GACxC,qBAAqB,G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AG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;AAC9D,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,QAAQ,GAAG,iBAAiB,CAAA;AACvE,MAAM,MAAM,sBAAsB,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAA;AAErE;;;;;GAKG;AACH,MAAM,WAAW,sBAAsB;IACrC,kCAAkC;IAClC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAC9B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=magpie-management.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"magpie-management.js","sourceRoot":"","sources":["../../../../../src/shared/contracts/magpie-management.ts"],"names":[],"mappings":""}
@@ -0,0 +1,70 @@
1
+ /** Persisted references and user-selected access policy. Launch credentials never enter settings. */
2
+ export interface QuickApp {
3
+ readonly id: string;
4
+ readonly title: string;
5
+ readonly hostId: string;
6
+ readonly workspaceId: string;
7
+ readonly entryPath: string;
8
+ readonly documentRoot: string;
9
+ readonly kind: 'html' | 'text';
10
+ /** Explicit workspace trust; omitted on legacy shortcuts until the user saves them. */
11
+ readonly fileAccess?: 'workspace';
12
+ readonly spaFallback: boolean;
13
+ /** Local IPs, CIDR ranges, or hostnames this app may reach. Omitted means none. */
14
+ readonly networkAllow?: readonly string[];
15
+ readonly mounts: readonly QuickAppMount[];
16
+ readonly revision: number;
17
+ readonly order: number;
18
+ }
19
+ export interface QuickAppMount {
20
+ readonly urlPrefix: string;
21
+ readonly workspacePath: string;
22
+ readonly read: true;
23
+ }
24
+ export interface QuickAppDirectory {
25
+ readonly path: string;
26
+ readonly entries: readonly {
27
+ readonly name: string;
28
+ readonly path: string;
29
+ readonly kind: 'file' | 'directory';
30
+ }[];
31
+ readonly truncated: boolean;
32
+ }
33
+ export interface QuickAppPermissions {
34
+ readonly read: readonly string[];
35
+ readonly write: readonly string[];
36
+ readonly delete: readonly string[];
37
+ }
38
+ /** A document snapshot, bound to a Host-owned launch rather than a conversation. */
39
+ export interface QuickAppDocument {
40
+ readonly path: string;
41
+ readonly content: string;
42
+ readonly version: string;
43
+ readonly canWrite: boolean;
44
+ }
45
+ /** Host-to-Host resource relay. The owning launch supplies all filesystem identity. */
46
+ export interface QuickAppProxyRequest {
47
+ readonly method: string;
48
+ readonly path: string;
49
+ readonly headers: Readonly<Record<string, string>>;
50
+ readonly body?: string;
51
+ }
52
+ export interface QuickAppProxyResponse {
53
+ readonly status: number;
54
+ readonly headers: Readonly<Record<string, string>>;
55
+ readonly bodyBase64: string;
56
+ }
57
+ export type QuickAppAvailability = 'available' | 'missing-file' | 'missing-workspace' | 'disconnected-host' | 'unsupported-runtime' | 'unsupported-connection';
58
+ export declare const QUICK_APP_RUNTIME_REASONS: readonly ["not-configured", "config-invalid", "lan-stopped", "ui-not-allowed", "ports-exhausted", "ports-busy"];
59
+ export type QuickAppRuntimeReason = typeof QUICK_APP_RUNTIME_REASONS[number];
60
+ export declare const quickAppTransportErrorCode: (reason: QuickAppRuntimeReason) => string;
61
+ export declare const QUICK_APP_LIMITS: Readonly<{
62
+ textBytes: number;
63
+ staticBytes: number;
64
+ requests: 8;
65
+ launches: 32;
66
+ originHistory: 1024;
67
+ shortcuts: 200;
68
+ lifetimeMs: number;
69
+ }>;
70
+ //# sourceMappingURL=quick-apps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quick-apps.d.ts","sourceRoot":"","sources":["../../../../../src/shared/contracts/quick-apps.ts"],"names":[],"mappings":"AAAA,qGAAqG;AACrG,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,YAAY,EAAE,MAAM,CA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AM,CAAA;IACxB,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;CAC3B;AAED,uFAAuF;AACvF,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;IAClD,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CACvB;AACD,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;IAClD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;CAC5B;AAED,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG,cAAc,GAAG,mBAAmB,GAAG,mBAAmB,GAAG,qBAAqB,GAAG,wBAAwB,CAAA;AAC9J,eAAO,MAAM,yBAAyB,iHAAkH,CAAA;AACxJ,MAAM,MAAM,qBAAqB,GAAG,OAAO,yBAAyB,CAAC,MAAM,CAAC,CAAA;AAC5E,eAAO,MAAM,0BAA0B,GAAI,QAAQ,qBAAqB,KAAG,MAA4E,CAAA;AACvJ,eAAO,MAAM,gBAAgB;;;;;;;;EAA2K,CAAA"}
@@ -0,0 +1,4 @@
1
+ export const QUICK_APP_RUNTIME_REASONS = ['not-configured', 'config-invalid', 'lan-stopped', 'ui-not-allowed', 'ports-exhausted', 'ports-busy'];
2
+ export const quickAppTransportErrorCode = (reason) => `QUICK_APP_TRANSPORT_${reason.toUpperCase().replaceAll('-', '_')}`;
3
+ export const QUICK_APP_LIMITS = Object.freeze({ textBytes: 4 * 1024 * 1024, staticBytes: 64 * 1024 * 1024, requests: 8, launches: 32, originHistory: 1024, shortcuts: 200, lifetimeMs: 30 * 60 * 1000 });
4
+ //# sourceMappingURL=quick-apps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quick-apps.js","sourceRoot":"","sources":["../../../../../src/shared/contracts/quick-apps.ts"],"names":[],"mappings":"AA2DA,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,YAAY,CAAU,CAAA;AAExJ,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,MAA6B,EAAU,EAAE,CAAC,uBAAuB,MAAM,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,CAAA;AACvJ,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,GAAG,IAAI,GAAG,IAAI,EAAE,WAAW,EAAE,EAAE,GAAG,IAAI,GAAG,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,UAAU,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,CAAC,CAAA"}
@@ -7,22 +7,74 @@ export interface SessionTranslationModel {
7
7
  readonly provider: string;
8
8
  readonly model: string;
9
9
  }
10
- /** 会话翻译中间件的持久化设置。 */
11
- export interface SessionTranslationSettings {
12
- /** 用户输入送入外部 Agent 的目的语言。 */
13
- readonly inputLanguage: Exclude<SessionTranslationLanguage, 'zh'>;
10
+ /** Message categories saved independently for each agent adapter. */
11
+ export interface SessionTranslationOptions {
12
+ readonly inputEnabled?: boolean;
13
+ readonly reasoningEnabled?: boolean;
14
+ readonly assistantEnabled?: boolean;
15
+ }
16
+ /** Persisted translation settings; top-level message options remain legacy defaults. */
17
+ export interface SessionTranslationSettings extends SessionTranslationOptions {
18
+ readonly adapterOptions?: Readonly<Record<string, SessionTranslationOptions>>;
19
+ /** 用户输入送入 Agent 的目的语言。 */
20
+ readonly inputLanguage: SessionTranslationLanguage;
14
21
  /** 输出翻译语言;默认中文。 */
15
22
  readonly outputLanguage: SessionTranslationLanguage;
16
23
  /** 是否在 UI 和历史回看中同时保留原文与译文。 */
17
24
  readonly bilingual: boolean;
18
25
  /** 翻译模型;缺省时跟随 DSH 当前默认模型。 */
19
26
  readonly translationModel?: SessionTranslationModel;
27
+ /** Models in priority order. An empty pool follows the DSH default; absent pools use the legacy selection. */
28
+ readonly translationModels?: readonly SessionTranslationModel[];
29
+ /** Custom prompt instructions that take precedence over the default translation prompts. */
30
+ readonly translationRules?: readonly string[];
31
+ /**
32
+ * DSH 原生会话是否参与翻译;缺省关闭。
33
+ *
34
+ * 原生会话的回复由 DSH 自己写入 `assistant/message`,开启输出翻译后正文会变成
35
+ * 译文、原文只留在块元数据里,因此不能默认改变既有行为。
36
+ */
37
+ readonly nativeEnabled?: boolean;
20
38
  }
21
39
  export declare const SESSION_TRANSLATION_ADAPTER_IDS: readonly ["command-code", "claude-code", "kimi", "gemini", "pi", "codex", "opencode", "grok", "mcode", "zcode", "codebuddy", "workbuddy", "cursor-cli", "kiro-cli", "qoder", "qoder-cn", "antigravity", "doubao"];
40
+ /** DSH 内置 Agent 的适配器标识;它没有外部驱动,但同样支持会话翻译。 */
41
+ export declare const DSH_NATIVE_SESSION_ADAPTER_ID: "dsh";
42
+ export declare const SESSION_TRANSLATION_LANGUAGES: readonly ["en", "fr", "de", "ja", "zh"];
22
43
  export declare const DEFAULT_SESSION_TRANSLATION_SETTINGS: SessionTranslationSettings;
23
- /** 所有内置外部 Agent 均可在会话模型选择器中开启翻译;DSH 原生 Agent 不在其中。 */
44
+ /**
45
+ * 外部 Agent 适配器判定。
46
+ *
47
+ * 只表示「会话由插件的外部 CLI 驱动接管」,因此 DSH 原生 Agent 不在其中:该判定
48
+ * 还被用来把外部 Agent 的虚拟 Provider 排除在翻译模型目录之外,混入 `dsh` 会污染
49
+ * 这一语义。会话是否可翻译统一使用 {@link supportsSessionTranslation}。
50
+ */
24
51
  export declare function isSessionTranslationAdapter(adapterId: string): boolean;
25
- export interface SessionTranslationRecord {
52
+ /** 外部 Agent 与 DSH 原生 Agent 都支持会话翻译。 */
53
+ export declare function supportsSessionTranslation(adapterId: string): boolean;
54
+ /** Preserve existing choices until an adapter overrides them. Missing legacy values default on. */
55
+ export declare function resolveSessionTranslationOptions(settings: SessionTranslationSettings | undefined, adapterId: string): Required<SessionTranslationOptions>;
56
+ /** 判断任意字符串是否为受支持的翻译语言。 */
57
+ export declare function isSessionTranslationLanguage(value: unknown): value is SessionTranslationLanguage;
58
+ /**
59
+ * 归一化翻译设置:旧设置快照可能缺少 `nativeEnabled`,非法语言回落到默认值。
60
+ *
61
+ * 与 `session-translation-service.ts` 的内部归一化保持同一语义,供客户端设置页在
62
+ * 写入前补齐字段,避免旧快照把新字段写丢。
63
+ */
64
+ export declare function normalizeSessionTranslationSettings(value: SessionTranslationSettings | undefined): SessionTranslationSettings;
65
+ export interface SessionTranslationFailure {
66
+ readonly code: 'timeout' | 'cancelled' | 'rate-limit' | 'network' | 'unavailable' | 'invalid-response' | 'configuration' | 'provider';
67
+ readonly retryable: boolean;
68
+ }
69
+ export interface SessionTranslationMetrics {
70
+ /** Elapsed translation time, including model selection and fallback attempts. */
71
+ readonly durationMs?: number;
72
+ /** Reported token consumption across model attempts, including cached input. */
73
+ readonly totalTokens?: number;
74
+ }
75
+ /** Preserve available metrics while accepting records saved before metrics existed. */
76
+ export declare function readSessionTranslationMetrics(value: unknown): SessionTranslationMetrics;
77
+ export interface SessionTranslationRecord extends SessionTranslationMetrics {
26
78
  readonly original: string;
27
79
  readonly translated: string;
28
80
  readonly sourceLanguage?: SessionTranslationLanguage;
@@ -36,14 +88,23 @@ export interface SessionTranslationRecord {
36
88
  readonly model?: SessionTranslationModel;
37
89
  /** 本次尝试失败并回退原文;前端显示警告状态。 */
38
90
  readonly failed?: boolean;
91
+ /** Structured failure details; absent in older translation records. */
92
+ readonly failure?: SessionTranslationFailure;
93
+ }
94
+ export type SessionTranslationRecoveryChoice = 'retry' | 'send' | 'cancel';
95
+ /** A failed submission remains on the host until the user makes a choice. */
96
+ export interface SessionTranslationPendingInput {
97
+ readonly id: string;
98
+ readonly sessionId: string;
99
+ readonly record: SessionTranslationRecord;
39
100
  }
40
101
  /** 用户输入的原文、实际送出的译文和翻译模型,作为 DSH 历史元数据保存。 */
41
- export interface SessionTranslationInputRecord {
102
+ export interface SessionTranslationInputRecord extends SessionTranslationMetrics {
42
103
  readonly original: string;
43
104
  /** 包含附件提示等不翻译内容的最终 Provider prompt。 */
44
105
  readonly translated: string;
45
106
  readonly sourceLanguage?: SessionTranslationLanguage;
46
- readonly targetLanguage: Exclude<SessionTranslationLanguage, 'zh'>;
107
+ readonly targetLanguage: SessionTranslationLanguage;
47
108
  /** 源语言与目标语言一致,因此未调用翻译模型。 */
48
109
  readonly alreadyTargetLanguage?: boolean;
49
110
  /** 实际执行本次翻译的 DSH 原生模型;旧历史可能没有该字段。 */
@@ -51,8 +112,20 @@ export interface SessionTranslationInputRecord {
51
112
  /** 翻译失败并回退原文;前端显示警告状态。 */
52
113
  readonly failed?: boolean;
53
114
  }
115
+ /**
116
+ * 从 DSH 原生用户消息的 source 元数据读取输入翻译记录。
117
+ *
118
+ * 该字段由 `agent/pre-step` 写入并随 `user/message` 持久化;未知或不完整的历史
119
+ * 结构一律返回 undefined,调用方按「没有翻译」处理。
120
+ */
121
+ export declare function readNativeTranslationRecord(source: unknown): SessionTranslationInputRecord | undefined;
122
+ /** 输入记录转换为详情弹层使用的通用记录;`outputKind` 缺省表示输入方向。 */
123
+ export declare function toSessionTranslationRecord(record: SessionTranslationInputRecord, options?: {
124
+ readonly outputKind?: SessionTranslationOutputKind;
125
+ readonly bilingual?: boolean;
126
+ }): SessionTranslationRecord;
54
127
  /** 外部 Agent 的历史上下文使用实际发送的译文;DSH 用户消息正文保留用户原文。 */
55
128
  export declare function formatSessionTranslationInput(record: SessionTranslationInputRecord): string;
56
- /** DSH 的回复正文只保留译文;详情入口从元数据读取原文和模型。 */
129
+ /** Return the output translation; native DSH history keeps the original and the client reads this record. */
57
130
  export declare function formatSessionTranslationOutput(record: SessionTranslationRecord): string;
58
131
  //# sourceMappingURL=session-translation.d.ts.map