@qqbrowser/qbot-dsh 0.1.5 → 0.1.7

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 (278) hide show
  1. package/config/agent-presets/code/agent.cordis.yml +2 -0
  2. package/config/agent-presets/standard/agent.cordis.yml +2 -0
  3. package/cordis.patch.yml +4 -0
  4. package/lib/client.js +1 -1
  5. package/lib/sandbox-local.js +1 -1
  6. package/node_modules/@aws-sdk/core/package.json +1 -1
  7. package/node_modules/@aws-sdk/credential-provider-env/package.json +1 -1
  8. package/node_modules/@aws-sdk/credential-provider-http/package.json +1 -1
  9. package/node_modules/@aws-sdk/credential-provider-ini/package.json +1 -1
  10. package/node_modules/@aws-sdk/credential-provider-login/package.json +1 -1
  11. package/node_modules/@aws-sdk/credential-provider-node/package.json +1 -1
  12. package/node_modules/@aws-sdk/credential-provider-process/package.json +1 -1
  13. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +8 -4
  14. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +8 -4
  15. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +1 -1
  16. package/node_modules/@aws-sdk/credential-provider-sso/package.json +1 -1
  17. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +1 -1
  18. package/node_modules/@aws-sdk/eventstream-handler-node/package.json +1 -1
  19. package/node_modules/@aws-sdk/middleware-eventstream/package.json +1 -1
  20. package/node_modules/@aws-sdk/middleware-websocket/package.json +1 -1
  21. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  22. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  23. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  24. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  25. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  26. package/node_modules/@aws-sdk/nested-clients/package.json +1 -1
  27. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +1 -1
  28. package/node_modules/@aws-sdk/types/package.json +1 -1
  29. package/node_modules/@aws-sdk/xml-builder/package.json +1 -1
  30. package/node_modules/@deepseek-ai/dsh-agent/package.json +1 -1
  31. package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +1 -1
  32. package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +1 -1
  33. package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +1 -1
  34. package/node_modules/@deepseek-ai/dsh-agent-presets/package.json +1 -1
  35. package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +1 -1
  36. package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +1 -1
  37. package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +1 -1
  38. package/node_modules/@deepseek-ai/dsh-app-boot/package.json +1 -1
  39. package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +1 -1
  40. package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +2 -0
  41. package/node_modules/@deepseek-ai/dsh-base/package.json +1 -1
  42. package/node_modules/@deepseek-ai/dsh-bash-local/package.json +1 -1
  43. package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +1 -1
  44. package/node_modules/@deepseek-ai/dsh-browser-jsapi/LICENSE +21 -0
  45. package/node_modules/@deepseek-ai/dsh-browser-jsapi/lib/index.js +1 -0
  46. package/node_modules/@deepseek-ai/dsh-browser-jsapi/lib/invariant.js +1 -0
  47. package/node_modules/@deepseek-ai/dsh-browser-jsapi/lib/types/index.js +1 -0
  48. package/node_modules/@deepseek-ai/dsh-browser-jsapi/lib/types/invariant.js +1 -0
  49. package/node_modules/@deepseek-ai/dsh-browser-jsapi/lib/types/types.js +1 -0
  50. package/node_modules/@deepseek-ai/dsh-browser-jsapi/package.json +1 -0
  51. package/node_modules/@deepseek-ai/dsh-client-connection/lib/client.js +13 -13
  52. package/node_modules/@deepseek-ai/dsh-client-connection/package.json +1 -1
  53. package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +1 -1
  54. package/node_modules/@deepseek-ai/dsh-client-locale/lib/client.js +1 -1
  55. package/node_modules/@deepseek-ai/dsh-client-locale/package.json +1 -1
  56. package/node_modules/@deepseek-ai/dsh-client-modules/lib/client.js +1 -1
  57. package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +3 -3
  58. package/node_modules/@deepseek-ai/dsh-client-runtime/lib/client.js +4 -4
  59. package/node_modules/@deepseek-ai/dsh-client-runtime/package.json +1 -1
  60. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +1 -1
  61. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +1 -1
  62. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +1 -1
  63. package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +1 -1
  64. package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +1 -1
  65. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +5 -5
  66. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +1 -1
  67. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/lib/client.js +1 -1
  68. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +1 -1
  69. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +1 -1
  70. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +1 -1
  71. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/lib/client.js +1 -1
  72. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +1 -1
  73. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +1 -1
  74. package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +1 -1
  75. package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +1 -1
  76. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +1 -1
  77. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +1 -1
  78. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +1 -1
  79. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +1 -1
  80. package/node_modules/@deepseek-ai/dsh-client-ui-jsapi-bridge/LICENSE +21 -0
  81. package/node_modules/@deepseek-ai/dsh-client-ui-jsapi-bridge/lib/client.js +1 -0
  82. package/node_modules/@deepseek-ai/dsh-client-ui-jsapi-bridge/lib/index.js +1 -0
  83. package/node_modules/@deepseek-ai/dsh-client-ui-jsapi-bridge/lib/invariant.js +1 -0
  84. package/node_modules/@deepseek-ai/dsh-client-ui-jsapi-bridge/package.json +1 -0
  85. package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +1 -1
  86. package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +1 -1
  87. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/lib/client.js +1 -1
  88. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +1 -1
  89. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +1 -1
  90. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +1 -1
  91. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/lib/client.js +1 -1
  92. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +1 -1
  93. package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +1 -1
  94. package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +1 -1
  95. package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +1 -1
  96. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +1 -1
  97. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +1 -1
  98. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +1 -1
  99. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +1 -1
  100. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +1 -1
  101. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +1 -1
  102. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/client.js +1 -1
  103. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +1 -1
  104. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
  105. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +1 -1
  106. package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +1 -1
  107. package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +1 -1
  108. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +1 -1
  109. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +1 -1
  110. package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +1 -1
  111. package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +1 -1
  112. package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +1 -1
  113. package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +1 -1
  114. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +2 -2
  115. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +1 -1
  116. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +1 -1
  117. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +1 -1
  118. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +1 -1
  119. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +1 -1
  120. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +1 -1
  121. package/node_modules/@deepseek-ai/dsh-client-web/lib/index.js +2 -2
  122. package/node_modules/@deepseek-ai/dsh-client-web/package.json +1 -1
  123. package/node_modules/@deepseek-ai/dsh-cmdline/package.json +1 -1
  124. package/node_modules/@deepseek-ai/dsh-code-runtime-worker-thread/package.json +1 -1
  125. package/node_modules/@deepseek-ai/dsh-command-compact/package.json +1 -1
  126. package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +1 -1
  127. package/node_modules/@deepseek-ai/dsh-command-goal/package.json +1 -1
  128. package/node_modules/@deepseek-ai/dsh-commands/package.json +1 -1
  129. package/node_modules/@deepseek-ai/dsh-compaction/package.json +1 -1
  130. package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +1 -1
  131. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +1 -1
  132. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +1 -1
  133. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +1 -1
  134. package/node_modules/@deepseek-ai/dsh-credentials/package.json +1 -1
  135. package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +1 -1
  136. package/node_modules/@deepseek-ai/dsh-fs/package.json +1 -1
  137. package/node_modules/@deepseek-ai/dsh-fs-local/package.json +1 -1
  138. package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +1 -1
  139. package/node_modules/@deepseek-ai/dsh-goal/package.json +1 -1
  140. package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +1 -1
  141. package/node_modules/@deepseek-ai/dsh-headless/package.json +1 -1
  142. package/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/index.js +7 -7
  143. package/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/types/api/browser-jsapi.js +1 -0
  144. package/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/types/api/browser-jsapi.schema.js +1 -0
  145. package/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/types/api/events.schema.js +1 -1
  146. package/node_modules/@deepseek-ai/dsh-host-apiproxy/lib/types/api-proxy.js +1 -1
  147. package/node_modules/@deepseek-ai/dsh-host-apiproxy/package.json +1 -1
  148. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +1 -1
  149. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +1 -1
  150. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +1 -1
  151. package/node_modules/@deepseek-ai/dsh-jobs/package.json +1 -1
  152. package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +1 -1
  153. package/node_modules/@deepseek-ai/dsh-llm/package.json +1 -1
  154. package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +1 -1
  155. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +1 -1
  156. package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +1 -1
  157. package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +1 -1
  158. package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +1 -1
  159. package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +1 -1
  160. package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +1 -1
  161. package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +1 -1
  162. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +1 -1
  163. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +1 -1
  164. package/node_modules/@deepseek-ai/dsh-sandbox/package.json +1 -1
  165. package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +1 -1
  166. package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +1 -1
  167. package/node_modules/@deepseek-ai/dsh-schedule/package.json +1 -1
  168. package/node_modules/@deepseek-ai/dsh-session/lib/index.js +1 -1
  169. package/node_modules/@deepseek-ai/dsh-session/lib/types/known-event-types.js +1 -1
  170. package/node_modules/@deepseek-ai/dsh-session/package.json +1 -1
  171. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +1 -1
  172. package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +1 -1
  173. package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +1 -1
  174. package/node_modules/@deepseek-ai/dsh-session-projection/package.json +1 -1
  175. package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +1 -1
  176. package/node_modules/@deepseek-ai/dsh-session-query/package.json +1 -1
  177. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +1 -1
  178. package/node_modules/@deepseek-ai/dsh-session-reference/package.json +1 -1
  179. package/node_modules/@deepseek-ai/dsh-session-stats/package.json +1 -1
  180. package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +1 -1
  181. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +1 -1
  182. package/node_modules/@deepseek-ai/dsh-session-title/package.json +1 -1
  183. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +1 -1
  184. package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +1 -1
  185. package/node_modules/@deepseek-ai/dsh-settings/package.json +1 -1
  186. package/node_modules/@deepseek-ai/dsh-settings-file/package.json +1 -1
  187. package/node_modules/@deepseek-ai/dsh-shell/package.json +1 -1
  188. package/node_modules/@deepseek-ai/dsh-shell-env/package.json +1 -1
  189. package/node_modules/@deepseek-ai/dsh-skill/package.json +1 -1
  190. package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +1 -1
  191. package/node_modules/@deepseek-ai/dsh-spill-local/package.json +1 -1
  192. package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +1 -1
  193. package/node_modules/@deepseek-ai/dsh-storage-json/package.json +1 -1
  194. package/node_modules/@deepseek-ai/dsh-subagent/package.json +1 -1
  195. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +1 -1
  196. package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +1 -1
  197. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +1 -1
  198. package/node_modules/@deepseek-ai/dsh-subprocess/package.json +1 -1
  199. package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +1 -1
  200. package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +1 -1
  201. package/node_modules/@deepseek-ai/dsh-terminal/package.json +1 -1
  202. package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +1 -1
  203. package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +1 -1
  204. package/node_modules/@deepseek-ai/dsh-token-meter/package.json +1 -1
  205. package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +1 -1
  206. package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +1 -1
  207. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +1 -1
  208. package/node_modules/@deepseek-ai/dsh-tool-browser/LICENSE +21 -0
  209. package/node_modules/@deepseek-ai/dsh-tool-browser/lib/index.js +1 -0
  210. package/node_modules/@deepseek-ai/dsh-tool-browser/lib/invariant.js +1 -0
  211. package/node_modules/@deepseek-ai/dsh-tool-browser/package.json +1 -0
  212. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +1 -1
  213. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/index.js +14 -5
  214. package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +1 -1
  215. package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +1 -1
  216. package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +1 -1
  217. package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +1 -1
  218. package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +1 -1
  219. package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +1 -1
  220. package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +1 -1
  221. package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +1 -1
  222. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +1 -1
  223. package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +1 -1
  224. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +1 -1
  225. package/node_modules/@deepseek-ai/dsh-tool-subagent-report/package.json +1 -1
  226. package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +1 -1
  227. package/node_modules/@deepseek-ai/dsh-tool-web/package.json +1 -1
  228. package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +1 -1
  229. package/node_modules/@deepseek-ai/dsh-tools/package.json +1 -1
  230. package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +1 -1
  231. package/node_modules/@deepseek-ai/dsh-user-approval/package.json +1 -1
  232. package/node_modules/@deepseek-ai/dsh-user-questions/package.json +1 -1
  233. package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +3 -0
  234. package/node_modules/@deepseek-ai/dsh-web-app/package.json +1 -1
  235. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/{index-fPGOmJjK.js → index-DfZHS_gV.js} +31 -31
  236. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +1 -1
  237. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +1 -1
  238. package/node_modules/@deepseek-ai/dsh-workflow/package.json +1 -1
  239. package/node_modules/@deepseek-ai/dsh-workflow-worker-thread/package.json +1 -1
  240. package/node_modules/@deepseek-ai/dsh-workspace/package.json +1 -1
  241. package/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +1 -1
  242. package/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +1 -1
  243. package/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +1 -1
  244. package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +1 -1
  245. package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +1 -1
  246. package/node_modules/jose/dist/webapi/jwk/embedded.js +1 -1
  247. package/node_modules/jose/dist/webapi/jwk/thumbprint.js +1 -1
  248. package/node_modules/jose/dist/webapi/jwks/local.js +1 -1
  249. package/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
  250. package/node_modules/jose/dist/webapi/jws/compact/sign.js +1 -1
  251. package/node_modules/jose/dist/webapi/jws/flattened/sign.js +1 -1
  252. package/node_modules/jose/dist/webapi/jws/flattened/verify.js +1 -1
  253. package/node_modules/jose/dist/webapi/jws/general/sign.js +1 -1
  254. package/node_modules/jose/dist/webapi/jws/general/verify.js +1 -1
  255. package/node_modules/jose/dist/webapi/jwt/decrypt.js +1 -1
  256. package/node_modules/jose/dist/webapi/jwt/encrypt.js +1 -1
  257. package/node_modules/jose/dist/webapi/jwt/sign.js +1 -1
  258. package/node_modules/jose/dist/webapi/jwt/unsecured.js +1 -1
  259. package/node_modules/jose/dist/webapi/key/generate_key_pair.js +1 -1
  260. package/node_modules/jose/dist/webapi/key/generate_secret.js +1 -1
  261. package/node_modules/jose/dist/webapi/key/import.js +1 -1
  262. package/node_modules/jose/dist/webapi/lib/asn1.js +4 -4
  263. package/node_modules/jose/dist/webapi/lib/content_encryption.js +1 -1
  264. package/node_modules/jose/dist/webapi/lib/deflate.js +1 -1
  265. package/node_modules/jose/dist/webapi/lib/helpers.js +1 -1
  266. package/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +1 -1
  267. package/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +1 -1
  268. package/node_modules/jose/dist/webapi/lib/jwk_metadata.js +1 -0
  269. package/node_modules/jose/dist/webapi/lib/jws_sign.js +1 -1
  270. package/node_modules/jose/dist/webapi/lib/jws_verify.js +1 -1
  271. package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +1 -1
  272. package/node_modules/jose/dist/webapi/lib/key.js +1 -1
  273. package/node_modules/jose/dist/webapi/lib/key_management.js +1 -1
  274. package/node_modules/jose/dist/webapi/lib/key_options.js +1 -0
  275. package/node_modules/jose/dist/webapi/lib/options.js +1 -1
  276. package/node_modules/jose/dist/webapi/lib/type_checks.js +1 -1
  277. package/node_modules/jose/package.json +1 -1
  278. package/package.json +1 -1
@@ -1 +1 @@
1
- var Z=Object.defineProperty;var i=(t,e)=>Z(t,"name",{value:e,configurable:!0});import{Service as ee}from"@deepseek-ai/cordis";import{isAbsolute as te}from"node:path";import{CallId as se,MessageId as re,assertNever as ne,callConfigEquals as oe,deepFreeze as m,freezeMessage as ae}from"@deepseek-ai/dsh-llm";import{scopeOf as ie,scopeTarget as ce}from"@deepseek-ai/dsh-scope";function de(t){return t}i(de,"SessionId");const le=0;function A(t,e){const s=Object.getOwnPropertyDescriptor(t,"constructor")?.value;if(typeof s!="function")return!1;try{return s.name===e&&s.prototype===t&&Function.prototype.toString.call(s)===`function ${e}() { [native code] }`}catch{return!1}}i(A,"hasIntrinsicConstructor");function j(t){return Object.getPrototypeOf(t)===null&&A(t,"Object")}i(j,"isIntrinsicObjectPrototype");function ue(t){const e=Object.getPrototypeOf(t);if(!Array.isArray(e)||!A(e,"Array"))return!1;const s=Object.getPrototypeOf(e);return typeof s=="object"&&s!==null&&j(s)}i(ue,"hasPlainArrayPrototype");function fe(t){const e=Object.getPrototypeOf(t);return e===null||typeof e=="object"&&j(e)}i(fe,"hasPlainObjectPrototype");function he(t){const e=Reflect.ownKeys(t);if(!e.some(s=>typeof s!="string"||!Object.prototype.propertyIsEnumerable.call(t,s)))return e}i(he,"enumerableStringKeys");function I(t,e){const s=new Set;let n;const r=i((a,c)=>{a!==void 0&&(a.kind==="root"?n=c:a.kind==="array"?a.target[a.index]=c:Object.defineProperty(a.target,a.key,{value:c,enumerable:!0,configurable:!0,writable:!0}))},"assign"),o=[{kind:"visit",value:t,...e?{destination:{kind:"root"}}:{}}];for(let a=o.pop();a!==void 0;a=o.pop()){if(a.kind==="leave"){s.delete(a.source);continue}if(a.kind==="array-item"){if(!Object.prototype.hasOwnProperty.call(a.source,a.index))return;o.push({kind:"visit",value:a.source[a.index],...a.target===void 0?{}:{destination:{kind:"array",target:a.target,index:a.index}}});continue}if(a.kind==="object-property"){o.push({kind:"visit",value:a.source[a.key],...a.target===void 0?{}:{destination:{kind:"object",target:a.target,key:a.key}}});continue}const c=a.value;if(c===null){r(a.destination,null);continue}if(typeof c=="boolean"||typeof c=="string"){r(a.destination,c);continue}if(typeof c=="number"){if(!Number.isFinite(c)||Object.is(c,-0))return;r(a.destination,c);continue}if(typeof c!="object"||s.has(c))return;if(Array.isArray(c)){if(!ue(c))return;const f=c.length;if(Reflect.ownKeys(c).length!==f+1)return;const u=e?[]:void 0;u!==void 0&&r(a.destination,u),s.add(c),o.push({kind:"leave",source:c});for(let y=f-1;y>=0;y--)o.push({kind:"array-item",source:c,index:y,...u===void 0?{}:{target:u}});continue}if(!fe(c))return;const d=he(c);if(d===void 0)return;const l=e?{}:void 0;l!==void 0&&r(a.destination,l),s.add(c),o.push({kind:"leave",source:c});for(let f=d.length-1;f>=0;f--){const u=d[f];if(u===void 0)return;o.push({kind:"object-property",source:c,key:u,...l===void 0?{}:{target:l}})}}return e?n:!0}i(I,"walkJsonValue");function w(t){return I(t,!0)}i(w,"snapshotJsonValue");function pe(t){return I(t,!1)===!0}i(pe,"isJsonValue");const _=new Set(["user/message","assistant/message","tool/result"]);function R(t){return _.has(t)}i(R,"isSurfaceEligibleType");function q(t){return _.has(t.type)?t.surfaceOp!==void 0:!1}i(q,"isSurfaceEvent");function ge(t){return q(t)&&t.surfaceOp==="append"}i(ge,"isAppendSurfaceEvent");function me(t){return q(t)&&t.surfaceOp!=="append"}i(me,"isReplacementSurfaceEvent");function D(t){switch(t.type){case"user/message":return t.data;case"assistant/message":return t.data.message.content.length===0?null:t.data.message;case"tool/result":return t.data.message;default:return null}}i(D,"deriveEventMessage");function P(){return{nodes:[],replaceGeneration:0}}i(P,"createFoldState");function E(t){return typeof t=="number"&&Number.isSafeInteger(t)&&t>=0}i(E,"isEventSeq");function ye(t){const e=t;return Object.keys(e).length===3&&Object.hasOwn(e,"op")&&Object.hasOwn(e,"start")&&Object.hasOwn(e,"end")&&e.op==="replace"&&E(e.start)&&E(e.end)}i(ye,"isReplaceOp");function we(t){const e=t;if(!R(t.type)){if(e.surfaceOp!==void 0)throw new Error(`session event "${t.type}" is not surface-eligible and cannot carry surfaceOp`);if(e.sourceEventSeqs!==void 0)throw new Error(`session event "${t.type}" is not surface-eligible and cannot carry sourceEventSeqs`);return}const s=e.surfaceOp;if(s===void 0)throw new Error(`session event "${t.type}" is surface-eligible and requires a surfaceOp marker`);if(s==="append")return s;if(s===null||typeof s!="object"||Array.isArray(s))throw new Error(`session event "${t.type}" carries an invalid surfaceOp`);if(!ye(s))throw new Error(`session event "${t.type}" carries an invalid replace surfaceOp`);return s}i(we,"surfaceOpOf");function T(t,e){const s=t.sourceEventSeqs,n=new Set;if(s!==void 0){if(!Array.isArray(s))throw new Error(`sourceEventSeqs on event at seq ${t.seq} must be an array when present`);if(s.length===0&&t.type!=="assistant/message")throw new Error("sourceEventSeqs must not be empty except on assistant/message");let o;for(const a of s){if(!E(a))throw new Error(`session event "${t.type}" sourceEventSeqs must densely contain non-negative safe integers`);n.add(a),o===void 0&&a>=t.seq&&(o=a)}if(n.size!==s.length)throw new Error("sourceEventSeqs must not contain duplicates");if(o!==void 0)throw new Error(`sourceEventSeqs must reference earlier events: ${o} >= current seq ${t.seq}`)}const r=e.filter(o=>!n.has(o));if(r.length>0)throw new Error(`surface replace: sourceEventSeqs must include every shadowed surface node; missing ${r.join(", ")}`)}i(T,"assertProvenance");function ve(t,e){const s=t.nodes.indexOf(e.start);if(s===-1)throw new Error(`surface replace: start seq ${e.start} not found in surface`);const n=t.nodes.indexOf(e.end);if(n===-1)throw new Error(`surface replace: end seq ${e.end} not found in surface`);if(s>n)throw new Error(`surface replace: start seq ${e.start} (index ${s}) is after end seq ${e.end} (index ${n})`);return{startIdx:s,endIdx:n,shadowedSeqs:t.nodes.slice(s,n+1)}}i(ve,"replacementRange");function k(t,e){if(t===e)return!0;if(Array.isArray(t)||Array.isArray(e))return!Array.isArray(t)||!Array.isArray(e)||t.length!==e.length?!1:t.every((r,o)=>k(r,e[o]));if(typeof t!="object"||typeof e!="object"||t===null||e===null)return!1;const s=Object.keys(t),n=e;return s.length!==Object.keys(e).length?!1:s.every(r=>Object.hasOwn(e,r)&&k(t[r],n[r]))}i(k,"isDeepEqualJson");function be(t,e,s,n){if(t.type==="tool/result"){if(e.length!==1)throw new Error("tool/result surface replacement must rewrite exactly one current node");for(const r of e){const o=s[r-n];if(o?.type!=="tool/result")throw new Error("tool/result surface replacement must target a current tool/result");const a={...o.data},c={...t.data},d=o.data.message.content[0],l=t.data.message.content[0];if(a.message={...o.data.message,content:[{...d,content:null}]},c.message={...t.data.message,content:[{...l,content:null}]},!k(a,c))throw new Error("tool/result surface replacement may change only content")}}}i(be,"assertToolResultRewrite");function F(t,e,s,n,r){if(e.seq!==s)throw new Error(`session event seq ${e.seq} is not contiguous; expected ${s}`);const o=we(e);if(o===void 0)return;if(o==="append")return T(e,[]),{kind:"append",seq:e.seq};const a=ve(t,o);return T(e,a.shadowedSeqs),be(e,a.shadowedSeqs,n,r),{kind:"replace",seq:e.seq,start:o.start,end:o.end,...a}}i(F,"planSurfaceEvent");function L(t,e,s,n,r){return M(t,F(t,e,s,n,r))}i(L,"applySurfaceEvent");function M(t,e){if(e?.kind==="append"?t.nodes.push(e.seq):e?.kind==="replace"&&(t.nodes.splice(e.startIdx,e.endIdx-e.startIdx+1,e.seq),t.replaceGeneration+=1),e?.kind==="replace")return{seq:e.seq,start:e.start,end:e.end,shadowedSeqs:e.shadowedSeqs}}i(M,"applySurfacePlan");function Se(t){const e=P(),s=[];for(const[n,r]of t.entries()){const o=L(e,r,n,t,0);o!==void 0&&s.push(o)}return{nodes:[...e.nodes],replacements:s}}i(Se,"foldSurface");var qe=class{static{i(this,"SurfaceManager")}log;baseSeq;_state=P();_lastProcessedSeq;_pendingPlan;constructor(t,e=0){this.log=t,this.baseSeq=e,this._lastProcessedSeq=e-1}validateNext(t){this._lastProcessedSeq<this.baseSeq+this.log.length-1&&this._processDelta();const e=this.baseSeq+this.log.length;this._pendingPlan={event:t,expectedSeq:e,plan:F(this._state,t,e,this.log,this.baseSeq)}}get replaceGeneration(){return this._lastProcessedSeq<this.baseSeq+this.log.length-1&&this._processDelta(),this._state.replaceGeneration}get nodes(){return this._lastProcessedSeq<this.baseSeq+this.log.length-1&&this._processDelta(),this._state.nodes}_processDelta(){const t=this.baseSeq+this.log.length-1;for(let e=this._lastProcessedSeq+1;e<=t;e++){const s=e-this.baseSeq,n=this.log[s],r=this._pendingPlan;r?.event===n&&r.expectedSeq===e?M(this._state,r.plan):L(this._state,n,e,this.log,this.baseSeq),r!==void 0&&r.expectedSeq<=e&&(this._pendingPlan=void 0),this._lastProcessedSeq=e}}};function C(t){const e=t.adapterDefaults;return{config:t.config,...e?.reasoningEffort===!0||e?.maxTokens===!0?{adapterDefaults:e}:{},...t.system!==void 0&&t.system.length>0?{system:t.system}:{},...t.tools!==void 0&&t.tools.length>0?{tools:t.tools}:{}}}i(C,"canonicalHeader");function Ee(t,e){return JSON.stringify(t)===JSON.stringify(e)}i(Ee,"sameSchema");function ke(t,e){if(!oe(t.config,e.config)||t.adapterDefaults?.reasoningEffort!==e.adapterDefaults?.reasoningEffort||t.adapterDefaults?.maxTokens!==e.adapterDefaults?.maxTokens||t.system!==e.system)return!1;const s=t.tools??[],n=e.tools??[];return s.length===n.length&&s.every((r,o)=>Ee(r,n[o]))}i(ke,"headerEquals");function U(t,e){let s=e;for(const n of t)n.type==="request/header"&&(s=C(n.data.header));return s}i(U,"foldRequestHeader");var Oe=class Q{static{i(this,"SessionPreparation")}options;released=!1;session;constructor(e,s){this.options=s,this.session=e}static create(e,s){return new Q(e,s??{})}[Symbol.dispose](){this.released||(this.released=!0,this.options.release?.())}};const J="TOOL_NOT_STARTED",z="TOOL_OUTCOME_UNKNOWN";function xe(t){let e=null,s=null;const n=new Map;for(const d of t)switch(d.type){case"turn/start":e=d.data.turn,s=null,n.clear();break;case"turn/end":e=null,s=null,n.clear();break;case"step/start":s=d.data.step;break;case"step/end":n.clear(),s=null;break;case"assistant/message":for(const l of d.data.message.content)l.type==="tool-call"&&n.set(l.id,{step:d.data.step});break;case"tool/call":{const l=n.get(d.data.callId);l&&(l.callSeq=d.seq)}break;case"tool/result":n.delete(d.data.message.source.callId)}const r=t.at(-1);if(e===null||r===void 0)return[];let o=r.seq+1;const a=r.time,c=[];for(const[d,{step:l,callSeq:f}]of n){const u=f!==void 0,y=ae({id:re(`interrupted-tool-result-${d}-${o}`),role:"user",source:{kind:"tool",callId:d},content:[{type:"tool-result",toolCallId:d,isError:!0,content:[{type:"text",text:u?"The tool call was interrupted after it was recorded, but no result was durably recorded. Its outcome is unknown. Decide whether to retry from the tool semantics: retry only if the operation is read-only or idempotent; if it may have side effects, first verify external state or ask the user. Do not retry blindly.":"The tool call was interrupted before the Harness recorded it as started. Retry it if it is still needed."}]}]});c.push({type:"tool/result",seq:o++,time:a,data:{turn:e,step:l,message:y,error:u?{name:"ToolOutcomeUnknownError",code:z}:{name:"ToolNotStartedError",code:J}},surfaceOp:"append",...u?{sourceEventSeqs:[f]}:{}})}return s!==null&&c.push({type:"step/end",seq:o++,time:a,data:{turn:e,step:s}}),c.push({type:"turn/end",seq:o++,time:a,data:{turn:e,reason:{kind:"interrupted"}}}),c}i(xe,"interruptedTurnClosers");const $e=3;function b(t){return typeof t=="object"&&t!==null}i(b,"isRecord");function p(t,e){return Object.keys(t).length===e.length&&e.every(s=>Object.hasOwn(t,s))}i(p,"hasExactKeys");function Ne(t){if(t.type!=="assistant/chunk"||!p(t,["type","seq","time","data"])||!Number.isSafeInteger(t.seq)||t.seq<0||!Number.isSafeInteger(t.time))return;const e=t.data;if(!b(e)||!p(e,["turn","step","chunk"])||typeof e.turn!="number"||typeof e.step!="number")return;const s=e.chunk;if(!(!b(s)||typeof s.index!="number"))switch(s.type){case"text-delta":case"reasoning-delta":return p(s,["type","index","text"])&&typeof s.text=="string"?s.type:void 0;case"tool-call-delta":return(p(s,["type","index","id","argumentsDelta"])||p(s,["type","index","id","name","argumentsDelta"])&&typeof s.name=="string")&&typeof s.id=="string"&&typeof s.argumentsDelta=="string"?s.type:void 0;default:return}}i(Ne,"classify");function O(t){return t.data.chunk}i(O,"toolCallOf");function x(t){return t.data.chunk.index}i(x,"indexOf");function Ae(t,e,s){if(e.seq!==t.seq+1||!Number.isSafeInteger(e.time-t.time)||e.data.turn!==t.data.turn||e.data.step!==t.data.step||x(e)!==x(t))return!1;if(s!=="tool-call-delta")return!0;const n=O(t),r=O(e);return n.id===r.id&&Object.hasOwn(n,"name")===Object.hasOwn(r,"name")&&n.name===r.name}i(Ae,"continues");function je(t,e){const s=e[0],n={turn:s.data.turn,step:s.data.step,index:x(s),dt:e.slice(1).map((a,c)=>a.time-e[c].time)},r={seq0:s.seq,time0:s.time};if(t==="tool-call-delta"){const a=O(s);return{type:"tool-call-chunks",...r,data:{...n,id:se(a.id),...Object.hasOwn(a,"name")?{name:a.name}:{},args:e.map(c=>c.data.chunk.argumentsDelta)}}}const o={...n,texts:e.map(a=>a.data.chunk.text)};return t==="text-delta"?{type:"text-chunks",...r,data:o}:{type:"reasoning-chunks",...r,data:o}}i(je,"buildRow");function Ie(t){const e=[];let s,n=[];const r=i(()=>{s!==void 0&&n.length>=$e?e.push(je(s,n)):e.push(...n),s=void 0,n=[]},"flush");for(const o of t){const a=Ne(o);if(a===void 0){r(),e.push(o);continue}const c=o,d=n[n.length-1];if(a===s&&d!==void 0&&Ae(d,c,a)){n.push(c);continue}r(),s=a,n=[c]}return r(),e}i(Ie,"packChunkRuns");function h(t,e){throw new Error(`malformed ${t} storage row: ${e}`)}i(h,"malformed");function V(t,e,s){(typeof e.turn!="number"||typeof e.step!="number"||typeof e.index!="number")&&h(t,"turn/step/index must be numbers");const n=e[s];(!Array.isArray(n)||n.length===0||n.some(o=>typeof o!="string"))&&h(t,`${s} must be a non-empty string array`);const r=e.dt;return(!Array.isArray(r)||r.some(o=>!Number.isSafeInteger(o)))&&h(t,"dt must be an array of safe integers"),r.length!==n.length-1&&h(t,`dt length ${r.length} does not match ${n.length} members`),n}i(V,"validateRunData");function _e(t,e){p(t,["type","seq0","time0","data"])||h(e,"envelope must be exactly {type, seq0, time0, data}"),(!Number.isSafeInteger(t.seq0)||t.seq0<0)&&h(e,"seq0 must be a non-negative safe integer"),Number.isSafeInteger(t.time0)||h(e,"time0 must be a safe integer");const s=t.data;b(s)||h(e,"data must be an object");let n;if(e==="tool-call-chunks"){const o=p(s,["turn","step","index","id","name","dt","args"]);!o&&!p(s,["turn","step","index","id","dt","args"])&&h(e,"data must be exactly {turn, step, index, id, name?, dt, args}"),(typeof s.id!="string"||o&&typeof s.name!="string")&&h(e,"id (and name when present) must be strings"),n=V(e,s,"args")}else p(s,["turn","step","index","dt","texts"])||h(e,"data must be exactly {turn, step, index, dt, texts}"),n=V(e,s,"texts");Number.isSafeInteger(t.seq0+n.length-1)||h(e,"member seqs must stay safe integers");let r=t.time0;for(const o of s.dt)r+=o,Number.isSafeInteger(r)||h(e,"member times must stay safe integers");return t}i(_e,"validateRow");function Re(t){const e=t.type==="tool-call-chunks"?t.data.args:t.data.texts,s=[];let n=t.time0;for(let r=0;r<e.length;r++){r>0&&(n+=t.data.dt[r-1]);let o;switch(t.type){case"text-chunks":o={type:"text-delta",index:t.data.index,text:e[r]};break;case"reasoning-chunks":o={type:"reasoning-delta",index:t.data.index,text:e[r]};break;case"tool-call-chunks":o={type:"tool-call-delta",index:t.data.index,id:t.data.id,...Object.hasOwn(t.data,"name")?{name:t.data.name}:{},argumentsDelta:e[r]};break;default:return ne(t,"chunk-rows expandRow")}s.push({type:"assistant/chunk",seq:t.seq0+r,time:n,data:{turn:t.data.turn,step:t.data.step,chunk:o}})}return s}i(Re,"expandRow");function De(t){if(!b(t))return[t];const e=t.type;return e!=="text-chunks"&&e!=="reasoning-chunks"&&e!=="tool-call-chunks"?[t]:Re(_e(t,e))}i(De,"decodeStorageRecord");const Pe=new Set(["agent-preset/selected","agent/inbox/spliced","approval/asked","approval/decided","approval/policy","assistant/chunk","assistant/message","command/done","command/run","compaction/end","compaction/prune","compaction/start","compaction/summary","feedback/record","goal/change","hook/invoked","hook/result","llm/retry","llm/retry-started","permission/preset","plan/mode","request/context","request/header","sandbox/mode","schedule/change","session/end-seed","session/title","session/title-llm-request","step/end","step/start","subagent/descriptor","todo/write","tool-workflow/agent-end","tool-workflow/agent-start","tool-workflow/run-end","tool-workflow/run-start","tool/call","tool/code-dispatch","tool/code-dispatch-start","tool/result","turn/end","turn/start","user/message","web/deepseek-search-llm-request"]);function H(t,e){if(e===null||typeof e!="object"||Array.isArray(e))throw new Error("session header is not a plain JSON record");const s=e;if(s.version!==0)throw new Error(`session header version must be 0, got ${String(s.version)}`);if(s.id!==t)throw new Error(`session header id "${String(s.id)}" does not match session id "${t}"`);if(typeof s.createdAt!="number"||!Number.isSafeInteger(s.createdAt)||s.createdAt<0)throw new Error("session header createdAt must be a non-negative safe integer");if(s.cwd!==void 0){if(typeof s.cwd!="string")throw new Error("session header cwd must be a string");if(!te(s.cwd))throw new Error(`session header cwd must be an absolute path, got "${s.cwd}"`)}if(s.parentSession!==void 0&&typeof s.parentSession!="string")throw new Error("session header parentSession must be a string");if(s.seedLength!==void 0&&(typeof s.seedLength!="number"||!Number.isSafeInteger(s.seedLength)||s.seedLength<0))throw new Error("session header seedLength must be a non-negative safe integer");if(s.origin!==void 0&&s.origin!=="subagent")throw new Error('session header origin must be "subagent"');if(s.delegationDepth!==void 0&&(typeof s.delegationDepth!="number"||!Number.isSafeInteger(s.delegationDepth)||s.delegationDepth<0))throw new Error("session header delegationDepth must be a non-negative safe integer");if(s.agentPreset!==void 0&&typeof s.agentPreset!="string")throw new Error("session header agentPreset must be a string");return m(s)}i(H,"validateSessionHeader");function Te(t,e){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){const s=Reflect.getPrototypeOf(e);if(s!==Object.prototype&&s!==null)throw new Error("session header is not a plain JSON record")}return H(t,e)}i(Te,"validateRestoredSessionHeader");function Fe(t,e){const s=w(e===void 0?{version:0,id:t,createdAt:Date.now()}:e);if(s===void 0)throw new Error("session header is not losslessly JSON-serializable");return H(t,s)}i(Fe,"snapshotSessionHeader");function G(t){switch(K(t,`session event at seq ${t.seq}`),t.type){case"user/message":m(t.data);break;case"assistant/message":case"tool/result":m(t.data.message)}return t}i(G,"adoptSessionEvent");function Le(t){return G(structuredClone(t))}i(Le,"snapshotSessionEvent");function Me(t){const e=[t];for(;e.length>0;){const s=e.pop();Object.freeze(s);for(const n in s){const r=s[n];r!==null&&typeof r=="object"&&e.push(r)}}return t}i(Me,"freezeRestoredObject");function Ce(t,e){const s=t;if(s.type==="request/header-delta")throw new Error(`seed event at index ${e} uses unsupported legacy request/header-delta format`);for(const a in s)switch(a){case"type":case"seq":case"time":case"data":case"surfaceOp":case"sourceEventSeqs":case"ignorable":break;default:throw new Error(`seed event at index ${e} has an invalid event envelope`)}const n=s.type,r=s.seq,o=s.time;if(typeof n!="string"||typeof r!="number"||!Number.isSafeInteger(r)||r<0||typeof o!="number"||!Number.isSafeInteger(o)||s.data===void 0||s.ignorable!==void 0&&s.ignorable!==!0)throw new Error(`seed event at index ${e} has an invalid event envelope`);switch(n){case"request/header":case"user/message":case"assistant/message":case"tool/result":Ue(s,e)}}i(Ce,"assertSessionEventEnvelope");function Ue(t,e){const s=t.data,n=typeof s=="object"&&s!==null?s:void 0;if(t.type==="request/header"){const o=n?.header,a=typeof o=="object"&&o!==null&&!Array.isArray(o)?o:void 0,c=a?.config;if(!Y(c))throw new Error(`seed request/header at index ${e} lacks provider/model`);const d=c,l=d.reasoningEffort;if(l!==void 0&&(typeof l!="string"||l.length===0))throw new Error(`seed request/header at index ${e} has an invalid reasoningEffort`);ze(a?.adapterDefaults,d,e)}const r=t.type;r!=="user/message"&&r!=="assistant/message"&&r!=="tool/result"||K(t,`seed ${r} at index ${e}`)}i(Ue,"assertCurrentLlmShape");const Je=new Set(["reasoningEffort","maxTokens"]);function ze(t,e,s){if(t===void 0)return;if(typeof t!="object"||t===null||Array.isArray(t))throw new Error(`seed request/header at index ${s} has invalid adapterDefaults`);const n=t;if(Object.keys(n).some(r=>!Je.has(r))||Object.values(n).some(r=>r!==!0)||n.reasoningEffort===!0&&e.reasoningEffort===void 0||n.maxTokens===!0&&e.maxTokens===void 0)throw new Error(`seed request/header at index ${s} has invalid adapterDefaults`)}i(ze,"assertAdapterDefaults");function K(t,e){const s=t.type;if(s!=="user/message"&&s!=="assistant/message"&&s!=="tool/result")return;const n=t.data,r=typeof n=="object"&&n!==null?n:void 0,o=s==="user/message"?r:r?.message;if(typeof o!="object"||o===null||typeof o.id!="string"||o.id==="")throw new Error(`${e} lacks an identified message`);const a=o,c=s==="assistant/message"?"assistant":"user";if(a.role!==c)throw new Error(`${e} message must have role "${c}"`);const d=a.source;if(typeof d!="object"||d===null||typeof d.kind!="string"||d.kind==="")throw new Error(`${e} message has invalid source`);if(!Array.isArray(a.content))throw new Error(`${e} message has invalid content`);const l=d;if(s==="assistant/message"){if(l.kind!=="model"||!Y(l))throw new Error(`${e} message must have model source`);return}if(s!=="tool/result")return;if(l.kind!=="tool"||typeof l.callId!="string"||l.callId==="")throw new Error(`${e} message must have tool source`);const f=a.content,u=f[0];if(f.length!==1||typeof u!="object"||u===null||u.type!=="tool-result"||!Array.isArray(u.content))throw new Error(`${e} message must contain one tool-result block`);if(u.toolCallId!==l.callId)throw new Error(`${e} message has mismatched tool call ids`)}i(K,"assertMessageEventShape");function Y(t){if(typeof t!="object"||t===null)return!1;const e=t;return typeof e.provider=="string"&&e.provider.length>0&&typeof e.model=="string"&&e.model.length>0}i(Y,"hasProviderModel");function W(t,e,s){if(t==="request/header-delta")throw new Error(`${s} uses unsupported legacy request/header-delta format`);if(t==="request/header"&&e!==null&&typeof e=="object"&&!Array.isArray(e)&&e.reason==="fallback")throw new Error(`${s} uses unsupported legacy request/header reason "fallback"`)}i(W,"assertSupportedRequestHeader");function S(t,e){return[...t.events.dispatch("emit",e)]}i(S,"collectSessionCallbacks");function B(t,e,s,n,r){for(const o of r)try{const a=o(...n);Promise.resolve(a).catch(c=>{t.logger.warn(`session "${s}": ${e} listener rejected: ${String(c)}`)})}catch(a){t.logger.warn(`session "${s}": ${e} listener threw: ${String(a)}`)}}i(B,"invokeContainedSessionObservers");const v=new WeakMap;var $=class N{static{i(this,"Session")}log=[];surfaceManager=new qe(this.log);get surface(){return this.surfaceManager}header;get id(){return this.header.id}firstLiveSeq;static create(e,s,n){return new N(e,s,n)}static fromRestore(e,s,n){return new N(e,s,n,"restore")}constructor(e,s,n,r="snapshot"){const o=r==="restore"?Te(e,n):void 0;if(s!==void 0)for(const[a,c]of s.entries()){const d=r==="restore"?c:w(c);if(d===void 0)throw new Error(`seed event at index ${a} is not losslessly JSON-serializable`);if(Ce(d,a),W(d.type,d.data,`seed event at index ${a}`),d.seq!==a)throw new Error(`seed event at index ${a} has seq ${d.seq} (expected ${a}); seed must be contiguous from 0`);try{this.surfaceManager.validateNext(d)}catch(l){throw new Error(`invalid seed event at index ${a}: ${l instanceof Error?l.message:"invalid surface metadata"}`)}this.log.push(r==="restore"?Me(d):m(d))}this.firstLiveSeq=this.log.length,this.header=o??Fe(e,n),s!==void 0&&this.log.at(-1)?.type!=="session/end-seed"&&this.append("session/end-seed",{})}eventsSnapshot;get events(){return this.eventsSnapshot??=Object.freeze([...this.log]),this.eventsSnapshot}get seq(){return this.log.length}append(e,s,...n){const r=n[0],o={...r?.sourceEventSeqs===void 0?{}:{sourceEventSeqs:r.sourceEventSeqs},...r?.surfaceOp===void 0?{}:{surfaceOp:r.surfaceOp}},a=w(s);if(a===void 0)throw new Error(`session event "${e}" carries non-JSON-serializable data`);W(e,a,`session event "${e}"`);const c=w(o);if(c===void 0)throw new Error(`session event "${e}" carries non-JSON-serializable surface metadata`);const d=v.get(this);if(d?.appending)throw new Error("session append cannot reenter while another append is being published");const l=m({type:e,seq:this.log.length,time:Date.now(),data:a,...c});this.surfaceManager.validateNext(l),d!==void 0&&(d.appending=!0);try{let f;const u=[this,l];return d!==void 0&&(f=S(d.emitCtx,[d.carrier,"session/event",...u])),this.log.push(l),this.eventsSnapshot=void 0,f!==void 0&&d!==void 0&&B(d.emitCtx,"session/event",d.id,u,f),l}finally{d!==void 0&&(d.appending=!1,d.detachRequested&&!d.announcing&&d.detach())}}headerFold;headerFoldSeq=0;requestHeader(){return this.headerFoldSeq<this.log.length&&(this.headerFold=m(U(this.log.slice(this.headerFoldSeq),this.headerFold)),this.headerFoldSeq=this.log.length),this.headerFold}contextFold;contextFoldSeq=0;requestContext(){if(this.contextFoldSeq<this.log.length){for(const e of this.log.slice(this.contextFoldSeq))e.type==="request/context"&&(this.contextFold=m({...e.data}));this.contextFoldSeq=this.log.length}return this.contextFold}derived=[];derivedNodes=0;derivedGeneration=0;deriveMessages(){const e=this.surface,s=e.nodes,n=e.replaceGeneration;n!==this.derivedGeneration&&(this.derived=[],this.derivedNodes=0,this.derivedGeneration=n);for(const r of s.slice(this.derivedNodes)){const o=this.deriveEventMessage(this.log[r]);o&&this.derived.push(o)}return this.derivedNodes=s.length,[...this.derived]}deriveEventMessage(e){return D(e)}},g=class extends Error{static{i(this,"SessionForkError")}code;constructor(t,e){super(t),this.code=e,this.name="SessionForkError"}},X=class extends ee{static{i(this,"SessionStore")}store=new Map;counter=0;constructor(t){super(t,"sessions"),t.inject(["typert"],e=>{e.typert.lookups.register("session",{parameter:"session",wire:"sessionId",hostTypeSymbol:"@deepseek-ai/dsh-session#Session",wireTypeSymbol:"@deepseek-ai/dsh-session/types#SessionId",resolve:i(s=>this.get(s),"resolve")})})}create(t,e){const s=this.prepare(t,e);return this.ctx.effect(function*(){yield this.enter(s),this.announce(s)}.bind(this),"sessions.create()"),s}prepare(t,e){let s;if(t===void 0)do s=`session-${++this.counter}`;while(this.store.has(s));else s=t;if(this.store.has(s))throw new Error(`session "${s}" already exists`);if(e?.seedSource==="persistence")return $.fromRestore(s,e.seed,e.meta);const n=e?.seed,r=e?.meta,o={version:0,id:s,createdAt:r?.createdAt??Date.now(),...r?.cwd===void 0?{}:{cwd:r.cwd},...r?.parentSession===void 0?{}:{parentSession:r.parentSession},...r?.seedLength===void 0?{}:{seedLength:r.seedLength},...r?.origin===void 0?{}:{origin:r.origin},...r?.delegationDepth===void 0?{}:{delegationDepth:r.delegationDepth},...r?.agentPreset===void 0?{}:{agentPreset:r.agentPreset}};return $.create(s,n,o)}enter(t){const e=t.id,s=ce(t,ie(this.ctx));if(this.store.has(e))throw new Error(`session "${e}" already exists`);if(v.has(t))throw new Error(`session "${e}" is already attached to a store`);const n={id:e,session:t,carrier:s,emitCtx:this.ctx,announced:!1,announcing:!1,appending:!1,detachRequested:!1,detach:i(()=>{this.detachEntered(n)},"detach")};this.store.set(e,n),v.set(t,n);let r=!0;return i(()=>{if(r){if(r=!1,n.announcing||n.appending){n.detachRequested=!0;return}n.detach()}},"detach")}detachEntered(t){t.detachRequested=!1,this.store.get(t.id)===t&&(this.store.delete(t.id),v.delete(t.session),t.announced&&this.emitDisposed(t))}announce(t){const e=this.liveEntryFor(t);if(e.announced||e.announcing)throw new Error(`session "${e.id}" was already announced`);e.announced=!0;const s=[t];e.announcing=!0;try{const n=S(this.ctx,[e.carrier,"session/created",t]);for(const r of n){const o=r(...s);Promise.resolve(o).catch(a=>{this.ctx.logger.warn(`session "${e.id}": session/created listener rejected: ${String(a)}`)})}}finally{e.announcing=!1,e.detachRequested&&!e.appending&&e.detach()}}emitDisposed(t){const e=[t.session];try{const s=S(this.ctx,[t.carrier,"session/disposed",t.session]);B(this.ctx,"session/disposed",t.id,e,s)}catch(s){this.ctx.logger.warn(`session "${t.id}": session/disposed dispatch threw: ${String(s)}`)}}async flush(t){const{carrier:e}=this.liveEntryFor(t),s=[t],n=S(this.ctx,[e,"session/flush",t]),r=(await Promise.allSettled(n.map(o=>{try{return o(...s)}catch(a){return Promise.reject(a)}}))).find(o=>o.status==="rejected");if(r!==void 0)throw r.reason;return n.length>0}liveEntryFor(t){const e=v.get(t);if(e===void 0||this.store.get(e.id)!==e)throw new Error(`session "${t.id}" is not live in this store`);return e}get(t){return this.store.get(t)?.session}list(){return[...this.store.values()].map(t=>t.session)}fork(t,e,s){if(s!==void 0&&this.get(s)!==void 0)throw new g(`session "${s}" already exists`,"SESSION_ALREADY_EXISTS");const n=this._resolveForkSource(t),r=this._forkSeed(n,e);return this.create(s,{seed:r,meta:{...n.header.cwd!==void 0?{cwd:n.header.cwd}:{},parentSession:n.id,seedLength:r.length}})}_forkSeed(t,e){const s=t.events,n=s.at(-1);let r;if(e!==void 0)r=e;else{if(n===void 0)return[];r=n.seq}if(!Number.isSafeInteger(r)||r<0)throw new g(`fork boundary for session "${t.id}" must be a non-negative safe integer, got ${String(r)}`,"INVALID_BOUNDARY");if(r>=s.length){const c=s.at(-1)?.seq;throw new g(`fork boundary ${r} does not exist in session "${t.id}" (last seq: ${c??"none"})`,"INVALID_BOUNDARY")}const o=s[r];if(o===void 0||o.seq!==r)throw new g(`fork boundary ${r} does not match a contiguous event seq in session "${t.id}"`,"INVALID_BOUNDARY");const a=s.slice(0,r+1).findLast(c=>c.type==="turn/start"||c.type==="turn/end");if(a?.type==="turn/start")throw new g(`fork boundary ${r} in session "${t.id}" ends inside open turn ${a.data.turn}`,"OPEN_TURN");return s.slice(0,r+1)}_resolveForkSource(t){if(typeof t=="string"){const s=this.get(t);if(s===void 0)throw new g(`session "${t}" not found`,"SESSION_NOT_FOUND");return s}const e=this.get(t.id);if(e===void 0)throw new g(`session "${t.id}" not found`,"SESSION_NOT_FOUND");if(e!==t)throw new g(`session "${t.id}" is not the live store instance`,"SESSION_NOT_LIVE");return t}};export{Pe as KNOWN_SESSION_EVENT_TYPES,le as SESSION_FORMAT_VERSION,$ as Session,g as SessionForkError,de as SessionId,Oe as SessionPreparation,X as SessionStore,X as default,J as TOOL_NOT_STARTED,z as TOOL_OUTCOME_UNKNOWN,G as adoptSessionEvent,C as canonicalHeader,De as decodeStorageRecord,D as deriveEventMessage,U as foldRequestHeader,Se as foldSurface,ke as headerEquals,xe as interruptedTurnClosers,ge as isAppendSurfaceEvent,pe as isJsonValue,me as isReplacementSurfaceEvent,R as isSurfaceEligibleType,q as isSurfaceEvent,Ie as packChunkRuns,w as snapshotJsonValue,Le as snapshotSessionEvent};
1
+ var Z=Object.defineProperty;var i=(t,e)=>Z(t,"name",{value:e,configurable:!0});import{Service as ee}from"@deepseek-ai/cordis";import{isAbsolute as te}from"node:path";import{CallId as se,MessageId as re,assertNever as ne,callConfigEquals as oe,deepFreeze as m,freezeMessage as ae}from"@deepseek-ai/dsh-llm";import{scopeOf as ie,scopeTarget as ce}from"@deepseek-ai/dsh-scope";function de(t){return t}i(de,"SessionId");const le=0;function A(t,e){const s=Object.getOwnPropertyDescriptor(t,"constructor")?.value;if(typeof s!="function")return!1;try{return s.name===e&&s.prototype===t&&Function.prototype.toString.call(s)===`function ${e}() { [native code] }`}catch{return!1}}i(A,"hasIntrinsicConstructor");function j(t){return Object.getPrototypeOf(t)===null&&A(t,"Object")}i(j,"isIntrinsicObjectPrototype");function ue(t){const e=Object.getPrototypeOf(t);if(!Array.isArray(e)||!A(e,"Array"))return!1;const s=Object.getPrototypeOf(e);return typeof s=="object"&&s!==null&&j(s)}i(ue,"hasPlainArrayPrototype");function fe(t){const e=Object.getPrototypeOf(t);return e===null||typeof e=="object"&&j(e)}i(fe,"hasPlainObjectPrototype");function he(t){const e=Reflect.ownKeys(t);if(!e.some(s=>typeof s!="string"||!Object.prototype.propertyIsEnumerable.call(t,s)))return e}i(he,"enumerableStringKeys");function I(t,e){const s=new Set;let n;const r=i((a,c)=>{a!==void 0&&(a.kind==="root"?n=c:a.kind==="array"?a.target[a.index]=c:Object.defineProperty(a.target,a.key,{value:c,enumerable:!0,configurable:!0,writable:!0}))},"assign"),o=[{kind:"visit",value:t,...e?{destination:{kind:"root"}}:{}}];for(let a=o.pop();a!==void 0;a=o.pop()){if(a.kind==="leave"){s.delete(a.source);continue}if(a.kind==="array-item"){if(!Object.prototype.hasOwnProperty.call(a.source,a.index))return;o.push({kind:"visit",value:a.source[a.index],...a.target===void 0?{}:{destination:{kind:"array",target:a.target,index:a.index}}});continue}if(a.kind==="object-property"){o.push({kind:"visit",value:a.source[a.key],...a.target===void 0?{}:{destination:{kind:"object",target:a.target,key:a.key}}});continue}const c=a.value;if(c===null){r(a.destination,null);continue}if(typeof c=="boolean"||typeof c=="string"){r(a.destination,c);continue}if(typeof c=="number"){if(!Number.isFinite(c)||Object.is(c,-0))return;r(a.destination,c);continue}if(typeof c!="object"||s.has(c))return;if(Array.isArray(c)){if(!ue(c))return;const f=c.length;if(Reflect.ownKeys(c).length!==f+1)return;const u=e?[]:void 0;u!==void 0&&r(a.destination,u),s.add(c),o.push({kind:"leave",source:c});for(let y=f-1;y>=0;y--)o.push({kind:"array-item",source:c,index:y,...u===void 0?{}:{target:u}});continue}if(!fe(c))return;const d=he(c);if(d===void 0)return;const l=e?{}:void 0;l!==void 0&&r(a.destination,l),s.add(c),o.push({kind:"leave",source:c});for(let f=d.length-1;f>=0;f--){const u=d[f];if(u===void 0)return;o.push({kind:"object-property",source:c,key:u,...l===void 0?{}:{target:l}})}}return e?n:!0}i(I,"walkJsonValue");function w(t){return I(t,!0)}i(w,"snapshotJsonValue");function pe(t){return I(t,!1)===!0}i(pe,"isJsonValue");const _=new Set(["user/message","assistant/message","tool/result"]);function R(t){return _.has(t)}i(R,"isSurfaceEligibleType");function q(t){return _.has(t.type)?t.surfaceOp!==void 0:!1}i(q,"isSurfaceEvent");function ge(t){return q(t)&&t.surfaceOp==="append"}i(ge,"isAppendSurfaceEvent");function me(t){return q(t)&&t.surfaceOp!=="append"}i(me,"isReplacementSurfaceEvent");function D(t){switch(t.type){case"user/message":return t.data;case"assistant/message":return t.data.message.content.length===0?null:t.data.message;case"tool/result":return t.data.message;default:return null}}i(D,"deriveEventMessage");function P(){return{nodes:[],replaceGeneration:0}}i(P,"createFoldState");function E(t){return typeof t=="number"&&Number.isSafeInteger(t)&&t>=0}i(E,"isEventSeq");function ye(t){const e=t;return Object.keys(e).length===3&&Object.hasOwn(e,"op")&&Object.hasOwn(e,"start")&&Object.hasOwn(e,"end")&&e.op==="replace"&&E(e.start)&&E(e.end)}i(ye,"isReplaceOp");function we(t){const e=t;if(!R(t.type)){if(e.surfaceOp!==void 0)throw new Error(`session event "${t.type}" is not surface-eligible and cannot carry surfaceOp`);if(e.sourceEventSeqs!==void 0)throw new Error(`session event "${t.type}" is not surface-eligible and cannot carry sourceEventSeqs`);return}const s=e.surfaceOp;if(s===void 0)throw new Error(`session event "${t.type}" is surface-eligible and requires a surfaceOp marker`);if(s==="append")return s;if(s===null||typeof s!="object"||Array.isArray(s))throw new Error(`session event "${t.type}" carries an invalid surfaceOp`);if(!ye(s))throw new Error(`session event "${t.type}" carries an invalid replace surfaceOp`);return s}i(we,"surfaceOpOf");function T(t,e){const s=t.sourceEventSeqs,n=new Set;if(s!==void 0){if(!Array.isArray(s))throw new Error(`sourceEventSeqs on event at seq ${t.seq} must be an array when present`);if(s.length===0&&t.type!=="assistant/message")throw new Error("sourceEventSeqs must not be empty except on assistant/message");let o;for(const a of s){if(!E(a))throw new Error(`session event "${t.type}" sourceEventSeqs must densely contain non-negative safe integers`);n.add(a),o===void 0&&a>=t.seq&&(o=a)}if(n.size!==s.length)throw new Error("sourceEventSeqs must not contain duplicates");if(o!==void 0)throw new Error(`sourceEventSeqs must reference earlier events: ${o} >= current seq ${t.seq}`)}const r=e.filter(o=>!n.has(o));if(r.length>0)throw new Error(`surface replace: sourceEventSeqs must include every shadowed surface node; missing ${r.join(", ")}`)}i(T,"assertProvenance");function ve(t,e){const s=t.nodes.indexOf(e.start);if(s===-1)throw new Error(`surface replace: start seq ${e.start} not found in surface`);const n=t.nodes.indexOf(e.end);if(n===-1)throw new Error(`surface replace: end seq ${e.end} not found in surface`);if(s>n)throw new Error(`surface replace: start seq ${e.start} (index ${s}) is after end seq ${e.end} (index ${n})`);return{startIdx:s,endIdx:n,shadowedSeqs:t.nodes.slice(s,n+1)}}i(ve,"replacementRange");function k(t,e){if(t===e)return!0;if(Array.isArray(t)||Array.isArray(e))return!Array.isArray(t)||!Array.isArray(e)||t.length!==e.length?!1:t.every((r,o)=>k(r,e[o]));if(typeof t!="object"||typeof e!="object"||t===null||e===null)return!1;const s=Object.keys(t),n=e;return s.length!==Object.keys(e).length?!1:s.every(r=>Object.hasOwn(e,r)&&k(t[r],n[r]))}i(k,"isDeepEqualJson");function be(t,e,s,n){if(t.type==="tool/result"){if(e.length!==1)throw new Error("tool/result surface replacement must rewrite exactly one current node");for(const r of e){const o=s[r-n];if(o?.type!=="tool/result")throw new Error("tool/result surface replacement must target a current tool/result");const a={...o.data},c={...t.data},d=o.data.message.content[0],l=t.data.message.content[0];if(a.message={...o.data.message,content:[{...d,content:null}]},c.message={...t.data.message,content:[{...l,content:null}]},!k(a,c))throw new Error("tool/result surface replacement may change only content")}}}i(be,"assertToolResultRewrite");function F(t,e,s,n,r){if(e.seq!==s)throw new Error(`session event seq ${e.seq} is not contiguous; expected ${s}`);const o=we(e);if(o===void 0)return;if(o==="append")return T(e,[]),{kind:"append",seq:e.seq};const a=ve(t,o);return T(e,a.shadowedSeqs),be(e,a.shadowedSeqs,n,r),{kind:"replace",seq:e.seq,start:o.start,end:o.end,...a}}i(F,"planSurfaceEvent");function L(t,e,s,n,r){return M(t,F(t,e,s,n,r))}i(L,"applySurfaceEvent");function M(t,e){if(e?.kind==="append"?t.nodes.push(e.seq):e?.kind==="replace"&&(t.nodes.splice(e.startIdx,e.endIdx-e.startIdx+1,e.seq),t.replaceGeneration+=1),e?.kind==="replace")return{seq:e.seq,start:e.start,end:e.end,shadowedSeqs:e.shadowedSeqs}}i(M,"applySurfacePlan");function Se(t){const e=P(),s=[];for(const[n,r]of t.entries()){const o=L(e,r,n,t,0);o!==void 0&&s.push(o)}return{nodes:[...e.nodes],replacements:s}}i(Se,"foldSurface");var qe=class{static{i(this,"SurfaceManager")}log;baseSeq;_state=P();_lastProcessedSeq;_pendingPlan;constructor(t,e=0){this.log=t,this.baseSeq=e,this._lastProcessedSeq=e-1}validateNext(t){this._lastProcessedSeq<this.baseSeq+this.log.length-1&&this._processDelta();const e=this.baseSeq+this.log.length;this._pendingPlan={event:t,expectedSeq:e,plan:F(this._state,t,e,this.log,this.baseSeq)}}get replaceGeneration(){return this._lastProcessedSeq<this.baseSeq+this.log.length-1&&this._processDelta(),this._state.replaceGeneration}get nodes(){return this._lastProcessedSeq<this.baseSeq+this.log.length-1&&this._processDelta(),this._state.nodes}_processDelta(){const t=this.baseSeq+this.log.length-1;for(let e=this._lastProcessedSeq+1;e<=t;e++){const s=e-this.baseSeq,n=this.log[s],r=this._pendingPlan;r?.event===n&&r.expectedSeq===e?M(this._state,r.plan):L(this._state,n,e,this.log,this.baseSeq),r!==void 0&&r.expectedSeq<=e&&(this._pendingPlan=void 0),this._lastProcessedSeq=e}}};function C(t){const e=t.adapterDefaults;return{config:t.config,...e?.reasoningEffort===!0||e?.maxTokens===!0?{adapterDefaults:e}:{},...t.system!==void 0&&t.system.length>0?{system:t.system}:{},...t.tools!==void 0&&t.tools.length>0?{tools:t.tools}:{}}}i(C,"canonicalHeader");function Ee(t,e){return JSON.stringify(t)===JSON.stringify(e)}i(Ee,"sameSchema");function ke(t,e){if(!oe(t.config,e.config)||t.adapterDefaults?.reasoningEffort!==e.adapterDefaults?.reasoningEffort||t.adapterDefaults?.maxTokens!==e.adapterDefaults?.maxTokens||t.system!==e.system)return!1;const s=t.tools??[],n=e.tools??[];return s.length===n.length&&s.every((r,o)=>Ee(r,n[o]))}i(ke,"headerEquals");function U(t,e){let s=e;for(const n of t)n.type==="request/header"&&(s=C(n.data.header));return s}i(U,"foldRequestHeader");var Oe=class Q{static{i(this,"SessionPreparation")}options;released=!1;session;constructor(e,s){this.options=s,this.session=e}static create(e,s){return new Q(e,s??{})}[Symbol.dispose](){this.released||(this.released=!0,this.options.release?.())}};const J="TOOL_NOT_STARTED",z="TOOL_OUTCOME_UNKNOWN";function xe(t){let e=null,s=null;const n=new Map;for(const d of t)switch(d.type){case"turn/start":e=d.data.turn,s=null,n.clear();break;case"turn/end":e=null,s=null,n.clear();break;case"step/start":s=d.data.step;break;case"step/end":n.clear(),s=null;break;case"assistant/message":for(const l of d.data.message.content)l.type==="tool-call"&&n.set(l.id,{step:d.data.step});break;case"tool/call":{const l=n.get(d.data.callId);l&&(l.callSeq=d.seq)}break;case"tool/result":n.delete(d.data.message.source.callId)}const r=t.at(-1);if(e===null||r===void 0)return[];let o=r.seq+1;const a=r.time,c=[];for(const[d,{step:l,callSeq:f}]of n){const u=f!==void 0,y=ae({id:re(`interrupted-tool-result-${d}-${o}`),role:"user",source:{kind:"tool",callId:d},content:[{type:"tool-result",toolCallId:d,isError:!0,content:[{type:"text",text:u?"The tool call was interrupted after it was recorded, but no result was durably recorded. Its outcome is unknown. Decide whether to retry from the tool semantics: retry only if the operation is read-only or idempotent; if it may have side effects, first verify external state or ask the user. Do not retry blindly.":"The tool call was interrupted before the Harness recorded it as started. Retry it if it is still needed."}]}]});c.push({type:"tool/result",seq:o++,time:a,data:{turn:e,step:l,message:y,error:u?{name:"ToolOutcomeUnknownError",code:z}:{name:"ToolNotStartedError",code:J}},surfaceOp:"append",...u?{sourceEventSeqs:[f]}:{}})}return s!==null&&c.push({type:"step/end",seq:o++,time:a,data:{turn:e,step:s}}),c.push({type:"turn/end",seq:o++,time:a,data:{turn:e,reason:{kind:"interrupted"}}}),c}i(xe,"interruptedTurnClosers");const $e=3;function b(t){return typeof t=="object"&&t!==null}i(b,"isRecord");function p(t,e){return Object.keys(t).length===e.length&&e.every(s=>Object.hasOwn(t,s))}i(p,"hasExactKeys");function Ne(t){if(t.type!=="assistant/chunk"||!p(t,["type","seq","time","data"])||!Number.isSafeInteger(t.seq)||t.seq<0||!Number.isSafeInteger(t.time))return;const e=t.data;if(!b(e)||!p(e,["turn","step","chunk"])||typeof e.turn!="number"||typeof e.step!="number")return;const s=e.chunk;if(!(!b(s)||typeof s.index!="number"))switch(s.type){case"text-delta":case"reasoning-delta":return p(s,["type","index","text"])&&typeof s.text=="string"?s.type:void 0;case"tool-call-delta":return(p(s,["type","index","id","argumentsDelta"])||p(s,["type","index","id","name","argumentsDelta"])&&typeof s.name=="string")&&typeof s.id=="string"&&typeof s.argumentsDelta=="string"?s.type:void 0;default:return}}i(Ne,"classify");function O(t){return t.data.chunk}i(O,"toolCallOf");function x(t){return t.data.chunk.index}i(x,"indexOf");function Ae(t,e,s){if(e.seq!==t.seq+1||!Number.isSafeInteger(e.time-t.time)||e.data.turn!==t.data.turn||e.data.step!==t.data.step||x(e)!==x(t))return!1;if(s!=="tool-call-delta")return!0;const n=O(t),r=O(e);return n.id===r.id&&Object.hasOwn(n,"name")===Object.hasOwn(r,"name")&&n.name===r.name}i(Ae,"continues");function je(t,e){const s=e[0],n={turn:s.data.turn,step:s.data.step,index:x(s),dt:e.slice(1).map((a,c)=>a.time-e[c].time)},r={seq0:s.seq,time0:s.time};if(t==="tool-call-delta"){const a=O(s);return{type:"tool-call-chunks",...r,data:{...n,id:se(a.id),...Object.hasOwn(a,"name")?{name:a.name}:{},args:e.map(c=>c.data.chunk.argumentsDelta)}}}const o={...n,texts:e.map(a=>a.data.chunk.text)};return t==="text-delta"?{type:"text-chunks",...r,data:o}:{type:"reasoning-chunks",...r,data:o}}i(je,"buildRow");function Ie(t){const e=[];let s,n=[];const r=i(()=>{s!==void 0&&n.length>=$e?e.push(je(s,n)):e.push(...n),s=void 0,n=[]},"flush");for(const o of t){const a=Ne(o);if(a===void 0){r(),e.push(o);continue}const c=o,d=n[n.length-1];if(a===s&&d!==void 0&&Ae(d,c,a)){n.push(c);continue}r(),s=a,n=[c]}return r(),e}i(Ie,"packChunkRuns");function h(t,e){throw new Error(`malformed ${t} storage row: ${e}`)}i(h,"malformed");function V(t,e,s){(typeof e.turn!="number"||typeof e.step!="number"||typeof e.index!="number")&&h(t,"turn/step/index must be numbers");const n=e[s];(!Array.isArray(n)||n.length===0||n.some(o=>typeof o!="string"))&&h(t,`${s} must be a non-empty string array`);const r=e.dt;return(!Array.isArray(r)||r.some(o=>!Number.isSafeInteger(o)))&&h(t,"dt must be an array of safe integers"),r.length!==n.length-1&&h(t,`dt length ${r.length} does not match ${n.length} members`),n}i(V,"validateRunData");function _e(t,e){p(t,["type","seq0","time0","data"])||h(e,"envelope must be exactly {type, seq0, time0, data}"),(!Number.isSafeInteger(t.seq0)||t.seq0<0)&&h(e,"seq0 must be a non-negative safe integer"),Number.isSafeInteger(t.time0)||h(e,"time0 must be a safe integer");const s=t.data;b(s)||h(e,"data must be an object");let n;if(e==="tool-call-chunks"){const o=p(s,["turn","step","index","id","name","dt","args"]);!o&&!p(s,["turn","step","index","id","dt","args"])&&h(e,"data must be exactly {turn, step, index, id, name?, dt, args}"),(typeof s.id!="string"||o&&typeof s.name!="string")&&h(e,"id (and name when present) must be strings"),n=V(e,s,"args")}else p(s,["turn","step","index","dt","texts"])||h(e,"data must be exactly {turn, step, index, dt, texts}"),n=V(e,s,"texts");Number.isSafeInteger(t.seq0+n.length-1)||h(e,"member seqs must stay safe integers");let r=t.time0;for(const o of s.dt)r+=o,Number.isSafeInteger(r)||h(e,"member times must stay safe integers");return t}i(_e,"validateRow");function Re(t){const e=t.type==="tool-call-chunks"?t.data.args:t.data.texts,s=[];let n=t.time0;for(let r=0;r<e.length;r++){r>0&&(n+=t.data.dt[r-1]);let o;switch(t.type){case"text-chunks":o={type:"text-delta",index:t.data.index,text:e[r]};break;case"reasoning-chunks":o={type:"reasoning-delta",index:t.data.index,text:e[r]};break;case"tool-call-chunks":o={type:"tool-call-delta",index:t.data.index,id:t.data.id,...Object.hasOwn(t.data,"name")?{name:t.data.name}:{},argumentsDelta:e[r]};break;default:return ne(t,"chunk-rows expandRow")}s.push({type:"assistant/chunk",seq:t.seq0+r,time:n,data:{turn:t.data.turn,step:t.data.step,chunk:o}})}return s}i(Re,"expandRow");function De(t){if(!b(t))return[t];const e=t.type;return e!=="text-chunks"&&e!=="reasoning-chunks"&&e!=="tool-call-chunks"?[t]:Re(_e(t,e))}i(De,"decodeStorageRecord");const Pe=new Set(["agent-preset/selected","agent/inbox/spliced","approval/asked","approval/decided","approval/policy","assistant/chunk","assistant/message","browser/requested","browser/resolved","command/done","command/run","compaction/end","compaction/prune","compaction/start","compaction/summary","feedback/record","goal/change","hook/invoked","hook/result","llm/retry","llm/retry-started","permission/preset","plan/mode","request/context","request/header","sandbox/mode","schedule/change","session/end-seed","session/title","session/title-llm-request","step/end","step/start","subagent/descriptor","todo/write","tool-workflow/agent-end","tool-workflow/agent-start","tool-workflow/run-end","tool-workflow/run-start","tool/call","tool/code-dispatch","tool/code-dispatch-start","tool/result","turn/end","turn/start","user/message","web/deepseek-search-llm-request"]);function H(t,e){if(e===null||typeof e!="object"||Array.isArray(e))throw new Error("session header is not a plain JSON record");const s=e;if(s.version!==0)throw new Error(`session header version must be 0, got ${String(s.version)}`);if(s.id!==t)throw new Error(`session header id "${String(s.id)}" does not match session id "${t}"`);if(typeof s.createdAt!="number"||!Number.isSafeInteger(s.createdAt)||s.createdAt<0)throw new Error("session header createdAt must be a non-negative safe integer");if(s.cwd!==void 0){if(typeof s.cwd!="string")throw new Error("session header cwd must be a string");if(!te(s.cwd))throw new Error(`session header cwd must be an absolute path, got "${s.cwd}"`)}if(s.parentSession!==void 0&&typeof s.parentSession!="string")throw new Error("session header parentSession must be a string");if(s.seedLength!==void 0&&(typeof s.seedLength!="number"||!Number.isSafeInteger(s.seedLength)||s.seedLength<0))throw new Error("session header seedLength must be a non-negative safe integer");if(s.origin!==void 0&&s.origin!=="subagent")throw new Error('session header origin must be "subagent"');if(s.delegationDepth!==void 0&&(typeof s.delegationDepth!="number"||!Number.isSafeInteger(s.delegationDepth)||s.delegationDepth<0))throw new Error("session header delegationDepth must be a non-negative safe integer");if(s.agentPreset!==void 0&&typeof s.agentPreset!="string")throw new Error("session header agentPreset must be a string");return m(s)}i(H,"validateSessionHeader");function Te(t,e){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){const s=Reflect.getPrototypeOf(e);if(s!==Object.prototype&&s!==null)throw new Error("session header is not a plain JSON record")}return H(t,e)}i(Te,"validateRestoredSessionHeader");function Fe(t,e){const s=w(e===void 0?{version:0,id:t,createdAt:Date.now()}:e);if(s===void 0)throw new Error("session header is not losslessly JSON-serializable");return H(t,s)}i(Fe,"snapshotSessionHeader");function G(t){switch(K(t,`session event at seq ${t.seq}`),t.type){case"user/message":m(t.data);break;case"assistant/message":case"tool/result":m(t.data.message)}return t}i(G,"adoptSessionEvent");function Le(t){return G(structuredClone(t))}i(Le,"snapshotSessionEvent");function Me(t){const e=[t];for(;e.length>0;){const s=e.pop();Object.freeze(s);for(const n in s){const r=s[n];r!==null&&typeof r=="object"&&e.push(r)}}return t}i(Me,"freezeRestoredObject");function Ce(t,e){const s=t;if(s.type==="request/header-delta")throw new Error(`seed event at index ${e} uses unsupported legacy request/header-delta format`);for(const a in s)switch(a){case"type":case"seq":case"time":case"data":case"surfaceOp":case"sourceEventSeqs":case"ignorable":break;default:throw new Error(`seed event at index ${e} has an invalid event envelope`)}const n=s.type,r=s.seq,o=s.time;if(typeof n!="string"||typeof r!="number"||!Number.isSafeInteger(r)||r<0||typeof o!="number"||!Number.isSafeInteger(o)||s.data===void 0||s.ignorable!==void 0&&s.ignorable!==!0)throw new Error(`seed event at index ${e} has an invalid event envelope`);switch(n){case"request/header":case"user/message":case"assistant/message":case"tool/result":Ue(s,e)}}i(Ce,"assertSessionEventEnvelope");function Ue(t,e){const s=t.data,n=typeof s=="object"&&s!==null?s:void 0;if(t.type==="request/header"){const o=n?.header,a=typeof o=="object"&&o!==null&&!Array.isArray(o)?o:void 0,c=a?.config;if(!Y(c))throw new Error(`seed request/header at index ${e} lacks provider/model`);const d=c,l=d.reasoningEffort;if(l!==void 0&&(typeof l!="string"||l.length===0))throw new Error(`seed request/header at index ${e} has an invalid reasoningEffort`);ze(a?.adapterDefaults,d,e)}const r=t.type;r!=="user/message"&&r!=="assistant/message"&&r!=="tool/result"||K(t,`seed ${r} at index ${e}`)}i(Ue,"assertCurrentLlmShape");const Je=new Set(["reasoningEffort","maxTokens"]);function ze(t,e,s){if(t===void 0)return;if(typeof t!="object"||t===null||Array.isArray(t))throw new Error(`seed request/header at index ${s} has invalid adapterDefaults`);const n=t;if(Object.keys(n).some(r=>!Je.has(r))||Object.values(n).some(r=>r!==!0)||n.reasoningEffort===!0&&e.reasoningEffort===void 0||n.maxTokens===!0&&e.maxTokens===void 0)throw new Error(`seed request/header at index ${s} has invalid adapterDefaults`)}i(ze,"assertAdapterDefaults");function K(t,e){const s=t.type;if(s!=="user/message"&&s!=="assistant/message"&&s!=="tool/result")return;const n=t.data,r=typeof n=="object"&&n!==null?n:void 0,o=s==="user/message"?r:r?.message;if(typeof o!="object"||o===null||typeof o.id!="string"||o.id==="")throw new Error(`${e} lacks an identified message`);const a=o,c=s==="assistant/message"?"assistant":"user";if(a.role!==c)throw new Error(`${e} message must have role "${c}"`);const d=a.source;if(typeof d!="object"||d===null||typeof d.kind!="string"||d.kind==="")throw new Error(`${e} message has invalid source`);if(!Array.isArray(a.content))throw new Error(`${e} message has invalid content`);const l=d;if(s==="assistant/message"){if(l.kind!=="model"||!Y(l))throw new Error(`${e} message must have model source`);return}if(s!=="tool/result")return;if(l.kind!=="tool"||typeof l.callId!="string"||l.callId==="")throw new Error(`${e} message must have tool source`);const f=a.content,u=f[0];if(f.length!==1||typeof u!="object"||u===null||u.type!=="tool-result"||!Array.isArray(u.content))throw new Error(`${e} message must contain one tool-result block`);if(u.toolCallId!==l.callId)throw new Error(`${e} message has mismatched tool call ids`)}i(K,"assertMessageEventShape");function Y(t){if(typeof t!="object"||t===null)return!1;const e=t;return typeof e.provider=="string"&&e.provider.length>0&&typeof e.model=="string"&&e.model.length>0}i(Y,"hasProviderModel");function W(t,e,s){if(t==="request/header-delta")throw new Error(`${s} uses unsupported legacy request/header-delta format`);if(t==="request/header"&&e!==null&&typeof e=="object"&&!Array.isArray(e)&&e.reason==="fallback")throw new Error(`${s} uses unsupported legacy request/header reason "fallback"`)}i(W,"assertSupportedRequestHeader");function S(t,e){return[...t.events.dispatch("emit",e)]}i(S,"collectSessionCallbacks");function B(t,e,s,n,r){for(const o of r)try{const a=o(...n);Promise.resolve(a).catch(c=>{t.logger.warn(`session "${s}": ${e} listener rejected: ${String(c)}`)})}catch(a){t.logger.warn(`session "${s}": ${e} listener threw: ${String(a)}`)}}i(B,"invokeContainedSessionObservers");const v=new WeakMap;var $=class N{static{i(this,"Session")}log=[];surfaceManager=new qe(this.log);get surface(){return this.surfaceManager}header;get id(){return this.header.id}firstLiveSeq;static create(e,s,n){return new N(e,s,n)}static fromRestore(e,s,n){return new N(e,s,n,"restore")}constructor(e,s,n,r="snapshot"){const o=r==="restore"?Te(e,n):void 0;if(s!==void 0)for(const[a,c]of s.entries()){const d=r==="restore"?c:w(c);if(d===void 0)throw new Error(`seed event at index ${a} is not losslessly JSON-serializable`);if(Ce(d,a),W(d.type,d.data,`seed event at index ${a}`),d.seq!==a)throw new Error(`seed event at index ${a} has seq ${d.seq} (expected ${a}); seed must be contiguous from 0`);try{this.surfaceManager.validateNext(d)}catch(l){throw new Error(`invalid seed event at index ${a}: ${l instanceof Error?l.message:"invalid surface metadata"}`)}this.log.push(r==="restore"?Me(d):m(d))}this.firstLiveSeq=this.log.length,this.header=o??Fe(e,n),s!==void 0&&this.log.at(-1)?.type!=="session/end-seed"&&this.append("session/end-seed",{})}eventsSnapshot;get events(){return this.eventsSnapshot??=Object.freeze([...this.log]),this.eventsSnapshot}get seq(){return this.log.length}append(e,s,...n){const r=n[0],o={...r?.sourceEventSeqs===void 0?{}:{sourceEventSeqs:r.sourceEventSeqs},...r?.surfaceOp===void 0?{}:{surfaceOp:r.surfaceOp}},a=w(s);if(a===void 0)throw new Error(`session event "${e}" carries non-JSON-serializable data`);W(e,a,`session event "${e}"`);const c=w(o);if(c===void 0)throw new Error(`session event "${e}" carries non-JSON-serializable surface metadata`);const d=v.get(this);if(d?.appending)throw new Error("session append cannot reenter while another append is being published");const l=m({type:e,seq:this.log.length,time:Date.now(),data:a,...c});this.surfaceManager.validateNext(l),d!==void 0&&(d.appending=!0);try{let f;const u=[this,l];return d!==void 0&&(f=S(d.emitCtx,[d.carrier,"session/event",...u])),this.log.push(l),this.eventsSnapshot=void 0,f!==void 0&&d!==void 0&&B(d.emitCtx,"session/event",d.id,u,f),l}finally{d!==void 0&&(d.appending=!1,d.detachRequested&&!d.announcing&&d.detach())}}headerFold;headerFoldSeq=0;requestHeader(){return this.headerFoldSeq<this.log.length&&(this.headerFold=m(U(this.log.slice(this.headerFoldSeq),this.headerFold)),this.headerFoldSeq=this.log.length),this.headerFold}contextFold;contextFoldSeq=0;requestContext(){if(this.contextFoldSeq<this.log.length){for(const e of this.log.slice(this.contextFoldSeq))e.type==="request/context"&&(this.contextFold=m({...e.data}));this.contextFoldSeq=this.log.length}return this.contextFold}derived=[];derivedNodes=0;derivedGeneration=0;deriveMessages(){const e=this.surface,s=e.nodes,n=e.replaceGeneration;n!==this.derivedGeneration&&(this.derived=[],this.derivedNodes=0,this.derivedGeneration=n);for(const r of s.slice(this.derivedNodes)){const o=this.deriveEventMessage(this.log[r]);o&&this.derived.push(o)}return this.derivedNodes=s.length,[...this.derived]}deriveEventMessage(e){return D(e)}},g=class extends Error{static{i(this,"SessionForkError")}code;constructor(t,e){super(t),this.code=e,this.name="SessionForkError"}},X=class extends ee{static{i(this,"SessionStore")}store=new Map;counter=0;constructor(t){super(t,"sessions"),t.inject(["typert"],e=>{e.typert.lookups.register("session",{parameter:"session",wire:"sessionId",hostTypeSymbol:"@deepseek-ai/dsh-session#Session",wireTypeSymbol:"@deepseek-ai/dsh-session/types#SessionId",resolve:i(s=>this.get(s),"resolve")})})}create(t,e){const s=this.prepare(t,e);return this.ctx.effect(function*(){yield this.enter(s),this.announce(s)}.bind(this),"sessions.create()"),s}prepare(t,e){let s;if(t===void 0)do s=`session-${++this.counter}`;while(this.store.has(s));else s=t;if(this.store.has(s))throw new Error(`session "${s}" already exists`);if(e?.seedSource==="persistence")return $.fromRestore(s,e.seed,e.meta);const n=e?.seed,r=e?.meta,o={version:0,id:s,createdAt:r?.createdAt??Date.now(),...r?.cwd===void 0?{}:{cwd:r.cwd},...r?.parentSession===void 0?{}:{parentSession:r.parentSession},...r?.seedLength===void 0?{}:{seedLength:r.seedLength},...r?.origin===void 0?{}:{origin:r.origin},...r?.delegationDepth===void 0?{}:{delegationDepth:r.delegationDepth},...r?.agentPreset===void 0?{}:{agentPreset:r.agentPreset}};return $.create(s,n,o)}enter(t){const e=t.id,s=ce(t,ie(this.ctx));if(this.store.has(e))throw new Error(`session "${e}" already exists`);if(v.has(t))throw new Error(`session "${e}" is already attached to a store`);const n={id:e,session:t,carrier:s,emitCtx:this.ctx,announced:!1,announcing:!1,appending:!1,detachRequested:!1,detach:i(()=>{this.detachEntered(n)},"detach")};this.store.set(e,n),v.set(t,n);let r=!0;return i(()=>{if(r){if(r=!1,n.announcing||n.appending){n.detachRequested=!0;return}n.detach()}},"detach")}detachEntered(t){t.detachRequested=!1,this.store.get(t.id)===t&&(this.store.delete(t.id),v.delete(t.session),t.announced&&this.emitDisposed(t))}announce(t){const e=this.liveEntryFor(t);if(e.announced||e.announcing)throw new Error(`session "${e.id}" was already announced`);e.announced=!0;const s=[t];e.announcing=!0;try{const n=S(this.ctx,[e.carrier,"session/created",t]);for(const r of n){const o=r(...s);Promise.resolve(o).catch(a=>{this.ctx.logger.warn(`session "${e.id}": session/created listener rejected: ${String(a)}`)})}}finally{e.announcing=!1,e.detachRequested&&!e.appending&&e.detach()}}emitDisposed(t){const e=[t.session];try{const s=S(this.ctx,[t.carrier,"session/disposed",t.session]);B(this.ctx,"session/disposed",t.id,e,s)}catch(s){this.ctx.logger.warn(`session "${t.id}": session/disposed dispatch threw: ${String(s)}`)}}async flush(t){const{carrier:e}=this.liveEntryFor(t),s=[t],n=S(this.ctx,[e,"session/flush",t]),r=(await Promise.allSettled(n.map(o=>{try{return o(...s)}catch(a){return Promise.reject(a)}}))).find(o=>o.status==="rejected");if(r!==void 0)throw r.reason;return n.length>0}liveEntryFor(t){const e=v.get(t);if(e===void 0||this.store.get(e.id)!==e)throw new Error(`session "${t.id}" is not live in this store`);return e}get(t){return this.store.get(t)?.session}list(){return[...this.store.values()].map(t=>t.session)}fork(t,e,s){if(s!==void 0&&this.get(s)!==void 0)throw new g(`session "${s}" already exists`,"SESSION_ALREADY_EXISTS");const n=this._resolveForkSource(t),r=this._forkSeed(n,e);return this.create(s,{seed:r,meta:{...n.header.cwd!==void 0?{cwd:n.header.cwd}:{},parentSession:n.id,seedLength:r.length}})}_forkSeed(t,e){const s=t.events,n=s.at(-1);let r;if(e!==void 0)r=e;else{if(n===void 0)return[];r=n.seq}if(!Number.isSafeInteger(r)||r<0)throw new g(`fork boundary for session "${t.id}" must be a non-negative safe integer, got ${String(r)}`,"INVALID_BOUNDARY");if(r>=s.length){const c=s.at(-1)?.seq;throw new g(`fork boundary ${r} does not exist in session "${t.id}" (last seq: ${c??"none"})`,"INVALID_BOUNDARY")}const o=s[r];if(o===void 0||o.seq!==r)throw new g(`fork boundary ${r} does not match a contiguous event seq in session "${t.id}"`,"INVALID_BOUNDARY");const a=s.slice(0,r+1).findLast(c=>c.type==="turn/start"||c.type==="turn/end");if(a?.type==="turn/start")throw new g(`fork boundary ${r} in session "${t.id}" ends inside open turn ${a.data.turn}`,"OPEN_TURN");return s.slice(0,r+1)}_resolveForkSource(t){if(typeof t=="string"){const s=this.get(t);if(s===void 0)throw new g(`session "${t}" not found`,"SESSION_NOT_FOUND");return s}const e=this.get(t.id);if(e===void 0)throw new g(`session "${t.id}" not found`,"SESSION_NOT_FOUND");if(e!==t)throw new g(`session "${t.id}" is not the live store instance`,"SESSION_NOT_LIVE");return t}};export{Pe as KNOWN_SESSION_EVENT_TYPES,le as SESSION_FORMAT_VERSION,$ as Session,g as SessionForkError,de as SessionId,Oe as SessionPreparation,X as SessionStore,X as default,J as TOOL_NOT_STARTED,z as TOOL_OUTCOME_UNKNOWN,G as adoptSessionEvent,C as canonicalHeader,De as decodeStorageRecord,D as deriveEventMessage,U as foldRequestHeader,Se as foldSurface,ke as headerEquals,xe as interruptedTurnClosers,ge as isAppendSurfaceEvent,pe as isJsonValue,me as isReplacementSurfaceEvent,R as isSurfaceEligibleType,q as isSurfaceEvent,Ie as packChunkRuns,w as snapshotJsonValue,Le as snapshotSessionEvent};
@@ -1 +1 @@
1
- export const KNOWN_SESSION_EVENT_TYPES=new Set(["agent-preset/selected","agent/inbox/spliced","approval/asked","approval/decided","approval/policy","assistant/chunk","assistant/message","command/done","command/run","compaction/end","compaction/prune","compaction/start","compaction/summary","feedback/record","goal/change","hook/invoked","hook/result","llm/retry","llm/retry-started","permission/preset","plan/mode","request/context","request/header","sandbox/mode","schedule/change","session/end-seed","session/title","session/title-llm-request","step/end","step/start","subagent/descriptor","todo/write","tool-workflow/agent-end","tool-workflow/agent-start","tool-workflow/run-end","tool-workflow/run-start","tool/call","tool/code-dispatch","tool/code-dispatch-start","tool/result","turn/end","turn/start","user/message","web/deepseek-search-llm-request"]);
1
+ export const KNOWN_SESSION_EVENT_TYPES=new Set(["agent-preset/selected","agent/inbox/spliced","approval/asked","approval/decided","approval/policy","assistant/chunk","assistant/message","browser/requested","browser/resolved","command/done","command/run","compaction/end","compaction/prune","compaction/start","compaction/summary","feedback/record","goal/change","hook/invoked","hook/result","llm/retry","llm/retry-started","permission/preset","plan/mode","request/context","request/header","sandbox/mode","schedule/change","session/end-seed","session/title","session/title-llm-request","step/end","step/start","subagent/descriptor","todo/write","tool-workflow/agent-end","tool-workflow/agent-start","tool-workflow/run-end","tool-workflow/run-start","tool/call","tool/code-dispatch","tool/code-dispatch-start","tool/result","turn/end","turn/start","user/message","web/deepseek-search-llm-request"]);
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-session","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./types":{"types":"./lib/types/types.d.ts","default":"./lib/types/types.js"},"./src/*":"./src/*","./package.json":"./package.json","./surface":{"types":"./lib/types/surface.d.ts","default":"./lib/types/surface.js"}},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-brand":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-scope":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-typert-protocol":"^0.1.0-rc.7"}}
1
+ {"name":"@deepseek-ai/dsh-session","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./types":{"types":"./lib/types/types.d.ts","default":"./lib/types/types.js"},"./src/*":"./src/*","./package.json":"./package.json","./surface":{"types":"./lib/types/surface.d.ts","default":"./lib/types/surface.js"}},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-brand":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-scope":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-typert-protocol":"^0.1.0-rc.7"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-session-checkpoint-policy","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-session-persistence":"^0.1.0-rc.7","@deepseek-ai/dsh-tools":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"}}
1
+ {"name":"@deepseek-ai/dsh-session-checkpoint-policy","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-tools":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-session-persistence":"^0.1.0-rc.7"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-session-log-export","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./client":{"types":"./lib/types/client/index.d.ts","default":"./lib/client.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"react":"^18.2.0","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-client-runtime":"^0.1.0-rc.7","@deepseek-ai/dsh-client-ui-primitives":"^0.1.0-rc.7","@deepseek-ai/dsh-client-ui-slots":"^0.1.0-rc.7","@deepseek-ai/dsh-commands":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-client-locale":"^0.1.0-rc.7","@deepseek-ai/dsh-client-ui-conversation":"^0.1.0-rc.7","@deepseek-ai/dsh-client-ui-commands":"^0.1.0-rc.7"},"dsh":{"client":{"inject":["@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-ui-commands","@deepseek-ai/dsh-client-ui-conversation"],"platform":"web"}}}
1
+ {"name":"@deepseek-ai/dsh-session-log-export","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./client":{"types":"./lib/types/client/index.d.ts","default":"./lib/client.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"react":"^18.2.0","@deepseek-ai/dsh-client-locale":"^0.1.0-rc.7","@deepseek-ai/dsh-client-ui-commands":"^0.1.0-rc.7","@deepseek-ai/dsh-client-runtime":"^0.1.0-rc.7","@deepseek-ai/dsh-client-ui-conversation":"^0.1.0-rc.7","@deepseek-ai/dsh-client-ui-slots":"^0.1.0-rc.7","@deepseek-ai/dsh-client-ui-primitives":"^0.1.0-rc.7","@deepseek-ai/dsh-commands":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"dsh":{"client":{"inject":["@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-ui-commands","@deepseek-ai/dsh-client-ui-conversation"],"platform":"web"}}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-session-persistence","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-brand":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-timeout":"^0.1.0-rc.7"}}
1
+ {"name":"@deepseek-ai/dsh-session-persistence","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-brand":"^0.1.0-rc.7","@deepseek-ai/dsh-timeout":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-session-projection","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./types":{"types":"./lib/types/types.d.ts","default":"./lib/types/types.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dependencies":{"zod":"^4.4.3"},"peerDependencies":{"@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"}}
1
+ {"name":"@deepseek-ai/dsh-session-projection","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./types":{"types":"./lib/types/types.d.ts","default":"./lib/types/types.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dependencies":{"zod":"^4.4.3"},"peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-session-projection-cache","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dependencies":{"zod":"^4.4.3","@deepseek-ai/schemastery":"^3.18.1"},"peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-session-persistence":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-session-projection":"^0.1.0-rc.7","@deepseek-ai/dsh-storage-domain":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"}}
1
+ {"name":"@deepseek-ai/dsh-session-projection-cache","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dependencies":{"zod":"^4.4.3","@deepseek-ai/schemastery":"^3.18.1"},"peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-session-projection":"^0.1.0-rc.7","@deepseek-ai/dsh-storage-domain":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-session-persistence":"^0.1.0-rc.7"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-session-query","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-session-title":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-brand":"^0.1.0-rc.7","@deepseek-ai/dsh-session-persistence":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"peerDependenciesMeta":{"@deepseek-ai/dsh-session-persistence":{"optional":true}}}
1
+ {"name":"@deepseek-ai/dsh-session-query","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-brand":"^0.1.0-rc.7","@deepseek-ai/dsh-session-persistence":"^0.1.0-rc.7","@deepseek-ai/dsh-session-title":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"peerDependenciesMeta":{"@deepseek-ai/dsh-session-persistence":{"optional":true}}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-session-query-sqlite","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-session-query":"^0.1.0-rc.7","@deepseek-ai/dsh-session-persistence":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"peerDependenciesMeta":{"@deepseek-ai/dsh-session-persistence":{"optional":true}},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
1
+ {"name":"@deepseek-ai/dsh-session-query-sqlite","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-session-query":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-session-persistence":"^0.1.0-rc.7"},"peerDependenciesMeta":{"@deepseek-ai/dsh-session-persistence":{"optional":true}},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-session-reference","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dependencies":{"@deepseek-ai/schemastery":"^3.18.1"},"peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-compaction":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-session-query":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-output-retention":"^0.1.0-rc.7"}}
1
+ {"name":"@deepseek-ai/dsh-session-reference","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dependencies":{"@deepseek-ai/schemastery":"^3.18.1"},"peerDependencies":{"@deepseek-ai/dsh-compaction":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-session-query":"^0.1.0-rc.7","@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-output-retention":"^0.1.0-rc.7"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-session-stats","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./types":{"types":"./lib/types/types.d.ts","default":"./lib/types/types.js"},"./client":{"types":"./lib/types/client.d.ts","default":"./lib/types/client.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-session-projection":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-llm":"^0.1.0-rc.7"},"dependencies":{"zod":"^4.4.3"}}
1
+ {"name":"@deepseek-ai/dsh-session-stats","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./types":{"types":"./lib/types/types.d.ts","default":"./lib/types/types.js"},"./client":{"types":"./lib/types/client.d.ts","default":"./lib/types/client.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-session-projection":"^0.1.0-rc.7"},"dependencies":{"zod":"^4.4.3"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-session-telemetry","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"}}
1
+ {"name":"@deepseek-ai/dsh-session-telemetry","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-session-telemetry-otel","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dependencies":{"@opentelemetry/api":"^1.9.1","@opentelemetry/api-logs":"^0.220.0","@opentelemetry/exporter-logs-otlp-http":"^0.220.0","@opentelemetry/otlp-exporter-base":"^0.220.0","@opentelemetry/resources":"^2.9.0","@opentelemetry/sdk-logs":"^0.220.0","@deepseek-ai/schemastery":"^3.18.1"},"peerDependencies":{"@deepseek-ai/dsh-command-feedback":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-session-telemetry":"^0.1.0-rc.7","@deepseek-ai/dsh-anonymous-user-id":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7"}}
1
+ {"name":"@deepseek-ai/dsh-session-telemetry-otel","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dependencies":{"@opentelemetry/api":"^1.9.1","@opentelemetry/api-logs":"^0.220.0","@opentelemetry/exporter-logs-otlp-http":"^0.220.0","@opentelemetry/otlp-exporter-base":"^0.220.0","@opentelemetry/resources":"^2.9.0","@opentelemetry/sdk-logs":"^0.220.0","@deepseek-ai/schemastery":"^3.18.1"},"peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-session-telemetry":"^0.1.0-rc.7","@deepseek-ai/dsh-anonymous-user-id":"^0.1.0-rc.7","@deepseek-ai/dsh-command-feedback":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-session-title","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./types":{"types":"./lib/types/types.d.ts","default":"./lib/types/types.js"},"./client":{"types":"./lib/types/client.d.ts","default":"./lib/types/client.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-brand":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-session-projection":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"dependencies":{"zod":"^4.4.3","@deepseek-ai/schemastery":"^3.18.1"}}
1
+ {"name":"@deepseek-ai/dsh-session-title","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./types":{"types":"./lib/types/types.d.ts","default":"./lib/types/types.js"},"./client":{"types":"./lib/types/client.d.ts","default":"./lib/types/client.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-brand":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-session-projection":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"dependencies":{"zod":"^4.4.3","@deepseek-ai/schemastery":"^3.18.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-session-title-first-prompt-llm","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-session-title":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-session-title-llm":"^0.1.0-rc.7"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
1
+ {"name":"@deepseek-ai/dsh-session-title-first-prompt-llm","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-session-title":"^0.1.0-rc.7","@deepseek-ai/dsh-session-title-llm":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-session-title-llm","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-timeout":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-session-title":"^0.1.0-rc.7"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
1
+ {"name":"@deepseek-ai/dsh-session-title-llm","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-timeout":"^0.1.0-rc.7","@deepseek-ai/dsh-session-title":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-settings","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./types":{"types":"./lib/types/types.d.ts","default":"./lib/types/types.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-brand":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/schemastery":"^3.18.1"}}
1
+ {"name":"@deepseek-ai/dsh-settings","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./types":{"types":"./lib/types/types.d.ts","default":"./lib/types/types.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-brand":"^0.1.0-rc.7","@deepseek-ai/schemastery":"^3.18.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-settings-file","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-home-paths":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-atomic-write":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-settings":"^0.1.0-rc.7"},"dependencies":{"chokidar":"^4.0.3","yaml":"^2.9.0","@deepseek-ai/schemastery":"^3.18.1"}}
1
+ {"name":"@deepseek-ai/dsh-settings-file","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-atomic-write":"^0.1.0-rc.7","@deepseek-ai/dsh-settings":"^0.1.0-rc.7","@deepseek-ai/dsh-home-paths":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7"},"dependencies":{"chokidar":"^4.0.3","yaml":"^2.9.0","@deepseek-ai/schemastery":"^3.18.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-shell","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-sandbox":"^0.1.0-rc.7","@deepseek-ai/dsh-settings":"^0.1.0-rc.7","@deepseek-ai/dsh-subprocess":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"}}
1
+ {"name":"@deepseek-ai/dsh-shell","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-sandbox":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-settings":"^0.1.0-rc.7","@deepseek-ai/dsh-subprocess":"^0.1.0-rc.7"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-shell-env","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-shell":"^0.1.0-rc.7","@deepseek-ai/dsh-session-persistence":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.0-rc.7","@deepseek-ai/dsh-home-paths":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
1
+ {"name":"@deepseek-ai/dsh-shell-env","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-shell":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-home-paths":"^0.1.0-rc.7","@deepseek-ai/dsh-session-persistence":"^0.1.0-rc.7","@deepseek-ai/dsh-tools":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-skill","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-scope":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
1
+ {"name":"@deepseek-ai/dsh-skill","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-scope":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-llm":"^0.1.0-rc.7"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-skill-filesystem","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-fs":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-skill":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-home-paths":"^0.1.0-rc.7"},"dependencies":{"chokidar":"^5.0.0","yaml":"^2.4.2","@deepseek-ai/schemastery":"^3.18.1"}}
1
+ {"name":"@deepseek-ai/dsh-skill-filesystem","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-fs":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-home-paths":"^0.1.0-rc.7","@deepseek-ai/dsh-skill":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"dependencies":{"chokidar":"^5.0.0","yaml":"^2.4.2","@deepseek-ai/schemastery":"^3.18.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-spill-local","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-spill":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
1
+ {"name":"@deepseek-ai/dsh-spill-local","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-spill":"^0.1.0-rc.7"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-spill-policy","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-output-retention":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-spill":"^0.1.0-rc.7","@deepseek-ai/dsh-tools":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
1
+ {"name":"@deepseek-ai/dsh-spill-policy","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-output-retention":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-spill":"^0.1.0-rc.7","@deepseek-ai/dsh-tools":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-storage-json","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-storage":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
1
+ {"name":"@deepseek-ai/dsh-storage-json","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-storage":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-subagent","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./client":{"types":"./lib/types/client.d.ts","default":"./lib/types/client.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dependencies":{"zod":"^4.4.3"},"peerDependencies":{"@deepseek-ai/dsh-agent-presets":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-sandbox":"^0.1.0-rc.7","@deepseek-ai/dsh-sandbox-policy":"^0.1.0-rc.7","@deepseek-ai/dsh-scope":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-session-persistence":"^0.1.0-rc.7","@deepseek-ai/dsh-session-projection":"^0.1.0-rc.7","@deepseek-ai/dsh-jobs":"^0.1.0-rc.7","@deepseek-ai/dsh-tools":"^0.1.0-rc.7","@deepseek-ai/dsh-session-projection-cache":"^0.1.0-rc.7","@deepseek-ai/dsh-user-approval":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-brand":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7"},"peerDependenciesMeta":{"@deepseek-ai/dsh-agent-presets":{"optional":true},"@deepseek-ai/dsh-sandbox":{"optional":true},"@deepseek-ai/dsh-sandbox-policy":{"optional":true},"@deepseek-ai/dsh-session-persistence":{"optional":true},"@deepseek-ai/dsh-session-projection":{"optional":true},"@deepseek-ai/dsh-session-projection-cache":{"optional":true},"@deepseek-ai/dsh-jobs":{"optional":true},"@deepseek-ai/dsh-user-approval":{"optional":true}}}
1
+ {"name":"@deepseek-ai/dsh-subagent","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./client":{"types":"./lib/types/client.d.ts","default":"./lib/types/client.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dependencies":{"zod":"^4.4.3"},"peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-agent-presets":"^0.1.0-rc.7","@deepseek-ai/dsh-brand":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-sandbox":"^0.1.0-rc.7","@deepseek-ai/dsh-sandbox-policy":"^0.1.0-rc.7","@deepseek-ai/dsh-scope":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-session-persistence":"^0.1.0-rc.7","@deepseek-ai/dsh-session-projection":"^0.1.0-rc.7","@deepseek-ai/dsh-jobs":"^0.1.0-rc.7","@deepseek-ai/dsh-session-projection-cache":"^0.1.0-rc.7","@deepseek-ai/dsh-tools":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-user-approval":"^0.1.0-rc.7"},"peerDependenciesMeta":{"@deepseek-ai/dsh-agent-presets":{"optional":true},"@deepseek-ai/dsh-sandbox":{"optional":true},"@deepseek-ai/dsh-sandbox-policy":{"optional":true},"@deepseek-ai/dsh-session-persistence":{"optional":true},"@deepseek-ai/dsh-session-projection":{"optional":true},"@deepseek-ai/dsh-session-projection-cache":{"optional":true},"@deepseek-ai/dsh-jobs":{"optional":true},"@deepseek-ai/dsh-user-approval":{"optional":true}}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-subagent-fork-in-process","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-subagent":"^0.1.0-rc.7","@deepseek-ai/dsh-subagent-in-process-driver":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
1
+ {"name":"@deepseek-ai/dsh-subagent-fork-in-process","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-subagent-in-process-driver":"^0.1.0-rc.7","@deepseek-ai/dsh-subagent":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-subagent-in-process-driver","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-subagent":"^0.1.0-rc.7","@deepseek-ai/dsh-system-prompt":"^0.1.0-rc.7","@deepseek-ai/dsh-tools":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7"}}
1
+ {"name":"@deepseek-ai/dsh-subagent-in-process-driver","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-tools":"^0.1.0-rc.7","@deepseek-ai/dsh-subagent":"^0.1.0-rc.7","@deepseek-ai/dsh-system-prompt":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-subagent-spawn-in-process","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-subagent":"^0.1.0-rc.7","@deepseek-ai/dsh-subagent-in-process-driver":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
1
+ {"name":"@deepseek-ai/dsh-subagent-spawn-in-process","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-subagent":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-subagent-in-process-driver":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-subprocess","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7"}}
1
+ {"name":"@deepseek-ai/dsh-subprocess","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-subprocess-local","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-timeout":"^0.1.0-rc.7","@deepseek-ai/dsh-subprocess":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"dependencies":{"node-pty":"1.2.0-beta.15"}}
1
+ {"name":"@deepseek-ai/dsh-subprocess-local","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-subprocess":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-timeout":"^0.1.0-rc.7"},"dependencies":{"node-pty":"1.2.0-beta.15"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-system-prompt","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-scope":"^0.1.0-rc.7"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
1
+ {"name":"@deepseek-ai/dsh-system-prompt","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-scope":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-terminal","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-brand":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"}}
1
+ {"name":"@deepseek-ai/dsh-terminal","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-brand":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-terminal-bash","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-terminal":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-subprocess":"^0.1.0-rc.7","@deepseek-ai/dsh-sandbox":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-sandbox-policy":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
1
+ {"name":"@deepseek-ai/dsh-terminal-bash","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-terminal":"^0.1.0-rc.7","@deepseek-ai/dsh-sandbox-policy":"^0.1.0-rc.7","@deepseek-ai/dsh-sandbox":"^0.1.0-rc.7","@deepseek-ai/dsh-subprocess":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-tmux-context","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dependencies":{"@deepseek-ai/schemastery":"^3.18.1"},"peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-shell":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7"}}
1
+ {"name":"@deepseek-ai/dsh-tmux-context","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","dependencies":{"@deepseek-ai/schemastery":"^3.18.1"},"peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-shell":"^0.1.0-rc.7"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-token-meter","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./client":{"types":"./lib/types/client.d.ts","default":"./lib/types/client.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-session-projection":"^0.1.0-rc.7","@deepseek-ai/dsh-compaction":"^0.1.0-rc.7"},"dependencies":{"zod":"^4.4.3","@deepseek-ai/schemastery":"^3.18.1"}}
1
+ {"name":"@deepseek-ai/dsh-token-meter","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./client":{"types":"./lib/types/client.d.ts","default":"./lib/types/client.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-session":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-session-projection":"^0.1.0-rc.7","@deepseek-ai/dsh-compaction":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"},"dependencies":{"zod":"^4.4.3","@deepseek-ai/schemastery":"^3.18.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-tool-ask-user","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-tools":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-user-questions":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7"}}
1
+ {"name":"@deepseek-ai/dsh-tool-ask-user","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-tools":"^0.1.0-rc.7","@deepseek-ai/dsh-user-questions":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-tool-bash","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-shell-env":"^0.1.0-rc.7","@deepseek-ai/dsh-sandbox":"^0.1.0-rc.7","@deepseek-ai/dsh-sandbox-policy":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-system-prompt":"^0.1.0-rc.7","@deepseek-ai/dsh-jobs":"^0.1.0-rc.7","@deepseek-ai/dsh-tools":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-user-approval":"^0.1.0-rc.7","@deepseek-ai/dsh-shell":"^0.1.0-rc.7"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
1
+ {"name":"@deepseek-ai/dsh-tool-bash","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./src/*":"./src/*","./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-shell":"^0.1.0-rc.7","@deepseek-ai/dsh-shell-env":"^0.1.0-rc.7","@deepseek-ai/dsh-llm":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-sandbox":"^0.1.0-rc.7","@deepseek-ai/dsh-sandbox-policy":"^0.1.0-rc.7","@deepseek-ai/dsh-system-prompt":"^0.1.0-rc.7","@deepseek-ai/dsh-jobs":"^0.1.0-rc.7","@deepseek-ai/dsh-user-approval":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.0-rc.7"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
@@ -1 +1 @@
1
- {"name":"@deepseek-ai/dsh-tool-bash-persistent","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-timeout":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-tools":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-terminal":"^0.1.0-rc.7"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}
1
+ {"name":"@deepseek-ai/dsh-tool-bash-persistent","version":"0.1.0-rc.7","publishConfig":{"access":"public"},"type":"module","main":"lib/index.js","exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./invariant":{"types":"./lib/types/invariant.d.ts","default":"./lib/invariant.js"},"./package.json":"./package.json"},"license":"MIT","peerDependencies":{"@deepseek-ai/dsh-agent":"^0.1.0-rc.7","@deepseek-ai/dsh-terminal":"^0.1.0-rc.7","@deepseek-ai/dsh-invariants":"^0.1.0-rc.7","@deepseek-ai/dsh-timeout":"^0.1.0-rc.7","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-tools":"^0.1.0-rc.7"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"}}