@songtonyli/dsh-cli 0.1.92 → 0.1.94

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 (1919) hide show
  1. package/README.md +1 -1
  2. package/bin/dsh.mjs +1 -1
  3. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +1 -4
  4. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -4
  5. package/node_modules/@aws-sdk/core/package.json +3 -3
  6. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  7. package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
  8. package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
  9. package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
  10. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  11. package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
  12. package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
  13. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
  14. package/node_modules/@aws-sdk/eventstream-handler-node/package.json +2 -2
  15. package/node_modules/@aws-sdk/middleware-eventstream/package.json +2 -2
  16. package/node_modules/@aws-sdk/middleware-websocket/package.json +4 -4
  17. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  18. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +8 -1
  19. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  20. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  21. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  22. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +7 -0
  23. package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
  24. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  25. package/node_modules/@aws-sdk/token-providers/package.json +4 -4
  26. package/node_modules/@deepseek-ai/cordis/package.json +4 -4
  27. package/node_modules/@deepseek-ai/cordis-plugin-group/package.json +3 -3
  28. package/node_modules/@deepseek-ai/cordis-plugin-include/README.md +10 -0
  29. package/node_modules/@deepseek-ai/cordis-plugin-include/lib/index.js +647 -149
  30. package/node_modules/@deepseek-ai/cordis-plugin-include/package.json +4 -4
  31. package/node_modules/@deepseek-ai/cordis-plugin-include/src/index.ts +362 -236
  32. package/node_modules/@deepseek-ai/cordis-plugin-include/src/journal.ts +242 -0
  33. package/node_modules/@deepseek-ai/cordis-plugin-include/src/patch.ts +261 -0
  34. package/node_modules/@deepseek-ai/cordis-plugin-loader/README.md +5 -1
  35. package/node_modules/@deepseek-ai/cordis-plugin-loader/lib/index.js +96 -20
  36. package/node_modules/@deepseek-ai/cordis-plugin-loader/package.json +4 -4
  37. package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/entry.ts +2 -2
  38. package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/group.ts +3 -2
  39. package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/tree.ts +77 -8
  40. package/node_modules/@deepseek-ai/cordis-plugin-loader/src/index.ts +24 -13
  41. package/node_modules/@deepseek-ai/cordis-plugin-timer/package.json +3 -3
  42. package/node_modules/@deepseek-ai/cosmokit/package.json +1 -1
  43. package/node_modules/@deepseek-ai/dsh/lib/bin-DQ1vWxS0.js +254 -0
  44. package/node_modules/@deepseek-ai/dsh/lib/bin.js +19 -245
  45. package/node_modules/@deepseek-ai/dsh/lib/dump-config-DCQrFN8g.js +64 -0
  46. package/node_modules/@deepseek-ai/dsh/lib/dump-config-ekMiCsuS.js +2 -0
  47. package/node_modules/@deepseek-ai/dsh/lib/dump-config-schema-C_NhxM7L.js +41 -0
  48. package/node_modules/@deepseek-ai/dsh/lib/plugin-cQMw2oZz.js +102 -0
  49. package/node_modules/@deepseek-ai/dsh/lib/profile-boot-xiaehH2x.js +330 -0
  50. package/node_modules/@deepseek-ai/dsh/lib/profile-boot.js +1 -1
  51. package/node_modules/@deepseek-ai/dsh/package.json +127 -127
  52. package/node_modules/@deepseek-ai/dsh-acp/lib/index.js +1 -1
  53. package/node_modules/@deepseek-ai/dsh-acp/package.json +26 -26
  54. package/node_modules/@deepseek-ai/dsh-acp-app/package.json +6 -6
  55. package/node_modules/@deepseek-ai/dsh-action-cards/README.i18n.yaml +2 -2
  56. package/node_modules/@deepseek-ai/dsh-action-cards/README.md +1 -1
  57. package/node_modules/@deepseek-ai/dsh-action-cards/README.zh.md +1 -1
  58. package/node_modules/@deepseek-ai/dsh-action-cards/lib/index.js +7 -4
  59. package/node_modules/@deepseek-ai/dsh-action-cards/lib/typert.host.js +16 -4
  60. package/node_modules/@deepseek-ai/dsh-action-cards/lib/typert.remote-client.js +1 -1
  61. package/node_modules/@deepseek-ai/dsh-action-cards/lib/types/index.js +7 -4
  62. package/node_modules/@deepseek-ai/dsh-action-cards/package.json +19 -19
  63. package/node_modules/@deepseek-ai/dsh-agent/README.i18n.yaml +2 -2
  64. package/node_modules/@deepseek-ai/dsh-agent/README.md +1 -1
  65. package/node_modules/@deepseek-ai/dsh-agent/README.zh.md +1 -1
  66. package/node_modules/@deepseek-ai/dsh-agent/lib/index.js +5 -30
  67. package/node_modules/@deepseek-ai/dsh-agent/lib/types/index.js +5 -32
  68. package/node_modules/@deepseek-ai/dsh-agent/package.json +21 -21
  69. package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +10 -10
  70. package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +28 -28
  71. package/node_modules/@deepseek-ai/dsh-agent-loop/README.i18n.yaml +2 -2
  72. package/node_modules/@deepseek-ai/dsh-agent-loop/README.md +1 -1
  73. package/node_modules/@deepseek-ai/dsh-agent-loop/README.zh.md +1 -1
  74. package/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +5 -7
  75. package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +27 -27
  76. package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +13 -13
  77. package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +12 -8
  78. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/index.js +1 -1
  79. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +15 -3
  80. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/mount.js +1 -1
  81. package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +39 -39
  82. package/node_modules/@deepseek-ai/dsh-agent-team/README.i18n.yaml +97 -0
  83. package/node_modules/@deepseek-ai/dsh-agent-team/README.md +217 -0
  84. package/node_modules/@deepseek-ai/dsh-agent-team/README.zh.md +217 -0
  85. package/node_modules/@deepseek-ai/dsh-agent-team/lib/index.js +824 -0
  86. package/node_modules/@deepseek-ai/dsh-agent-team/lib/typert.host.js +825 -0
  87. package/node_modules/@deepseek-ai/dsh-agent-team/lib/typert.remote-client.js +79 -0
  88. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/client.js +3 -0
  89. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/error.js +10 -0
  90. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/index.js +176 -0
  91. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/journal.js +66 -0
  92. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/projection.js +172 -0
  93. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/task-board.js +257 -0
  94. package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/task-view.js +51 -0
  95. package/node_modules/@deepseek-ai/dsh-agent-team/locale/en.json +6 -0
  96. package/node_modules/@deepseek-ai/dsh-agent-team/locale/ja.json +6 -0
  97. package/node_modules/@deepseek-ai/dsh-agent-team/locale/zh.json +6 -0
  98. package/node_modules/@deepseek-ai/dsh-agent-team/package.json +83 -0
  99. package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +13 -13
  100. package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +7 -7
  101. package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +9 -9
  102. package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +14 -14
  103. package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +14 -14
  104. package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +12 -12
  105. package/node_modules/@deepseek-ai/dsh-api-remote-access/package.json +9 -9
  106. package/node_modules/@deepseek-ai/dsh-api-remotes/README.i18n.yaml +4 -4
  107. package/node_modules/@deepseek-ai/dsh-api-remotes/README.md +2 -2
  108. package/node_modules/@deepseek-ai/dsh-api-remotes/README.zh.md +2 -2
  109. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +1048 -558
  110. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/index.js +4 -0
  111. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +8 -3
  112. package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/remote-events.js +1 -0
  113. package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +49 -46
  114. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +4 -4
  115. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +4 -4
  116. package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +4 -4
  117. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +16 -48
  118. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +46 -44
  119. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +252 -264
  120. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +209 -245
  121. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/agent.js +10 -19
  122. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/archived-session-gate.js +6 -3
  123. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/manager.js +8 -32
  124. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/session.js +4 -21
  125. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +2 -2
  126. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/control.js +3 -3
  127. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/controller.js +2 -2
  128. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/listener.js +7 -7
  129. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +2 -2
  130. package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/list.js +14 -7
  131. package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +77 -77
  132. package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +16 -16
  133. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +15 -3
  134. package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +22 -22
  135. package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +21 -21
  136. package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +15 -15
  137. package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +2 -2
  138. package/node_modules/@deepseek-ai/dsh-app-boot/README.md +2 -0
  139. package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +2 -0
  140. package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +841 -145
  141. package/node_modules/@deepseek-ai/dsh-app-boot/package.json +19 -19
  142. package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +3 -3
  143. package/node_modules/@deepseek-ai/dsh-attachment/package.json +5 -5
  144. package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +9 -9
  145. package/node_modules/@deepseek-ai/dsh-authorization/package.json +7 -7
  146. package/node_modules/@deepseek-ai/dsh-base/README.i18n.yaml +2 -2
  147. package/node_modules/@deepseek-ai/dsh-base/README.md +2 -0
  148. package/node_modules/@deepseek-ai/dsh-base/README.zh.md +2 -0
  149. package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +29 -15
  150. package/node_modules/@deepseek-ai/dsh-base/package.json +103 -101
  151. package/node_modules/@deepseek-ai/dsh-bash-local/package.json +11 -11
  152. package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +14 -14
  153. package/node_modules/@deepseek-ai/dsh-brand/package.json +3 -3
  154. package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +3 -3
  155. package/node_modules/@deepseek-ai/dsh-client-connection/package.json +13 -13
  156. package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +15 -3
  157. package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +12 -12
  158. package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +7 -7
  159. package/node_modules/@deepseek-ai/dsh-client-locale/lib/client.js +16 -0
  160. package/node_modules/@deepseek-ai/dsh-client-locale/package.json +10 -10
  161. package/node_modules/@deepseek-ai/dsh-client-modules/README.i18n.yaml +2 -2
  162. package/node_modules/@deepseek-ai/dsh-client-modules/README.md +1 -1
  163. package/node_modules/@deepseek-ai/dsh-client-modules/README.zh.md +1 -1
  164. package/node_modules/@deepseek-ai/dsh-client-modules/lib/client.js +5 -1
  165. package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +1 -1
  166. package/node_modules/@deepseek-ai/dsh-client-modules/package.json +6 -6
  167. package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +16 -16
  168. package/node_modules/@deepseek-ai/dsh-client-resources/package.json +5 -5
  169. package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +9 -9
  170. package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/lib/client.js +1 -1
  171. package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/package.json +15 -15
  172. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +1 -1
  173. package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +17 -17
  174. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.i18n.yaml +40 -0
  175. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.md +100 -0
  176. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.zh.md +100 -0
  177. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/lib/client.js +1425 -0
  178. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/locale/en.json +6 -0
  179. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/locale/ja.json +6 -0
  180. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/locale/zh.json +6 -0
  181. package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/package.json +72 -0
  182. package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +13 -13
  183. package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +12 -12
  184. package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +5 -5
  185. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +4 -4
  186. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +3 -1
  187. package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +3 -1
  188. package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +74 -7
  189. package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +40 -40
  190. package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +14 -14
  191. package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/package.json +10 -10
  192. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +4 -4
  193. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +5 -4
  194. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +5 -4
  195. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +56 -48
  196. package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +35 -35
  197. package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +13 -13
  198. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/README.i18n.yaml +8 -8
  199. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/README.md +4 -4
  200. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/README.zh.md +4 -4
  201. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/lib/client.js +24 -61
  202. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/de.json +1 -1
  203. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/en.json +1 -1
  204. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/es.json +1 -1
  205. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/fr.json +1 -1
  206. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/ja.json +1 -1
  207. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/pt.json +1 -1
  208. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/ru.json +1 -1
  209. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/zh.json +1 -1
  210. package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/package.json +11 -11
  211. package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +28 -28
  212. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +7 -7
  213. package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +6 -6
  214. package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/README.i18n.yaml +6 -6
  215. package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/README.md +5 -5
  216. package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/README.zh.md +5 -5
  217. package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/lib/client.js +73 -21
  218. package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/package.json +11 -11
  219. package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/package.json +10 -10
  220. package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/package.json +7 -7
  221. package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +14 -14
  222. package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +11 -11
  223. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.i18n.yaml +4 -4
  224. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.md +5 -1
  225. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.zh.md +5 -1
  226. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +185 -89
  227. package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +10 -10
  228. package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +9 -9
  229. package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +15 -15
  230. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +8 -8
  231. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +5 -3
  232. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +5 -3
  233. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +106 -111
  234. package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +16 -16
  235. package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +25 -25
  236. package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +14 -14
  237. package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +19 -19
  238. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +4 -4
  239. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +3 -3
  240. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +3 -3
  241. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +4 -6
  242. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +18 -18
  243. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/package.json +12 -12
  244. package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/package.json +13 -13
  245. package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +16 -16
  246. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.i18n.yaml +4 -4
  247. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.md +2 -2
  248. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.zh.md +2 -2
  249. package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +3 -3
  250. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.i18n.yaml +8 -8
  251. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.md +12 -8
  252. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.zh.md +12 -8
  253. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +4002 -400
  254. package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +21 -21
  255. package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/package.json +6 -6
  256. package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +9 -9
  257. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.i18n.yaml +4 -4
  258. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.md +3 -0
  259. package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.zh.md +3 -0
  260. package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +7 -7
  261. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
  262. package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +17 -17
  263. package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +8 -8
  264. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +4 -4
  265. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +3 -1
  266. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +3 -1
  267. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +469 -41
  268. package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +17 -17
  269. package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +11 -11
  270. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +11 -11
  271. package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +7 -7
  272. package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +8 -8
  273. package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +8 -8
  274. package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +7 -7
  275. package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +8 -8
  276. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.i18n.yaml +12 -12
  277. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.md +15 -10
  278. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.zh.md +15 -10
  279. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/lib/client.js +773 -335
  280. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/de.json +2 -2
  281. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/es.json +2 -2
  282. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/fr.json +2 -2
  283. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/ja.json +2 -2
  284. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/pt.json +2 -2
  285. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/ru.json +2 -2
  286. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/zh.json +2 -2
  287. package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +10 -9
  288. package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +9 -9
  289. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +8 -8
  290. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +11 -6
  291. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +11 -6
  292. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +269 -111
  293. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +11 -11
  294. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +10 -10
  295. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.i18n.yaml +2 -2
  296. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.md +1 -1
  297. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.zh.md +1 -1
  298. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +1 -1
  299. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +21 -21
  300. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +14 -14
  301. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +15 -15
  302. package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +14 -14
  303. package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +16 -16
  304. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.i18n.yaml +12 -12
  305. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.md +16 -8
  306. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.zh.md +16 -8
  307. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +310 -150
  308. package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +18 -17
  309. package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +12 -12
  310. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +4 -4
  311. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +4 -2
  312. package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +4 -2
  313. package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +128 -50
  314. package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +31 -31
  315. package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +20 -20
  316. package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +22 -22
  317. package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +13 -13
  318. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +2 -2
  319. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +6 -2
  320. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +6 -2
  321. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +44 -37
  322. package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +26 -26
  323. package/node_modules/@deepseek-ai/dsh-cmdline/package.json +6 -6
  324. package/node_modules/@deepseek-ai/dsh-command-compact/package.json +12 -12
  325. package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +15 -15
  326. package/node_modules/@deepseek-ai/dsh-command-goal/package.json +14 -14
  327. package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +15 -3
  328. package/node_modules/@deepseek-ai/dsh-commands/package.json +18 -18
  329. package/node_modules/@deepseek-ai/dsh-compaction/package.json +11 -11
  330. package/node_modules/@deepseek-ai/dsh-compaction-basic/README.i18n.yaml +18 -12
  331. package/node_modules/@deepseek-ai/dsh-compaction-basic/README.md +5 -5
  332. package/node_modules/@deepseek-ai/dsh-compaction-basic/README.zh.md +5 -5
  333. package/node_modules/@deepseek-ai/dsh-compaction-basic/lib/index.js +16 -8
  334. package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +27 -26
  335. package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +18 -18
  336. package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +17 -17
  337. package/node_modules/@deepseek-ai/dsh-computer-use/README.i18n.yaml +37 -0
  338. package/node_modules/@deepseek-ai/dsh-computer-use/README.md +90 -0
  339. package/node_modules/@deepseek-ai/dsh-computer-use/README.zh.md +90 -0
  340. package/node_modules/@deepseek-ai/dsh-computer-use/lib/index.js +35 -0
  341. package/node_modules/@deepseek-ai/dsh-computer-use/lib/types/brand.js +10 -0
  342. package/node_modules/@deepseek-ai/dsh-computer-use/lib/types/index.js +36 -0
  343. package/node_modules/@deepseek-ai/dsh-computer-use/locale/de.json +6 -0
  344. package/node_modules/@deepseek-ai/dsh-computer-use/locale/en.json +6 -0
  345. package/node_modules/@deepseek-ai/dsh-computer-use/locale/es.json +6 -0
  346. package/node_modules/@deepseek-ai/dsh-computer-use/locale/fr.json +6 -0
  347. package/node_modules/@deepseek-ai/dsh-computer-use/locale/ja.json +6 -0
  348. package/node_modules/@deepseek-ai/dsh-computer-use/locale/pt.json +6 -0
  349. package/node_modules/@deepseek-ai/dsh-computer-use/locale/ru.json +6 -0
  350. package/node_modules/@deepseek-ai/dsh-computer-use/locale/zh.json +6 -0
  351. package/node_modules/@deepseek-ai/dsh-computer-use/package.json +44 -0
  352. package/node_modules/@deepseek-ai/dsh-config-editor/package.json +12 -12
  353. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +230 -62
  354. package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +10 -10
  355. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +30 -6
  356. package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +23 -23
  357. package/node_modules/@deepseek-ai/dsh-creation-recommendations/README.i18n.yaml +6 -6
  358. package/node_modules/@deepseek-ai/dsh-creation-recommendations/README.md +5 -3
  359. package/node_modules/@deepseek-ai/dsh-creation-recommendations/README.zh.md +5 -3
  360. package/node_modules/@deepseek-ai/dsh-creation-recommendations/lib/index.js +75 -77
  361. package/node_modules/@deepseek-ai/dsh-creation-recommendations/lib/types/index.js +59 -54
  362. package/node_modules/@deepseek-ai/dsh-creation-recommendations/package.json +21 -21
  363. package/node_modules/@deepseek-ai/dsh-credentials/package.json +4 -4
  364. package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +12 -12
  365. package/node_modules/@deepseek-ai/dsh-cua/README.i18n.yaml +49 -0
  366. package/node_modules/@deepseek-ai/dsh-cua/README.md +132 -0
  367. package/node_modules/@deepseek-ai/dsh-cua/README.zh.md +132 -0
  368. package/node_modules/@deepseek-ai/dsh-cua/lib/api.js +597 -0
  369. package/node_modules/@deepseek-ai/dsh-cua/lib/bridge.js +611 -0
  370. package/node_modules/@deepseek-ai/dsh-cua/lib/client.js +1803 -0
  371. package/node_modules/@deepseek-ai/dsh-cua/lib/index.js +1922 -0
  372. package/node_modules/@deepseek-ai/dsh-cua/lib/native-client.js +285 -0
  373. package/node_modules/@deepseek-ai/dsh-cua/lib/protocol.js +305 -0
  374. package/node_modules/@deepseek-ai/dsh-cua/lib/typert.host.js +458 -0
  375. package/node_modules/@deepseek-ai/dsh-cua/lib/typert.remote-client.js +343 -0
  376. package/node_modules/@deepseek-ai/dsh-cua/locale/de.json +6 -0
  377. package/node_modules/@deepseek-ai/dsh-cua/locale/en.json +6 -0
  378. package/node_modules/@deepseek-ai/dsh-cua/locale/es.json +6 -0
  379. package/node_modules/@deepseek-ai/dsh-cua/locale/fr.json +6 -0
  380. package/node_modules/@deepseek-ai/dsh-cua/locale/ja.json +6 -0
  381. package/node_modules/@deepseek-ai/dsh-cua/locale/pt.json +6 -0
  382. package/node_modules/@deepseek-ai/dsh-cua/locale/ru.json +6 -0
  383. package/node_modules/@deepseek-ai/dsh-cua/locale/zh.json +6 -0
  384. package/node_modules/@deepseek-ai/dsh-cua/package.json +151 -0
  385. package/node_modules/@deepseek-ai/dsh-cua-bundle/README.i18n.yaml +46 -0
  386. package/node_modules/@deepseek-ai/dsh-cua-bundle/README.md +94 -0
  387. package/node_modules/@deepseek-ai/dsh-cua-bundle/README.zh.md +94 -0
  388. package/node_modules/@deepseek-ai/dsh-cua-bundle/cordis.patch.yml +10 -0
  389. package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/DETAIL.md +1 -0
  390. package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/DETAIL.zh.md +1 -0
  391. package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/preview.svg +33 -0
  392. package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/preview.zh.svg +33 -0
  393. package/node_modules/@deepseek-ai/dsh-cua-bundle/icon.svg +35 -0
  394. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/de.json +7 -0
  395. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/en.json +7 -0
  396. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/es.json +7 -0
  397. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/fr.json +7 -0
  398. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/ja.json +7 -0
  399. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/pt.json +7 -0
  400. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/ru.json +7 -0
  401. package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/zh.json +7 -0
  402. package/node_modules/@deepseek-ai/dsh-cua-bundle/package.json +57 -0
  403. package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +11 -11
  404. package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +12 -12
  405. package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +3 -3
  406. package/node_modules/@deepseek-ai/dsh-deliverable-file-references/package.json +5 -5
  407. package/node_modules/@deepseek-ai/dsh-deque/package.json +3 -3
  408. package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +8 -8
  409. package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +46 -46
  410. package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/package.json +4 -4
  411. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/package.json +20 -20
  412. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.i18n.yaml +2 -2
  413. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.md +2 -2
  414. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.zh.md +2 -2
  415. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/client.js +5773 -5757
  416. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/typert.host.js +15 -3
  417. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/package.json +42 -42
  418. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/package.json +19 -18
  419. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +15 -15
  420. package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/package.json +6 -6
  421. package/node_modules/@deepseek-ai/dsh-experimental-forge/package.json +6 -6
  422. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/README.i18n.yaml +10 -10
  423. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/README.md +6 -4
  424. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/README.zh.md +6 -4
  425. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/cordis.patch.yml +4 -0
  426. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.de.md +1 -0
  427. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.es.md +1 -0
  428. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.fr.md +1 -0
  429. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.ja.md +1 -0
  430. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.md +1 -0
  431. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.pt.md +1 -0
  432. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.ru.md +1 -0
  433. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/DETAIL.zh.md +1 -0
  434. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/preview.svg +28 -0
  435. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/docs/preview.zh.svg +28 -0
  436. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/de.json +2 -1
  437. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/en.json +2 -1
  438. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/es.json +2 -1
  439. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/fr.json +2 -1
  440. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/ja.json +2 -1
  441. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/pt.json +2 -1
  442. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/ru.json +2 -1
  443. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/zh.json +2 -1
  444. package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/package.json +10 -8
  445. package/node_modules/@deepseek-ai/dsh-experimental-forge-github/package.json +10 -10
  446. package/node_modules/@deepseek-ai/dsh-experimental-forge-session/lib/index.js +11 -1
  447. package/node_modules/@deepseek-ai/dsh-experimental-forge-session/package.json +33 -33
  448. package/node_modules/@deepseek-ai/dsh-experimental-inspector/package.json +17 -17
  449. package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/package.json +7 -7
  450. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.i18n.yaml +8 -8
  451. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.md +8 -8
  452. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.zh.md +8 -8
  453. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/cordis.patch.yml +0 -4
  454. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/client.js +892 -501
  455. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/index.js +607 -229
  456. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/typert.host.js +45 -31
  457. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/typert.remote-client.js +33 -27
  458. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/package.json +73 -75
  459. package/node_modules/@deepseek-ai/dsh-experimental-liveshare-protocol/package.json +4 -4
  460. package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/package.json +5 -5
  461. package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/package.json +5 -5
  462. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.i18n.yaml +2 -2
  463. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.md +1 -1
  464. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.zh.md +1 -1
  465. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/lib/client.js +6 -2
  466. package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/package.json +12 -12
  467. package/node_modules/@deepseek-ai/dsh-experimental-session-search/package.json +5 -5
  468. package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/package.json +4 -4
  469. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +11 -11
  470. package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +10 -10
  471. package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/package.json +6 -6
  472. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/README.i18n.yaml +4 -4
  473. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/README.md +2 -2
  474. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/README.zh.md +2 -2
  475. package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/package.json +23 -23
  476. package/node_modules/@deepseek-ai/dsh-experimental-translator/package.json +29 -29
  477. package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +8 -8
  478. package/node_modules/@deepseek-ai/dsh-experimental-worktree/package.json +23 -23
  479. package/node_modules/@deepseek-ai/dsh-file-reference/package.json +5 -5
  480. package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +17 -17
  481. package/node_modules/@deepseek-ai/dsh-fs/package.json +10 -10
  482. package/node_modules/@deepseek-ai/dsh-fs-local/package.json +8 -8
  483. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.i18n.yaml +2 -2
  484. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.md +1 -1
  485. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.zh.md +1 -1
  486. package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +6 -6
  487. package/node_modules/@deepseek-ai/dsh-fs-patch/package.json +3 -3
  488. package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +12 -12
  489. package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +15 -3
  490. package/node_modules/@deepseek-ai/dsh-goal/package.json +23 -23
  491. package/node_modules/@deepseek-ai/dsh-goal-round-driver/README.i18n.yaml +2 -2
  492. package/node_modules/@deepseek-ai/dsh-goal-round-driver/README.md +1 -1
  493. package/node_modules/@deepseek-ai/dsh-goal-round-driver/README.zh.md +1 -1
  494. package/node_modules/@deepseek-ai/dsh-goal-round-driver/lib/index.js +5 -1
  495. package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +17 -17
  496. package/node_modules/@deepseek-ai/dsh-harness-dev-context/package.json +13 -13
  497. package/node_modules/@deepseek-ai/dsh-headless/README.i18n.yaml +2 -2
  498. package/node_modules/@deepseek-ai/dsh-headless/README.md +2 -0
  499. package/node_modules/@deepseek-ai/dsh-headless/README.zh.md +2 -0
  500. package/node_modules/@deepseek-ai/dsh-headless/lib/index.js +1 -1
  501. package/node_modules/@deepseek-ai/dsh-headless/package.json +30 -30
  502. package/node_modules/@deepseek-ai/dsh-hmr/lib/index.js +5 -1
  503. package/node_modules/@deepseek-ai/dsh-hmr/package.json +15 -15
  504. package/node_modules/@deepseek-ai/dsh-home-paths/package.json +3 -3
  505. package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +3 -3
  506. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/README.i18n.yaml +2 -2
  507. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/README.md +1 -1
  508. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/README.zh.md +1 -1
  509. package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +20 -20
  510. package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +5 -5
  511. package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +5 -5
  512. package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +10 -10
  513. package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +9 -9
  514. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.host.js +2 -2
  515. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.remote-client.js +2 -2
  516. package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +13 -13
  517. package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +8 -8
  518. package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +5 -5
  519. package/node_modules/@deepseek-ai/dsh-http-proxy/README.i18n.yaml +6 -6
  520. package/node_modules/@deepseek-ai/dsh-http-proxy/README.md +4 -1
  521. package/node_modules/@deepseek-ai/dsh-http-proxy/README.zh.md +4 -1
  522. package/node_modules/@deepseek-ai/dsh-http-proxy/lib/index.js +54 -16
  523. package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +3 -3
  524. package/node_modules/@deepseek-ai/dsh-jobs/package.json +11 -11
  525. package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +16 -16
  526. package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +3 -3
  527. package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +3 -3
  528. package/node_modules/@deepseek-ai/dsh-llm/README.i18n.yaml +2 -2
  529. package/node_modules/@deepseek-ai/dsh-llm/README.md +1 -1
  530. package/node_modules/@deepseek-ai/dsh-llm/README.zh.md +1 -1
  531. package/node_modules/@deepseek-ai/dsh-llm/lib/index.js +37 -14
  532. package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +14 -2
  533. package/node_modules/@deepseek-ai/dsh-llm/lib/types/content.js +38 -20
  534. package/node_modules/@deepseek-ai/dsh-llm/package.json +11 -11
  535. package/node_modules/@deepseek-ai/dsh-llm-cursor/README.i18n.yaml +2 -2
  536. package/node_modules/@deepseek-ai/dsh-llm-cursor/README.md +3 -1
  537. package/node_modules/@deepseek-ai/dsh-llm-cursor/README.zh.md +3 -1
  538. package/node_modules/@deepseek-ai/dsh-llm-cursor/lib/index.js +27 -5
  539. package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +26 -26
  540. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.i18n.yaml +6 -6
  541. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.md +4 -1
  542. package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.zh.md +4 -1
  543. package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +52 -2
  544. package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +45 -45
  545. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.i18n.yaml +2 -2
  546. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.md +1 -1
  547. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.zh.md +1 -1
  548. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/lib/index.js +5 -8
  549. package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +17 -17
  550. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.i18n.yaml +2 -2
  551. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.md +1 -1
  552. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.zh.md +1 -1
  553. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/lib/index.js +4 -10
  554. package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +14 -14
  555. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +8 -8
  556. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.md +7 -2
  557. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.zh.md +7 -2
  558. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +18 -8
  559. package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +28 -28
  560. package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +25 -25
  561. package/node_modules/@deepseek-ai/dsh-mcp-client/README.i18n.yaml +15 -12
  562. package/node_modules/@deepseek-ai/dsh-mcp-client/README.md +29 -6
  563. package/node_modules/@deepseek-ai/dsh-mcp-client/README.zh.md +29 -6
  564. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/index.js +870 -202
  565. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/connection.js +379 -0
  566. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/credentials.js +99 -0
  567. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/deadline.js +27 -0
  568. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/diagnostic.js +56 -0
  569. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/generation.js +111 -0
  570. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/index.js +163 -0
  571. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/probe.js +89 -0
  572. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/server-context.js +25 -0
  573. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/status.js +95 -0
  574. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/templates.js +66 -0
  575. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/tools.js +432 -0
  576. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/transport.js +39 -0
  577. package/node_modules/@deepseek-ai/dsh-mcp-client/lib/types/types.js +7 -0
  578. package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +34 -24
  579. package/node_modules/@deepseek-ai/dsh-mcp-manager/README.i18n.yaml +64 -0
  580. package/node_modules/@deepseek-ai/dsh-mcp-manager/README.md +196 -0
  581. package/node_modules/@deepseek-ai/dsh-mcp-manager/README.zh.md +196 -0
  582. package/node_modules/@deepseek-ai/dsh-mcp-manager/lib/index.js +572 -0
  583. package/node_modules/@deepseek-ai/dsh-mcp-manager/lib/typert.host.js +323 -0
  584. package/node_modules/@deepseek-ai/dsh-mcp-manager/lib/typert.remote-client.js +170 -0
  585. package/node_modules/@deepseek-ai/dsh-mcp-manager/lib/types/index.js +582 -0
  586. package/node_modules/@deepseek-ai/dsh-mcp-manager/lib/types/types.js +8 -0
  587. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/de.json +6 -0
  588. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/en.json +6 -0
  589. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/es.json +6 -0
  590. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/fr.json +6 -0
  591. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/ja.json +6 -0
  592. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/pt.json +6 -0
  593. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/ru.json +6 -0
  594. package/node_modules/@deepseek-ai/dsh-mcp-manager/locale/zh.json +6 -0
  595. package/node_modules/@deepseek-ai/dsh-mcp-manager/package.json +77 -0
  596. package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +16 -16
  597. package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +19 -19
  598. package/node_modules/@deepseek-ai/dsh-message-quotes/lib/client.js +2 -2
  599. package/node_modules/@deepseek-ai/dsh-message-quotes/package.json +9 -9
  600. package/node_modules/@deepseek-ai/dsh-native-command/package.json +4 -4
  601. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/lib/index.js +38 -15
  602. package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +16 -16
  603. package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +11 -11
  604. package/node_modules/@deepseek-ai/dsh-official-bundles/README.i18n.yaml +2 -2
  605. package/node_modules/@deepseek-ai/dsh-official-bundles/README.md +1 -1
  606. package/node_modules/@deepseek-ai/dsh-official-bundles/README.zh.md +1 -1
  607. package/node_modules/@deepseek-ai/dsh-official-bundles/lib/index.js +57 -95
  608. package/node_modules/@deepseek-ai/dsh-official-bundles/package.json +4 -4
  609. package/node_modules/@deepseek-ai/dsh-otel/package.json +5 -5
  610. package/node_modules/@deepseek-ai/dsh-output-retention/package.json +3 -3
  611. package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +3 -3
  612. package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +15 -3
  613. package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +23 -23
  614. package/node_modules/@deepseek-ai/dsh-persona/README.i18n.yaml +2 -2
  615. package/node_modules/@deepseek-ai/dsh-persona/README.md +1 -1
  616. package/node_modules/@deepseek-ai/dsh-persona/README.zh.md +1 -1
  617. package/node_modules/@deepseek-ai/dsh-persona/package.json +7 -7
  618. package/node_modules/@deepseek-ai/dsh-personalized-recommendations/package.json +23 -23
  619. package/node_modules/@deepseek-ai/dsh-plan-mode/README.i18n.yaml +2 -2
  620. package/node_modules/@deepseek-ai/dsh-plan-mode/README.md +1 -1
  621. package/node_modules/@deepseek-ai/dsh-plan-mode/README.zh.md +1 -1
  622. package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +24 -24
  623. package/node_modules/@deepseek-ai/dsh-plugin-detail/package.json +3 -3
  624. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +0 -1
  625. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +12 -12
  626. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +12 -12
  627. package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/index.js +0 -1
  628. package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +38 -38
  629. package/node_modules/@deepseek-ai/dsh-plugin-market/README.i18n.yaml +2 -2
  630. package/node_modules/@deepseek-ai/dsh-plugin-market/README.md +1 -1
  631. package/node_modules/@deepseek-ai/dsh-plugin-market/README.zh.md +1 -1
  632. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/index.js +37 -7
  633. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/index.js +1 -1
  634. package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/repository-cache.js +40 -7
  635. package/node_modules/@deepseek-ai/dsh-plugin-market/package.json +31 -31
  636. package/node_modules/@deepseek-ai/dsh-plugin-market-index/package.json +4 -4
  637. package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +19 -19
  638. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/README.i18n.yaml +2 -2
  639. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/README.md +1 -1
  640. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/README.zh.md +1 -1
  641. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/index.js +2 -2
  642. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/typert.host.js +15 -3
  643. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/types/index.js +2 -2
  644. package/node_modules/@deepseek-ai/dsh-plugin-recommendations/package.json +17 -17
  645. package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +5 -5
  646. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.i18n.yaml +11 -8
  647. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.md +21 -1
  648. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.zh.md +22 -2
  649. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/index.js +2 -3
  650. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/persistent-process.js +428 -31
  651. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/process.js +423 -28
  652. package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +23 -23
  653. package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +11 -11
  654. package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +14 -14
  655. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/lib/index.js +39 -16
  656. package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +12 -12
  657. package/node_modules/@deepseek-ai/dsh-sandbox/package.json +8 -8
  658. package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/package.json +26 -26
  659. package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +12 -12
  660. package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +14 -14
  661. package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +14 -14
  662. package/node_modules/@deepseek-ai/dsh-schedule/package.json +40 -40
  663. package/node_modules/@deepseek-ai/dsh-scope/package.json +3 -3
  664. package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +19 -19
  665. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.i18n.yaml +4 -4
  666. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.md +3 -3
  667. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.zh.md +3 -3
  668. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/index.js +21 -18
  669. package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +48 -48
  670. package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +39 -39
  671. package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +13 -13
  672. package/node_modules/@deepseek-ai/dsh-session/lib/index.js +1 -0
  673. package/node_modules/@deepseek-ai/dsh-session/lib/types/known-event-types.js +1 -0
  674. package/node_modules/@deepseek-ai/dsh-session/package.json +10 -10
  675. package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +19 -19
  676. package/node_modules/@deepseek-ai/dsh-session-format/package.json +4 -4
  677. package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +11 -11
  678. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/lib/index.js +36 -13
  679. package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +7 -7
  680. package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +8 -8
  681. package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +6 -6
  682. package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +5 -5
  683. package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +18 -18
  684. package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +24 -24
  685. package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +11 -11
  686. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +76 -29
  687. package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +13 -13
  688. package/node_modules/@deepseek-ai/dsh-session-projection/README.i18n.yaml +12 -12
  689. package/node_modules/@deepseek-ai/dsh-session-projection/README.md +10 -6
  690. package/node_modules/@deepseek-ai/dsh-session-projection/README.zh.md +10 -6
  691. package/node_modules/@deepseek-ai/dsh-session-projection/lib/index.js +107 -42
  692. package/node_modules/@deepseek-ai/dsh-session-projection/lib/types/index.js +128 -47
  693. package/node_modules/@deepseek-ai/dsh-session-projection/package.json +6 -6
  694. package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.i18n.yaml +2 -2
  695. package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.md +1 -1
  696. package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.zh.md +1 -1
  697. package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +13 -13
  698. package/node_modules/@deepseek-ai/dsh-session-query/package.json +20 -20
  699. package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +13 -13
  700. package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +15 -3
  701. package/node_modules/@deepseek-ai/dsh-session-reference/package.json +41 -41
  702. package/node_modules/@deepseek-ai/dsh-session-stats/package.json +11 -11
  703. package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +7 -7
  704. package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +25 -25
  705. package/node_modules/@deepseek-ai/dsh-session-title/package.json +17 -17
  706. package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/package.json +15 -15
  707. package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +20 -20
  708. package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +13 -13
  709. package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +11 -11
  710. package/node_modules/@deepseek-ai/dsh-settings/package.json +17 -17
  711. package/node_modules/@deepseek-ai/dsh-shell/package.json +7 -7
  712. package/node_modules/@deepseek-ai/dsh-shell-env/package.json +14 -14
  713. package/node_modules/@deepseek-ai/dsh-skill/package.json +9 -9
  714. package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +5 -5
  715. package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +10 -10
  716. package/node_modules/@deepseek-ai/dsh-skill-office/package.json +10 -10
  717. package/node_modules/@deepseek-ai/dsh-spill/package.json +9 -9
  718. package/node_modules/@deepseek-ai/dsh-spill-local/package.json +11 -11
  719. package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +35 -35
  720. package/node_modules/@deepseek-ai/dsh-storage/package.json +3 -3
  721. package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +6 -6
  722. package/node_modules/@deepseek-ai/dsh-storage-json/package.json +6 -6
  723. package/node_modules/@deepseek-ai/dsh-subagent/README.i18n.yaml +39 -24
  724. package/node_modules/@deepseek-ai/dsh-subagent/README.md +41 -20
  725. package/node_modules/@deepseek-ai/dsh-subagent/README.zh.md +41 -20
  726. package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +580 -872
  727. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +64 -120
  728. package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.remote-client.js +17 -63
  729. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/activation.js +1 -1
  730. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/archive-admission.js +39 -115
  731. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/child-agent.js +6 -4
  732. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/continuation-messages.js +12 -14
  733. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/control.js +1 -5
  734. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/descriptor.js +1 -1
  735. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/index.js +83 -146
  736. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/lifecycle.js +5 -31
  737. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/manager.js +401 -568
  738. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/structured.js +2 -2
  739. package/node_modules/@deepseek-ai/dsh-subagent/lib/types/types.js +2 -4
  740. package/node_modules/@deepseek-ai/dsh-subagent/package.json +51 -55
  741. package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +24 -24
  742. package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +15 -15
  743. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.i18n.yaml +2 -2
  744. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.md +1 -1
  745. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.zh.md +1 -1
  746. package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +19 -19
  747. package/node_modules/@deepseek-ai/dsh-subprocess/package.json +6 -6
  748. package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +9 -9
  749. package/node_modules/@deepseek-ai/dsh-system-prompt/lib/index.js +0 -1
  750. package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +8 -8
  751. package/node_modules/@deepseek-ai/dsh-terminal/package.json +8 -8
  752. package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +22 -22
  753. package/node_modules/@deepseek-ai/dsh-time-context/package.json +23 -23
  754. package/node_modules/@deepseek-ai/dsh-timeout/package.json +3 -3
  755. package/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +38 -15
  756. package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +14 -14
  757. package/node_modules/@deepseek-ai/dsh-token-meter/lib/index.js +4 -2
  758. package/node_modules/@deepseek-ai/dsh-token-meter/lib/types/breakdown-projection.js +1 -0
  759. package/node_modules/@deepseek-ai/dsh-token-meter/lib/types/usage-projection.js +1 -0
  760. package/node_modules/@deepseek-ai/dsh-token-meter/package.json +17 -17
  761. package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.i18n.yaml +85 -0
  762. package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.md +178 -0
  763. package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.zh.md +178 -0
  764. package/node_modules/@deepseek-ai/dsh-tool-agent-team/lib/index.js +308 -0
  765. package/node_modules/@deepseek-ai/dsh-tool-agent-team/locale/en.json +6 -0
  766. package/node_modules/@deepseek-ai/dsh-tool-agent-team/locale/ja.json +6 -0
  767. package/node_modules/@deepseek-ai/dsh-tool-agent-team/locale/zh.json +6 -0
  768. package/node_modules/@deepseek-ai/dsh-tool-agent-team/package.json +63 -0
  769. package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +13 -13
  770. package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +37 -37
  771. package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +27 -27
  772. package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +10 -10
  773. package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +230 -183
  774. package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +17 -17
  775. package/node_modules/@deepseek-ai/dsh-tool-executor-native/package.json +5 -5
  776. package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/package.json +28 -28
  777. package/node_modules/@deepseek-ai/dsh-tool-fs/README.i18n.yaml +4 -4
  778. package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +7 -7
  779. package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +7 -7
  780. package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +5 -5
  781. package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +39 -39
  782. package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +31 -31
  783. package/node_modules/@deepseek-ai/dsh-tool-goal/README.i18n.yaml +2 -2
  784. package/node_modules/@deepseek-ai/dsh-tool-goal/README.md +1 -1
  785. package/node_modules/@deepseek-ai/dsh-tool-goal/README.zh.md +1 -1
  786. package/node_modules/@deepseek-ai/dsh-tool-goal/lib/index.js +1 -1
  787. package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +20 -20
  788. package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +19 -19
  789. package/node_modules/@deepseek-ai/dsh-tool-present/package.json +21 -21
  790. package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +35 -35
  791. package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +28 -28
  792. package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +24 -24
  793. package/node_modules/@deepseek-ai/dsh-tool-schedule/package.json +19 -19
  794. package/node_modules/@deepseek-ai/dsh-tool-session-query/package.json +27 -27
  795. package/node_modules/@deepseek-ai/dsh-tool-skill/lib/index.js +1 -0
  796. package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +18 -18
  797. package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +23 -23
  798. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.i18n.yaml +19 -19
  799. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +15 -13
  800. package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +14 -12
  801. package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +40 -43
  802. package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +25 -25
  803. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.i18n.yaml +53 -38
  804. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.md +41 -21
  805. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.zh.md +41 -21
  806. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/index.js +235 -98
  807. package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +25 -22
  808. package/node_modules/@deepseek-ai/dsh-tool-terminal/package.json +32 -32
  809. package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +19 -19
  810. package/node_modules/@deepseek-ai/dsh-tool-web/README.i18n.yaml +6 -6
  811. package/node_modules/@deepseek-ai/dsh-tool-web/README.md +5 -4
  812. package/node_modules/@deepseek-ai/dsh-tool-web/README.zh.md +5 -4
  813. package/node_modules/@deepseek-ai/dsh-tool-web/lib/index.js +4 -4
  814. package/node_modules/@deepseek-ai/dsh-tool-web/package.json +25 -24
  815. package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +24 -24
  816. package/node_modules/@deepseek-ai/dsh-tool-working-directory/package.json +13 -13
  817. package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +12 -12
  818. package/node_modules/@deepseek-ai/dsh-tools/package.json +20 -20
  819. package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +6 -6
  820. package/node_modules/@deepseek-ai/dsh-tui-app/README.md +10 -8
  821. package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +10 -8
  822. package/node_modules/@deepseek-ai/dsh-tui-app/cordis.patch.yml +17 -0
  823. package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +113 -99
  824. package/node_modules/@deepseek-ai/dsh-tui-app/package.json +87 -87
  825. package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +10 -10
  826. package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +4 -4
  827. package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +4 -4
  828. package/node_modules/@deepseek-ai/dsh-user-approval/package.json +18 -18
  829. package/node_modules/@deepseek-ai/dsh-user-questions/README.i18n.yaml +2 -2
  830. package/node_modules/@deepseek-ai/dsh-user-questions/README.md +1 -1
  831. package/node_modules/@deepseek-ai/dsh-user-questions/README.zh.md +1 -1
  832. package/node_modules/@deepseek-ai/dsh-user-questions/lib/index.js +5 -6
  833. package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.host.js +16 -4
  834. package/node_modules/@deepseek-ai/dsh-user-questions/lib/types/index.js +5 -6
  835. package/node_modules/@deepseek-ai/dsh-user-questions/package.json +18 -18
  836. package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +3 -3
  837. package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +3 -3
  838. package/node_modules/@deepseek-ai/dsh-util-time/package.json +3 -3
  839. package/node_modules/@deepseek-ai/dsh-util-values/package.json +3 -3
  840. package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +3 -3
  841. package/node_modules/@deepseek-ai/dsh-web/README.i18n.yaml +18 -12
  842. package/node_modules/@deepseek-ai/dsh-web/README.md +38 -7
  843. package/node_modules/@deepseek-ai/dsh-web/README.zh.md +38 -7
  844. package/node_modules/@deepseek-ai/dsh-web/lib/index.js +220 -112
  845. package/node_modules/@deepseek-ai/dsh-web/lib/typert.host.js +178 -0
  846. package/node_modules/@deepseek-ai/dsh-web/lib/typert.remote-client.js +45 -0
  847. package/node_modules/@deepseek-ai/dsh-web/lib/types/index.js +277 -0
  848. package/node_modules/@deepseek-ai/dsh-web/lib/types/types.js +18 -0
  849. package/node_modules/@deepseek-ai/dsh-web/package.json +26 -7
  850. package/node_modules/@deepseek-ai/dsh-web-app/README.i18n.yaml +2 -2
  851. package/node_modules/@deepseek-ai/dsh-web-app/README.md +2 -0
  852. package/node_modules/@deepseek-ai/dsh-web-app/README.zh.md +2 -0
  853. package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +14 -6
  854. package/node_modules/@deepseek-ai/dsh-web-app/package.json +157 -154
  855. package/node_modules/@deepseek-ai/dsh-web-app/presets/standard.patch.yml +1 -1
  856. package/node_modules/@deepseek-ai/dsh-web-deepseek-api/README.i18n.yaml +12 -12
  857. package/node_modules/@deepseek-ai/dsh-web-deepseek-api/README.md +22 -12
  858. package/node_modules/@deepseek-ai/dsh-web-deepseek-api/README.zh.md +22 -12
  859. package/node_modules/@deepseek-ai/dsh-web-deepseek-api/lib/index.js +394 -163
  860. package/node_modules/@deepseek-ai/dsh-web-deepseek-api/package.json +30 -19
  861. package/node_modules/@deepseek-ai/dsh-web-fetch-http/lib/index.js +11 -0
  862. package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +9 -9
  863. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-B2q7cWGa.js +199 -0
  864. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-uWlUD22X.css +1 -0
  865. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/graphql-DFkUqiqq.js +2 -0
  866. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/http-BbPA7N5Y.js +2 -0
  867. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/php-BcJWnZHR.js +2 -0
  868. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/rst-CtdShwKQ.js +2 -0
  869. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/ruby-DllPV2XI.js +2 -0
  870. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/svelte-ZPgsG5h9.js +2 -0
  871. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/vue-CnLRC5W9.js +2 -0
  872. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/vendor-BUMdD3V7.js +411 -0
  873. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +3 -3
  874. package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +21 -21
  875. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.i18n.yaml +8 -8
  876. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.md +6 -4
  877. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.zh.md +6 -4
  878. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/lib/index.js +30 -18
  879. package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +20 -18
  880. package/node_modules/@deepseek-ai/dsh-win32-process/package.json +4 -4
  881. package/node_modules/@deepseek-ai/dsh-workflow/package.json +11 -11
  882. package/node_modules/@deepseek-ai/dsh-workflow-ptc/lib/index.js +11 -13
  883. package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +39 -39
  884. package/node_modules/@deepseek-ai/dsh-working-directory/package.json +21 -21
  885. package/node_modules/@deepseek-ai/dsh-workspace/package.json +14 -14
  886. package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +26 -26
  887. package/node_modules/@deepseek-ai/schemastery/package.json +2 -2
  888. package/node_modules/@earendil-works/pi-ai/README.md +35 -35
  889. package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +59 -71
  890. package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.js +0 -6
  891. package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +125 -103
  892. package/node_modules/@earendil-works/pi-ai/dist/api/constrained-sampling.js +51 -18
  893. package/node_modules/@earendil-works/pi-ai/dist/api/google-generative-ai.js +0 -6
  894. package/node_modules/@earendil-works/pi-ai/dist/api/google-shared.js +57 -2
  895. package/node_modules/@earendil-works/pi-ai/dist/api/google-vertex.js +0 -6
  896. package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +17 -44
  897. package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +0 -5
  898. package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +42 -54
  899. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +58 -57
  900. package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +0 -6
  901. package/node_modules/@earendil-works/pi-ai/dist/api/openrouter-images.js +1 -0
  902. package/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.js +24 -9
  903. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/github-copilot.js +4 -11
  904. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/kimi-coding.js +4 -22
  905. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/meta.js +1 -14
  906. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/radius.js +9 -3
  907. package/node_modules/@earendil-works/pi-ai/dist/auth/oauth/trusted-url.js +12 -0
  908. package/node_modules/@earendil-works/pi-ai/dist/cli.js +6 -2
  909. package/node_modules/@earendil-works/pi-ai/dist/index.js +2 -2
  910. package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +1 -1
  911. package/node_modules/@earendil-works/pi-ai/dist/models.js +1 -0
  912. package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.models.js +1 -1
  913. package/node_modules/@earendil-works/pi-ai/dist/providers/ant-ling.models.js +1 -1
  914. package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.models.js +1 -1
  915. package/node_modules/@earendil-works/pi-ai/dist/providers/azure.models.js +1 -1
  916. package/node_modules/@earendil-works/pi-ai/dist/providers/baseten.models.js +1 -1
  917. package/node_modules/@earendil-works/pi-ai/dist/providers/cerebras.models.js +1 -1
  918. package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-ai-gateway.models.js +1 -1
  919. package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-workers-ai.models.js +1 -1
  920. package/node_modules/@earendil-works/pi-ai/dist/providers/compat-schema.js +144 -111
  921. package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
  922. package/node_modules/@earendil-works/pi-ai/dist/providers/data/amazon-bedrock.json +1 -1
  923. package/node_modules/@earendil-works/pi-ai/dist/providers/data/anthropic.json +1 -1
  924. package/node_modules/@earendil-works/pi-ai/dist/providers/data/azure.json +1 -1
  925. package/node_modules/@earendil-works/pi-ai/dist/providers/data/baseten.json +1 -1
  926. package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-ai-gateway.json +1 -1
  927. package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-workers-ai.json +1 -1
  928. package/node_modules/@earendil-works/pi-ai/dist/providers/data/fireworks.json +1 -1
  929. package/node_modules/@earendil-works/pi-ai/dist/providers/data/github-copilot.json +1 -1
  930. package/node_modules/@earendil-works/pi-ai/dist/providers/data/google-vertex.json +1 -1
  931. package/node_modules/@earendil-works/pi-ai/dist/providers/data/google.json +1 -1
  932. package/node_modules/@earendil-works/pi-ai/dist/providers/data/huggingface.json +1 -1
  933. package/node_modules/@earendil-works/pi-ai/dist/providers/data/kimi-coding.json +1 -1
  934. package/node_modules/@earendil-works/pi-ai/dist/providers/data/mistral.json +1 -1
  935. package/node_modules/@earendil-works/pi-ai/dist/providers/data/moonshotai-cn.json +1 -1
  936. package/node_modules/@earendil-works/pi-ai/dist/providers/data/moonshotai.json +1 -1
  937. package/node_modules/@earendil-works/pi-ai/dist/providers/data/nvidia.json +1 -1
  938. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai-codex.json +1 -1
  939. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai.json +1 -1
  940. package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode-go.json +1 -1
  941. package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
  942. package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
  943. package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-cn.json +1 -1
  944. package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-individual.json +1 -1
  945. package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan.json +1 -1
  946. package/node_modules/@earendil-works/pi-ai/dist/providers/data/radius.json +1 -1
  947. package/node_modules/@earendil-works/pi-ai/dist/providers/data/together.json +1 -1
  948. package/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
  949. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xai.json +1 -1
  950. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-ams.json +1 -1
  951. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-cn.json +1 -1
  952. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-sgp.json +1 -1
  953. package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi.json +1 -1
  954. package/node_modules/@earendil-works/pi-ai/dist/providers/data/zai-coding-cn.json +1 -1
  955. package/node_modules/@earendil-works/pi-ai/dist/providers/data/zai.json +1 -1
  956. package/node_modules/@earendil-works/pi-ai/dist/providers/deepseek.models.js +1 -1
  957. package/node_modules/@earendil-works/pi-ai/dist/providers/faux.js +7 -2
  958. package/node_modules/@earendil-works/pi-ai/dist/providers/fireworks.models.js +1 -1
  959. package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot.models.js +1 -1
  960. package/node_modules/@earendil-works/pi-ai/dist/providers/google-vertex.models.js +1 -1
  961. package/node_modules/@earendil-works/pi-ai/dist/providers/google.models.js +1 -1
  962. package/node_modules/@earendil-works/pi-ai/dist/providers/groq.models.js +1 -1
  963. package/node_modules/@earendil-works/pi-ai/dist/providers/huggingface.models.js +1 -1
  964. package/node_modules/@earendil-works/pi-ai/dist/providers/kimi-coding.models.js +1 -1
  965. package/node_modules/@earendil-works/pi-ai/dist/providers/meta.models.js +1 -1
  966. package/node_modules/@earendil-works/pi-ai/dist/providers/minimax-cn.models.js +1 -1
  967. package/node_modules/@earendil-works/pi-ai/dist/providers/minimax.models.js +1 -1
  968. package/node_modules/@earendil-works/pi-ai/dist/providers/mistral.models.js +1 -1
  969. package/node_modules/@earendil-works/pi-ai/dist/providers/model-schema.js +41 -30
  970. package/node_modules/@earendil-works/pi-ai/dist/providers/moonshotai-cn.models.js +1 -1
  971. package/node_modules/@earendil-works/pi-ai/dist/providers/moonshotai.models.js +1 -1
  972. package/node_modules/@earendil-works/pi-ai/dist/providers/nvidia.models.js +1 -1
  973. package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex.models.js +1 -1
  974. package/node_modules/@earendil-works/pi-ai/dist/providers/openai.models.js +1 -1
  975. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.models.js +1 -1
  976. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.js +1 -1
  977. package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.models.js +1 -1
  978. package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.js +1 -1
  979. package/node_modules/@earendil-works/pi-ai/dist/providers/qwen-token-plan-cn.models.js +1 -1
  980. package/node_modules/@earendil-works/pi-ai/dist/providers/qwen-token-plan-individual.models.js +1 -1
  981. package/node_modules/@earendil-works/pi-ai/dist/providers/qwen-token-plan.models.js +1 -1
  982. package/node_modules/@earendil-works/pi-ai/dist/providers/radius-config.js +2 -1
  983. package/node_modules/@earendil-works/pi-ai/dist/providers/radius.models.js +1 -1
  984. package/node_modules/@earendil-works/pi-ai/dist/providers/schema-builders.js +18 -0
  985. package/node_modules/@earendil-works/pi-ai/dist/providers/together.models.js +1 -1
  986. package/node_modules/@earendil-works/pi-ai/dist/providers/typesafe.models.js +1 -1
  987. package/node_modules/@earendil-works/pi-ai/dist/providers/vercel-ai-gateway.models.js +1 -1
  988. package/node_modules/@earendil-works/pi-ai/dist/providers/xai.models.js +1 -1
  989. package/node_modules/@earendil-works/pi-ai/dist/providers/xiaomi-token-plan-ams.models.js +1 -1
  990. package/node_modules/@earendil-works/pi-ai/dist/providers/xiaomi-token-plan-cn.models.js +1 -1
  991. package/node_modules/@earendil-works/pi-ai/dist/providers/xiaomi-token-plan-sgp.models.js +1 -1
  992. package/node_modules/@earendil-works/pi-ai/dist/providers/xiaomi.models.js +1 -1
  993. package/node_modules/@earendil-works/pi-ai/dist/providers/zai-coding-cn.models.js +1 -1
  994. package/node_modules/@earendil-works/pi-ai/dist/providers/zai.models.js +1 -1
  995. package/node_modules/@earendil-works/pi-ai/dist/telemetry.js +2 -1
  996. package/node_modules/@earendil-works/pi-ai/dist/utils/error-body.js +2 -1
  997. package/node_modules/@earendil-works/pi-ai/dist/utils/openrouter-cost.js +34 -0
  998. package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.js +2 -0
  999. package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js +3 -0
  1000. package/node_modules/@earendil-works/pi-ai/dist/utils/streaming-json.js +513 -0
  1001. package/node_modules/@earendil-works/pi-ai/dist/utils/string-enum.js +20 -0
  1002. package/node_modules/@earendil-works/pi-ai/dist/utils/text.js +9 -0
  1003. package/node_modules/@earendil-works/pi-ai/dist/utils/transcript.js +1 -1
  1004. package/node_modules/@earendil-works/pi-ai/dist/utils/validation.js +27 -277
  1005. package/node_modules/@earendil-works/pi-ai/dist/utils/version.js +1 -1
  1006. package/node_modules/@earendil-works/pi-ai/package.json +6 -5
  1007. package/node_modules/@earendil-works/pi-schema/CHANGELOG.md +13 -0
  1008. package/node_modules/@earendil-works/pi-schema/README.md +296 -0
  1009. package/node_modules/@earendil-works/pi-schema/dist/annotations.js +193 -0
  1010. package/node_modules/@earendil-works/pi-schema/dist/builders.js +98 -0
  1011. package/node_modules/@earendil-works/pi-schema/dist/checks.js +447 -0
  1012. package/node_modules/@earendil-works/pi-schema/dist/coerce.js +585 -0
  1013. package/node_modules/@earendil-works/pi-schema/dist/compiler.js +532 -0
  1014. package/node_modules/@earendil-works/pi-schema/dist/explain.js +381 -0
  1015. package/node_modules/@earendil-works/pi-schema/dist/formats/index.js +51 -0
  1016. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/date.js +47 -0
  1017. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/date_time.js +39 -0
  1018. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/duration.js +36 -0
  1019. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/email.js +36 -0
  1020. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/hostname.js +38 -0
  1021. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idn_email.js +36 -0
  1022. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idn_hostname.js +39 -0
  1023. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/format/bidi.js +132 -0
  1024. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/format/puny.js +172 -0
  1025. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/hostname.js +43 -0
  1026. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/idn-hostname.js +71 -0
  1027. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/index.js +30 -0
  1028. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/label/ascii.js +37 -0
  1029. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/label/puny.js +56 -0
  1030. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/label/unicode.js +134 -0
  1031. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/idna/pattern/pattern.js +98 -0
  1032. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/ipv4.js +36 -0
  1033. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/ipv6.js +36 -0
  1034. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/iri.js +63 -0
  1035. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/iri_reference.js +40 -0
  1036. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/json_pointer.js +37 -0
  1037. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/json_pointer_uri_fragment.js +37 -0
  1038. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/regex.js +41 -0
  1039. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/relative_json_pointer.js +37 -0
  1040. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/time.js +60 -0
  1041. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/uri.js +36 -0
  1042. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/uri_reference.js +36 -0
  1043. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/uri_template.js +37 -0
  1044. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/url.js +36 -0
  1045. package/node_modules/@earendil-works/pi-schema/dist/formats/typebox/uuid.js +37 -0
  1046. package/node_modules/@earendil-works/pi-schema/dist/index.js +5 -0
  1047. package/node_modules/@earendil-works/pi-schema/dist/resolver.js +202 -0
  1048. package/node_modules/@earendil-works/pi-schema/dist/shared.js +33 -0
  1049. package/node_modules/@earendil-works/pi-schema/dist/typebox-static.js +5 -0
  1050. package/node_modules/@earendil-works/pi-schema/dist/types.js +3 -0
  1051. package/node_modules/@earendil-works/pi-schema/dist/validator.js +71 -0
  1052. package/node_modules/@earendil-works/pi-schema/package.json +53 -0
  1053. package/node_modules/@earendil-works/pi-telemetry/package.json +4 -2
  1054. package/node_modules/@shikijs/core/dist/index.mjs +57 -43
  1055. package/node_modules/@shikijs/core/package.json +5 -5
  1056. package/node_modules/@shikijs/engine-javascript/dist/engine-compile.mjs +2 -3
  1057. package/node_modules/@shikijs/engine-javascript/dist/engine-raw.mjs +2 -3
  1058. package/node_modules/@shikijs/engine-javascript/dist/index.mjs +1 -1
  1059. package/node_modules/@shikijs/engine-javascript/dist/string-CFc1qfdw.mjs +113 -0
  1060. package/node_modules/@shikijs/engine-javascript/package.json +3 -3
  1061. package/node_modules/@shikijs/engine-oniguruma/dist/index.mjs +1 -1
  1062. package/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.mjs +6 -4
  1063. package/node_modules/@shikijs/engine-oniguruma/package.json +3 -3
  1064. package/node_modules/@shikijs/langs/package.json +2 -2
  1065. package/node_modules/@shikijs/primitive/dist/index.mjs +30 -33
  1066. package/node_modules/@shikijs/primitive/package.json +3 -3
  1067. package/node_modules/@shikijs/themes/package.json +2 -2
  1068. package/node_modules/@shikijs/types/dist/index.mjs +1 -2
  1069. package/node_modules/@shikijs/types/package.json +2 -2
  1070. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +10 -4
  1071. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js +10 -4
  1072. package/node_modules/@smithy/core/package.json +1 -1
  1073. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +3 -2
  1074. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +3 -2
  1075. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  1076. package/node_modules/http2-wrapper/package.json +2 -23
  1077. package/node_modules/http2-wrapper/source/agent.js +70 -4
  1078. package/node_modules/jose/dist/webapi/jwks/remote.js +3 -1
  1079. package/node_modules/jose/dist/webapi/lib/deflate.js +2 -1
  1080. package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +2 -1
  1081. package/node_modules/jose/package.json +1 -1
  1082. package/node_modules/semver/classes/range.js +2 -2
  1083. package/node_modules/semver/internal/constants.js +30 -0
  1084. package/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
  1085. package/node_modules/semver/package.json +1 -1
  1086. package/node_modules/shiki/dist/bundle-full.mjs +4 -5
  1087. package/node_modules/shiki/dist/bundle-web.mjs +4 -6
  1088. package/node_modules/shiki/dist/core-unwasm.mjs +1 -2
  1089. package/node_modules/shiki/dist/core.mjs +1 -1
  1090. package/node_modules/shiki/dist/engine-oniguruma-XLVxwJtN.mjs +6 -0
  1091. package/node_modules/shiki/dist/engine-oniguruma.mjs +2 -7
  1092. package/node_modules/shiki/dist/index.mjs +2 -2
  1093. package/node_modules/shiki/dist/langs-bundle-full-CSdmXkDy.mjs +1325 -0
  1094. package/node_modules/shiki/dist/langs.mjs +1 -2
  1095. package/node_modules/shiki/dist/rolldown-runtime-782esTHO.mjs +26 -0
  1096. package/node_modules/shiki/dist/themes.mjs +1 -2
  1097. package/node_modules/shiki/dist/wasm.mjs +1 -2
  1098. package/node_modules/shiki/package.json +8 -8
  1099. package/node_modules/tslib/README.md +3 -8
  1100. package/node_modules/tslib/package.json +1 -1
  1101. package/node_modules/tslib/tslib.es6.js +10 -1
  1102. package/node_modules/tslib/tslib.es6.mjs +10 -1
  1103. package/node_modules/tslib/tslib.js +10 -1
  1104. package/package.json +379 -376
  1105. package/node_modules/@deepseek-ai/dsh/lib/dump-config-D97dwXdd.js +0 -64
  1106. package/node_modules/@deepseek-ai/dsh/lib/dump-config-DuXZcU0e.js +0 -2
  1107. package/node_modules/@deepseek-ai/dsh/lib/dump-config-schema-r4V15-lg.js +0 -41
  1108. package/node_modules/@deepseek-ai/dsh/lib/plugin-DscIHF4k.js +0 -102
  1109. package/node_modules/@deepseek-ai/dsh/lib/profile-boot-e2mS45fC.js +0 -330
  1110. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.i18n.yaml +0 -100
  1111. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.md +0 -225
  1112. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.zh.md +0 -225
  1113. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/index.js +0 -1638
  1114. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/activity.js +0 -85
  1115. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/client.js +0 -3
  1116. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/error.js +0 -23
  1117. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/index.js +0 -231
  1118. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/journal.js +0 -65
  1119. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/lifecycle.js +0 -103
  1120. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/persisted.js +0 -20
  1121. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/projection.js +0 -327
  1122. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/roster.js +0 -437
  1123. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/session-message.js +0 -23
  1124. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/task-board.js +0 -235
  1125. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/task-view.js +0 -57
  1126. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/en.json +0 -6
  1127. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/ja.json +0 -6
  1128. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/zh.json +0 -6
  1129. package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +0 -68
  1130. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.i18n.yaml +0 -52
  1131. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.md +0 -118
  1132. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.zh.md +0 -118
  1133. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/cordis.patch.yml +0 -29
  1134. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/DETAIL.md +0 -1
  1135. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/DETAIL.zh.md +0 -1
  1136. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/preview.svg +0 -1
  1137. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/preview.zh.svg +0 -1
  1138. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/icon.svg +0 -12
  1139. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/de.json +0 -7
  1140. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/en.json +0 -7
  1141. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/es.json +0 -7
  1142. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/fr.json +0 -7
  1143. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/ja.json +0 -7
  1144. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/pt.json +0 -7
  1145. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/ru.json +0 -7
  1146. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/zh.json +0 -7
  1147. package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +0 -54
  1148. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.i18n.yaml +0 -43
  1149. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.md +0 -102
  1150. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.zh.md +0 -102
  1151. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/lib/client.js +0 -690
  1152. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/en.json +0 -6
  1153. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/ja.json +0 -6
  1154. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/zh.json +0 -6
  1155. package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +0 -66
  1156. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/viewer-declarations-krUNq6VU.js +0 -287
  1157. package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/viewer-declarations.js +0 -26
  1158. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.i18n.yaml +0 -70
  1159. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.md +0 -155
  1160. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.zh.md +0 -155
  1161. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/lib/index.js +0 -580
  1162. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/en.json +0 -6
  1163. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/ja.json +0 -6
  1164. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/zh.json +0 -6
  1165. package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +0 -61
  1166. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BCbHmUSs.js +0 -197
  1167. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BUDGJY4R.css +0 -1
  1168. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/graphql-C-Uijqkk.js +0 -2
  1169. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/http-CLu1VCSi.js +0 -2
  1170. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/php-CjQPq1Mz.js +0 -2
  1171. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/rst-BuDKiyD7.js +0 -2
  1172. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/ruby-ZtjE4NPI.js +0 -2
  1173. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/svelte-Tt81icjn.js +0 -2
  1174. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/vue-B5SDFeDA.js +0 -2
  1175. package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/vendor-7utBqO4o.js +0 -411
  1176. package/node_modules/@deepseek-ai/dsh-web-search-exa/README.i18n.yaml +0 -61
  1177. package/node_modules/@deepseek-ai/dsh-web-search-exa/README.md +0 -142
  1178. package/node_modules/@deepseek-ai/dsh-web-search-exa/README.zh.md +0 -142
  1179. package/node_modules/@deepseek-ai/dsh-web-search-exa/lib/index.js +0 -154
  1180. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/de.json +0 -6
  1181. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/en.json +0 -6
  1182. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/es.json +0 -6
  1183. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/fr.json +0 -6
  1184. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/ja.json +0 -6
  1185. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/pt.json +0 -6
  1186. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/ru.json +0 -6
  1187. package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/zh.json +0 -6
  1188. package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +0 -45
  1189. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/README.i18n.yaml +0 -82
  1190. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/README.md +0 -165
  1191. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/README.zh.md +0 -165
  1192. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/lib/index.js +0 -152
  1193. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/de.json +0 -6
  1194. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/en.json +0 -6
  1195. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/es.json +0 -6
  1196. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/fr.json +0 -6
  1197. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/ja.json +0 -6
  1198. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/pt.json +0 -6
  1199. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/ru.json +0 -6
  1200. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/zh.json +0 -6
  1201. package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +0 -45
  1202. package/node_modules/@earendil-works/pi-ai/dist/utils/typebox-helpers.js +0 -21
  1203. package/node_modules/@shikijs/engine-javascript/dist/string-TLTPtCPs.mjs +0 -115
  1204. package/node_modules/shiki/dist/langs-bundle-full-xQVO1Cek.mjs +0 -1326
  1205. package/node_modules/shiki/dist/rolldown-runtime-BBjsoOtd.mjs +0 -27
  1206. package/node_modules/typebox/build/compile/code.mjs +0 -65
  1207. package/node_modules/typebox/build/compile/compile.mjs +0 -12
  1208. package/node_modules/typebox/build/compile/index.mjs +0 -14
  1209. package/node_modules/typebox/build/compile/validator.mjs +0 -91
  1210. package/node_modules/typebox/build/error/errors.mjs +0 -18
  1211. package/node_modules/typebox/build/error/index.mjs +0 -1
  1212. package/node_modules/typebox/build/format/_registry.mjs +0 -96
  1213. package/node_modules/typebox/build/format/date.mjs +0 -19
  1214. package/node_modules/typebox/build/format/date_time.mjs +0 -11
  1215. package/node_modules/typebox/build/format/duration.mjs +0 -8
  1216. package/node_modules/typebox/build/format/email.mjs +0 -8
  1217. package/node_modules/typebox/build/format/format.mjs +0 -22
  1218. package/node_modules/typebox/build/format/hostname.mjs +0 -10
  1219. package/node_modules/typebox/build/format/idn_email.mjs +0 -8
  1220. package/node_modules/typebox/build/format/idn_hostname.mjs +0 -11
  1221. package/node_modules/typebox/build/format/idna/format/bidi.mjs +0 -98
  1222. package/node_modules/typebox/build/format/idna/format/puny.mjs +0 -144
  1223. package/node_modules/typebox/build/format/idna/hostname.mjs +0 -16
  1224. package/node_modules/typebox/build/format/idna/idn-hostname.mjs +0 -43
  1225. package/node_modules/typebox/build/format/idna/index.mjs +0 -2
  1226. package/node_modules/typebox/build/format/idna/label/ascii.mjs +0 -9
  1227. package/node_modules/typebox/build/format/idna/label/puny.mjs +0 -28
  1228. package/node_modules/typebox/build/format/idna/label/unicode.mjs +0 -106
  1229. package/node_modules/typebox/build/format/idna/pattern/pattern.mjs +0 -70
  1230. package/node_modules/typebox/build/format/index.mjs +0 -4
  1231. package/node_modules/typebox/build/format/ipv4.mjs +0 -8
  1232. package/node_modules/typebox/build/format/ipv6.mjs +0 -8
  1233. package/node_modules/typebox/build/format/iri.mjs +0 -35
  1234. package/node_modules/typebox/build/format/iri_reference.mjs +0 -14
  1235. package/node_modules/typebox/build/format/json_pointer.mjs +0 -9
  1236. package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +0 -9
  1237. package/node_modules/typebox/build/format/regex.mjs +0 -13
  1238. package/node_modules/typebox/build/format/relative_json_pointer.mjs +0 -9
  1239. package/node_modules/typebox/build/format/time.mjs +0 -32
  1240. package/node_modules/typebox/build/format/uri.mjs +0 -8
  1241. package/node_modules/typebox/build/format/uri_reference.mjs +0 -8
  1242. package/node_modules/typebox/build/format/uri_template.mjs +0 -9
  1243. package/node_modules/typebox/build/format/url.mjs +0 -8
  1244. package/node_modules/typebox/build/format/uuid.mjs +0 -9
  1245. package/node_modules/typebox/build/guard/emit.mjs +0 -191
  1246. package/node_modules/typebox/build/guard/globals.mjs +0 -90
  1247. package/node_modules/typebox/build/guard/guard.mjs +0 -221
  1248. package/node_modules/typebox/build/guard/index.mjs +0 -6
  1249. package/node_modules/typebox/build/guard/native.mjs +0 -60
  1250. package/node_modules/typebox/build/guard/string.mjs +0 -168
  1251. package/node_modules/typebox/build/index.mjs +0 -14
  1252. package/node_modules/typebox/build/schema/build.mjs +0 -118
  1253. package/node_modules/typebox/build/schema/check.mjs +0 -14
  1254. package/node_modules/typebox/build/schema/compile.mjs +0 -46
  1255. package/node_modules/typebox/build/schema/engine/_context.mjs +0 -124
  1256. package/node_modules/typebox/build/schema/engine/_exact_optional.mjs +0 -20
  1257. package/node_modules/typebox/build/schema/engine/_externals.mjs +0 -25
  1258. package/node_modules/typebox/build/schema/engine/_functions.mjs +0 -65
  1259. package/node_modules/typebox/build/schema/engine/_reducer.mjs +0 -45
  1260. package/node_modules/typebox/build/schema/engine/_refine.mjs +0 -29
  1261. package/node_modules/typebox/build/schema/engine/_regexp.mjs +0 -4
  1262. package/node_modules/typebox/build/schema/engine/_stack.mjs +0 -209
  1263. package/node_modules/typebox/build/schema/engine/_unique.mjs +0 -5
  1264. package/node_modules/typebox/build/schema/engine/additionalItems.mjs +0 -60
  1265. package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +0 -123
  1266. package/node_modules/typebox/build/schema/engine/allOf.mjs +0 -47
  1267. package/node_modules/typebox/build/schema/engine/anyOf.mjs +0 -52
  1268. package/node_modules/typebox/build/schema/engine/boolean.mjs +0 -25
  1269. package/node_modules/typebox/build/schema/engine/const.mjs +0 -30
  1270. package/node_modules/typebox/build/schema/engine/contains.mjs +0 -54
  1271. package/node_modules/typebox/build/schema/engine/dependencies.mjs +0 -45
  1272. package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +0 -40
  1273. package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +0 -38
  1274. package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +0 -25
  1275. package/node_modules/typebox/build/schema/engine/enum.mjs +0 -33
  1276. package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +0 -25
  1277. package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +0 -25
  1278. package/node_modules/typebox/build/schema/engine/format.mjs +0 -26
  1279. package/node_modules/typebox/build/schema/engine/if.mjs +0 -47
  1280. package/node_modules/typebox/build/schema/engine/index.mjs +0 -54
  1281. package/node_modules/typebox/build/schema/engine/items.mjs +0 -88
  1282. package/node_modules/typebox/build/schema/engine/maxContains.mjs +0 -42
  1283. package/node_modules/typebox/build/schema/engine/maxItems.mjs +0 -25
  1284. package/node_modules/typebox/build/schema/engine/maxLength.mjs +0 -25
  1285. package/node_modules/typebox/build/schema/engine/maxProperties.mjs +0 -25
  1286. package/node_modules/typebox/build/schema/engine/maximum.mjs +0 -25
  1287. package/node_modules/typebox/build/schema/engine/minContains.mjs +0 -51
  1288. package/node_modules/typebox/build/schema/engine/minItems.mjs +0 -25
  1289. package/node_modules/typebox/build/schema/engine/minLength.mjs +0 -25
  1290. package/node_modules/typebox/build/schema/engine/minProperties.mjs +0 -25
  1291. package/node_modules/typebox/build/schema/engine/minimum.mjs +0 -25
  1292. package/node_modules/typebox/build/schema/engine/multipleOf.mjs +0 -25
  1293. package/node_modules/typebox/build/schema/engine/not.mjs +0 -39
  1294. package/node_modules/typebox/build/schema/engine/oneOf.mjs +0 -59
  1295. package/node_modules/typebox/build/schema/engine/pattern.mjs +0 -29
  1296. package/node_modules/typebox/build/schema/engine/patternProperties.mjs +0 -45
  1297. package/node_modules/typebox/build/schema/engine/prefixItems.mjs +0 -35
  1298. package/node_modules/typebox/build/schema/engine/properties.mjs +0 -75
  1299. package/node_modules/typebox/build/schema/engine/propertyNames.mjs +0 -37
  1300. package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +0 -25
  1301. package/node_modules/typebox/build/schema/engine/ref.mjs +0 -52
  1302. package/node_modules/typebox/build/schema/engine/required.mjs +0 -32
  1303. package/node_modules/typebox/build/schema/engine/schema.mjs +0 -362
  1304. package/node_modules/typebox/build/schema/engine/type.mjs +0 -70
  1305. package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +0 -51
  1306. package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +0 -51
  1307. package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +0 -51
  1308. package/node_modules/typebox/build/schema/errors.mjs +0 -18
  1309. package/node_modules/typebox/build/schema/index.mjs +0 -9
  1310. package/node_modules/typebox/build/schema/intern/index.mjs +0 -1
  1311. package/node_modules/typebox/build/schema/intern/intern.mjs +0 -259
  1312. package/node_modules/typebox/build/schema/parse.mjs +0 -32
  1313. package/node_modules/typebox/build/schema/pointer/index.mjs +0 -2
  1314. package/node_modules/typebox/build/schema/pointer/pointer.mjs +0 -106
  1315. package/node_modules/typebox/build/schema/pointer/pointer_get.mjs +0 -2
  1316. package/node_modules/typebox/build/schema/resolve/index.mjs +0 -1
  1317. package/node_modules/typebox/build/schema/resolve/resolve.mjs +0 -327
  1318. package/node_modules/typebox/build/schema/schema.mjs +0 -11
  1319. package/node_modules/typebox/build/schema/static/_canonical.mjs +0 -2
  1320. package/node_modules/typebox/build/schema/static/_comparer.mjs +0 -2
  1321. package/node_modules/typebox/build/schema/static/_elements.mjs +0 -2
  1322. package/node_modules/typebox/build/schema/static/additionalProperties.mjs +0 -3
  1323. package/node_modules/typebox/build/schema/static/allOf.mjs +0 -2
  1324. package/node_modules/typebox/build/schema/static/anyOf.mjs +0 -2
  1325. package/node_modules/typebox/build/schema/static/const.mjs +0 -2
  1326. package/node_modules/typebox/build/schema/static/enum.mjs +0 -2
  1327. package/node_modules/typebox/build/schema/static/if.mjs +0 -2
  1328. package/node_modules/typebox/build/schema/static/items.mjs +0 -2
  1329. package/node_modules/typebox/build/schema/static/oneOf.mjs +0 -2
  1330. package/node_modules/typebox/build/schema/static/patternProperties.mjs +0 -2
  1331. package/node_modules/typebox/build/schema/static/prefixItems.mjs +0 -2
  1332. package/node_modules/typebox/build/schema/static/properties.mjs +0 -2
  1333. package/node_modules/typebox/build/schema/static/propertyNames.mjs +0 -3
  1334. package/node_modules/typebox/build/schema/static/ref.mjs +0 -3
  1335. package/node_modules/typebox/build/schema/static/required.mjs +0 -3
  1336. package/node_modules/typebox/build/schema/static/schema.mjs +0 -2
  1337. package/node_modules/typebox/build/schema/static/static.mjs +0 -3
  1338. package/node_modules/typebox/build/schema/static/type.mjs +0 -3
  1339. package/node_modules/typebox/build/schema/static/unevaluatedProperties.mjs +0 -3
  1340. package/node_modules/typebox/build/schema/types/_refine.mjs +0 -18
  1341. package/node_modules/typebox/build/schema/types/additionalItems.mjs +0 -14
  1342. package/node_modules/typebox/build/schema/types/additionalProperties.mjs +0 -14
  1343. package/node_modules/typebox/build/schema/types/allOf.mjs +0 -15
  1344. package/node_modules/typebox/build/schema/types/anchor.mjs +0 -12
  1345. package/node_modules/typebox/build/schema/types/anyOf.mjs +0 -15
  1346. package/node_modules/typebox/build/schema/types/const.mjs +0 -12
  1347. package/node_modules/typebox/build/schema/types/contains.mjs +0 -14
  1348. package/node_modules/typebox/build/schema/types/default.mjs +0 -12
  1349. package/node_modules/typebox/build/schema/types/defs.mjs +0 -12
  1350. package/node_modules/typebox/build/schema/types/dependencies.mjs +0 -16
  1351. package/node_modules/typebox/build/schema/types/dependentRequired.mjs +0 -15
  1352. package/node_modules/typebox/build/schema/types/dependentSchemas.mjs +0 -15
  1353. package/node_modules/typebox/build/schema/types/dynamicAnchor.mjs +0 -12
  1354. package/node_modules/typebox/build/schema/types/dynamicRef.mjs +0 -12
  1355. package/node_modules/typebox/build/schema/types/else.mjs +0 -14
  1356. package/node_modules/typebox/build/schema/types/enum.mjs +0 -13
  1357. package/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs +0 -13
  1358. package/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs +0 -13
  1359. package/node_modules/typebox/build/schema/types/format.mjs +0 -13
  1360. package/node_modules/typebox/build/schema/types/id.mjs +0 -13
  1361. package/node_modules/typebox/build/schema/types/if.mjs +0 -14
  1362. package/node_modules/typebox/build/schema/types/index.mjs +0 -57
  1363. package/node_modules/typebox/build/schema/types/items.mjs +0 -26
  1364. package/node_modules/typebox/build/schema/types/maxContains.mjs +0 -13
  1365. package/node_modules/typebox/build/schema/types/maxItems.mjs +0 -13
  1366. package/node_modules/typebox/build/schema/types/maxLength.mjs +0 -13
  1367. package/node_modules/typebox/build/schema/types/maxProperties.mjs +0 -13
  1368. package/node_modules/typebox/build/schema/types/maximum.mjs +0 -13
  1369. package/node_modules/typebox/build/schema/types/minContains.mjs +0 -13
  1370. package/node_modules/typebox/build/schema/types/minItems.mjs +0 -13
  1371. package/node_modules/typebox/build/schema/types/minLength.mjs +0 -13
  1372. package/node_modules/typebox/build/schema/types/minProperties.mjs +0 -13
  1373. package/node_modules/typebox/build/schema/types/minimum.mjs +0 -13
  1374. package/node_modules/typebox/build/schema/types/multipleOf.mjs +0 -13
  1375. package/node_modules/typebox/build/schema/types/not.mjs +0 -14
  1376. package/node_modules/typebox/build/schema/types/oneOf.mjs +0 -15
  1377. package/node_modules/typebox/build/schema/types/pattern.mjs +0 -14
  1378. package/node_modules/typebox/build/schema/types/patternProperties.mjs +0 -15
  1379. package/node_modules/typebox/build/schema/types/prefixItems.mjs +0 -14
  1380. package/node_modules/typebox/build/schema/types/properties.mjs +0 -15
  1381. package/node_modules/typebox/build/schema/types/propertyNames.mjs +0 -15
  1382. package/node_modules/typebox/build/schema/types/recursiveAnchor.mjs +0 -19
  1383. package/node_modules/typebox/build/schema/types/recursiveRef.mjs +0 -12
  1384. package/node_modules/typebox/build/schema/types/ref.mjs +0 -13
  1385. package/node_modules/typebox/build/schema/types/required.mjs +0 -14
  1386. package/node_modules/typebox/build/schema/types/schema.mjs +0 -14
  1387. package/node_modules/typebox/build/schema/types/then.mjs +0 -14
  1388. package/node_modules/typebox/build/schema/types/type.mjs +0 -15
  1389. package/node_modules/typebox/build/schema/types/unevaluatedItems.mjs +0 -14
  1390. package/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs +0 -14
  1391. package/node_modules/typebox/build/schema/types/uniqueItems.mjs +0 -13
  1392. package/node_modules/typebox/build/system/arguments/arguments.mjs +0 -9
  1393. package/node_modules/typebox/build/system/arguments/index.mjs +0 -1
  1394. package/node_modules/typebox/build/system/environment/environment.mjs +0 -1
  1395. package/node_modules/typebox/build/system/environment/evaluate.mjs +0 -37
  1396. package/node_modules/typebox/build/system/environment/index.mjs +0 -1
  1397. package/node_modules/typebox/build/system/hashing/hash.mjs +0 -232
  1398. package/node_modules/typebox/build/system/hashing/index.mjs +0 -1
  1399. package/node_modules/typebox/build/system/index.mjs +0 -4
  1400. package/node_modules/typebox/build/system/locale/_config.mjs +0 -15
  1401. package/node_modules/typebox/build/system/locale/_locale.mjs +0 -40
  1402. package/node_modules/typebox/build/system/locale/ar_001.mjs +0 -40
  1403. package/node_modules/typebox/build/system/locale/bn_BD.mjs +0 -40
  1404. package/node_modules/typebox/build/system/locale/cs_CZ.mjs +0 -40
  1405. package/node_modules/typebox/build/system/locale/de_DE.mjs +0 -40
  1406. package/node_modules/typebox/build/system/locale/el_GR.mjs +0 -40
  1407. package/node_modules/typebox/build/system/locale/en_US.mjs +0 -39
  1408. package/node_modules/typebox/build/system/locale/es_419.mjs +0 -40
  1409. package/node_modules/typebox/build/system/locale/es_AR.mjs +0 -40
  1410. package/node_modules/typebox/build/system/locale/es_ES.mjs +0 -40
  1411. package/node_modules/typebox/build/system/locale/es_MX.mjs +0 -40
  1412. package/node_modules/typebox/build/system/locale/fa_IR.mjs +0 -40
  1413. package/node_modules/typebox/build/system/locale/fil_PH.mjs +0 -40
  1414. package/node_modules/typebox/build/system/locale/fr_CA.mjs +0 -40
  1415. package/node_modules/typebox/build/system/locale/fr_FR.mjs +0 -40
  1416. package/node_modules/typebox/build/system/locale/ha_NG.mjs +0 -40
  1417. package/node_modules/typebox/build/system/locale/hi_IN.mjs +0 -40
  1418. package/node_modules/typebox/build/system/locale/hu_HU.mjs +0 -40
  1419. package/node_modules/typebox/build/system/locale/id_ID.mjs +0 -40
  1420. package/node_modules/typebox/build/system/locale/index.mjs +0 -1
  1421. package/node_modules/typebox/build/system/locale/it_IT.mjs +0 -40
  1422. package/node_modules/typebox/build/system/locale/ja_JP.mjs +0 -40
  1423. package/node_modules/typebox/build/system/locale/ko_KR.mjs +0 -40
  1424. package/node_modules/typebox/build/system/locale/ms_MY.mjs +0 -40
  1425. package/node_modules/typebox/build/system/locale/nl_NL.mjs +0 -40
  1426. package/node_modules/typebox/build/system/locale/pl_PL.mjs +0 -40
  1427. package/node_modules/typebox/build/system/locale/pt_BR.mjs +0 -40
  1428. package/node_modules/typebox/build/system/locale/pt_PT.mjs +0 -40
  1429. package/node_modules/typebox/build/system/locale/ro_RO.mjs +0 -40
  1430. package/node_modules/typebox/build/system/locale/ru_RU.mjs +0 -40
  1431. package/node_modules/typebox/build/system/locale/sv_SE.mjs +0 -40
  1432. package/node_modules/typebox/build/system/locale/sw_TZ.mjs +0 -40
  1433. package/node_modules/typebox/build/system/locale/th_TH.mjs +0 -40
  1434. package/node_modules/typebox/build/system/locale/tr_TR.mjs +0 -40
  1435. package/node_modules/typebox/build/system/locale/uk_UA.mjs +0 -40
  1436. package/node_modules/typebox/build/system/locale/ur_PK.mjs +0 -40
  1437. package/node_modules/typebox/build/system/locale/vi_VN.mjs +0 -40
  1438. package/node_modules/typebox/build/system/locale/yo_NG.mjs +0 -40
  1439. package/node_modules/typebox/build/system/locale/zh_Hans.mjs +0 -40
  1440. package/node_modules/typebox/build/system/locale/zh_Hant.mjs +0 -40
  1441. package/node_modules/typebox/build/system/memory/assign.mjs +0 -12
  1442. package/node_modules/typebox/build/system/memory/clone.mjs +0 -113
  1443. package/node_modules/typebox/build/system/memory/create.mjs +0 -29
  1444. package/node_modules/typebox/build/system/memory/discard.mjs +0 -18
  1445. package/node_modules/typebox/build/system/memory/freeze.mjs +0 -6
  1446. package/node_modules/typebox/build/system/memory/index.mjs +0 -1
  1447. package/node_modules/typebox/build/system/memory/memory.mjs +0 -7
  1448. package/node_modules/typebox/build/system/memory/metrics.mjs +0 -8
  1449. package/node_modules/typebox/build/system/memory/update.mjs +0 -33
  1450. package/node_modules/typebox/build/system/settings/index.mjs +0 -1
  1451. package/node_modules/typebox/build/system/settings/settings.mjs +0 -36
  1452. package/node_modules/typebox/build/system/system.mjs +0 -6
  1453. package/node_modules/typebox/build/system/unreachable/index.mjs +0 -1
  1454. package/node_modules/typebox/build/system/unreachable/unreachable.mjs +0 -6
  1455. package/node_modules/typebox/build/type/action/_add_immutable.mjs +0 -11
  1456. package/node_modules/typebox/build/type/action/_add_optional.mjs +0 -11
  1457. package/node_modules/typebox/build/type/action/_add_readonly.mjs +0 -11
  1458. package/node_modules/typebox/build/type/action/_remove_immutable.mjs +0 -11
  1459. package/node_modules/typebox/build/type/action/_remove_optional.mjs +0 -11
  1460. package/node_modules/typebox/build/type/action/_remove_readonly.mjs +0 -11
  1461. package/node_modules/typebox/build/type/action/capitalize.mjs +0 -11
  1462. package/node_modules/typebox/build/type/action/conditional.mjs +0 -13
  1463. package/node_modules/typebox/build/type/action/constructor_parameters.mjs +0 -11
  1464. package/node_modules/typebox/build/type/action/evaluate.mjs +0 -11
  1465. package/node_modules/typebox/build/type/action/exclude.mjs +0 -11
  1466. package/node_modules/typebox/build/type/action/extract.mjs +0 -11
  1467. package/node_modules/typebox/build/type/action/index.mjs +0 -30
  1468. package/node_modules/typebox/build/type/action/indexed.mjs +0 -14
  1469. package/node_modules/typebox/build/type/action/instance_type.mjs +0 -11
  1470. package/node_modules/typebox/build/type/action/interface.mjs +0 -22
  1471. package/node_modules/typebox/build/type/action/keyof.mjs +0 -11
  1472. package/node_modules/typebox/build/type/action/lowercase.mjs +0 -11
  1473. package/node_modules/typebox/build/type/action/mapped.mjs +0 -13
  1474. package/node_modules/typebox/build/type/action/module.mjs +0 -13
  1475. package/node_modules/typebox/build/type/action/non_nullable.mjs +0 -11
  1476. package/node_modules/typebox/build/type/action/omit.mjs +0 -14
  1477. package/node_modules/typebox/build/type/action/parameters.mjs +0 -11
  1478. package/node_modules/typebox/build/type/action/partial.mjs +0 -11
  1479. package/node_modules/typebox/build/type/action/pick.mjs +0 -14
  1480. package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -19
  1481. package/node_modules/typebox/build/type/action/required.mjs +0 -11
  1482. package/node_modules/typebox/build/type/action/return_type.mjs +0 -11
  1483. package/node_modules/typebox/build/type/action/uncapitalize.mjs +0 -11
  1484. package/node_modules/typebox/build/type/action/uppercase.mjs +0 -11
  1485. package/node_modules/typebox/build/type/action/with.mjs +0 -11
  1486. package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +0 -66
  1487. package/node_modules/typebox/build/type/engine/call/instantiate.mjs +0 -79
  1488. package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +0 -33
  1489. package/node_modules/typebox/build/type/engine/call/resolve_target.mjs +0 -27
  1490. package/node_modules/typebox/build/type/engine/conditional/index.mjs +0 -1
  1491. package/node_modules/typebox/build/type/engine/conditional/instantiate.mjs +0 -23
  1492. package/node_modules/typebox/build/type/engine/constructor_parameters/index.mjs +0 -1
  1493. package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +0 -25
  1494. package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +0 -16
  1495. package/node_modules/typebox/build/type/engine/cyclic/check.mjs +0 -45
  1496. package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +0 -47
  1497. package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +0 -47
  1498. package/node_modules/typebox/build/type/engine/cyclic/index.mjs +0 -6
  1499. package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +0 -31
  1500. package/node_modules/typebox/build/type/engine/cyclic/target.mjs +0 -16
  1501. package/node_modules/typebox/build/type/engine/enum/index.mjs +0 -1
  1502. package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs +0 -9
  1503. package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +0 -37
  1504. package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +0 -18
  1505. package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +0 -60
  1506. package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +0 -33
  1507. package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +0 -56
  1508. package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +0 -10
  1509. package/node_modules/typebox/build/type/engine/evaluate/index.mjs +0 -8
  1510. package/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs +0 -12
  1511. package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +0 -31
  1512. package/node_modules/typebox/build/type/engine/exclude/index.mjs +0 -1
  1513. package/node_modules/typebox/build/type/engine/exclude/instantiate.mjs +0 -16
  1514. package/node_modules/typebox/build/type/engine/exclude/operation.mjs +0 -22
  1515. package/node_modules/typebox/build/type/engine/extract/index.mjs +0 -1
  1516. package/node_modules/typebox/build/type/engine/extract/instantiate.mjs +0 -16
  1517. package/node_modules/typebox/build/type/engine/extract/operation.mjs +0 -22
  1518. package/node_modules/typebox/build/type/engine/helpers/index.mjs +0 -3
  1519. package/node_modules/typebox/build/type/engine/helpers/keys.mjs +0 -8
  1520. package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs +0 -15
  1521. package/node_modules/typebox/build/type/engine/helpers/union.mjs +0 -3
  1522. package/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs +0 -14
  1523. package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.mjs +0 -14
  1524. package/node_modules/typebox/build/type/engine/index.mjs +0 -37
  1525. package/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs +0 -8
  1526. package/node_modules/typebox/build/type/engine/indexable/from_dependent.mjs +0 -8
  1527. package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +0 -8
  1528. package/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs +0 -8
  1529. package/node_modules/typebox/build/type/engine/indexable/from_literal.mjs +0 -5
  1530. package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +0 -8
  1531. package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +0 -25
  1532. package/node_modules/typebox/build/type/engine/indexable/from_union.mjs +0 -7
  1533. package/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs +0 -14
  1534. package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs +0 -12
  1535. package/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs +0 -18
  1536. package/node_modules/typebox/build/type/engine/indexed/from_array.mjs +0 -35
  1537. package/node_modules/typebox/build/type/engine/indexed/from_object.mjs +0 -40
  1538. package/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs +0 -35
  1539. package/node_modules/typebox/build/type/engine/indexed/from_type.mjs +0 -14
  1540. package/node_modules/typebox/build/type/engine/indexed/index.mjs +0 -1
  1541. package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +0 -28
  1542. package/node_modules/typebox/build/type/engine/instance_type/index.mjs +0 -1
  1543. package/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs +0 -21
  1544. package/node_modules/typebox/build/type/engine/instantiate.mjs +0 -158
  1545. package/node_modules/typebox/build/type/engine/interface/index.mjs +0 -1
  1546. package/node_modules/typebox/build/type/engine/interface/instantiate.mjs +0 -23
  1547. package/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs +0 -9
  1548. package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +0 -8
  1549. package/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs +0 -13
  1550. package/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs +0 -7
  1551. package/node_modules/typebox/build/type/engine/intrinsics/index.mjs +0 -1
  1552. package/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs +0 -52
  1553. package/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs +0 -4
  1554. package/node_modules/typebox/build/type/engine/keyof/from_any.mjs +0 -8
  1555. package/node_modules/typebox/build/type/engine/keyof/from_array.mjs +0 -5
  1556. package/node_modules/typebox/build/type/engine/keyof/from_object.mjs +0 -20
  1557. package/node_modules/typebox/build/type/engine/keyof/from_record.mjs +0 -5
  1558. package/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs +0 -7
  1559. package/node_modules/typebox/build/type/engine/keyof/from_type.mjs +0 -23
  1560. package/node_modules/typebox/build/type/engine/keyof/index.mjs +0 -1
  1561. package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +0 -29
  1562. package/node_modules/typebox/build/type/engine/mapped/index.mjs +0 -1
  1563. package/node_modules/typebox/build/type/engine/mapped/instantiate.mjs +0 -15
  1564. package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +0 -42
  1565. package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +0 -39
  1566. package/node_modules/typebox/build/type/engine/module/index.mjs +0 -1
  1567. package/node_modules/typebox/build/type/engine/module/instantiate.mjs +0 -36
  1568. package/node_modules/typebox/build/type/engine/non_nullable/index.mjs +0 -1
  1569. package/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs +0 -22
  1570. package/node_modules/typebox/build/type/engine/object/collapse.mjs +0 -14
  1571. package/node_modules/typebox/build/type/engine/object/from_cyclic.mjs +0 -8
  1572. package/node_modules/typebox/build/type/engine/object/from_dependent.mjs +0 -8
  1573. package/node_modules/typebox/build/type/engine/object/from_intersect.mjs +0 -22
  1574. package/node_modules/typebox/build/type/engine/object/from_object.mjs +0 -4
  1575. package/node_modules/typebox/build/type/engine/object/from_tuple.mjs +0 -9
  1576. package/node_modules/typebox/build/type/engine/object/from_type.mjs +0 -23
  1577. package/node_modules/typebox/build/type/engine/object/from_union.mjs +0 -19
  1578. package/node_modules/typebox/build/type/engine/object/index.mjs +0 -1
  1579. package/node_modules/typebox/build/type/engine/omit/from_type.mjs +0 -18
  1580. package/node_modules/typebox/build/type/engine/omit/index.mjs +0 -1
  1581. package/node_modules/typebox/build/type/engine/omit/instantiate.mjs +0 -16
  1582. package/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs +0 -14
  1583. package/node_modules/typebox/build/type/engine/optional/instantiate_remove.mjs +0 -14
  1584. package/node_modules/typebox/build/type/engine/parameters/index.mjs +0 -1
  1585. package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +0 -25
  1586. package/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs +0 -11
  1587. package/node_modules/typebox/build/type/engine/partial/from_dependent.mjs +0 -8
  1588. package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +0 -8
  1589. package/node_modules/typebox/build/type/engine/partial/from_object.mjs +0 -11
  1590. package/node_modules/typebox/build/type/engine/partial/from_type.mjs +0 -20
  1591. package/node_modules/typebox/build/type/engine/partial/from_union.mjs +0 -7
  1592. package/node_modules/typebox/build/type/engine/partial/index.mjs +0 -1
  1593. package/node_modules/typebox/build/type/engine/partial/instantiate.mjs +0 -15
  1594. package/node_modules/typebox/build/type/engine/patterns/index.mjs +0 -2
  1595. package/node_modules/typebox/build/type/engine/patterns/pattern.mjs +0 -11
  1596. package/node_modules/typebox/build/type/engine/patterns/template.mjs +0 -20
  1597. package/node_modules/typebox/build/type/engine/pick/from_type.mjs +0 -20
  1598. package/node_modules/typebox/build/type/engine/pick/index.mjs +0 -1
  1599. package/node_modules/typebox/build/type/engine/pick/instantiate.mjs +0 -16
  1600. package/node_modules/typebox/build/type/engine/priority/index.mjs +0 -1
  1601. package/node_modules/typebox/build/type/engine/priority/priority.mjs +0 -27
  1602. package/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs +0 -14
  1603. package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.mjs +0 -14
  1604. package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +0 -7
  1605. package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs +0 -11
  1606. package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.mjs +0 -8
  1607. package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +0 -8
  1608. package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +0 -11
  1609. package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +0 -7
  1610. package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +0 -25
  1611. package/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs +0 -7
  1612. package/node_modules/typebox/build/type/engine/readonly_object/index.mjs +0 -1
  1613. package/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs +0 -15
  1614. package/node_modules/typebox/build/type/engine/record/from_key.mjs +0 -40
  1615. package/node_modules/typebox/build/type/engine/record/from_key_any.mjs +0 -6
  1616. package/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs +0 -5
  1617. package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +0 -8
  1618. package/node_modules/typebox/build/type/engine/record/from_key_integer.mjs +0 -7
  1619. package/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs +0 -8
  1620. package/node_modules/typebox/build/type/engine/record/from_key_literal.mjs +0 -10
  1621. package/node_modules/typebox/build/type/engine/record/from_key_number.mjs +0 -7
  1622. package/node_modules/typebox/build/type/engine/record/from_key_string.mjs +0 -12
  1623. package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +0 -12
  1624. package/node_modules/typebox/build/type/engine/record/from_key_union.mjs +0 -39
  1625. package/node_modules/typebox/build/type/engine/record/index.mjs +0 -1
  1626. package/node_modules/typebox/build/type/engine/record/instantiate.mjs +0 -17
  1627. package/node_modules/typebox/build/type/engine/record/record_create.mjs +0 -7
  1628. package/node_modules/typebox/build/type/engine/ref/index.mjs +0 -1
  1629. package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +0 -10
  1630. package/node_modules/typebox/build/type/engine/required/from_cyclic.mjs +0 -11
  1631. package/node_modules/typebox/build/type/engine/required/from_dependent.mjs +0 -8
  1632. package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +0 -8
  1633. package/node_modules/typebox/build/type/engine/required/from_object.mjs +0 -11
  1634. package/node_modules/typebox/build/type/engine/required/from_type.mjs +0 -20
  1635. package/node_modules/typebox/build/type/engine/required/from_union.mjs +0 -7
  1636. package/node_modules/typebox/build/type/engine/required/index.mjs +0 -1
  1637. package/node_modules/typebox/build/type/engine/required/instantiate.mjs +0 -15
  1638. package/node_modules/typebox/build/type/engine/rest/index.mjs +0 -1
  1639. package/node_modules/typebox/build/type/engine/rest/spread.mjs +0 -19
  1640. package/node_modules/typebox/build/type/engine/return_type/index.mjs +0 -1
  1641. package/node_modules/typebox/build/type/engine/return_type/instantiate.mjs +0 -21
  1642. package/node_modules/typebox/build/type/engine/template_literal/create.mjs +0 -5
  1643. package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +0 -81
  1644. package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +0 -81
  1645. package/node_modules/typebox/build/type/engine/template_literal/index.mjs +0 -6
  1646. package/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs +0 -15
  1647. package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +0 -26
  1648. package/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +0 -10
  1649. package/node_modules/typebox/build/type/engine/template_literal/static.mjs +0 -2
  1650. package/node_modules/typebox/build/type/engine/this/expand_this.mjs +0 -26
  1651. package/node_modules/typebox/build/type/engine/tuple/to_object.mjs +0 -14
  1652. package/node_modules/typebox/build/type/engine/with/index.mjs +0 -1
  1653. package/node_modules/typebox/build/type/engine/with/instantiate.mjs +0 -14
  1654. package/node_modules/typebox/build/type/extends/any.mjs +0 -12
  1655. package/node_modules/typebox/build/type/extends/array.mjs +0 -21
  1656. package/node_modules/typebox/build/type/extends/bigint.mjs +0 -9
  1657. package/node_modules/typebox/build/type/extends/boolean.mjs +0 -9
  1658. package/node_modules/typebox/build/type/extends/constructor.mjs +0 -17
  1659. package/node_modules/typebox/build/type/extends/dependent.mjs +0 -6
  1660. package/node_modules/typebox/build/type/extends/enum.mjs +0 -7
  1661. package/node_modules/typebox/build/type/extends/extends.mjs +0 -17
  1662. package/node_modules/typebox/build/type/extends/extends_left.mjs +0 -80
  1663. package/node_modules/typebox/build/type/extends/extends_right.mjs +0 -49
  1664. package/node_modules/typebox/build/type/extends/function.mjs +0 -17
  1665. package/node_modules/typebox/build/type/extends/index.mjs +0 -2
  1666. package/node_modules/typebox/build/type/extends/inference.mjs +0 -62
  1667. package/node_modules/typebox/build/type/extends/integer.mjs +0 -10
  1668. package/node_modules/typebox/build/type/extends/intersect.mjs +0 -15
  1669. package/node_modules/typebox/build/type/extends/literal.mjs +0 -44
  1670. package/node_modules/typebox/build/type/extends/never.mjs +0 -9
  1671. package/node_modules/typebox/build/type/extends/null.mjs +0 -9
  1672. package/node_modules/typebox/build/type/extends/number.mjs +0 -9
  1673. package/node_modules/typebox/build/type/extends/object.mjs +0 -109
  1674. package/node_modules/typebox/build/type/extends/parameters.mjs +0 -28
  1675. package/node_modules/typebox/build/type/extends/record.mjs +0 -23
  1676. package/node_modules/typebox/build/type/extends/result.mjs +0 -36
  1677. package/node_modules/typebox/build/type/extends/return_type.mjs +0 -9
  1678. package/node_modules/typebox/build/type/extends/string.mjs +0 -9
  1679. package/node_modules/typebox/build/type/extends/symbol.mjs +0 -9
  1680. package/node_modules/typebox/build/type/extends/template_literal.mjs +0 -7
  1681. package/node_modules/typebox/build/type/extends/tuple.mjs +0 -61
  1682. package/node_modules/typebox/build/type/extends/undefined.mjs +0 -10
  1683. package/node_modules/typebox/build/type/extends/union.mjs +0 -24
  1684. package/node_modules/typebox/build/type/extends/unknown.mjs +0 -12
  1685. package/node_modules/typebox/build/type/extends/void.mjs +0 -9
  1686. package/node_modules/typebox/build/type/index.mjs +0 -5
  1687. package/node_modules/typebox/build/type/script/index.mjs +0 -1
  1688. package/node_modules/typebox/build/type/script/mapping.mjs +0 -528
  1689. package/node_modules/typebox/build/type/script/parser.mjs +0 -140
  1690. package/node_modules/typebox/build/type/script/script.mjs +0 -22
  1691. package/node_modules/typebox/build/type/script/token/bigint.mjs +0 -14
  1692. package/node_modules/typebox/build/type/script/token/const.mjs +0 -18
  1693. package/node_modules/typebox/build/type/script/token/ident.mjs +0 -26
  1694. package/node_modules/typebox/build/type/script/token/index.mjs +0 -12
  1695. package/node_modules/typebox/build/type/script/token/integer.mjs +0 -19
  1696. package/node_modules/typebox/build/type/script/token/internal/char.mjs +0 -26
  1697. package/node_modules/typebox/build/type/script/token/internal/guard.mjs +0 -15
  1698. package/node_modules/typebox/build/type/script/token/internal/many.mjs +0 -14
  1699. package/node_modules/typebox/build/type/script/token/internal/match.mjs +0 -11
  1700. package/node_modules/typebox/build/type/script/token/internal/optional.mjs +0 -9
  1701. package/node_modules/typebox/build/type/script/token/internal/take.mjs +0 -30
  1702. package/node_modules/typebox/build/type/script/token/internal/trim.mjs +0 -34
  1703. package/node_modules/typebox/build/type/script/token/number.mjs +0 -19
  1704. package/node_modules/typebox/build/type/script/token/rest.mjs +0 -9
  1705. package/node_modules/typebox/build/type/script/token/span.mjs +0 -24
  1706. package/node_modules/typebox/build/type/script/token/string.mjs +0 -20
  1707. package/node_modules/typebox/build/type/script/token/unsigned_integer.mjs +0 -26
  1708. package/node_modules/typebox/build/type/script/token/unsigned_number.mjs +0 -38
  1709. package/node_modules/typebox/build/type/script/token/until.mjs +0 -21
  1710. package/node_modules/typebox/build/type/script/token/until_1.mjs +0 -12
  1711. package/node_modules/typebox/build/type/types/_codec.mjs +0 -60
  1712. package/node_modules/typebox/build/type/types/_immutable.mjs +0 -18
  1713. package/node_modules/typebox/build/type/types/_optional.mjs +0 -18
  1714. package/node_modules/typebox/build/type/types/_readonly.mjs +0 -18
  1715. package/node_modules/typebox/build/type/types/_refine.mjs +0 -36
  1716. package/node_modules/typebox/build/type/types/any.mjs +0 -18
  1717. package/node_modules/typebox/build/type/types/array.mjs +0 -25
  1718. package/node_modules/typebox/build/type/types/bigint.mjs +0 -21
  1719. package/node_modules/typebox/build/type/types/boolean.mjs +0 -17
  1720. package/node_modules/typebox/build/type/types/call.mjs +0 -23
  1721. package/node_modules/typebox/build/type/types/constructor.mjs +0 -24
  1722. package/node_modules/typebox/build/type/types/cyclic.mjs +0 -29
  1723. package/node_modules/typebox/build/type/types/deferred.mjs +0 -16
  1724. package/node_modules/typebox/build/type/types/dependent.mjs +0 -24
  1725. package/node_modules/typebox/build/type/types/enum.mjs +0 -22
  1726. package/node_modules/typebox/build/type/types/function.mjs +0 -25
  1727. package/node_modules/typebox/build/type/types/generic.mjs +0 -17
  1728. package/node_modules/typebox/build/type/types/identifier.mjs +0 -17
  1729. package/node_modules/typebox/build/type/types/index.mjs +0 -51
  1730. package/node_modules/typebox/build/type/types/infer.mjs +0 -20
  1731. package/node_modules/typebox/build/type/types/integer.mjs +0 -21
  1732. package/node_modules/typebox/build/type/types/intersect.mjs +0 -24
  1733. package/node_modules/typebox/build/type/types/literal.mjs +0 -62
  1734. package/node_modules/typebox/build/type/types/never.mjs +0 -22
  1735. package/node_modules/typebox/build/type/types/null.mjs +0 -17
  1736. package/node_modules/typebox/build/type/types/number.mjs +0 -21
  1737. package/node_modules/typebox/build/type/types/object.mjs +0 -28
  1738. package/node_modules/typebox/build/type/types/parameter.mjs +0 -21
  1739. package/node_modules/typebox/build/type/types/properties.mjs +0 -15
  1740. package/node_modules/typebox/build/type/types/record.mjs +0 -66
  1741. package/node_modules/typebox/build/type/types/ref.mjs +0 -18
  1742. package/node_modules/typebox/build/type/types/rest.mjs +0 -17
  1743. package/node_modules/typebox/build/type/types/schema.mjs +0 -15
  1744. package/node_modules/typebox/build/type/types/static.mjs +0 -3
  1745. package/node_modules/typebox/build/type/types/string.mjs +0 -22
  1746. package/node_modules/typebox/build/type/types/symbol.mjs +0 -17
  1747. package/node_modules/typebox/build/type/types/template_literal.mjs +0 -37
  1748. package/node_modules/typebox/build/type/types/this.mjs +0 -17
  1749. package/node_modules/typebox/build/type/types/tuple.mjs +0 -25
  1750. package/node_modules/typebox/build/type/types/undefined.mjs +0 -17
  1751. package/node_modules/typebox/build/type/types/union.mjs +0 -24
  1752. package/node_modules/typebox/build/type/types/unknown.mjs +0 -17
  1753. package/node_modules/typebox/build/type/types/unsafe.mjs +0 -20
  1754. package/node_modules/typebox/build/type/types/void.mjs +0 -17
  1755. package/node_modules/typebox/build/typebox.mjs +0 -85
  1756. package/node_modules/typebox/build/value/assert/assert.mjs +0 -28
  1757. package/node_modules/typebox/build/value/assert/index.mjs +0 -1
  1758. package/node_modules/typebox/build/value/check/check.mjs +0 -11
  1759. package/node_modules/typebox/build/value/check/index.mjs +0 -1
  1760. package/node_modules/typebox/build/value/clean/additional.mjs +0 -6
  1761. package/node_modules/typebox/build/value/clean/clean.mjs +0 -17
  1762. package/node_modules/typebox/build/value/clean/from_array.mjs +0 -8
  1763. package/node_modules/typebox/build/value/clean/from_cyclic.mjs +0 -6
  1764. package/node_modules/typebox/build/value/clean/from_intersect.mjs +0 -26
  1765. package/node_modules/typebox/build/value/clean/from_object.mjs +0 -31
  1766. package/node_modules/typebox/build/value/clean/from_record.mjs +0 -32
  1767. package/node_modules/typebox/build/value/clean/from_ref.mjs +0 -8
  1768. package/node_modules/typebox/build/value/clean/from_tuple.mjs +0 -14
  1769. package/node_modules/typebox/build/value/clean/from_type.mjs +0 -21
  1770. package/node_modules/typebox/build/value/clean/from_union.mjs +0 -12
  1771. package/node_modules/typebox/build/value/clean/index.mjs +0 -1
  1772. package/node_modules/typebox/build/value/clone/clone.mjs +0 -12
  1773. package/node_modules/typebox/build/value/clone/index.mjs +0 -1
  1774. package/node_modules/typebox/build/value/codec/callback.mjs +0 -25
  1775. package/node_modules/typebox/build/value/codec/decode.mjs +0 -52
  1776. package/node_modules/typebox/build/value/codec/encode.mjs +0 -52
  1777. package/node_modules/typebox/build/value/codec/from_array.mjs +0 -35
  1778. package/node_modules/typebox/build/value/codec/from_cyclic.mjs +0 -8
  1779. package/node_modules/typebox/build/value/codec/from_intersect.mjs +0 -58
  1780. package/node_modules/typebox/build/value/codec/from_object.mjs +0 -42
  1781. package/node_modules/typebox/build/value/codec/from_record.mjs +0 -39
  1782. package/node_modules/typebox/build/value/codec/from_ref.mjs +0 -31
  1783. package/node_modules/typebox/build/value/codec/from_tuple.mjs +0 -32
  1784. package/node_modules/typebox/build/value/codec/from_type.mjs +0 -22
  1785. package/node_modules/typebox/build/value/codec/from_union.mjs +0 -39
  1786. package/node_modules/typebox/build/value/codec/has.mjs +0 -93
  1787. package/node_modules/typebox/build/value/codec/index.mjs +0 -3
  1788. package/node_modules/typebox/build/value/convert/convert.mjs +0 -15
  1789. package/node_modules/typebox/build/value/convert/from_additional.mjs +0 -18
  1790. package/node_modules/typebox/build/value/convert/from_array.mjs +0 -7
  1791. package/node_modules/typebox/build/value/convert/from_bigint.mjs +0 -6
  1792. package/node_modules/typebox/build/value/convert/from_boolean.mjs +0 -6
  1793. package/node_modules/typebox/build/value/convert/from_cyclic.mjs +0 -6
  1794. package/node_modules/typebox/build/value/convert/from_enum.mjs +0 -6
  1795. package/node_modules/typebox/build/value/convert/from_integer.mjs +0 -6
  1796. package/node_modules/typebox/build/value/convert/from_intersect.mjs +0 -8
  1797. package/node_modules/typebox/build/value/convert/from_literal.mjs +0 -44
  1798. package/node_modules/typebox/build/value/convert/from_null.mjs +0 -6
  1799. package/node_modules/typebox/build/value/convert/from_number.mjs +0 -6
  1800. package/node_modules/typebox/build/value/convert/from_object.mjs +0 -28
  1801. package/node_modules/typebox/build/value/convert/from_record.mjs +0 -23
  1802. package/node_modules/typebox/build/value/convert/from_ref.mjs +0 -8
  1803. package/node_modules/typebox/build/value/convert/from_string.mjs +0 -6
  1804. package/node_modules/typebox/build/value/convert/from_template_literal.mjs +0 -6
  1805. package/node_modules/typebox/build/value/convert/from_tuple.mjs +0 -11
  1806. package/node_modules/typebox/build/value/convert/from_type.mjs +0 -43
  1807. package/node_modules/typebox/build/value/convert/from_undefined.mjs +0 -6
  1808. package/node_modules/typebox/build/value/convert/from_union.mjs +0 -13
  1809. package/node_modules/typebox/build/value/convert/from_void.mjs +0 -6
  1810. package/node_modules/typebox/build/value/convert/index.mjs +0 -1
  1811. package/node_modules/typebox/build/value/convert/try/index.mjs +0 -1
  1812. package/node_modules/typebox/build/value/convert/try/try.mjs +0 -8
  1813. package/node_modules/typebox/build/value/convert/try/try_array.mjs +0 -6
  1814. package/node_modules/typebox/build/value/convert/try/try_bigint.mjs +0 -45
  1815. package/node_modules/typebox/build/value/convert/try/try_boolean.mjs +0 -41
  1816. package/node_modules/typebox/build/value/convert/try/try_null.mjs +0 -44
  1817. package/node_modules/typebox/build/value/convert/try/try_number.mjs +0 -44
  1818. package/node_modules/typebox/build/value/convert/try/try_result.mjs +0 -17
  1819. package/node_modules/typebox/build/value/convert/try/try_string.mjs +0 -12
  1820. package/node_modules/typebox/build/value/convert/try/try_undefined.mjs +0 -44
  1821. package/node_modules/typebox/build/value/create/create.mjs +0 -11
  1822. package/node_modules/typebox/build/value/create/error.mjs +0 -7
  1823. package/node_modules/typebox/build/value/create/from_array.mjs +0 -10
  1824. package/node_modules/typebox/build/value/create/from_bigint.mjs +0 -7
  1825. package/node_modules/typebox/build/value/create/from_boolean.mjs +0 -4
  1826. package/node_modules/typebox/build/value/create/from_constructor.mjs +0 -10
  1827. package/node_modules/typebox/build/value/create/from_cyclic.mjs +0 -6
  1828. package/node_modules/typebox/build/value/create/from_default.mjs +0 -10
  1829. package/node_modules/typebox/build/value/create/from_enum.mjs +0 -6
  1830. package/node_modules/typebox/build/value/create/from_function.mjs +0 -6
  1831. package/node_modules/typebox/build/value/create/from_integer.mjs +0 -8
  1832. package/node_modules/typebox/build/value/create/from_intersect.mjs +0 -8
  1833. package/node_modules/typebox/build/value/create/from_literal.mjs +0 -4
  1834. package/node_modules/typebox/build/value/create/from_never.mjs +0 -5
  1835. package/node_modules/typebox/build/value/create/from_null.mjs +0 -4
  1836. package/node_modules/typebox/build/value/create/from_number.mjs +0 -8
  1837. package/node_modules/typebox/build/value/create/from_object.mjs +0 -9
  1838. package/node_modules/typebox/build/value/create/from_record.mjs +0 -8
  1839. package/node_modules/typebox/build/value/create/from_ref.mjs +0 -9
  1840. package/node_modules/typebox/build/value/create/from_string.mjs +0 -9
  1841. package/node_modules/typebox/build/value/create/from_symbol.mjs +0 -4
  1842. package/node_modules/typebox/build/value/create/from_template_literal.mjs +0 -11
  1843. package/node_modules/typebox/build/value/create/from_tuple.mjs +0 -5
  1844. package/node_modules/typebox/build/value/create/from_type.mjs +0 -61
  1845. package/node_modules/typebox/build/value/create/from_undefined.mjs +0 -4
  1846. package/node_modules/typebox/build/value/create/from_union.mjs +0 -9
  1847. package/node_modules/typebox/build/value/create/from_void.mjs +0 -4
  1848. package/node_modules/typebox/build/value/create/index.mjs +0 -2
  1849. package/node_modules/typebox/build/value/default/default.mjs +0 -15
  1850. package/node_modules/typebox/build/value/default/from_array.mjs +0 -12
  1851. package/node_modules/typebox/build/value/default/from_cyclic.mjs +0 -7
  1852. package/node_modules/typebox/build/value/default/from_default.mjs +0 -13
  1853. package/node_modules/typebox/build/value/default/from_intersect.mjs +0 -9
  1854. package/node_modules/typebox/build/value/default/from_object.mjs +0 -32
  1855. package/node_modules/typebox/build/value/default/from_record.mjs +0 -26
  1856. package/node_modules/typebox/build/value/default/from_ref.mjs +0 -9
  1857. package/node_modules/typebox/build/value/default/from_tuple.mjs +0 -14
  1858. package/node_modules/typebox/build/value/default/from_type.mjs +0 -25
  1859. package/node_modules/typebox/build/value/default/from_union.mjs +0 -14
  1860. package/node_modules/typebox/build/value/default/index.mjs +0 -1
  1861. package/node_modules/typebox/build/value/delta/diff.mjs +0 -135
  1862. package/node_modules/typebox/build/value/delta/edit.mjs +0 -17
  1863. package/node_modules/typebox/build/value/delta/index.mjs +0 -3
  1864. package/node_modules/typebox/build/value/delta/patch.mjs +0 -42
  1865. package/node_modules/typebox/build/value/equal/equal.mjs +0 -6
  1866. package/node_modules/typebox/build/value/equal/index.mjs +0 -1
  1867. package/node_modules/typebox/build/value/errors/errors.mjs +0 -12
  1868. package/node_modules/typebox/build/value/errors/index.mjs +0 -1
  1869. package/node_modules/typebox/build/value/hash/hash.mjs +0 -10
  1870. package/node_modules/typebox/build/value/hash/index.mjs +0 -1
  1871. package/node_modules/typebox/build/value/index.mjs +0 -29
  1872. package/node_modules/typebox/build/value/parse/index.mjs +0 -1
  1873. package/node_modules/typebox/build/value/parse/parse.mjs +0 -47
  1874. package/node_modules/typebox/build/value/pipeline/index.mjs +0 -1
  1875. package/node_modules/typebox/build/value/pipeline/pipeline.mjs +0 -15
  1876. package/node_modules/typebox/build/value/pointer/index.mjs +0 -1
  1877. package/node_modules/typebox/build/value/repair/error.mjs +0 -8
  1878. package/node_modules/typebox/build/value/repair/from_array.mjs +0 -39
  1879. package/node_modules/typebox/build/value/repair/from_enum.mjs +0 -6
  1880. package/node_modules/typebox/build/value/repair/from_intersect.mjs +0 -8
  1881. package/node_modules/typebox/build/value/repair/from_object.mjs +0 -33
  1882. package/node_modules/typebox/build/value/repair/from_record.mjs +0 -33
  1883. package/node_modules/typebox/build/value/repair/from_ref.mjs +0 -9
  1884. package/node_modules/typebox/build/value/repair/from_template_literal.mjs +0 -7
  1885. package/node_modules/typebox/build/value/repair/from_tuple.mjs +0 -12
  1886. package/node_modules/typebox/build/value/repair/from_type.mjs +0 -88
  1887. package/node_modules/typebox/build/value/repair/from_union.mjs +0 -24
  1888. package/node_modules/typebox/build/value/repair/from_unknown.mjs +0 -12
  1889. package/node_modules/typebox/build/value/repair/index.mjs +0 -1
  1890. package/node_modules/typebox/build/value/repair/repair.mjs +0 -20
  1891. package/node_modules/typebox/build/value/shared/index.mjs +0 -4
  1892. package/node_modules/typebox/build/value/shared/optional_undefined.mjs +0 -15
  1893. package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +0 -72
  1894. package/node_modules/typebox/build/value/shared/union_score_select.mjs +0 -51
  1895. package/node_modules/typebox/build/value/value.mjs +0 -15
  1896. package/node_modules/typebox/package.json +0 -87
  1897. package/node_modules/typebox/readme.md +0 -371
  1898. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/lib/types/task-graph.js +0 -0
  1899. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/lib/types/types.js +0 -0
  1900. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/lib/types/validation.js +0 -0
  1901. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/locale/de.json +0 -0
  1902. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/locale/es.json +0 -0
  1903. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/locale/fr.json +0 -0
  1904. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/locale/pt.json +0 -0
  1905. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team → dsh-agent-team}/locale/ru.json +0 -0
  1906. /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/lib/index.js +0 -0
  1907. /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/locale/de.json +0 -0
  1908. /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/locale/es.json +0 -0
  1909. /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/locale/fr.json +0 -0
  1910. /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/locale/pt.json +0 -0
  1911. /package/node_modules/@deepseek-ai/{dsh-experimental-client-ui-agent-team → dsh-client-ui-agent-team}/locale/ru.json +0 -0
  1912. /package/node_modules/{typebox/build/schema/static/index.mjs → @deepseek-ai/dsh-cua/lib/remote-types.js} +0 -0
  1913. /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team-profile → dsh-cua-bundle}/lib/index.js +0 -0
  1914. /package/node_modules/@deepseek-ai/{dsh-experimental-tool-agent-team → dsh-tool-agent-team}/locale/de.json +0 -0
  1915. /package/node_modules/@deepseek-ai/{dsh-experimental-tool-agent-team → dsh-tool-agent-team}/locale/es.json +0 -0
  1916. /package/node_modules/@deepseek-ai/{dsh-experimental-tool-agent-team → dsh-tool-agent-team}/locale/fr.json +0 -0
  1917. /package/node_modules/@deepseek-ai/{dsh-experimental-tool-agent-team → dsh-tool-agent-team}/locale/pt.json +0 -0
  1918. /package/node_modules/@deepseek-ai/{dsh-experimental-tool-agent-team → dsh-tool-agent-team}/locale/ru.json +0 -0
  1919. /package/node_modules/{typebox/license → @earendil-works/pi-schema/LICENSES/typebox-LICENSE} +0 -0
@@ -0,0 +1,824 @@
1
+ import { Service } from "@deepseek-ai/cordis";
2
+ import z from "@deepseek-ai/schemastery";
3
+ import { Remote, TypertRemoteService } from "@deepseek-ai/dsh-typert-protocol";
4
+ import { HarnessError } from "@deepseek-ai/dsh-llm";
5
+ import { z as z$1 } from "zod";
6
+ import { brandString } from "@deepseek-ai/dsh-brand";
7
+ //#region lib/types/error.js
8
+ /** Typed Agent Teams failures. */
9
+ /** Stable failure raised by the Team domain. */
10
+ var TeamError = class extends HarnessError {
11
+ constructor(message, code, options) {
12
+ super(message, code, options);
13
+ this.name = "TeamError";
14
+ }
15
+ };
16
+ //#endregion
17
+ //#region lib/types/types.js
18
+ /** Public Agent Teams identities, durable records, and service request values. */
19
+ /**
20
+ * Brand one root Session identity as its implicit Team identity.
21
+ * @param id - Root Session identity.
22
+ * @returns the same string branded as a Team identity.
23
+ */
24
+ function TeamId(id) {
25
+ return id;
26
+ }
27
+ /**
28
+ * Brand a validated task id.
29
+ * @param id - Team-local task identity.
30
+ * @returns the same string branded as a Team task identity.
31
+ */
32
+ function TeamTaskId(id) {
33
+ return id;
34
+ }
35
+ /**
36
+ * Brand a generated peer-message id.
37
+ * @param id - Durable mailbox message identity.
38
+ * @returns the same string branded as a Team message identity.
39
+ */
40
+ function TeamMessageId(id) {
41
+ return id;
42
+ }
43
+ //#endregion
44
+ //#region lib/types/journal.js
45
+ /** Serialized Team transactions over the exact live Lead Session log. */
46
+ /** Owns per-Lead transaction order and committed Team event publication. */
47
+ var TeamJournal = class {
48
+ ctx;
49
+ teamProjectionHandle;
50
+ tails = /* @__PURE__ */ new Map();
51
+ /**
52
+ * @param ctx - Team service context with the injected Session service.
53
+ * @param teamProjectionHandle - Team state registration owned by the Team service.
54
+ */
55
+ constructor(ctx, teamProjectionHandle) {
56
+ this.ctx = ctx;
57
+ this.teamProjectionHandle = teamProjectionHandle;
58
+ }
59
+ /**
60
+ * Read authoritative Team state for one exact live Lead.
61
+ * @param root - exact live Team Lead.
62
+ * @returns current projected state selected by the Lead Team id.
63
+ * @throws when the durable Team projection has failed.
64
+ */
65
+ state(root) {
66
+ const projection = this.teamProjectionHandle.stateOf(root.session);
67
+ if (projection.failure !== void 0) throw new Error(projection.failure);
68
+ return projection;
69
+ }
70
+ /**
71
+ * Serialize one Lead's asynchronous mutation operation.
72
+ * @param rootId - Lead Session identity selecting the transaction queue.
73
+ * @param operation - complete read-check-append operation.
74
+ * @returns the operation result.
75
+ */
76
+ async transact(rootId, operation) {
77
+ const run = (this.tails.get(rootId) ?? Promise.resolve()).then(operation, operation);
78
+ const tail = run.then(() => void 0, () => void 0);
79
+ this.tails.set(rootId, tail);
80
+ try {
81
+ return await run;
82
+ } finally {
83
+ if (this.tails.get(rootId) === tail) this.tails.delete(rootId);
84
+ }
85
+ }
86
+ /**
87
+ * Append and flush one task revision.
88
+ * @param root - live tree root whose Session stores the task.
89
+ * @param task - complete committed task revision.
90
+ * @throws TEAM_TASK_PERSISTENCE_UNCONFIRMED after append when flush fails or has no listener; read the task before retrying.
91
+ */
92
+ async appendAndFlush(root, task) {
93
+ root.session.append("team/task", {
94
+ version: 2,
95
+ teamId: TeamId(root.id),
96
+ task
97
+ });
98
+ try {
99
+ if (!await this.ctx.sessions.flush(root.session)) throw new Error("No session durability listener participated");
100
+ } catch (error) {
101
+ throw new TeamError(`task "${task.id}" revision ${task.revision} is visible, but persistence was not confirmed; read the task before retrying`, "TEAM_TASK_PERSISTENCE_UNCONFIRMED", { cause: error });
102
+ }
103
+ }
104
+ };
105
+ //#endregion
106
+ //#region lib/types/task-graph.js
107
+ /** Complete dependency validation for current Team task snapshots. */
108
+ /** Package-private task dependency failure retained for command error mapping. */
109
+ var TeamTaskGraphError = class extends Error {
110
+ violation;
111
+ /**
112
+ * @param message - concrete invalid dependency relation.
113
+ * @param violation - stable relation category used by Team commands.
114
+ */
115
+ constructor(message, violation) {
116
+ super(message);
117
+ this.violation = violation;
118
+ this.name = "TeamTaskGraphError";
119
+ }
120
+ };
121
+ /**
122
+ * Validate the complete active task graph after replacing one candidate snapshot.
123
+ * @param current - current task snapshots before the candidate event.
124
+ * @param candidate - new or next-revision task snapshot.
125
+ * @throws {TeamTaskGraphError} when an active dependency is missing, duplicated, self-referential, or cyclic.
126
+ */
127
+ function assertTaskGraphCandidate(current, candidate) {
128
+ const tasks = new Map(current.map((task) => [task.id, task]));
129
+ tasks.set(candidate.id, candidate);
130
+ for (const task of tasks.values()) {
131
+ if (task.status === "deleted") continue;
132
+ const seen = /* @__PURE__ */ new Set();
133
+ for (const blockerId of task.blockedBy) {
134
+ if (blockerId === task.id) throw new TeamTaskGraphError(`team task "${task.id}" cannot block itself`, "cycle");
135
+ if (seen.has(blockerId)) throw new TeamTaskGraphError(`team task "${task.id}" repeats blocker "${blockerId}"`, "duplicate");
136
+ const blocker = tasks.get(blockerId);
137
+ if (blocker === void 0 || blocker.status === "deleted") throw new TeamTaskGraphError(`blocker task "${blockerId}" for "${task.id}" is missing or deleted`, "missing");
138
+ seen.add(blockerId);
139
+ }
140
+ }
141
+ const visiting = /* @__PURE__ */ new Set();
142
+ const visited = /* @__PURE__ */ new Set();
143
+ const visit = (id) => {
144
+ if (visiting.has(id)) throw new TeamTaskGraphError(`task dependency cycle includes "${id}"`, "cycle");
145
+ if (visited.has(id)) return;
146
+ const task = tasks.get(id);
147
+ if (task === void 0 || task.status === "deleted") return;
148
+ visiting.add(id);
149
+ for (const blockerId of task.blockedBy) visit(blockerId);
150
+ visiting.delete(id);
151
+ visited.add(id);
152
+ };
153
+ for (const task of tasks.values()) visit(task.id);
154
+ }
155
+ //#endregion
156
+ //#region lib/types/task-view.js
157
+ /** Pure task-view derivation shared by the task board and the client projection. */
158
+ /**
159
+ * Whether two normalized file or directory prefixes overlap on path components.
160
+ * @param left - normalized write scope.
161
+ * @param right - normalized write scope.
162
+ * @returns whether either scope contains the other.
163
+ */
164
+ function scopesOverlap(left, right) {
165
+ return left === right || left.startsWith(`${right}/`) || right.startsWith(`${left}/`);
166
+ }
167
+ /**
168
+ * Whether every current blocker of one task completed.
169
+ * @param state - Team state supplying sibling tasks.
170
+ * @param task - durable task snapshot to test.
171
+ * @returns whether the task has no incomplete blockers.
172
+ */
173
+ function taskReady(state, task) {
174
+ return task.blockedBy.every((id) => state.tasks.find((candidate) => candidate.id === id)?.status === "completed");
175
+ }
176
+ /**
177
+ * Derive one task view with owner id, readiness, and advisory write overlaps.
178
+ * A committing caller may pass its pre-append state because `task` supplies the
179
+ * new value explicitly; blocker readiness, and other task scopes
180
+ * do not change when that snapshot is appended.
181
+ * @param state - Team state supplying sibling tasks for readiness and overlap checks.
182
+ * @param task - durable task snapshot to view.
183
+ * @returns a detached task view.
184
+ */
185
+ function projectTaskView(state, task) {
186
+ const warnings = /* @__PURE__ */ new Set();
187
+ for (const other of state.tasks) {
188
+ if (other.id === task.id || other.status !== "in_progress") continue;
189
+ if (task.writeScopes.some((left) => other.writeScopes.some((right) => scopesOverlap(left, right)))) warnings.add(`write scopes overlap with ${other.id}`);
190
+ }
191
+ return {
192
+ id: task.id,
193
+ revision: task.revision,
194
+ subject: task.subject,
195
+ description: task.description,
196
+ status: task.status,
197
+ blockedBy: [...task.blockedBy],
198
+ writeScopes: [...task.writeScopes],
199
+ ...task.ownerId === void 0 ? {} : { ownerId: task.ownerId },
200
+ ready: task.status === "pending" && taskReady(state, task),
201
+ writeScopeWarnings: [...warnings]
202
+ };
203
+ }
204
+ //#endregion
205
+ //#region lib/types/projection.js
206
+ /** Team state projected incrementally from committed Session events, with a durable-only client view. */
207
+ const nonNegativeSafeInteger = z$1.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER);
208
+ const positiveSafeInteger = nonNegativeSafeInteger.min(1);
209
+ const sessionIdSchema = z$1.string().min(1).transform((value) => brandString(value));
210
+ const teamIdSchema = z$1.string().min(1).transform((value) => TeamId(value));
211
+ const numericTaskIdPattern = /^task-(\d+)$/u;
212
+ const teamTaskIdSchema = z$1.string().min(1).refine((value) => {
213
+ const match = numericTaskIdPattern.exec(value);
214
+ return match === null || Number.isSafeInteger(Number(match[1]));
215
+ }, { message: "numeric task id suffix must be a safe integer" }).transform((value) => TeamTaskId(value));
216
+ const teamTaskSnapshotSchema = z$1.object({
217
+ id: teamTaskIdSchema,
218
+ revision: positiveSafeInteger,
219
+ subject: z$1.string(),
220
+ description: z$1.string(),
221
+ status: z$1.enum([
222
+ "pending",
223
+ "in_progress",
224
+ "completed",
225
+ "deleted"
226
+ ]),
227
+ ownerId: sessionIdSchema.optional(),
228
+ blockedBy: z$1.array(teamTaskIdSchema),
229
+ writeScopes: z$1.array(z$1.string())
230
+ }).strict();
231
+ const teamEventSelectorSchema = z$1.object({
232
+ version: nonNegativeSafeInteger,
233
+ teamId: teamIdSchema
234
+ }).loose();
235
+ const teamTaskEventSchema = z$1.object({
236
+ version: z$1.literal(2),
237
+ teamId: teamIdSchema,
238
+ task: teamTaskSnapshotSchema
239
+ }).strict();
240
+ /**
241
+ * Construct empty state for one Team identity.
242
+ * @param rootId - root Session identity.
243
+ * @param inheritedEventCount - inherited prefix excluded from the new root's Team mode; defaults to zero.
244
+ * @returns empty Team state.
245
+ */
246
+ function emptyTeamState(rootId, inheritedEventCount = 0) {
247
+ return {
248
+ inheritedEventCount,
249
+ id: TeamId(rootId),
250
+ tasks: [],
251
+ nextTaskNumber: 1
252
+ };
253
+ }
254
+ const teamModeSchema = z$1.object({ enabled: z$1.boolean() }).strict();
255
+ const teamProjectionEntrySchema = z$1.object({
256
+ inheritedEventCount: nonNegativeSafeInteger,
257
+ enabled: z$1.boolean().optional(),
258
+ id: teamIdSchema,
259
+ tasks: z$1.array(teamTaskSnapshotSchema),
260
+ nextTaskNumber: positiveSafeInteger,
261
+ failure: z$1.string().optional()
262
+ }).strict();
263
+ /** Decode one persisted Team value and retain the schema failure as its cause. */
264
+ function parsePersisted(type, schema, value) {
265
+ try {
266
+ return schema.parse(value);
267
+ } catch (error) {
268
+ throw new Error(`persisted Agent Teams ${type} payload is invalid`, { cause: error });
269
+ }
270
+ }
271
+ function applyProjectionEvent(state, event) {
272
+ try {
273
+ if (event.type === "team/mode") {
274
+ if (event.seq < state.inheritedEventCount) return state;
275
+ return {
276
+ ...state,
277
+ ...parsePersisted(event.type, teamModeSchema, event.data)
278
+ };
279
+ }
280
+ if (state.failure !== void 0 || event.type !== "team/task") return state;
281
+ const selector = parsePersisted(event.type, teamEventSelectorSchema, event.data);
282
+ if (selector.teamId !== state.id) return state;
283
+ if (selector.version !== 2) throw new Error(`unsupported Agent Teams event version ${String(selector.version)}`);
284
+ return applyTask(state, parsePersisted(event.type, teamTaskEventSchema, event.data).task);
285
+ } catch (error) {
286
+ /* v8 ignore next -- the owned Team transition throws Error instances. */
287
+ return {
288
+ ...state,
289
+ failure: state.failure ?? (error instanceof Error ? error.message : String(error))
290
+ };
291
+ }
292
+ }
293
+ function replaceAt(items, index, item) {
294
+ const next = [...items];
295
+ if (index < 0) next.push(item);
296
+ else next[index] = item;
297
+ return next;
298
+ }
299
+ function applyTask(state, task) {
300
+ const index = state.tasks.findIndex((candidate) => candidate.id === task.id);
301
+ const prior = state.tasks[index];
302
+ if (prior === void 0 && task.revision !== 1) throw new Error(`team task "${task.id}" must begin at revision 1`);
303
+ if (prior !== void 0 && task.revision !== prior.revision + 1) throw new Error(`team task "${task.id}" revision is not contiguous`);
304
+ assertTaskGraphCandidate(state.tasks, task);
305
+ let nextTaskNumber = state.nextTaskNumber;
306
+ const match = numericTaskIdPattern.exec(task.id);
307
+ if (match !== null) {
308
+ const number = Number(match[1]);
309
+ nextTaskNumber = Math.max(nextTaskNumber, number === Number.MAX_SAFE_INTEGER ? number : number + 1);
310
+ }
311
+ return {
312
+ ...state,
313
+ enabled: state.enabled ?? true,
314
+ tasks: replaceAt(state.tasks, index, task),
315
+ nextTaskNumber
316
+ };
317
+ }
318
+ const teamTaskViewSchema = z$1.object({
319
+ id: teamTaskIdSchema,
320
+ revision: positiveSafeInteger,
321
+ subject: z$1.string(),
322
+ description: z$1.string(),
323
+ status: z$1.enum([
324
+ "pending",
325
+ "in_progress",
326
+ "completed",
327
+ "deleted"
328
+ ]),
329
+ blockedBy: z$1.array(teamTaskIdSchema),
330
+ writeScopes: z$1.array(z$1.string()),
331
+ ownerId: sessionIdSchema.optional(),
332
+ ready: z$1.boolean(),
333
+ writeScopeWarnings: z$1.array(z$1.string())
334
+ }).strict();
335
+ const teamProjectionSchema = z$1.object({
336
+ enabled: z$1.boolean(),
337
+ tasks: z$1.array(teamTaskViewSchema),
338
+ failure: z$1.string().optional()
339
+ }).strict();
340
+ /** Client views keyed by their task collection and checked against the saved mode. */
341
+ const teamProjectionViews = /* @__PURE__ */ new WeakMap();
342
+ function buildTeamProjection(state) {
343
+ return {
344
+ enabled: state.enabled === true,
345
+ tasks: state.tasks.filter((task) => task.status !== "deleted").map((task) => projectTaskView(state, task)),
346
+ ...state.failure === void 0 ? {} : { failure: state.failure }
347
+ };
348
+ }
349
+ /**
350
+ * Durable client view of one Team state, reused while tasks and mode remain unchanged.
351
+ * A task-board failure retains the last valid tasks; mode selections still apply.
352
+ * @param state - current Team state.
353
+ * @returns the saved selection and non-deleted task board, plus any projection failure.
354
+ */
355
+ function teamProjectionView(state) {
356
+ if (state.failure !== void 0) return buildTeamProjection(state);
357
+ let view = teamProjectionViews.get(state.tasks);
358
+ if (view === void 0 || view.enabled !== (state.enabled === true)) {
359
+ view = buildTeamProjection(state);
360
+ teamProjectionViews.set(state.tasks, view);
361
+ }
362
+ return view;
363
+ }
364
+ /**
365
+ * Team projection selected by the projected Session identity; the wire view
366
+ * carries the selection and task board. Current subagents are
367
+ * supplied separately by the existing `subagentCatalog` projection.
368
+ */
369
+ const teamProjectionDefinition = {
370
+ key: "agentTeam",
371
+ stateVersion: 7,
372
+ stateSchema: teamProjectionEntrySchema,
373
+ init: (header, inheritedEventCount) => emptyTeamState(header.id, inheritedEventCount),
374
+ apply: applyProjectionEvent,
375
+ wire: {
376
+ viewSchema: teamProjectionSchema,
377
+ view: teamProjectionView
378
+ }
379
+ };
380
+ //#endregion
381
+ //#region lib/types/validation.js
382
+ /** Input normalization shared by Team roster and task commands. */
383
+ /**
384
+ * Normalize one required human-authored string.
385
+ * @param value - raw input value.
386
+ * @param field - diagnostic field name.
387
+ * @param maxLength - maximum normalized character count.
388
+ * @returns trimmed non-empty text.
389
+ */
390
+ function requiredText(value, field, maxLength) {
391
+ const text = value.trim();
392
+ if (text.length === 0) throw new TeamError(`${field} must be non-empty`, "TEAM_INVALID_ARGUMENT");
393
+ if (text.length > maxLength) throw new TeamError(`${field} exceeds ${maxLength} characters`, "TEAM_INVALID_ARGUMENT");
394
+ return text;
395
+ }
396
+ /**
397
+ * Normalize one workspace-relative path prefix without treating it as a lock.
398
+ * @param value - user-authored path prefix.
399
+ * @returns normalized slash-separated prefix.
400
+ */
401
+ function writeScope(value) {
402
+ const normalized = value.replaceAll("\\", "/").replace(/^\.\//u, "").replace(/\/+$/u, "");
403
+ const segments = normalized.split("/");
404
+ if (normalized.length === 0 || normalized.startsWith("/") || /^[a-z]:/iu.test(normalized) || segments.some((segment) => segment.length === 0 || segment === "." || segment === "..")) throw new TeamError(`invalid workspace-relative write scope ${JSON.stringify(value)}`, "TEAM_INVALID_WRITE_SCOPE");
405
+ return normalized;
406
+ }
407
+ //#endregion
408
+ //#region lib/types/task-board.js
409
+ /** Shared Team task DAG commands and runtime-enriched views. */
410
+ const TASK_GRAPH_ERROR_CODES = {
411
+ missing: "TEAM_TASK_NOT_FOUND",
412
+ duplicate: "TEAM_INVALID_ARGUMENT",
413
+ cycle: "TEAM_TASK_DEPENDENCY_CYCLE"
414
+ };
415
+ /** Owns Team task limits, authorization, transitions, and derived views. */
416
+ var TeamTaskBoard = class {
417
+ ctx;
418
+ journal;
419
+ maxTasks;
420
+ /**
421
+ * @param ctx - subagent discovery for task assignees.
422
+ * @param journal - authoritative Lead-log transaction owner.
423
+ * @param maxTasks - maximum non-deleted tasks retained by one Team.
424
+ */
425
+ constructor(ctx, journal, maxTasks) {
426
+ this.ctx = ctx;
427
+ this.journal = journal;
428
+ this.maxTasks = maxTasks;
429
+ }
430
+ state(root) {
431
+ const state = this.journal.state(root);
432
+ if (state.enabled !== true) throw new TeamError("enable Agent Teams for this Session before using the task board", "TEAM_DISABLED");
433
+ return state;
434
+ }
435
+ /**
436
+ * Create one unowned pending task in the Team Lead log.
437
+ * @param caller - exact live Agent creating the task.
438
+ * @param root - live subagent tree root owning the board.
439
+ * @param request - task text, blockers, and advisory write scopes.
440
+ * @param signal - cancellation before append; omitted means no cancellation.
441
+ * @returns the revision-one task view.
442
+ */
443
+ async create(caller, root, request, signal) {
444
+ return this.journal.transact(root.id, async () => {
445
+ signal?.throwIfAborted();
446
+ const state = this.state(root);
447
+ if (state.tasks.filter((task) => task.status !== "deleted").length >= this.maxTasks) throw new TeamError(`Team task limit ${this.maxTasks} reached`, "TEAM_TASK_LIMIT");
448
+ const id = TeamTaskId(`task-${state.nextTaskNumber}`);
449
+ if (state.tasks.some((task) => task.id === id)) throw new TeamError("Team task id space exhausted", "TEAM_TASK_LIMIT");
450
+ const task = {
451
+ id,
452
+ revision: 1,
453
+ subject: requiredText(request.subject, "subject", 200),
454
+ description: requiredText(request.description, "description", 16384),
455
+ status: "pending",
456
+ blockedBy: this.dependencies(request.blockedBy ?? [], state),
457
+ writeScopes: this.writeScopes(request.writeScopes ?? [])
458
+ };
459
+ this.assertTaskGraph(state, task);
460
+ this.ctx.subagents.rootOf(caller);
461
+ await this.journal.appendAndFlush(root, task);
462
+ return projectTaskView(state, task);
463
+ });
464
+ }
465
+ /**
466
+ * Return one task, including a deleted tombstone.
467
+ * @param root - live subagent tree root owning the board.
468
+ * @param id - Team-local task identity.
469
+ * @returns the latest task value and derived readiness diagnostics.
470
+ */
471
+ get(root, id) {
472
+ const state = this.state(root);
473
+ const task = state.tasks.find((candidate) => candidate.id === id);
474
+ if (task === void 0) throw new TeamError(`team task "${id}" not found`, "TEAM_TASK_NOT_FOUND");
475
+ return projectTaskView(state, task);
476
+ }
477
+ /**
478
+ * List current non-deleted tasks in numeric creation order.
479
+ * @param root - live subagent tree root owning the board.
480
+ * @returns detached current task views.
481
+ */
482
+ list(root) {
483
+ const state = this.state(root);
484
+ return state.tasks.filter((task) => task.status !== "deleted").map((task) => projectTaskView(state, task));
485
+ }
486
+ /**
487
+ * Compare-and-set one authorized task transition.
488
+ * @param caller - exact live Team member authorizing the mutation.
489
+ * @param root - live subagent tree root owning the board.
490
+ * @param request - task identity, expected revision, action, and action fields.
491
+ * @param signal - cancellation before append; omitted means no cancellation.
492
+ * @returns the committed next task revision.
493
+ */
494
+ async update(caller, root, request, signal) {
495
+ return this.journal.transact(root.id, async () => {
496
+ signal?.throwIfAborted();
497
+ const state = this.state(root);
498
+ const current = state.tasks.find((task) => task.id === request.taskId);
499
+ if (current === void 0) throw new TeamError(`team task "${request.taskId}" not found`, "TEAM_TASK_NOT_FOUND");
500
+ if (current.revision !== request.expectedRevision) throw new TeamError(`stale team task "${current.id}" revision ${request.expectedRevision}; current revision is ${current.revision}`, "TEAM_TASK_STALE_REVISION");
501
+ if (current.status === "deleted") throw new TeamError(`team task "${current.id}" is deleted`, "TEAM_TASK_DELETED");
502
+ const lead = caller === root;
503
+ const owner = current.ownerId === caller.id;
504
+ const authorizeOwner = () => {
505
+ if (!lead && !owner) throw new TeamError("task mutation requires its owner or Team Lead", "TEAM_TASK_UNAUTHORIZED");
506
+ };
507
+ let next;
508
+ switch (request.action) {
509
+ case "claim":
510
+ if (current.ownerId !== void 0 && current.ownerId !== caller.id) throw new TeamError(`team task "${current.id}" is owned by another member`, "TEAM_TASK_ALREADY_CLAIMED");
511
+ if (current.status !== "pending" || !taskReady(state, current)) throw new TeamError(`team task "${current.id}" is not ready to claim`, "TEAM_TASK_BLOCKED");
512
+ next = {
513
+ ...current,
514
+ status: "in_progress",
515
+ ownerId: caller.id
516
+ };
517
+ break;
518
+ case "release":
519
+ authorizeOwner();
520
+ if (current.status !== "in_progress") throw new TeamError("only an in-progress task can be released", "TEAM_TASK_INVALID_TRANSITION");
521
+ next = this.withoutOwner({
522
+ ...current,
523
+ status: "pending"
524
+ });
525
+ break;
526
+ case "edit":
527
+ authorizeOwner();
528
+ if (request.subject === void 0 && request.description === void 0 && request.writeScopes === void 0) throw new TeamError("task edit requires subject, description, or write_scopes", "TEAM_INVALID_ARGUMENT");
529
+ next = {
530
+ ...current,
531
+ ...request.subject === void 0 ? {} : { subject: requiredText(request.subject, "subject", 200) },
532
+ ...request.description === void 0 ? {} : { description: requiredText(request.description, "description", 16384) },
533
+ ...request.writeScopes === void 0 ? {} : { writeScopes: this.writeScopes(request.writeScopes) }
534
+ };
535
+ break;
536
+ case "set_dependencies":
537
+ authorizeOwner();
538
+ if (request.blockedBy === void 0) throw new TeamError("set_dependencies requires blocked_by", "TEAM_INVALID_ARGUMENT");
539
+ next = {
540
+ ...current,
541
+ blockedBy: this.dependencies(request.blockedBy, state, current.id)
542
+ };
543
+ break;
544
+ case "complete":
545
+ authorizeOwner();
546
+ if (current.status !== "in_progress") throw new TeamError("only an in-progress task can complete", "TEAM_TASK_INVALID_TRANSITION");
547
+ next = {
548
+ ...current,
549
+ status: "completed"
550
+ };
551
+ break;
552
+ case "reopen":
553
+ authorizeOwner();
554
+ if (current.status !== "completed") throw new TeamError("only a completed task can reopen", "TEAM_TASK_INVALID_TRANSITION");
555
+ next = this.withoutOwner({
556
+ ...current,
557
+ status: "pending"
558
+ });
559
+ break;
560
+ case "reassign":
561
+ if (!lead) throw new TeamError("only the Team Lead can reassign tasks", "TEAM_LEAD_REQUIRED");
562
+ if (current.status !== "pending" && current.status !== "in_progress") throw new TeamError("only a pending or in-progress task can be reassigned", "TEAM_TASK_INVALID_TRANSITION");
563
+ if (request.owner === void 0) {
564
+ next = this.withoutOwner({
565
+ ...current,
566
+ status: "pending"
567
+ });
568
+ break;
569
+ }
570
+ if (!taskReady(state, current)) throw new TeamError(`team task "${current.id}" is blocked`, "TEAM_TASK_BLOCKED");
571
+ next = {
572
+ ...current,
573
+ status: "in_progress",
574
+ ownerId: await this.resolveAssignee(root, request.owner, signal)
575
+ };
576
+ break;
577
+ case "delete": {
578
+ authorizeOwner();
579
+ const dependent = state.tasks.find((task) => task.status !== "deleted" && task.id !== current.id && task.blockedBy.includes(current.id));
580
+ if (dependent !== void 0) throw new TeamError(`team task "${current.id}" still blocks "${dependent.id}"`, "TEAM_TASK_HAS_DEPENDENTS");
581
+ next = {
582
+ ...current,
583
+ status: "deleted"
584
+ };
585
+ break;
586
+ }
587
+ /* v8 ignore next 2 -- TeamTaskAction is closed and every member is handled above. */
588
+ default: throw new TeamError(`unsupported task action ${String(request.action)}`, "TEAM_INVALID_ARGUMENT");
589
+ }
590
+ const task = {
591
+ ...next,
592
+ revision: current.revision + 1
593
+ };
594
+ this.assertTaskGraph(state, task);
595
+ signal?.throwIfAborted();
596
+ this.ctx.subagents.rootOf(caller);
597
+ await this.journal.appendAndFlush(root, task);
598
+ return projectTaskView(state, task);
599
+ });
600
+ }
601
+ /** Resolve a task owner through the same durable tree used by Agent discovery. */
602
+ async resolveAssignee(root, target, signal) {
603
+ if (target === root.id) return target;
604
+ if ((await this.ctx.subagents.listDescendants(root.id, signal)).some((entry) => entry.kind !== "diagnostic" && entry.mode === "continuable" && entry.id === target)) return target;
605
+ throw new TeamError(`agent "${target}" is not a continuable descendant of this task board's root`, "TEAM_MEMBER_NOT_FOUND");
606
+ }
607
+ /** Validate and de-duplicate dependency ids against the current task graph. */
608
+ dependencies(values, state, self) {
609
+ const seen = /* @__PURE__ */ new Set();
610
+ const result = [];
611
+ for (const id of values) {
612
+ if (id === self) throw new TeamError("a team task cannot block itself", "TEAM_TASK_DEPENDENCY_CYCLE");
613
+ if (seen.has(id)) throw new TeamError(`duplicate blocker "${id}"`, "TEAM_INVALID_ARGUMENT");
614
+ const task = state.tasks.find((candidate) => candidate.id === id);
615
+ if (task === void 0 || task.status === "deleted") throw new TeamError(`blocker task "${id}" not found`, "TEAM_TASK_NOT_FOUND");
616
+ seen.add(id);
617
+ result.push(id);
618
+ }
619
+ return result;
620
+ }
621
+ /** Normalize and de-duplicate task write scopes. */
622
+ writeScopes(values) {
623
+ return [...new Set(values.map(writeScope))];
624
+ }
625
+ /** Map shared task-graph validation onto stable command error codes. */
626
+ assertTaskGraph(state, candidate) {
627
+ try {
628
+ assertTaskGraphCandidate(state.tasks, candidate);
629
+ } catch (error) {
630
+ /* v8 ignore next -- the shared validator is the only statement in the try and throws this exact error. */
631
+ if (!(error instanceof TeamTaskGraphError)) throw error;
632
+ throw new TeamError(error.message, TASK_GRAPH_ERROR_CODES[error.violation], { cause: error });
633
+ }
634
+ }
635
+ /** Remove an optional owner field under exactOptionalPropertyTypes. */
636
+ withoutOwner(task) {
637
+ const { ownerId: _ownerId, ...without } = task;
638
+ return without;
639
+ }
640
+ };
641
+ //#endregion
642
+ //#region lib/types/index.js
643
+ /** Shared task boards owned by subagent tree roots. */
644
+ var __runInitializers = function(thisArg, initializers, value) {
645
+ var useValue = arguments.length > 2;
646
+ for (var i = 0; i < initializers.length; i++) value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
647
+ return useValue ? value : void 0;
648
+ };
649
+ var __esDecorate = function(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
650
+ function accept(f) {
651
+ if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected");
652
+ return f;
653
+ }
654
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
655
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
656
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
657
+ var _, done = false;
658
+ for (var i = decorators.length - 1; i >= 0; i--) {
659
+ var context = {};
660
+ for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
661
+ for (var p in contextIn.access) context.access[p] = contextIn.access[p];
662
+ context.addInitializer = function(f) {
663
+ if (done) throw new TypeError("Cannot add initializers after decoration has completed");
664
+ extraInitializers.push(accept(f || null));
665
+ };
666
+ var result = (0, decorators[i])(kind === "accessor" ? {
667
+ get: descriptor.get,
668
+ set: descriptor.set
669
+ } : descriptor[key], context);
670
+ if (kind === "accessor") {
671
+ if (result === void 0) continue;
672
+ if (result === null || typeof result !== "object") throw new TypeError("Object expected");
673
+ if (_ = accept(result.get)) descriptor.get = _;
674
+ if (_ = accept(result.set)) descriptor.set = _;
675
+ if (_ = accept(result.init)) initializers.unshift(_);
676
+ } else if (_ = accept(result)) if (kind === "field") initializers.unshift(_);
677
+ else descriptor[key] = _;
678
+ }
679
+ if (target) Object.defineProperty(target, contextIn.name, descriptor);
680
+ done = true;
681
+ };
682
+ const DEFAULT_MAX_TASKS = 256;
683
+ /** Configuration keys removed when Team reused subagent creation and messaging. */
684
+ const REMOVED_CONFIG_KEYS = [
685
+ "maxMembers",
686
+ "maxMessageBytes",
687
+ "disposalTimeoutMs"
688
+ ];
689
+ /** Validate one positive safe-integer deployment limit. */
690
+ function positiveLimit(name, value) {
691
+ if (!Number.isSafeInteger(value) || value < 1) throw new TeamError(`${name} must be a positive safe integer`, "TEAM_INVALID_CONFIG");
692
+ return value;
693
+ }
694
+ /** Agent Teams service backed by the exact live Lead Session log. */
695
+ let TeamService = (() => {
696
+ let _classSuper = TypertRemoteService;
697
+ let _instanceExtraInitializers = [];
698
+ let _setEnabled_decorators;
699
+ return class TeamService extends _classSuper {
700
+ static {
701
+ const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
702
+ _setEnabled_decorators = [Remote];
703
+ __esDecorate(this, null, _setEnabled_decorators, {
704
+ kind: "method",
705
+ name: "setEnabled",
706
+ static: false,
707
+ private: false,
708
+ access: {
709
+ has: (obj) => "setEnabled" in obj,
710
+ get: (obj) => obj.setEnabled
711
+ },
712
+ metadata: _metadata
713
+ }, null, _instanceExtraInitializers);
714
+ if (_metadata) Object.defineProperty(this, Symbol.metadata, {
715
+ enumerable: true,
716
+ configurable: true,
717
+ writable: true,
718
+ value: _metadata
719
+ });
720
+ }
721
+ static inject = [
722
+ "agents",
723
+ "sessions",
724
+ "sessionPersistence",
725
+ "sessionProjections",
726
+ "subagents"
727
+ ];
728
+ static Config = z.object({
729
+ maxTasks: z.number().step(1).min(1).default(DEFAULT_MAX_TASKS),
730
+ defaultEnabled: z.boolean().default(false)
731
+ });
732
+ projection = __runInitializers(this, _instanceExtraInitializers);
733
+ maxTasks;
734
+ defaultEnabled;
735
+ journal;
736
+ tasks;
737
+ constructor(ctx, config = {}) {
738
+ super(ctx, "agentTeams");
739
+ for (const key of REMOVED_CONFIG_KEYS) if (Object.hasOwn(config, key)) throw new TeamError(`agent-team: ${key} is no longer supported; teammates are subagents, so subagent limits and inbox delivery apply`, "TEAM_INVALID_CONFIG");
740
+ this.maxTasks = positiveLimit("maxTasks", config.maxTasks ?? DEFAULT_MAX_TASKS);
741
+ this.defaultEnabled = config.defaultEnabled ?? false;
742
+ }
743
+ async [Service.init]() {
744
+ const ctx = this.ctx;
745
+ this.projection = await ctx.sessionProjections.register(teamProjectionDefinition);
746
+ this.journal = new TeamJournal(ctx, this.projection);
747
+ this.tasks = new TeamTaskBoard(ctx, this.journal, this.maxTasks);
748
+ if (this.defaultEnabled) ctx.on("agent/created", async ({ agent, source, signal }) => {
749
+ if (source !== "startup" || agent.session.header.origin === "subagent") return;
750
+ if (this.projection.stateOf(agent.session).enabled !== void 0) return;
751
+ await this.setEnabled(agent, true, signal);
752
+ });
753
+ }
754
+ /**
755
+ * Read the Team selection shared by the caller's subagent tree.
756
+ * @param caller - exact live root or descendant.
757
+ * @returns whether Team tools and guidance are enabled.
758
+ */
759
+ isEnabled(caller) {
760
+ const root = this.ctx.subagents.rootOf(caller);
761
+ return this.projection.stateOf(root.session).enabled === true;
762
+ }
763
+ /**
764
+ * Save a root Session's Team selection without stopping children or deleting tasks.
765
+ * The selection takes effect before awaiting persistence. Tools resolve availability at
766
+ * step preparation; prompt providers read the selection when evaluated. Task mutations
767
+ * check the current mode when their queued operation starts; admitted operations finish.
768
+ * @param agent - exact live root whose tree receives the selection.
769
+ * @param enabled - selected Team mode.
770
+ * @param signal - cancellation checked before changing the selection.
771
+ * @returns fulfillment after the selection flushes.
772
+ * @throws when called by a descendant or persistence fails. An appended selection remains active;
773
+ * retrying the same selection flushes without a duplicate event.
774
+ */
775
+ async setEnabled(agent, enabled, signal) {
776
+ const root = this.ctx.subagents.rootOf(agent);
777
+ if (root !== agent) throw new TeamError("change Team mode from the root Session", "TEAM_LEAD_REQUIRED");
778
+ signal?.throwIfAborted();
779
+ if (this.isEnabled(root) !== enabled) root.session.append("team/mode", { enabled });
780
+ await this.ctx.sessions.flush(root.session);
781
+ }
782
+ /**
783
+ * Create one unowned pending task in the Team Lead log.
784
+ * @param caller - exact live Team member creating the task.
785
+ * @param request - task text, blockers, and advisory write scopes.
786
+ * @param signal - cancellation before the task event is appended; omitted means no cancellation.
787
+ * @returns the revision-one task view.
788
+ * @throws TEAM_TASK_PERSISTENCE_UNCONFIRMED when the task is visible but durability is unknown; read it before retrying.
789
+ */
790
+ async createTask(caller, request, signal) {
791
+ return await this.tasks.create(caller, this.ctx.subagents.rootOf(caller), request, signal);
792
+ }
793
+ /**
794
+ * Return one task, including a deleted tombstone.
795
+ * @param caller - exact live Team member reading the task.
796
+ * @param id - Team-local task identity.
797
+ * @returns the latest task value and derived readiness diagnostics.
798
+ */
799
+ getTask(caller, id) {
800
+ return this.tasks.get(this.ctx.subagents.rootOf(caller), id);
801
+ }
802
+ /**
803
+ * List current non-deleted tasks in numeric creation order.
804
+ * @param caller - exact live Team member reading the board.
805
+ * @returns detached current task views.
806
+ */
807
+ listTasks(caller) {
808
+ return this.tasks.list(this.ctx.subagents.rootOf(caller));
809
+ }
810
+ /**
811
+ * Compare-and-set one authorized task transition.
812
+ * @param caller - exact live Team member authorizing the mutation.
813
+ * @param request - task identity, expected revision, action, and action fields.
814
+ * @param signal - cancellation before the task event is appended; omitted means no cancellation.
815
+ * @returns the committed next task revision.
816
+ * @throws TEAM_TASK_PERSISTENCE_UNCONFIRMED when the task is visible but durability is unknown; read it before retrying.
817
+ */
818
+ async updateTask(caller, request, signal) {
819
+ return await this.tasks.update(caller, this.ctx.subagents.rootOf(caller), request, signal);
820
+ }
821
+ };
822
+ })();
823
+ //#endregion
824
+ export { TeamError, TeamId, TeamMessageId, TeamService, TeamService as default, TeamTaskId };