@songtonyli/dsh-cli 0.1.52 → 0.1.53

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 (995) hide show
  1. package/README.md +1 -1
  2. package/bin/dsh.mjs +1 -1
  3. package/node_modules/@deepseek-ai/dsh/package.json +112 -111
  4. package/node_modules/@deepseek-ai/dsh-acp/package.json +22 -22
  5. package/node_modules/@deepseek-ai/dsh-acp-app/package.json +3 -3
  6. package/node_modules/@deepseek-ai/dsh-agent/package.json +20 -20
  7. package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +7 -7
  8. package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +22 -22
  9. package/node_modules/@deepseek-ai/dsh-agent-loop/README.i18n.yaml +16 -4
  10. package/node_modules/@deepseek-ai/dsh-agent-loop/README.md +17 -0
  11. package/node_modules/@deepseek-ai/dsh-agent-loop/README.zh.md +17 -0
  12. package/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +22 -7
  13. package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +24 -24
  14. package/node_modules/@deepseek-ai/dsh-agent-preset/README.i18n.yaml +4 -4
  15. package/node_modules/@deepseek-ai/dsh-agent-preset/README.md +4 -1
  16. package/node_modules/@deepseek-ai/dsh-agent-preset/README.zh.md +4 -1
  17. package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +6 -5
  18. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/agent-experience/SKILL.md +19 -0
  19. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +9 -1
  20. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/SKILL.md +9 -4
  21. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/user-actions.md +15 -0
  22. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +1 -1
  23. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +28 -28
  24. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +8 -8
  25. package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +5 -5
  26. package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +7 -7
  27. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/README.i18n.yaml +64 -0
  28. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/README.md +138 -0
  29. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/README.zh.md +138 -0
  30. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/index.js +501 -0
  31. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/typert.host.js +350 -0
  32. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/typert.remote-client.js +249 -0
  33. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/types/index.js +424 -0
  34. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/types/types.js +12 -0
  35. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +66 -0
  36. package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +11 -11
  37. package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +10 -10
  38. package/node_modules/@deepseek-ai/dsh-api-remotes/README.i18n.yaml +2 -2
  39. package/node_modules/@deepseek-ai/dsh-api-remotes/README.md +2 -0
  40. package/node_modules/@deepseek-ai/dsh-api-remotes/README.zh.md +2 -0
  41. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +274 -0
  42. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +2 -1
  43. package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +42 -40
  44. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +2 -2
  45. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +2 -0
  46. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +2 -0
  47. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +3 -2
  48. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +2 -2
  49. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/service.js +1 -0
  50. package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +69 -69
  51. package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +13 -13
  52. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +1 -1
  53. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +17 -17
  54. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/index.js +3 -3
  55. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/default-directory.js +3 -3
  56. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +18 -18
  57. package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +12 -12
  58. package/node_modules/@deepseek-ai/dsh-app-boot/README.md +0 -1
  59. package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +0 -1
  60. package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +2 -1
  61. package/node_modules/@deepseek-ai/dsh-app-boot/package.json +9 -9
  62. package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +1 -1
  63. package/node_modules/@deepseek-ai/dsh-attachment/package.json +3 -3
  64. package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +6 -6
  65. package/node_modules/@deepseek-ai/dsh-authorization/package.json +7 -7
  66. package/node_modules/@deepseek-ai/dsh-base/README.i18n.yaml +4 -4
  67. package/node_modules/@deepseek-ai/dsh-base/README.md +2 -2
  68. package/node_modules/@deepseek-ai/dsh-base/README.zh.md +2 -2
  69. package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +11 -10
  70. package/node_modules/@deepseek-ai/dsh-base/package.json +94 -93
  71. package/node_modules/@deepseek-ai/dsh-bash-local/package.json +8 -8
  72. package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +12 -12
  73. package/node_modules/@deepseek-ai/dsh-brand/package.json +1 -1
  74. package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +1 -1
  75. package/node_modules/@deepseek-ai/dsh-client-connection/package.json +10 -10
  76. package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +1 -1
  77. package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +12 -12
  78. package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +4 -4
  79. package/node_modules/@deepseek-ai/dsh-client-locale/package.json +10 -10
  80. package/node_modules/@deepseek-ai/dsh-client-modules/package.json +5 -5
  81. package/node_modules/@deepseek-ai/dsh-client-product-analytics/README.i18n.yaml +34 -0
  82. package/node_modules/@deepseek-ai/dsh-client-product-analytics/README.md +67 -0
  83. package/node_modules/@deepseek-ai/dsh-client-product-analytics/README.zh.md +67 -0
  84. package/node_modules/@deepseek-ai/dsh-client-product-analytics/lib/client.js +75 -0
  85. package/node_modules/@deepseek-ai/dsh-client-product-analytics/lib/index.js +185 -0
  86. package/node_modules/@deepseek-ai/dsh-client-product-analytics/lib/typert.host.js +284 -0
  87. package/node_modules/@deepseek-ai/dsh-client-product-analytics/lib/typert.remote-client.js +220 -0
  88. package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +78 -0
  89. package/node_modules/@deepseek-ai/dsh-client-resources/package.json +5 -5
  90. package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +8 -8
  91. package/node_modules/@deepseek-ai/dsh-client-store/package.json +1 -1
  92. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +16 -16
  93. package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +13 -13
  94. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +9 -9
  95. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +4 -4
  96. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +4 -4
  97. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +4 -0
  98. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +4 -0
  99. package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +204 -72
  100. package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/index.js +4 -4
  101. package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +37 -36
  102. package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +15 -15
  103. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +4 -4
  104. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +4 -0
  105. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +4 -0
  106. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +89 -25
  107. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +33 -32
  108. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +12 -12
  109. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +27 -27
  110. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +7 -7
  111. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +3 -3
  112. package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +14 -14
  113. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +12 -12
  114. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +10 -10
  115. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.i18n.yaml +4 -4
  116. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.md +4 -1
  117. package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.zh.md +4 -1
  118. package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +1 -1
  119. package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +9 -9
  120. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +16 -16
  121. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +2 -2
  122. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +2 -0
  123. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +2 -0
  124. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +26 -16
  125. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +17 -16
  126. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +18 -18
  127. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +15 -15
  128. package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +20 -20
  129. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +6 -6
  130. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +8 -2
  131. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +8 -2
  132. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +3546 -3243
  133. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +16 -15
  134. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.i18n.yaml +6 -6
  135. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.md +6 -5
  136. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.zh.md +6 -5
  137. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Menu.module.css +2 -2
  138. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Modal.module.css +5 -4
  139. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Switch.module.css +4 -0
  140. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TextShimmer.module.css +82 -21
  141. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tooltip.module.css +1 -0
  142. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +135 -58
  143. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DisclosureRow.d.ts +6 -2
  144. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/TextShimmer.d.ts +14 -5
  145. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Tooltip.d.ts +10 -3
  146. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/index.d.ts +1 -0
  147. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/overlay-top-margin.d.ts +2 -8
  148. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredMaxHeight.d.ts +2 -2
  149. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredPosition.d.ts +1 -1
  150. package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +4 -4
  151. package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +13 -13
  152. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +3 -3
  153. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.i18n.yaml +2 -2
  154. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.md +1 -1
  155. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.zh.md +1 -1
  156. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +1 -1
  157. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/locale/en.json +6 -0
  158. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/locale/zh.json +6 -0
  159. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +22 -20
  160. package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +8 -8
  161. package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +6 -6
  162. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.i18n.yaml +4 -4
  163. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.md +4 -2
  164. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.zh.md +4 -2
  165. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +132 -24
  166. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/index.js +1 -1
  167. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +17 -16
  168. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +9 -9
  169. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +4 -4
  170. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +4 -2
  171. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +4 -2
  172. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +20 -16
  173. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +13 -13
  174. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.i18n.yaml +6 -6
  175. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.md +4 -2
  176. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.zh.md +4 -2
  177. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +11 -13
  178. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +11 -10
  179. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.i18n.yaml +8 -8
  180. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.md +5 -5
  181. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.zh.md +5 -5
  182. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +51 -22
  183. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +12 -12
  184. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +6 -6
  185. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/README.i18n.yaml +37 -0
  186. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/README.md +70 -0
  187. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/README.zh.md +70 -0
  188. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/lib/client.js +180 -0
  189. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/lib/index.js +6 -0
  190. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +62 -0
  191. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +9 -9
  192. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +8 -8
  193. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +9 -9
  194. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.i18n.yaml +2 -2
  195. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.md +1 -1
  196. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.zh.md +1 -1
  197. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/lib/client.js +2 -2
  198. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +9 -9
  199. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +10 -10
  200. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +2 -2
  201. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +2 -0
  202. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +2 -0
  203. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +2 -1
  204. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +12 -11
  205. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.i18n.yaml +2 -2
  206. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.md +1 -1
  207. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.zh.md +1 -1
  208. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/lib/client.js +1 -1
  209. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +11 -11
  210. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.i18n.yaml +2 -2
  211. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.md +1 -1
  212. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.zh.md +1 -1
  213. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.pdf.js +1 -1
  214. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +18 -18
  215. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +14 -14
  216. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +15 -15
  217. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +15 -15
  218. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.i18n.yaml +2 -2
  219. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.md +1 -1
  220. package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.zh.md +1 -1
  221. package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +21 -14
  222. package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +13 -13
  223. package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +3 -3
  224. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +17 -17
  225. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.i18n.yaml +2 -2
  226. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.md +4 -2
  227. package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.zh.md +4 -2
  228. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +1 -1
  229. package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +11 -11
  230. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +2 -2
  231. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +1 -1
  232. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +1 -1
  233. package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +20 -27
  234. package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +23 -23
  235. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +16 -16
  236. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +18 -18
  237. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +7 -1
  238. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +14 -14
  239. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +4 -4
  240. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +4 -0
  241. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +4 -0
  242. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +21 -11
  243. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +24 -23
  244. package/node_modules/@deepseek-ai/dsh-cmdline/package.json +1 -1
  245. package/node_modules/@deepseek-ai/dsh-command-compact/README.i18n.yaml +2 -2
  246. package/node_modules/@deepseek-ai/dsh-command-compact/README.md +1 -1
  247. package/node_modules/@deepseek-ai/dsh-command-compact/README.zh.md +1 -1
  248. package/node_modules/@deepseek-ai/dsh-command-compact/package.json +8 -8
  249. package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +11 -11
  250. package/node_modules/@deepseek-ai/dsh-command-goal/package.json +11 -11
  251. package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +1 -1
  252. package/node_modules/@deepseek-ai/dsh-commands/package.json +18 -18
  253. package/node_modules/@deepseek-ai/dsh-compaction/package.json +11 -11
  254. package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +22 -22
  255. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +16 -16
  256. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +13 -13
  257. package/node_modules/@deepseek-ai/dsh-config-editor/README.i18n.yaml +2 -2
  258. package/node_modules/@deepseek-ai/dsh-config-editor/README.md +2 -0
  259. package/node_modules/@deepseek-ai/dsh-config-editor/README.zh.md +2 -0
  260. package/node_modules/@deepseek-ai/dsh-config-editor/lib/index.js +8 -2
  261. package/node_modules/@deepseek-ai/dsh-config-editor/package.json +6 -6
  262. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +12 -6
  263. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +6 -6
  264. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +2 -2
  265. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +16 -16
  266. package/node_modules/@deepseek-ai/dsh-credentials/package.json +4 -4
  267. package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +9 -9
  268. package/node_modules/@deepseek-ai/dsh-deepseek-account/README.i18n.yaml +2 -2
  269. package/node_modules/@deepseek-ai/dsh-deepseek-account/README.md +2 -0
  270. package/node_modules/@deepseek-ai/dsh-deepseek-account/README.zh.md +2 -0
  271. package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +7 -7
  272. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.i18n.yaml +2 -2
  273. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.md +2 -0
  274. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.zh.md +2 -0
  275. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/index.js +14 -1
  276. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/index.js +17 -1
  277. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +9 -9
  278. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +1 -1
  279. package/node_modules/@deepseek-ai/dsh-deque/package.json +1 -1
  280. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +21 -21
  281. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +4 -4
  282. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +5 -5
  283. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/icon.svg +6 -4
  284. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +35 -35
  285. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +22 -22
  286. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +31 -31
  287. package/node_modules/@deepseek-ai/dsh-experimental-schedule-bundle/README.i18n.yaml +46 -0
  288. package/node_modules/@deepseek-ai/dsh-experimental-schedule-bundle/README.md +95 -0
  289. package/node_modules/@deepseek-ai/dsh-experimental-schedule-bundle/README.zh.md +95 -0
  290. package/node_modules/@deepseek-ai/dsh-experimental-schedule-bundle/cordis.patch.yml +16 -0
  291. package/node_modules/@deepseek-ai/dsh-experimental-schedule-bundle/icon.svg +18 -0
  292. package/node_modules/@deepseek-ai/dsh-experimental-schedule-bundle/lib/index.js +1 -0
  293. package/node_modules/@deepseek-ai/dsh-experimental-schedule-bundle/locale/en.json +6 -0
  294. package/node_modules/@deepseek-ai/dsh-experimental-schedule-bundle/locale/zh.json +6 -0
  295. package/node_modules/@deepseek-ai/dsh-experimental-schedule-bundle/package.json +53 -0
  296. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +6 -6
  297. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +7 -7
  298. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +22 -22
  299. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/locale/zh.json +1 -1
  300. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +5 -5
  301. package/node_modules/@deepseek-ai/dsh-file-reference/package.json +3 -3
  302. package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +9 -9
  303. package/node_modules/@deepseek-ai/dsh-fs/package.json +9 -9
  304. package/node_modules/@deepseek-ai/dsh-fs-local/package.json +5 -5
  305. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +4 -4
  306. package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +10 -10
  307. package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +1 -1
  308. package/node_modules/@deepseek-ai/dsh-goal/package.json +22 -22
  309. package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +15 -15
  310. package/node_modules/@deepseek-ai/dsh-headless/package.json +17 -17
  311. package/node_modules/@deepseek-ai/dsh-hmr/package.json +6 -6
  312. package/node_modules/@deepseek-ai/dsh-home-paths/package.json +1 -1
  313. package/node_modules/@deepseek-ai/dsh-hook-protocol/package.json +7 -7
  314. package/node_modules/@deepseek-ai/dsh-hooks-claude-code/package.json +20 -20
  315. package/node_modules/@deepseek-ai/dsh-hooks-codex/package.json +18 -18
  316. package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +1 -1
  317. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +13 -13
  318. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +2 -2
  319. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/lib/index.js +3 -3
  320. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +4 -4
  321. package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +6 -6
  322. package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/index.js +1 -1
  323. package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/types/resolver.js +1 -1
  324. package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +5 -5
  325. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +9 -9
  326. package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/README.i18n.yaml +37 -0
  327. package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/README.md +109 -0
  328. package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/README.zh.md +109 -0
  329. package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/lib/index.js +88 -0
  330. package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +45 -0
  331. package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +1 -1
  332. package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +2 -2
  333. package/node_modules/@deepseek-ai/dsh-invariants/package.json +1 -1
  334. package/node_modules/@deepseek-ai/dsh-jobs/package.json +11 -11
  335. package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +11 -11
  336. package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +1 -1
  337. package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +1 -1
  338. package/node_modules/@deepseek-ai/dsh-llm/package.json +8 -8
  339. package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +21 -21
  340. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.i18n.yaml +2 -2
  341. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.md +1 -1
  342. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.zh.md +1 -1
  343. package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +18 -13
  344. package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +37 -37
  345. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +10 -10
  346. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +9 -9
  347. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +2 -2
  348. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +21 -21
  349. package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +21 -21
  350. package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +20 -20
  351. package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +12 -12
  352. package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +14 -14
  353. package/node_modules/@deepseek-ai/dsh-native-command/README.i18n.yaml +6 -6
  354. package/node_modules/@deepseek-ai/dsh-native-command/README.md +4 -4
  355. package/node_modules/@deepseek-ai/dsh-native-command/README.zh.md +4 -4
  356. package/node_modules/@deepseek-ai/dsh-native-command/lib/index.js +22 -20
  357. package/node_modules/@deepseek-ai/dsh-native-command/lib/types/file-applications-linux.js +2 -2
  358. package/node_modules/@deepseek-ai/dsh-native-command/lib/types/file-applications-windows.js +1 -1
  359. package/node_modules/@deepseek-ai/dsh-native-command/lib/types/file-applications.js +4 -4
  360. package/node_modules/@deepseek-ai/dsh-native-command/lib/types/path-opener.js +11 -10
  361. package/node_modules/@deepseek-ai/dsh-native-command/lib/types/runner.js +5 -3
  362. package/node_modules/@deepseek-ai/dsh-native-command/package.json +2 -2
  363. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +11 -11
  364. package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +6 -6
  365. package/node_modules/@deepseek-ai/dsh-otel/README.i18n.yaml +37 -0
  366. package/node_modules/@deepseek-ai/dsh-otel/README.md +70 -0
  367. package/node_modules/@deepseek-ai/dsh-otel/README.zh.md +70 -0
  368. package/node_modules/@deepseek-ai/dsh-otel/lib/index.js +399 -0
  369. package/node_modules/@deepseek-ai/dsh-otel/package.json +47 -0
  370. package/node_modules/@deepseek-ai/dsh-output-retention/package.json +1 -1
  371. package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +1 -1
  372. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +1 -1
  373. package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +20 -20
  374. package/node_modules/@deepseek-ai/dsh-persona/package.json +4 -4
  375. package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +22 -22
  376. package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +27 -27
  377. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +13 -13
  378. package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +3 -3
  379. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +20 -20
  380. package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +8 -8
  381. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +12 -12
  382. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +9 -9
  383. package/node_modules/@deepseek-ai/dsh-sandbox/package.json +6 -6
  384. package/node_modules/@deepseek-ai/dsh-sandbox-local/README.i18n.yaml +2 -2
  385. package/node_modules/@deepseek-ai/dsh-sandbox-local/README.md +2 -0
  386. package/node_modules/@deepseek-ai/dsh-sandbox-local/README.zh.md +2 -0
  387. package/node_modules/@deepseek-ai/dsh-sandbox-local/lib/index.js +5 -1
  388. package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +9 -9
  389. package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +13 -13
  390. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.i18n.yaml +9 -9
  391. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.md +13 -2
  392. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.zh.md +15 -2
  393. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/assets/diagnose-windows-sandbox-acl/SKILL.md +46 -0
  394. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/assets/diagnose-windows-sandbox-acl/scripts/diagnose-windows-sandbox-acl.ps1 +721 -0
  395. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/index.js +2 -2
  396. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/runner.js +1 -1
  397. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/types-Cl_DXjhk.js +1411 -0
  398. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +15 -9
  399. package/node_modules/@deepseek-ai/dsh-schedule/README.i18n.yaml +2 -2
  400. package/node_modules/@deepseek-ai/dsh-schedule/README.md +1 -1
  401. package/node_modules/@deepseek-ai/dsh-schedule/README.zh.md +1 -1
  402. package/node_modules/@deepseek-ai/dsh-schedule/locale/en.json +6 -0
  403. package/node_modules/@deepseek-ai/dsh-schedule/locale/zh.json +6 -0
  404. package/node_modules/@deepseek-ai/dsh-schedule/package.json +32 -30
  405. package/node_modules/@deepseek-ai/dsh-scope/package.json +3 -3
  406. package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +5 -5
  407. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +21 -21
  408. package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +28 -28
  409. package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +7 -7
  410. package/node_modules/@deepseek-ai/dsh-session/README.i18n.yaml +14 -11
  411. package/node_modules/@deepseek-ai/dsh-session/README.md +7 -3
  412. package/node_modules/@deepseek-ai/dsh-session/README.zh.md +8 -6
  413. package/node_modules/@deepseek-ai/dsh-session/lib/index.js +131 -91
  414. package/node_modules/@deepseek-ai/dsh-session/lib/types/index.js +1 -1
  415. package/node_modules/@deepseek-ai/dsh-session/lib/types/repair.js +113 -80
  416. package/node_modules/@deepseek-ai/dsh-session/package.json +9 -9
  417. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +15 -15
  418. package/node_modules/@deepseek-ai/dsh-session-format/package.json +2 -2
  419. package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +9 -9
  420. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +4 -4
  421. package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +6 -6
  422. package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +4 -4
  423. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +3 -3
  424. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.i18n.yaml +2 -2
  425. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.md +4 -2
  426. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.zh.md +4 -2
  427. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/index.js +3 -3
  428. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/types/index.js +4 -4
  429. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +15 -15
  430. package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +21 -21
  431. package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +9 -9
  432. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +2 -2
  433. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +11 -11
  434. package/node_modules/@deepseek-ai/dsh-session-projection/package.json +3 -3
  435. package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +10 -10
  436. package/node_modules/@deepseek-ai/dsh-session-query/package.json +18 -18
  437. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +9 -9
  438. package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +1 -1
  439. package/node_modules/@deepseek-ai/dsh-session-reference/package.json +34 -34
  440. package/node_modules/@deepseek-ai/dsh-session-stats/package.json +7 -7
  441. package/node_modules/@deepseek-ai/dsh-session-telemetry/README.i18n.yaml +4 -4
  442. package/node_modules/@deepseek-ai/dsh-session-telemetry/README.md +3 -1
  443. package/node_modules/@deepseek-ai/dsh-session-telemetry/README.zh.md +3 -1
  444. package/node_modules/@deepseek-ai/dsh-session-telemetry/lib/index.js +7 -2
  445. package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +5 -5
  446. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/README.i18n.yaml +16 -16
  447. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/README.md +18 -13
  448. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/README.zh.md +18 -13
  449. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/lib/index.js +46 -49
  450. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +23 -24
  451. package/node_modules/@deepseek-ai/dsh-session-title/package.json +16 -16
  452. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +13 -13
  453. package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +10 -10
  454. package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +7 -7
  455. package/node_modules/@deepseek-ai/dsh-settings/package.json +12 -12
  456. package/node_modules/@deepseek-ai/dsh-shell/package.json +5 -5
  457. package/node_modules/@deepseek-ai/dsh-shell-env/package.json +11 -11
  458. package/node_modules/@deepseek-ai/dsh-skill/package.json +6 -6
  459. package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +3 -3
  460. package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +7 -7
  461. package/node_modules/@deepseek-ai/dsh-skill-office/package.json +3 -3
  462. package/node_modules/@deepseek-ai/dsh-spill/package.json +7 -7
  463. package/node_modules/@deepseek-ai/dsh-spill-local/package.json +6 -6
  464. package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +30 -30
  465. package/node_modules/@deepseek-ai/dsh-storage/package.json +1 -1
  466. package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +5 -5
  467. package/node_modules/@deepseek-ai/dsh-storage-json/package.json +3 -3
  468. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +1 -1
  469. package/node_modules/@deepseek-ai/dsh-subagent/package.json +48 -48
  470. package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +20 -20
  471. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +14 -14
  472. package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +22 -22
  473. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +17 -17
  474. package/node_modules/@deepseek-ai/dsh-subprocess/package.json +4 -4
  475. package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +8 -8
  476. package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +7 -7
  477. package/node_modules/@deepseek-ai/dsh-terminal/package.json +6 -6
  478. package/node_modules/@deepseek-ai/dsh-terminal-bash/README.i18n.yaml +4 -4
  479. package/node_modules/@deepseek-ai/dsh-terminal-bash/README.md +2 -2
  480. package/node_modules/@deepseek-ai/dsh-terminal-bash/README.zh.md +2 -2
  481. package/node_modules/@deepseek-ai/dsh-terminal-bash/lib/index.js +12 -3
  482. package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +17 -17
  483. package/node_modules/@deepseek-ai/dsh-time-context/README.i18n.yaml +2 -2
  484. package/node_modules/@deepseek-ai/dsh-time-context/README.md +1 -1
  485. package/node_modules/@deepseek-ai/dsh-time-context/README.zh.md +1 -1
  486. package/node_modules/@deepseek-ai/dsh-time-context/locale/en.json +6 -0
  487. package/node_modules/@deepseek-ai/dsh-time-context/locale/zh.json +6 -0
  488. package/node_modules/@deepseek-ai/dsh-time-context/package.json +23 -21
  489. package/node_modules/@deepseek-ai/dsh-timeout/package.json +1 -1
  490. package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +11 -11
  491. package/node_modules/@deepseek-ai/dsh-token-meter/package.json +14 -14
  492. package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +9 -9
  493. package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +29 -29
  494. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +19 -19
  495. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +7 -7
  496. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +91 -5
  497. package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +10 -10
  498. package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +29 -29
  499. package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +20 -20
  500. package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +16 -16
  501. package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +15 -15
  502. package/node_modules/@deepseek-ai/dsh-tool-present/package.json +17 -17
  503. package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +28 -28
  504. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +20 -20
  505. package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +19 -19
  506. package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +12 -12
  507. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +19 -19
  508. package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +26 -26
  509. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +19 -19
  510. package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +15 -15
  511. package/node_modules/@deepseek-ai/dsh-tool-web/package.json +19 -19
  512. package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +22 -22
  513. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +6 -6
  514. package/node_modules/@deepseek-ai/dsh-tools/package.json +24 -24
  515. package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +8 -8
  516. package/node_modules/@deepseek-ai/dsh-tui-app/README.md +9 -6
  517. package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +9 -6
  518. package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +567 -40
  519. package/node_modules/@deepseek-ai/dsh-tui-app/package.json +76 -76
  520. package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +4 -4
  521. package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +2 -2
  522. package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +2 -2
  523. package/node_modules/@deepseek-ai/dsh-user-approval/package.json +15 -15
  524. package/node_modules/@deepseek-ai/dsh-user-questions/package.json +7 -7
  525. package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +1 -1
  526. package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +1 -1
  527. package/node_modules/@deepseek-ai/dsh-util-time/package.json +1 -1
  528. package/node_modules/@deepseek-ai/dsh-util-values/README.i18n.yaml +2 -2
  529. package/node_modules/@deepseek-ai/dsh-util-values/README.md +1 -1
  530. package/node_modules/@deepseek-ai/dsh-util-values/README.zh.md +1 -1
  531. package/node_modules/@deepseek-ai/dsh-util-values/lib/index.js +2 -2
  532. package/node_modules/@deepseek-ai/dsh-util-values/package.json +1 -1
  533. package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +1 -1
  534. package/node_modules/@deepseek-ai/dsh-web/package.json +3 -3
  535. package/node_modules/@deepseek-ai/dsh-web-app/README.i18n.yaml +6 -6
  536. package/node_modules/@deepseek-ai/dsh-web-app/README.md +6 -2
  537. package/node_modules/@deepseek-ai/dsh-web-app/README.zh.md +6 -2
  538. package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +25 -19
  539. package/node_modules/@deepseek-ai/dsh-web-app/package.json +139 -137
  540. package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +7 -7
  541. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Cq6ljTv2.css +1 -0
  542. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Dy0OhsZ5.js +127 -0
  543. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +2 -2
  544. package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +16 -16
  545. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.i18n.yaml +15 -12
  546. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.md +12 -7
  547. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.zh.md +12 -7
  548. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/lib/index.js +61 -15
  549. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +20 -13
  550. package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +6 -6
  551. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +6 -6
  552. package/node_modules/@deepseek-ai/dsh-webhook/package.json +21 -21
  553. package/node_modules/@deepseek-ai/dsh-webhook-github/package.json +10 -10
  554. package/node_modules/@deepseek-ai/dsh-win32-process/package.json +3 -3
  555. package/node_modules/@deepseek-ai/dsh-workflow/package.json +11 -11
  556. package/node_modules/@deepseek-ai/dsh-workflow-ptc/lib/index.js +1 -1
  557. package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +34 -34
  558. package/node_modules/@deepseek-ai/dsh-workspace/package.json +14 -14
  559. package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +11 -11
  560. package/node_modules/@keyv/serialize/LICENSE +22 -0
  561. package/node_modules/@keyv/serialize/README.md +15 -0
  562. package/node_modules/@keyv/serialize/dist/index.cjs +84 -0
  563. package/node_modules/@keyv/serialize/dist/index.js +58 -0
  564. package/node_modules/@keyv/serialize/package.json +49 -0
  565. package/node_modules/@sindresorhus/is/distribution/index.js +1354 -0
  566. package/node_modules/@sindresorhus/is/distribution/types.js +2 -0
  567. package/node_modules/@sindresorhus/is/distribution/utilities.js +3 -0
  568. package/node_modules/@sindresorhus/is/license +9 -0
  569. package/node_modules/@sindresorhus/is/package.json +76 -0
  570. package/node_modules/@sindresorhus/is/readme.md +844 -0
  571. package/node_modules/@types/http-cache-semantics/LICENSE +21 -0
  572. package/node_modules/@types/http-cache-semantics/README.md +15 -0
  573. package/node_modules/@types/http-cache-semantics/package.json +25 -0
  574. package/node_modules/byte-counter/index.js +27 -0
  575. package/node_modules/byte-counter/license +9 -0
  576. package/node_modules/byte-counter/node.js +15 -0
  577. package/node_modules/byte-counter/package.json +70 -0
  578. package/node_modules/byte-counter/readme.md +127 -0
  579. package/node_modules/byte-counter/utilities.js +13 -0
  580. package/node_modules/cacheable-lookup/LICENSE +21 -0
  581. package/node_modules/cacheable-lookup/README.md +245 -0
  582. package/node_modules/cacheable-lookup/package.json +57 -0
  583. package/node_modules/cacheable-lookup/source/index.js +452 -0
  584. package/node_modules/cacheable-request/LICENSE +19 -0
  585. package/node_modules/cacheable-request/README.md +341 -0
  586. package/node_modules/cacheable-request/dist/index.js +351 -0
  587. package/node_modules/cacheable-request/dist/types.js +19 -0
  588. package/node_modules/cacheable-request/package.json +58 -0
  589. package/node_modules/decompress-response/index.js +90 -0
  590. package/node_modules/decompress-response/license +9 -0
  591. package/node_modules/decompress-response/package.json +56 -0
  592. package/node_modules/decompress-response/readme.md +36 -0
  593. package/node_modules/form-data-encoder/lib/index.cjs +375 -0
  594. package/node_modules/form-data-encoder/lib/index.js +347 -0
  595. package/node_modules/form-data-encoder/license +21 -0
  596. package/node_modules/form-data-encoder/package.json +64 -0
  597. package/node_modules/form-data-encoder/readme.md +369 -0
  598. package/node_modules/got/dist/source/as-promise/index.js +204 -0
  599. package/node_modules/got/dist/source/as-promise/types.js +17 -0
  600. package/node_modules/got/dist/source/core/calculate-retry-delay.js +29 -0
  601. package/node_modules/got/dist/source/core/diagnostics-channel.js +49 -0
  602. package/node_modules/got/dist/source/core/errors.js +147 -0
  603. package/node_modules/got/dist/source/core/index.js +1339 -0
  604. package/node_modules/got/dist/source/core/options.js +1838 -0
  605. package/node_modules/got/dist/source/core/parse-link-header.js +33 -0
  606. package/node_modules/got/dist/source/core/response.js +41 -0
  607. package/node_modules/got/dist/source/core/timed-out.js +136 -0
  608. package/node_modules/got/dist/source/core/utils/defer-to-connect.js +44 -0
  609. package/node_modules/got/dist/source/core/utils/get-body-size.js +37 -0
  610. package/node_modules/got/dist/source/core/utils/is-client-request.js +4 -0
  611. package/node_modules/got/dist/source/core/utils/is-form-data.js +4 -0
  612. package/node_modules/got/dist/source/core/utils/is-unix-socket-url.js +25 -0
  613. package/node_modules/got/dist/source/core/utils/options-to-url.js +48 -0
  614. package/node_modules/got/dist/source/core/utils/proxy-events.js +15 -0
  615. package/node_modules/got/dist/source/core/utils/timer.js +162 -0
  616. package/node_modules/got/dist/source/core/utils/unhandle.js +20 -0
  617. package/node_modules/got/dist/source/core/utils/url-to-options.js +22 -0
  618. package/node_modules/got/dist/source/core/utils/weakable-map.js +24 -0
  619. package/node_modules/got/dist/source/create.js +188 -0
  620. package/node_modules/got/dist/source/index.js +22 -0
  621. package/node_modules/got/dist/source/types.js +1 -0
  622. package/node_modules/got/license +9 -0
  623. package/node_modules/got/package.json +151 -0
  624. package/node_modules/got/readme.md +478 -0
  625. package/node_modules/http-cache-semantics/LICENSE +9 -0
  626. package/node_modules/http-cache-semantics/README.md +268 -0
  627. package/node_modules/http-cache-semantics/index.js +928 -0
  628. package/node_modules/http-cache-semantics/package.json +19 -0
  629. package/node_modules/http2-wrapper/LICENSE +21 -0
  630. package/node_modules/http2-wrapper/README.md +459 -0
  631. package/node_modules/http2-wrapper/package.json +81 -0
  632. package/node_modules/http2-wrapper/source/agent.js +796 -0
  633. package/node_modules/http2-wrapper/source/auto.js +225 -0
  634. package/node_modules/http2-wrapper/source/client-request.js +563 -0
  635. package/node_modules/http2-wrapper/source/incoming-message.js +73 -0
  636. package/node_modules/http2-wrapper/source/index.js +50 -0
  637. package/node_modules/http2-wrapper/source/proxies/get-auth-headers.js +17 -0
  638. package/node_modules/http2-wrapper/source/proxies/h1-over-h2.js +90 -0
  639. package/node_modules/http2-wrapper/source/proxies/h2-over-h1.js +48 -0
  640. package/node_modules/http2-wrapper/source/proxies/h2-over-h2.js +32 -0
  641. package/node_modules/http2-wrapper/source/proxies/h2-over-hx.js +40 -0
  642. package/node_modules/http2-wrapper/source/proxies/initialize.js +21 -0
  643. package/node_modules/http2-wrapper/source/proxies/unexpected-status-code-error.js +11 -0
  644. package/node_modules/http2-wrapper/source/utils/calculate-server-name.js +29 -0
  645. package/node_modules/http2-wrapper/source/utils/check-type.js +20 -0
  646. package/node_modules/http2-wrapper/source/utils/delay-async-destroy.js +33 -0
  647. package/node_modules/http2-wrapper/source/utils/errors.js +51 -0
  648. package/node_modules/http2-wrapper/source/utils/is-request-pseudo-header.js +13 -0
  649. package/node_modules/http2-wrapper/source/utils/js-stream-socket.js +8 -0
  650. package/node_modules/http2-wrapper/source/utils/proxy-events.js +7 -0
  651. package/node_modules/http2-wrapper/source/utils/proxy-socket-handler.js +102 -0
  652. package/node_modules/http2-wrapper/source/utils/validate-header-name.js +11 -0
  653. package/node_modules/http2-wrapper/source/utils/validate-header-value.js +17 -0
  654. package/node_modules/keyv/LICENSE +22 -0
  655. package/node_modules/keyv/README.md +828 -0
  656. package/node_modules/keyv/dist/index.cjs +990 -0
  657. package/node_modules/keyv/dist/index.js +964 -0
  658. package/node_modules/keyv/package.json +80 -0
  659. package/node_modules/koffi/CHANGELOG.md +1 -87
  660. package/node_modules/koffi/README.md +8 -12
  661. package/node_modules/koffi/cnoke.cjs +66 -117
  662. package/node_modules/koffi/doc/benchmarks.md +1 -35
  663. package/node_modules/koffi/doc/composites.md +20 -9
  664. package/node_modules/koffi/doc/index.md +10 -12
  665. package/node_modules/koffi/doc/migration.md +1 -1
  666. package/node_modules/koffi/lib/native/base/base.cc +187 -338
  667. package/node_modules/koffi/lib/native/base/base.hh +39 -150
  668. package/node_modules/koffi/package.json +1 -1
  669. package/node_modules/koffi/src/koffi/CMakeLists.txt +5 -12
  670. package/node_modules/koffi/src/koffi/index.cjs +69 -112
  671. package/node_modules/koffi/src/koffi/index.js +66 -109
  672. package/node_modules/koffi/src/koffi/indirect.cjs +69 -112
  673. package/node_modules/koffi/src/koffi/indirect.js +66 -109
  674. package/node_modules/koffi/src/koffi/src/abi/arm64.cc +1127 -87
  675. package/node_modules/koffi/src/koffi/src/abi/arm64_asm.S +15 -54
  676. package/node_modules/koffi/src/koffi/src/abi/arm64_asm.asm +20 -63
  677. package/node_modules/koffi/src/koffi/src/abi/loong64_asm.S +29 -55
  678. package/node_modules/koffi/src/koffi/src/abi/riscv64.cc +1134 -120
  679. package/node_modules/koffi/src/koffi/src/abi/riscv64_asm.S +29 -55
  680. package/node_modules/koffi/src/koffi/src/abi/x64sysv.cc +1124 -76
  681. package/node_modules/koffi/src/koffi/src/abi/x64sysv_asm.S +22 -52
  682. package/node_modules/koffi/src/koffi/src/abi/x64win.cc +1015 -46
  683. package/node_modules/koffi/src/koffi/src/abi/x64win_asm.S +32 -32
  684. package/node_modules/koffi/src/koffi/src/abi/x64win_asm.asm +39 -39
  685. package/node_modules/koffi/src/koffi/src/abi/x86.cc +1048 -99
  686. package/node_modules/koffi/src/koffi/src/abi/x86_asm.S +14 -15
  687. package/node_modules/koffi/src/koffi/src/abi/x86_asm.asm +20 -21
  688. package/node_modules/koffi/src/koffi/src/call.cc +280 -464
  689. package/node_modules/koffi/src/koffi/src/call.hh +46 -67
  690. package/node_modules/koffi/src/koffi/src/ffi.cc +224 -193
  691. package/node_modules/koffi/src/koffi/src/ffi.hh +145 -63
  692. package/node_modules/koffi/src/koffi/src/parser.cc +3 -3
  693. package/node_modules/koffi/src/koffi/src/static.cjs +0 -40
  694. package/node_modules/koffi/src/koffi/src/static.js +0 -40
  695. package/node_modules/koffi/src/koffi/src/type.cc +51 -148
  696. package/node_modules/koffi/src/koffi/src/type.hh +8 -19
  697. package/node_modules/koffi/src/koffi/src/util.cc +179 -108
  698. package/node_modules/koffi/src/koffi/src/util.hh +114 -36
  699. package/node_modules/koffi/src/koffi/src/win32.cc +0 -2
  700. package/node_modules/koffi/src/koffi/src/win32.hh +14 -17
  701. package/node_modules/koffi/vendor/node-addon-api/README.md +1 -1
  702. package/node_modules/koffi/vendor/node-addon-api/napi-inl.h +0 -39
  703. package/node_modules/koffi/vendor/node-addon-api/napi.h +0 -43
  704. package/node_modules/lowercase-keys/index.js +3 -0
  705. package/node_modules/lowercase-keys/license +9 -0
  706. package/node_modules/lowercase-keys/package.json +38 -0
  707. package/node_modules/lowercase-keys/readme.md +32 -0
  708. package/node_modules/micromark-util-types/package.json +2 -36
  709. package/node_modules/mimic-response/index.js +75 -0
  710. package/node_modules/mimic-response/license +9 -0
  711. package/node_modules/mimic-response/package.json +41 -0
  712. package/node_modules/mimic-response/readme.md +78 -0
  713. package/node_modules/normalize-url/index.js +305 -0
  714. package/node_modules/normalize-url/license +9 -0
  715. package/node_modules/normalize-url/package.json +53 -0
  716. package/node_modules/normalize-url/readme.md +347 -0
  717. package/node_modules/p-cancelable/index.js +119 -0
  718. package/node_modules/p-cancelable/license +9 -0
  719. package/node_modules/p-cancelable/package.json +47 -0
  720. package/node_modules/p-cancelable/readme.md +152 -0
  721. package/node_modules/quick-lru/index.js +123 -0
  722. package/node_modules/quick-lru/license +9 -0
  723. package/node_modules/quick-lru/package.json +40 -0
  724. package/node_modules/quick-lru/readme.md +111 -0
  725. package/node_modules/resolve-alpn/LICENSE +22 -0
  726. package/node_modules/resolve-alpn/README.md +60 -0
  727. package/node_modules/resolve-alpn/index.js +43 -0
  728. package/node_modules/resolve-alpn/package.json +31 -0
  729. package/node_modules/responselike/index.js +49 -0
  730. package/node_modules/responselike/license +10 -0
  731. package/node_modules/responselike/package.json +46 -0
  732. package/node_modules/responselike/readme.md +75 -0
  733. package/node_modules/sharp/dist/is.cjs +8 -2
  734. package/node_modules/sharp/dist/is.mjs +8 -2
  735. package/node_modules/sharp/dist/operation.cjs +2 -2
  736. package/node_modules/sharp/dist/operation.mjs +2 -2
  737. package/node_modules/sharp/dist/output.cjs +1 -0
  738. package/node_modules/sharp/dist/output.mjs +1 -0
  739. package/node_modules/sharp/dist/resize.cjs +14 -14
  740. package/node_modules/sharp/dist/resize.mjs +14 -14
  741. package/node_modules/sharp/dist/sharp.cjs +3 -3
  742. package/node_modules/sharp/dist/sharp.mjs +3 -3
  743. package/node_modules/sharp/package.json +10 -10
  744. package/node_modules/sharp/src/binding.gyp +1 -1
  745. package/node_modules/sharp/src/common.cc +4 -4
  746. package/node_modules/sharp/src/common.h +2 -2
  747. package/node_modules/sharp/src/pipeline.cc +31 -6
  748. package/node_modules/sharp/src/utilities.cc +1 -1
  749. package/node_modules/type-fest/license-cc0 +121 -0
  750. package/node_modules/type-fest/license-mit +9 -0
  751. package/node_modules/type-fest/package.json +84 -0
  752. package/node_modules/type-fest/readme.md +1060 -0
  753. package/package.json +376 -331
  754. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-DUvMhLle.css +0 -1
  755. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Q6zc2uHV.js +0 -127
  756. package/node_modules/@opentelemetry/exporter-logs-otlp-http/LICENSE +0 -201
  757. package/node_modules/@opentelemetry/exporter-logs-otlp-http/README.md +0 -112
  758. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/esm/index.js +0 -6
  759. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/esm/platform/browser/OTLPLogExporter.js +0 -16
  760. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/esm/platform/browser/index.js +0 -6
  761. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/esm/platform/index.js +0 -6
  762. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/esm/platform/node/OTLPLogExporter.js +0 -18
  763. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/esm/platform/node/index.js +0 -6
  764. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/esm/version.js +0 -7
  765. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/esnext/index.js +0 -6
  766. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/esnext/platform/browser/OTLPLogExporter.js +0 -16
  767. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/esnext/platform/browser/index.js +0 -6
  768. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/esnext/platform/index.js +0 -6
  769. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/esnext/platform/node/OTLPLogExporter.js +0 -18
  770. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/esnext/platform/node/index.js +0 -6
  771. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/esnext/version.js +0 -7
  772. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/src/index.js +0 -10
  773. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/src/platform/browser/OTLPLogExporter.js +0 -20
  774. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/src/platform/browser/index.js +0 -10
  775. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/src/platform/index.js +0 -10
  776. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/src/platform/node/OTLPLogExporter.js +0 -22
  777. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/src/platform/node/index.js +0 -10
  778. package/node_modules/@opentelemetry/exporter-logs-otlp-http/build/src/version.js +0 -10
  779. package/node_modules/@opentelemetry/exporter-logs-otlp-http/package.json +0 -91
  780. package/node_modules/koffi/src/koffi/src/abi/arm32.cc +0 -302
  781. package/node_modules/koffi/src/koffi/src/abi/arm32_asm.S +0 -199
  782. package/node_modules/koffi/src/koffi/src/abi/ppc64.cc +0 -222
  783. package/node_modules/koffi/src/koffi/src/abi/ppc64_asm.S +0 -266
  784. package/node_modules/koffi/src/koffi/src/interp.cc +0 -1594
  785. package/node_modules/koffi/src/koffi/src/interp.hh +0 -142
  786. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel/node_modules/@opentelemetry/core → dsh-otel/node_modules/@opentelemetry/resources}/LICENSE +0 -0
  787. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/README.md +0 -0
  788. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/Resource.js +0 -0
  789. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/ResourceImpl.js +0 -0
  790. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/config.js +0 -0
  791. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/default-service-name.js +0 -0
  792. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detect-resources.js +0 -0
  793. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/EnvDetector.js +0 -0
  794. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/NoopDetector.js +0 -0
  795. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/index.js +0 -0
  796. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/platform/browser/HostDetector.js +0 -0
  797. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/platform/browser/OSDetector.js +0 -0
  798. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/platform/browser/ProcessDetector.js +0 -0
  799. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/platform/browser/ServiceInstanceIdDetector.js +0 -0
  800. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/platform/browser/index.js +0 -0
  801. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/platform/index.js +0 -0
  802. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/HostDetector.js +0 -0
  803. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/OSDetector.js +0 -0
  804. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/ProcessDetector.js +0 -0
  805. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/ServiceInstanceIdDetector.js +0 -0
  806. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/index.js +0 -0
  807. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/execAsync.js +0 -0
  808. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-bsd.js +0 -0
  809. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-darwin.js +0 -0
  810. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-linux.js +0 -0
  811. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-unsupported.js +0 -0
  812. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-win.js +0 -0
  813. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId.js +0 -0
  814. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/utils.js +0 -0
  815. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/index.js +0 -0
  816. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/semconv.js +0 -0
  817. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel/node_modules/@opentelemetry/core/build/esm/common → dsh-otel/node_modules/@opentelemetry/resources/build/esm}/types.js +0 -0
  818. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esm/utils.js +0 -0
  819. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel/node_modules/@opentelemetry/core → dsh-otel/node_modules/@opentelemetry/resources}/build/esm/version.js +0 -0
  820. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/Resource.js +0 -0
  821. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/ResourceImpl.js +0 -0
  822. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/config.js +0 -0
  823. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/default-service-name.js +0 -0
  824. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detect-resources.js +0 -0
  825. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/EnvDetector.js +0 -0
  826. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/NoopDetector.js +0 -0
  827. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/index.js +0 -0
  828. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/browser/HostDetector.js +0 -0
  829. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/browser/OSDetector.js +0 -0
  830. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/browser/ProcessDetector.js +0 -0
  831. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/browser/ServiceInstanceIdDetector.js +0 -0
  832. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/browser/index.js +0 -0
  833. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/index.js +0 -0
  834. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/HostDetector.js +0 -0
  835. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/OSDetector.js +0 -0
  836. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/ProcessDetector.js +0 -0
  837. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/ServiceInstanceIdDetector.js +0 -0
  838. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/index.js +0 -0
  839. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/machine-id/execAsync.js +0 -0
  840. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/machine-id/getMachineId-bsd.js +0 -0
  841. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/machine-id/getMachineId-darwin.js +0 -0
  842. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/machine-id/getMachineId-linux.js +0 -0
  843. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/machine-id/getMachineId-unsupported.js +0 -0
  844. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/machine-id/getMachineId-win.js +0 -0
  845. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/machine-id/getMachineId.js +0 -0
  846. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/detectors/platform/node/utils.js +0 -0
  847. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/index.js +0 -0
  848. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/semconv.js +0 -0
  849. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel/node_modules/@opentelemetry/core/build/esnext/common → dsh-otel/node_modules/@opentelemetry/resources/build/esnext}/types.js +0 -0
  850. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/esnext/utils.js +0 -0
  851. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel/node_modules/@opentelemetry/core → dsh-otel/node_modules/@opentelemetry/resources}/build/esnext/version.js +0 -0
  852. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/Resource.js +0 -0
  853. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/ResourceImpl.js +0 -0
  854. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/config.js +0 -0
  855. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/default-service-name.js +0 -0
  856. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detect-resources.js +0 -0
  857. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/EnvDetector.js +0 -0
  858. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/NoopDetector.js +0 -0
  859. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/index.js +0 -0
  860. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/platform/browser/HostDetector.js +0 -0
  861. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/platform/browser/OSDetector.js +0 -0
  862. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/platform/browser/ProcessDetector.js +0 -0
  863. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/platform/browser/ServiceInstanceIdDetector.js +0 -0
  864. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/platform/browser/index.js +0 -0
  865. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/platform/index.js +0 -0
  866. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/HostDetector.js +0 -0
  867. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/OSDetector.js +0 -0
  868. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/ProcessDetector.js +0 -0
  869. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/ServiceInstanceIdDetector.js +0 -0
  870. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/index.js +0 -0
  871. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/execAsync.js +0 -0
  872. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-bsd.js +0 -0
  873. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-darwin.js +0 -0
  874. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-linux.js +0 -0
  875. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-unsupported.js +0 -0
  876. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-win.js +0 -0
  877. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId.js +0 -0
  878. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/utils.js +0 -0
  879. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/index.js +0 -0
  880. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/semconv.js +0 -0
  881. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel/node_modules/@opentelemetry/core/build/src/common → dsh-otel/node_modules/@opentelemetry/resources/build/src}/types.js +0 -0
  882. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/build/src/utils.js +0 -0
  883. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel/node_modules/@opentelemetry/core → dsh-otel/node_modules/@opentelemetry/resources}/build/src/version.js +0 -0
  884. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel/node_modules/@opentelemetry/resources → dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core}/LICENSE +0 -0
  885. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/README.md +0 -0
  886. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/ExportResult.js +0 -0
  887. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/baggage/constants.js +0 -0
  888. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/baggage/propagation/W3CBaggagePropagator.js +0 -0
  889. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/baggage/utils.js +0 -0
  890. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/common/anchored-clock.js +0 -0
  891. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/common/attributes.js +0 -0
  892. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/common/global-error-handler.js +0 -0
  893. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/common/globalThis.js +0 -0
  894. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/common/logging-error-handler.js +0 -0
  895. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/common/time.js +0 -0
  896. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/common/timer-util.js +0 -0
  897. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel/node_modules/@opentelemetry/resources/build/esm → dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esm/common}/types.js +0 -0
  898. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/index.js +0 -0
  899. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/internal/exporter.js +0 -0
  900. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/internal/validators.js +0 -0
  901. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/platform/browser/environment.js +0 -0
  902. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/platform/browser/index.js +0 -0
  903. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/platform/browser/sdk-info.js +0 -0
  904. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/platform/index.js +0 -0
  905. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/platform/node/environment.js +0 -0
  906. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/platform/node/index.js +0 -0
  907. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/platform/node/sdk-info.js +0 -0
  908. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/propagation/composite.js +0 -0
  909. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/semconv.js +0 -0
  910. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/trace/TraceState.js +0 -0
  911. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/trace/W3CTraceContextPropagator.js +0 -0
  912. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/trace/rpc-metadata.js +0 -0
  913. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/trace/suppress-tracing.js +0 -0
  914. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/utils/callback.js +0 -0
  915. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/utils/configuration.js +0 -0
  916. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/utils/lodash.merge.js +0 -0
  917. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/utils/merge.js +0 -0
  918. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/utils/promise.js +0 -0
  919. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/utils/timeout.js +0 -0
  920. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esm/utils/url.js +0 -0
  921. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel/node_modules/@opentelemetry/resources → dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core}/build/esm/version.js +0 -0
  922. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/ExportResult.js +0 -0
  923. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/baggage/constants.js +0 -0
  924. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/baggage/propagation/W3CBaggagePropagator.js +0 -0
  925. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/baggage/utils.js +0 -0
  926. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/common/anchored-clock.js +0 -0
  927. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/common/attributes.js +0 -0
  928. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/common/global-error-handler.js +0 -0
  929. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/common/globalThis.js +0 -0
  930. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/common/logging-error-handler.js +0 -0
  931. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/common/time.js +0 -0
  932. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/common/timer-util.js +0 -0
  933. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel/node_modules/@opentelemetry/resources/build/esnext → dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/esnext/common}/types.js +0 -0
  934. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/index.js +0 -0
  935. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/internal/exporter.js +0 -0
  936. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/internal/validators.js +0 -0
  937. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/platform/browser/environment.js +0 -0
  938. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/platform/browser/index.js +0 -0
  939. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/platform/browser/sdk-info.js +0 -0
  940. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/platform/index.js +0 -0
  941. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/platform/node/environment.js +0 -0
  942. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/platform/node/index.js +0 -0
  943. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/platform/node/sdk-info.js +0 -0
  944. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/propagation/composite.js +0 -0
  945. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/semconv.js +0 -0
  946. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/trace/TraceState.js +0 -0
  947. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/trace/W3CTraceContextPropagator.js +0 -0
  948. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/trace/rpc-metadata.js +0 -0
  949. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/trace/suppress-tracing.js +0 -0
  950. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/utils/callback.js +0 -0
  951. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/utils/configuration.js +0 -0
  952. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/utils/lodash.merge.js +0 -0
  953. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/utils/merge.js +0 -0
  954. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/utils/promise.js +0 -0
  955. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/utils/timeout.js +0 -0
  956. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/esnext/utils/url.js +0 -0
  957. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel/node_modules/@opentelemetry/resources → dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core}/build/esnext/version.js +0 -0
  958. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/ExportResult.js +0 -0
  959. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/baggage/constants.js +0 -0
  960. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/baggage/propagation/W3CBaggagePropagator.js +0 -0
  961. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/baggage/utils.js +0 -0
  962. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/common/anchored-clock.js +0 -0
  963. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/common/attributes.js +0 -0
  964. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/common/global-error-handler.js +0 -0
  965. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/common/globalThis.js +0 -0
  966. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/common/logging-error-handler.js +0 -0
  967. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/common/time.js +0 -0
  968. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/common/timer-util.js +0 -0
  969. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel/node_modules/@opentelemetry/resources/build/src → dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/build/src/common}/types.js +0 -0
  970. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/index.js +0 -0
  971. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/internal/exporter.js +0 -0
  972. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/internal/validators.js +0 -0
  973. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/platform/browser/environment.js +0 -0
  974. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/platform/browser/index.js +0 -0
  975. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/platform/browser/sdk-info.js +0 -0
  976. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/platform/index.js +0 -0
  977. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/platform/node/environment.js +0 -0
  978. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/platform/node/index.js +0 -0
  979. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/platform/node/sdk-info.js +0 -0
  980. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/propagation/composite.js +0 -0
  981. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/semconv.js +0 -0
  982. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/trace/TraceState.js +0 -0
  983. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/trace/W3CTraceContextPropagator.js +0 -0
  984. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/trace/rpc-metadata.js +0 -0
  985. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/trace/suppress-tracing.js +0 -0
  986. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/utils/callback.js +0 -0
  987. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/utils/configuration.js +0 -0
  988. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/utils/lodash.merge.js +0 -0
  989. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/utils/merge.js +0 -0
  990. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/utils/promise.js +0 -0
  991. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/utils/timeout.js +0 -0
  992. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/build/src/utils/url.js +0 -0
  993. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel/node_modules/@opentelemetry/resources → dsh-otel/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core}/build/src/version.js +0 -0
  994. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel/node_modules/@opentelemetry/resources}/node_modules/@opentelemetry/core/package.json +0 -0
  995. /package/node_modules/@deepseek-ai/{dsh-session-telemetry-otel → dsh-otel}/node_modules/@opentelemetry/resources/package.json +0 -0
@@ -21,6 +21,8 @@ import { Readable } from "node:stream";
21
21
  import { pipeline } from "node:stream/promises";
22
22
  import { DEFAULT_SESSION_LOG_COMPRESSION_LEVEL, flushLiveSessionLog, readSessionLogText, sessionLogExportDeps, sessionLogZipFilename, streamSessionLogZip } from "@deepseek-ai/dsh-session-log-export";
23
23
  import { planReviewOptions } from "@deepseek-ai/dsh-user-questions";
24
+ import { isCompactCheckpointSource } from "@deepseek-ai/dsh-compaction/checkpoint";
25
+ import { isSurfaceEvent } from "@deepseek-ai/dsh-session/surface";
24
26
  //#region lib/types/resume-model.js
25
27
  /**
26
28
  * Resume-time model selection: the last logged route, else the launch default.
@@ -3636,12 +3638,15 @@ var NoticeBlock = class {
3636
3638
  * complete, so the walk, the inspector, and any reader see every row whatever
3637
3639
  * the transcript draws. Snapshot contributions keep their names above their
3638
3640
  * own rows, and the Left/Right walk still addresses one contribution at a time.
3641
+ * A compaction checkpoint draws as one of these with an accent title and its
3642
+ * compressed and preserved account pinned above the folded summary.
3639
3643
  */
3640
3644
  var ContextBlock = class {
3641
3645
  theme;
3642
3646
  title;
3643
3647
  sectionParts;
3644
3648
  turn;
3649
+ options;
3645
3650
  navigable = true;
3646
3651
  blockKind = "context";
3647
3652
  foldable = true;
@@ -3657,12 +3662,14 @@ var ContextBlock = class {
3657
3662
  * @param title - form and producer, a notice summary, or `system prompt`.
3658
3663
  * @param sectionParts - the model-facing rows, one part per snapshot contribution.
3659
3664
  * @param turn - the turn the message was appended in.
3665
+ * @param options - the accent title and the pinned leading parts; a routine injection passes none.
3660
3666
  */
3661
- constructor(theme, title, sectionParts, turn) {
3667
+ constructor(theme, title, sectionParts, turn, options = {}) {
3662
3668
  this.theme = theme;
3663
3669
  this.title = title;
3664
3670
  this.sectionParts = sectionParts;
3665
3671
  this.turn = turn;
3672
+ this.options = options;
3666
3673
  }
3667
3674
  /**
3668
3675
  * The injection as navigable sections.
@@ -3724,7 +3731,9 @@ var ContextBlock = class {
3724
3731
  const textWidth = Math.max(1, inner - 2);
3725
3732
  const indent = (line) => ` ${line}`;
3726
3733
  const dimRows = (text) => wrapTextWithAnsi(text, textWidth).map((line) => indent(palette.dim(line)));
3727
- const head = ["", ...wrapTextWithAnsi(this.title, textWidth).map((line, index) => `${palette.dim(index === 0 ? CONTEXT_GLYPH : " ")} ${palette.dim(line)}`)];
3734
+ const title = wrapTextWithAnsi(this.title, textWidth);
3735
+ const tone = this.options.accent === true ? palette.accent : palette.dim;
3736
+ const head = ["", ...title.map((line, index) => `${tone(index === 0 ? CONTEXT_GLYPH : " ")} ${tone(line)}`)];
3728
3737
  const body = [];
3729
3738
  const ranges = [];
3730
3739
  for (const part of this.sectionParts) {
@@ -3736,7 +3745,7 @@ var ContextBlock = class {
3736
3745
  to: body.length
3737
3746
  });
3738
3747
  }
3739
- const kept = this.theme.contextPreviewLines;
3748
+ const kept = (ranges[(this.options.pinnedParts ?? 0) - 1]?.to ?? 0) + this.theme.contextPreviewLines;
3740
3749
  const cut = !this.expanded && body.length > kept;
3741
3750
  const shown = cut ? [...body.slice(0, kept), ...dimRows(foldMarker(body.length - kept, marked ? "marked" : "transcript"))] : body;
3742
3751
  return {
@@ -4614,6 +4623,15 @@ const SPINNER_FRAMES = {
4614
4623
  "◶",
4615
4624
  "◵",
4616
4625
  "◴"
4626
+ ],
4627
+ /** Condensing older history into a summary: a column of dots settling down and filling back up. */
4628
+ compacting: [
4629
+ "⣿",
4630
+ "⣶",
4631
+ "⣤",
4632
+ "⣀",
4633
+ "⣤",
4634
+ "⣶"
4617
4635
  ]
4618
4636
  };
4619
4637
  /** Blank steps between two shimmer passes, so the sweep pauses past the word's end. */
@@ -4679,6 +4697,8 @@ const TOOL_PREFIXES = [
4679
4697
  const CALLING_WORD = "calling ";
4680
4698
  /** The word that opens a scheduled model-request retry notice. */
4681
4699
  const RETRYING_WORD = "retrying";
4700
+ /** The working spinner's label while a compaction condenses history. */
4701
+ const COMPACTING_ACTIVITY = "compacting";
4682
4702
  /**
4683
4703
  * The spinner frame drawn at one instant.
4684
4704
  * @param now - the current time in milliseconds.
@@ -4707,7 +4727,7 @@ function spinnerKindForTool(name) {
4707
4727
  }
4708
4728
  /**
4709
4729
  * The animation the working spinner draws for its activity word.
4710
- * @param activity - `thinking`, `writing`, `calling` / `calling <name>`, or a retry notice.
4730
+ * @param activity - `thinking`, `writing`, `calling` / `calling <name>`, `compacting`, or a retry notice.
4711
4731
  * @returns the activity's animation; a `calling <name>` label mirrors the
4712
4732
  * named tool's card, and anything unrecognized draws `thinking` like the
4713
4733
  * loader's initial word.
@@ -4718,6 +4738,7 @@ function spinnerKindForActivity(activity) {
4718
4738
  if (activity === "calling") return "calling";
4719
4739
  if (activity.startsWith(CALLING_WORD)) return spinnerKindForTool(activity.slice(8));
4720
4740
  if (activity.startsWith(RETRYING_WORD)) return "waiting";
4741
+ if (activity === "compacting") return "compacting";
4721
4742
  return "thinking";
4722
4743
  }
4723
4744
  /**
@@ -4833,9 +4854,10 @@ function editorCompletion(sources) {
4833
4854
  * Project logged system prompts and injected user-role messages into the
4834
4855
  * compact titles and navigable sections the terminal transcript walks.
4835
4856
  *
4836
- * Compaction replacements, tool results, and the user's own prompts are not
4837
- * context: those have their own blocks. An empty system-prompt rendering logs
4838
- * that no prompt is in force and is omitted here.
4857
+ * Compaction checkpoints, tool results, and the user's own prompts are not
4858
+ * context: those have their own blocks, a checkpoint the compaction block
4859
+ * `./compaction.ts` accounts for. An empty system-prompt rendering logs that
4860
+ * no prompt is in force and is omitted here.
4839
4861
  * @module @deepseek-ai/dsh-tui-app/context
4840
4862
  */
4841
4863
  /** Producer-declared forms this surface presents structurally. */
@@ -4847,6 +4869,8 @@ const KNOWN_FORMS = [
4847
4869
  "relay",
4848
4870
  "recall"
4849
4871
  ];
4872
+ /** The source kind every compaction backend stamps on its replacement checkpoint. */
4873
+ const COMPACT_CHECKPOINT_KIND = "compact-checkpoint";
4850
4874
  /**
4851
4875
  * Project one nonempty system prompt into a transcript section.
4852
4876
  * @param text - the rendered prompt; `''` means no prompt is in force.
@@ -4870,14 +4894,11 @@ function systemPromptView(text, update) {
4870
4894
  * @returns the section, or undefined when this message is not injected context.
4871
4895
  */
4872
4896
  function injectedContextView(source, content) {
4873
- const record = recordOf(source);
4874
- const kind = stringField(record, "kind");
4875
- if (record === void 0 || kind === void 0) return void 0;
4876
- if (kind === "user" || kind === "tool" || kind === "model") return void 0;
4877
- if (kind === "plugin" && stringField(record, "plugin") === "compact") return void 0;
4878
- const form = knownForm(stringField(record, "form"));
4897
+ const context = contextSource(source);
4898
+ if (context === void 0) return void 0;
4899
+ const { record, form } = context;
4879
4900
  return {
4880
- title: titled(form, producerOf(record, kind), stringField(record, "summary")),
4901
+ title: contextTitle(context),
4881
4902
  parts: form === "snapshot" ? snapshotParts(record, content) : [{
4882
4903
  kind: partKind(form),
4883
4904
  rows: rowsOf(content)
@@ -4885,6 +4906,40 @@ function injectedContextView(source, content) {
4885
4906
  };
4886
4907
  }
4887
4908
  /**
4909
+ * The title {@link injectedContextView} gives one injected message, without
4910
+ * projecting its rows.
4911
+ * @param source - the message's durable source.
4912
+ * @returns the title, or undefined when this message is not injected context.
4913
+ */
4914
+ function injectedContextTitle(source) {
4915
+ const context = contextSource(source);
4916
+ return context === void 0 ? void 0 : contextTitle(context);
4917
+ }
4918
+ /**
4919
+ * Narrow a message source to injected context.
4920
+ * @param source - the message's durable source.
4921
+ * @returns the record, kind, and known form, or undefined for a prompt, a tool result, a model source, a checkpoint, or no source.
4922
+ */
4923
+ function contextSource(source) {
4924
+ const record = recordOf(source);
4925
+ const kind = stringField(record, "kind");
4926
+ if (record === void 0 || kind === void 0) return void 0;
4927
+ if (kind === "user" || kind === "tool" || kind === "model" || kind === COMPACT_CHECKPOINT_KIND) return void 0;
4928
+ return {
4929
+ record,
4930
+ kind,
4931
+ form: knownForm(stringField(record, "form"))
4932
+ };
4933
+ }
4934
+ /**
4935
+ * Title one injected context by form, producer, and notice summary.
4936
+ * @param context - the narrowed source.
4937
+ * @returns the title.
4938
+ */
4939
+ function contextTitle({ record, kind, form }) {
4940
+ return titled(form, producerOf(record, kind), stringField(record, "summary"));
4941
+ }
4942
+ /**
4888
4943
  * Narrow a value to a string-keyed record.
4889
4944
  * @param value - a durable source or a snapshot entry.
4890
4945
  * @returns the record, or undefined when the value is not one.
@@ -6145,7 +6200,7 @@ const KEY_LINES = {
6145
6200
  "Ctrl+O folds every tool card and context row",
6146
6201
  "Ctrl+T todos · Ctrl+P parent session · Ctrl+L redraw · ? keys",
6147
6202
  "Ctrl+B moves running tool calls to the background · /jobs lists them",
6148
- "Esc arms the stop · Esc again stops the turn",
6203
+ "Esc arms the stop · Esc again stops the turn · Esc cancels a running /compact",
6149
6204
  "Ctrl+C clears the input, twice quits · Ctrl+D quits an empty input"
6150
6205
  ],
6151
6206
  transcript: [widestHint("transcript"), "Shift+↑↓ blocks · PgUp PgDn turns · Home End ends · Tab regions · Enter reads"],
@@ -7245,8 +7300,8 @@ function countsRow(items) {
7245
7300
  * Persistent session status for the terminal: one read of the session
7246
7301
  * projections becomes plain facts, and pure formatters turn those facts into
7247
7302
  * footer parts, the report sections `/status` and the status bar's segment
7248
- * details share, and the one-line notices for compaction and model-request
7249
- * retries. Nothing here touches the terminal, the palette, or the agent.
7303
+ * details share, and the one-line notice for model-request retries. Nothing
7304
+ * here touches the terminal, the palette, or the agent.
7250
7305
  * @module @deepseek-ai/dsh-tui-app/status
7251
7306
  */
7252
7307
  /** The client-visible keys one status read selects. */
@@ -7373,8 +7428,8 @@ function usageLines(facts) {
7373
7428
  if (facts.stats !== void 0) {
7374
7429
  const stats = facts.stats;
7375
7430
  const parts = [
7376
- `${String(stats.turns)} ${plural(stats.turns, "turn")}`,
7377
- `${String(stats.steps)} ${plural(stats.steps, "step")}`,
7431
+ `${String(stats.turns)} ${plural$1(stats.turns, "turn")}`,
7432
+ `${String(stats.steps)} ${plural$1(stats.steps, "step")}`,
7378
7433
  `model ${formatDuration(stats.llmMs)}`,
7379
7434
  `tools ${formatDuration(stats.toolMs)}`
7380
7435
  ];
@@ -7484,15 +7539,6 @@ function formatDuration(ms) {
7484
7539
  return `${String(Math.floor(whole / 60))}m${String(whole % 60)}s`;
7485
7540
  }
7486
7541
  /**
7487
- * The notice a completed compaction earns.
7488
- * @param data - the `compaction/summary` event data.
7489
- * @returns e.g. `compacted 12 items (~3.4k tokens)`.
7490
- */
7491
- function compactionNotice(data) {
7492
- const count = data.shadowedSeqs.length;
7493
- return `compacted ${String(count)} ${plural(count, "item")} (~${formatTokens(data.shadowedTokenCount)} tokens)`;
7494
- }
7495
- /**
7496
7542
  * The notice a scheduled model-request retry earns.
7497
7543
  * @param data - the `llm/retry` event data.
7498
7544
  * @returns e.g. `retrying (2/5) in 4s · RATE_LIMIT: provider busy`; an
@@ -7501,7 +7547,7 @@ function compactionNotice(data) {
7501
7547
  function retryMessage(data) {
7502
7548
  return `retrying (${data.mode === "normal" ? `${String(data.retry)}/${String(data.maxRetries)}` : String(data.retry)}) in ${formatDuration(data.delayMs)} · ${data.failure.code}: ${data.failure.message}`;
7503
7549
  }
7504
- function plural(count, noun) {
7550
+ function plural$1(count, noun) {
7505
7551
  return count === 1 ? noun : `${noun}s`;
7506
7552
  }
7507
7553
  //#endregion
@@ -8641,7 +8687,7 @@ function fadedLine(text, fade) {
8641
8687
  * @param content - the message's full text.
8642
8688
  * @returns the text before the first newline, or all of `content` when it is one line.
8643
8689
  */
8644
- function firstLine(content) {
8690
+ function firstLine$1(content) {
8645
8691
  const breakAt = content.indexOf("\n");
8646
8692
  return breakAt === -1 ? content : content.slice(0, breakAt);
8647
8693
  }
@@ -8663,7 +8709,7 @@ function queuePanelRows(nextStep, nextTurn) {
8663
8709
  const row = (target, message) => ({
8664
8710
  message,
8665
8711
  target,
8666
- text: firstLine(contentText(message.content))
8712
+ text: firstLine$1(contentText(message.content))
8667
8713
  });
8668
8714
  const pending = (target, messages) => messages.filter((message) => message.source.kind === "user").map((message) => row(target, message));
8669
8715
  return [...pending("next-step", nextStep), ...pending("next-turn", nextTurn)];
@@ -10656,6 +10702,357 @@ function sessionListTitle(ctx, header) {
10656
10702
  const title = (cache?.cachedSnapshot(header) ?? cache?.cachedPredecessorTitle(header))?.values.title;
10657
10703
  return typeof title === "string" && title !== "" ? title : void 0;
10658
10704
  }
10705
+ //#endregion
10706
+ //#region lib/types/compaction.js
10707
+ /**
10708
+ * What one compaction folded into its summary and what it left verbatim, read
10709
+ * from the session log the terminal already draws.
10710
+ *
10711
+ * {@link CompactionLedger} mirrors the model-visible surface from the logged
10712
+ * `surfaceOp` of every message event it observes (an append pushes the node, a
10713
+ * replacement splices the positional span), and keeps one short fact per
10714
+ * surface node. When a `compaction/*` transaction closes, the checkpoint
10715
+ * replacement it landed names the shadowed nodes (compressed) and every other
10716
+ * node still on the surface (preserved). Live events and a replayed history go
10717
+ * through the same path, so a resumed session draws the same account the live
10718
+ * one did. Nothing here touches the terminal, the palette, or the agent.
10719
+ * @module @deepseek-ai/dsh-tui-app/compaction
10720
+ */
10721
+ /** Prompts listed one per row under `compressed` before the rest are counted. */
10722
+ const LISTED_PROMPTS = 5;
10723
+ /** Context titles named under `compressed` before the rest are counted. */
10724
+ const LISTED_CONTEXTS = 4;
10725
+ /**
10726
+ * Columns a listed prompt is cut to, so each takes one row of an 80-column
10727
+ * terminal beside its glyph and the block's indent. The account is pinned
10728
+ * above the fold, so a long prompt would otherwise push the summary down; the
10729
+ * reader and the transcript still hold the whole prompt. A presentation
10730
+ * bound, not a deployment setting.
10731
+ */
10732
+ const PROMPT_COLUMNS = 72;
10733
+ /**
10734
+ * Mirrors one session's surface and reports each compaction that closes on it.
10735
+ * Feed it every event of the bound session in log order, live or replayed;
10736
+ * {@link CompactionLedger.clear} starts over for another session.
10737
+ */
10738
+ var CompactionLedger = class {
10739
+ estimate;
10740
+ nodes = [];
10741
+ toolNames = /* @__PURE__ */ new Map();
10742
+ open = /* @__PURE__ */ new Map();
10743
+ /**
10744
+ * @param estimate - prices the checkpoint that replaced the compressed span.
10745
+ */
10746
+ constructor(estimate) {
10747
+ this.estimate = estimate;
10748
+ }
10749
+ /** Forget the mirrored surface and every open transaction. */
10750
+ clear() {
10751
+ this.nodes.length = 0;
10752
+ this.toolNames.clear();
10753
+ this.open.clear();
10754
+ }
10755
+ /**
10756
+ * Fold one event of the observed session.
10757
+ * @param event - the next event in log order.
10758
+ * @param turn - the transcript's current turn, which facts appended now belong to.
10759
+ * @returns the outcome when this event closed a compaction transaction, else undefined.
10760
+ */
10761
+ observe(event, turn) {
10762
+ switch (event.type) {
10763
+ case "compaction/start":
10764
+ this.open.set(event.data.compactionId, { manual: event.data.sourceCommandId !== void 0 });
10765
+ return;
10766
+ case "compaction/summary": {
10767
+ const open = this.open.get(event.data.compactionId);
10768
+ if (open !== void 0) open.summary = {
10769
+ seq: event.seq,
10770
+ text: contentText(event.data.summary).trim(),
10771
+ tokens: event.data.shadowedTokenCount,
10772
+ model: event.data.model
10773
+ };
10774
+ return;
10775
+ }
10776
+ case "compaction/end": return this.close(event);
10777
+ default: break;
10778
+ }
10779
+ if (!isSurfaceEvent(event)) return void 0;
10780
+ const node = {
10781
+ seq: event.seq,
10782
+ fact: this.factOf(event, turn)
10783
+ };
10784
+ if (event.surfaceOp === "append") {
10785
+ this.nodes.push(node);
10786
+ return;
10787
+ }
10788
+ const { startSeq, endSeq } = event.surfaceOp;
10789
+ const from = this.nodes.findIndex((entry) => entry.seq === startSeq);
10790
+ const to = this.nodes.findIndex((entry) => entry.seq === endSeq);
10791
+ const shadowed = from === -1 || to < from ? [] : this.nodes.splice(from, to - from + 1, node);
10792
+ if (event.type === "user/message" && isCompactCheckpointSource(event.data.source)) {
10793
+ const open = this.open.get(event.data.source.compactionId);
10794
+ if (open !== void 0) {
10795
+ const summaryTokens = this.estimate(event.data);
10796
+ open.landed = {
10797
+ turn,
10798
+ compressed: shadowed.map((entry) => entry.fact),
10799
+ preserved: this.nodes.flatMap((entry) => entry === node ? [] : [entry.fact]),
10800
+ ...summaryTokens === void 0 ? {} : { summaryTokens }
10801
+ };
10802
+ }
10803
+ }
10804
+ }
10805
+ /**
10806
+ * Settle one transaction on its closing marker.
10807
+ * @param event - the `compaction/end` event.
10808
+ * @returns the outcome, or undefined for a transaction this ledger did not see open.
10809
+ */
10810
+ close(event) {
10811
+ const open = this.open.get(event.data.compactionId);
10812
+ if (open === void 0) return void 0;
10813
+ this.open.delete(event.data.compactionId);
10814
+ if (event.data.error !== void 0) return {
10815
+ kind: "failed",
10816
+ compactionId: event.data.compactionId,
10817
+ manual: open.manual,
10818
+ error: event.data.error
10819
+ };
10820
+ const { summary, landed } = open;
10821
+ if (summary === void 0 || landed === void 0) return void 0;
10822
+ return {
10823
+ kind: "compacted",
10824
+ report: {
10825
+ manual: open.manual,
10826
+ turn: landed.turn,
10827
+ compressed: landed.compressed,
10828
+ preserved: landed.preserved,
10829
+ summary: summary.text,
10830
+ compressedTokens: summary.tokens,
10831
+ ...landed.summaryTokens === void 0 ? {} : { summaryTokens: landed.summaryTokens },
10832
+ model: summary.model,
10833
+ summarySeq: summary.seq
10834
+ }
10835
+ };
10836
+ }
10837
+ /**
10838
+ * Name one surface event for the account.
10839
+ * @param event - a message event that joins the surface.
10840
+ * @param turn - the turn it belongs to.
10841
+ * @returns its fact.
10842
+ */
10843
+ factOf(event, turn) {
10844
+ switch (event.type) {
10845
+ case "system/message": return { kind: "system" };
10846
+ case "developer/message": return {
10847
+ kind: "developer",
10848
+ turn
10849
+ };
10850
+ case "user/message": {
10851
+ const { source, content } = event.data;
10852
+ if (isCompactCheckpointSource(source)) return {
10853
+ kind: "summary",
10854
+ turn
10855
+ };
10856
+ if (source.kind === "user") return {
10857
+ kind: "prompt",
10858
+ turn,
10859
+ text: firstLine(contentText(content))
10860
+ };
10861
+ return {
10862
+ kind: "context",
10863
+ turn,
10864
+ title: injectedContextTitle(source) ?? source.kind
10865
+ };
10866
+ }
10867
+ case "assistant/message":
10868
+ for (const block of event.data.message.content) if (block.type === "tool-call") this.toolNames.set(block.id, block.name);
10869
+ return {
10870
+ kind: "reply",
10871
+ turn
10872
+ };
10873
+ case "tool/result": {
10874
+ const { toolCallId } = event.data.message;
10875
+ return {
10876
+ kind: "result",
10877
+ turn,
10878
+ tool: this.toolNames.get(toolCallId) ?? "tool"
10879
+ };
10880
+ }
10881
+ /* v8 ignore next 2 -- closed-union exhaustiveness guard */
10882
+ default: return assertNever(event, "surface event");
10883
+ }
10884
+ }
10885
+ };
10886
+ /**
10887
+ * The block title of one landed compaction.
10888
+ * @param report - the compaction.
10889
+ * @returns e.g. `context compacted by /compact · ~6.4k → ~0.9k tokens`, or
10890
+ * `… · ~6.4k tokens into one summary` when the summary is unpriced.
10891
+ */
10892
+ function compactionTitle(report) {
10893
+ const origin = report.manual ? "by /compact" : `automatically in turn ${String(report.turn)}`;
10894
+ const before = `~${formatTokens(report.compressedTokens)}`;
10895
+ return `context compacted ${origin} · ${report.summaryTokens === void 0 ? `${before} tokens into one summary` : `${before} → ~${formatTokens(report.summaryTokens)} tokens`}`;
10896
+ }
10897
+ /**
10898
+ * The navigable sections of one landed compaction: what the summary replaced,
10899
+ * what the model still reads verbatim, and the summary itself.
10900
+ * @param report - the compaction.
10901
+ * @returns the `compressed`, `preserved`, and `summary` parts, in that order.
10902
+ */
10903
+ function compactionParts(report) {
10904
+ return [
10905
+ {
10906
+ kind: "context",
10907
+ label: "compressed",
10908
+ rows: compressedRows(report.compressed)
10909
+ },
10910
+ {
10911
+ kind: "context",
10912
+ label: "preserved",
10913
+ rows: preservedRows(report.preserved)
10914
+ },
10915
+ {
10916
+ kind: "context",
10917
+ label: `summary · ${report.model}`,
10918
+ rows: report.summary === "" ? [""] : report.summary.split("\n")
10919
+ }
10920
+ ];
10921
+ }
10922
+ /**
10923
+ * The notice a failed `/compact` attempt earns.
10924
+ * @param outcome - the failed outcome.
10925
+ * @returns e.g. `/compact failed · summary is not smaller than the shadowed content (…)`.
10926
+ */
10927
+ function compactionFailure(outcome) {
10928
+ return `/compact failed · ${firstLine(outcome.error)}`;
10929
+ }
10930
+ /**
10931
+ * Rows naming the compressed span: its size and turns, each prompt it held,
10932
+ * and a count of everything else.
10933
+ * @param facts - the shadowed nodes.
10934
+ * @returns the rows.
10935
+ */
10936
+ function compressedRows(facts) {
10937
+ const turns = turnSpan(facts);
10938
+ const rows = [`${plural(facts.length, "item")}${turns === "" ? "" : ` from ${turns}`}`];
10939
+ const prompts = facts.flatMap((fact) => fact.kind === "prompt" ? [fact.text] : []);
10940
+ for (const text of prompts.slice(0, LISTED_PROMPTS)) rows.push(`❯ ${clip(text)}`);
10941
+ if (prompts.length > LISTED_PROMPTS) rows.push(`+${plural(prompts.length - LISTED_PROMPTS, "more prompt")}`);
10942
+ const rest = tally(facts.filter((fact) => fact.kind !== "prompt"));
10943
+ if (rest !== "") rows.push(rest);
10944
+ return rows;
10945
+ }
10946
+ /**
10947
+ * Rows naming what stays verbatim: the system prompt, then one row per turn.
10948
+ * @param facts - the surface nodes other than the checkpoint.
10949
+ * @returns the rows.
10950
+ */
10951
+ function preservedRows(facts) {
10952
+ const rows = [];
10953
+ if (facts.some((fact) => fact.kind === "system")) rows.push("system prompt");
10954
+ const byTurn = /* @__PURE__ */ new Map();
10955
+ for (const fact of facts) {
10956
+ if (fact.kind === "system") continue;
10957
+ const group = byTurn.get(fact.turn) ?? [];
10958
+ group.push(fact);
10959
+ byTurn.set(fact.turn, group);
10960
+ }
10961
+ for (const [turn, group] of byTurn) {
10962
+ const prompts = group.flatMap((fact) => fact.kind === "prompt" ? [`❯ ${clip(fact.text)}`] : []);
10963
+ const rest = tally(group.filter((fact) => fact.kind !== "prompt"));
10964
+ rows.push([
10965
+ `turn ${String(turn)}`,
10966
+ ...prompts,
10967
+ ...rest === "" ? [] : [rest]
10968
+ ].join(" · "));
10969
+ }
10970
+ if (rows.length === 0) rows.push("nothing else: the summary is the whole history");
10971
+ return rows;
10972
+ }
10973
+ /**
10974
+ * Count facts other than prompts by kind, naming tools and context blocks.
10975
+ * @param facts - facts of any kind but `prompt`.
10976
+ * @returns e.g. `2 replies · 3 tool results (read ×2, bash) · 1 context block (instructions · AGENTS.md)`.
10977
+ */
10978
+ function tally(facts) {
10979
+ const parts = [];
10980
+ const count = (kind) => facts.filter((fact) => fact.kind === kind).length;
10981
+ const replies = count("reply");
10982
+ if (replies > 0) parts.push(plural(replies, "reply", "replies"));
10983
+ const tools = facts.flatMap((fact) => fact.kind === "result" ? [fact.tool] : []);
10984
+ if (tools.length > 0) parts.push(`${plural(tools.length, "tool result")} (${named(tools)})`);
10985
+ const contexts = facts.flatMap((fact) => fact.kind === "context" ? [fact.title] : []);
10986
+ if (contexts.length > 0) {
10987
+ const shown = contexts.slice(0, LISTED_CONTEXTS).join(", ");
10988
+ const more = contexts.length > LISTED_CONTEXTS ? `, +${String(contexts.length - LISTED_CONTEXTS)} more` : "";
10989
+ parts.push(`${plural(contexts.length, "context block")} (${shown}${more})`);
10990
+ }
10991
+ const summaries = count("summary");
10992
+ if (summaries > 0) parts.push(plural(summaries, "earlier summary", "earlier summaries"));
10993
+ const developer = count("developer");
10994
+ if (developer > 0) parts.push(plural(developer, "developer message"));
10995
+ return parts.join(" · ");
10996
+ }
10997
+ /**
10998
+ * Tool names with repeat counts, in first-seen order.
10999
+ * @param tools - one name per result.
11000
+ * @returns e.g. `read ×2, bash`.
11001
+ */
11002
+ function named(tools) {
11003
+ const counts = /* @__PURE__ */ new Map();
11004
+ for (const tool of tools) counts.set(tool, (counts.get(tool) ?? 0) + 1);
11005
+ return [...counts].map(([tool, times]) => times === 1 ? tool : `${tool} ×${String(times)}`).join(", ");
11006
+ }
11007
+ /**
11008
+ * The turns a set of facts spans.
11009
+ * @param facts - the facts; the system prompt has no turn.
11010
+ * @returns `turn 3`, `turns 1–3`, or `''` when none carries a turn.
11011
+ */
11012
+ function turnSpan(facts) {
11013
+ const turns = facts.flatMap((fact) => fact.kind === "system" ? [] : [fact.turn]);
11014
+ if (turns.length === 0) return "";
11015
+ const first = Math.min(...turns);
11016
+ const last = Math.max(...turns);
11017
+ return first === last ? `turn ${String(first)}` : `turns ${String(first)}–${String(last)}`;
11018
+ }
11019
+ /**
11020
+ * Cut one plain row to {@link PROMPT_COLUMNS}, ending on `…` when it was cut.
11021
+ * Section rows stay unstyled, so this counts columns itself rather than
11022
+ * through the renderer's truncation, which closes its ellipsis with styling.
11023
+ * @param text - one line of plain text.
11024
+ * @returns the line, at most that many columns wide.
11025
+ */
11026
+ function clip(text) {
11027
+ if (visibleWidth(text) <= PROMPT_COLUMNS) return text;
11028
+ let kept = "";
11029
+ let width = 0;
11030
+ for (const char of text) {
11031
+ const next = visibleWidth(char);
11032
+ if (width + next > PROMPT_COLUMNS - 1) break;
11033
+ kept += char;
11034
+ width += next;
11035
+ }
11036
+ return `${kept}…`;
11037
+ }
11038
+ /**
11039
+ * The first nonblank line of a text, read without splitting the rest of it.
11040
+ * @param text - any text.
11041
+ * @returns that line, trimmed; `''` for a blank text.
11042
+ */
11043
+ function firstLine(text) {
11044
+ return /\S.*/u.exec(text)?.[0].trim() ?? "";
11045
+ }
11046
+ /**
11047
+ * A count and its noun.
11048
+ * @param count - how many.
11049
+ * @param noun - the singular.
11050
+ * @param nouns - the plural, when it is not `noun` + `s`.
11051
+ * @returns e.g. `1 item`, `3 items`.
11052
+ */
11053
+ function plural(count, noun, nouns = `${noun}s`) {
11054
+ return `${String(count)} ${count === 1 ? noun : nouns}`;
11055
+ }
10659
11056
  /** Two-space indentation per nesting level, as the `/subagents` rows indent. */
10660
11057
  const DEPTH_INDENT = " ";
10661
11058
  /** What separates two facts inside one row, and two parts of the heading. */
@@ -10972,6 +11369,12 @@ var ToastPane = class {
10972
11369
  const QUIT_DOUBLE_PRESS_MS = 600;
10973
11370
  /** What input reports while the host is opening another session. */
10974
11371
  const SESSION_SWITCH_WAIT = "wait for the session switch to finish";
11372
+ /** What a session switch reports while a dispatched `/compact` runs. */
11373
+ const COMPACTION_SWITCH_WAIT = "wait for the compaction to finish (Esc cancels it) before switching sessions";
11374
+ /** The working spinner's message after its `compacting` word while a dispatched `/compact` runs. */
11375
+ const COMPACTION_LOADER_DETAIL = "context · Esc cancels";
11376
+ /** What a prompt submitted while a dispatched `/compact` runs reports. */
11377
+ const COMPACTION_QUEUE_NOTICE = "queued: the prompt starts once compaction finishes";
10975
11378
  /** The one extra key the model picker answers, stated above its rows. */
10976
11379
  const MODEL_PICKER_HINT = "Ctrl+S saves the highlighted model as the default for the next launch";
10977
11380
  /**
@@ -11433,6 +11836,18 @@ var TuiApp = class {
11433
11836
  stopArmedUntil = 0;
11434
11837
  /** Abort of the in-flight user `!` command, when one is running. */
11435
11838
  shellAbort;
11839
+ /** Abort of the `/compact` this terminal dispatched and still waits on; `Esc` cancels it. */
11840
+ compacting;
11841
+ /**
11842
+ * The transaction the last dispatched `/compact` opened. Its command result
11843
+ * reports a failure, so the log's closing marker for it prints nothing more,
11844
+ * including one that lands after a cancelled command stopped waiting.
11845
+ */
11846
+ dispatchedCompaction;
11847
+ /** The `compaction/summary` seq of the last block drawn, which a `/compact` success result names. */
11848
+ drawnCompaction;
11849
+ /** Mirrors the bound session's surface to account for each compaction that lands on it. */
11850
+ compactions;
11436
11851
  /**
11437
11852
  * How many of the viewport's own first lines the renderer can no longer
11438
11853
  * repaint, from the last frame the guard settled. The transient line
@@ -11516,6 +11931,7 @@ var TuiApp = class {
11516
11931
  previewLines: deps.focusPreviewLines
11517
11932
  });
11518
11933
  this.loader = new Loader(this.tui, palette.accent, (message) => this.paintLoaderMessage(message), "thinking");
11934
+ this.compactions = new CompactionLedger((message) => deps.ctx.get("tokenMeter")?.estimateMessage(message));
11519
11935
  this.loader.stop();
11520
11936
  this.editor = new BarCursorEditor(this.tui, editorTheme(palette), { paddingX: 1 });
11521
11937
  this.editor.shellPaint = {
@@ -11690,6 +12106,7 @@ var TuiApp = class {
11690
12106
  stop() {
11691
12107
  if (this.stopped) return;
11692
12108
  this.dropUserShell();
12109
+ this.dropCompaction();
11693
12110
  this.restoreQueueDraft();
11694
12111
  this.stopped = true;
11695
12112
  this.updateTicker();
@@ -11717,6 +12134,7 @@ var TuiApp = class {
11717
12134
  /** Draw `next` as the terminal's session: clear the transcript and replay its history. */
11718
12135
  bind(next) {
11719
12136
  this.dropUserShell();
12137
+ this.dropCompaction();
11720
12138
  if (this.queueDraft !== void 0) {
11721
12139
  this.restoreQueueDraft();
11722
12140
  this.editor.setText("");
@@ -11755,6 +12173,9 @@ var TuiApp = class {
11755
12173
  this.panelSelection = void 0;
11756
12174
  this.listingFailure = void 0;
11757
12175
  this.subagentsStale = false;
12176
+ this.compactions.clear();
12177
+ this.dispatchedCompaction = void 0;
12178
+ this.drawnCompaction = void 0;
11758
12179
  this.setWorking(next.agent.status === "running");
11759
12180
  this.replaying = true;
11760
12181
  for (const event of next.history) this.onSessionEvent(next.agent.session, event);
@@ -11778,6 +12199,10 @@ var TuiApp = class {
11778
12199
  this.notice("stop the running turn (Esc twice) before switching sessions", "error");
11779
12200
  return;
11780
12201
  }
12202
+ if (this.compacting !== void 0) {
12203
+ this.notice(COMPACTION_SWITCH_WAIT, "error");
12204
+ return;
12205
+ }
11781
12206
  this.cancelPickers();
11782
12207
  this.switching = true;
11783
12208
  let next;
@@ -12951,8 +13376,10 @@ var TuiApp = class {
12951
13376
  * From a docked region it hands the keyboard back to the editor and starts
12952
13377
  * the handoff window, so a second press landing in the editor does nothing
12953
13378
  * at all: leaving a region, a page, or a picker can never stop a running
12954
- * turn. In the editor it arms the stop and says so, and only a second press
12955
- * while that line is still on screen stops the turn.
13379
+ * turn. In the editor it cancels a running `!` command or `/compact` at
13380
+ * once, which changes nothing in the conversation; otherwise it arms the
13381
+ * stop and says so, and only a second press while that line is still on
13382
+ * screen stops the turn.
12956
13383
  * @returns the consume marker, or undefined while the editor's open
12957
13384
  * autocomplete answers the key itself.
12958
13385
  */
@@ -12969,6 +13396,10 @@ var TuiApp = class {
12969
13396
  this.shellAbort.abort();
12970
13397
  return { consume: true };
12971
13398
  }
13399
+ if (this.compacting !== void 0) {
13400
+ this.compacting.abort();
13401
+ return { consume: true };
13402
+ }
12972
13403
  if (this.agent.status !== "running") {
12973
13404
  if (this.editor.getText().trimStart().startsWith("!")) {
12974
13405
  this.editor.setText("");
@@ -13744,7 +14175,10 @@ var TuiApp = class {
13744
14175
  ],
13745
14176
  source: terminalPromptSource(draft)
13746
14177
  });
13747
- if (agent.status !== "running") {
14178
+ if (this.compacting !== void 0) {
14179
+ agent.followup(message);
14180
+ this.notice(COMPACTION_QUEUE_NOTICE);
14181
+ } else if (agent.status !== "running") {
13748
14182
  this.submittedIds.add(message.id);
13749
14183
  const shown = attachments.length === 0 ? text : `${text}\n${attachments.map((attachment) => `[${attachment.block.type}: ${attachment.name}]`).join(" ")}`;
13750
14184
  this.chat.addChild(new UserBlock(this.theme, shown, this.turn));
@@ -13870,6 +14304,9 @@ var TuiApp = class {
13870
14304
  case "plugins":
13871
14305
  await this.plugins(argument);
13872
14306
  return;
14307
+ case "compact":
14308
+ await this.compact(line);
14309
+ return;
13873
14310
  default: await this.runSharedCommand(line, name);
13874
14311
  }
13875
14312
  }
@@ -13889,26 +14326,86 @@ var TuiApp = class {
13889
14326
  ].join("\n"), 0, 1));
13890
14327
  this.tui.requestRender();
13891
14328
  }
13892
- async runSharedCommand(line, name) {
14329
+ /**
14330
+ * Run one command of the shared registry and print its result into the
14331
+ * session it ran on. A success that names the `compaction/summary` this
14332
+ * terminal just drew as a block prints nothing more; a run whose signal
14333
+ * aborted reports the cancel; a result that settles after a session switch
14334
+ * or quit prints nothing.
14335
+ * @param line - the complete slash-command line.
14336
+ * @param name - the lowercase command name, for the notices.
14337
+ * @param signal - cancels the run; a run nothing cancels passes none.
14338
+ */
14339
+ async runSharedCommand(line, name, signal = new AbortController().signal) {
13893
14340
  const registry = this.deps.ctx.get("commands");
13894
14341
  if (registry === void 0) {
13895
14342
  this.notice(`unknown command /${name}`, "error");
13896
14343
  return;
13897
14344
  }
14345
+ const bound = this.bound;
13898
14346
  try {
13899
- const execution = await registry.execute(this.agent, line, [], new AbortController().signal);
14347
+ const execution = await registry.execute(this.agent, line, [], signal);
14348
+ if (this.stopped || this.bound !== bound) return;
13900
14349
  if (execution === void 0) {
13901
14350
  this.notice(`unknown command /${name}`, "error");
13902
14351
  return;
13903
14352
  }
13904
14353
  const result = execution.result;
13905
14354
  if (result.kind === "error") this.notice(`/${name}: ${result.text}`, "error");
13906
- else this.notice(result.text === void 0 ? `/${name} done` : `/${name}: ${result.text}`, "success");
14355
+ else if (result.sourceEventSeq === void 0 || result.sourceEventSeq !== this.drawnCompaction) this.notice(result.text === void 0 ? `/${name} done` : `/${name}: ${result.text}`, "success");
13907
14356
  } catch (error) {
13908
- this.notice(`/${name} failed: ${describeFailure(error)}`, "error");
14357
+ if (this.stopped || this.bound !== bound) return;
14358
+ if (signal.aborted) this.notice(`/${name} cancelled`);
14359
+ else this.notice(`/${name} failed: ${describeFailure(error)}`, "error");
13909
14360
  }
13910
14361
  this.refreshFooter();
13911
14362
  }
14363
+ /**
14364
+ * Run `/compact` through the shared registry under a `compacting` spinner
14365
+ * that `Esc` cancels. The summary it lands is drawn from the log as its own
14366
+ * block, which says what was compressed and what was preserved; a prompt
14367
+ * submitted meanwhile waits in the follow-ups list until it finishes.
14368
+ * @param line - the complete `/compact` line, arguments included.
14369
+ */
14370
+ async compact(line) {
14371
+ if (this.compacting !== void 0) {
14372
+ this.notice("a compaction is already running · Esc cancels it", "error");
14373
+ return;
14374
+ }
14375
+ if (this.agent.status === "running") {
14376
+ this.notice("/compact runs between turns: let this turn finish, or stop it (Esc twice)", "error");
14377
+ return;
14378
+ }
14379
+ const controller = new AbortController();
14380
+ this.compacting = controller;
14381
+ this.setWorking(true);
14382
+ this.setLoaderActivity(COMPACTING_ACTIVITY);
14383
+ try {
14384
+ await this.runSharedCommand(line, "compact", controller.signal);
14385
+ } finally {
14386
+ this.settleCompaction(controller);
14387
+ }
14388
+ }
14389
+ /**
14390
+ * Take the `compacting` spinner down once the `/compact` that `controller`
14391
+ * belongs to settles, unless bind or quit already dropped it.
14392
+ * @param controller - the run's abort controller.
14393
+ */
14394
+ settleCompaction(controller) {
14395
+ if (this.compacting !== controller) return;
14396
+ this.compacting = void 0;
14397
+ this.setWorking(this.agent.status === "running");
14398
+ this.setLoaderActivity("thinking");
14399
+ }
14400
+ /**
14401
+ * Detach and abort the dispatched `/compact`, if any: its late settle then
14402
+ * finds another run, or none, and prints nothing into the next session.
14403
+ */
14404
+ dropCompaction() {
14405
+ const running = this.compacting;
14406
+ this.compacting = void 0;
14407
+ running?.abort();
14408
+ }
13912
14409
  async chooseModel(argument) {
13913
14410
  const { selection } = this.bound;
13914
14411
  if (argument === "save") {
@@ -14876,6 +15373,8 @@ var TuiApp = class {
14876
15373
  return;
14877
15374
  }
14878
15375
  this.pacer?.flush();
15376
+ const compaction = this.compactions.observe(event, this.turn);
15377
+ if (compaction !== void 0) this.showCompaction(compaction);
14879
15378
  switch (event.type) {
14880
15379
  case "turn/start":
14881
15380
  this.turn = event.data.turn;
@@ -14953,8 +15452,10 @@ var TuiApp = class {
14953
15452
  case "permission/preset":
14954
15453
  this.refreshFooter();
14955
15454
  break;
14956
- case "compaction/summary":
14957
- this.notice(compactionNotice(event.data));
15455
+ case "compaction/start":
15456
+ if (event.data.turn === null) {
15457
+ if (this.compacting !== void 0) this.dispatchedCompaction = event.data.compactionId;
15458
+ } else if (!this.replaying) this.setLoaderActivity(COMPACTING_ACTIVITY);
14958
15459
  break;
14959
15460
  case "workspace/changes": {
14960
15461
  const summary = this.deps.ctx.get("workspaceChanges")?.summary(session.id, event.seq);
@@ -15031,6 +15532,29 @@ var TuiApp = class {
15031
15532
  this.chat.addChild(block);
15032
15533
  }
15033
15534
  /**
15535
+ * Draw one closed compaction: a landed summary as an accent context block
15536
+ * whose compressed and preserved account stays drawn above the folded
15537
+ * summary, and a failed `/compact` as a notice unless the command that
15538
+ * opened it reports the failure itself. A failed automatic attempt changes
15539
+ * nothing and the turn outlives it, so it draws nothing, as in the browser.
15540
+ * @param outcome - how the transaction closed.
15541
+ */
15542
+ showCompaction(outcome) {
15543
+ if (outcome.kind === "failed") {
15544
+ if (outcome.manual && outcome.compactionId !== this.dispatchedCompaction) this.notice(compactionFailure(outcome), "error");
15545
+ return;
15546
+ }
15547
+ const { report } = outcome;
15548
+ const block = new ContextBlock(this.theme, compactionTitle(report), compactionParts(report), report.turn, {
15549
+ accent: true,
15550
+ pinnedParts: 2
15551
+ });
15552
+ block.setExpanded(this.toolsExpanded);
15553
+ this.chat.addChild(block);
15554
+ this.drawnCompaction = report.summarySeq;
15555
+ this.tui.requestRender();
15556
+ }
15557
+ /**
15034
15558
  * Replace the spinner's activity word and redraw its live ↑↓ suffix.
15035
15559
  * @param activity - `thinking`, `writing`, `calling` / `calling <name>`, or a retry notice.
15036
15560
  */
@@ -15148,9 +15672,12 @@ var TuiApp = class {
15148
15672
  /**
15149
15673
  * Draw the spinner label plus the current call's ↑send ↓receive suffix,
15150
15674
  * and the key that moves a foreground call to the background while one runs.
15675
+ * While a dispatched `/compact` runs, the label reads `compacting context`
15676
+ * and names the key that cancels it.
15151
15677
  */
15152
15678
  refreshLoader() {
15153
15679
  const parts = [this.loaderActivity];
15680
+ if (this.compacting !== void 0) parts.push(COMPACTION_LOADER_DETAIL);
15154
15681
  const suffix = formatLiveUsage(this.liveUsage);
15155
15682
  if (suffix !== "") parts.push(suffix);
15156
15683
  if (this.backgrounder.running(this.agent).length > 0) parts.push(`· ${BACKGROUND_KEY_HINT}`);