@chatcode/chatcode-cli 3.0.3 → 3.0.4-rc.2

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 (243) hide show
  1. package/README.i18n.yaml +10 -10
  2. package/README.md +16 -1
  3. package/README.zh.md +16 -1
  4. package/lib/bin.js +62 -11
  5. package/lib/{command-errors-CBJRI2gy.js → command-errors-CScdshCl.js} +12 -12
  6. package/lib/{command-trees-Dvq4C7a4.js → command-trees-Dc17MYfV.js} +2 -2
  7. package/lib/{component-identity-DPdJglJO.js → component-identity-DFJD_d-P.js} +3 -3
  8. package/lib/{dump-config-CauO75nE.js → dump-config-BcH-VYuv.js} +5 -5
  9. package/lib/dump-config-CyopmD85.js +2 -0
  10. package/lib/{dump-config-schema-CObLWWaW.js → dump-config-schema-DM0fb6Ns.js} +2 -2
  11. package/lib/{extension-events-Be9LWvHD.js → extension-events-qXmhzmHo.js} +20 -20
  12. package/lib/{frames-7PAg0Q9b.js → frames-B89znn_0.js} +4 -4
  13. package/lib/headless-compat.js +2 -2
  14. package/lib/{host-access-DeCjoRQP.js → host-access-B0CRAwsX.js} +1 -1
  15. package/lib/{keymap-CRUxM_qn.js → keymap-CIoVICBI.js} +17 -16
  16. package/lib/{plugin-CDFSDE_y.js → plugin-BKQsL2xn.js} +3264 -2301
  17. package/lib/{plugin-Cn-hyYY8.js → plugin-eJjD6r12.js} +1 -1
  18. package/lib/{profile-boot-SJGbpLgN.js → profile-boot-BNQry1NM.js} +97 -14
  19. package/lib/profile-boot.js +2 -2
  20. package/lib/{scenes-D6jV1EEi.js → scenes-BRf-zMpF.js} +3 -3
  21. package/lib/{settings-sections-DJQRNBo9.js → settings-sections-4gMhveN_.js} +7 -3
  22. package/lib/statusBarSettings-CnmdSHkO.js +382 -0
  23. package/lib/{themes-BCly4_y9.js → themes-Ce97Zsri.js} +13 -13
  24. package/lib/tui-compat-command-trees.js +1 -1
  25. package/lib/tui-compat-extensions.js +3 -3
  26. package/lib/tui-compat-plugin-host.js +5 -5
  27. package/lib/tui-compat-scenes.js +1 -1
  28. package/lib/tui-compat-settings-sections.js +1 -1
  29. package/lib/tui-compat-working-activity.js +4 -4
  30. package/lib/tui-compat-workspaces.js +1 -1
  31. package/lib/tui-compat.js +9 -26
  32. package/lib/types/args.d.ts +2 -0
  33. package/lib/types/permission-bypass.d.ts +16 -0
  34. package/lib/types/profile-boot.d.ts +12 -0
  35. package/lib/types/tui-compat.d.ts +4 -0
  36. package/lib/types/web-browser.d.ts +6 -0
  37. package/lib/types/web-instance.d.ts +42 -0
  38. package/lib/web-browser-Vcgfdsv_.js +46 -0
  39. package/lib/web-instance-B0jec7cq.js +2 -0
  40. package/lib/web-instance-DbP7IHPv.js +280 -0
  41. package/lib/{workspaces-Bb3kCAFb.js → workspaces-1xrm-e3V.js} +2 -2
  42. package/package.json +36 -33
  43. package/runtime/manifest.json +4 -2
  44. package/runtime/node_modules/@deepseek-ai/dsh-agent-default-model/lib/index.js +137 -11
  45. package/runtime/node_modules/@deepseek-ai/dsh-agent-default-model/lib/types/index.d.ts +27 -1
  46. package/runtime/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +2 -1
  47. package/runtime/node_modules/@deepseek-ai/dsh-api-gateway/lib/client.js +2 -0
  48. package/runtime/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/remote-stream.js +4 -0
  49. package/runtime/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +152 -39
  50. package/runtime/node_modules/@deepseek-ai/dsh-api-remotes/lib/index.js +4 -0
  51. package/runtime/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/remote-events.d.ts +3 -0
  52. package/runtime/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/remote-events.js +1 -0
  53. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +179 -35
  54. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +57 -30
  55. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +31 -19
  56. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/agent.d.ts +9 -1
  57. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/agent.js +36 -6
  58. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/archived-session-gate.js +1 -1
  59. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/catalog.js +12 -2
  60. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/service.d.ts +1 -1
  61. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.d.ts +2 -2
  62. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +24 -8
  63. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.d.ts +4 -3
  64. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +31 -14
  65. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/list.d.ts +6 -0
  66. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/list.js +89 -4
  67. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/remote-events.d.ts +1 -1
  68. package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/types.d.ts +27 -0
  69. package/runtime/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/index.js +28 -1
  70. package/runtime/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/typert.host.js +39 -0
  71. package/runtime/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/typert.remote-client.d.ts +2 -0
  72. package/runtime/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/typert.remote-client.js +32 -0
  73. package/runtime/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/types/index.d.ts +8 -0
  74. package/runtime/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/types/index.js +19 -1
  75. package/runtime/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/client.js +30 -0
  76. package/runtime/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/index.js +111 -2
  77. package/runtime/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/typert.host.js +104 -11
  78. package/runtime/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/typert.remote-client.d.ts +5 -1
  79. package/runtime/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/typert.remote-client.js +78 -11
  80. package/runtime/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/client/model.d.ts +14 -1
  81. package/runtime/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/client/model.js +17 -0
  82. package/runtime/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/client/service.d.ts +15 -0
  83. package/runtime/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/client/service.js +12 -0
  84. package/runtime/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/commands.d.ts +13 -1
  85. package/runtime/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/commands.js +44 -2
  86. package/runtime/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/feed.js +17 -0
  87. package/runtime/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/index.d.ts +13 -1
  88. package/runtime/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/index.js +22 -0
  89. package/runtime/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/types.d.ts +17 -0
  90. package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +67 -19
  91. package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/types/index.d.ts +1 -1
  92. package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/types/profile-context.d.ts +11 -1
  93. package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/worker/profile-resolution-bootstrap.js +22 -3
  94. package/runtime/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +9 -3
  95. package/runtime/node_modules/@deepseek-ai/dsh-base/package.json +2 -1
  96. package/runtime/node_modules/@deepseek-ai/dsh-client-hmr/lib/client.js +931 -7
  97. package/runtime/node_modules/@deepseek-ai/dsh-client-hmr/lib/index.js +57 -19
  98. package/runtime/node_modules/@deepseek-ai/dsh-client-hmr/lib/types/client/index.d.ts +5 -2
  99. package/runtime/node_modules/@deepseek-ai/dsh-client-hmr/lib/types/config.d.ts +12 -0
  100. package/runtime/node_modules/@deepseek-ai/dsh-client-hmr/lib/types/events.d.ts +4 -4
  101. package/runtime/node_modules/@deepseek-ai/dsh-client-hmr/lib/types/index.d.ts +3 -8
  102. package/runtime/node_modules/@deepseek-ai/dsh-client-hmr/package.json +6 -2
  103. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +3 -2
  104. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/types/index.d.ts +2 -2
  105. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +10 -0
  106. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +1 -1
  107. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/types/client/present-open.d.ts +1 -1
  108. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +1 -1
  109. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +68 -16
  110. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/types/client/directory.d.ts +3 -1
  111. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/types/client/locales.d.ts +6 -0
  112. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/CodeBlock.module.css +3 -5
  113. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/MarkdownText.module.css +23 -27
  114. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings/lib/types/client/contract/slots.d.ts +3 -1
  115. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
  116. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/types/index.d.ts +2 -2
  117. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +8 -7
  118. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/SettingsDocumentAction.d.ts +1 -1
  119. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/types/client/settings-document-store.d.ts +2 -1
  120. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +33 -12
  121. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/types/client/locales.d.ts +2 -0
  122. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +1 -1
  123. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +3 -1
  124. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +1 -1
  125. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +1925 -207
  126. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/ArchivedSessions.d.ts +13 -0
  127. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/contract/slots.d.ts +4 -0
  128. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/locales.d.ts +42 -0
  129. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/recent.d.ts +11 -0
  130. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/rows/RecentList.d.ts +15 -0
  131. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/rows/Rows.d.ts +6 -1
  132. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/session-actions/DeleteSession.d.ts +24 -0
  133. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/stores.d.ts +2 -2
  134. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/tree.d.ts +15 -13
  135. package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +3 -1
  136. package/runtime/node_modules/@deepseek-ai/dsh-commands/lib/index.js +16 -0
  137. package/runtime/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +7 -3
  138. package/runtime/node_modules/@deepseek-ai/dsh-commands/lib/typert.remote-client.js +6 -2
  139. package/runtime/node_modules/@deepseek-ai/dsh-commands/lib/types/index.js +20 -0
  140. package/runtime/node_modules/@deepseek-ai/dsh-commands/lib/types/types.d.ts +5 -0
  141. package/runtime/node_modules/@deepseek-ai/dsh-computer-use/lib/index.js +35 -0
  142. package/runtime/node_modules/@deepseek-ai/dsh-computer-use/lib/types/brand.d.ts +11 -0
  143. package/runtime/node_modules/@deepseek-ai/dsh-computer-use/lib/types/brand.js +10 -0
  144. package/runtime/node_modules/@deepseek-ai/dsh-computer-use/lib/types/index.d.ts +28 -0
  145. package/runtime/node_modules/@deepseek-ai/dsh-computer-use/lib/types/index.js +36 -0
  146. package/runtime/node_modules/@deepseek-ai/dsh-computer-use/package.json +42 -0
  147. package/runtime/node_modules/@deepseek-ai/dsh-config-editor/lib/index.js +102 -14
  148. package/runtime/node_modules/@deepseek-ai/dsh-config-editor/lib/types/index.d.ts +34 -4
  149. package/runtime/node_modules/@deepseek-ai/dsh-config-editor/package.json +1 -0
  150. package/runtime/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +5 -2
  151. package/runtime/node_modules/@deepseek-ai/dsh-host-webserver/lib/index.js +2 -1
  152. package/runtime/node_modules/@deepseek-ai/dsh-native-command/lib/index.js +21 -8
  153. package/runtime/node_modules/@deepseek-ai/dsh-native-command/lib/types/path-opener.d.ts +4 -6
  154. package/runtime/node_modules/@deepseek-ai/dsh-native-command/lib/types/path-opener.js +18 -7
  155. package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/index.js +4 -0
  156. package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/typert.host.js +5 -5
  157. package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/typert.remote-client.js +5 -5
  158. package/runtime/node_modules/@deepseek-ai/dsh-schedule/lib/types/index.js +5 -0
  159. package/runtime/node_modules/@deepseek-ai/dsh-session/lib/types/index.d.ts +21 -0
  160. package/runtime/node_modules/@deepseek-ai/dsh-session-persistence/lib/index.js +12 -0
  161. package/runtime/node_modules/@deepseek-ai/dsh-session-persistence/lib/types/index.d.ts +15 -0
  162. package/runtime/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/index.js +95 -2
  163. package/runtime/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/types/index.d.ts +3 -1
  164. package/runtime/node_modules/@deepseek-ai/dsh-session-projection-cache/lib/index.js +25 -1
  165. package/runtime/node_modules/@deepseek-ai/dsh-session-projection-cache/lib/types/index.d.ts +1 -0
  166. package/runtime/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +2 -1
  167. package/runtime/node_modules/@deepseek-ai/dsh-session-query/lib/index.js +13 -0
  168. package/runtime/node_modules/@deepseek-ai/dsh-session-query/lib/types/observation.d.ts +5 -0
  169. package/runtime/node_modules/@deepseek-ai/dsh-session-query-sqlite/lib/index.js +26 -0
  170. package/runtime/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +2 -1
  171. package/runtime/node_modules/@deepseek-ai/dsh-settings/lib/index.js +5 -4
  172. package/runtime/node_modules/@deepseek-ai/dsh-settings/lib/types/index.d.ts +4 -3
  173. package/runtime/node_modules/@deepseek-ai/dsh-settings/lib/types/index.js +4 -3
  174. package/runtime/node_modules/@deepseek-ai/dsh-storage/lib/types/backend.d.ts +4 -0
  175. package/runtime/node_modules/@deepseek-ai/dsh-storage-domain/lib/index.js +65 -1
  176. package/runtime/node_modules/@deepseek-ai/dsh-storage-domain/lib/types/domain.d.ts +17 -2
  177. package/runtime/node_modules/@deepseek-ai/dsh-storage-json/lib/index.js +25 -0
  178. package/runtime/node_modules/@deepseek-ai/dsh-storage-json/package.json +1 -0
  179. package/runtime/node_modules/@deepseek-ai/dsh-subagent/lib/types/control.d.ts +1 -1
  180. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/index.js +5522 -0
  181. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/command-args.d.ts +17 -0
  182. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/commands/tianti/cicd.d.ts +8 -0
  183. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/commands/tianti/tianti.d.ts +7 -0
  184. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/commands/tianti-deliver/tianti-deliver.d.ts +8 -0
  185. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/config.d.ts +27 -0
  186. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/index.d.ts +13 -0
  187. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/memory-config.d.ts +10 -0
  188. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/runtime.d.ts +105 -0
  189. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/aliases.d.ts +11 -0
  190. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/auth.d.ts +20 -0
  191. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/client.d.ts +206 -0
  192. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/config.d.ts +22 -0
  193. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/index.d.ts +6 -0
  194. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/log.d.ts +16 -0
  195. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/tianti/types.d.ts +136 -0
  196. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/codebase.d.ts +19 -0
  197. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/dynamicWorkflow.d.ts +10 -0
  198. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/engine.d.ts +8 -0
  199. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/executor.d.ts +11 -0
  200. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/executors.d.ts +15 -0
  201. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/index.d.ts +23 -0
  202. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/memorySuggestions.d.ts +12 -0
  203. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/openspec.d.ts +31 -0
  204. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/recommend.d.ts +8 -0
  205. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/render.d.ts +8 -0
  206. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/requirementContext.d.ts +12 -0
  207. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/scenarioUpgrade.d.ts +24 -0
  208. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/state.d.ts +16 -0
  209. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/store.d.ts +33 -0
  210. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/templates.d.ts +8 -0
  211. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/types.d.ts +385 -0
  212. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/wanmaDevelopmentWorkflow/writeReviewSync.d.ts +6 -0
  213. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/writeReview/index.d.ts +29 -0
  214. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/writeReview/store.d.ts +20 -0
  215. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/services/writeReview/types.d.ts +49 -0
  216. package/runtime/node_modules/@deepseek-ai/dsh-tianti/lib/types/tools.d.ts +12 -0
  217. package/runtime/node_modules/@deepseek-ai/dsh-tianti/package.json +57 -0
  218. package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +157 -22
  219. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-D5kpKf--.css +1 -0
  220. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Dz_cDcce.js +133 -0
  221. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Dz_cDcce.js.map +1 -0
  222. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/chatcode-apple-touch-icon.png +0 -0
  223. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/chatcode-icon-32.png +0 -0
  224. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/chatcode-mask-icon.svg +1 -0
  225. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/favicon-dark.svg +1 -3
  226. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/favicon.ico +0 -0
  227. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/favicon.svg +1 -3
  228. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +8 -4
  229. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/preview.html +8 -4
  230. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/package.json +2 -1
  231. package/runtime/node_modules/@deepseek-ai/dsh-workspace/lib/index.js +325 -37
  232. package/runtime/node_modules/@deepseek-ai/dsh-workspace/lib/invariant.js +6 -1
  233. package/runtime/node_modules/@deepseek-ai/dsh-workspace/lib/types/entity.d.ts +6 -0
  234. package/runtime/node_modules/@deepseek-ai/dsh-workspace/lib/types/entity.js +23 -17
  235. package/runtime/node_modules/@deepseek-ai/dsh-workspace/lib/types/index.d.ts +41 -0
  236. package/runtime/node_modules/@deepseek-ai/dsh-workspace/lib/types/index.js +314 -23
  237. package/runtime/node_modules/@deepseek-ai/dsh-workspace/lib/types/spec.d.ts +4 -0
  238. package/runtime/node_modules/@deepseek-ai/dsh-workspace/lib/types/spec.js +4 -0
  239. package/lib/dump-config-CijLv_kn.js +0 -2
  240. package/lib/tuiDisplayPrefs-Dm_fULiR.js +0 -204
  241. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-DUvMhLle.css +0 -1
  242. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Q6zc2uHV.js +0 -127
  243. package/runtime/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Q6zc2uHV.js.map +0 -1
@@ -28,6 +28,9 @@ export declare class AgentDefaultModelConfig extends Service {
28
28
  private saves;
29
29
  private readonly sharedPath;
30
30
  private shared;
31
+ private displayName;
32
+ private awaitingDefault;
33
+ private allowCatalogDefault;
31
34
  static Config: z<Schemastery.ObjectS<NoInfer<{
32
35
  provider: z<string, string, "volatile-defined">;
33
36
  model: z<string, string, "volatile-defined">;
@@ -40,17 +43,40 @@ export declare class AgentDefaultModelConfig extends Service {
40
43
  constructor(ownerContext: Context, config: Config);
41
44
  /**
42
45
  * Read the current default model selection.
46
+ * A first launch without a valid preference adopts the first complete Config
47
+ * default when it arrives; that process-local choice then stays cached.
43
48
  * @returns a detached provider, model, and optional reasoning selection.
44
49
  */
45
50
  currentSelection(): ModelSelection;
51
+ /** Whether this product uses a process-local selection initialized from Home at startup.
52
+ * @returns true for the integrated ChatCode CLI and Web profiles.
53
+ */
54
+ usesSharedPreference(): boolean;
55
+ /** Resolve the cached route against the live catalog without reading or writing preferences.
56
+ * A first launch without a valid preference may adopt an advertised fallback
57
+ * until its first available default is resolved. Saved or initialized choices
58
+ * never switch implicitly. Catalog errors preserve the candidate for retry.
59
+ * @returns the exact available selection, an unverified candidate, or an empty provider/model pair.
60
+ */
61
+ resolveSelection(): Promise<ModelSelection>;
62
+ /** Read this process's cached display name without observing another process's saves.
63
+ * @returns The saved provider/model/name tuple, or undefined for missing or invalid name metadata.
64
+ */
65
+ sharedDisplayName(): {
66
+ provider: string;
67
+ model: string;
68
+ name: string;
69
+ } | undefined;
46
70
  /**
47
71
  * Save the complete default model selection to the shared ChatCode Home file,
48
72
  * or the owning profile entry in other deployments. Saves commit in submission
49
73
  * order; a failed save rejects its caller without blocking later saves.
74
+ * A shared save uses the caller's already resolved catalog name without an additional lookup.
50
75
  * @param next - resolved selection accepted by an entry point.
76
+ * @param name - optional display name from the entry point's catalog.
51
77
  * @returns fulfillment after the preference or optional profile write settles.
52
78
  */
53
- saveSelection(next: ModelSelection): Promise<void>;
79
+ saveSelection(next: ModelSelection, name?: string): Promise<void>;
54
80
  }
55
81
  export default AgentDefaultModelConfig;
56
82
  //# sourceMappingURL=index.d.ts.map
@@ -34,7 +34,7 @@ Every package below exports a Cordis plugin that a bundle patch can name in a Lo
34
34
 
35
35
  | Package | Config | Description |
36
36
  |---|---|---|
37
- | `@deepseek-ai/dsh-config-editor` | no | Persist plugin configuration through profile patches and Loader reconciliation |
37
+ | `@deepseek-ai/dsh-config-editor` | yes | Persist plugin configuration through profile patches and Loader reconciliation |
38
38
  | `@deepseek-ai/dsh-hmr` | yes | Coordinated module and profile configuration hot reload |
39
39
  | `@deepseek-ai/dsh-plugin-manager` | yes | Current-profile plugin and bundle management shared by dsh CLI, Web and agent tools |
40
40
 
@@ -493,6 +493,7 @@ Every package below exports a Cordis plugin that a bundle patch can name in a Lo
493
493
 
494
494
  | Package | Config | Description |
495
495
  |---|---|---|
496
+ | `@deepseek-ai/dsh-tianti` | yes | Tianti commands, resource tools, and guided development delivery for ChatCode CLI |
496
497
  | `@deepseek-ai/dsh-tool-ralph` | yes | Model-facing fresh-agent Ralph loop over the workflow and subagent seams |
497
498
  | `@deepseek-ai/dsh-tool-workflow` | yes | Model-facing workflow tool: run a JavaScript orchestration script over ctx.workflowEngine |
498
499
  | `@deepseek-ai/dsh-workflow-ptc` | yes | Workflow orchestration in the shared sandboxed Node PTC runtime |
@@ -1069,6 +1069,8 @@ window.__ModuleLoader__.load({
1069
1069
  if (!generationAbort.signal.aborted) generationAbort.abort(/* @__PURE__ */ new Error(`${this.options.name} generation ended`));
1070
1070
  }
1071
1071
  }
1072
+ } catch (error) {
1073
+ throw terminalStreamFailure(error);
1072
1074
  } finally {
1073
1075
  if (!this.lifetime.signal.aborted) this.lifetime.abort(/* @__PURE__ */ new Error(`${this.options.name} consumer closed`));
1074
1076
  this.generationAbort?.abort(this.lifetime.signal.reason);
@@ -135,6 +135,10 @@ export class RemoteStream {
135
135
  }
136
136
  }
137
137
  }
138
+ catch (error) {
139
+ // Setup failures need the same marked outcome as failures from an opened stream.
140
+ throw terminalStreamFailure(error);
141
+ }
138
142
  finally {
139
143
  if (!this.lifetime.signal.aborted) {
140
144
  this.lifetime.abort(new Error(`${this.options.name} consumer closed`));
@@ -4483,6 +4483,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4483
4483
  "description": string().readonly(),
4484
4484
  "input": object({
4485
4485
  "hint": string().readonly(),
4486
+ "suggestions": array(object({
4487
+ "value": string().readonly(),
4488
+ "description": string().readonly()
4489
+ })).readonly().optional(),
4486
4490
  "attachments": boolean().readonly().optional()
4487
4491
  }).readonly().optional()
4488
4492
  }));
@@ -4539,7 +4543,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4539
4543
  },
4540
4544
  sourceLocation: {
4541
4545
  "file": "packages/interaction/commands/src/index.ts",
4542
- "line": 361,
4546
+ "line": 380,
4543
4547
  "column": 9
4544
4548
  }
4545
4549
  }, {
@@ -4570,7 +4574,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
4570
4574
  },
4571
4575
  sourceLocation: {
4572
4576
  "file": "packages/interaction/commands/src/index.ts",
4573
- "line": 315,
4577
+ "line": 334,
4574
4578
  "column": 3
4575
4579
  }
4576
4580
  }]
@@ -5340,6 +5344,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5340
5344
  })),
5341
5345
  "revision": number()
5342
5346
  });
5347
+ let _deepseek_ai_dsh_api_settings_controller_settings_openNamespaceDocument_parameter_0$schema$value;
5348
+ const _deepseek_ai_dsh_api_settings_controller_settings_openNamespaceDocument_parameter_0$schema = () => _deepseek_ai_dsh_api_settings_controller_settings_openNamespaceDocument_parameter_0$schema$value ??= string();
5349
+ let _deepseek_ai_dsh_api_settings_controller_settings_openNamespaceDocument_result$schema$value;
5350
+ const _deepseek_ai_dsh_api_settings_controller_settings_openNamespaceDocument_result$schema = () => _deepseek_ai_dsh_api_settings_controller_settings_openNamespaceDocument_result$schema$value ??= object({ "opened": literal(true).readonly() });
5343
5351
  let _deepseek_ai_dsh_api_settings_controller_settings_openSettingsDocument_result$schema$value;
5344
5352
  const _deepseek_ai_dsh_api_settings_controller_settings_openSettingsDocument_result$schema = () => _deepseek_ai_dsh_api_settings_controller_settings_openSettingsDocument_result$schema$value ??= object({ "opened": literal(true).readonly() });
5345
5353
  let _deepseek_ai_dsh_api_settings_controller_settings_replace_parameter_0$schema$value;
@@ -5625,6 +5633,34 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5625
5633
  "column": 9
5626
5634
  }
5627
5635
  },
5636
+ {
5637
+ id: "@deepseek-ai/dsh-api-settings-controller#settings/openNamespaceDocument",
5638
+ service: "settingsController",
5639
+ namespace: "settings",
5640
+ method: "openNamespaceDocument",
5641
+ invocation: { kind: "direct" },
5642
+ parameters: [{
5643
+ name: "ns",
5644
+ wire: "ns",
5645
+ source: "json",
5646
+ codec: {
5647
+ mode: "strict",
5648
+ typeSymbol: "@deepseek-ai/dsh-api-settings-controller#settings/openNamespaceDocument:ns",
5649
+ create: _deepseek_ai_dsh_api_settings_controller_settings_openNamespaceDocument_parameter_0$schema
5650
+ }
5651
+ }],
5652
+ cancellation: { parameter: "signal" },
5653
+ result: {
5654
+ mode: "strict",
5655
+ typeSymbol: "@deepseek-ai/dsh-api-settings-controller/types#SettingsDocumentOpenValue",
5656
+ create: _deepseek_ai_dsh_api_settings_controller_settings_openNamespaceDocument_result$schema
5657
+ },
5658
+ sourceLocation: {
5659
+ "file": "packages/api/settings-controller/src/index.ts",
5660
+ "line": 178,
5661
+ "column": 9
5662
+ }
5663
+ },
5628
5664
  {
5629
5665
  id: "@deepseek-ai/dsh-api-settings-controller#settings/openSettingsDocument",
5630
5666
  service: "settingsController",
@@ -6764,7 +6800,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6764
6800
  },
6765
6801
  sourceLocation: {
6766
6802
  "file": "packages/schedule/schedule/src/index.ts",
6767
- "line": 304,
6803
+ "line": 308,
6768
6804
  "column": 9
6769
6805
  }
6770
6806
  },
@@ -6792,7 +6828,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6792
6828
  },
6793
6829
  sourceLocation: {
6794
6830
  "file": "packages/schedule/schedule/src/index.ts",
6795
- "line": 343,
6831
+ "line": 347,
6796
6832
  "column": 9
6797
6833
  }
6798
6834
  },
@@ -6819,7 +6855,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6819
6855
  },
6820
6856
  sourceLocation: {
6821
6857
  "file": "packages/schedule/schedule/src/index.ts",
6822
- "line": 322,
6858
+ "line": 326,
6823
6859
  "column": 9
6824
6860
  }
6825
6861
  },
@@ -6846,7 +6882,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6846
6882
  },
6847
6883
  sourceLocation: {
6848
6884
  "file": "packages/schedule/schedule/src/index.ts",
6849
- "line": 290,
6885
+ "line": 294,
6850
6886
  "column": 9
6851
6887
  }
6852
6888
  },
@@ -6874,7 +6910,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6874
6910
  },
6875
6911
  sourceLocation: {
6876
6912
  "file": "packages/schedule/schedule/src/index.ts",
6877
- "line": 370,
6913
+ "line": 374,
6878
6914
  "column": 9
6879
6915
  }
6880
6916
  }
@@ -9749,6 +9785,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
9749
9785
  ])
9750
9786
  }))]).optional(),
9751
9787
  "sessionListMetadata": object({
9788
+ "hasUserPrompt": boolean().readonly().optional(),
9752
9789
  "blank": boolean().readonly(),
9753
9790
  "lastPromptAt": union([literal(null), number()]).readonly()
9754
9791
  }).optional(),
@@ -10024,6 +10061,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10024
10061
  ])
10025
10062
  }))]).optional(),
10026
10063
  "sessionListMetadata": object({
10064
+ "hasUserPrompt": boolean().readonly().optional(),
10027
10065
  "blank": boolean().readonly(),
10028
10066
  "lastPromptAt": union([literal(null), number()]).readonly()
10029
10067
  }).optional(),
@@ -10245,6 +10283,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10245
10283
  ])
10246
10284
  }))]).optional(),
10247
10285
  "sessionListMetadata": object({
10286
+ "hasUserPrompt": boolean().readonly().optional(),
10248
10287
  "blank": boolean().readonly(),
10249
10288
  "lastPromptAt": union([literal(null), number()]).readonly()
10250
10289
  }).optional(),
@@ -10357,13 +10396,21 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10357
10396
  "model": string().readonly(),
10358
10397
  "reasoningEffort": string().readonly().optional()
10359
10398
  }).readonly(),
10399
+ "selectionScope": literal("process").readonly().optional(),
10400
+ "savedDisplayName": object({
10401
+ "provider": string().readonly(),
10402
+ "model": string().readonly(),
10403
+ "name": string().readonly()
10404
+ }).readonly().optional(),
10360
10405
  "routableProviders": array(string()).readonly(),
10361
10406
  "groups": array(object({
10362
10407
  "id": string().readonly(),
10363
10408
  "name": string().readonly(),
10409
+ "custom": boolean().readonly().optional(),
10364
10410
  "models": array(object({
10365
10411
  "id": string().readonly(),
10366
10412
  "name": string().readonly(),
10413
+ "inputModalities": array(union([literal("text"), literal("image")])).readonly().optional(),
10367
10414
  "description": string().readonly().optional(),
10368
10415
  "reasoning": object({
10369
10416
  "efforts": array(object({
@@ -10489,6 +10536,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10489
10536
  ])
10490
10537
  }))]).optional(),
10491
10538
  "sessionListMetadata": object({
10539
+ "hasUserPrompt": boolean().readonly().optional(),
10492
10540
  "blank": boolean().readonly(),
10493
10541
  "lastPromptAt": union([literal(null), number()]).readonly()
10494
10542
  }).optional(),
@@ -10761,7 +10809,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10761
10809
  },
10762
10810
  sourceLocation: {
10763
10811
  "file": "packages/api/session-controller/src/index.ts",
10764
- "line": 437,
10812
+ "line": 443,
10765
10813
  "column": 3
10766
10814
  }
10767
10815
  },
@@ -10788,7 +10836,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10788
10836
  },
10789
10837
  sourceLocation: {
10790
10838
  "file": "packages/api/session-controller/src/index.ts",
10791
- "line": 457,
10839
+ "line": 463,
10792
10840
  "column": 3
10793
10841
  }
10794
10842
  },
@@ -10806,7 +10854,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10806
10854
  },
10807
10855
  sourceLocation: {
10808
10856
  "file": "packages/api/session-controller/src/index.ts",
10809
- "line": 319,
10857
+ "line": 325,
10810
10858
  "column": 3
10811
10859
  }
10812
10860
  },
@@ -10826,7 +10874,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10826
10874
  },
10827
10875
  sourceLocation: {
10828
10876
  "file": "packages/api/session-controller/src/index.ts",
10829
- "line": 520,
10877
+ "line": 535,
10830
10878
  "column": 3
10831
10879
  }
10832
10880
  },
@@ -10853,8 +10901,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10853
10901
  },
10854
10902
  sourceLocation: {
10855
10903
  "file": "packages/api/session-controller/src/index.ts",
10856
- "line": 273,
10857
- "column": 3
10904
+ "line": 276,
10905
+ "column": 9
10858
10906
  }
10859
10907
  },
10860
10908
  {
@@ -10882,8 +10930,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10882
10930
  },
10883
10931
  sourceLocation: {
10884
10932
  "file": "packages/api/session-controller/src/index.ts",
10885
- "line": 480,
10886
- "column": 3
10933
+ "line": 486,
10934
+ "column": 10
10887
10935
  }
10888
10936
  },
10889
10937
  {
@@ -10909,7 +10957,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10909
10957
  },
10910
10958
  sourceLocation: {
10911
10959
  "file": "packages/api/session-controller/src/index.ts",
10912
- "line": 415,
10960
+ "line": 421,
10913
10961
  "column": 3
10914
10962
  }
10915
10963
  },
@@ -10927,7 +10975,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10927
10975
  },
10928
10976
  sourceLocation: {
10929
10977
  "file": "packages/api/session-controller/src/index.ts",
10930
- "line": 292,
10978
+ "line": 296,
10931
10979
  "column": 9
10932
10980
  }
10933
10981
  },
@@ -10955,7 +11003,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10955
11003
  },
10956
11004
  sourceLocation: {
10957
11005
  "file": "packages/api/session-controller/src/index.ts",
10958
- "line": 252,
11006
+ "line": 255,
10959
11007
  "column": 9
10960
11008
  }
10961
11009
  },
@@ -10973,7 +11021,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
10973
11021
  },
10974
11022
  sourceLocation: {
10975
11023
  "file": "packages/api/session-controller/src/index.ts",
10976
- "line": 310,
11024
+ "line": 316,
10977
11025
  "column": 3
10978
11026
  }
10979
11027
  },
@@ -11001,7 +11049,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11001
11049
  },
11002
11050
  sourceLocation: {
11003
11051
  "file": "packages/api/session-controller/src/index.ts",
11004
- "line": 340,
11052
+ "line": 346,
11005
11053
  "column": 9
11006
11054
  }
11007
11055
  },
@@ -11029,7 +11077,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11029
11077
  },
11030
11078
  sourceLocation: {
11031
11079
  "file": "packages/api/session-controller/src/index.ts",
11032
- "line": 468,
11080
+ "line": 474,
11033
11081
  "column": 3
11034
11082
  }
11035
11083
  },
@@ -11057,7 +11105,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11057
11105
  },
11058
11106
  sourceLocation: {
11059
11107
  "file": "packages/api/session-controller/src/index.ts",
11060
- "line": 491,
11108
+ "line": 505,
11061
11109
  "column": 9
11062
11110
  }
11063
11111
  },
@@ -11085,7 +11133,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11085
11133
  },
11086
11134
  sourceLocation: {
11087
11135
  "file": "packages/api/session-controller/src/index.ts",
11088
- "line": 426,
11136
+ "line": 432,
11089
11137
  "column": 3
11090
11138
  }
11091
11139
  },
@@ -11112,7 +11160,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11112
11160
  },
11113
11161
  sourceLocation: {
11114
11162
  "file": "packages/api/session-controller/src/index.ts",
11115
- "line": 403,
11163
+ "line": 409,
11116
11164
  "column": 3
11117
11165
  }
11118
11166
  },
@@ -11140,7 +11188,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11140
11188
  },
11141
11189
  sourceLocation: {
11142
11190
  "file": "packages/api/session-controller/src/index.ts",
11143
- "line": 263,
11191
+ "line": 266,
11144
11192
  "column": 3
11145
11193
  }
11146
11194
  },
@@ -11167,7 +11215,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11167
11215
  },
11168
11216
  sourceLocation: {
11169
11217
  "file": "packages/api/session-controller/src/index.ts",
11170
- "line": 283,
11218
+ "line": 287,
11171
11219
  "column": 3
11172
11220
  }
11173
11221
  },
@@ -11194,7 +11242,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11194
11242
  },
11195
11243
  sourceLocation: {
11196
11244
  "file": "packages/api/session-controller/src/index.ts",
11197
- "line": 447,
11245
+ "line": 453,
11198
11246
  "column": 3
11199
11247
  }
11200
11248
  },
@@ -11222,7 +11270,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11222
11270
  },
11223
11271
  sourceLocation: {
11224
11272
  "file": "packages/api/session-controller/src/index.ts",
11225
- "line": 370,
11273
+ "line": 376,
11226
11274
  "column": 9
11227
11275
  }
11228
11276
  },
@@ -11514,6 +11562,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11514
11562
  const _deepseek_ai_dsh_api_workspace_controller_workspace_delete_parameter_0$schema = () => _deepseek_ai_dsh_api_workspace_controller_workspace_delete_parameter_0$schema$value ??= object({ "workspaceId": intersection(string(), unknown()).readonly() });
11515
11563
  let _deepseek_ai_dsh_api_workspace_controller_workspace_delete_result$schema$value;
11516
11564
  const _deepseek_ai_dsh_api_workspace_controller_workspace_delete_result$schema = () => _deepseek_ai_dsh_api_workspace_controller_workspace_delete_result$schema$value ??= object({ "deleted": literal(true).readonly() });
11565
+ let _deepseek_ai_dsh_api_workspace_controller_workspace_deleteSession_parameter_0$schema$value;
11566
+ const _deepseek_ai_dsh_api_workspace_controller_workspace_deleteSession_parameter_0$schema = () => _deepseek_ai_dsh_api_workspace_controller_workspace_deleteSession_parameter_0$schema$value ??= object({
11567
+ "expectedSessionIds": array(intersection(string(), unknown())).readonly(),
11568
+ "sessionId": intersection(string(), unknown()).readonly()
11569
+ });
11570
+ let _deepseek_ai_dsh_api_workspace_controller_workspace_deleteSession_result$schema$value;
11571
+ const _deepseek_ai_dsh_api_workspace_controller_workspace_deleteSession_result$schema = () => _deepseek_ai_dsh_api_workspace_controller_workspace_deleteSession_result$schema$value ??= object({ "sessionIds": array(intersection(string(), unknown())).readonly() });
11517
11572
  let _deepseek_ai_dsh_api_workspace_controller_workspace_follow_result$schema$value;
11518
11573
  const _deepseek_ai_dsh_api_workspace_controller_workspace_follow_result$schema = () => _deepseek_ai_dsh_api_workspace_controller_workspace_follow_result$schema$value ??= union([
11519
11574
  object({
@@ -11608,6 +11663,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11608
11663
  "createdAt": string().readonly(),
11609
11664
  "updatedAt": string().readonly()
11610
11665
  }).readonly() });
11666
+ let _deepseek_ai_dsh_api_workspace_controller_workspace_sessionDeletionScope_parameter_0$schema$value;
11667
+ const _deepseek_ai_dsh_api_workspace_controller_workspace_sessionDeletionScope_parameter_0$schema = () => _deepseek_ai_dsh_api_workspace_controller_workspace_sessionDeletionScope_parameter_0$schema$value ??= object({ "sessionId": intersection(string(), unknown()).readonly() });
11668
+ let _deepseek_ai_dsh_api_workspace_controller_workspace_sessionDeletionScope_result$schema$value;
11669
+ const _deepseek_ai_dsh_api_workspace_controller_workspace_sessionDeletionScope_result$schema = () => _deepseek_ai_dsh_api_workspace_controller_workspace_sessionDeletionScope_result$schema$value ??= object({ "sessionIds": array(intersection(string(), unknown())).readonly() });
11611
11670
  let _deepseek_ai_dsh_api_workspace_controller_workspace_unarchiveSession_parameter_0$schema$value;
11612
11671
  const _deepseek_ai_dsh_api_workspace_controller_workspace_unarchiveSession_parameter_0$schema = () => _deepseek_ai_dsh_api_workspace_controller_workspace_unarchiveSession_parameter_0$schema$value ??= object({ "sessionId": intersection(string(), unknown()).readonly() });
11613
11672
  let _deepseek_ai_dsh_api_workspace_controller_workspace_unarchiveSession_result$schema$value;
@@ -11726,7 +11785,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11726
11785
  },
11727
11786
  sourceLocation: {
11728
11787
  "file": "packages/api/workspace-controller/src/index.ts",
11729
- "line": 155,
11788
+ "line": 156,
11730
11789
  "column": 3
11731
11790
  }
11732
11791
  },
@@ -11753,7 +11812,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11753
11812
  },
11754
11813
  sourceLocation: {
11755
11814
  "file": "packages/api/workspace-controller/src/index.ts",
11756
- "line": 86,
11815
+ "line": 87,
11757
11816
  "column": 3
11758
11817
  }
11759
11818
  },
@@ -11780,7 +11839,34 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11780
11839
  },
11781
11840
  sourceLocation: {
11782
11841
  "file": "packages/api/workspace-controller/src/index.ts",
11783
- "line": 125,
11842
+ "line": 126,
11843
+ "column": 3
11844
+ }
11845
+ },
11846
+ {
11847
+ id: "@deepseek-ai/dsh-api-workspace-controller#workspace/deleteSession",
11848
+ service: "workspaceController",
11849
+ namespace: "workspace",
11850
+ method: "deleteSession",
11851
+ invocation: { kind: "direct" },
11852
+ parameters: [{
11853
+ name: "request",
11854
+ wire: "request",
11855
+ source: "json",
11856
+ codec: {
11857
+ mode: "strict",
11858
+ typeSymbol: "@deepseek-ai/dsh-api-workspace-controller/types#WorkspaceSessionDeletionRequest",
11859
+ create: _deepseek_ai_dsh_api_workspace_controller_workspace_deleteSession_parameter_0$schema
11860
+ }
11861
+ }],
11862
+ result: {
11863
+ mode: "strict",
11864
+ typeSymbol: "@deepseek-ai/dsh-api-workspace-controller/types#WorkspaceSessionDeletionValue",
11865
+ create: _deepseek_ai_dsh_api_workspace_controller_workspace_deleteSession_result$schema
11866
+ },
11867
+ sourceLocation: {
11868
+ "file": "packages/api/workspace-controller/src/index.ts",
11869
+ "line": 186,
11784
11870
  "column": 3
11785
11871
  }
11786
11872
  },
@@ -11800,7 +11886,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11800
11886
  },
11801
11887
  sourceLocation: {
11802
11888
  "file": "packages/api/workspace-controller/src/index.ts",
11803
- "line": 195,
11889
+ "line": 216,
11804
11890
  "column": 3
11805
11891
  }
11806
11892
  },
@@ -11819,7 +11905,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11819
11905
  },
11820
11906
  sourceLocation: {
11821
11907
  "file": "packages/api/workspace-controller/src/index.ts",
11822
- "line": 99,
11908
+ "line": 100,
11823
11909
  "column": 9
11824
11910
  }
11825
11911
  },
@@ -11846,7 +11932,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11846
11932
  },
11847
11933
  sourceLocation: {
11848
11934
  "file": "packages/api/workspace-controller/src/index.ts",
11849
- "line": 135,
11935
+ "line": 136,
11850
11936
  "column": 3
11851
11937
  }
11852
11938
  },
@@ -11873,7 +11959,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11873
11959
  },
11874
11960
  sourceLocation: {
11875
11961
  "file": "packages/api/workspace-controller/src/index.ts",
11876
- "line": 145,
11962
+ "line": 146,
11877
11963
  "column": 3
11878
11964
  }
11879
11965
  },
@@ -11900,7 +11986,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11900
11986
  },
11901
11987
  sourceLocation: {
11902
11988
  "file": "packages/api/workspace-controller/src/index.ts",
11903
- "line": 175,
11989
+ "line": 196,
11904
11990
  "column": 3
11905
11991
  }
11906
11992
  },
@@ -11927,7 +12013,34 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11927
12013
  },
11928
12014
  sourceLocation: {
11929
12015
  "file": "packages/api/workspace-controller/src/index.ts",
11930
- "line": 115,
12016
+ "line": 116,
12017
+ "column": 3
12018
+ }
12019
+ },
12020
+ {
12021
+ id: "@deepseek-ai/dsh-api-workspace-controller#workspace/sessionDeletionScope",
12022
+ service: "workspaceController",
12023
+ namespace: "workspace",
12024
+ method: "sessionDeletionScope",
12025
+ invocation: { kind: "direct" },
12026
+ parameters: [{
12027
+ name: "request",
12028
+ wire: "request",
12029
+ source: "json",
12030
+ codec: {
12031
+ mode: "strict",
12032
+ typeSymbol: "@deepseek-ai/dsh-api-workspace-controller/types#WorkspaceSessionDeletionPreviewRequest",
12033
+ create: _deepseek_ai_dsh_api_workspace_controller_workspace_sessionDeletionScope_parameter_0$schema
12034
+ }
12035
+ }],
12036
+ result: {
12037
+ mode: "strict",
12038
+ typeSymbol: "@deepseek-ai/dsh-api-workspace-controller/types#WorkspaceSessionDeletionValue",
12039
+ create: _deepseek_ai_dsh_api_workspace_controller_workspace_sessionDeletionScope_result$schema
12040
+ },
12041
+ sourceLocation: {
12042
+ "file": "packages/api/workspace-controller/src/index.ts",
12043
+ "line": 176,
11931
12044
  "column": 3
11932
12045
  }
11933
12046
  },
@@ -11954,7 +12067,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11954
12067
  },
11955
12068
  sourceLocation: {
11956
12069
  "file": "packages/api/workspace-controller/src/index.ts",
11957
- "line": 165,
12070
+ "line": 166,
11958
12071
  "column": 3
11959
12072
  }
11960
12073
  },
@@ -11981,7 +12094,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
11981
12094
  },
11982
12095
  sourceLocation: {
11983
12096
  "file": "packages/api/workspace-controller/src/index.ts",
11984
- "line": 185,
12097
+ "line": 206,
11985
12098
  "column": 3
11986
12099
  }
11987
12100
  }
@@ -35,6 +35,10 @@ const API_REMOTE_FORWARDED_EVENTS = [
35
35
  event: "api-session/error",
36
36
  mode: "emit"
37
37
  },
38
+ {
39
+ event: "api-session/model-updated",
40
+ mode: "emit"
41
+ },
38
42
  {
39
43
  event: "api-session/removed",
40
44
  mode: "emit"
@@ -24,6 +24,9 @@ export declare const API_REMOTE_FORWARDED_EVENTS: readonly [{
24
24
  }, {
25
25
  readonly event: "api-session/error";
26
26
  readonly mode: "emit";
27
+ }, {
28
+ readonly event: "api-session/model-updated";
29
+ readonly mode: "emit";
27
30
  }, {
28
31
  readonly event: "api-session/removed";
29
32
  readonly mode: "emit";
@@ -15,6 +15,7 @@ export const API_REMOTE_FORWARDED_EVENTS = [
15
15
  { event: 'api-session/activity', mode: 'emit' },
16
16
  { event: 'api-session/added', mode: 'emit' },
17
17
  { event: 'api-session/error', mode: 'emit' },
18
+ { event: 'api-session/model-updated', mode: 'emit' },
18
19
  { event: 'api-session/removed', mode: 'emit' },
19
20
  { event: 'api-session/status', mode: 'emit' },
20
21
  { event: 'commands/change', mode: 'emit' },