@songtonyli/dsh-cli 0.1.88 → 0.1.90

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 (900) hide show
  1. package/README.md +1 -1
  2. package/bin/dsh.mjs +1 -1
  3. package/node_modules/@deepseek-ai/cordis/package.json +4 -4
  4. package/node_modules/@deepseek-ai/cordis-plugin-group/package.json +3 -3
  5. package/node_modules/@deepseek-ai/cordis-plugin-include/package.json +4 -4
  6. package/node_modules/@deepseek-ai/cordis-plugin-loader/package.json +4 -4
  7. package/node_modules/@deepseek-ai/cordis-plugin-timer/package.json +3 -3
  8. package/node_modules/@deepseek-ai/cosmokit/package.json +1 -1
  9. package/node_modules/@deepseek-ai/dsh/package.json +127 -125
  10. package/node_modules/@deepseek-ai/dsh-acp/package.json +26 -26
  11. package/node_modules/@deepseek-ai/dsh-acp-app/package.json +6 -6
  12. package/node_modules/@deepseek-ai/dsh-action-cards/lib/typert.host.js +7 -3
  13. package/node_modules/@deepseek-ai/dsh-action-cards/package.json +19 -19
  14. package/node_modules/@deepseek-ai/dsh-agent/package.json +21 -21
  15. package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +10 -10
  16. package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +28 -28
  17. package/node_modules/@deepseek-ai/dsh-agent-loop/README.i18n.yaml +2 -2
  18. package/node_modules/@deepseek-ai/dsh-agent-loop/README.md +1 -1
  19. package/node_modules/@deepseek-ai/dsh-agent-loop/README.zh.md +1 -1
  20. package/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +8 -6
  21. package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +27 -27
  22. package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +13 -13
  23. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +7 -3
  24. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +7 -3
  25. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +39 -39
  26. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +13 -13
  27. package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +7 -7
  28. package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +9 -9
  29. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +13 -13
  30. package/node_modules/@deepseek-ai/dsh-api-gateway/README.i18n.yaml +2 -2
  31. package/node_modules/@deepseek-ai/dsh-api-gateway/README.md +2 -0
  32. package/node_modules/@deepseek-ai/dsh-api-gateway/README.zh.md +2 -0
  33. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/index.js +10 -0
  34. package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/index.js +7 -0
  35. package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +14 -14
  36. package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +12 -12
  37. package/node_modules/@deepseek-ai/dsh-api-remote-access/README.i18n.yaml +2 -2
  38. package/node_modules/@deepseek-ai/dsh-api-remote-access/README.md +2 -0
  39. package/node_modules/@deepseek-ai/dsh-api-remote-access/README.zh.md +2 -0
  40. package/node_modules/@deepseek-ai/dsh-api-remote-access/lib/typert.host.js +5 -1
  41. package/node_modules/@deepseek-ai/dsh-api-remote-access/package.json +9 -9
  42. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +1541 -184
  43. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/index.js +4 -0
  44. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +2 -1
  45. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/remote-events.js +1 -0
  46. package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +45 -44
  47. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +2 -2
  48. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +6 -4
  49. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +6 -4
  50. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +56 -27
  51. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +1426 -454
  52. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +715 -57
  53. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +560 -40
  54. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/catalog.js +1 -0
  55. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/session.js +70 -35
  56. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/transport.js +1 -0
  57. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +5 -102
  58. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/assistant-stream.js +80 -0
  59. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/controller.js +294 -0
  60. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/listener.js +297 -0
  61. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history.js +52 -341
  62. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +98 -67
  63. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/controller.js +289 -0
  64. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/listener.js +112 -0
  65. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/web/controller.js +139 -0
  66. package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +77 -75
  67. package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +16 -16
  68. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +7 -3
  69. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +22 -22
  70. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +21 -21
  71. package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +15 -15
  72. package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +4 -4
  73. package/node_modules/@deepseek-ai/dsh-app-boot/README.md +6 -2
  74. package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +6 -2
  75. package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +143 -7
  76. package/node_modules/@deepseek-ai/dsh-app-boot/package.json +19 -19
  77. package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +3 -3
  78. package/node_modules/@deepseek-ai/dsh-attachment/README.i18n.yaml +4 -4
  79. package/node_modules/@deepseek-ai/dsh-attachment/README.md +2 -2
  80. package/node_modules/@deepseek-ai/dsh-attachment/README.zh.md +2 -2
  81. package/node_modules/@deepseek-ai/dsh-attachment/lib/index.js +1 -1
  82. package/node_modules/@deepseek-ai/dsh-attachment/lib/types/index.js +1 -1
  83. package/node_modules/@deepseek-ai/dsh-attachment/package.json +5 -5
  84. package/node_modules/@deepseek-ai/dsh-attachment-local/README.i18n.yaml +2 -2
  85. package/node_modules/@deepseek-ai/dsh-attachment-local/README.md +2 -0
  86. package/node_modules/@deepseek-ai/dsh-attachment-local/README.zh.md +2 -0
  87. package/node_modules/@deepseek-ai/dsh-attachment-local/lib/index.js +1 -1
  88. package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +9 -9
  89. package/node_modules/@deepseek-ai/dsh-authorization/package.json +7 -7
  90. package/node_modules/@deepseek-ai/dsh-base/package.json +100 -100
  91. package/node_modules/@deepseek-ai/dsh-bash-local/package.json +11 -11
  92. package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +14 -14
  93. package/node_modules/@deepseek-ai/dsh-brand/package.json +3 -3
  94. package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +3 -3
  95. package/node_modules/@deepseek-ai/dsh-client-connection/package.json +13 -13
  96. package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +7 -3
  97. package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +12 -12
  98. package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +7 -7
  99. package/node_modules/@deepseek-ai/dsh-client-locale/package.json +10 -10
  100. package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +1 -1
  101. package/node_modules/@deepseek-ai/dsh-client-modules/package.json +6 -6
  102. package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +16 -16
  103. package/node_modules/@deepseek-ai/dsh-client-resources/package.json +5 -5
  104. package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +9 -9
  105. package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/package.json +15 -15
  106. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +17 -17
  107. package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +13 -13
  108. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/client.js +1 -1
  109. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +11 -11
  110. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +5 -5
  111. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +4 -4
  112. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +7 -3
  113. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +7 -3
  114. package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +245 -76
  115. package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +39 -39
  116. package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +14 -14
  117. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +6 -6
  118. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +9 -9
  119. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +9 -9
  120. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +290 -290
  121. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +34 -34
  122. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +13 -13
  123. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/package.json +10 -10
  124. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.i18n.yaml +2 -2
  125. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.md +1 -1
  126. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.zh.md +1 -1
  127. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +19 -59
  128. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +27 -27
  129. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +7 -7
  130. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +6 -6
  131. package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/package.json +11 -11
  132. package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/package.json +7 -7
  133. package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.i18n.yaml +4 -4
  134. package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.md +2 -1
  135. package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.zh.md +2 -1
  136. package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +5 -5
  137. package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +14 -14
  138. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +11 -11
  139. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +10 -10
  140. package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +9 -9
  141. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +15 -15
  142. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +6 -6
  143. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +3 -2
  144. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +3 -2
  145. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +28 -3
  146. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +16 -16
  147. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.i18n.yaml +4 -4
  148. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.md +5 -3
  149. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.zh.md +5 -3
  150. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/client.js +118 -69
  151. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +18 -18
  152. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +14 -14
  153. package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +15 -21
  154. package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +19 -19
  155. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +6 -6
  156. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +6 -2
  157. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +6 -2
  158. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +164 -106
  159. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +18 -18
  160. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/package.json +12 -12
  161. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/package.json +13 -13
  162. package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +15 -15
  163. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +3 -3
  164. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +20 -20
  165. package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/package.json +6 -6
  166. package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +9 -9
  167. package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +7 -7
  168. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.i18n.yaml +2 -2
  169. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.md +1 -1
  170. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.zh.md +1 -1
  171. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +4 -3
  172. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +17 -17
  173. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +8 -8
  174. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +2 -2
  175. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +1 -1
  176. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +1 -1
  177. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +2 -2
  178. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +17 -17
  179. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +11 -11
  180. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +11 -11
  181. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +7 -7
  182. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +8 -8
  183. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +8 -8
  184. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/lib/client.js +176 -2
  185. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +6 -6
  186. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +8 -8
  187. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.i18n.yaml +2 -2
  188. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.md +1 -1
  189. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.zh.md +1 -1
  190. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/lib/client.js +42 -18
  191. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +8 -8
  192. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +9 -9
  193. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +2 -2
  194. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +4 -0
  195. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +4 -0
  196. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +2 -2
  197. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +11 -11
  198. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +10 -10
  199. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +19 -19
  200. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +13 -13
  201. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.i18n.yaml +2 -2
  202. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.md +1 -1
  203. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.zh.md +1 -1
  204. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +10 -0
  205. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +14 -14
  206. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +14 -14
  207. package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +16 -16
  208. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +17 -17
  209. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.i18n.yaml +4 -4
  210. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.md +2 -2
  211. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.zh.md +2 -2
  212. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +5 -4
  213. package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +12 -12
  214. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +4 -4
  215. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +3 -1
  216. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +3 -1
  217. package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +1 -1
  218. package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +29 -29
  219. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.i18n.yaml +6 -6
  220. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.md +5 -3
  221. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.zh.md +5 -3
  222. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +158 -21
  223. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/index.js +239 -4
  224. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/typert.host.js +75 -0
  225. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/typert.remote-client.js +64 -0
  226. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +43 -21
  227. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.i18n.yaml +2 -2
  228. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.md +1 -1
  229. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.zh.md +1 -1
  230. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +8 -6
  231. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +22 -22
  232. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +13 -13
  233. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +6 -6
  234. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +5 -3
  235. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +5 -3
  236. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +36 -17
  237. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +25 -25
  238. package/node_modules/@deepseek-ai/dsh-cmdline/package.json +6 -6
  239. package/node_modules/@deepseek-ai/dsh-command-compact/package.json +12 -12
  240. package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +15 -15
  241. package/node_modules/@deepseek-ai/dsh-command-goal/package.json +14 -14
  242. package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +7 -3
  243. package/node_modules/@deepseek-ai/dsh-commands/package.json +18 -18
  244. package/node_modules/@deepseek-ai/dsh-compaction/package.json +11 -11
  245. package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +26 -26
  246. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +18 -18
  247. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +17 -17
  248. package/node_modules/@deepseek-ai/dsh-computer-use/package.json +5 -5
  249. package/node_modules/@deepseek-ai/dsh-config-editor/package.json +12 -12
  250. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +98 -40
  251. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +10 -10
  252. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +14 -6
  253. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +23 -23
  254. package/node_modules/@deepseek-ai/dsh-creation-recommendations/package.json +21 -21
  255. package/node_modules/@deepseek-ai/dsh-credentials/package.json +4 -4
  256. package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +12 -12
  257. package/node_modules/@deepseek-ai/dsh-cua/README.i18n.yaml +10 -10
  258. package/node_modules/@deepseek-ai/dsh-cua/README.md +16 -7
  259. package/node_modules/@deepseek-ai/dsh-cua/README.zh.md +16 -7
  260. package/node_modules/@deepseek-ai/dsh-cua/lib/client.js +18 -38
  261. package/node_modules/@deepseek-ai/dsh-cua/lib/index.js +342 -146
  262. package/node_modules/@deepseek-ai/dsh-cua/lib/typert.host.js +19 -20
  263. package/node_modules/@deepseek-ai/dsh-cua/lib/typert.remote-client.js +13 -14
  264. package/node_modules/@deepseek-ai/dsh-cua/package.json +53 -50
  265. package/node_modules/@deepseek-ai/dsh-cua-bundle/README.i18n.yaml +8 -8
  266. package/node_modules/@deepseek-ai/dsh-cua-bundle/README.md +9 -9
  267. package/node_modules/@deepseek-ai/dsh-cua-bundle/README.zh.md +9 -9
  268. package/node_modules/@deepseek-ai/dsh-cua-bundle/package.json +12 -8
  269. package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +11 -11
  270. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +12 -12
  271. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +3 -3
  272. package/node_modules/@deepseek-ai/dsh-deliverable-file-references/package.json +5 -5
  273. package/node_modules/@deepseek-ai/dsh-deque/package.json +3 -3
  274. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +22 -22
  275. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/DETAIL.md +0 -17
  276. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/DETAIL.zh.md +0 -17
  277. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/de.json +1 -1
  278. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/en.json +1 -1
  279. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/es.json +1 -1
  280. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/fr.json +1 -1
  281. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/ja.json +1 -1
  282. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/pt.json +1 -1
  283. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/ru.json +1 -1
  284. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/zh.json +1 -1
  285. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +7 -7
  286. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/typert.host.js +4 -4
  287. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/typert.remote-client.js +4 -4
  288. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +8 -8
  289. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/docs/DETAIL.md +0 -16
  290. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/docs/DETAIL.zh.md +0 -16
  291. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/de.json +1 -1
  292. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/en.json +1 -1
  293. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/es.json +1 -1
  294. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/fr.json +1 -1
  295. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/ja.json +1 -1
  296. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/pt.json +1 -1
  297. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/ru.json +1 -1
  298. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/zh.json +1 -1
  299. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +45 -45
  300. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/package.json +4 -4
  301. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +12 -12
  302. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/package.json +20 -20
  303. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.i18n.yaml +37 -0
  304. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.md +135 -0
  305. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.zh.md +135 -0
  306. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/client.js +8745 -0
  307. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/index.js +3131 -0
  308. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/typert.host.js +2222 -0
  309. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/typert.remote-client.js +1284 -0
  310. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/locale/de.json +6 -0
  311. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/locale/en.json +6 -0
  312. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/locale/es.json +6 -0
  313. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/locale/fr.json +6 -0
  314. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/locale/ja.json +6 -0
  315. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/locale/pt.json +6 -0
  316. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/locale/ru.json +6 -0
  317. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/locale/zh.json +6 -0
  318. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/package.json +117 -0
  319. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/README.i18n.yaml +43 -0
  320. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/README.md +121 -0
  321. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/README.zh.md +121 -0
  322. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/lib/client.js +6272 -0
  323. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/lib/index.js +6 -0
  324. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/locale/de.json +6 -0
  325. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/locale/en.json +6 -0
  326. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/locale/es.json +6 -0
  327. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/locale/fr.json +6 -0
  328. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/locale/ja.json +6 -0
  329. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/locale/pt.json +6 -0
  330. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/locale/ru.json +6 -0
  331. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/locale/zh.json +6 -0
  332. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/package.json +71 -0
  333. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/client.js +4 -4
  334. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +15 -15
  335. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/docs/DETAIL.md +0 -17
  336. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/docs/DETAIL.zh.md +0 -17
  337. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/de.json +1 -1
  338. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/en.json +1 -1
  339. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/es.json +1 -1
  340. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/fr.json +1 -1
  341. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/ja.json +1 -1
  342. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/pt.json +1 -1
  343. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/ru.json +1 -1
  344. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/zh.json +1 -1
  345. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/package.json +6 -6
  346. package/node_modules/@deepseek-ai/dsh-experimental-forge/README.i18n.yaml +37 -0
  347. package/node_modules/@deepseek-ai/dsh-experimental-forge/README.md +100 -0
  348. package/node_modules/@deepseek-ai/dsh-experimental-forge/README.zh.md +100 -0
  349. package/node_modules/@deepseek-ai/dsh-experimental-forge/lib/index.js +495 -0
  350. package/node_modules/@deepseek-ai/dsh-experimental-forge/locale/de.json +6 -0
  351. package/node_modules/@deepseek-ai/dsh-experimental-forge/locale/en.json +6 -0
  352. package/node_modules/@deepseek-ai/dsh-experimental-forge/locale/es.json +6 -0
  353. package/node_modules/@deepseek-ai/dsh-experimental-forge/locale/fr.json +6 -0
  354. package/node_modules/@deepseek-ai/dsh-experimental-forge/locale/ja.json +6 -0
  355. package/node_modules/@deepseek-ai/dsh-experimental-forge/locale/pt.json +6 -0
  356. package/node_modules/@deepseek-ai/dsh-experimental-forge/locale/ru.json +6 -0
  357. package/node_modules/@deepseek-ai/dsh-experimental-forge/locale/zh.json +6 -0
  358. package/node_modules/@deepseek-ai/dsh-experimental-forge/package.json +45 -0
  359. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/README.i18n.yaml +37 -0
  360. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/README.md +77 -0
  361. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/README.zh.md +77 -0
  362. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/cordis.patch.yml +17 -0
  363. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/icon.svg +11 -0
  364. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/lib/index.js +1 -0
  365. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/de.json +6 -0
  366. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/en.json +6 -0
  367. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/es.json +6 -0
  368. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/fr.json +6 -0
  369. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/ja.json +6 -0
  370. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/pt.json +6 -0
  371. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/ru.json +6 -0
  372. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/zh.json +6 -0
  373. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/package.json +53 -0
  374. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/README.i18n.yaml +37 -0
  375. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/README.md +105 -0
  376. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/README.zh.md +105 -0
  377. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/lib/index.js +813 -0
  378. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/locale/de.json +6 -0
  379. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/locale/en.json +6 -0
  380. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/locale/es.json +6 -0
  381. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/locale/fr.json +6 -0
  382. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/locale/ja.json +6 -0
  383. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/locale/pt.json +6 -0
  384. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/locale/ru.json +6 -0
  385. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/locale/zh.json +6 -0
  386. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/package.json +47 -0
  387. package/node_modules/@deepseek-ai/dsh-experimental-forge-session/README.i18n.yaml +37 -0
  388. package/node_modules/@deepseek-ai/dsh-experimental-forge-session/README.md +105 -0
  389. package/node_modules/@deepseek-ai/dsh-experimental-forge-session/README.zh.md +105 -0
  390. package/node_modules/@deepseek-ai/dsh-experimental-forge-session/lib/index.js +844 -0
  391. package/node_modules/@deepseek-ai/dsh-experimental-forge-session/locale/de.json +6 -0
  392. package/node_modules/@deepseek-ai/dsh-experimental-forge-session/locale/en.json +6 -0
  393. package/node_modules/@deepseek-ai/dsh-experimental-forge-session/locale/es.json +6 -0
  394. package/node_modules/@deepseek-ai/dsh-experimental-forge-session/locale/fr.json +6 -0
  395. package/node_modules/@deepseek-ai/dsh-experimental-forge-session/locale/ja.json +6 -0
  396. package/node_modules/@deepseek-ai/dsh-experimental-forge-session/locale/pt.json +6 -0
  397. package/node_modules/@deepseek-ai/dsh-experimental-forge-session/locale/ru.json +6 -0
  398. package/node_modules/@deepseek-ai/dsh-experimental-forge-session/locale/zh.json +6 -0
  399. package/node_modules/@deepseek-ai/dsh-experimental-forge-session/package.json +88 -0
  400. package/node_modules/@deepseek-ai/dsh-experimental-inspector/package.json +17 -17
  401. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/README.i18n.yaml +5 -5
  402. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/README.md +3 -3
  403. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/README.zh.md +2 -2
  404. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/cordis.patch.yml +2 -0
  405. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/docs/DETAIL.md +0 -15
  406. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/docs/DETAIL.zh.md +0 -15
  407. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/de.json +1 -1
  408. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/en.json +1 -1
  409. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/es.json +1 -1
  410. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/fr.json +1 -1
  411. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/ja.json +1 -1
  412. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/pt.json +1 -1
  413. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/ru.json +1 -1
  414. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/zh.json +1 -1
  415. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/package.json +7 -6
  416. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.i18n.yaml +52 -0
  417. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.md +177 -0
  418. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.zh.md +177 -0
  419. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/cordis.patch.yml +17 -0
  420. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/icon.svg +12 -0
  421. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/client.js +7130 -0
  422. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/index.js +7781 -0
  423. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/owner-gateway/cli.js +370 -0
  424. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/retry-backoff-ccJYtzOj.js +121 -0
  425. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/typert.host.js +767 -0
  426. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/typert.remote-client.js +551 -0
  427. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/viewer-declarations-krUNq6VU.js +287 -0
  428. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/viewer-declarations.js +26 -0
  429. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/locale/de.json +6 -0
  430. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/locale/en.json +6 -0
  431. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/locale/es.json +6 -0
  432. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/locale/fr.json +6 -0
  433. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/locale/ja.json +6 -0
  434. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/locale/pt.json +6 -0
  435. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/locale/ru.json +6 -0
  436. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/locale/zh.json +6 -0
  437. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/package.json +160 -0
  438. package/node_modules/@deepseek-ai/dsh-experimental-liveshare-protocol/README.i18n.yaml +37 -0
  439. package/node_modules/@deepseek-ai/dsh-experimental-liveshare-protocol/README.md +93 -0
  440. package/node_modules/@deepseek-ai/dsh-experimental-liveshare-protocol/README.zh.md +93 -0
  441. package/node_modules/@deepseek-ai/dsh-experimental-liveshare-protocol/lib/index.js +738 -0
  442. package/node_modules/@deepseek-ai/dsh-experimental-liveshare-protocol/package.json +37 -0
  443. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/docs/DETAIL.md +1 -18
  444. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/docs/DETAIL.zh.md +1 -18
  445. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/docs/preview.svg +1 -1
  446. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/docs/preview.zh.svg +1 -1
  447. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/de.json +1 -1
  448. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/en.json +1 -1
  449. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/es.json +1 -1
  450. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/fr.json +1 -1
  451. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/ja.json +1 -1
  452. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/pt.json +1 -1
  453. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/ru.json +1 -1
  454. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/zh.json +1 -1
  455. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/package.json +5 -5
  456. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/docs/DETAIL.md +0 -16
  457. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/docs/DETAIL.zh.md +0 -16
  458. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/de.json +1 -1
  459. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/en.json +1 -1
  460. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/es.json +1 -1
  461. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/fr.json +1 -1
  462. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/ja.json +1 -1
  463. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/pt.json +1 -1
  464. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/ru.json +1 -1
  465. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/zh.json +1 -1
  466. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/package.json +5 -5
  467. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/package.json +12 -12
  468. package/node_modules/@deepseek-ai/dsh-experimental-session-search/docs/DETAIL.md +0 -16
  469. package/node_modules/@deepseek-ai/dsh-experimental-session-search/docs/DETAIL.zh.md +0 -16
  470. package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/de.json +1 -1
  471. package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/en.json +1 -1
  472. package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/es.json +1 -1
  473. package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/fr.json +1 -1
  474. package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/ja.json +1 -1
  475. package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/pt.json +1 -1
  476. package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/ru.json +1 -1
  477. package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/zh.json +1 -1
  478. package/node_modules/@deepseek-ai/dsh-experimental-session-search/package.json +5 -5
  479. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/docs/DETAIL.md +0 -10
  480. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/docs/DETAIL.zh.md +0 -10
  481. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/de.json +1 -1
  482. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/en.json +1 -1
  483. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/es.json +1 -1
  484. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/fr.json +1 -1
  485. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/ja.json +1 -1
  486. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/pt.json +1 -1
  487. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/ru.json +1 -1
  488. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/zh.json +1 -1
  489. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/package.json +4 -4
  490. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +11 -11
  491. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +10 -10
  492. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/docs/DETAIL.md +0 -16
  493. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/docs/DETAIL.zh.md +0 -16
  494. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/de.json +1 -1
  495. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/en.json +1 -1
  496. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/es.json +1 -1
  497. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/fr.json +1 -1
  498. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/ja.json +1 -1
  499. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/pt.json +1 -1
  500. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/ru.json +1 -1
  501. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/zh.json +1 -1
  502. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/package.json +6 -6
  503. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +25 -25
  504. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/docs/DETAIL.md +0 -15
  505. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/docs/DETAIL.zh.md +0 -15
  506. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/lib/index.js +2 -2
  507. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/de.json +1 -1
  508. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/en.json +1 -1
  509. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/es.json +1 -1
  510. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/fr.json +1 -1
  511. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/ja.json +1 -1
  512. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/pt.json +1 -1
  513. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/ru.json +1 -1
  514. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/zh.json +1 -1
  515. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/package.json +23 -23
  516. package/node_modules/@deepseek-ai/dsh-experimental-translator/package.json +29 -29
  517. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +8 -8
  518. package/node_modules/@deepseek-ai/dsh-experimental-worktree/README.i18n.yaml +4 -4
  519. package/node_modules/@deepseek-ai/dsh-experimental-worktree/README.md +5 -3
  520. package/node_modules/@deepseek-ai/dsh-experimental-worktree/README.zh.md +5 -3
  521. package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/index.js +213 -54
  522. package/node_modules/@deepseek-ai/dsh-experimental-worktree/package.json +24 -25
  523. package/node_modules/@deepseek-ai/dsh-file-reference/package.json +5 -5
  524. package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +17 -17
  525. package/node_modules/@deepseek-ai/dsh-fs/package.json +9 -9
  526. package/node_modules/@deepseek-ai/dsh-fs-local/package.json +7 -7
  527. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +6 -6
  528. package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +12 -12
  529. package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +7 -3
  530. package/node_modules/@deepseek-ai/dsh-goal/package.json +23 -23
  531. package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +17 -17
  532. package/node_modules/@deepseek-ai/dsh-harness-dev-context/package.json +13 -13
  533. package/node_modules/@deepseek-ai/dsh-headless/package.json +30 -30
  534. package/node_modules/@deepseek-ai/dsh-hmr/package.json +15 -15
  535. package/node_modules/@deepseek-ai/dsh-home-paths/package.json +3 -3
  536. package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +3 -3
  537. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +20 -20
  538. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +5 -5
  539. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/README.i18n.yaml +4 -4
  540. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/README.md +2 -1
  541. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/README.zh.md +2 -1
  542. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/lib/index.js +5 -1
  543. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +5 -5
  544. package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +10 -10
  545. package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +9 -9
  546. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/README.i18n.yaml +2 -2
  547. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/README.md +2 -0
  548. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/README.zh.md +2 -0
  549. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/index.js +10 -1
  550. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.host.js +1 -0
  551. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.remote-client.js +1 -0
  552. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/types/index.js +13 -1
  553. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +13 -13
  554. package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +8 -8
  555. package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +5 -5
  556. package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +3 -3
  557. package/node_modules/@deepseek-ai/dsh-jobs/package.json +11 -11
  558. package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +16 -16
  559. package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +3 -3
  560. package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +3 -3
  561. package/node_modules/@deepseek-ai/dsh-llm/README.i18n.yaml +2 -2
  562. package/node_modules/@deepseek-ai/dsh-llm/README.md +1 -1
  563. package/node_modules/@deepseek-ai/dsh-llm/README.zh.md +1 -1
  564. package/node_modules/@deepseek-ai/dsh-llm/lib/index.js +6 -1
  565. package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +40 -3
  566. package/node_modules/@deepseek-ai/dsh-llm/lib/types/index.js +4 -0
  567. package/node_modules/@deepseek-ai/dsh-llm/package.json +11 -10
  568. package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +25 -25
  569. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.i18n.yaml +2 -2
  570. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.md +1 -1
  571. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.zh.md +1 -1
  572. package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +264 -93
  573. package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +45 -45
  574. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.i18n.yaml +2 -2
  575. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.md +4 -2
  576. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.zh.md +4 -2
  577. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/lib/index.js +8 -15
  578. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +17 -17
  579. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.i18n.yaml +2 -2
  580. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.md +2 -2
  581. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.zh.md +2 -2
  582. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/lib/index.js +12 -17
  583. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +14 -14
  584. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +28 -28
  585. package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +25 -25
  586. package/node_modules/@deepseek-ai/dsh-mcp-client/README.i18n.yaml +2 -2
  587. package/node_modules/@deepseek-ai/dsh-mcp-client/README.md +1 -1
  588. package/node_modules/@deepseek-ai/dsh-mcp-client/README.zh.md +1 -1
  589. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/index.js +3 -2
  590. package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +24 -24
  591. package/node_modules/@deepseek-ai/dsh-mcp-resources/README.i18n.yaml +2 -2
  592. package/node_modules/@deepseek-ai/dsh-mcp-resources/README.md +1 -1
  593. package/node_modules/@deepseek-ai/dsh-mcp-resources/README.zh.md +1 -1
  594. package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +16 -16
  595. package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +19 -19
  596. package/node_modules/@deepseek-ai/dsh-message-quotes/package.json +9 -9
  597. package/node_modules/@deepseek-ai/dsh-native-command/package.json +4 -4
  598. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/lib/index.js +6 -1
  599. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +15 -15
  600. package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +11 -11
  601. package/node_modules/@deepseek-ai/dsh-official-bundles/README.i18n.yaml +2 -2
  602. package/node_modules/@deepseek-ai/dsh-official-bundles/README.md +1 -1
  603. package/node_modules/@deepseek-ai/dsh-official-bundles/README.zh.md +1 -1
  604. package/node_modules/@deepseek-ai/dsh-official-bundles/lib/index.js +6 -2
  605. package/node_modules/@deepseek-ai/dsh-official-bundles/package.json +4 -4
  606. package/node_modules/@deepseek-ai/dsh-otel/package.json +5 -5
  607. package/node_modules/@deepseek-ai/dsh-output-retention/package.json +3 -3
  608. package/node_modules/@deepseek-ai/dsh-package-manifest/README.i18n.yaml +2 -2
  609. package/node_modules/@deepseek-ai/dsh-package-manifest/README.md +1 -0
  610. package/node_modules/@deepseek-ai/dsh-package-manifest/README.zh.md +1 -0
  611. package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +3 -3
  612. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +7 -3
  613. package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +23 -23
  614. package/node_modules/@deepseek-ai/dsh-persona/package.json +7 -7
  615. package/node_modules/@deepseek-ai/dsh-personalized-recommendations/package.json +23 -23
  616. package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +24 -24
  617. package/node_modules/@deepseek-ai/dsh-plugin-detail/package.json +3 -3
  618. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.i18n.yaml +6 -6
  619. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.md +8 -2
  620. package/node_modules/@deepseek-ai/dsh-plugin-manager/README.zh.md +8 -2
  621. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +166 -34
  622. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +60 -37
  623. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +37 -35
  624. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/diagnostic.js +72 -0
  625. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/index.js +137 -31
  626. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/operations.js +26 -4
  627. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/tools.js +1 -0
  628. package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +43 -39
  629. package/node_modules/@deepseek-ai/dsh-plugin-market/package.json +31 -31
  630. package/node_modules/@deepseek-ai/dsh-plugin-market-index/package.json +4 -4
  631. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +19 -19
  632. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/README.i18n.yaml +2 -2
  633. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/README.md +1 -1
  634. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/README.zh.md +1 -1
  635. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/typert.host.js +7 -3
  636. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/package.json +17 -17
  637. package/node_modules/@deepseek-ai/dsh-ptc-runtime/README.i18n.yaml +10 -10
  638. package/node_modules/@deepseek-ai/dsh-ptc-runtime/README.md +5 -5
  639. package/node_modules/@deepseek-ai/dsh-ptc-runtime/README.zh.md +5 -5
  640. package/node_modules/@deepseek-ai/dsh-ptc-runtime/lib/index.js +4 -0
  641. package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +5 -5
  642. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.i18n.yaml +29 -29
  643. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.md +50 -22
  644. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.zh.md +49 -21
  645. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/configuration.js +24 -0
  646. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/index.js +413 -597
  647. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/persistent-process.js +5853 -125
  648. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/process.js +5865 -91
  649. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +31 -24
  650. package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +11 -11
  651. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +14 -14
  652. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/lib/index.js +6 -1
  653. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +12 -12
  654. package/node_modules/@deepseek-ai/dsh-sandbox/package.json +8 -8
  655. package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/package.json +25 -25
  656. package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +12 -12
  657. package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +14 -14
  658. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/index.js +1 -1
  659. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/runner.js +1 -1
  660. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/types-DFdfvhLN.js +1411 -0
  661. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +14 -14
  662. package/node_modules/@deepseek-ai/dsh-schedule/package.json +37 -37
  663. package/node_modules/@deepseek-ai/dsh-scope/package.json +3 -3
  664. package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +19 -19
  665. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +33 -33
  666. package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +39 -39
  667. package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +11 -11
  668. package/node_modules/@deepseek-ai/dsh-session/package.json +10 -10
  669. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +19 -19
  670. package/node_modules/@deepseek-ai/dsh-session-format/package.json +4 -4
  671. package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +11 -11
  672. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +7 -7
  673. package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +8 -8
  674. package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +6 -6
  675. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +5 -5
  676. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +18 -18
  677. package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +24 -24
  678. package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +11 -11
  679. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +6 -1
  680. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +13 -13
  681. package/node_modules/@deepseek-ai/dsh-session-projection/README.i18n.yaml +5 -2
  682. package/node_modules/@deepseek-ai/dsh-session-projection/README.md +15 -0
  683. package/node_modules/@deepseek-ai/dsh-session-projection/README.zh.md +15 -0
  684. package/node_modules/@deepseek-ai/dsh-session-projection/lib/index.js +4 -2
  685. package/node_modules/@deepseek-ai/dsh-session-projection/lib/types/index.js +3 -1
  686. package/node_modules/@deepseek-ai/dsh-session-projection/package.json +6 -6
  687. package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +13 -13
  688. package/node_modules/@deepseek-ai/dsh-session-query/package.json +20 -20
  689. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +13 -13
  690. package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +7 -3
  691. package/node_modules/@deepseek-ai/dsh-session-reference/package.json +41 -41
  692. package/node_modules/@deepseek-ai/dsh-session-stats/package.json +11 -11
  693. package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +7 -7
  694. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +25 -25
  695. package/node_modules/@deepseek-ai/dsh-session-title/package.json +17 -17
  696. package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/package.json +15 -15
  697. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +20 -20
  698. package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +13 -13
  699. package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +11 -11
  700. package/node_modules/@deepseek-ai/dsh-settings/package.json +17 -17
  701. package/node_modules/@deepseek-ai/dsh-shell/package.json +7 -7
  702. package/node_modules/@deepseek-ai/dsh-shell-env/package.json +14 -14
  703. package/node_modules/@deepseek-ai/dsh-skill/README.i18n.yaml +2 -2
  704. package/node_modules/@deepseek-ai/dsh-skill/README.md +1 -1
  705. package/node_modules/@deepseek-ai/dsh-skill/README.zh.md +1 -1
  706. package/node_modules/@deepseek-ai/dsh-skill/package.json +9 -9
  707. package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +5 -5
  708. package/node_modules/@deepseek-ai/dsh-skill-filesystem/README.i18n.yaml +4 -4
  709. package/node_modules/@deepseek-ai/dsh-skill-filesystem/README.md +3 -2
  710. package/node_modules/@deepseek-ai/dsh-skill-filesystem/README.zh.md +3 -2
  711. package/node_modules/@deepseek-ai/dsh-skill-filesystem/lib/index.js +14 -3
  712. package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +10 -10
  713. package/node_modules/@deepseek-ai/dsh-skill-office/package.json +10 -10
  714. package/node_modules/@deepseek-ai/dsh-spill/package.json +9 -9
  715. package/node_modules/@deepseek-ai/dsh-spill-local/package.json +11 -11
  716. package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +35 -35
  717. package/node_modules/@deepseek-ai/dsh-storage/README.i18n.yaml +2 -2
  718. package/node_modules/@deepseek-ai/dsh-storage/README.md +1 -1
  719. package/node_modules/@deepseek-ai/dsh-storage/README.zh.md +1 -1
  720. package/node_modules/@deepseek-ai/dsh-storage/package.json +3 -3
  721. package/node_modules/@deepseek-ai/dsh-storage-domain/README.i18n.yaml +4 -4
  722. package/node_modules/@deepseek-ai/dsh-storage-domain/README.md +3 -3
  723. package/node_modules/@deepseek-ai/dsh-storage-domain/README.zh.md +3 -3
  724. package/node_modules/@deepseek-ai/dsh-storage-domain/lib/index.js +10 -12
  725. package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +6 -6
  726. package/node_modules/@deepseek-ai/dsh-storage-json/README.i18n.yaml +10 -10
  727. package/node_modules/@deepseek-ai/dsh-storage-json/README.md +9 -7
  728. package/node_modules/@deepseek-ai/dsh-storage-json/README.zh.md +9 -7
  729. package/node_modules/@deepseek-ai/dsh-storage-json/lib/index.js +50 -49
  730. package/node_modules/@deepseek-ai/dsh-storage-json/package.json +6 -6
  731. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +7 -3
  732. package/node_modules/@deepseek-ai/dsh-subagent/package.json +51 -51
  733. package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +24 -24
  734. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +15 -15
  735. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +19 -19
  736. package/node_modules/@deepseek-ai/dsh-subprocess/package.json +6 -6
  737. package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +9 -9
  738. package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +8 -8
  739. package/node_modules/@deepseek-ai/dsh-terminal/package.json +8 -8
  740. package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +22 -22
  741. package/node_modules/@deepseek-ai/dsh-time-context/package.json +23 -23
  742. package/node_modules/@deepseek-ai/dsh-timeout/package.json +3 -3
  743. package/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +6 -1
  744. package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +14 -14
  745. package/node_modules/@deepseek-ai/dsh-token-meter/package.json +17 -17
  746. package/node_modules/@deepseek-ai/dsh-tool-ask-user/README.i18n.yaml +2 -2
  747. package/node_modules/@deepseek-ai/dsh-tool-ask-user/README.md +1 -1
  748. package/node_modules/@deepseek-ai/dsh-tool-ask-user/README.zh.md +1 -1
  749. package/node_modules/@deepseek-ai/dsh-tool-ask-user/lib/index.js +2 -2
  750. package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +13 -13
  751. package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +37 -37
  752. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +27 -27
  753. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +10 -10
  754. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +789 -26
  755. package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +17 -17
  756. package/node_modules/@deepseek-ai/dsh-tool-executor-native/package.json +5 -5
  757. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/README.i18n.yaml +6 -6
  758. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/README.md +5 -3
  759. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/README.zh.md +5 -3
  760. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/index.js +9 -3
  761. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/errors.js +2 -1
  762. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/ptc.js +7 -2
  763. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/ts-types.js +1 -1
  764. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/package.json +28 -28
  765. package/node_modules/@deepseek-ai/dsh-tool-fs/README.i18n.yaml +4 -4
  766. package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +1 -1
  767. package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +3 -3
  768. package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +8 -5
  769. package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +36 -36
  770. package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.i18n.yaml +9 -6
  771. package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.md +19 -1
  772. package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.zh.md +19 -1
  773. package/node_modules/@deepseek-ai/dsh-tool-fs-search/lib/index.js +21 -8
  774. package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +31 -31
  775. package/node_modules/@deepseek-ai/dsh-tool-goal/README.i18n.yaml +2 -2
  776. package/node_modules/@deepseek-ai/dsh-tool-goal/README.md +1 -1
  777. package/node_modules/@deepseek-ai/dsh-tool-goal/README.zh.md +1 -1
  778. package/node_modules/@deepseek-ai/dsh-tool-goal/lib/index.js +5 -10
  779. package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +20 -20
  780. package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +19 -19
  781. package/node_modules/@deepseek-ai/dsh-tool-present/package.json +21 -21
  782. package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +35 -35
  783. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +28 -28
  784. package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +24 -24
  785. package/node_modules/@deepseek-ai/dsh-tool-schedule/package.json +14 -14
  786. package/node_modules/@deepseek-ai/dsh-tool-session-query/package.json +27 -27
  787. package/node_modules/@deepseek-ai/dsh-tool-skill/README.i18n.yaml +23 -14
  788. package/node_modules/@deepseek-ai/dsh-tool-skill/README.md +27 -8
  789. package/node_modules/@deepseek-ai/dsh-tool-skill/README.zh.md +27 -8
  790. package/node_modules/@deepseek-ai/dsh-tool-skill/lib/index.js +27 -20
  791. package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +18 -18
  792. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +23 -23
  793. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.i18n.yaml +12 -12
  794. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +7 -5
  795. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +7 -5
  796. package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +145 -211
  797. package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +25 -27
  798. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +22 -22
  799. package/node_modules/@deepseek-ai/dsh-tool-terminal/package.json +32 -32
  800. package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +19 -19
  801. package/node_modules/@deepseek-ai/dsh-tool-web/package.json +24 -24
  802. package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +24 -24
  803. package/node_modules/@deepseek-ai/dsh-tool-working-directory/package.json +13 -13
  804. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +12 -12
  805. package/node_modules/@deepseek-ai/dsh-tools/package.json +20 -20
  806. package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +2 -2
  807. package/node_modules/@deepseek-ai/dsh-tui-app/README.md +1 -1
  808. package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +1 -1
  809. package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +24 -8
  810. package/node_modules/@deepseek-ai/dsh-tui-app/package.json +85 -85
  811. package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +10 -10
  812. package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +4 -4
  813. package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +4 -4
  814. package/node_modules/@deepseek-ai/dsh-user-approval/package.json +18 -18
  815. package/node_modules/@deepseek-ai/dsh-user-questions/README.i18n.yaml +2 -2
  816. package/node_modules/@deepseek-ai/dsh-user-questions/README.md +1 -1
  817. package/node_modules/@deepseek-ai/dsh-user-questions/README.zh.md +1 -1
  818. package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.host.js +7 -3
  819. package/node_modules/@deepseek-ai/dsh-user-questions/package.json +18 -18
  820. package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +3 -3
  821. package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +3 -3
  822. package/node_modules/@deepseek-ai/dsh-util-time/package.json +3 -3
  823. package/node_modules/@deepseek-ai/dsh-util-values/package.json +3 -3
  824. package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +3 -3
  825. package/node_modules/@deepseek-ai/dsh-web/package.json +6 -6
  826. package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +0 -3
  827. package/node_modules/@deepseek-ai/dsh-web-app/package.json +150 -151
  828. package/node_modules/@deepseek-ai/dsh-web-deepseek-api/package.json +19 -19
  829. package/node_modules/@deepseek-ai/dsh-web-fetch-http/README.i18n.yaml +8 -8
  830. package/node_modules/@deepseek-ai/dsh-web-fetch-http/README.md +6 -3
  831. package/node_modules/@deepseek-ai/dsh-web-fetch-http/README.zh.md +6 -3
  832. package/node_modules/@deepseek-ai/dsh-web-fetch-http/lib/index.js +32 -21
  833. package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +9 -9
  834. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/{index-UeToUMuD.js → index--TtJvO-i.js} +84 -84
  835. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/{index-91FlLSYh.css → index-Jtzf36XE.css} +1 -1
  836. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{graphql-BIiNFDN_.js → graphql-C-Uijqkk.js} +2 -2
  837. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{http-DIhnzaXE.js → http-CLu1VCSi.js} +2 -2
  838. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{php-B4EoFdzs.js → php-CjQPq1Mz.js} +2 -2
  839. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{rst-BHSXxbFM.js → rst-BuDKiyD7.js} +2 -2
  840. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{ruby-DYyEMX7k.js → ruby-ZtjE4NPI.js} +2 -2
  841. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{svelte-CwMGesqy.js → svelte-Tt81icjn.js} +2 -2
  842. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{vue-DgeFhH50.js → vue-B5SDFeDA.js} +2 -2
  843. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/{vendor-D3p0kQ7Q.js → vendor-7utBqO4o.js} +25 -25
  844. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +3 -3
  845. package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +21 -20
  846. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +18 -18
  847. package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +9 -9
  848. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +9 -9
  849. package/node_modules/@deepseek-ai/dsh-win32-process/package.json +4 -4
  850. package/node_modules/@deepseek-ai/dsh-workflow/package.json +11 -11
  851. package/node_modules/@deepseek-ai/dsh-workflow-ptc/README.i18n.yaml +2 -2
  852. package/node_modules/@deepseek-ai/dsh-workflow-ptc/README.md +1 -1
  853. package/node_modules/@deepseek-ai/dsh-workflow-ptc/README.zh.md +1 -1
  854. package/node_modules/@deepseek-ai/dsh-workflow-ptc/lib/index.js +5 -1
  855. package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +39 -39
  856. package/node_modules/@deepseek-ai/dsh-working-directory/package.json +21 -21
  857. package/node_modules/@deepseek-ai/dsh-workspace/package.json +14 -14
  858. package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +23 -23
  859. package/node_modules/@deepseek-ai/schemastery/package.json +2 -2
  860. package/node_modules/acorn/CHANGELOG.md +1012 -0
  861. package/node_modules/acorn/LICENSE +21 -0
  862. package/node_modules/acorn/README.md +309 -0
  863. package/node_modules/acorn/bin/acorn +4 -0
  864. package/node_modules/acorn/dist/acorn.js +6370 -0
  865. package/node_modules/acorn/dist/acorn.mjs +6341 -0
  866. package/node_modules/acorn/dist/bin.js +90 -0
  867. package/node_modules/acorn/package.json +47 -0
  868. package/node_modules/acorn-walk/CHANGELOG.md +209 -0
  869. package/node_modules/{@deepseek-ai/dsh-experimental-worktree → acorn-walk}/LICENSE +5 -5
  870. package/node_modules/acorn-walk/README.md +124 -0
  871. package/node_modules/acorn-walk/dist/walk.js +485 -0
  872. package/node_modules/acorn-walk/dist/walk.mjs +467 -0
  873. package/node_modules/acorn-walk/package.json +47 -0
  874. package/node_modules/shell-quote/.github/FUNDING.yml +12 -0
  875. package/node_modules/shell-quote/LICENSE +24 -0
  876. package/node_modules/shell-quote/README.md +246 -0
  877. package/node_modules/shell-quote/index.js +4 -0
  878. package/node_modules/shell-quote/package.json +66 -0
  879. package/node_modules/shell-quote/parse.js +382 -0
  880. package/node_modules/shell-quote/quote.js +85 -0
  881. package/node_modules/shell-quote/tsconfig.json +10 -0
  882. package/package.json +346 -326
  883. package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/README.i18n.yaml +0 -37
  884. package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/README.md +0 -91
  885. package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/README.zh.md +0 -91
  886. package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/lib/client.js +0 -93
  887. package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/lib/index.js +0 -6
  888. package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/de.json +0 -6
  889. package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/en.json +0 -6
  890. package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/es.json +0 -6
  891. package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/fr.json +0 -6
  892. package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/ja.json +0 -6
  893. package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/pt.json +0 -6
  894. package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/ru.json +0 -6
  895. package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/zh.json +0 -6
  896. package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/package.json +0 -59
  897. package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/types/directory.d.ts +0 -7
  898. package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/types/index.d.ts +0 -54
  899. package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/types/process.d.ts +0 -29
  900. package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/types/types.d.ts +0 -20
@@ -14,8 +14,19 @@ const _deepseek_ai_dsh_api_session_controller_fileReferences_list_result$schema
14
14
  })))
15
15
  let _deepseek_ai_dsh_api_session_controller_session_attachment_parameter_0$schema$value
16
16
  const _deepseek_ai_dsh_api_session_controller_session_attachment_parameter_0$schema = () => (_deepseek_ai_dsh_api_session_controller_session_attachment_parameter_0$schema$value ??= z.object({
17
- 'sessionId': z.string().readonly(),
18
- 'attachmentId': z.string().readonly(),
17
+ 'sessionId': z.string().readonly().describe('Gateway permission scope only; neither Session existence nor its image references are checked.'),
18
+ 'attachment': z.object({
19
+ 'attachmentId': z.string().describe('Opaque storage identifier; never a filesystem path or bearer URL.'),
20
+ 'mediaType': z.union([z.literal("image/png"), z.literal("image/jpeg"), z.literal("image/webp"), z.literal("image/gif")]).describe('Media type verified from the stored bytes.'),
21
+ 'bytes': z.number().describe('Exact encoded byte length.'),
22
+ 'width': z.number().describe('Intrinsic encoded width in pixels.'),
23
+ 'height': z.number().describe('Intrinsic encoded height in pixels.'),
24
+ 'name': z.string().optional().describe('Optional display name stripped of local path information.'),
25
+ 'originalDimensions': z.object({
26
+ 'width': z.number(),
27
+ 'height': z.number(),
28
+ }).optional().describe('Input dimensions after applying EXIF orientation and before normalization scaling. Present only when normalization reduced the image.'),
29
+ }).readonly(),
19
30
  }))
20
31
  let _deepseek_ai_dsh_api_session_controller_session_attachment_result$schema$value
21
32
  const _deepseek_ai_dsh_api_session_controller_session_attachment_result$schema = () => (_deepseek_ai_dsh_api_session_controller_session_attachment_result$schema$value ??= z.object({
@@ -30,7 +41,7 @@ const _deepseek_ai_dsh_api_session_controller_session_attachment_result$schema =
30
41
  'width': z.number(),
31
42
  'height': z.number(),
32
43
  }).optional().describe('Input dimensions after applying EXIF orientation and before normalization scaling. Present only when normalization reduced the image.'),
33
- }).readonly(),
44
+ }).readonly().describe('Supplied reference after ID, format, byte length, and dimensions verification; display fields are preserved.'),
34
45
  'data': z.string().readonly(),
35
46
  }))
36
47
  let _deepseek_ai_dsh_api_session_controller_session_cancel_parameter_0$schema$value
@@ -230,6 +241,24 @@ const _deepseek_ai_dsh_api_session_controller_session_control_result$schema = ()
230
241
  })).readonly(),
231
242
  'failure': z.string().readonly().optional(),
232
243
  }).optional().describe('Durable roster and non-deleted task board of the Team rooted at the projected Session.'),
244
+ 'forgeChangeRequests': z.array(z.object({
245
+ 'url': z.string().readonly().describe('Web URL as first recorded.'),
246
+ 'origin': z.union([z.literal("created"), z.literal("referenced"), z.literal("discovered"), z.literal("tracked")]).readonly().describe('How the change request became bound.'),
247
+ 'dismissed': z.boolean().readonly().describe('Whether a dismissal hides the binding.'),
248
+ })).optional().describe('Every change request bound to the Session, hidden ones included, in binding order.'),
249
+ 'forgeWorktree': z.union([z.literal(null), z.object({
250
+ 'path': z.string().readonly().describe('Canonical checkout directory.'),
251
+ 'branch': z.string().readonly().describe('Branch created for the checkout.'),
252
+ 'from': z.union([z.literal(null), z.string()]).readonly().describe('Requested base branch, or null when the checkout started from HEAD of the source checkout.'),
253
+ 'baseCommit': z.string().readonly().describe('Commit object name the branch started from.'),
254
+ 'repositoryRoot': z.string().readonly().describe('Canonical root of the source checkout.'),
255
+ })]).optional().describe('The worktree the panel created for the Session while the Session works in it, else null.'),
256
+ 'forkLineage': z.object({
257
+ 'origin': z.literal("fork").readonly().describe('How the Session came to exist; only `fork` is published under this key.'),
258
+ 'sourceSessionId': z.string().readonly().describe('Session the branch was cut from.'),
259
+ 'authoredByViewer': z.boolean().readonly().describe('True when the reader created the branch it is reading.'),
260
+ 'workspaceReadOnly': z.boolean().readonly().describe('True when the branch\'s workspace stays read-only for its reader.'),
261
+ }).optional().describe('Branch facts one reader was given for a branch of a shared Session.'),
233
262
  'goal': z.union([z.literal(null), z.object({
234
263
  'goal': z.object({
235
264
  'objective': z.string().readonly().describe('Human-requested completion objective.'),
@@ -272,6 +301,42 @@ const _deepseek_ai_dsh_api_session_controller_session_create_result$schema = ()
272
301
  'sessionId': z.string().readonly().describe('The created or reused Session, which may differ from the requested `sessionId`.'),
273
302
  'agentPreset': z.string().readonly().optional().describe('Preset the Session runs, when the deployment composes a preset roster.'),
274
303
  }))
304
+ let _deepseek_ai_dsh_api_session_controller_session_events_parameter_0$schema$value
305
+ const _deepseek_ai_dsh_api_session_controller_session_events_parameter_0$schema = () => (_deepseek_ai_dsh_api_session_controller_session_events_parameter_0$schema$value ??= z.object({
306
+ 'address': z.union([z.object({
307
+ 'kind': z.literal("session").readonly(),
308
+ 'sessionId': z.string().readonly(),
309
+ }), z.object({
310
+ 'kind': z.literal("subagent").readonly(),
311
+ 'parentSessionId': z.string().readonly(),
312
+ 'childSessionId': z.string().readonly(),
313
+ 'mode': z.union([z.literal("one-shot"), z.literal("continuable"), z.literal("unknown")]).readonly(),
314
+ })]).readonly(),
315
+ 'throughSeq': z.number().readonly().optional().describe('Inclusive log cut; omission selects the observed log end. A follow opening reports the cut it covered so a caller can pin the same point.'),
316
+ 'beforeSeq': z.number().readonly().optional(),
317
+ 'maxMessages': z.number().readonly().optional(),
318
+ 'turnWindow': z.object({
319
+ 'minMessages': z.number().readonly().describe('Minimum append-origin user/assistant messages; must not exceed maxMessages.'),
320
+ 'minTurns': z.number().readonly().describe('Minimum Turn starts crossed, including the partial Turn at beforeSeq.'),
321
+ }).readonly().optional().describe('Stop at a Turn start after both minima, unless maxMessages or history exhaustion wins.'),
322
+ }))
323
+ let _deepseek_ai_dsh_api_session_controller_session_events_result$schema$value
324
+ const _deepseek_ai_dsh_api_session_controller_session_events_result$schema = () => (_deepseek_ai_dsh_api_session_controller_session_events_result$schema$value ??= z.object({
325
+ 'cursor': z.number().readonly(),
326
+ 'records': z.array(z.object({
327
+ 'type': z.literal("event").readonly(),
328
+ 'event': z.object({
329
+ 'type': z.string().readonly(),
330
+ 'seq': z.number().readonly(),
331
+ 'time': z.number().readonly(),
332
+ 'data': z.json().readonly(),
333
+ 'ignorable': z.literal(true).readonly().optional(),
334
+ 'sourceEventSeqs': z.json().readonly().optional().describe('Earlier sources on current surface events; opaque JSON on unknown ignorable events.'),
335
+ 'surfaceOp': z.json().readonly().optional().describe('Canonical placement on current surface events; opaque JSON on unknown ignorable events.'),
336
+ }).readonly(),
337
+ })).readonly(),
338
+ 'hasMore': z.boolean().readonly(),
339
+ }))
275
340
  let _deepseek_ai_dsh_api_session_controller_session_follow_parameter_0$schema$value
276
341
  const _deepseek_ai_dsh_api_session_controller_session_follow_parameter_0$schema = () => (_deepseek_ai_dsh_api_session_controller_session_follow_parameter_0$schema$value ??= z.object({
277
342
  'address': z.union([z.object({
@@ -283,6 +348,7 @@ const _deepseek_ai_dsh_api_session_controller_session_follow_parameter_0$schema
283
348
  'childSessionId': z.string().readonly(),
284
349
  'mode': z.union([z.literal("one-shot"), z.literal("continuable"), z.literal("unknown")]).readonly(),
285
350
  })]).readonly(),
351
+ 'activate': z.boolean().readonly().optional().describe('Request background activation; omission leaves the read passive.'),
286
352
  'assistantStream': z.literal(true).readonly().optional().describe('Include process-local assistant presentation frames for the Web client.'),
287
353
  'maxMessages': z.number().readonly().optional(),
288
354
  'turnWindow': z.object({
@@ -512,6 +578,24 @@ const _deepseek_ai_dsh_api_session_controller_session_follow_result$schema = ()
512
578
  })).readonly(),
513
579
  'failure': z.string().readonly().optional(),
514
580
  }).optional().describe('Durable roster and non-deleted task board of the Team rooted at the projected Session.'),
581
+ 'forgeChangeRequests': z.array(z.object({
582
+ 'url': z.string().readonly().describe('Web URL as first recorded.'),
583
+ 'origin': z.union([z.literal("created"), z.literal("referenced"), z.literal("discovered"), z.literal("tracked")]).readonly().describe('How the change request became bound.'),
584
+ 'dismissed': z.boolean().readonly().describe('Whether a dismissal hides the binding.'),
585
+ })).optional().describe('Every change request bound to the Session, hidden ones included, in binding order.'),
586
+ 'forgeWorktree': z.union([z.literal(null), z.object({
587
+ 'path': z.string().readonly().describe('Canonical checkout directory.'),
588
+ 'branch': z.string().readonly().describe('Branch created for the checkout.'),
589
+ 'from': z.union([z.literal(null), z.string()]).readonly().describe('Requested base branch, or null when the checkout started from HEAD of the source checkout.'),
590
+ 'baseCommit': z.string().readonly().describe('Commit object name the branch started from.'),
591
+ 'repositoryRoot': z.string().readonly().describe('Canonical root of the source checkout.'),
592
+ })]).optional().describe('The worktree the panel created for the Session while the Session works in it, else null.'),
593
+ 'forkLineage': z.object({
594
+ 'origin': z.literal("fork").readonly().describe('How the Session came to exist; only `fork` is published under this key.'),
595
+ 'sourceSessionId': z.string().readonly().describe('Session the branch was cut from.'),
596
+ 'authoredByViewer': z.boolean().readonly().describe('True when the reader created the branch it is reading.'),
597
+ 'workspaceReadOnly': z.boolean().readonly().describe('True when the branch\'s workspace stays read-only for its reader.'),
598
+ }).optional().describe('Branch facts one reader was given for a branch of a shared Session.'),
515
599
  'goal': z.union([z.literal(null), z.object({
516
600
  'goal': z.object({
517
601
  'objective': z.string().readonly().describe('Human-requested completion objective.'),
@@ -759,6 +843,24 @@ const _deepseek_ai_dsh_api_session_controller_session_list_result$schema = () =>
759
843
  })).readonly(),
760
844
  'failure': z.string().readonly().optional(),
761
845
  }).optional().describe('Durable roster and non-deleted task board of the Team rooted at the projected Session.'),
846
+ 'forgeChangeRequests': z.array(z.object({
847
+ 'url': z.string().readonly().describe('Web URL as first recorded.'),
848
+ 'origin': z.union([z.literal("created"), z.literal("referenced"), z.literal("discovered"), z.literal("tracked")]).readonly().describe('How the change request became bound.'),
849
+ 'dismissed': z.boolean().readonly().describe('Whether a dismissal hides the binding.'),
850
+ })).optional().describe('Every change request bound to the Session, hidden ones included, in binding order.'),
851
+ 'forgeWorktree': z.union([z.literal(null), z.object({
852
+ 'path': z.string().readonly().describe('Canonical checkout directory.'),
853
+ 'branch': z.string().readonly().describe('Branch created for the checkout.'),
854
+ 'from': z.union([z.literal(null), z.string()]).readonly().describe('Requested base branch, or null when the checkout started from HEAD of the source checkout.'),
855
+ 'baseCommit': z.string().readonly().describe('Commit object name the branch started from.'),
856
+ 'repositoryRoot': z.string().readonly().describe('Canonical root of the source checkout.'),
857
+ })]).optional().describe('The worktree the panel created for the Session while the Session works in it, else null.'),
858
+ 'forkLineage': z.object({
859
+ 'origin': z.literal("fork").readonly().describe('How the Session came to exist; only `fork` is published under this key.'),
860
+ 'sourceSessionId': z.string().readonly().describe('Session the branch was cut from.'),
861
+ 'authoredByViewer': z.boolean().readonly().describe('True when the reader created the branch it is reading.'),
862
+ 'workspaceReadOnly': z.boolean().readonly().describe('True when the branch\'s workspace stays read-only for its reader.'),
863
+ }).optional().describe('Branch facts one reader was given for a branch of a shared Session.'),
762
864
  'goal': z.union([z.literal(null), z.object({
763
865
  'goal': z.object({
764
866
  'objective': z.string().readonly().describe('Human-requested completion objective.'),
@@ -806,6 +908,12 @@ const _deepseek_ai_dsh_api_session_controller_session_modelCatalog_result$schema
806
908
  })).readonly(),
807
909
  'defaultEffort': z.string().readonly().optional(),
808
910
  }).readonly().optional(),
911
+ 'badge': z.object({
912
+ 'text': z.union([z.string(), z.intersection(z.object({
913
+ 'en': z.string().readonly(),
914
+ }), z.record(z.string(), z.string()).readonly())]).describe('One literal, or translations keyed by lowercase language id with a required English entry.'),
915
+ 'tone': z.union([z.literal("neutral"), z.literal("info"), z.literal("success"), z.literal("warning")]).describe('Emphasis of the label.'),
916
+ }).readonly().optional().describe('Provider-authored label shown beside the name; display data only.'),
809
917
  })).readonly(),
810
918
  })).readonly(),
811
919
  'failures': z.array(z.object({
@@ -814,6 +922,63 @@ const _deepseek_ai_dsh_api_session_controller_session_modelCatalog_result$schema
814
922
  'message': z.string().readonly(),
815
923
  })).readonly(),
816
924
  }))
925
+ let _deepseek_ai_dsh_api_session_controller_session_observeEvent_parameter_0$schema$value
926
+ const _deepseek_ai_dsh_api_session_controller_session_observeEvent_parameter_0$schema = () => (_deepseek_ai_dsh_api_session_controller_session_observeEvent_parameter_0$schema$value ??= z.object({
927
+ 'address': z.union([z.object({
928
+ 'kind': z.literal("session").readonly(),
929
+ 'sessionId': z.string().readonly(),
930
+ }), z.object({
931
+ 'kind': z.literal("subagent").readonly(),
932
+ 'parentSessionId': z.string().readonly(),
933
+ 'childSessionId': z.string().readonly(),
934
+ 'mode': z.union([z.literal("one-shot"), z.literal("continuable"), z.literal("unknown")]).readonly(),
935
+ })]).readonly(),
936
+ }))
937
+ let _deepseek_ai_dsh_api_session_controller_session_observeEvent_result$schema$value
938
+ const _deepseek_ai_dsh_api_session_controller_session_observeEvent_result$schema = () => (_deepseek_ai_dsh_api_session_controller_session_observeEvent_result$schema$value ??= z.union([z.object({
939
+ 'type': z.literal("event").readonly(),
940
+ 'event': z.object({
941
+ 'type': z.string().readonly(),
942
+ 'seq': z.number().readonly(),
943
+ 'time': z.number().readonly(),
944
+ 'data': z.json().readonly(),
945
+ 'ignorable': z.literal(true).readonly().optional(),
946
+ 'sourceEventSeqs': z.json().readonly().optional().describe('Earlier sources on current surface events; opaque JSON on unknown ignorable events.'),
947
+ 'surfaceOp': z.json().readonly().optional().describe('Canonical placement on current surface events; opaque JSON on unknown ignorable events.'),
948
+ }).readonly(),
949
+ }), z.object({
950
+ 'type': z.literal("ready").readonly(),
951
+ })]))
952
+ let _deepseek_ai_dsh_api_session_controller_session_observeProjections_parameter_0$schema$value
953
+ const _deepseek_ai_dsh_api_session_controller_session_observeProjections_parameter_0$schema = () => (_deepseek_ai_dsh_api_session_controller_session_observeProjections_parameter_0$schema$value ??= z.object({
954
+ 'sessionId': z.string().readonly(),
955
+ }))
956
+ let _deepseek_ai_dsh_api_session_controller_session_observeProjections_result$schema$value
957
+ const _deepseek_ai_dsh_api_session_controller_session_observeProjections_result$schema = () => (_deepseek_ai_dsh_api_session_controller_session_observeProjections_result$schema$value ??= z.union([z.object({
958
+ 'type': z.literal("ready").readonly(),
959
+ }), z.object({
960
+ 'type': z.literal("projection").readonly(),
961
+ 'key': z.string().readonly(),
962
+ 'value': z.json().readonly(),
963
+ 'seq': z.number().readonly(),
964
+ })]))
965
+ let _deepseek_ai_dsh_api_session_controller_session_observeState_parameter_0$schema$value
966
+ const _deepseek_ai_dsh_api_session_controller_session_observeState_parameter_0$schema = () => (_deepseek_ai_dsh_api_session_controller_session_observeState_parameter_0$schema$value ??= z.object({
967
+ 'sessionId': z.string().readonly(),
968
+ }))
969
+ let _deepseek_ai_dsh_api_session_controller_session_observeState_result$schema$value
970
+ const _deepseek_ai_dsh_api_session_controller_session_observeState_result$schema = () => (_deepseek_ai_dsh_api_session_controller_session_observeState_result$schema$value ??= z.object({
971
+ 'cursor': z.number().readonly(),
972
+ 'active': z.boolean().readonly(),
973
+ 'running': z.boolean().readonly(),
974
+ 'queue': z.union([z.literal(null), z.array(z.object({
975
+ 'id': z.string().readonly(),
976
+ 'placement': z.union([z.literal("queued"), z.literal("steering"), z.literal("context")]).readonly(),
977
+ 'rpcId': z.string().readonly().optional(),
978
+ 'content': z.array(z.json()).readonly(),
979
+ }))]).readonly(),
980
+ 'pendingInput': z.array(z.union([z.literal("approval"), z.literal("question"), z.literal("other")])).readonly().describe('Pending Remote requests sampled when this state was read. A pending change alone does not trigger `observeState`; `wait` refreshes on its own interval.'),
981
+ }))
817
982
  let _deepseek_ai_dsh_api_session_controller_session_openWorkspacePath_parameter_0$schema$value
818
983
  const _deepseek_ai_dsh_api_session_controller_session_openWorkspacePath_parameter_0$schema = () => (_deepseek_ai_dsh_api_session_controller_session_openWorkspacePath_parameter_0$schema$value ??= z.object({
819
984
  'action': z.literal("reveal").readonly().optional().describe('File-manager navigation when requested; omission uses the default application.'),
@@ -835,7 +1000,7 @@ const _deepseek_ai_dsh_api_session_controller_session_page_parameter_0$schema =
835
1000
  'childSessionId': z.string().readonly(),
836
1001
  'mode': z.union([z.literal("one-shot"), z.literal("continuable"), z.literal("unknown")]).readonly(),
837
1002
  })]).readonly(),
838
- 'throughSeq': z.number().readonly().describe('Inclusive log cut obtained from the corresponding follow opening frame.'),
1003
+ 'throughSeq': z.number().readonly().optional().describe('Inclusive log cut; omission selects the observed log end. A follow opening reports the cut it covered so a caller can pin the same point.'),
839
1004
  'beforeSeq': z.number().readonly().optional(),
840
1005
  'maxMessages': z.number().readonly().optional(),
841
1006
  'turnWindow': z.object({
@@ -845,6 +1010,7 @@ const _deepseek_ai_dsh_api_session_controller_session_page_parameter_0$schema =
845
1010
  }))
846
1011
  let _deepseek_ai_dsh_api_session_controller_session_page_result$schema$value
847
1012
  const _deepseek_ai_dsh_api_session_controller_session_page_result$schema = () => (_deepseek_ai_dsh_api_session_controller_session_page_result$schema$value ??= z.object({
1013
+ 'cursor': z.number().readonly(),
848
1014
  'records': z.array(z.object({
849
1015
  'type': z.literal("event").readonly(),
850
1016
  'event': z.object({
@@ -1047,6 +1213,24 @@ const _deepseek_ai_dsh_api_session_controller_session_projections_result$schema
1047
1213
  })).readonly(),
1048
1214
  'failure': z.string().readonly().optional(),
1049
1215
  }).optional().describe('Durable roster and non-deleted task board of the Team rooted at the projected Session.'),
1216
+ 'forgeChangeRequests': z.array(z.object({
1217
+ 'url': z.string().readonly().describe('Web URL as first recorded.'),
1218
+ 'origin': z.union([z.literal("created"), z.literal("referenced"), z.literal("discovered"), z.literal("tracked")]).readonly().describe('How the change request became bound.'),
1219
+ 'dismissed': z.boolean().readonly().describe('Whether a dismissal hides the binding.'),
1220
+ })).optional().describe('Every change request bound to the Session, hidden ones included, in binding order.'),
1221
+ 'forgeWorktree': z.union([z.literal(null), z.object({
1222
+ 'path': z.string().readonly().describe('Canonical checkout directory.'),
1223
+ 'branch': z.string().readonly().describe('Branch created for the checkout.'),
1224
+ 'from': z.union([z.literal(null), z.string()]).readonly().describe('Requested base branch, or null when the checkout started from HEAD of the source checkout.'),
1225
+ 'baseCommit': z.string().readonly().describe('Commit object name the branch started from.'),
1226
+ 'repositoryRoot': z.string().readonly().describe('Canonical root of the source checkout.'),
1227
+ })]).optional().describe('The worktree the panel created for the Session while the Session works in it, else null.'),
1228
+ 'forkLineage': z.object({
1229
+ 'origin': z.literal("fork").readonly().describe('How the Session came to exist; only `fork` is published under this key.'),
1230
+ 'sourceSessionId': z.string().readonly().describe('Session the branch was cut from.'),
1231
+ 'authoredByViewer': z.boolean().readonly().describe('True when the reader created the branch it is reading.'),
1232
+ 'workspaceReadOnly': z.boolean().readonly().describe('True when the branch\'s workspace stays read-only for its reader.'),
1233
+ }).optional().describe('Branch facts one reader was given for a branch of a shared Session.'),
1050
1234
  'goal': z.union([z.literal(null), z.object({
1051
1235
  'goal': z.object({
1052
1236
  'objective': z.string().readonly().describe('Human-requested completion objective.'),
@@ -1252,6 +1436,24 @@ const _deepseek_ai_dsh_api_session_controller_session_projections_result$schema
1252
1436
  })).readonly(),
1253
1437
  'failure': z.string().readonly().optional(),
1254
1438
  }).optional().describe('Durable roster and non-deleted task board of the Team rooted at the projected Session.'),
1439
+ 'forgeChangeRequests': z.array(z.object({
1440
+ 'url': z.string().readonly().describe('Web URL as first recorded.'),
1441
+ 'origin': z.union([z.literal("created"), z.literal("referenced"), z.literal("discovered"), z.literal("tracked")]).readonly().describe('How the change request became bound.'),
1442
+ 'dismissed': z.boolean().readonly().describe('Whether a dismissal hides the binding.'),
1443
+ })).optional().describe('Every change request bound to the Session, hidden ones included, in binding order.'),
1444
+ 'forgeWorktree': z.union([z.literal(null), z.object({
1445
+ 'path': z.string().readonly().describe('Canonical checkout directory.'),
1446
+ 'branch': z.string().readonly().describe('Branch created for the checkout.'),
1447
+ 'from': z.union([z.literal(null), z.string()]).readonly().describe('Requested base branch, or null when the checkout started from HEAD of the source checkout.'),
1448
+ 'baseCommit': z.string().readonly().describe('Commit object name the branch started from.'),
1449
+ 'repositoryRoot': z.string().readonly().describe('Canonical root of the source checkout.'),
1450
+ })]).optional().describe('The worktree the panel created for the Session while the Session works in it, else null.'),
1451
+ 'forkLineage': z.object({
1452
+ 'origin': z.literal("fork").readonly().describe('How the Session came to exist; only `fork` is published under this key.'),
1453
+ 'sourceSessionId': z.string().readonly().describe('Session the branch was cut from.'),
1454
+ 'authoredByViewer': z.boolean().readonly().describe('True when the reader created the branch it is reading.'),
1455
+ 'workspaceReadOnly': z.boolean().readonly().describe('True when the branch\'s workspace stays read-only for its reader.'),
1456
+ }).optional().describe('Branch facts one reader was given for a branch of a shared Session.'),
1255
1457
  'goal': z.union([z.literal(null), z.object({
1256
1458
  'goal': z.object({
1257
1459
  'objective': z.string().readonly().describe('Human-requested completion objective.'),
@@ -1334,6 +1536,23 @@ const _deepseek_ai_dsh_api_session_controller_session_selectModel_result$schema
1334
1536
  'reasoningEffort': z.string().readonly().optional(),
1335
1537
  }).readonly(),
1336
1538
  }))
1539
+ let _deepseek_ai_dsh_api_session_controller_session_state_parameter_0$schema$value
1540
+ const _deepseek_ai_dsh_api_session_controller_session_state_parameter_0$schema = () => (_deepseek_ai_dsh_api_session_controller_session_state_parameter_0$schema$value ??= z.object({
1541
+ 'sessionId': z.string().readonly(),
1542
+ }))
1543
+ let _deepseek_ai_dsh_api_session_controller_session_state_result$schema$value
1544
+ const _deepseek_ai_dsh_api_session_controller_session_state_result$schema = () => (_deepseek_ai_dsh_api_session_controller_session_state_result$schema$value ??= z.object({
1545
+ 'cursor': z.number().readonly(),
1546
+ 'active': z.boolean().readonly(),
1547
+ 'running': z.boolean().readonly(),
1548
+ 'queue': z.union([z.literal(null), z.array(z.object({
1549
+ 'id': z.string().readonly(),
1550
+ 'placement': z.union([z.literal("queued"), z.literal("steering"), z.literal("context")]).readonly(),
1551
+ 'rpcId': z.string().readonly().optional(),
1552
+ 'content': z.array(z.json()).readonly(),
1553
+ }))]).readonly(),
1554
+ 'pendingInput': z.array(z.union([z.literal("approval"), z.literal("question"), z.literal("other")])).readonly().describe('Pending Remote requests sampled when this state was read. A pending change alone does not trigger `observeState`; `wait` refreshes on its own interval.'),
1555
+ }))
1337
1556
  let _deepseek_ai_dsh_api_session_controller_session_updateQueue_parameter_0$schema$value
1338
1557
  const _deepseek_ai_dsh_api_session_controller_session_updateQueue_parameter_0$schema = () => (_deepseek_ai_dsh_api_session_controller_session_updateQueue_parameter_0$schema$value ??= z.object({
1339
1558
  'sessionId': z.string().readonly(),
@@ -1354,6 +1573,44 @@ let _deepseek_ai_dsh_api_session_controller_session_updateQueue_result$schema$va
1354
1573
  const _deepseek_ai_dsh_api_session_controller_session_updateQueue_result$schema = () => (_deepseek_ai_dsh_api_session_controller_session_updateQueue_result$schema$value ??= z.object({
1355
1574
  'accepted': z.literal(true).readonly(),
1356
1575
  }))
1576
+ let _deepseek_ai_dsh_api_session_controller_session_wait_parameter_0$schema$value
1577
+ const _deepseek_ai_dsh_api_session_controller_session_wait_parameter_0$schema = () => (_deepseek_ai_dsh_api_session_controller_session_wait_parameter_0$schema$value ??= z.object({
1578
+ 'timeoutMs': z.number().readonly().optional(),
1579
+ 'afterSeq': z.number().readonly().optional().describe('Exclusive output cursor; omission includes all available assistant records.'),
1580
+ 'maxMessages': z.number().readonly().optional().describe('Positive assistant-record limit; omission uses the history message budget.'),
1581
+ 'sessionId': z.string().readonly(),
1582
+ }))
1583
+ let _deepseek_ai_dsh_api_session_controller_session_wait_result$schema$value
1584
+ const _deepseek_ai_dsh_api_session_controller_session_wait_result$schema = () => (_deepseek_ai_dsh_api_session_controller_session_wait_result$schema$value ??= z.object({
1585
+ 'reason': z.union([z.literal("idle"), z.literal("input-required"), z.literal("timeout")]).readonly(),
1586
+ 'state': z.object({
1587
+ 'cursor': z.number().readonly(),
1588
+ 'active': z.boolean().readonly(),
1589
+ 'running': z.boolean().readonly(),
1590
+ 'queue': z.union([z.literal(null), z.array(z.object({
1591
+ 'id': z.string().readonly(),
1592
+ 'placement': z.union([z.literal("queued"), z.literal("steering"), z.literal("context")]).readonly(),
1593
+ 'rpcId': z.string().readonly().optional(),
1594
+ 'content': z.array(z.json()).readonly(),
1595
+ }))]).readonly(),
1596
+ 'pendingInput': z.array(z.union([z.literal("approval"), z.literal("question"), z.literal("other")])).readonly().describe('Pending Remote requests sampled when this state was read. A pending change alone does not trigger `observeState`; `wait` refreshes on its own interval.'),
1597
+ }).readonly(),
1598
+ 'output': z.object({
1599
+ 'records': z.array(z.object({
1600
+ 'type': z.literal("event").readonly(),
1601
+ 'event': z.object({
1602
+ 'type': z.string().readonly(),
1603
+ 'seq': z.number().readonly(),
1604
+ 'time': z.number().readonly(),
1605
+ 'data': z.json().readonly(),
1606
+ 'ignorable': z.literal(true).readonly().optional(),
1607
+ 'sourceEventSeqs': z.json().readonly().optional().describe('Earlier sources on current surface events; opaque JSON on unknown ignorable events.'),
1608
+ 'surfaceOp': z.json().readonly().optional().describe('Canonical placement on current surface events; opaque JSON on unknown ignorable events.'),
1609
+ }).readonly(),
1610
+ })).readonly(),
1611
+ 'truncated': z.boolean().readonly().describe('More eligible assistant messages exist in the selected interval.'),
1612
+ }).readonly(),
1613
+ }))
1357
1614
  let _deepseek_ai_dsh_api_session_controller_session_workspacePathApplications_parameter_0$schema$value
1358
1615
  const _deepseek_ai_dsh_api_session_controller_session_workspacePathApplications_parameter_0$schema = () => (_deepseek_ai_dsh_api_session_controller_session_workspacePathApplications_parameter_0$schema$value ??= z.object({
1359
1616
  'path': z.string().readonly(),
@@ -1385,8 +1642,19 @@ let _deepseek_ai_dsh_api_session_controller_fileReferences_list_parameter_1_stri
1385
1642
  const _deepseek_ai_dsh_api_session_controller_fileReferences_list_parameter_1_strict$schema = () => (_deepseek_ai_dsh_api_session_controller_fileReferences_list_parameter_1_strict$schema$value ??= z.string())
1386
1643
  let _deepseek_ai_dsh_api_session_controller_session_attachment_parameter_0_strict$schema$value
1387
1644
  const _deepseek_ai_dsh_api_session_controller_session_attachment_parameter_0_strict$schema = () => (_deepseek_ai_dsh_api_session_controller_session_attachment_parameter_0_strict$schema$value ??= z.strictObject({
1388
- 'sessionId': z.string().readonly(),
1389
- 'attachmentId': z.string().readonly(),
1645
+ 'sessionId': z.string().readonly().describe('Gateway permission scope only; neither Session existence nor its image references are checked.'),
1646
+ 'attachment': z.strictObject({
1647
+ 'attachmentId': z.string().describe('Opaque storage identifier; never a filesystem path or bearer URL.'),
1648
+ 'mediaType': z.union([z.literal("image/png"), z.literal("image/jpeg"), z.literal("image/webp"), z.literal("image/gif")]).describe('Media type verified from the stored bytes.'),
1649
+ 'bytes': z.number().describe('Exact encoded byte length.'),
1650
+ 'width': z.number().describe('Intrinsic encoded width in pixels.'),
1651
+ 'height': z.number().describe('Intrinsic encoded height in pixels.'),
1652
+ 'name': z.string().optional().describe('Optional display name stripped of local path information.'),
1653
+ 'originalDimensions': z.strictObject({
1654
+ 'width': z.number(),
1655
+ 'height': z.number(),
1656
+ }).optional().describe('Input dimensions after applying EXIF orientation and before normalization scaling. Present only when normalization reduced the image.'),
1657
+ }).readonly(),
1390
1658
  }))
1391
1659
  let _deepseek_ai_dsh_api_session_controller_session_cancel_parameter_0_strict$schema$value
1392
1660
  const _deepseek_ai_dsh_api_session_controller_session_cancel_parameter_0_strict$schema = () => (_deepseek_ai_dsh_api_session_controller_session_cancel_parameter_0_strict$schema$value ??= z.strictObject({
@@ -1399,6 +1667,25 @@ const _deepseek_ai_dsh_api_session_controller_session_create_parameter_0_strict$
1399
1667
  'sessionId': z.string().readonly().optional().describe('Blank Session to reuse while it is reusable, or the identity of a new Session when none is stored under it.'),
1400
1668
  'agentPreset': z.string().readonly().optional().describe('Preset the Session runs, replacing a reused Session\'s recorded preset; the configured default when omitted.'),
1401
1669
  }))
1670
+ let _deepseek_ai_dsh_api_session_controller_session_events_parameter_0_strict$schema$value
1671
+ const _deepseek_ai_dsh_api_session_controller_session_events_parameter_0_strict$schema = () => (_deepseek_ai_dsh_api_session_controller_session_events_parameter_0_strict$schema$value ??= z.strictObject({
1672
+ 'address': z.union([z.strictObject({
1673
+ 'kind': z.literal("session").readonly(),
1674
+ 'sessionId': z.string().readonly(),
1675
+ }), z.strictObject({
1676
+ 'kind': z.literal("subagent").readonly(),
1677
+ 'parentSessionId': z.string().readonly(),
1678
+ 'childSessionId': z.string().readonly(),
1679
+ 'mode': z.union([z.literal("one-shot"), z.literal("continuable"), z.literal("unknown")]).readonly(),
1680
+ })]).readonly(),
1681
+ 'throughSeq': z.number().readonly().optional().describe('Inclusive log cut; omission selects the observed log end. A follow opening reports the cut it covered so a caller can pin the same point.'),
1682
+ 'beforeSeq': z.number().readonly().optional(),
1683
+ 'maxMessages': z.number().readonly().optional(),
1684
+ 'turnWindow': z.strictObject({
1685
+ 'minMessages': z.number().readonly().describe('Minimum append-origin user/assistant messages; must not exceed maxMessages.'),
1686
+ 'minTurns': z.number().readonly().describe('Minimum Turn starts crossed, including the partial Turn at beforeSeq.'),
1687
+ }).readonly().optional().describe('Stop at a Turn start after both minima, unless maxMessages or history exhaustion wins.'),
1688
+ }))
1402
1689
  let _deepseek_ai_dsh_api_session_controller_session_follow_parameter_0_strict$schema$value
1403
1690
  const _deepseek_ai_dsh_api_session_controller_session_follow_parameter_0_strict$schema = () => (_deepseek_ai_dsh_api_session_controller_session_follow_parameter_0_strict$schema$value ??= z.strictObject({
1404
1691
  'address': z.union([z.strictObject({
@@ -1410,6 +1697,7 @@ const _deepseek_ai_dsh_api_session_controller_session_follow_parameter_0_strict$
1410
1697
  'childSessionId': z.string().readonly(),
1411
1698
  'mode': z.union([z.literal("one-shot"), z.literal("continuable"), z.literal("unknown")]).readonly(),
1412
1699
  })]).readonly(),
1700
+ 'activate': z.boolean().readonly().optional().describe('Request background activation; omission leaves the read passive.'),
1413
1701
  'assistantStream': z.literal(true).readonly().optional().describe('Include process-local assistant presentation frames for the Web client.'),
1414
1702
  'maxMessages': z.number().readonly().optional(),
1415
1703
  'turnWindow': z.strictObject({
@@ -1427,6 +1715,26 @@ let _deepseek_ai_dsh_api_session_controller_session_list_parameter_0_strict$sche
1427
1715
  const _deepseek_ai_dsh_api_session_controller_session_list_parameter_0_strict$schema = () => (_deepseek_ai_dsh_api_session_controller_session_list_parameter_0_strict$schema$value ??= z.strictObject({
1428
1716
  'cursor': z.string().readonly().optional(),
1429
1717
  }))
1718
+ let _deepseek_ai_dsh_api_session_controller_session_observeEvent_parameter_0_strict$schema$value
1719
+ const _deepseek_ai_dsh_api_session_controller_session_observeEvent_parameter_0_strict$schema = () => (_deepseek_ai_dsh_api_session_controller_session_observeEvent_parameter_0_strict$schema$value ??= z.strictObject({
1720
+ 'address': z.union([z.strictObject({
1721
+ 'kind': z.literal("session").readonly(),
1722
+ 'sessionId': z.string().readonly(),
1723
+ }), z.strictObject({
1724
+ 'kind': z.literal("subagent").readonly(),
1725
+ 'parentSessionId': z.string().readonly(),
1726
+ 'childSessionId': z.string().readonly(),
1727
+ 'mode': z.union([z.literal("one-shot"), z.literal("continuable"), z.literal("unknown")]).readonly(),
1728
+ })]).readonly(),
1729
+ }))
1730
+ let _deepseek_ai_dsh_api_session_controller_session_observeProjections_parameter_0_strict$schema$value
1731
+ const _deepseek_ai_dsh_api_session_controller_session_observeProjections_parameter_0_strict$schema = () => (_deepseek_ai_dsh_api_session_controller_session_observeProjections_parameter_0_strict$schema$value ??= z.strictObject({
1732
+ 'sessionId': z.string().readonly(),
1733
+ }))
1734
+ let _deepseek_ai_dsh_api_session_controller_session_observeState_parameter_0_strict$schema$value
1735
+ const _deepseek_ai_dsh_api_session_controller_session_observeState_parameter_0_strict$schema = () => (_deepseek_ai_dsh_api_session_controller_session_observeState_parameter_0_strict$schema$value ??= z.strictObject({
1736
+ 'sessionId': z.string().readonly(),
1737
+ }))
1430
1738
  let _deepseek_ai_dsh_api_session_controller_session_openWorkspacePath_parameter_0_strict$schema$value
1431
1739
  const _deepseek_ai_dsh_api_session_controller_session_openWorkspacePath_parameter_0_strict$schema = () => (_deepseek_ai_dsh_api_session_controller_session_openWorkspacePath_parameter_0_strict$schema$value ??= z.strictObject({
1432
1740
  'action': z.literal("reveal").readonly().optional().describe('File-manager navigation when requested; omission uses the default application.'),
@@ -1444,7 +1752,7 @@ const _deepseek_ai_dsh_api_session_controller_session_page_parameter_0_strict$sc
1444
1752
  'childSessionId': z.string().readonly(),
1445
1753
  'mode': z.union([z.literal("one-shot"), z.literal("continuable"), z.literal("unknown")]).readonly(),
1446
1754
  })]).readonly(),
1447
- 'throughSeq': z.number().readonly().describe('Inclusive log cut obtained from the corresponding follow opening frame.'),
1755
+ 'throughSeq': z.number().readonly().optional().describe('Inclusive log cut; omission selects the observed log end. A follow opening reports the cut it covered so a caller can pin the same point.'),
1448
1756
  'beforeSeq': z.number().readonly().optional(),
1449
1757
  'maxMessages': z.number().readonly().optional(),
1450
1758
  'turnWindow': z.strictObject({
@@ -1491,6 +1799,10 @@ const _deepseek_ai_dsh_api_session_controller_session_selectModel_parameter_0_st
1491
1799
  'model': z.string().readonly(),
1492
1800
  'reasoningEffort': z.string().readonly().optional(),
1493
1801
  }))
1802
+ let _deepseek_ai_dsh_api_session_controller_session_state_parameter_0_strict$schema$value
1803
+ const _deepseek_ai_dsh_api_session_controller_session_state_parameter_0_strict$schema = () => (_deepseek_ai_dsh_api_session_controller_session_state_parameter_0_strict$schema$value ??= z.strictObject({
1804
+ 'sessionId': z.string().readonly(),
1805
+ }))
1494
1806
  let _deepseek_ai_dsh_api_session_controller_session_updateQueue_parameter_0_strict$schema$value
1495
1807
  const _deepseek_ai_dsh_api_session_controller_session_updateQueue_parameter_0_strict$schema = () => (_deepseek_ai_dsh_api_session_controller_session_updateQueue_parameter_0_strict$schema$value ??= z.strictObject({
1496
1808
  'sessionId': z.string().readonly(),
@@ -1507,6 +1819,13 @@ const _deepseek_ai_dsh_api_session_controller_session_updateQueue_parameter_0_st
1507
1819
  'kind': z.literal("steer").readonly(),
1508
1820
  })]).readonly(),
1509
1821
  }))
1822
+ let _deepseek_ai_dsh_api_session_controller_session_wait_parameter_0_strict$schema$value
1823
+ const _deepseek_ai_dsh_api_session_controller_session_wait_parameter_0_strict$schema = () => (_deepseek_ai_dsh_api_session_controller_session_wait_parameter_0_strict$schema$value ??= z.strictObject({
1824
+ 'timeoutMs': z.number().readonly().optional(),
1825
+ 'afterSeq': z.number().readonly().optional().describe('Exclusive output cursor; omission includes all available assistant records.'),
1826
+ 'maxMessages': z.number().readonly().optional().describe('Positive assistant-record limit; omission uses the history message budget.'),
1827
+ 'sessionId': z.string().readonly(),
1828
+ }))
1510
1829
  let _deepseek_ai_dsh_api_session_controller_session_workspacePathApplications_parameter_0_strict$schema$value
1511
1830
  const _deepseek_ai_dsh_api_session_controller_session_workspacePathApplications_parameter_0_strict$schema = () => (_deepseek_ai_dsh_api_session_controller_session_workspacePathApplications_parameter_0_strict$schema$value ??= z.strictObject({
1512
1831
  'path': z.string().readonly(),
@@ -1577,24 +1896,24 @@ const $remote = createTypertRemoteInfo({
1577
1896
  },
1578
1897
  'session/attachment': {
1579
1898
  service: 'sessionController',
1580
- description: 'Read one image proven reachable from the addressed Session log.',
1899
+ description: 'Read one image from the attachment store after gateway authorization.',
1581
1900
  invocation: { kind: 'direct' },
1582
1901
  parameters: [
1583
1902
  {
1584
1903
  name: 'request',
1585
- description: 'Session and attachment identities used for authorization.',
1904
+ description: 'image reference and gateway permission scope; Session existence is not checked.',
1586
1905
  source: 'json',
1587
1906
  codec: {
1588
1907
  mode: 'strict',
1589
1908
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionAttachmentRequest',
1590
1909
  create: _deepseek_ai_dsh_api_session_controller_session_attachment_parameter_0$schema,
1591
- jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"attachmentId":{"type":"string"}},"required":["sessionId","attachmentId"],"additionalProperties":true},
1910
+ jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","description":"Gateway permission scope only; neither Session existence nor its image references are checked."},"attachment":{"type":"object","properties":{"attachmentId":{"type":"string","description":"Opaque storage identifier; never a filesystem path or bearer URL."},"mediaType":{"type":"string","enum":["image/png","image/jpeg","image/webp","image/gif"],"description":"Media type verified from the stored bytes."},"bytes":{"type":"number","description":"Exact encoded byte length."},"width":{"type":"number","description":"Intrinsic encoded width in pixels."},"height":{"type":"number","description":"Intrinsic encoded height in pixels."},"name":{"type":"string","description":"Optional display name stripped of local path information."},"originalDimensions":{"type":"object","properties":{"width":{"type":"number"},"height":{"type":"number"}},"required":["width","height"],"additionalProperties":true,"description":"Input dimensions after applying EXIF orientation and before normalization scaling. Present only when normalization reduced the image."}},"required":["attachmentId","mediaType","bytes","width","height"],"additionalProperties":true}},"required":["sessionId","attachment"],"additionalProperties":true},
1592
1911
  },
1593
1912
  strictCodec: {
1594
1913
  mode: 'strict',
1595
1914
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionAttachmentRequest',
1596
1915
  create: _deepseek_ai_dsh_api_session_controller_session_attachment_parameter_0_strict$schema,
1597
- jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"},"attachmentId":{"type":"string"}},"required":["sessionId","attachmentId"],"additionalProperties":false},
1916
+ jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","description":"Gateway permission scope only; neither Session existence nor its image references are checked."},"attachment":{"type":"object","properties":{"attachmentId":{"type":"string","description":"Opaque storage identifier; never a filesystem path or bearer URL."},"mediaType":{"type":"string","enum":["image/png","image/jpeg","image/webp","image/gif"],"description":"Media type verified from the stored bytes."},"bytes":{"type":"number","description":"Exact encoded byte length."},"width":{"type":"number","description":"Intrinsic encoded width in pixels."},"height":{"type":"number","description":"Intrinsic encoded height in pixels."},"name":{"type":"string","description":"Optional display name stripped of local path information."},"originalDimensions":{"type":"object","properties":{"width":{"type":"number"},"height":{"type":"number"}},"required":["width","height"],"additionalProperties":false,"description":"Input dimensions after applying EXIF orientation and before normalization scaling. Present only when normalization reduced the image."}},"required":["attachmentId","mediaType","bytes","width","height"],"additionalProperties":false}},"required":["sessionId","attachment"],"additionalProperties":false},
1598
1917
  },
1599
1918
  },
1600
1919
  ],
@@ -1603,9 +1922,9 @@ const $remote = createTypertRemoteInfo({
1603
1922
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionAttachmentValue',
1604
1923
  create: _deepseek_ai_dsh_api_session_controller_session_attachment_result$schema,
1605
1924
  description: 'the durable attachment reference and base64-encoded bytes.',
1606
- jsonSchema: {"type":"object","properties":{"attachment":{"type":"object","properties":{"attachmentId":{"type":"string","description":"Opaque storage identifier; never a filesystem path or bearer URL."},"mediaType":{"type":"string","enum":["image/png","image/jpeg","image/webp","image/gif"],"description":"Media type verified from the stored bytes."},"bytes":{"type":"number","description":"Exact encoded byte length."},"width":{"type":"number","description":"Intrinsic encoded width in pixels."},"height":{"type":"number","description":"Intrinsic encoded height in pixels."},"name":{"type":"string","description":"Optional display name stripped of local path information."},"originalDimensions":{"type":"object","properties":{"width":{"type":"number"},"height":{"type":"number"}},"required":["width","height"],"additionalProperties":true,"description":"Input dimensions after applying EXIF orientation and before normalization scaling. Present only when normalization reduced the image."}},"required":["attachmentId","mediaType","bytes","width","height"],"additionalProperties":true},"data":{"type":"string"}},"required":["attachment","data"],"additionalProperties":true},
1925
+ jsonSchema: {"type":"object","properties":{"attachment":{"type":"object","properties":{"attachmentId":{"type":"string","description":"Opaque storage identifier; never a filesystem path or bearer URL."},"mediaType":{"type":"string","enum":["image/png","image/jpeg","image/webp","image/gif"],"description":"Media type verified from the stored bytes."},"bytes":{"type":"number","description":"Exact encoded byte length."},"width":{"type":"number","description":"Intrinsic encoded width in pixels."},"height":{"type":"number","description":"Intrinsic encoded height in pixels."},"name":{"type":"string","description":"Optional display name stripped of local path information."},"originalDimensions":{"type":"object","properties":{"width":{"type":"number"},"height":{"type":"number"}},"required":["width","height"],"additionalProperties":true,"description":"Input dimensions after applying EXIF orientation and before normalization scaling. Present only when normalization reduced the image."}},"required":["attachmentId","mediaType","bytes","width","height"],"additionalProperties":true,"description":"Supplied reference after ID, format, byte length, and dimensions verification; display fields are preserved."},"data":{"type":"string"}},"required":["attachment","data"],"additionalProperties":true},
1607
1926
  },
1608
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":484,"column":3},
1927
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":497,"column":3},
1609
1928
  },
1610
1929
  'session/cancel': {
1611
1930
  service: 'sessionController',
@@ -1637,7 +1956,7 @@ const $remote = createTypertRemoteInfo({
1637
1956
  description: 'acknowledgement that cancellation was requested.',
1638
1957
  jsonSchema: {"type":"object","properties":{"accepted":{"type":"boolean","const":true}},"required":["accepted"],"additionalProperties":true},
1639
1958
  },
1640
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":504,"column":3},
1959
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":517,"column":3},
1641
1960
  },
1642
1961
  'session/canOpenWorkspacePath': {
1643
1962
  service: 'sessionController',
@@ -1652,7 +1971,7 @@ const $remote = createTypertRemoteInfo({
1652
1971
  description: 'true when the matching open operation is available.',
1653
1972
  jsonSchema: {"type":"boolean"},
1654
1973
  },
1655
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":337,"column":3},
1974
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":350,"column":3},
1656
1975
  },
1657
1976
  'session/control': {
1658
1977
  service: 'sessionController',
@@ -1669,7 +1988,7 @@ const $remote = createTypertRemoteInfo({
1669
1988
  description: 'one complete baseline followed by live replacement frames.',
1670
1989
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
1671
1990
  },
1672
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":589,"column":10},
1991
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":628,"column":10},
1673
1992
  },
1674
1993
  'session/create': {
1675
1994
  service: 'sessionController',
@@ -1701,7 +2020,40 @@ const $remote = createTypertRemoteInfo({
1701
2020
  description: 'the created or reused Session identity and its preset when configured.',
1702
2021
  jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string","description":"The created or reused Session, which may differ from the requested `sessionId`."},"agentPreset":{"type":"string","description":"Preset the Session runs, when the deployment composes a preset roster."}},"required":["sessionId"],"additionalProperties":true},
1703
2022
  },
1704
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":291,"column":3},
2023
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":304,"column":3},
2024
+ },
2025
+ 'session/events': {
2026
+ service: 'sessionController',
2027
+ description: 'Read one cold-safe, message-aligned Session history page.',
2028
+ invocation: { kind: 'direct' },
2029
+ parameters: [
2030
+ {
2031
+ name: 'request',
2032
+ description: 'durable address, optional fixed cut, backward cursor, and page budget.',
2033
+ source: 'json',
2034
+ codec: {
2035
+ mode: 'strict',
2036
+ typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionPageRequest',
2037
+ create: _deepseek_ai_dsh_api_session_controller_session_events_parameter_0$schema,
2038
+ jsonSchema: {"type":"object","properties":{"address":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"session"},"sessionId":{"type":"string"}},"required":["kind","sessionId"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"subagent"},"parentSessionId":{"type":"string"},"childSessionId":{"type":"string"},"mode":{"type":"string","enum":["one-shot","continuable","unknown"]}},"required":["kind","parentSessionId","childSessionId","mode"],"additionalProperties":true}]},"throughSeq":{"type":"number","description":"Inclusive log cut; omission selects the observed log end. A follow opening reports the cut it covered so a caller can pin the same point."},"beforeSeq":{"type":"number"},"maxMessages":{"type":"number"},"turnWindow":{"type":"object","properties":{"minMessages":{"type":"number","description":"Minimum append-origin user/assistant messages; must not exceed maxMessages."},"minTurns":{"type":"number","description":"Minimum Turn starts crossed, including the partial Turn at beforeSeq."}},"required":["minMessages","minTurns"],"additionalProperties":true,"description":"Stop at a Turn start after both minima, unless maxMessages or history exhaustion wins."}},"required":["address"],"additionalProperties":true},
2039
+ },
2040
+ strictCodec: {
2041
+ mode: 'strict',
2042
+ typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionPageRequest',
2043
+ create: _deepseek_ai_dsh_api_session_controller_session_events_parameter_0_strict$schema,
2044
+ jsonSchema: {"type":"object","properties":{"address":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"session"},"sessionId":{"type":"string"}},"required":["kind","sessionId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"subagent"},"parentSessionId":{"type":"string"},"childSessionId":{"type":"string"},"mode":{"type":"string","enum":["one-shot","continuable","unknown"]}},"required":["kind","parentSessionId","childSessionId","mode"],"additionalProperties":false}]},"throughSeq":{"type":"number","description":"Inclusive log cut; omission selects the observed log end. A follow opening reports the cut it covered so a caller can pin the same point."},"beforeSeq":{"type":"number"},"maxMessages":{"type":"number"},"turnWindow":{"type":"object","properties":{"minMessages":{"type":"number","description":"Minimum append-origin user/assistant messages; must not exceed maxMessages."},"minTurns":{"type":"number","description":"Minimum Turn starts crossed, including the partial Turn at beforeSeq."}},"required":["minMessages","minTurns"],"additionalProperties":false,"description":"Stop at a Turn start after both minima, unless maxMessages or history exhaustion wins."}},"required":["address"],"additionalProperties":false},
2045
+ },
2046
+ },
2047
+ ],
2048
+ cancellation: { parameter: 'signal' },
2049
+ result: {
2050
+ mode: 'strict',
2051
+ typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionEventsPage',
2052
+ create: _deepseek_ai_dsh_api_session_controller_session_events_result$schema,
2053
+ description: 'one chronological page with its inclusive cursor.',
2054
+ jsonSchema: {"type":"object","properties":{"cursor":{"type":"number"},"records":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"event"},"event":{"type":"object","properties":{"type":{"type":"string"},"seq":{"type":"number"},"time":{"type":"number"},"data":{},"ignorable":{"type":"boolean","const":true},"sourceEventSeqs":{"description":"Earlier sources on current surface events; opaque JSON on unknown ignorable events."},"surfaceOp":{"description":"Canonical placement on current surface events; opaque JSON on unknown ignorable events."}},"required":["type","seq","time","data"],"additionalProperties":true}},"required":["type","event"],"additionalProperties":true}},"hasMore":{"type":"boolean"}},"required":["cursor","records","hasMore"],"additionalProperties":true},
2055
+ },
2056
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":540,"column":3},
1705
2057
  },
1706
2058
  'session/follow': {
1707
2059
  service: 'sessionController',
@@ -1717,13 +2069,13 @@ const $remote = createTypertRemoteInfo({
1717
2069
  mode: 'strict',
1718
2070
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionFollowRequest',
1719
2071
  create: _deepseek_ai_dsh_api_session_controller_session_follow_parameter_0$schema,
1720
- jsonSchema: {"type":"object","properties":{"address":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"session"},"sessionId":{"type":"string"}},"required":["kind","sessionId"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"subagent"},"parentSessionId":{"type":"string"},"childSessionId":{"type":"string"},"mode":{"type":"string","enum":["one-shot","continuable","unknown"]}},"required":["kind","parentSessionId","childSessionId","mode"],"additionalProperties":true}]},"assistantStream":{"type":"boolean","const":true,"description":"Include process-local assistant presentation frames for the Web client."},"maxMessages":{"type":"number"},"turnWindow":{"type":"object","properties":{"minMessages":{"type":"number","description":"Minimum append-origin user/assistant messages; must not exceed maxMessages."},"minTurns":{"type":"number","description":"Minimum Turn starts crossed, including the partial Turn at beforeSeq."}},"required":["minMessages","minTurns"],"additionalProperties":true,"description":"Stop at a Turn start after both minima, unless maxMessages or history exhaustion wins."}},"required":["address"],"additionalProperties":true},
2072
+ jsonSchema: {"type":"object","properties":{"address":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"session"},"sessionId":{"type":"string"}},"required":["kind","sessionId"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"subagent"},"parentSessionId":{"type":"string"},"childSessionId":{"type":"string"},"mode":{"type":"string","enum":["one-shot","continuable","unknown"]}},"required":["kind","parentSessionId","childSessionId","mode"],"additionalProperties":true}]},"activate":{"type":"boolean","description":"Request background activation; omission leaves the read passive."},"assistantStream":{"type":"boolean","const":true,"description":"Include process-local assistant presentation frames for the Web client."},"maxMessages":{"type":"number"},"turnWindow":{"type":"object","properties":{"minMessages":{"type":"number","description":"Minimum append-origin user/assistant messages; must not exceed maxMessages."},"minTurns":{"type":"number","description":"Minimum Turn starts crossed, including the partial Turn at beforeSeq."}},"required":["minMessages","minTurns"],"additionalProperties":true,"description":"Stop at a Turn start after both minima, unless maxMessages or history exhaustion wins."}},"required":["address"],"additionalProperties":true},
1721
2073
  },
1722
2074
  strictCodec: {
1723
2075
  mode: 'strict',
1724
2076
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionFollowRequest',
1725
2077
  create: _deepseek_ai_dsh_api_session_controller_session_follow_parameter_0_strict$schema,
1726
- jsonSchema: {"type":"object","properties":{"address":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"session"},"sessionId":{"type":"string"}},"required":["kind","sessionId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"subagent"},"parentSessionId":{"type":"string"},"childSessionId":{"type":"string"},"mode":{"type":"string","enum":["one-shot","continuable","unknown"]}},"required":["kind","parentSessionId","childSessionId","mode"],"additionalProperties":false}]},"assistantStream":{"type":"boolean","const":true,"description":"Include process-local assistant presentation frames for the Web client."},"maxMessages":{"type":"number"},"turnWindow":{"type":"object","properties":{"minMessages":{"type":"number","description":"Minimum append-origin user/assistant messages; must not exceed maxMessages."},"minTurns":{"type":"number","description":"Minimum Turn starts crossed, including the partial Turn at beforeSeq."}},"required":["minMessages","minTurns"],"additionalProperties":false,"description":"Stop at a Turn start after both minima, unless maxMessages or history exhaustion wins."}},"required":["address"],"additionalProperties":false},
2078
+ jsonSchema: {"type":"object","properties":{"address":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"session"},"sessionId":{"type":"string"}},"required":["kind","sessionId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"subagent"},"parentSessionId":{"type":"string"},"childSessionId":{"type":"string"},"mode":{"type":"string","enum":["one-shot","continuable","unknown"]}},"required":["kind","parentSessionId","childSessionId","mode"],"additionalProperties":false}]},"activate":{"type":"boolean","description":"Request background activation; omission leaves the read passive."},"assistantStream":{"type":"boolean","const":true,"description":"Include process-local assistant presentation frames for the Web client."},"maxMessages":{"type":"number"},"turnWindow":{"type":"object","properties":{"minMessages":{"type":"number","description":"Minimum append-origin user/assistant messages; must not exceed maxMessages."},"minTurns":{"type":"number","description":"Minimum Turn starts crossed, including the partial Turn at beforeSeq."}},"required":["minMessages","minTurns"],"additionalProperties":false,"description":"Stop at a Turn start after both minima, unless maxMessages or history exhaustion wins."}},"required":["address"],"additionalProperties":false},
1727
2079
  },
1728
2080
  },
1729
2081
  ],
@@ -1735,7 +2087,7 @@ const $remote = createTypertRemoteInfo({
1735
2087
  description: 'a complete opening snapshot followed by gap-free durable event frames and optional cursorless assistant-stream frames.',
1736
2088
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
1737
2089
  },
1738
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":527,"column":3},
2090
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":607,"column":3},
1739
2091
  },
1740
2092
  'session/fork': {
1741
2093
  service: 'sessionController',
@@ -1767,7 +2119,7 @@ const $remote = createTypertRemoteInfo({
1767
2119
  description: 'the new Session identity.',
1768
2120
  jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"}},"required":["sessionId"],"additionalProperties":true},
1769
2121
  },
1770
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":433,"column":9},
2122
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":446,"column":9},
1771
2123
  },
1772
2124
  'session/initializeDefaultModel': {
1773
2125
  service: 'sessionController',
@@ -1782,7 +2134,7 @@ const $remote = createTypertRemoteInfo({
1782
2134
  description: 'after saving the first available model or retaining the existing default.',
1783
2135
  jsonSchemaError: 'typert tool schema: unsupported void value',
1784
2136
  },
1785
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":310,"column":9},
2137
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":323,"column":9},
1786
2138
  },
1787
2139
  'session/list': {
1788
2140
  service: 'sessionController',
@@ -1815,7 +2167,7 @@ const $remote = createTypertRemoteInfo({
1815
2167
  description: 'visible Session summaries ordered by activity.',
1816
2168
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
1817
2169
  },
1818
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":266,"column":9},
2170
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":279,"column":9},
1819
2171
  },
1820
2172
  'session/modelCatalog': {
1821
2173
  service: 'sessionController',
@@ -1828,9 +2180,111 @@ const $remote = createTypertRemoteInfo({
1828
2180
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#ModelCatalog',
1829
2181
  create: _deepseek_ai_dsh_api_session_controller_session_modelCatalog_result$schema,
1830
2182
  description: 'provider-grouped models, the deployment default, and isolated provider failures.',
1831
- jsonSchema: {"type":"object","properties":{"default":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true},"routableProviders":{"type":"array","items":{"type":"string"},"description":"Provider routes with at least one currently available catalog model."},"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"models":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"reasoning":{"type":"object","properties":{"efforts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"required":["id","name"],"additionalProperties":true}},"defaultEffort":{"type":"string"}},"required":["efforts"],"additionalProperties":true}},"required":["id","name"],"additionalProperties":true}}},"required":["id","name","models"],"additionalProperties":true}},"failures":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"message":{"type":"string"}},"required":["id","name","message"],"additionalProperties":true}}},"required":["default","routableProviders","groups","failures"],"additionalProperties":true},
2183
+ jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
2184
+ },
2185
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":341,"column":3},
2186
+ },
2187
+ 'session/observeEvent': {
2188
+ service: 'sessionController',
2189
+ description: 'Subscribe to Session events without reading a snapshot.',
2190
+ mode: 'stream',
2191
+ invocation: { kind: 'direct' },
2192
+ parameters: [
2193
+ {
2194
+ name: 'request',
2195
+ description: 'Session address.',
2196
+ source: 'json',
2197
+ codec: {
2198
+ mode: 'strict',
2199
+ typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionObserveEventRequest',
2200
+ create: _deepseek_ai_dsh_api_session_controller_session_observeEvent_parameter_0$schema,
2201
+ jsonSchema: {"type":"object","properties":{"address":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"session"},"sessionId":{"type":"string"}},"required":["kind","sessionId"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"subagent"},"parentSessionId":{"type":"string"},"childSessionId":{"type":"string"},"mode":{"type":"string","enum":["one-shot","continuable","unknown"]}},"required":["kind","parentSessionId","childSessionId","mode"],"additionalProperties":true}]}},"required":["address"],"additionalProperties":true},
2202
+ },
2203
+ strictCodec: {
2204
+ mode: 'strict',
2205
+ typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionObserveEventRequest',
2206
+ create: _deepseek_ai_dsh_api_session_controller_session_observeEvent_parameter_0_strict$schema,
2207
+ jsonSchema: {"type":"object","properties":{"address":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"session"},"sessionId":{"type":"string"}},"required":["kind","sessionId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"subagent"},"parentSessionId":{"type":"string"},"childSessionId":{"type":"string"},"mode":{"type":"string","enum":["one-shot","continuable","unknown"]}},"required":["kind","parentSessionId","childSessionId","mode"],"additionalProperties":false}]}},"required":["address"],"additionalProperties":false},
2208
+ },
2209
+ },
2210
+ ],
2211
+ cancellation: { parameter: 'signal' },
2212
+ result: {
2213
+ mode: 'strict',
2214
+ typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionEventFrame',
2215
+ create: _deepseek_ai_dsh_api_session_controller_session_observeEvent_result$schema,
2216
+ description: 'readiness and subsequent events, without a snapshot.',
2217
+ jsonSchema: {"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"event"},"event":{"type":"object","properties":{"type":{"type":"string"},"seq":{"type":"number"},"time":{"type":"number"},"data":{},"ignorable":{"type":"boolean","const":true},"sourceEventSeqs":{"description":"Earlier sources on current surface events; opaque JSON on unknown ignorable events."},"surfaceOp":{"description":"Canonical placement on current surface events; opaque JSON on unknown ignorable events."}},"required":["type","seq","time","data"],"additionalProperties":true}},"required":["type","event"],"additionalProperties":true},{"type":"object","properties":{"type":{"type":"string","const":"ready"}},"required":["type"],"additionalProperties":true}]},
1832
2218
  },
1833
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":328,"column":3},
2219
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":551,"column":3},
2220
+ },
2221
+ 'session/observeProjections': {
2222
+ service: 'sessionController',
2223
+ description: 'Subscribe to sparse Session projection changes.',
2224
+ mode: 'stream',
2225
+ invocation: { kind: 'direct' },
2226
+ parameters: [
2227
+ {
2228
+ name: 'request',
2229
+ description: 'target Session.',
2230
+ source: 'json',
2231
+ codec: {
2232
+ mode: 'strict',
2233
+ typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionProjectionsRequest',
2234
+ create: _deepseek_ai_dsh_api_session_controller_session_observeProjections_parameter_0$schema,
2235
+ jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"}},"required":["sessionId"],"additionalProperties":true},
2236
+ },
2237
+ strictCodec: {
2238
+ mode: 'strict',
2239
+ typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionProjectionsRequest',
2240
+ create: _deepseek_ai_dsh_api_session_controller_session_observeProjections_parameter_0_strict$schema,
2241
+ jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"}},"required":["sessionId"],"additionalProperties":false},
2242
+ },
2243
+ },
2244
+ ],
2245
+ cancellation: { parameter: 'signal' },
2246
+ result: {
2247
+ mode: 'strict',
2248
+ typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionProjectionFrame',
2249
+ create: _deepseek_ai_dsh_api_session_controller_session_observeProjections_result$schema,
2250
+ description: 'readiness and sparse projection changes.',
2251
+ jsonSchema: {"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"ready"}},"required":["type"],"additionalProperties":true},{"type":"object","properties":{"type":{"type":"string","const":"projection"},"key":{"type":"string"},"value":{},"seq":{"type":"number"}},"required":["type","key","value","seq"],"additionalProperties":true}]},
2252
+ },
2253
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":562,"column":3},
2254
+ },
2255
+ 'session/observeState': {
2256
+ service: 'sessionController',
2257
+ description: 'Subscribe to complete Session state replacements.',
2258
+ mode: 'stream',
2259
+ invocation: { kind: 'direct' },
2260
+ parameters: [
2261
+ {
2262
+ name: 'request',
2263
+ description: 'target Session.',
2264
+ source: 'json',
2265
+ codec: {
2266
+ mode: 'strict',
2267
+ typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionStateRequest',
2268
+ create: _deepseek_ai_dsh_api_session_controller_session_observeState_parameter_0$schema,
2269
+ jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"}},"required":["sessionId"],"additionalProperties":true},
2270
+ },
2271
+ strictCodec: {
2272
+ mode: 'strict',
2273
+ typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionStateRequest',
2274
+ create: _deepseek_ai_dsh_api_session_controller_session_observeState_parameter_0_strict$schema,
2275
+ jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"}},"required":["sessionId"],"additionalProperties":false},
2276
+ },
2277
+ },
2278
+ ],
2279
+ cancellation: { parameter: 'signal' },
2280
+ result: {
2281
+ mode: 'strict',
2282
+ typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionState',
2283
+ create: _deepseek_ai_dsh_api_session_controller_session_observeState_result$schema,
2284
+ description: 'complete passive state replacements.',
2285
+ jsonSchema: {"type":"object","properties":{"cursor":{"type":"number"},"active":{"type":"boolean"},"running":{"type":"boolean"},"queue":{"oneOf":[{"type":"null","const":null},{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"placement":{"type":"string","enum":["queued","steering","context"]},"rpcId":{"type":"string"},"content":{"type":"array","items":{}}},"required":["id","placement","content"],"additionalProperties":true}}]},"pendingInput":{"type":"array","items":{"type":"string","enum":["approval","question","other"]},"description":"Pending Remote requests sampled when this state was read. A pending change alone does not trigger `observeState`; `wait` refreshes on its own interval."}},"required":["cursor","active","running","queue","pendingInput"],"additionalProperties":true},
2286
+ },
2287
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":584,"column":3},
1834
2288
  },
1835
2289
  'session/openWorkspacePath': {
1836
2290
  service: 'sessionController',
@@ -1863,7 +2317,7 @@ const $remote = createTypertRemoteInfo({
1863
2317
  description: 'confirmation after the native opener accepts the path.',
1864
2318
  jsonSchema: {"type":"object","properties":{"opened":{"type":"boolean","const":true}},"required":["opened"],"additionalProperties":true},
1865
2319
  },
1866
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":358,"column":9},
2320
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":371,"column":9},
1867
2321
  },
1868
2322
  'session/page': {
1869
2323
  service: 'sessionController',
@@ -1872,31 +2326,31 @@ const $remote = createTypertRemoteInfo({
1872
2326
  parameters: [
1873
2327
  {
1874
2328
  name: 'request',
1875
- description: 'durable address, backward cursor, and page budget.',
2329
+ description: 'durable address, optional fixed cut, backward cursor, and page budget.',
1876
2330
  source: 'json',
1877
2331
  codec: {
1878
2332
  mode: 'strict',
1879
2333
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionPageRequest',
1880
2334
  create: _deepseek_ai_dsh_api_session_controller_session_page_parameter_0$schema,
1881
- jsonSchema: {"type":"object","properties":{"address":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"session"},"sessionId":{"type":"string"}},"required":["kind","sessionId"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"subagent"},"parentSessionId":{"type":"string"},"childSessionId":{"type":"string"},"mode":{"type":"string","enum":["one-shot","continuable","unknown"]}},"required":["kind","parentSessionId","childSessionId","mode"],"additionalProperties":true}]},"throughSeq":{"type":"number","description":"Inclusive log cut obtained from the corresponding follow opening frame."},"beforeSeq":{"type":"number"},"maxMessages":{"type":"number"},"turnWindow":{"type":"object","properties":{"minMessages":{"type":"number","description":"Minimum append-origin user/assistant messages; must not exceed maxMessages."},"minTurns":{"type":"number","description":"Minimum Turn starts crossed, including the partial Turn at beforeSeq."}},"required":["minMessages","minTurns"],"additionalProperties":true,"description":"Stop at a Turn start after both minima, unless maxMessages or history exhaustion wins."}},"required":["address","throughSeq"],"additionalProperties":true},
2335
+ jsonSchema: {"type":"object","properties":{"address":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"session"},"sessionId":{"type":"string"}},"required":["kind","sessionId"],"additionalProperties":true},{"type":"object","properties":{"kind":{"type":"string","const":"subagent"},"parentSessionId":{"type":"string"},"childSessionId":{"type":"string"},"mode":{"type":"string","enum":["one-shot","continuable","unknown"]}},"required":["kind","parentSessionId","childSessionId","mode"],"additionalProperties":true}]},"throughSeq":{"type":"number","description":"Inclusive log cut; omission selects the observed log end. A follow opening reports the cut it covered so a caller can pin the same point."},"beforeSeq":{"type":"number"},"maxMessages":{"type":"number"},"turnWindow":{"type":"object","properties":{"minMessages":{"type":"number","description":"Minimum append-origin user/assistant messages; must not exceed maxMessages."},"minTurns":{"type":"number","description":"Minimum Turn starts crossed, including the partial Turn at beforeSeq."}},"required":["minMessages","minTurns"],"additionalProperties":true,"description":"Stop at a Turn start after both minima, unless maxMessages or history exhaustion wins."}},"required":["address"],"additionalProperties":true},
1882
2336
  },
1883
2337
  strictCodec: {
1884
2338
  mode: 'strict',
1885
2339
  typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionPageRequest',
1886
2340
  create: _deepseek_ai_dsh_api_session_controller_session_page_parameter_0_strict$schema,
1887
- jsonSchema: {"type":"object","properties":{"address":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"session"},"sessionId":{"type":"string"}},"required":["kind","sessionId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"subagent"},"parentSessionId":{"type":"string"},"childSessionId":{"type":"string"},"mode":{"type":"string","enum":["one-shot","continuable","unknown"]}},"required":["kind","parentSessionId","childSessionId","mode"],"additionalProperties":false}]},"throughSeq":{"type":"number","description":"Inclusive log cut obtained from the corresponding follow opening frame."},"beforeSeq":{"type":"number"},"maxMessages":{"type":"number"},"turnWindow":{"type":"object","properties":{"minMessages":{"type":"number","description":"Minimum append-origin user/assistant messages; must not exceed maxMessages."},"minTurns":{"type":"number","description":"Minimum Turn starts crossed, including the partial Turn at beforeSeq."}},"required":["minMessages","minTurns"],"additionalProperties":false,"description":"Stop at a Turn start after both minima, unless maxMessages or history exhaustion wins."}},"required":["address","throughSeq"],"additionalProperties":false},
2341
+ jsonSchema: {"type":"object","properties":{"address":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"session"},"sessionId":{"type":"string"}},"required":["kind","sessionId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"subagent"},"parentSessionId":{"type":"string"},"childSessionId":{"type":"string"},"mode":{"type":"string","enum":["one-shot","continuable","unknown"]}},"required":["kind","parentSessionId","childSessionId","mode"],"additionalProperties":false}]},"throughSeq":{"type":"number","description":"Inclusive log cut; omission selects the observed log end. A follow opening reports the cut it covered so a caller can pin the same point."},"beforeSeq":{"type":"number"},"maxMessages":{"type":"number"},"turnWindow":{"type":"object","properties":{"minMessages":{"type":"number","description":"Minimum append-origin user/assistant messages; must not exceed maxMessages."},"minTurns":{"type":"number","description":"Minimum Turn starts crossed, including the partial Turn at beforeSeq."}},"required":["minMessages","minTurns"],"additionalProperties":false,"description":"Stop at a Turn start after both minima, unless maxMessages or history exhaustion wins."}},"required":["address"],"additionalProperties":false},
1888
2342
  },
1889
2343
  },
1890
2344
  ],
1891
2345
  cancellation: { parameter: 'signal' },
1892
2346
  result: {
1893
2347
  mode: 'strict',
1894
- typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionPage',
2348
+ typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionEventsPage',
1895
2349
  create: _deepseek_ai_dsh_api_session_controller_session_page_result$schema,
1896
- description: 'one chronological page.',
1897
- jsonSchema: {"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"event"},"event":{"type":"object","properties":{"type":{"type":"string"},"seq":{"type":"number"},"time":{"type":"number"},"data":{},"ignorable":{"type":"boolean","const":true},"sourceEventSeqs":{"description":"Earlier sources on current surface events; opaque JSON on unknown ignorable events."},"surfaceOp":{"description":"Canonical placement on current surface events; opaque JSON on unknown ignorable events."}},"required":["type","seq","time","data"],"additionalProperties":true}},"required":["type","event"],"additionalProperties":true}},"hasMore":{"type":"boolean"}},"required":["records","hasMore"],"additionalProperties":true},
2350
+ description: 'one chronological page with its inclusive cursor; an omitted `throughSeq` selects the observed log end.',
2351
+ jsonSchema: {"type":"object","properties":{"cursor":{"type":"number"},"records":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"event"},"event":{"type":"object","properties":{"type":{"type":"string"},"seq":{"type":"number"},"time":{"type":"number"},"data":{},"ignorable":{"type":"boolean","const":true},"sourceEventSeqs":{"description":"Earlier sources on current surface events; opaque JSON on unknown ignorable events."},"surfaceOp":{"description":"Canonical placement on current surface events; opaque JSON on unknown ignorable events."}},"required":["type","seq","time","data"],"additionalProperties":true}},"required":["type","event"],"additionalProperties":true}},"hasMore":{"type":"boolean"}},"required":["cursor","records","hasMore"],"additionalProperties":true},
1898
2352
  },
1899
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":515,"column":3},
2353
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":529,"column":3},
1900
2354
  },
1901
2355
  'session/projections': {
1902
2356
  service: 'sessionController',
@@ -1929,7 +2383,7 @@ const $remote = createTypertRemoteInfo({
1929
2383
  description: 'a sequenced baseline, cached hints when migration is deferred, or null when absent.',
1930
2384
  jsonSchemaError: 'typert tool schema: selected dictionaries require string keys and unconstrained JSON values',
1931
2385
  },
1932
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":538,"column":9},
2386
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":618,"column":3},
1933
2387
  },
1934
2388
  'session/prompt': {
1935
2389
  service: 'sessionController',
@@ -1962,7 +2416,7 @@ const $remote = createTypertRemoteInfo({
1962
2416
  description: 'acknowledgement that the Agent accepted the prompt.',
1963
2417
  jsonSchema: {"type":"object","properties":{"accepted":{"type":"boolean","const":true}},"required":["accepted"],"additionalProperties":true},
1964
2418
  },
1965
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":452,"column":9},
2419
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":465,"column":9},
1966
2420
  },
1967
2421
  'session/rename': {
1968
2422
  service: 'sessionController',
@@ -1994,7 +2448,7 @@ const $remote = createTypertRemoteInfo({
1994
2448
  description: 'the accepted title and durable event sequence.',
1995
2449
  jsonSchema: {"type":"object","properties":{"title":{"type":"string"},"seq":{"type":"number"}},"required":["title","seq"],"additionalProperties":true},
1996
2450
  },
1997
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":421,"column":3},
2451
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":434,"column":3},
1998
2452
  },
1999
2453
  'session/search': {
2000
2454
  service: 'sessionController',
@@ -2027,7 +2481,7 @@ const $remote = createTypertRemoteInfo({
2027
2481
  description: 'authorized bounded Session search results.',
2028
2482
  jsonSchema: {"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"sessionId":{"type":"string"},"snippet":{"type":"string"}},"required":["sessionId","snippet"],"additionalProperties":true}},"hasMore":{"type":"boolean"}},"required":["items","hasMore"],"additionalProperties":true},
2029
2483
  },
2030
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":280,"column":9},
2484
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":293,"column":9},
2031
2485
  },
2032
2486
  'session/selectModel': {
2033
2487
  service: 'sessionController',
@@ -2059,7 +2513,40 @@ const $remote = createTypertRemoteInfo({
2059
2513
  description: 'the normalized selection installed for the Session, without waiting for default persistence.',
2060
2514
  jsonSchema: {"type":"object","properties":{"selected":{"type":"object","properties":{"provider":{"type":"string"},"model":{"type":"string"},"reasoningEffort":{"type":"string"}},"required":["provider","model"],"additionalProperties":true}},"required":["selected"],"additionalProperties":true},
2061
2515
  },
2062
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":301,"column":3},
2516
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":314,"column":3},
2517
+ },
2518
+ 'session/state': {
2519
+ service: 'sessionController',
2520
+ description: 'Read passive Session state.',
2521
+ invocation: { kind: 'direct' },
2522
+ parameters: [
2523
+ {
2524
+ name: 'request',
2525
+ description: 'target Session.',
2526
+ source: 'json',
2527
+ codec: {
2528
+ mode: 'strict',
2529
+ typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionStateRequest',
2530
+ create: _deepseek_ai_dsh_api_session_controller_session_state_parameter_0$schema,
2531
+ jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"}},"required":["sessionId"],"additionalProperties":true},
2532
+ },
2533
+ strictCodec: {
2534
+ mode: 'strict',
2535
+ typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionStateRequest',
2536
+ create: _deepseek_ai_dsh_api_session_controller_session_state_parameter_0_strict$schema,
2537
+ jsonSchema: {"type":"object","properties":{"sessionId":{"type":"string"}},"required":["sessionId"],"additionalProperties":false},
2538
+ },
2539
+ },
2540
+ ],
2541
+ cancellation: { parameter: 'signal' },
2542
+ result: {
2543
+ mode: 'strict',
2544
+ typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionState',
2545
+ create: _deepseek_ai_dsh_api_session_controller_session_state_result$schema,
2546
+ description: 'current passive state.',
2547
+ jsonSchema: {"type":"object","properties":{"cursor":{"type":"number"},"active":{"type":"boolean"},"running":{"type":"boolean"},"queue":{"oneOf":[{"type":"null","const":null},{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"placement":{"type":"string","enum":["queued","steering","context"]},"rpcId":{"type":"string"},"content":{"type":"array","items":{}}},"required":["id","placement","content"],"additionalProperties":true}}]},"pendingInput":{"type":"array","items":{"type":"string","enum":["approval","question","other"]},"description":"Pending Remote requests sampled when this state was read. A pending change alone does not trigger `observeState`; `wait` refreshes on its own interval."}},"required":["cursor","active","running","queue","pendingInput"],"additionalProperties":true},
2548
+ },
2549
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":573,"column":3},
2063
2550
  },
2064
2551
  'session/updateQueue': {
2065
2552
  service: 'sessionController',
@@ -2091,7 +2578,40 @@ const $remote = createTypertRemoteInfo({
2091
2578
  description: 'acknowledgement that the queue mutation was applied.',
2092
2579
  jsonSchema: {"type":"object","properties":{"accepted":{"type":"boolean","const":true}},"required":["accepted"],"additionalProperties":true},
2093
2580
  },
2094
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":494,"column":3},
2581
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":507,"column":3},
2582
+ },
2583
+ 'session/wait': {
2584
+ service: 'sessionController',
2585
+ description: 'Wait for Session quiescence or pending input with bounded assistant output.',
2586
+ invocation: { kind: 'direct' },
2587
+ parameters: [
2588
+ {
2589
+ name: 'request',
2590
+ description: 'Session, wait bounds and output window.',
2591
+ source: 'json',
2592
+ codec: {
2593
+ mode: 'strict',
2594
+ typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionWaitRequest',
2595
+ create: _deepseek_ai_dsh_api_session_controller_session_wait_parameter_0$schema,
2596
+ jsonSchema: {"type":"object","properties":{"timeoutMs":{"type":"number"},"afterSeq":{"type":"number","description":"Exclusive output cursor; omission includes all available assistant records."},"maxMessages":{"type":"number","description":"Positive assistant-record limit; omission uses the history message budget."},"sessionId":{"type":"string"}},"required":["sessionId"],"additionalProperties":true},
2597
+ },
2598
+ strictCodec: {
2599
+ mode: 'strict',
2600
+ typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionWaitRequest',
2601
+ create: _deepseek_ai_dsh_api_session_controller_session_wait_parameter_0_strict$schema,
2602
+ jsonSchema: {"type":"object","properties":{"timeoutMs":{"type":"number"},"afterSeq":{"type":"number","description":"Exclusive output cursor; omission includes all available assistant records."},"maxMessages":{"type":"number","description":"Positive assistant-record limit; omission uses the history message budget."},"sessionId":{"type":"string"}},"required":["sessionId"],"additionalProperties":false},
2603
+ },
2604
+ },
2605
+ ],
2606
+ cancellation: { parameter: 'signal' },
2607
+ result: {
2608
+ mode: 'strict',
2609
+ typeSymbol: '@deepseek-ai/dsh-api-session-controller/types#SessionWaitValue',
2610
+ create: _deepseek_ai_dsh_api_session_controller_session_wait_result$schema,
2611
+ description: 'stopping state and bounded assistant output.',
2612
+ jsonSchema: {"type":"object","properties":{"reason":{"type":"string","enum":["idle","input-required","timeout"]},"state":{"type":"object","properties":{"cursor":{"type":"number"},"active":{"type":"boolean"},"running":{"type":"boolean"},"queue":{"oneOf":[{"type":"null","const":null},{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"placement":{"type":"string","enum":["queued","steering","context"]},"rpcId":{"type":"string"},"content":{"type":"array","items":{}}},"required":["id","placement","content"],"additionalProperties":true}}]},"pendingInput":{"type":"array","items":{"type":"string","enum":["approval","question","other"]},"description":"Pending Remote requests sampled when this state was read. A pending change alone does not trigger `observeState`; `wait` refreshes on its own interval."}},"required":["cursor","active","running","queue","pendingInput"],"additionalProperties":true},"output":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","const":"event"},"event":{"type":"object","properties":{"type":{"type":"string"},"seq":{"type":"number"},"time":{"type":"number"},"data":{},"ignorable":{"type":"boolean","const":true},"sourceEventSeqs":{"description":"Earlier sources on current surface events; opaque JSON on unknown ignorable events."},"surfaceOp":{"description":"Canonical placement on current surface events; opaque JSON on unknown ignorable events."}},"required":["type","seq","time","data"],"additionalProperties":true}},"required":["type","event"],"additionalProperties":true}},"truncated":{"type":"boolean","description":"More eligible assistant messages exist in the selected interval."}},"required":["records","truncated"],"additionalProperties":true}},"required":["reason","state","output"],"additionalProperties":true},
2613
+ },
2614
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":595,"column":3},
2095
2615
  },
2096
2616
  'session/workspacePathApplications': {
2097
2617
  service: 'sessionController',
@@ -2124,7 +2644,7 @@ const $remote = createTypertRemoteInfo({
2124
2644
  description: 'OS application names, icons, and default selection; empty when desktop opening is unavailable.',
2125
2645
  jsonSchema: {"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"OS application identifier; callers must revalidate it against the file's current handlers before opening."},"name":{"type":"string"},"default":{"type":"boolean"},"icon":{"oneOf":[{"type":"null","const":null},{"type":"string"}],"description":"PNG or SVG data URL, or null when the desktop supplies no icon."}},"required":["id","name","default","icon"],"additionalProperties":true}},
2126
2646
  },
2127
- sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":388,"column":9},
2647
+ sourceLocation: {"file":"packages/api/session-controller/src/index.ts","line":401,"column":9},
2128
2648
  },
2129
2649
  'skills/list': {
2130
2650
  service: 'sessionSkillCatalog',
@@ -2280,8 +2800,8 @@ export const TYPERT = {
2280
2800
  "kind": "method",
2281
2801
  "name": "attachment",
2282
2802
  "signature": "@Remote('attachment') attachment(request: SessionAttachmentRequest): Promise<SessionAttachmentValue>",
2283
- "summary": "Read one image proven reachable from the addressed Session log.",
2284
- "jsDoc": "/**\n * Read one image proven reachable from the addressed Session log.\n * @param request - Session and attachment identities used for authorization.\n * @returns the durable attachment reference and base64-encoded bytes.\n */"
2803
+ "summary": "Read one image from the attachment store after gateway authorization.",
2804
+ "jsDoc": "/**\n * Read one image from the attachment store after gateway authorization.\n * @param request - image reference and gateway permission scope; Session existence is not checked.\n * @returns the durable attachment reference and base64-encoded bytes.\n */"
2285
2805
  },
2286
2806
  {
2287
2807
  "kind": "method",
@@ -2300,9 +2820,51 @@ export const TYPERT = {
2300
2820
  {
2301
2821
  "kind": "method",
2302
2822
  "name": "page",
2303
- "signature": "@Remote('page') page(request: SessionPageRequest, signal: AbortSignal): Promise<SessionPage>",
2823
+ "signature": "@Remote('page') page(request: SessionPageRequest, signal: AbortSignal): Promise<SessionEventsPage>",
2824
+ "summary": "Read one cold-safe, message-aligned Session history page.",
2825
+ "jsDoc": "/**\n * Read one cold-safe, message-aligned Session history page.\n * @deprecated Use `events`; this entry point remains for existing Web callers.\n * @param request - durable address, optional fixed cut, backward cursor, and page budget.\n * @param signal - cancellation for persistence reads.\n * @returns one chronological page with its inclusive cursor; an omitted `throughSeq` selects the observed log end.\n */"
2826
+ },
2827
+ {
2828
+ "kind": "method",
2829
+ "name": "events",
2830
+ "signature": "@Remote events(request: SessionPageRequest, signal: AbortSignal): Promise<SessionEventsPage>",
2304
2831
  "summary": "Read one cold-safe, message-aligned Session history page.",
2305
- "jsDoc": "/**\n * Read one cold-safe, message-aligned Session history page.\n * @param request - durable address, backward cursor, and page budget.\n * @param signal - cancellation for persistence reads.\n * @returns one chronological page.\n */"
2832
+ "jsDoc": "/**\n * Read one cold-safe, message-aligned Session history page.\n * @param request - durable address, optional fixed cut, backward cursor, and page budget.\n * @param signal - cancellation for persistence reads.\n * @returns one chronological page with its inclusive cursor.\n */"
2833
+ },
2834
+ {
2835
+ "kind": "method",
2836
+ "name": "observeEvent",
2837
+ "signature": "@Remote({ mode: 'stream' }) observeEvent(request: SessionObserveEventRequest, signal: AbortSignal): AsyncIterable<SessionEventFrame>",
2838
+ "summary": "Subscribe to Session events without reading a snapshot.",
2839
+ "jsDoc": "/**\n * Subscribe to Session events without reading a snapshot.\n * @param request - Session address.\n * @param signal - subscription cancellation.\n * @returns readiness and subsequent events, without a snapshot.\n */"
2840
+ },
2841
+ {
2842
+ "kind": "method",
2843
+ "name": "observeProjections",
2844
+ "signature": "@Remote({ mode: 'stream' }) observeProjections(request: SessionProjectionsRequest, signal: AbortSignal): AsyncIterable<SessionProjectionFrame>",
2845
+ "summary": "Subscribe to sparse Session projection changes.",
2846
+ "jsDoc": "/**\n * Subscribe to sparse Session projection changes.\n * @param request - target Session.\n * @param signal - subscription cancellation.\n * @returns readiness and sparse projection changes.\n */"
2847
+ },
2848
+ {
2849
+ "kind": "method",
2850
+ "name": "state",
2851
+ "signature": "@Remote state(request: SessionStateRequest, signal: AbortSignal): Promise<SessionState>",
2852
+ "summary": "Read passive Session state.",
2853
+ "jsDoc": "/**\n * Read passive Session state.\n * @param request - target Session.\n * @param signal - read cancellation.\n * @returns current passive state.\n */"
2854
+ },
2855
+ {
2856
+ "kind": "method",
2857
+ "name": "observeState",
2858
+ "signature": "@Remote({ mode: 'stream' }) observeState(request: SessionStateRequest, signal: AbortSignal): AsyncIterable<SessionState>",
2859
+ "summary": "Subscribe to complete Session state replacements.",
2860
+ "jsDoc": "/**\n * Subscribe to complete Session state replacements.\n * @param request - target Session.\n * @param signal - subscription cancellation.\n * @returns complete passive state replacements.\n */"
2861
+ },
2862
+ {
2863
+ "kind": "method",
2864
+ "name": "wait",
2865
+ "signature": "@Remote wait(request: SessionWaitRequest, signal: AbortSignal): Promise<SessionWaitValue>",
2866
+ "summary": "Wait for Session quiescence or pending input with bounded assistant output.",
2867
+ "jsDoc": "/**\n * Wait for Session quiescence or pending input with bounded assistant output.\n * @param request - Session, wait bounds and output window.\n * @param signal - caller cancellation.\n * @returns stopping state and bounded assistant output.\n */"
2306
2868
  },
2307
2869
  {
2308
2870
  "kind": "method",
@@ -2314,7 +2876,7 @@ export const TYPERT = {
2314
2876
  {
2315
2877
  "kind": "method",
2316
2878
  "name": "projections",
2317
- "signature": "@Remote('projections') async projections(request: SessionProjectionsRequest, signal: AbortSignal): Promise<SessionProjectionsValue>",
2879
+ "signature": "@Remote('projections') projections(request: SessionProjectionsRequest, signal: AbortSignal): Promise<SessionProjectionsValue>",
2318
2880
  "summary": "Read exact projections, returning cached hints only when migration is required.",
2319
2881
  "jsDoc": "/**\n * Read exact projections, returning cached hints only when migration is required.\n * @param request - Session whose current values are required.\n * @param signal - cancellation for the Session read.\n * @returns a sequenced baseline, cached hints when migration is deferred, or null when absent.\n */"
2320
2882
  },
@@ -2427,6 +2989,14 @@ export const TYPERT = {
2427
2989
  "name": "AttachmentId",
2428
2990
  "declaration": "export type AttachmentId = Branded<'AttachmentId'>;"
2429
2991
  },
2992
+ {
2993
+ "name": "BindingOrigin",
2994
+ "declaration": "export type BindingOrigin = 'created' | 'referenced' | 'discovered' | 'tracked';"
2995
+ },
2996
+ {
2997
+ "name": "BindingState",
2998
+ "declaration": "export interface BindingState {\n readonly url: string;\n readonly origin: BindingOrigin;\n readonly dismissed: boolean;\n}"
2999
+ },
2430
3000
  {
2431
3001
  "name": "Branded",
2432
3002
  "declaration": "export type Branded<B extends string> = string & { readonly [BRAND]: B; };"
@@ -2439,6 +3009,10 @@ export const TYPERT = {
2439
3009
  "name": "CancelOptions",
2440
3010
  "declaration": "export interface CancelOptions {\n keepInbox?: boolean | undefined;\n}"
2441
3011
  },
3012
+ {
3013
+ "name": "ClaimOutcome",
3014
+ "declaration": "export interface ClaimOutcome {\n readonly claimed: number;\n readonly skipped: number;\n}"
3015
+ },
2442
3016
  {
2443
3017
  "name": "CommandId",
2444
3018
  "declaration": "export type CommandId = Branded<'CommandId'>;"
@@ -2535,6 +3109,14 @@ export const TYPERT = {
2535
3109
  "name": "FinishReasonMap",
2536
3110
  "declaration": "export interface FinishReasonMap {\n stop: { kind: 'stop'; };\n 'tool-calls': { kind: 'tool-calls'; };\n 'max-tokens': { kind: 'max-tokens'; };\n aborted: { kind: 'aborted'; failure: LlmFailure; };\n error: { kind: 'error'; failure: LlmFailure; };\n}"
2537
3111
  },
3112
+ {
3113
+ "name": "ForgeSessionWorktree",
3114
+ "declaration": "export interface ForgeSessionWorktree {\n readonly path: string;\n readonly branch: string;\n readonly from: string | null;\n readonly baseCommit: string;\n readonly repositoryRoot: string;\n}"
3115
+ },
3116
+ {
3117
+ "name": "ForkLineage",
3118
+ "declaration": "export interface ForkLineage {\n readonly origin: 'fork';\n readonly sourceSessionId: string;\n readonly authoredByViewer: boolean;\n readonly workspaceReadOnly: boolean;\n}"
3119
+ },
2538
3120
  {
2539
3121
  "name": "GoalBlockReason",
2540
3122
  "declaration": "export interface GoalBlockReason {\n readonly code: string;\n readonly message: string;\n}"
@@ -2679,6 +3261,14 @@ export const TYPERT = {
2679
3261
  "name": "LlmFailure",
2680
3262
  "declaration": "export interface LlmFailure {\n readonly message: string;\n readonly code: string;\n readonly status?: number;\n readonly providerRetryAfterMs?: number;\n readonly requestId?: ProviderRequestId;\n readonly offloadImages?: number;\n}"
2681
3263
  },
3264
+ {
3265
+ "name": "LlmModelBadge",
3266
+ "declaration": "export interface LlmModelBadge {\n text: LocalizedText;\n tone: LlmModelBadgeTone;\n}"
3267
+ },
3268
+ {
3269
+ "name": "LlmModelBadgeTone",
3270
+ "declaration": "export type LlmModelBadgeTone = 'neutral' | 'info' | 'success' | 'warning';"
3271
+ },
2682
3272
  {
2683
3273
  "name": "LlmRetryEventData",
2684
3274
  "declaration": "export type LlmRetryEventData = { retryId: RetryId; turn: number; step: number; provider: string; mode: 'normal'; policyKey: string; retry: number; maxRetries: number; delayMs: number; failure: LlmFailure; } | { retryId: RetryId; turn: number; step: number; provider: string; mode: 'always'; policyKey: string; retry: number; delayMs: number; failure: LlmFailure; };"
@@ -2687,6 +3277,10 @@ export const TYPERT = {
2687
3277
  "name": "LlmRetryStartedEventData",
2688
3278
  "declaration": "export interface LlmRetryStartedEventData {\n retryId: RetryId;\n turn: number;\n step: number;\n retry: number;\n}"
2689
3279
  },
3280
+ {
3281
+ "name": "LocalizedText",
3282
+ "declaration": "export type LocalizedText = string | { readonly en: string; readonly [locale: string]: string; };"
3283
+ },
2690
3284
  {
2691
3285
  "name": "Message",
2692
3286
  "declaration": "export type Message = MessageRoleMap[keyof MessageRoleMap];"
@@ -2729,7 +3323,7 @@ export const TYPERT = {
2729
3323
  },
2730
3324
  {
2731
3325
  "name": "MessageSourceMap",
2732
- "declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'tool-registry': { kind: 'tool-registry'; };\n 'action-cards': { kind: 'action-cards'; through: SessionSeq; } & ContextFormed;\n 'runtime-context': { kind: 'runtime-context'; } & ContextFormed;\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; principal?: Principal; };\n 'working-directory': { kind: 'working-directory'; };\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'skill-invocation': SkillInvocationSource;\n 'compact-checkpoint': CompactionCheckpointSource;\n 'cordis-host-runner': { kind: 'cordis-host-runner'; };\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'user-question-reply': { kind: 'user-question-reply'; callId: ToolCallId; outcome: 'answered'; };\n 'team-message': TeamMessageSource;\n goal: GoalMessageSource;\n 'plan-mode': { kind: 'plan-mode'; } & ContextFormed;\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'session-reference': SessionReferenceSource;\n webhook: { readonly kind: 'webhook'; readonly provider: string; readonly source: WebhookSourceId; readonly deliveryId: WebhookDeliveryId; readonly ruleId: WebhookRuleId; readonly form: 'notice'; readonly summary: string; };\n}"
3326
+ "declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'tool-registry': { kind: 'tool-registry'; };\n 'action-cards': { kind: 'action-cards'; through: SessionSeq; } & ContextFormed;\n 'runtime-context': { kind: 'runtime-context'; } & ContextFormed;\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; principal?: Principal; };\n 'working-directory': { kind: 'working-directory'; };\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'skill-invocation': SkillInvocationSource;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'compact-checkpoint': CompactionCheckpointSource;\n 'cordis-host-runner': { kind: 'cordis-host-runner'; };\n 'user-question-reply': { kind: 'user-question-reply'; callId: ToolCallId; outcome: 'answered'; };\n 'team-message': TeamMessageSource;\n goal: GoalMessageSource;\n 'plan-mode': { kind: 'plan-mode'; } & ContextFormed;\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'session-reference': SessionReferenceSource;\n webhook: { readonly kind: 'webhook'; readonly provider: string; readonly source: WebhookSourceId; readonly deliveryId: WebhookDeliveryId; readonly ruleId: WebhookRuleId; readonly form: 'notice'; readonly summary: string; };\n}"
2733
3327
  },
2734
3328
  {
2735
3329
  "name": "Model",
@@ -2745,7 +3339,7 @@ export const TYPERT = {
2745
3339
  },
2746
3340
  {
2747
3341
  "name": "ModelCatalogModel",
2748
- "declaration": "export interface ModelCatalogModel {\n readonly id: string;\n readonly name: string;\n readonly description?: string;\n readonly reasoning?: ModelReasoning;\n}"
3342
+ "declaration": "export interface ModelCatalogModel {\n readonly id: string;\n readonly name: string;\n readonly description?: string;\n readonly reasoning?: ModelReasoning;\n readonly badge?: LlmModelBadge;\n}"
2749
3343
  },
2750
3344
  {
2751
3345
  "name": "ModelMessageSource",
@@ -2795,6 +3389,14 @@ export const TYPERT = {
2795
3389
  "name": "OptionalSessionSeq",
2796
3390
  "declaration": "export type OptionalSessionSeq = SessionSeq | null;"
2797
3391
  },
3392
+ {
3393
+ "name": "OwnerIdentityState",
3394
+ "declaration": "export type OwnerIdentityState = 'verified' | 'expired' | 'unverified' | 'relay-unsupported';"
3395
+ },
3396
+ {
3397
+ "name": "OwnerIdentityStatus",
3398
+ "declaration": "export interface OwnerIdentityStatus {\n readonly state: OwnerIdentityState;\n readonly relay: string;\n readonly displayName?: string;\n readonly subjectId?: string;\n readonly avatarUrl?: string;\n readonly expiresAt?: string;\n readonly renewed?: boolean;\n readonly claim?: ClaimOutcome;\n}"
3399
+ },
2798
3400
  {
2799
3401
  "name": "PendingUserQuestion",
2800
3402
  "declaration": "export interface PendingUserQuestion {\n readonly callId: ToolCallId;\n readonly questions: readonly AskUserQuestionItem[];\n readonly state: UserQuestionState;\n}"
@@ -2813,7 +3415,7 @@ export const TYPERT = {
2813
3415
  },
2814
3416
  {
2815
3417
  "name": "PrincipalMap",
2816
- "declaration": "export interface PrincipalMap {\n owner: { readonly kind: 'owner'; };\n}"
3418
+ "declaration": "export interface PrincipalMap {\n owner: { readonly kind: 'owner'; };\n 'share-viewer': ShareViewerPrincipal;\n}"
2817
3419
  },
2818
3420
  {
2819
3421
  "name": "PromptContentPart",
@@ -2857,7 +3459,7 @@ export const TYPERT = {
2857
3459
  },
2858
3460
  {
2859
3461
  "name": "RemoteErrorDetailsMap",
2860
- "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 'remote-access/denied': RemoteAccessDeniedDetails;\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 'authorization/rejected': { readonly key: string; readonly reason?: string; };\n 'authorization/no-prompt': { readonly key: string; readonly promptId: string; };\n 'gateway/ambiguous-endpoint': TypertGatewayFaultDetails;\n 'gateway/arguments-invalid': TypertGatewayFaultDetails;\n 'gateway/binding-invalid': TypertGatewayFaultDetails;\n 'gateway/context-failed': TypertGatewayFaultDetails;\n 'gateway/context-not-found': TypertGatewayFaultDetails;\n 'gateway/context-unavailable': TypertGatewayFaultDetails;\n 'gateway/definition-unavailable': TypertGatewayFaultDetails;\n 'gateway/input-invalid': TypertGatewayFaultDetails;\n 'gateway/interactions-forbidden': TypertGatewayFaultDetails;\n 'gateway/invocation-unavailable': TypertGatewayFaultDetails;\n 'gateway/lookup-failed': TypertGatewayFaultDetails;\n 'gateway/lookup-not-found': TypertGatewayFaultDetails;\n 'gateway/lookup-unavailable': TypertGatewayFaultDetails;\n 'gateway/method-unavailable': TypertGatewayFaultDetails;\n 'gateway/peer-disposed': TypertGatewayFaultDetails;\n 'gateway/protocol': TypertGatewayFaultDetails;\n 'gateway/provider-mismatch': TypertGatewayFaultDetails;\n 'gateway/result-invalid': TypertGatewayFaultDetails;\n 'gateway/service-unavailable': TypertGatewayFaultDetails;\n 'gateway/signature-invalid': TypertGatewayFaultDetails;\n 'gateway/uplink-overflow': TypertGatewayFaultDetails;\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; };\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 'session/migration-required': { 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 'cotTranslation/failed': Record<string, never>;\n 'document-render/failed': { readonly reason: OfficeToPdfErrorCode; };\n 'plugin-manager/unknown-bundle': { readonly name: string; };\n 'plugin-manager/invalid-language': { readonly language: string; };\n 'plugin-manager/detail-unavailable': { readonly reason: DetailFailureReason; };\n 'plugin-market/invalid-index-url': { readonly url: string; readonly reason: string; };\n 'plugin-market/unknown-index': { readonly url: string; };\n 'plugin-market/fetch-failed': { readonly url: string; readonly reason: string; };\n 'plugin-market/invalid-index': { readonly url: string; readonly path: string; readonly reason: string; };\n 'plugin-market/invalid-query': { readonly field: string; readonly reason: string; };\n 'plugin-market/settings-unavailable': Record<string, never>;\n 'plugin-market/unknown-plugin': { readonly name: string; readonly version: string; };\n 'plugin-market/detail-unavailable': { readonly reason: DetailFailureReason; };\n}"
3462
+ "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 'remote-access/denied': RemoteAccessDeniedDetails;\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 'authorization/rejected': { readonly key: string; readonly reason?: string; };\n 'authorization/no-prompt': { readonly key: string; readonly promptId: string; };\n 'gateway/ambiguous-endpoint': TypertGatewayFaultDetails;\n 'gateway/arguments-invalid': TypertGatewayFaultDetails;\n 'gateway/binding-invalid': TypertGatewayFaultDetails;\n 'gateway/context-failed': TypertGatewayFaultDetails;\n 'gateway/context-not-found': TypertGatewayFaultDetails;\n 'gateway/context-unavailable': TypertGatewayFaultDetails;\n 'gateway/definition-unavailable': TypertGatewayFaultDetails;\n 'gateway/input-invalid': TypertGatewayFaultDetails;\n 'gateway/interactions-forbidden': TypertGatewayFaultDetails;\n 'gateway/invocation-unavailable': TypertGatewayFaultDetails;\n 'gateway/lookup-failed': TypertGatewayFaultDetails;\n 'gateway/lookup-not-found': TypertGatewayFaultDetails;\n 'gateway/lookup-unavailable': TypertGatewayFaultDetails;\n 'gateway/method-unavailable': TypertGatewayFaultDetails;\n 'gateway/peer-disposed': TypertGatewayFaultDetails;\n 'gateway/protocol': TypertGatewayFaultDetails;\n 'gateway/provider-mismatch': TypertGatewayFaultDetails;\n 'gateway/result-invalid': TypertGatewayFaultDetails;\n 'gateway/service-unavailable': TypertGatewayFaultDetails;\n 'gateway/signature-invalid': TypertGatewayFaultDetails;\n 'gateway/uplink-overflow': TypertGatewayFaultDetails;\n 'job/not-found': { readonly sessionId: SessionId; readonly jobId: JobId; };\n 'session/observation-ended': Record<string, never>;\n 'session/wait-timeout': Record<string, never>;\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; };\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 'session/migration-required': { 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 'cotTranslation/failed': Record<string, never>;\n 'forgePanel/unrecognized-url': Record<string, never>;\n 'forgePanel/session-started': Record<string, never>;\n 'forgePanel/worktrees-unavailable': Record<string, never>;\n 'forgePanel/invalid-branch': Record<string, never>;\n 'forgePanel/no-worktree': Record<string, never>;\n 'forgePanel/session-busy': Record<string, never>;\n 'forgePanel/not-waiting': Record<string, never>;\n 'forgePanel/restore-failed': Record<string, never>;\n 'forgePanel/not-bound': Record<string, never>;\n 'forgePanel/stale-head': Record<string, never>;\n 'forgePanel/action-failed': Record<string, never>;\n 'forgePanel/not-a-checkout': Record<string, never>;\n 'forgePanel/no-fork-point': Record<string, never>;\n 'forgePanel/diff-too-large': Record<string, never>;\n 'forgePanel/diff-failed': Record<string, never>;\n 'liveshareShares/share-not-found': { readonly shareId: string; };\n 'liveshareShares/missing-share-id': Record<string, never>;\n 'liveshareShares/missing-session-id': Record<string, never>;\n 'liveshareShares/missing-permission': Record<string, never>;\n 'liveshareShares/invalid-access-mode': Record<string, never>;\n 'liveshareShares/invalid-ttl': Record<string, never>;\n 'liveshareShares/invalid-allows-fork': Record<string, never>;\n 'liveshareShares/invalid-session-mode': Record<string, never>;\n 'liveshareShares/invalid-capabilities': Record<string, never>;\n 'liveshareShares/invalid-relay': { readonly relay: string; };\n 'liveshareShares/invalid-relay-url': Record<string, never>;\n 'liveshareShares/relay-url-required': Record<string, never>;\n 'liveshareShares/owner-login-required': { readonly identity: OwnerIdentityStatus; };\n 'liveshareShares/relay-upgrade-required': { readonly identity: OwnerIdentityStatus; };\n 'liveshareShares/relay-unavailable': { readonly relay: string; readonly reason?: string; };\n 'liveshareShares/owner-state-unavailable': Record<string, never>;\n 'liveshareShares/unknown-plugin': { readonly plugin: string; };\n 'liveshareShares/endpoint-not-offered': { readonly plugin: string; readonly kind: 'readable' | 'writable'; readonly endpoint: string; };\n 'liveshareShares/audit-unavailable': { readonly relay: string; readonly status?: number; readonly contentType?: string; readonly body?: string; };\n 'document-render/failed': { readonly reason: OfficeToPdfErrorCode; };\n 'plugin-manager/unknown-bundle': { readonly name: string; };\n 'plugin-manager/invalid-language': { readonly language: string; };\n 'plugin-manager/detail-unavailable': { readonly reason: DetailFailureReason; };\n 'plugin-market/invalid-index-url': { readonly url: string; readonly reason: string; };\n 'plugin-market/unknown-index': { readonly url: string; };\n 'plugin-market/fetch-failed': { readonly url: string; readonly reason: string; };\n 'plugin-market/invalid-index': { readonly url: string; readonly path: string; readonly reason: string; };\n 'plugin-market/invalid-query': { readonly field: string; readonly reason: string; };\n 'plugin-market/settings-unavailable': Record<string, never>;\n 'plugin-market/unknown-plugin': { readonly name: string; readonly version: string; };\n 'plugin-market/detail-unavailable': { readonly reason: DetailFailureReason; };\n}"
2861
3463
  },
2862
3464
  {
2863
3465
  "name": "ReplayEnvelope",
@@ -2937,7 +3539,7 @@ export const TYPERT = {
2937
3539
  },
2938
3540
  {
2939
3541
  "name": "SessionAttachmentRequest",
2940
- "declaration": "export interface SessionAttachmentRequest {\n readonly sessionId: SessionId;\n readonly attachmentId: AttachmentIdType;\n}"
3542
+ "declaration": "export interface SessionAttachmentRequest {\n readonly sessionId: SessionId;\n readonly attachment: ImageAttachmentRef;\n}"
2941
3543
  },
2942
3544
  {
2943
3545
  "name": "SessionAttachmentValue",
@@ -2975,9 +3577,17 @@ export const TYPERT = {
2975
3577
  "name": "SessionEventEntry",
2976
3578
  "declaration": "export interface SessionEventEntry {\n readonly type: 'event';\n readonly event: SessionWireEvent;\n}"
2977
3579
  },
3580
+ {
3581
+ "name": "SessionEventFrame",
3582
+ "declaration": "export type SessionEventFrame = { readonly type: 'ready'; } | SessionEventEntry;"
3583
+ },
2978
3584
  {
2979
3585
  "name": "SessionEventMap",
2980
- "declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'model/selection': ModelSelection;\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'agent-preset/selected': { agentPreset: string; };\n 'job/registered': JobRegisteredData;\n 'job/settled': JobSettledData;\n 'command/run': { commandId: CommandId; name: string; args?: string; source: CommandSource; };\n 'command/done': { commandId: CommandId; kind: 'success' | 'error'; text?: string; sourceEventSeq?: import('@deepseek-ai/dsh-session/types').SessionSeq; };\n 'image/offload': { targets: ImageOffloadTarget[]; };\n 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\n 'working-directory/change': { cwd: string; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: ToolCallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'permission/preset': { preset: string; };\n 'subagent/descriptor': SubagentDescriptorData;\n 'subagent/catalog': SubagentCatalogEvent;\n 'compaction/start': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; };\n 'compaction/summary': { compactionId: CompactionId; sourceCommandId?: CommandId; summary: ContentBlock[]; shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; provider: string; model: string; maxTokens?: number; usage?: TokenUsage; } & ({ rawOutput: ContentBlock[]; llmStreamCall: true; } | { rawOutput?: ContentBlock[]; llmStreamCall?: never; });\n 'compaction/end': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; error?: string; };\n 'compaction/prune': { shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; };\n 'feedback/record': FeedbackRecord;\n 'llm/retry': LlmRetryEventData;\n 'llm/retry-started': LlmRetryStartedEventData;\n 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'team/member': { version: 2; teamId: TeamId; member: TeamMemberSnapshot; };\n 'team/task': { version: 2; teamId: TeamId; task: TeamTaskSnapshot; };\n 'team/message/queued': { version: 2; teamId: TeamId; message: TeamMessageSnapshot; };\n 'team/message/delivered': { version: 2; teamId: TeamId; messageId: TeamMessageId; targetId: SessionId; };\n 'goal/change': GoalChangeMeta;\n 'feedback/message-put': MessageFeedbackPut;\n 'feedback/message-delete': MessageFeedbackDelete;\n 'plan/mode': { active: boolean; };\n 'schedule/change': ScheduleChange;\n 'subagent/model-selection-policy': { allowedModels: AllowedModelRoute[]; };\n 'workspace/changes': { turn: number; };\n}"
3586
+ "declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'model/selection': ModelSelection;\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'agent-preset/selected': { agentPreset: string; };\n 'job/registered': JobRegisteredData;\n 'job/settled': JobSettledData;\n 'command/run': { commandId: CommandId; name: string; args?: string; source: CommandSource; };\n 'command/done': { commandId: CommandId; kind: 'success' | 'error'; text?: string; sourceEventSeq?: import('@deepseek-ai/dsh-session/types').SessionSeq; };\n 'image/offload': { targets: ImageOffloadTarget[]; };\n 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\n 'working-directory/change': { cwd: string; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: ToolCallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'permission/preset': { preset: string; };\n 'subagent/descriptor': SubagentDescriptorData;\n 'subagent/catalog': SubagentCatalogEvent;\n 'compaction/start': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; };\n 'compaction/summary': { compactionId: CompactionId; sourceCommandId?: CommandId; summary: ContentBlock[]; shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; provider: string; model: string; maxTokens?: number; usage?: TokenUsage; } & ({ rawOutput: ContentBlock[]; llmStreamCall: true; } | { rawOutput?: ContentBlock[]; llmStreamCall?: never; });\n 'compaction/end': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; error?: string; };\n 'compaction/prune': { shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; };\n 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'feedback/record': FeedbackRecord;\n 'llm/retry': LlmRetryEventData;\n 'llm/retry-started': LlmRetryStartedEventData;\n 'team/member': { version: 2; teamId: TeamId; member: TeamMemberSnapshot; };\n 'team/task': { version: 2; teamId: TeamId; task: TeamTaskSnapshot; };\n 'team/message/queued': { version: 2; teamId: TeamId; message: TeamMessageSnapshot; };\n 'team/message/delivered': { version: 2; teamId: TeamId; messageId: TeamMessageId; targetId: SessionId; };\n 'goal/change': GoalChangeMeta;\n 'feedback/message-put': MessageFeedbackPut;\n 'feedback/message-delete': MessageFeedbackDelete;\n 'plan/mode': { active: boolean; };\n 'schedule/change': ScheduleChange;\n 'subagent/model-selection-policy': { allowedModels: AllowedModelRoute[]; };\n 'workspace/changes': { turn: number; };\n}"
3587
+ },
3588
+ {
3589
+ "name": "SessionEventsPage",
3590
+ "declaration": "export interface SessionEventsPage extends SessionPage {\n readonly cursor: number;\n}"
2981
3591
  },
2982
3592
  {
2983
3593
  "name": "SessionEventType",
@@ -2989,7 +3599,7 @@ export const TYPERT = {
2989
3599
  },
2990
3600
  {
2991
3601
  "name": "SessionFollowRequest",
2992
- "declaration": "export interface SessionFollowRequest extends Pick<SessionPageRequest, 'maxMessages' | 'turnWindow'> {\n readonly address: SessionAddress;\n readonly assistantStream?: true;\n}"
3602
+ "declaration": "export interface SessionFollowRequest extends Pick<SessionPageRequest, 'maxMessages' | 'turnWindow'> {\n readonly address: SessionAddress;\n readonly activate?: boolean;\n readonly assistantStream?: true;\n}"
2993
3603
  },
2994
3604
  {
2995
3605
  "name": "SessionForkRequest",
@@ -3027,6 +3637,10 @@ export const TYPERT = {
3027
3637
  "name": "SessionLogOffset",
3028
3638
  "declaration": "export type SessionLogOffset = BrandedNumber<'SessionLogOffset'>;"
3029
3639
  },
3640
+ {
3641
+ "name": "SessionObserveEventRequest",
3642
+ "declaration": "export interface SessionObserveEventRequest {\n readonly address: SessionAddress;\n}"
3643
+ },
3030
3644
  {
3031
3645
  "name": "SessionOpenWorkspacePathRequest",
3032
3646
  "declaration": "export interface SessionOpenWorkspacePathRequest {\n readonly action?: 'reveal';\n readonly application?: string;\n readonly path: string;\n}"
@@ -3041,19 +3655,31 @@ export const TYPERT = {
3041
3655
  },
3042
3656
  {
3043
3657
  "name": "SessionPageRequest",
3044
- "declaration": "export interface SessionPageRequest {\n readonly address: SessionAddress;\n readonly throughSeq: number;\n readonly beforeSeq?: number;\n readonly maxMessages?: number;\n readonly turnWindow?: { readonly minMessages: number; readonly minTurns: number; };\n}"
3658
+ "declaration": "export interface SessionPageRequest {\n readonly address: SessionAddress;\n readonly throughSeq?: number;\n readonly beforeSeq?: number;\n readonly maxMessages?: number;\n readonly turnWindow?: { readonly minMessages: number; readonly minTurns: number; };\n}"
3659
+ },
3660
+ {
3661
+ "name": "SessionPendingInput",
3662
+ "declaration": "export type SessionPendingInput = 'approval' | 'question' | 'other';"
3045
3663
  },
3046
3664
  {
3047
3665
  "name": "SessionProjectionBaseline",
3048
3666
  "declaration": "export interface SessionProjectionBaseline {\n readonly asOfSeq: number;\n readonly values: SessionProjectionValues;\n}"
3049
3667
  },
3668
+ {
3669
+ "name": "SessionProjectionChange",
3670
+ "declaration": "export type SessionProjectionChange = { readonly type: 'projection'; } & Omit<SessionProjectionUpdate, 'sessionId'>;"
3671
+ },
3672
+ {
3673
+ "name": "SessionProjectionFrame",
3674
+ "declaration": "export type SessionProjectionFrame = { readonly type: 'ready'; } | SessionProjectionChange;"
3675
+ },
3050
3676
  {
3051
3677
  "name": "SessionProjectionHints",
3052
3678
  "declaration": "export interface SessionProjectionHints {\n readonly kind: 'cached' | 'sequenced';\n readonly asOfSeq: number;\n readonly values: Partial<SessionProjectionSummaryValues>;\n}"
3053
3679
  },
3054
3680
  {
3055
3681
  "name": "SessionProjectionMap",
3056
- "declaration": "export interface SessionProjectionMap {\n inbox: InboxWireState;\n modelSelection: ModelSelectionProjection;\n actionCards: SessionProjectionSummaryExcluded<ActionCardView>;\n agentPreset: string | null;\n title: string | null;\n todos: SessionProjectionSummaryExcluded<TodoItem[]> | null;\n sessionListMetadata: SessionListMetadata;\n imageLimits: SessionProjectionSummaryExcluded<ImageAttachmentLimits>;\n workingDirectory: string | null;\n permissions: PermissionSelection;\n subagentCatalog: SubagentCatalogEntry[];\n subagentTiming: SubagentTimingProjection;\n subagent: SubagentIdentityProjection | null;\n tokenUsage: TokenUsageProjection;\n contextPressure: ContextPressureProjection;\n contextBreakdown: ContextBreakdownProjection;\n userQuestions: UserQuestionProjectionView;\n agentTeam: TeamProjection;\n goal: GoalProjection | null;\n plan: PlanProjection;\n}"
3682
+ "declaration": "export interface SessionProjectionMap {\n inbox: InboxWireState;\n modelSelection: ModelSelectionProjection;\n actionCards: SessionProjectionSummaryExcluded<ActionCardView>;\n agentPreset: string | null;\n title: string | null;\n todos: SessionProjectionSummaryExcluded<TodoItem[]> | null;\n sessionListMetadata: SessionListMetadata;\n imageLimits: SessionProjectionSummaryExcluded<ImageAttachmentLimits>;\n workingDirectory: string | null;\n permissions: PermissionSelection;\n subagentCatalog: SubagentCatalogEntry[];\n subagentTiming: SubagentTimingProjection;\n subagent: SubagentIdentityProjection | null;\n tokenUsage: TokenUsageProjection;\n contextPressure: ContextPressureProjection;\n contextBreakdown: ContextBreakdownProjection;\n userQuestions: UserQuestionProjectionView;\n agentTeam: TeamProjection;\n forgeChangeRequests: readonly BindingState[];\n forgeWorktree: ForgeSessionWorktree | null;\n forkLineage: ForkLineage;\n goal: GoalProjection | null;\n plan: PlanProjection;\n}"
3057
3683
  },
3058
3684
  {
3059
3685
  "name": "SessionProjectionsRequest",
@@ -3103,6 +3729,10 @@ export const TYPERT = {
3103
3729
  "name": "SessionPromptValue",
3104
3730
  "declaration": "export interface SessionPromptValue {\n readonly accepted: true;\n}"
3105
3731
  },
3732
+ {
3733
+ "name": "SessionQueuedItem",
3734
+ "declaration": "export interface SessionQueuedItem {\n readonly id: MessageId;\n readonly placement: 'queued' | 'steering' | 'context';\n readonly rpcId?: SessionRequestId;\n readonly content: readonly JsonValue[];\n}"
3735
+ },
3106
3736
  {
3107
3737
  "name": "SessionReferenceSource",
3108
3738
  "declaration": "export interface SessionReferenceSource {\n kind: 'session-reference';\n form: 'recall';\n version: 1;\n references: { sessionId: string; label: string; capturedFormatVersion?: number; capturedThroughSeq: OptionalSessionSeq; compacted: boolean; originalMessages: number; retainedMessages: number; omittedMessages: number; omittedBytes: number; truncated: boolean; inputIndex: number; }[];\n}"
@@ -3147,6 +3777,14 @@ export const TYPERT = {
3147
3777
  "name": "SessionSeqCursor",
3148
3778
  "declaration": "export type SessionSeqCursor = SessionSeq | -1;"
3149
3779
  },
3780
+ {
3781
+ "name": "SessionState",
3782
+ "declaration": "export interface SessionState {\n readonly cursor: number;\n readonly active: boolean;\n readonly running: boolean;\n readonly queue: readonly SessionQueuedItem[] | null;\n readonly pendingInput: readonly SessionPendingInput[];\n}"
3783
+ },
3784
+ {
3785
+ "name": "SessionStateRequest",
3786
+ "declaration": "export interface SessionStateRequest {\n readonly sessionId: SessionId;\n}"
3787
+ },
3150
3788
  {
3151
3789
  "name": "SessionSummary",
3152
3790
  "declaration": "export interface SessionSummary {\n readonly agentAvailable: boolean;\n readonly formatStatus?: 'current' | 'migration-required';\n readonly sessionId: SessionId;\n readonly updatedAt: number;\n readonly running: boolean;\n readonly blank: boolean;\n readonly parentSessionId?: SessionId;\n readonly origin?: 'subagent';\n readonly cwd?: string;\n readonly projections?: SessionProjectionHints;\n}"
@@ -3179,6 +3817,18 @@ export const TYPERT = {
3179
3817
  "name": "SessionUpdateQueueValue",
3180
3818
  "declaration": "export interface SessionUpdateQueueValue {\n readonly accepted: true;\n}"
3181
3819
  },
3820
+ {
3821
+ "name": "SessionWaitOutput",
3822
+ "declaration": "export interface SessionWaitOutput {\n readonly records: readonly SessionHistoryRecord[];\n readonly truncated: boolean;\n}"
3823
+ },
3824
+ {
3825
+ "name": "SessionWaitRequest",
3826
+ "declaration": "export interface SessionWaitRequest extends SessionStateRequest {\n readonly timeoutMs?: number;\n readonly afterSeq?: number;\n readonly maxMessages?: number;\n}"
3827
+ },
3828
+ {
3829
+ "name": "SessionWaitValue",
3830
+ "declaration": "export interface SessionWaitValue {\n readonly reason: 'idle' | 'input-required' | 'timeout';\n readonly state: SessionState;\n readonly output: SessionWaitOutput;\n}"
3831
+ },
3182
3832
  {
3183
3833
  "name": "SessionWireEvent",
3184
3834
  "declaration": "export interface SessionWireEvent {\n readonly type: string;\n readonly seq: number;\n readonly time: number;\n readonly data: JsonValue;\n readonly ignorable?: true;\n readonly sourceEventSeqs?: JsonValue;\n readonly surfaceOp?: JsonValue;\n}"
@@ -3195,6 +3845,10 @@ export const TYPERT = {
3195
3845
  "name": "SettledUserQuestion",
3196
3846
  "declaration": "export interface SettledUserQuestion {\n readonly callId: ToolCallId;\n readonly answers: readonly AskUserQuestionAnswerItem[];\n}"
3197
3847
  },
3848
+ {
3849
+ "name": "ShareViewerPrincipal",
3850
+ "declaration": "export interface ShareViewerPrincipal {\n readonly kind: 'share-viewer';\n readonly shareId: string;\n readonly actor: { readonly providerId: string; readonly tenantId: string; readonly subjectId: string; readonly displayName?: string; };\n}"
3851
+ },
3198
3852
  {
3199
3853
  "name": "SkillInvocationSource",
3200
3854
  "declaration": "export interface SkillInvocationSource {\n readonly kind: 'skill-invocation';\n readonly name: string;\n readonly form: 'instructions';\n}"
@@ -3756,7 +4410,7 @@ export const TYPERT = {
3756
4410
  },
3757
4411
  {
3758
4412
  "name": "MessageSourceMap",
3759
- "declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'tool-registry': { kind: 'tool-registry'; };\n 'action-cards': { kind: 'action-cards'; through: SessionSeq; } & ContextFormed;\n 'runtime-context': { kind: 'runtime-context'; } & ContextFormed;\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; principal?: Principal; };\n 'working-directory': { kind: 'working-directory'; };\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'skill-invocation': SkillInvocationSource;\n 'compact-checkpoint': CompactionCheckpointSource;\n 'cordis-host-runner': { kind: 'cordis-host-runner'; };\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'user-question-reply': { kind: 'user-question-reply'; callId: ToolCallId; outcome: 'answered'; };\n 'team-message': TeamMessageSource;\n goal: GoalMessageSource;\n 'plan-mode': { kind: 'plan-mode'; } & ContextFormed;\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'session-reference': SessionReferenceSource;\n webhook: { readonly kind: 'webhook'; readonly provider: string; readonly source: WebhookSourceId; readonly deliveryId: WebhookDeliveryId; readonly ruleId: WebhookRuleId; readonly form: 'notice'; readonly summary: string; };\n}"
4413
+ "declaration": "export interface MessageSourceMap {\n user: { kind: 'user'; };\n model: ModelMessageSource;\n tool: ToolMessageSource;\n 'system-prompt': SystemPromptMessageSource;\n 'model-selection': { kind: 'model-selection'; } & ContextFormed;\n 'tool-registry': { kind: 'tool-registry'; };\n 'action-cards': { kind: 'action-cards'; through: SessionSeq; } & ContextFormed;\n 'runtime-context': { kind: 'runtime-context'; } & ContextFormed;\n 'user-rpc': { kind: 'user'; rpcId: SessionRequestId; clientTimeZone?: string; principal?: Principal; };\n 'working-directory': { kind: 'working-directory'; };\n 'user-approval': { kind: 'user-approval'; } & ContextFormed;\n 'agent-message': AgentMessageSource;\n 'subagent-settled': SubagentSettledMessageSource;\n 'skill-invocation': SkillInvocationSource;\n 'ptc-mode': { kind: 'ptc-mode'; };\n 'compact-checkpoint': CompactionCheckpointSource;\n 'cordis-host-runner': { kind: 'cordis-host-runner'; };\n 'user-question-reply': { kind: 'user-question-reply'; callId: ToolCallId; outcome: 'answered'; };\n 'team-message': TeamMessageSource;\n goal: GoalMessageSource;\n 'plan-mode': { kind: 'plan-mode'; } & ContextFormed;\n schedule: { kind: 'schedule'; } & ContextFormed;\n 'session-reference': SessionReferenceSource;\n webhook: { readonly kind: 'webhook'; readonly provider: string; readonly source: WebhookSourceId; readonly deliveryId: WebhookDeliveryId; readonly ruleId: WebhookRuleId; readonly form: 'notice'; readonly summary: string; };\n}"
3760
4414
  },
3761
4415
  {
3762
4416
  "name": "Model",
@@ -3788,7 +4442,7 @@ export const TYPERT = {
3788
4442
  },
3789
4443
  {
3790
4444
  "name": "PrincipalMap",
3791
- "declaration": "export interface PrincipalMap {\n owner: { readonly kind: 'owner'; };\n}"
4445
+ "declaration": "export interface PrincipalMap {\n owner: { readonly kind: 'owner'; };\n 'share-viewer': ShareViewerPrincipal;\n}"
3792
4446
  },
3793
4447
  {
3794
4448
  "name": "ProviderRequestId",
@@ -3860,7 +4514,7 @@ export const TYPERT = {
3860
4514
  },
3861
4515
  {
3862
4516
  "name": "SessionEventMap",
3863
- "declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'model/selection': ModelSelection;\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'agent-preset/selected': { agentPreset: string; };\n 'job/registered': JobRegisteredData;\n 'job/settled': JobSettledData;\n 'command/run': { commandId: CommandId; name: string; args?: string; source: CommandSource; };\n 'command/done': { commandId: CommandId; kind: 'success' | 'error'; text?: string; sourceEventSeq?: import('@deepseek-ai/dsh-session/types').SessionSeq; };\n 'image/offload': { targets: ImageOffloadTarget[]; };\n 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\n 'working-directory/change': { cwd: string; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: ToolCallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'permission/preset': { preset: string; };\n 'subagent/descriptor': SubagentDescriptorData;\n 'subagent/catalog': SubagentCatalogEvent;\n 'compaction/start': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; };\n 'compaction/summary': { compactionId: CompactionId; sourceCommandId?: CommandId; summary: ContentBlock[]; shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; provider: string; model: string; maxTokens?: number; usage?: TokenUsage; } & ({ rawOutput: ContentBlock[]; llmStreamCall: true; } | { rawOutput?: ContentBlock[]; llmStreamCall?: never; });\n 'compaction/end': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; error?: string; };\n 'compaction/prune': { shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; };\n 'feedback/record': FeedbackRecord;\n 'llm/retry': LlmRetryEventData;\n 'llm/retry-started': LlmRetryStartedEventData;\n 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'team/member': { version: 2; teamId: TeamId; member: TeamMemberSnapshot; };\n 'team/task': { version: 2; teamId: TeamId; task: TeamTaskSnapshot; };\n 'team/message/queued': { version: 2; teamId: TeamId; message: TeamMessageSnapshot; };\n 'team/message/delivered': { version: 2; teamId: TeamId; messageId: TeamMessageId; targetId: SessionId; };\n 'goal/change': GoalChangeMeta;\n 'feedback/message-put': MessageFeedbackPut;\n 'feedback/message-delete': MessageFeedbackDelete;\n 'plan/mode': { active: boolean; };\n 'schedule/change': ScheduleChange;\n 'subagent/model-selection-policy': { allowedModels: AllowedModelRoute[]; };\n 'workspace/changes': { turn: number; };\n}"
4517
+ "declaration": "export interface SessionEventMap {\n 'turn/start': { turn: number; };\n 'turn/end': { turn: number; reason: TurnEndReason; };\n 'step/start': { turn: number; step: number; };\n 'step/end': { turn: number; step: number; };\n 'user/message': UserMessage;\n 'developer/message': { turn: number; step: number; message: DeveloperMessage; headerSeq?: SessionSeq; };\n 'system/message': { turn: number; step: number; message: SystemMessage; };\n 'assistant/message': { turn: number; step: number; message: AssistantMessage; stream: AssistantStreamRecord[]; usage?: TokenUsage; interrupted?: true; };\n 'assistant/attempt': { turn: number; step: number; stream: AssistantStreamRecord[]; };\n 'tool/call': { turn: number; step: number; callId: ToolCallId; name: string; arguments: string; };\n 'tool/result': { turn: number; step: number; message: ToolResultMessage; error?: { name: string; code: string; reason?: string; }; meta?: JsonValue; };\n 'request/header': { header: EpochHeader; reason: RequestHeaderReason; startsSeries?: true; };\n 'request/context': RequestContext;\n 'session/end-seed': { inherited?: true; };\n 'agent/inbox/spliced': { target: InboxTarget; start: number; removedCount?: number; inserted: UserMessage[]; outcome?: 'canceled'; };\n 'model/selection': ModelSelection;\n 'sandbox/mode': { mode: SandboxMode; source?: 'delegation'; };\n 'agent-preset/selected': { agentPreset: string; };\n 'job/registered': JobRegisteredData;\n 'job/settled': JobSettledData;\n 'command/run': { commandId: CommandId; name: string; args?: string; source: CommandSource; };\n 'command/done': { commandId: CommandId; kind: 'success' | 'error'; text?: string; sourceEventSeq?: import('@deepseek-ai/dsh-session/types').SessionSeq; };\n 'image/offload': { targets: ImageOffloadTarget[]; };\n 'session/title': SessionTitleEventData;\n 'todo/write': { todos: TodoItem[]; };\n 'working-directory/change': { cwd: string; };\n 'approval/asked': { id: ApprovalRequestId; toolName: string; callId?: ToolCallId; reason?: string; };\n 'approval/decided': { id: ApprovalRequestId; outcome: ApprovalOutcome; };\n 'approval/policy': { policy: ApprovalPolicy; source?: 'delegation'; };\n 'permission/preset': { preset: string; };\n 'subagent/descriptor': SubagentDescriptorData;\n 'subagent/catalog': SubagentCatalogEvent;\n 'compaction/start': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; };\n 'compaction/summary': { compactionId: CompactionId; sourceCommandId?: CommandId; summary: ContentBlock[]; shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; provider: string; model: string; maxTokens?: number; usage?: TokenUsage; } & ({ rawOutput: ContentBlock[]; llmStreamCall: true; } | { rawOutput?: ContentBlock[]; llmStreamCall?: never; });\n 'compaction/end': { compactionId: CompactionId; sourceCommandId?: CommandId; turn: number | null; error?: string; };\n 'compaction/prune': { shadowedRange: { start: SessionSeq; end: SessionSeq; }; shadowedSeqs: SessionSeq[]; shadowedTokenCount: number; };\n 'tool/ptc-dispatch-start': PtcDispatchStartEventData;\n 'tool/ptc-dispatch': PtcDispatchEventData;\n 'feedback/record': FeedbackRecord;\n 'llm/retry': LlmRetryEventData;\n 'llm/retry-started': LlmRetryStartedEventData;\n 'team/member': { version: 2; teamId: TeamId; member: TeamMemberSnapshot; };\n 'team/task': { version: 2; teamId: TeamId; task: TeamTaskSnapshot; };\n 'team/message/queued': { version: 2; teamId: TeamId; message: TeamMessageSnapshot; };\n 'team/message/delivered': { version: 2; teamId: TeamId; messageId: TeamMessageId; targetId: SessionId; };\n 'goal/change': GoalChangeMeta;\n 'feedback/message-put': MessageFeedbackPut;\n 'feedback/message-delete': MessageFeedbackDelete;\n 'plan/mode': { active: boolean; };\n 'schedule/change': ScheduleChange;\n 'subagent/model-selection-policy': { allowedModels: AllowedModelRoute[]; };\n 'workspace/changes': { turn: number; };\n}"
3864
4518
  },
3865
4519
  {
3866
4520
  "name": "SessionEventType",
@@ -3910,6 +4564,10 @@ export const TYPERT = {
3910
4564
  "name": "SessionTitleSource",
3911
4565
  "declaration": "export type SessionTitleSource = { readonly kind: 'fallback'; } | { readonly kind: 'provider'; readonly provider: SessionTitleProviderId; readonly model?: SessionTitleModelIdentity; } | { readonly kind: 'user'; };"
3912
4566
  },
4567
+ {
4568
+ "name": "ShareViewerPrincipal",
4569
+ "declaration": "export interface ShareViewerPrincipal {\n readonly kind: 'share-viewer';\n readonly shareId: string;\n readonly actor: { readonly providerId: string; readonly tenantId: string; readonly subjectId: string; readonly displayName?: string; };\n}"
4570
+ },
3913
4571
  {
3914
4572
  "name": "SkillInvocationSource",
3915
4573
  "declaration": "export interface SkillInvocationSource {\n readonly kind: 'skill-invocation';\n readonly name: string;\n readonly form: 'instructions';\n}"