@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
@@ -69,6 +69,7 @@ const _deepseek_ai_dsh_api_session_controller_session_control_result$schema = ()
69
69
  'status': z.union([z.literal("completed"), z.literal("pending"), z.literal("in_progress")]),
70
70
  }))]).optional(),
71
71
  'sessionListMetadata': z.object({
72
+ 'hasUserPrompt': z.boolean().readonly().optional(),
72
73
  'blank': z.boolean().readonly(),
73
74
  'lastPromptAt': z.union([z.literal(null), z.number()]).readonly(),
74
75
  }).optional(),
@@ -241,6 +242,7 @@ const _deepseek_ai_dsh_api_session_controller_session_follow_result$schema = ()
241
242
  'status': z.union([z.literal("completed"), z.literal("pending"), z.literal("in_progress")]),
242
243
  }))]).optional(),
243
244
  'sessionListMetadata': z.object({
245
+ 'hasUserPrompt': z.boolean().readonly().optional(),
244
246
  'blank': z.boolean().readonly(),
245
247
  'lastPromptAt': z.union([z.literal(null), z.number()]).readonly(),
246
248
  }).optional(),
@@ -403,6 +405,7 @@ const _deepseek_ai_dsh_api_session_controller_session_list_result$schema = () =>
403
405
  'status': z.union([z.literal("completed"), z.literal("pending"), z.literal("in_progress")]),
404
406
  }))]).optional(),
405
407
  'sessionListMetadata': z.object({
408
+ 'hasUserPrompt': z.boolean().readonly().optional(),
406
409
  'blank': z.boolean().readonly(),
407
410
  'lastPromptAt': z.union([z.literal(null), z.number()]).readonly(),
408
411
  }).optional(),
@@ -492,13 +495,21 @@ const _deepseek_ai_dsh_api_session_controller_session_modelCatalog_result$schema
492
495
  'model': z.string().readonly(),
493
496
  'reasoningEffort': z.string().readonly().optional(),
494
497
  }).readonly(),
498
+ 'selectionScope': z.literal("process").readonly().optional(),
499
+ 'savedDisplayName': z.object({
500
+ 'provider': z.string().readonly(),
501
+ 'model': z.string().readonly(),
502
+ 'name': z.string().readonly(),
503
+ }).readonly().optional(),
495
504
  'routableProviders': z.array(z.string()).readonly(),
496
505
  'groups': z.array(z.object({
497
506
  'id': z.string().readonly(),
498
507
  'name': z.string().readonly(),
508
+ 'custom': z.boolean().readonly().optional(),
499
509
  'models': z.array(z.object({
500
510
  'id': z.string().readonly(),
501
511
  'name': z.string().readonly(),
512
+ 'inputModalities': z.array(z.union([z.literal("text"), z.literal("image")])).readonly().optional(),
502
513
  'description': z.string().readonly().optional(),
503
514
  'reasoning': z.object({
504
515
  'efforts': z.array(z.object({
@@ -580,6 +591,7 @@ const _deepseek_ai_dsh_api_session_controller_session_projections_result$schema
580
591
  'status': z.union([z.literal("completed"), z.literal("pending"), z.literal("in_progress")]),
581
592
  }))]).optional(),
582
593
  'sessionListMetadata': z.object({
594
+ 'hasUserPrompt': z.boolean().readonly().optional(),
583
595
  'blank': z.boolean().readonly(),
584
596
  'lastPromptAt': z.union([z.literal(null), z.number()]).readonly(),
585
597
  }).optional(),
@@ -836,7 +848,7 @@ export const TYPERT = {
836
848
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionAttachmentValue',
837
849
  create: _deepseek_ai_dsh_api_session_controller_session_attachment_result$schema,
838
850
  },
839
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":437,"column":3},
851
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":443,"column":3},
840
852
  },
841
853
  {
842
854
  id: '@deepseek-ai/dsh-api-session-controller#session/cancel',
@@ -861,7 +873,7 @@ export const TYPERT = {
861
873
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionCancelValue',
862
874
  create: _deepseek_ai_dsh_api_session_controller_session_cancel_result$schema,
863
875
  },
864
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":457,"column":3},
876
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":463,"column":3},
865
877
  },
866
878
  {
867
879
  id: '@deepseek-ai/dsh-api-session-controller#session/canOpenWorkspacePath',
@@ -876,7 +888,7 @@ export const TYPERT = {
876
888
  typeSymbol: '@deepseek-ai/dsh-api-session-controller#session/canOpenWorkspacePath:result',
877
889
  create: _deepseek_ai_dsh_api_session_controller_session_canOpenWorkspacePath_result$schema,
878
890
  },
879
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":319,"column":3},
891
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":325,"column":3},
880
892
  },
881
893
  {
882
894
  id: '@deepseek-ai/dsh-api-session-controller#session/control',
@@ -893,7 +905,7 @@ export const TYPERT = {
893
905
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionControlFrame',
894
906
  create: _deepseek_ai_dsh_api_session_controller_session_control_result$schema,
895
907
  },
896
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":520,"column":3},
908
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":535,"column":3},
897
909
  },
898
910
  {
899
911
  id: '@deepseek-ai/dsh-api-session-controller#session/create',
@@ -918,7 +930,7 @@ export const TYPERT = {
918
930
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionCreateValue',
919
931
  create: _deepseek_ai_dsh_api_session_controller_session_create_result$schema,
920
932
  },
921
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":273,"column":3},
933
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":276,"column":9},
922
934
  },
923
935
  {
924
936
  id: '@deepseek-ai/dsh-api-session-controller#session/follow',
@@ -945,7 +957,7 @@ export const TYPERT = {
945
957
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionFollowFrame',
946
958
  create: _deepseek_ai_dsh_api_session_controller_session_follow_result$schema,
947
959
  },
948
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":480,"column":3},
960
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":486,"column":10},
949
961
  },
950
962
  {
951
963
  id: '@deepseek-ai/dsh-api-session-controller#session/fork',
@@ -970,7 +982,7 @@ export const TYPERT = {
970
982
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionForkValue',
971
983
  create: _deepseek_ai_dsh_api_session_controller_session_fork_result$schema,
972
984
  },
973
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":415,"column":3},
985
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":421,"column":3},
974
986
  },
975
987
  {
976
988
  id: '@deepseek-ai/dsh-api-session-controller#session/initializeDefaultModel',
@@ -985,7 +997,7 @@ export const TYPERT = {
985
997
  typeSymbol: '@deepseek-ai/dsh-api-session-controller#session/initializeDefaultModel:result',
986
998
  create: _deepseek_ai_dsh_api_session_controller_session_initializeDefaultModel_result$schema,
987
999
  },
988
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":292,"column":9},
1000
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":296,"column":9},
989
1001
  },
990
1002
  {
991
1003
  id: '@deepseek-ai/dsh-api-session-controller#session/list',
@@ -1011,7 +1023,7 @@ export const TYPERT = {
1011
1023
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionListValue',
1012
1024
  create: _deepseek_ai_dsh_api_session_controller_session_list_result$schema,
1013
1025
  },
1014
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":252,"column":9},
1026
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":255,"column":9},
1015
1027
  },
1016
1028
  {
1017
1029
  id: '@deepseek-ai/dsh-api-session-controller#session/modelCatalog',
@@ -1026,7 +1038,7 @@ export const TYPERT = {
1026
1038
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#ModelCatalog',
1027
1039
  create: _deepseek_ai_dsh_api_session_controller_session_modelCatalog_result$schema,
1028
1040
  },
1029
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":310,"column":3},
1041
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":316,"column":3},
1030
1042
  },
1031
1043
  {
1032
1044
  id: '@deepseek-ai/dsh-api-session-controller#session/openWorkspacePath',
@@ -1052,7 +1064,7 @@ export const TYPERT = {
1052
1064
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionOpenWorkspacePathValue',
1053
1065
  create: _deepseek_ai_dsh_api_session_controller_session_openWorkspacePath_result$schema,
1054
1066
  },
1055
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":340,"column":9},
1067
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":346,"column":9},
1056
1068
  },
1057
1069
  {
1058
1070
  id: '@deepseek-ai/dsh-api-session-controller#session/page',
@@ -1078,7 +1090,7 @@ export const TYPERT = {
1078
1090
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionPage',
1079
1091
  create: _deepseek_ai_dsh_api_session_controller_session_page_result$schema,
1080
1092
  },
1081
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":468,"column":3},
1093
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":474,"column":3},
1082
1094
  },
1083
1095
  {
1084
1096
  id: '@deepseek-ai/dsh-api-session-controller#session/projections',
@@ -1104,7 +1116,7 @@ export const TYPERT = {
1104
1116
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionProjectionsValue',
1105
1117
  create: _deepseek_ai_dsh_api_session_controller_session_projections_result$schema,
1106
1118
  },
1107
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":491,"column":9},
1119
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":505,"column":9},
1108
1120
  },
1109
1121
  {
1110
1122
  id: '@deepseek-ai/dsh-api-session-controller#session/prompt',
@@ -1130,7 +1142,7 @@ export const TYPERT = {
1130
1142
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionPromptValue',
1131
1143
  create: _deepseek_ai_dsh_api_session_controller_session_prompt_result$schema,
1132
1144
  },
1133
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":426,"column":3},
1145
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":432,"column":3},
1134
1146
  },
1135
1147
  {
1136
1148
  id: '@deepseek-ai/dsh-api-session-controller#session/rename',
@@ -1155,7 +1167,7 @@ export const TYPERT = {
1155
1167
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionRenameValue',
1156
1168
  create: _deepseek_ai_dsh_api_session_controller_session_rename_result$schema,
1157
1169
  },
1158
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":403,"column":3},
1170
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":409,"column":3},
1159
1171
  },
1160
1172
  {
1161
1173
  id: '@deepseek-ai/dsh-api-session-controller#session/search',
@@ -1181,7 +1193,7 @@ export const TYPERT = {
1181
1193
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionSearchValue',
1182
1194
  create: _deepseek_ai_dsh_api_session_controller_session_search_result$schema,
1183
1195
  },
1184
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":263,"column":3},
1196
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":266,"column":3},
1185
1197
  },
1186
1198
  {
1187
1199
  id: '@deepseek-ai/dsh-api-session-controller#session/selectModel',
@@ -1206,7 +1218,7 @@ export const TYPERT = {
1206
1218
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionSelectModelValue',
1207
1219
  create: _deepseek_ai_dsh_api_session_controller_session_selectModel_result$schema,
1208
1220
  },
1209
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":283,"column":3},
1221
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":287,"column":3},
1210
1222
  },
1211
1223
  {
1212
1224
  id: '@deepseek-ai/dsh-api-session-controller#session/updateQueue',
@@ -1231,7 +1243,7 @@ export const TYPERT = {
1231
1243
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionUpdateQueueValue',
1232
1244
  create: _deepseek_ai_dsh_api_session_controller_session_updateQueue_result$schema,
1233
1245
  },
1234
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":447,"column":3},
1246
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":453,"column":3},
1235
1247
  },
1236
1248
  {
1237
1249
  id: '@deepseek-ai/dsh-api-session-controller#session/workspacePathApplications',
@@ -1257,7 +1269,7 @@ export const TYPERT = {
1257
1269
  typeSymbol: '@deepseek-ai/dsh-api-session-controller#session/workspacePathApplications:result',
1258
1270
  create: _deepseek_ai_dsh_api_session_controller_session_workspacePathApplications_result$schema,
1259
1271
  },
1260
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":370,"column":9},
1272
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":376,"column":9},
1261
1273
  },
1262
1274
  {
1263
1275
  id: '@deepseek-ai/dsh-api-session-controller#skills/list',
@@ -1327,7 +1339,7 @@ export const TYPERT = {
1327
1339
  {
1328
1340
  "kind": "method",
1329
1341
  "name": "create",
1330
- "signature": "@Remote('create') create(request: SessionCreateRequest): Promise<SessionCreateValue>",
1342
+ "signature": "@Remote('create') async create(request: SessionCreateRequest): Promise<SessionCreateValue>",
1331
1343
  "summary": "Create or idempotently adopt one ordinary Session.",
1332
1344
  "jsDoc": "/**\n * Create or idempotently adopt one ordinary Session.\n * @param request - requested identity, location, and Agent preset.\n * @returns the Session identity and resolved preset when configured.\n */"
1333
1345
  },
@@ -1335,15 +1347,15 @@ export const TYPERT = {
1335
1347
  "kind": "method",
1336
1348
  "name": "selectModel",
1337
1349
  "signature": "@Remote('selectModel') selectModel(request: SessionSelectModelRequest): Promise<SessionSelectModelValue>",
1338
- "summary": "Select one Session-local model after explicitly resuming the Session; save the default in the background.",
1339
- "jsDoc": "/**\n * Select one Session-local model after explicitly resuming the Session; save the default in the background.\n * @param request - Session identity and requested model selection.\n * @returns the normalized selection installed for the Session, without waiting for default persistence.\n */"
1350
+ "summary": "Select a model after explicitly resuming the Session and awaiting default persistence.",
1351
+ "jsDoc": "/**\n * Select a model after explicitly resuming the Session and awaiting default persistence.\n * @param request - Session identity and requested model selection.\n * @returns the normalized selection after the shared save and Session selection succeed.\n */"
1340
1352
  },
1341
1353
  {
1342
1354
  "kind": "method",
1343
1355
  "name": "initializeDefaultModel",
1344
1356
  "signature": "@Remote async initializeDefaultModel(): Promise<void>",
1345
- "summary": "Select the first available account model after login when no provider API key is configured.",
1346
- "jsDoc": "/**\n * Select the first available account model after login when no provider API key is configured.\n * @returns after saving the first available model or retaining the existing default.\n */"
1357
+ "summary": "Initialize legacy account deployments without changing a product process's cached selection.",
1358
+ "jsDoc": "/**\n * Initialize legacy account deployments without changing a product process's cached selection.\n * @returns after saving the first available model or retaining the existing default.\n */"
1347
1359
  },
1348
1360
  {
1349
1361
  "kind": "method",
@@ -1432,7 +1444,7 @@ export const TYPERT = {
1432
1444
  {
1433
1445
  "kind": "method",
1434
1446
  "name": "follow",
1435
- "signature": "@Remote({ mode: 'stream' }) follow(request: SessionFollowRequest, signal: AbortSignal): AsyncIterable<SessionFollowFrame>",
1447
+ "signature": "@Remote({ mode: 'stream' }) async *follow(request: SessionFollowRequest, signal: AbortSignal): AsyncIterable<SessionFollowFrame>",
1436
1448
  "summary": "Follow one Session log from its opening or resume cursor.",
1437
1449
  "jsDoc": "/**\n * Follow one Session log from its opening or resume cursor.\n * @param request - durable address and last committed sequence already held by the caller.\n * @param signal - cancellation owned by the Remote stream carrier.\n * @returns a complete opening snapshot followed by gap-free durable event\n * frames and optional cursorless assistant-stream frames.\n */"
1438
1450
  },
@@ -1778,7 +1790,7 @@ export const TYPERT = {
1778
1790
  },
1779
1791
  {
1780
1792
  "name": "ModelCatalog",
1781
- "declaration": "export interface ModelCatalog {\n readonly default: ModelSelection;\n readonly routableProviders: readonly string[];\n readonly groups: readonly ModelProviderGroup[];\n readonly failures: readonly ModelCatalogFailure[];\n}"
1793
+ "declaration": "export interface ModelCatalog {\n readonly default: ModelSelection;\n readonly selectionScope?: 'process';\n readonly savedDisplayName?: { readonly provider: string; readonly model: string; readonly name: string; };\n readonly routableProviders: readonly string[];\n readonly groups: readonly ModelProviderGroup[];\n readonly failures: readonly ModelCatalogFailure[];\n}"
1782
1794
  },
1783
1795
  {
1784
1796
  "name": "ModelCatalogFailure",
@@ -1786,7 +1798,7 @@ export const TYPERT = {
1786
1798
  },
1787
1799
  {
1788
1800
  "name": "ModelCatalogModel",
1789
- "declaration": "export interface ModelCatalogModel {\n readonly id: string;\n readonly name: string;\n readonly description?: string;\n readonly reasoning?: ModelReasoning;\n}"
1801
+ "declaration": "export interface ModelCatalogModel {\n readonly id: string;\n readonly name: string;\n readonly inputModalities?: readonly ('text' | 'image')[];\n readonly description?: string;\n readonly reasoning?: ModelReasoning;\n}"
1790
1802
  },
1791
1803
  {
1792
1804
  "name": "ModelMessageSource",
@@ -1794,7 +1806,7 @@ export const TYPERT = {
1794
1806
  },
1795
1807
  {
1796
1808
  "name": "ModelProviderGroup",
1797
- "declaration": "export interface ModelProviderGroup {\n readonly id: string;\n readonly name: string;\n readonly models: readonly ModelCatalogModel[];\n}"
1809
+ "declaration": "export interface ModelProviderGroup {\n readonly id: string;\n readonly name: string;\n readonly custom?: boolean;\n readonly models: readonly ModelCatalogModel[];\n}"
1798
1810
  },
1799
1811
  {
1800
1812
  "name": "ModelReasoning",
@@ -1874,7 +1886,7 @@ export const TYPERT = {
1874
1886
  },
1875
1887
  {
1876
1888
  "name": "RemoteErrorDetailsMap",
1877
- "declaration": "export interface RemoteErrorDetailsMap {\n 'gateway/bad-request': { readonly issues?: readonly object[]; };\n 'gateway/cancelled': {};\n 'gateway/internal': {};\n 'llm/model-discovery-rejected': { readonly settingsNs: string; readonly baseURL?: string; };\n 'session/not-found': { readonly sessionId: SessionId; };\n 'workspace/not-found': { readonly workspaceId: WorkspaceId; };\n 'agent-preset/not-found': { readonly agentPreset: string; readonly available: readonly string[]; };\n 'agent-preset/invalid': { readonly agentPreset: string; readonly reason: string; };\n 'agent-preset/locked': { readonly sessionId: SessionId; readonly agentPreset: string; };\n 'job/not-found': { readonly sessionId: SessionId; readonly jobId: JobId; };\n 'session/provider-credentials-unavailable': Record<string, never>;\n 'session/provider-models-unavailable': { readonly provider: string; };\n 'session/model-unavailable': { readonly provider: string; readonly model: string; };\n 'session/conflict': { readonly sessionId: SessionId; readonly requestedCwd: string; readonly existingCwd?: string; };\n 'session/projections-unavailable': Record<string, never>;\n 'session/writer-held': { readonly sessionId: SessionId; };\n 'session/agent-busy': { readonly reason: string; };\n 'session/invalid-time-zone': { readonly value: string; };\n 'session/workspace-attach-failed': { readonly sessionId: SessionId; readonly workspaceId: string; };\n 'agent-preset/conflict': { readonly sessionId: SessionId; readonly requestedPreset: string; readonly existingPreset?: string; };\n 'session/attachment-invalid': { readonly reason: string; };\n 'session/queue-item-not-found': { readonly itemId: MessageId; };\n 'session/steer-unavailable': { readonly itemId: MessageId; };\n 'session/title-invalid': { readonly sessionId: SessionId; };\n 'session/fork-unavailable': { readonly sessionId: SessionId; };\n 'subagent/not-found': { readonly parentSessionId: SessionId; readonly childSessionId: SessionId; };\n 'subagent/catalog-diagnostic': { readonly parentSessionId: SessionId; readonly childSessionId: SessionId; readonly reason: 'corrupt' | 'unsupported' | 'unavailable'; };\n 'subagent/invalid-time-zone': { readonly value: string; };\n 'subagent/parent-unavailable': { readonly parentSessionId: SessionId; };\n 'subagent/not-resumable': { readonly childSessionId: SessionId; };\n 'subagent/unauthorized': { readonly childSessionId: SessionId; };\n 'subagent/attachment-invalid': { readonly reason: string; };\n 'subagent/delivery-unavailable': { readonly childSessionId: SessionId; };\n 'settings/rejected': { readonly ns: string; };\n 'settings/conflict': { readonly ns: string; readonly expected: number; readonly actual: number; };\n 'credential/rejected': { readonly ref: string; };\n 'terminal/unavailable': Record<string, never>;\n 'terminal/control-unavailable': { readonly reason: 'read-only' | 'not-running'; };\n 'terminal/limit-reached': { readonly limit: number; };\n 'workspace/invalid-path': { readonly path: string; };\n 'workspace/name-conflict': { readonly name: string; };\n 'workspace/session-active': { readonly sessionId: SessionId; readonly activity: readonly SessionActivity[]; };\n 'workspace/move-invalid': { readonly workspaceId: WorkspaceId; readonly sessionId: SessionId; readonly beforeSessionId?: SessionId; };\n 'directory-picker/unavailable': { readonly capability: string; };\n 'directory-picker/unreadable': { readonly path: string; };\n 'directory-picker/exists': { readonly path: string; };\n 'directory-picker/create-failed': { readonly path: string; };\n 'workspace-file/watch-unsupported': { readonly path: string; };\n 'workspace-file/not-found': { readonly path: string; };\n 'workspace-file/outside-workspace': { readonly path: string; };\n 'workspace-file/too-large': { readonly path: string; readonly limit: number; };\n 'workspace-file/not-text': { readonly path: string; };\n 'workspace-file/not-regular-file': { readonly path: string; readonly kind: 'directory' | 'symlink' | 'other'; };\n 'workspace-file/not-directory': { readonly path: string; readonly kind: 'file' | 'symlink' | 'other'; };\n 'speech/invalid-audio': { readonly reason: string; };\n 'speech/transcription-failed': { readonly reason: string; };\n 'document-render/failed': { readonly reason: OfficeToPdfErrorCode; };\n}"
1889
+ "declaration": "export interface RemoteErrorDetailsMap {\n 'gateway/bad-request': { readonly issues?: readonly object[]; };\n 'gateway/cancelled': {};\n 'gateway/internal': {};\n 'llm/model-discovery-rejected': { readonly settingsNs: string; readonly baseURL?: string; };\n 'session/not-found': { readonly sessionId: SessionId; };\n 'workspace/not-found': { readonly workspaceId: WorkspaceId; };\n 'agent-preset/not-found': { readonly agentPreset: string; readonly available: readonly string[]; };\n 'agent-preset/invalid': { readonly agentPreset: string; readonly reason: string; };\n 'agent-preset/locked': { readonly sessionId: SessionId; readonly agentPreset: string; };\n 'job/not-found': { readonly sessionId: SessionId; readonly jobId: JobId; };\n 'session/provider-credentials-unavailable': Record<string, never>;\n 'session/provider-models-unavailable': { readonly provider: string; };\n 'session/model-unavailable': { readonly provider: string; readonly model: string; };\n 'session/model-save-failed': { readonly provider: string; readonly model: string; };\n 'session/model-install-failed': { readonly provider: string; readonly model: string; };\n 'session/conflict': { readonly sessionId: SessionId; readonly requestedCwd: string; readonly existingCwd?: string; };\n 'session/projections-unavailable': Record<string, never>;\n 'session/writer-held': { readonly sessionId: SessionId; };\n 'session/agent-busy': { readonly reason: string; };\n 'session/invalid-time-zone': { readonly value: string; };\n 'session/workspace-attach-failed': { readonly sessionId: SessionId; readonly workspaceId: string; };\n 'agent-preset/conflict': { readonly sessionId: SessionId; readonly requestedPreset: string; readonly existingPreset?: string; };\n 'session/attachment-invalid': { readonly reason: string; };\n 'session/queue-item-not-found': { readonly itemId: MessageId; };\n 'session/steer-unavailable': { readonly itemId: MessageId; };\n 'session/title-invalid': { readonly sessionId: SessionId; };\n 'session/fork-unavailable': { readonly sessionId: SessionId; };\n 'subagent/not-found': { readonly parentSessionId: SessionId; readonly childSessionId: SessionId; };\n 'subagent/catalog-diagnostic': { readonly parentSessionId: SessionId; readonly childSessionId: SessionId; readonly reason: 'corrupt' | 'unsupported' | 'unavailable'; };\n 'subagent/invalid-time-zone': { readonly value: string; };\n 'subagent/parent-unavailable': { readonly parentSessionId: SessionId; };\n 'subagent/not-resumable': { readonly childSessionId: SessionId; };\n 'subagent/unauthorized': { readonly childSessionId: SessionId; };\n 'subagent/attachment-invalid': { readonly reason: string; };\n 'subagent/delivery-unavailable': { readonly childSessionId: SessionId; };\n 'settings/rejected': { readonly ns: string; };\n 'settings/conflict': { readonly ns: string; readonly expected: number; readonly actual: number; };\n 'credential/rejected': { readonly ref: string; };\n 'terminal/unavailable': Record<string, never>;\n 'terminal/control-unavailable': { readonly reason: 'read-only' | 'not-running'; };\n 'terminal/limit-reached': { readonly limit: number; };\n 'workspace/invalid-path': { readonly path: string; };\n 'workspace/name-conflict': { readonly name: string; };\n 'workspace/session-active': { readonly sessionId: SessionId; readonly activity: readonly SessionActivity[]; };\n 'workspace/session-delete-refused': { readonly sessionId: SessionId; readonly reason: 'not-archived' | 'in-use' | 'deleted' | 'scope-changed'; };\n 'workspace/move-invalid': { readonly workspaceId: WorkspaceId; readonly sessionId: SessionId; readonly beforeSessionId?: SessionId; };\n 'directory-picker/unavailable': { readonly capability: string; };\n 'directory-picker/unreadable': { readonly path: string; };\n 'directory-picker/exists': { readonly path: string; };\n 'directory-picker/create-failed': { readonly path: string; };\n 'workspace-file/watch-unsupported': { readonly path: string; };\n 'workspace-file/not-found': { readonly path: string; };\n 'workspace-file/outside-workspace': { readonly path: string; };\n 'workspace-file/too-large': { readonly path: string; readonly limit: number; };\n 'workspace-file/not-text': { readonly path: string; };\n 'workspace-file/not-regular-file': { readonly path: string; readonly kind: 'directory' | 'symlink' | 'other'; };\n 'workspace-file/not-directory': { readonly path: string; readonly kind: 'file' | 'symlink' | 'other'; };\n 'speech/invalid-audio': { readonly reason: string; };\n 'speech/transcription-failed': { readonly reason: string; };\n 'document-render/failed': { readonly reason: OfficeToPdfErrorCode; };\n}"
1878
1890
  },
1879
1891
  {
1880
1892
  "name": "ReplayEnvelope",
@@ -2030,7 +2042,7 @@ export const TYPERT = {
2030
2042
  },
2031
2043
  {
2032
2044
  "name": "SessionListMetadata",
2033
- "declaration": "export interface SessionListMetadata {\n readonly blank: boolean;\n readonly lastPromptAt: number | null;\n}"
2045
+ "declaration": "export interface SessionListMetadata {\n readonly hasUserPrompt?: boolean;\n readonly blank: boolean;\n readonly lastPromptAt: number | null;\n}"
2034
2046
  },
2035
2047
  {
2036
2048
  "name": "SessionListRequest",
@@ -3005,6 +3017,21 @@ export const TYPERT = {
3005
3017
  "mode": "emit",
3006
3018
  "signature": "'api-session/error'(sessionId: SessionId, message: string): void"
3007
3019
  },
3020
+ {
3021
+ "description": "The Host process committed a user-selected default; browser catalogs must reload from that process.",
3022
+ "summary": "The Host process committed a user-selected default; browser catalogs must reload from that process.",
3023
+ "tags": [
3024
+ {
3025
+ "name": "mode",
3026
+ "comment": "emit",
3027
+ "text": "@mode emit"
3028
+ }
3029
+ ],
3030
+ "jsDoc": "/**\n * The Host process committed a user-selected default; browser catalogs must reload from that process.\n * @mode emit\n */",
3031
+ "name": "api-session/model-updated",
3032
+ "mode": "emit",
3033
+ "signature": "'api-session/model-updated'(): void"
3034
+ },
3008
3035
  {
3009
3036
  "description": "A Session left the live Host registry.",
3010
3037
  "summary": "A Session left the live Host registry.",
@@ -69,6 +69,7 @@ const _deepseek_ai_dsh_api_session_controller_session_control_result$schema = ()
69
69
  'status': z.union([z.literal("completed"), z.literal("pending"), z.literal("in_progress")]),
70
70
  }))]).optional(),
71
71
  'sessionListMetadata': z.object({
72
+ 'hasUserPrompt': z.boolean().readonly().optional(),
72
73
  'blank': z.boolean().readonly(),
73
74
  'lastPromptAt': z.union([z.literal(null), z.number()]).readonly(),
74
75
  }).optional(),
@@ -241,6 +242,7 @@ const _deepseek_ai_dsh_api_session_controller_session_follow_result$schema = ()
241
242
  'status': z.union([z.literal("completed"), z.literal("pending"), z.literal("in_progress")]),
242
243
  }))]).optional(),
243
244
  'sessionListMetadata': z.object({
245
+ 'hasUserPrompt': z.boolean().readonly().optional(),
244
246
  'blank': z.boolean().readonly(),
245
247
  'lastPromptAt': z.union([z.literal(null), z.number()]).readonly(),
246
248
  }).optional(),
@@ -403,6 +405,7 @@ const _deepseek_ai_dsh_api_session_controller_session_list_result$schema = () =>
403
405
  'status': z.union([z.literal("completed"), z.literal("pending"), z.literal("in_progress")]),
404
406
  }))]).optional(),
405
407
  'sessionListMetadata': z.object({
408
+ 'hasUserPrompt': z.boolean().readonly().optional(),
406
409
  'blank': z.boolean().readonly(),
407
410
  'lastPromptAt': z.union([z.literal(null), z.number()]).readonly(),
408
411
  }).optional(),
@@ -492,13 +495,21 @@ const _deepseek_ai_dsh_api_session_controller_session_modelCatalog_result$schema
492
495
  'model': z.string().readonly(),
493
496
  'reasoningEffort': z.string().readonly().optional(),
494
497
  }).readonly(),
498
+ 'selectionScope': z.literal("process").readonly().optional(),
499
+ 'savedDisplayName': z.object({
500
+ 'provider': z.string().readonly(),
501
+ 'model': z.string().readonly(),
502
+ 'name': z.string().readonly(),
503
+ }).readonly().optional(),
495
504
  'routableProviders': z.array(z.string()).readonly(),
496
505
  'groups': z.array(z.object({
497
506
  'id': z.string().readonly(),
498
507
  'name': z.string().readonly(),
508
+ 'custom': z.boolean().readonly().optional(),
499
509
  'models': z.array(z.object({
500
510
  'id': z.string().readonly(),
501
511
  'name': z.string().readonly(),
512
+ 'inputModalities': z.array(z.union([z.literal("text"), z.literal("image")])).readonly().optional(),
502
513
  'description': z.string().readonly().optional(),
503
514
  'reasoning': z.object({
504
515
  'efforts': z.array(z.object({
@@ -580,6 +591,7 @@ const _deepseek_ai_dsh_api_session_controller_session_projections_result$schema
580
591
  'status': z.union([z.literal("completed"), z.literal("pending"), z.literal("in_progress")]),
581
592
  }))]).optional(),
582
593
  'sessionListMetadata': z.object({
594
+ 'hasUserPrompt': z.boolean().readonly().optional(),
583
595
  'blank': z.boolean().readonly(),
584
596
  'lastPromptAt': z.union([z.literal(null), z.number()]).readonly(),
585
597
  }).optional(),
@@ -833,7 +845,7 @@ export const TYPERT_REMOTE = {
833
845
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionAttachmentValue',
834
846
  create: _deepseek_ai_dsh_api_session_controller_session_attachment_result$schema,
835
847
  },
836
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":437,"column":3},
848
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":443,"column":3},
837
849
  },
838
850
  {
839
851
  id: '@deepseek-ai/dsh-api-session-controller#session/cancel',
@@ -858,7 +870,7 @@ export const TYPERT_REMOTE = {
858
870
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionCancelValue',
859
871
  create: _deepseek_ai_dsh_api_session_controller_session_cancel_result$schema,
860
872
  },
861
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":457,"column":3},
873
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":463,"column":3},
862
874
  },
863
875
  {
864
876
  id: '@deepseek-ai/dsh-api-session-controller#session/canOpenWorkspacePath',
@@ -873,7 +885,7 @@ export const TYPERT_REMOTE = {
873
885
  typeSymbol: '@deepseek-ai/dsh-api-session-controller#session/canOpenWorkspacePath:result',
874
886
  create: _deepseek_ai_dsh_api_session_controller_session_canOpenWorkspacePath_result$schema,
875
887
  },
876
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":319,"column":3},
888
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":325,"column":3},
877
889
  },
878
890
  {
879
891
  id: '@deepseek-ai/dsh-api-session-controller#session/control',
@@ -890,7 +902,7 @@ export const TYPERT_REMOTE = {
890
902
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionControlFrame',
891
903
  create: _deepseek_ai_dsh_api_session_controller_session_control_result$schema,
892
904
  },
893
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":520,"column":3},
905
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":535,"column":3},
894
906
  },
895
907
  {
896
908
  id: '@deepseek-ai/dsh-api-session-controller#session/create',
@@ -915,7 +927,7 @@ export const TYPERT_REMOTE = {
915
927
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionCreateValue',
916
928
  create: _deepseek_ai_dsh_api_session_controller_session_create_result$schema,
917
929
  },
918
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":273,"column":3},
930
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":276,"column":9},
919
931
  },
920
932
  {
921
933
  id: '@deepseek-ai/dsh-api-session-controller#session/follow',
@@ -942,7 +954,7 @@ export const TYPERT_REMOTE = {
942
954
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionFollowFrame',
943
955
  create: _deepseek_ai_dsh_api_session_controller_session_follow_result$schema,
944
956
  },
945
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":480,"column":3},
957
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":486,"column":10},
946
958
  },
947
959
  {
948
960
  id: '@deepseek-ai/dsh-api-session-controller#session/fork',
@@ -967,7 +979,7 @@ export const TYPERT_REMOTE = {
967
979
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionForkValue',
968
980
  create: _deepseek_ai_dsh_api_session_controller_session_fork_result$schema,
969
981
  },
970
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":415,"column":3},
982
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":421,"column":3},
971
983
  },
972
984
  {
973
985
  id: '@deepseek-ai/dsh-api-session-controller#session/initializeDefaultModel',
@@ -982,7 +994,7 @@ export const TYPERT_REMOTE = {
982
994
  typeSymbol: '@deepseek-ai/dsh-api-session-controller#session/initializeDefaultModel:result',
983
995
  create: _deepseek_ai_dsh_api_session_controller_session_initializeDefaultModel_result$schema,
984
996
  },
985
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":292,"column":9},
997
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":296,"column":9},
986
998
  },
987
999
  {
988
1000
  id: '@deepseek-ai/dsh-api-session-controller#session/list',
@@ -1008,7 +1020,7 @@ export const TYPERT_REMOTE = {
1008
1020
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionListValue',
1009
1021
  create: _deepseek_ai_dsh_api_session_controller_session_list_result$schema,
1010
1022
  },
1011
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":252,"column":9},
1023
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":255,"column":9},
1012
1024
  },
1013
1025
  {
1014
1026
  id: '@deepseek-ai/dsh-api-session-controller#session/modelCatalog',
@@ -1023,7 +1035,7 @@ export const TYPERT_REMOTE = {
1023
1035
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#ModelCatalog',
1024
1036
  create: _deepseek_ai_dsh_api_session_controller_session_modelCatalog_result$schema,
1025
1037
  },
1026
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":310,"column":3},
1038
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":316,"column":3},
1027
1039
  },
1028
1040
  {
1029
1041
  id: '@deepseek-ai/dsh-api-session-controller#session/openWorkspacePath',
@@ -1049,7 +1061,7 @@ export const TYPERT_REMOTE = {
1049
1061
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionOpenWorkspacePathValue',
1050
1062
  create: _deepseek_ai_dsh_api_session_controller_session_openWorkspacePath_result$schema,
1051
1063
  },
1052
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":340,"column":9},
1064
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":346,"column":9},
1053
1065
  },
1054
1066
  {
1055
1067
  id: '@deepseek-ai/dsh-api-session-controller#session/page',
@@ -1075,7 +1087,7 @@ export const TYPERT_REMOTE = {
1075
1087
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionPage',
1076
1088
  create: _deepseek_ai_dsh_api_session_controller_session_page_result$schema,
1077
1089
  },
1078
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":468,"column":3},
1090
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":474,"column":3},
1079
1091
  },
1080
1092
  {
1081
1093
  id: '@deepseek-ai/dsh-api-session-controller#session/projections',
@@ -1101,7 +1113,7 @@ export const TYPERT_REMOTE = {
1101
1113
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionProjectionsValue',
1102
1114
  create: _deepseek_ai_dsh_api_session_controller_session_projections_result$schema,
1103
1115
  },
1104
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":491,"column":9},
1116
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":505,"column":9},
1105
1117
  },
1106
1118
  {
1107
1119
  id: '@deepseek-ai/dsh-api-session-controller#session/prompt',
@@ -1127,7 +1139,7 @@ export const TYPERT_REMOTE = {
1127
1139
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionPromptValue',
1128
1140
  create: _deepseek_ai_dsh_api_session_controller_session_prompt_result$schema,
1129
1141
  },
1130
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":426,"column":3},
1142
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":432,"column":3},
1131
1143
  },
1132
1144
  {
1133
1145
  id: '@deepseek-ai/dsh-api-session-controller#session/rename',
@@ -1152,7 +1164,7 @@ export const TYPERT_REMOTE = {
1152
1164
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionRenameValue',
1153
1165
  create: _deepseek_ai_dsh_api_session_controller_session_rename_result$schema,
1154
1166
  },
1155
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":403,"column":3},
1167
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":409,"column":3},
1156
1168
  },
1157
1169
  {
1158
1170
  id: '@deepseek-ai/dsh-api-session-controller#session/search',
@@ -1178,7 +1190,7 @@ export const TYPERT_REMOTE = {
1178
1190
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionSearchValue',
1179
1191
  create: _deepseek_ai_dsh_api_session_controller_session_search_result$schema,
1180
1192
  },
1181
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":263,"column":3},
1193
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":266,"column":3},
1182
1194
  },
1183
1195
  {
1184
1196
  id: '@deepseek-ai/dsh-api-session-controller#session/selectModel',
@@ -1203,7 +1215,7 @@ export const TYPERT_REMOTE = {
1203
1215
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionSelectModelValue',
1204
1216
  create: _deepseek_ai_dsh_api_session_controller_session_selectModel_result$schema,
1205
1217
  },
1206
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":283,"column":3},
1218
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":287,"column":3},
1207
1219
  },
1208
1220
  {
1209
1221
  id: '@deepseek-ai/dsh-api-session-controller#session/updateQueue',
@@ -1228,7 +1240,7 @@ export const TYPERT_REMOTE = {
1228
1240
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionUpdateQueueValue',
1229
1241
  create: _deepseek_ai_dsh_api_session_controller_session_updateQueue_result$schema,
1230
1242
  },
1231
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":447,"column":3},
1243
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":453,"column":3},
1232
1244
  },
1233
1245
  {
1234
1246
  id: '@deepseek-ai/dsh-api-session-controller#session/workspacePathApplications',
@@ -1254,7 +1266,7 @@ export const TYPERT_REMOTE = {
1254
1266
  typeSymbol: '@deepseek-ai/dsh-api-session-controller#session/workspacePathApplications:result',
1255
1267
  create: _deepseek_ai_dsh_api_session_controller_session_workspacePathApplications_result$schema,
1256
1268
  },
1257
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":370,"column":9},
1269
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":376,"column":9},
1258
1270
  },
1259
1271
  {
1260
1272
  id: '@deepseek-ai/dsh-api-session-controller#skills/list',
@@ -1,6 +1,6 @@
1
1
  /** Agent activation, composition, and model-selection policy owned by API Session. */
2
2
  import type { Context } from '@deepseek-ai/cordis';
3
- import type { Agent, AgentSetup, ModelSelection as AgentModelSelection, ModelSelectionRef } from '@deepseek-ai/dsh-agent';
3
+ import type { Agent, AgentHandle, CreateAgentOptions, AgentSetup, ModelSelection as AgentModelSelection, ModelSelectionRef } from '@deepseek-ai/dsh-agent';
4
4
  import type { Session, SessionId } from '@deepseek-ai/dsh-session';
5
5
  import type { SessionInspection } from '@deepseek-ai/dsh-session-persistence';
6
6
  import { type SessionObservation } from '@deepseek-ai/dsh-session-query';
@@ -65,6 +65,7 @@ export declare function inspectApiSession(ctx: Context, sessionId: SessionId, si
65
65
  /** Owns every operation that may create, resume, or configure a Web Agent. */
66
66
  export declare class ApiSessionAgentController {
67
67
  private readonly ctx;
68
+ private readonly owned;
68
69
  private readonly resumes;
69
70
  private readonly creations;
70
71
  private readonly selections;
@@ -140,6 +141,13 @@ export declare class ApiSessionAgentController {
140
141
  private resume;
141
142
  private resumeObserved;
142
143
  private createOrAdopt;
144
+ /**
145
+ * Create a Web-owned Agent whose idle handle can be released before permanent deletion.
146
+ * @param options - Agent creation input shared by new Sessions and ordinary forks.
147
+ * @returns the owned Agent handle.
148
+ */
149
+ createOwned(options: CreateAgentOptions): Promise<AgentHandle>;
150
+ private remember;
143
151
  private agentOptions;
144
152
  private installSelection;
145
153
  /**