@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
@@ -7,7 +7,7 @@ import { basename, dirname, extname, isAbsolute, join, relative, resolve, sep, w
7
7
  import * as yaml from "js-yaml";
8
8
  import { load } from "js-yaml";
9
9
  import Loader, { EntryGroup, EntryTree, ModuleLoader, isJsExpr } from "@deepseek-ai/cordis-plugin-loader";
10
- import { access, constants, mkdir, readFile, realpath, rename, writeFile } from "node:fs/promises";
10
+ import { access, constants, mkdir, readFile, realpath, rename, rm, writeFile } from "node:fs/promises";
11
11
  import { setTimeout as setTimeout$1 } from "node:timers/promises";
12
12
  import Group from "@deepseek-ai/cordis-plugin-group";
13
13
  import { dshHomePath, resolveDshHome } from "@deepseek-ai/dsh-home-paths";
@@ -100,51 +100,411 @@ function captureStartupComposition(ctx) {
100
100
  };
101
101
  }
102
102
  //#endregion
103
- //#region ../../../vendor/include/src/index.ts
104
- const JsExpr = new yaml.Type("tag:yaml.org,2002:js", {
105
- kind: "scalar",
106
- resolve: (data) => typeof data === "string",
107
- construct: (data) => ({ __jsExpr: data }),
108
- predicate: isJsExpr,
109
- represent: (data) => data["__jsExpr"]
110
- });
103
+ //#region ../../../vendor/cosmokit/src/misc.ts
104
+ /** Return true when a value is `null` or `undefined`. */
105
+ function isNullable(value) {
106
+ return value === null || value === void 0;
107
+ }
108
+ /** Omit selected keys from a shallow object copy. */
109
+ function omit(source, keys) {
110
+ if (!keys) return { ...source };
111
+ const result = { ...source };
112
+ for (const key of keys) Reflect.deleteProperty(result, key);
113
+ return result;
114
+ }
115
+ //#endregion
116
+ //#region ../../../vendor/cosmokit/src/volatile.ts
117
+ /** Shared config references used by schema validators and plugin runtimes. */
118
+ const write = Symbol.for("cosmokit.volatile.write");
111
119
  /**
112
- * The entry-list YAML dialect: `!!js` scalars round-trip as expression nodes
113
- * the Loader evaluates at entry activation. Exported so config tooling
114
- * (`dsh --dump-config`) parses and prints exactly the dialect this include
115
- * mounts.
120
+ * Identify references across ESM/CJS copies of the shared library.
121
+ * @param value - a parsed config value.
122
+ * @returns whether the value implements the shared reference protocol.
116
123
  */
117
- const entryListSchema = yaml.JSON_SCHEMA.extend(JsExpr);
118
- const schema = entryListSchema;
119
- const writable = {
120
- ".json": "application/json",
121
- ".yaml": "application/yaml",
122
- ".yml": "application/yaml"
123
- };
124
- const supported = new Set(Object.keys(writable));
125
- const WRITE_RETRY_LIMIT = 10;
126
- const WRITE_RETRY_DELAY_MS = 50;
127
- function retryableWriteError(error) {
128
- const code = error?.code;
129
- return code === "EACCES" || code === "EBUSY" || code === "EPERM";
124
+ function isVolatile(value) {
125
+ return typeof value === "object" && value !== null && write in value;
126
+ }
127
+ //#endregion
128
+ //#region ../../../vendor/cosmokit/src/types.ts
129
+ /** Test values using `instanceof` with a `toStringTag` fallback. */
130
+ function is(type, value) {
131
+ if (arguments.length === 1) return (value) => is(type, value);
132
+ return type in globalThis && value instanceof globalThis[type] || Object.prototype.toString.call(value).slice(8, -1) === type;
133
+ }
134
+ function isArrayBufferLike(value) {
135
+ return is("ArrayBuffer", value) || is("SharedArrayBuffer", value);
136
+ }
137
+ function isArrayBufferSource(value) {
138
+ return isArrayBufferLike(value) || ArrayBuffer.isView(value);
139
+ }
140
+ let Binary;
141
+ (function(_Binary) {
142
+ _Binary.is = isArrayBufferLike;
143
+ _Binary.isSource = isArrayBufferSource;
144
+ function fromSource(source) {
145
+ if (ArrayBuffer.isView(source)) return source.buffer.slice(source.byteOffset, source.byteOffset + source.byteLength);
146
+ else return source;
147
+ }
148
+ _Binary.fromSource = fromSource;
149
+ function toBase64(source) {
150
+ source = fromSource(source);
151
+ if (typeof Buffer !== "undefined") return Buffer.from(source).toString("base64");
152
+ let binary = "";
153
+ const bytes = new Uint8Array(source);
154
+ for (let i = 0; i < bytes.byteLength; i++) binary += String.fromCharCode(bytes[i]);
155
+ return btoa(binary);
156
+ }
157
+ _Binary.toBase64 = toBase64;
158
+ function fromBase64(source) {
159
+ if (typeof Buffer !== "undefined") return fromSource(Buffer.from(source, "base64"));
160
+ return Uint8Array.from(atob(source), (c) => c.charCodeAt(0));
161
+ }
162
+ _Binary.fromBase64 = fromBase64;
163
+ function toHex(source) {
164
+ source = fromSource(source);
165
+ if (typeof Buffer !== "undefined") return Buffer.from(source).toString("hex");
166
+ return Array.from(new Uint8Array(source), (byte) => byte.toString(16).padStart(2, "0")).join("");
167
+ }
168
+ _Binary.toHex = toHex;
169
+ function fromHex(source) {
170
+ if (typeof Buffer !== "undefined") return fromSource(Buffer.from(source, "hex"));
171
+ const hex = source.length % 2 === 0 ? source : source.slice(0, source.length - 1);
172
+ const buffer = [];
173
+ for (let i = 0; i < hex.length; i += 2) buffer.push(parseInt(`${hex[i]}${hex[i + 1]}`, 16));
174
+ return Uint8Array.from(buffer).buffer;
175
+ }
176
+ _Binary.fromHex = fromHex;
177
+ })(Binary || (Binary = {}));
178
+ Binary.fromBase64;
179
+ Binary.toBase64;
180
+ Binary.fromHex;
181
+ Binary.toHex;
182
+ /**
183
+ * Compare values recursively, treating two volatile references as equal regardless of value.
184
+ * Strict comparison distinguishes null/undefined, treats opaque objects by identity,
185
+ * compares URLs by normalized href, treats array holes as undefined, and considers distinct cyclic structures unequal.
186
+ * @param a - first value.
187
+ * @param b - second value.
188
+ * @param strict - whether to require strict data equality outside volatile references.
189
+ * @returns whether the values compare equal.
190
+ */
191
+ function deepEqual(a, b, strict) {
192
+ const ancestors = /* @__PURE__ */ new Set();
193
+ function compare(a, b) {
194
+ if (a === b) return true;
195
+ if (isVolatile(a) || isVolatile(b)) return isVolatile(a) && isVolatile(b);
196
+ if (!strict && isNullable(a) && isNullable(b)) return true;
197
+ if (typeof a !== typeof b || typeof a !== "object" || !a || !b) return false;
198
+ if (ancestors.has(a)) return false;
199
+ function check(test, then) {
200
+ return test(a) ? test(b) ? then(a, b) : false : test(b) ? false : void 0;
201
+ }
202
+ ancestors.add(a);
203
+ try {
204
+ return check(Array.isArray, (a, b) => {
205
+ if (a.length !== b.length) return false;
206
+ for (let index = 0; index < a.length; index++) if (!compare(a[index], b[index])) return false;
207
+ return true;
208
+ }) ?? check(is("Date"), (a, b) => a.valueOf() === b.valueOf()) ?? check(is("URL"), (a, b) => a.href === b.href) ?? check(is("RegExp"), (a, b) => a.source === b.source && a.flags === b.flags) ?? check(isArrayBufferLike, (a, b) => {
209
+ if (a.byteLength !== b.byteLength) return false;
210
+ const viewA = new Uint8Array(a);
211
+ const viewB = new Uint8Array(b);
212
+ for (let i = 0; i < viewA.length; i++) if (viewA[i] !== viewB[i]) return false;
213
+ return true;
214
+ }) ?? ((!strict || [a, b].every((value) => Object.getPrototypeOf(value) === Object.prototype || Object.getPrototypeOf(value) === null)) && Object.keys({
215
+ ...a,
216
+ ...b
217
+ }).every((key) => compare(a[key], b[key])));
218
+ } finally {
219
+ ancestors.delete(a);
220
+ }
221
+ }
222
+ return compare(a, b);
223
+ }
224
+ //#endregion
225
+ //#region ../../../vendor/cosmokit/src/time.ts
226
+ let Time;
227
+ (function(_Time) {
228
+ _Time.millisecond = 1;
229
+ const second = _Time.second = 1e3;
230
+ const minute = _Time.minute = second * 60;
231
+ const hour = _Time.hour = minute * 60;
232
+ const day = _Time.day = hour * 24;
233
+ const week = _Time.week = day * 7;
234
+ let timezoneOffset = (/* @__PURE__ */ new Date()).getTimezoneOffset();
235
+ function setTimezoneOffset(offset) {
236
+ timezoneOffset = offset;
237
+ }
238
+ _Time.setTimezoneOffset = setTimezoneOffset;
239
+ function getTimezoneOffset() {
240
+ return timezoneOffset;
241
+ }
242
+ _Time.getTimezoneOffset = getTimezoneOffset;
243
+ function getDateNumber(date = /* @__PURE__ */ new Date(), offset) {
244
+ if (typeof date === "number") date = new Date(date);
245
+ if (offset === void 0) offset = timezoneOffset;
246
+ return Math.floor((date.valueOf() / minute - offset) / 1440);
247
+ }
248
+ _Time.getDateNumber = getDateNumber;
249
+ function fromDateNumber(value, offset) {
250
+ const date = new Date(value * day);
251
+ if (offset === void 0) offset = timezoneOffset;
252
+ return new Date(+date + offset * minute);
253
+ }
254
+ _Time.fromDateNumber = fromDateNumber;
255
+ const numeric = /\d+(?:\.\d+)?/.source;
256
+ const timeRegExp = new RegExp(`^${[
257
+ "w(?:eek(?:s)?)?",
258
+ "d(?:ay(?:s)?)?",
259
+ "h(?:our(?:s)?)?",
260
+ "m(?:in(?:ute)?(?:s)?)?",
261
+ "s(?:ec(?:ond)?(?:s)?)?"
262
+ ].map((unit) => `(${numeric}${unit})?`).join("")}$`);
263
+ function parseTime(source) {
264
+ const capture = timeRegExp.exec(source);
265
+ if (!capture) return 0;
266
+ return (parseFloat(capture[1]) * week || 0) + (parseFloat(capture[2]) * day || 0) + (parseFloat(capture[3]) * hour || 0) + (parseFloat(capture[4]) * minute || 0) + (parseFloat(capture[5]) * second || 0);
267
+ }
268
+ _Time.parseTime = parseTime;
269
+ function parseDate(date) {
270
+ const parsed = parseTime(date);
271
+ if (parsed) date = Date.now() + parsed;
272
+ else if (/^\d{1,2}(:\d{1,2}){1,2}$/.test(date)) date = `${(/* @__PURE__ */ new Date()).toLocaleDateString()}-${date}`;
273
+ else if (/^\d{1,2}-\d{1,2}-\d{1,2}(:\d{1,2}){1,2}$/.test(date)) date = `${(/* @__PURE__ */ new Date()).getFullYear()}-${date}`;
274
+ return date ? new Date(date) : /* @__PURE__ */ new Date();
275
+ }
276
+ _Time.parseDate = parseDate;
277
+ function format(ms) {
278
+ const abs = Math.abs(ms);
279
+ if (abs >= day - hour / 2) return Math.round(ms / day) + "d";
280
+ else if (abs >= hour - minute / 2) return Math.round(ms / hour) + "h";
281
+ else if (abs >= minute - second / 2) return Math.round(ms / minute) + "m";
282
+ else if (abs >= second) return Math.round(ms / second) + "s";
283
+ return ms + "ms";
284
+ }
285
+ _Time.format = format;
286
+ function toDigits(source, length = 2) {
287
+ return source.toString().padStart(length, "0");
288
+ }
289
+ _Time.toDigits = toDigits;
290
+ function template(template, time = /* @__PURE__ */ new Date()) {
291
+ return template.replace("yyyy", time.getFullYear().toString()).replace("yy", time.getFullYear().toString().slice(2)).replace("MM", toDigits(time.getMonth() + 1)).replace("dd", toDigits(time.getDate())).replace("hh", toDigits(time.getHours())).replace("mm", toDigits(time.getMinutes())).replace("ss", toDigits(time.getSeconds())).replace("SSS", toDigits(time.getMilliseconds(), 3));
292
+ }
293
+ _Time.template = template;
294
+ })(Time || (Time = {}));
295
+ //#endregion
296
+ //#region ../../../vendor/include/src/journal.ts
297
+ function diffOptions(legacy, options) {
298
+ const changes = {};
299
+ for (const key of new Set([...Object.keys(legacy), ...Object.keys(options)])) {
300
+ if (key === "id") continue;
301
+ if (deepEqual(legacy[key], options[key])) continue;
302
+ changes[key] = options[key];
303
+ }
304
+ return changes;
305
+ }
306
+ /** Fold a later record into an earlier one for the same entry. */
307
+ function mergeRecords(older, newer) {
308
+ if (!older) return newer;
309
+ if (newer.kind === "remove") return older.kind === "upsert" && older.created ? void 0 : newer;
310
+ if (older.kind === "remove") return {
311
+ ...newer,
312
+ created: false
313
+ };
314
+ const relocated = newer.parent !== void 0;
315
+ return {
316
+ kind: "upsert",
317
+ created: older.created,
318
+ parent: relocated ? newer.parent : older.parent,
319
+ position: relocated ? newer.position : older.position,
320
+ changes: {
321
+ ...older.changes,
322
+ ...newer.changes
323
+ }
324
+ };
325
+ }
326
+ function merge(journal, id, record) {
327
+ const merged = mergeRecords(journal.get(id), record);
328
+ if (merged) journal.set(id, merged);
329
+ else journal.delete(id);
330
+ }
331
+ function record$1(journal, change, parent) {
332
+ const { id, options, legacy } = change;
333
+ if (!options) return merge(journal, id, { kind: "remove" });
334
+ const position = change.group.data.indexOf(options);
335
+ if (!legacy) return merge(journal, id, {
336
+ kind: "upsert",
337
+ created: true,
338
+ parent,
339
+ position,
340
+ changes: omit(options, ["id"])
341
+ });
342
+ merge(journal, id, {
343
+ kind: "upsert",
344
+ created: false,
345
+ parent: change.from ? parent : void 0,
346
+ position,
347
+ changes: diffOptions(legacy, options)
348
+ });
349
+ }
350
+ /** Index every entry (including nested group members) by id. */
351
+ function flatten(data, parent = null, result = /* @__PURE__ */ new Map()) {
352
+ data.forEach((options, position) => {
353
+ if (options.id) result.set(options.id, {
354
+ parent,
355
+ position,
356
+ options,
357
+ list: data
358
+ });
359
+ if (options.group && Array.isArray(options.config)) flatten(options.config, options.id ?? null, result);
360
+ });
361
+ return result;
362
+ }
363
+ function applyChanges(options, changes, filter) {
364
+ for (const [key, value] of Object.entries(changes)) {
365
+ if (filter && !filter(key)) continue;
366
+ if (value === void 0) delete options[key];
367
+ else options[key] = value;
368
+ }
369
+ }
370
+ function detach(data, id) {
371
+ const flat = flatten(data).get(id);
372
+ if (!flat) return;
373
+ flat.list.splice(flat.list.indexOf(flat.options), 1);
374
+ return flat.options;
130
375
  }
131
376
  /**
132
- * Apply patch lists to an entry list — THE patch semantics of this include,
133
- * shared by mounting (`applyPatches`) and offline config tooling
134
- * (`dsh --dump-config`) so a dump can never drift from what boots. The input
135
- * is never mutated: patching shared entry objects would bake earlier patch
136
- * values into the cached parse, so repeated application (config hot-reloads)
137
- * could never revert a removed or changed patch. Inserted entries are indexed
138
- * as they are added, so a later patch in the same list can target a row an
139
- * earlier patch inserted. A patch that matches nothing warns and is skipped.
140
- * @param data - the parsed entry list (JSON-safe plain data).
141
- * @param patches - the patch list to apply, in order.
142
- * @param warn - sink for skipped-patch diagnostics (printf-style, `%C` = code).
143
- * @returns a detached entry list with every applicable patch applied.
377
+ * Insert `options` under `parent` (a group id, or `null` for the root) at
378
+ * `position`, clamped to the group's length. Returns false when the parent
379
+ * group does not exist.
144
380
  */
145
- function applyEntryPatches(data, patches, warn) {
146
- if (!patches?.length) return [...data];
381
+ function place(data, options, parent, position) {
382
+ let list = data;
383
+ if (parent !== null) {
384
+ const group = flatten(data).get(parent);
385
+ if (!group?.options.group) return false;
386
+ list = group.options.config ??= [];
387
+ }
388
+ list.splice(Math.min(position, list.length), 0, options);
389
+ return true;
390
+ }
391
+ /**
392
+ * Overlay a journal onto `data` in place. `filter(id, key)` restricts which
393
+ * changes apply; `key` is `null` when asking about the entry as a whole
394
+ * (creation, removal, relocation).
395
+ */
396
+ function applyJournal(data, journal, filter = () => true, warn = () => {}) {
397
+ for (const [id, record] of journal) {
398
+ if (!filter(id, null)) continue;
399
+ if (record.kind === "remove") {
400
+ detach(data, id);
401
+ continue;
402
+ }
403
+ const flat = flatten(data).get(id);
404
+ if (!flat) {
405
+ const options = { id };
406
+ applyChanges(options, record.changes, (key) => filter(id, key));
407
+ const parent = record.parent ?? null;
408
+ if (!place(data, options, parent, record.position)) warn("cannot place entry %C: group %C not found", id, parent);
409
+ continue;
410
+ }
411
+ applyChanges(flat.options, record.changes, (key) => filter(id, key));
412
+ if (record.parent !== void 0 && flat.parent !== record.parent) {
413
+ detach(data, id);
414
+ if (!place(data, flat.options, record.parent, record.position)) {
415
+ warn("cannot move entry %C: group %C not found", id, record.parent);
416
+ place(data, flat.options, flat.parent, flat.position);
417
+ }
418
+ }
419
+ }
420
+ return data;
421
+ }
422
+ /**
423
+ * Three-way reconciliation of a journal against a new file state. The file
424
+ * wins every conflict: conflicting keys are dropped from the journal so that
425
+ * the tree follows the file, and each drop is reported.
426
+ *
427
+ * `fileOwned(id, key)` scopes the check to what the file can actually express
428
+ * (patch-owned keys and patch-inserted entries live elsewhere).
429
+ */
430
+ function reconcile(journal, base, theirs, fileOwned) {
431
+ const conflicts = [];
432
+ for (const [id, record] of journal) {
433
+ if (!fileOwned(id, null)) continue;
434
+ const b = base.get(id);
435
+ const t = theirs.get(id);
436
+ if (record.kind === "remove") {
437
+ if (!t) journal.delete(id);
438
+ else if (!b || !deepEqual(t.options, b.options)) {
439
+ conflicts.push({
440
+ id,
441
+ reason: b ? "modified in file, removed at runtime" : "added in file, removed at runtime"
442
+ });
443
+ journal.delete(id);
444
+ }
445
+ continue;
446
+ }
447
+ if (!t) {
448
+ if (b) {
449
+ conflicts.push({
450
+ id,
451
+ reason: "removed in file, modified at runtime"
452
+ });
453
+ journal.delete(id);
454
+ }
455
+ continue;
456
+ }
457
+ if (record.created) record.created = false;
458
+ for (const key of Object.keys(record.changes)) {
459
+ if (!fileOwned(id, key)) continue;
460
+ const bv = b?.options[key];
461
+ const tv = t.options[key];
462
+ if (deepEqual(bv, tv) || deepEqual(tv, record.changes[key])) continue;
463
+ conflicts.push({
464
+ id,
465
+ reason: `key "${key}" modified both in file and at runtime`
466
+ });
467
+ delete record.changes[key];
468
+ }
469
+ if (record.parent !== void 0 && b && t.parent !== b.parent && t.parent !== record.parent) {
470
+ conflicts.push({
471
+ id,
472
+ reason: "moved both in file and at runtime"
473
+ });
474
+ record.parent = void 0;
475
+ }
476
+ const moved = record.parent !== void 0 && record.parent !== t.parent;
477
+ if (!Object.keys(record.changes).length && !moved) journal.delete(id);
478
+ }
479
+ return conflicts;
480
+ }
481
+ //#endregion
482
+ //#region ../../../vendor/include/src/patch.ts
483
+ function randomId(used) {
484
+ let id;
485
+ do
486
+ id = Math.random().toString(16).slice(2, 10);
487
+ while (used(id));
488
+ return id;
489
+ }
490
+ /** Give every entry (nested groups included) an id, in place. */
491
+ function ensureIds(entries, used) {
492
+ for (const entry of entries) {
493
+ if (!entry.id) entry.id = randomId(used);
494
+ if (entry.group && Array.isArray(entry.config)) ensureIds(entry.config, used);
495
+ }
496
+ }
497
+ /** Runtime changes are routed back to an inserted entry by its id, so every insert needs one. */
498
+ function ensureInsertIds(patches, used) {
499
+ for (const patch of patches ?? []) if (patch.insert) ensureIds(patch.insert, used);
500
+ }
501
+ /**
502
+ * Overlay `patches` onto a fresh clone of `data`. Inserted entries are cloned
503
+ * too, so the tree owns every object it mounts.
504
+ */
505
+ function applyPatches(data, patches, warn) {
147
506
  data = structuredClone(data);
507
+ if (!patches?.length) return data;
148
508
  const entryMap = /* @__PURE__ */ new Map();
149
509
  const buildMap = (entries) => {
150
510
  for (const entry of entries) {
@@ -156,6 +516,7 @@ function applyEntryPatches(data, patches, warn) {
156
516
  for (const patch of patches) {
157
517
  const { id, insert, name, ...overrides } = patch;
158
518
  if (insert) {
519
+ const clone = structuredClone(insert);
159
520
  if (id) {
160
521
  const target = entryMap.get(id);
161
522
  if (!target) {
@@ -167,9 +528,9 @@ function applyEntryPatches(data, patches, warn) {
167
528
  continue;
168
529
  }
169
530
  if (!Array.isArray(target.config)) target.config = [];
170
- target.config.push(...insert);
171
- } else data.push(...insert);
172
- buildMap(insert);
531
+ target.config.push(...clone);
532
+ } else data.push(...clone);
533
+ buildMap(clone);
173
534
  continue;
174
535
  }
175
536
  if (!id) {
@@ -192,143 +553,478 @@ function applyEntryPatches(data, patches, warn) {
192
553
  }
193
554
  return data;
194
555
  }
195
- /** Loader entry tree backed by a YAML or JSON file. */
556
+ var PatchIndex = class {
557
+ patches;
558
+ keys = /* @__PURE__ */ new Map();
559
+ inserts = /* @__PURE__ */ new Map();
560
+ constructor(patches) {
561
+ this.patches = patches;
562
+ patches.forEach((patch, index) => {
563
+ const { id, insert } = patch;
564
+ if (insert) {
565
+ const walk = (list, parent) => {
566
+ for (const options of list) {
567
+ this.inserts.set(options.id, {
568
+ type: "insert",
569
+ index,
570
+ list,
571
+ options,
572
+ parent
573
+ });
574
+ if (options.group && Array.isArray(options.config)) walk(options.config, options.id);
575
+ }
576
+ };
577
+ walk(insert, id ?? null);
578
+ return;
579
+ }
580
+ if (!id) return;
581
+ const keys = this.keys.get(id) ?? /* @__PURE__ */ new Map();
582
+ for (const key of Object.keys(omit(patch, [
583
+ "id",
584
+ "insert",
585
+ "name"
586
+ ]))) keys.set(key, index);
587
+ this.keys.set(id, keys);
588
+ });
589
+ }
590
+ /** Owner of the entry as a whole. */
591
+ entry(id) {
592
+ if (id === null) return { type: "file" };
593
+ return this.inserts.get(id) ?? { type: "file" };
594
+ }
595
+ /** Owner of one key of an entry. */
596
+ key(id, key) {
597
+ const insert = this.inserts.get(id);
598
+ if (insert) return insert;
599
+ const index = this.keys.get(id)?.get(key);
600
+ return index === void 0 ? { type: "file" } : {
601
+ type: "patch",
602
+ index
603
+ };
604
+ }
605
+ fileOwned(id, key) {
606
+ return (key === null ? this.entry(id) : this.key(id, key)).type === "file";
607
+ }
608
+ };
609
+ /**
610
+ * Route a journal to its owners: file-owned changes are applied to `data`,
611
+ * patch-owned ones to `patches`. Both are mutated in place, so pass clones.
612
+ * Returns whether any patch changed.
613
+ */
614
+ function routeJournal(journal, data, patches, warn) {
615
+ const index = new PatchIndex(patches);
616
+ let patched = false;
617
+ const insertList = (owner) => owner.options.config ??= [];
618
+ const placeAt = (options, parent, position) => {
619
+ const owner = index.entry(parent);
620
+ if (owner.type === "insert") {
621
+ const list = insertList(owner);
622
+ list.splice(Math.min(position, list.length), 0, options);
623
+ patched = true;
624
+ } else if (!place(data, options, parent, position)) warn("cannot place entry %C: group %C not found", options.id, parent);
625
+ };
626
+ for (const [id, record] of journal) {
627
+ const owner = index.entry(id);
628
+ if (record.kind === "remove") {
629
+ if (owner.type === "insert") {
630
+ owner.list.splice(owner.list.indexOf(owner.options), 1);
631
+ patched = true;
632
+ } else detach(data, id);
633
+ continue;
634
+ }
635
+ const current = owner.type === "insert" ? owner : flatten(data).get(id);
636
+ if (!current) {
637
+ const options = { id };
638
+ applyChanges(options, record.changes);
639
+ placeAt(options, record.parent ?? null, record.position);
640
+ continue;
641
+ }
642
+ if (record.parent !== void 0 && current.parent !== record.parent) {
643
+ if (owner.type === "insert") {
644
+ owner.list.splice(owner.list.indexOf(owner.options), 1);
645
+ patched = true;
646
+ } else detach(data, id);
647
+ applyChanges(current.options, record.changes);
648
+ placeAt(current.options, record.parent, record.position);
649
+ continue;
650
+ }
651
+ if (owner.type === "insert") {
652
+ applyChanges(current.options, record.changes);
653
+ patched = true;
654
+ continue;
655
+ }
656
+ const patchChanges = {};
657
+ applyChanges(current.options, record.changes, (key) => {
658
+ const keyOwner = index.key(id, key);
659
+ if (keyOwner.type !== "patch") return true;
660
+ (patchChanges[keyOwner.index] ??= {})[key] = record.changes[key];
661
+ return false;
662
+ });
663
+ for (const [i, changes] of Object.entries(patchChanges)) {
664
+ applyChanges(patches[i], changes);
665
+ patched = true;
666
+ }
667
+ }
668
+ return patched;
669
+ }
670
+ //#endregion
671
+ //#region ../../../vendor/include/src/index.ts
672
+ const JsExpr = new yaml.Type("tag:yaml.org,2002:js", {
673
+ kind: "scalar",
674
+ resolve: (data) => typeof data === "string",
675
+ construct: (data) => ({ __jsExpr: data }),
676
+ predicate: isJsExpr,
677
+ represent: (data) => data["__jsExpr"]
678
+ });
679
+ /** YAML dialect preserving child-owned JavaScript expression nodes. */
680
+ const entryListSchema = yaml.JSON_SCHEMA.extend(JsExpr);
681
+ const schema = entryListSchema;
682
+ const types = {
683
+ ".json": "application/json",
684
+ ".yaml": "application/yaml",
685
+ ".yml": "application/yaml"
686
+ };
687
+ var ConfigFileError = class extends Error {
688
+ stage;
689
+ name = "ConfigFileError";
690
+ constructor(stage, path, cause) {
691
+ super(`failed to ${stage} config file ${path}`, { cause });
692
+ this.stage = stage;
693
+ }
694
+ };
695
+ /** The file changed under us between the pre-check and the rename. */
696
+ var StaleWriteError = class extends Error {
697
+ name = "StaleWriteError";
698
+ };
699
+ function isENOENT(error) {
700
+ return error?.code === "ENOENT";
701
+ }
702
+ const RENAME_RETRIES = 10;
703
+ const RENAME_BACKOFF = 20;
704
+ /**
705
+ * On Windows a rename over a file that another process holds open (typically
706
+ * an antivirus scanning what we just wrote) fails with one of these; the lock
707
+ * is normally gone within milliseconds. A bounded retry is cheap enough to
708
+ * apply on every platform.
709
+ */
710
+ function isTransientRenameError(error) {
711
+ const code = error?.code;
712
+ return code === "EACCES" || code === "EPERM" || code === "EBUSY";
713
+ }
196
714
  var Include = class extends EntryTree {
197
715
  config;
198
716
  static inject = ["loader"];
199
717
  static [EntryGroup.key] = true;
200
718
  filename;
201
719
  type;
202
- readonly;
203
- content;
204
- data;
205
- writeTask;
206
- pendingWrite;
207
- writeQueue = Promise.resolve();
720
+ /** The last file state we read or wrote. */
721
+ cache;
722
+ /** Tree-side changes that have not reached the file yet. */
723
+ journal = /* @__PURE__ */ new Map();
724
+ /** Ids we assigned to entries the file leaves anonymous. */
725
+ anonymous = /* @__PURE__ */ new Map();
726
+ dirtyRead = false;
727
+ dirtyWrite = false;
728
+ _draining;
729
+ /** Only the latest intended tree is ever applied; older ones are skipped. */
730
+ _pendingTree;
731
+ _applyTask;
732
+ _disposed = false;
733
+ _seq = 0;
734
+ persistenceError;
208
735
  constructor(ctx, config) {
209
736
  super(ctx);
210
737
  this.config = config;
211
738
  this.enableLogs = config.enableLogs ?? ctx.fiber.entry?.parent.tree.enableLogs ?? false;
212
739
  this.filename = fileURLToPath(new URL(this.config.path, this.ctx.baseUrl));
213
740
  const ext = extname(this.filename);
214
- if (!supported.has(ext)) throw new Error(`extension "${ext}" not supported`);
215
- this.type = writable[ext];
216
- this.readonly = !this.type;
741
+ if (!types[ext]) throw new Error(`extension "${ext}" not supported`);
742
+ this.type = types[ext];
217
743
  this.ctx.baseUrl = new URL(".", pathToFileURL(this.filename)).href;
744
+ ensureInsertIds(config.patches, (id) => !!this.store[id]);
218
745
  ctx.on("internal/update", (config, next) => {
219
746
  if (config.path !== this.config.path) return next();
220
747
  this.config = config;
221
- return this.root.update(this.applyPatches(this.data, config.patches)).catch((error) => {
222
- this.ctx.logger.warn("config update at %C failed", this.filename);
223
- this.ctx.logger.warn(error);
224
- });
225
- });
226
- }
227
- async checkAccess() {
228
- if (!this.type) return;
229
- try {
230
- await access(this.filename, constants.W_OK);
231
- } catch {
232
- this.readonly = true;
233
- }
234
- }
235
- async read(forced = false) {
236
- const content = await readFile(this.filename, "utf8");
237
- if (!forced && this.content === content) return false;
238
- let data;
239
- if (this.type === "application/yaml") data = yaml.load(content, { schema: entryListSchema });
240
- else if (this.type === "application/json") data = JSON.parse(content);
241
- else {
242
- const module = await import(
243
- /* @vite-ignore */
244
- this.filename
245
- );
246
- data = module.default || module;
247
- }
248
- if (!Array.isArray(data)) throw new TypeError(`config file must be a top-level array of entries: ${this.filename}`);
249
- this.content = content;
250
- this.data = data;
251
- await this.checkAccess();
252
- return true;
253
- }
254
- applyPatches(data, patches = this.config.patches) {
255
- return applyEntryPatches(data, patches, (message, ...args) => {
256
- this.ctx.root.logger?.("loader").warn(message, ...args);
748
+ ensureInsertIds(config.patches, (id) => !!this.store[id]);
749
+ this._scheduleApply();
750
+ return this._applyTask;
257
751
  });
258
752
  }
753
+ warn = (format, ...args) => {
754
+ this.ctx.root.logger?.("loader").warn(format, ...args);
755
+ };
259
756
  async *[Service.init]() {
260
757
  try {
261
- await this.read();
758
+ await this._read();
262
759
  } catch (error) {
263
- if (error?.code !== "ENOENT") throw error;
264
- if (this.config.initial) {
265
- await this._writeFile(this.config.initial);
266
- await this.read(true);
267
- } else throw new Error(`config file not found: ${this.filename}`);
760
+ if (!isENOENT(error instanceof ConfigFileError && error.stage === "read" ? error.cause : void 0)) throw error;
761
+ if (!this.config.initial) throw new Error(`config file not found: ${this.filename}`);
762
+ const initial = structuredClone(this.config.initial);
763
+ ensureIds(initial, (id) => !!this.store[id]);
764
+ await this._writeText(this.dump(initial));
765
+ await this._read();
268
766
  }
269
767
  yield () => this.stop();
270
- await this.root.update(this.applyPatches(this.data));
768
+ await this._applyTask;
271
769
  }
272
770
  async stop() {
771
+ this._disposed = true;
772
+ this._pendingTree = void 0;
773
+ if (this.journal.size) {
774
+ this.dirtyWrite = true;
775
+ this._drain();
776
+ }
273
777
  try {
274
- await this.flushWrite();
778
+ await this.flush();
275
779
  } finally {
276
780
  this.root.stop();
277
- await this.flushWrite();
278
781
  }
279
782
  }
280
783
  /**
281
- * Re-read the file and refresh child entries when content changed. An
282
- * unreadable or unparsable file logs a warning and keeps the last good
283
- * tree: a hot-reload of a live app must never take the process down.
784
+ * Resolves once every pending read and write has been processed and the
785
+ * tree reflects the outcome. Retries pending writes and rejects while changes remain unsaved.
284
786
  */
285
- async refresh() {
787
+ async flush() {
788
+ if (this.journal.size && !this._draining) {
789
+ this.dirtyWrite = true;
790
+ this._drain();
791
+ }
792
+ while (this._draining || this._applyTask) {
793
+ await this._draining;
794
+ await this._applyTask;
795
+ }
796
+ if (this.journal.size) throw this.persistenceError ?? /* @__PURE__ */ new Error(`config file ${this.filename} has ${this.journal.size} unsaved change(s)`);
797
+ this.persistenceError = void 0;
798
+ }
799
+ /** Re-read the file and reconcile the tree with it. */
800
+ refresh() {
801
+ this.dirtyRead = true;
802
+ this._drain();
803
+ return this.flush();
804
+ }
805
+ /** Called synchronously by the loader once a tree-side change is in place. */
806
+ commit(change) {
807
+ this.context.emit("loader/config-update");
808
+ const parent = change.group === this.root ? null : change.group.ctx.fiber.entry.options.id;
809
+ record$1(this.journal, change, parent);
810
+ this.dirtyWrite = true;
811
+ this._drain();
812
+ }
813
+ _drain() {
814
+ if (this._draining) return;
815
+ this._draining = this._loop().finally(() => {
816
+ this._draining = void 0;
817
+ });
818
+ }
819
+ async _loop() {
820
+ while (this.dirtyRead || this.dirtyWrite) {
821
+ if (this.dirtyRead) {
822
+ this.dirtyRead = false;
823
+ try {
824
+ await this._read();
825
+ } catch (error) {
826
+ this.persistenceError = error;
827
+ this.ctx.logger.warn(error);
828
+ if (this.dirtyRead) continue;
829
+ return;
830
+ }
831
+ }
832
+ if (this.dirtyWrite) {
833
+ this.dirtyWrite = false;
834
+ try {
835
+ await this._write();
836
+ } catch (error) {
837
+ this.persistenceError = error;
838
+ this.ctx.logger.error(error);
839
+ }
840
+ }
841
+ }
842
+ }
843
+ async _read() {
844
+ let content;
845
+ try {
846
+ content = await readFile(this.filename, "utf8");
847
+ } catch (error) {
848
+ throw new ConfigFileError("read", this.filename, error);
849
+ }
850
+ if (content === this.cache?.content) return;
851
+ let data;
286
852
  try {
287
- if (!await this.read()) return;
288
- await this.root.update(this.applyPatches(this.data));
853
+ data = this.type === "application/yaml" ? yaml.load(content, { schema }) : JSON.parse(content);
289
854
  } catch (error) {
290
- this.ctx.logger.warn("config reload at %C failed; keeping the running tree", this.filename);
291
- this.ctx.logger.warn(error);
855
+ throw new ConfigFileError("parse", this.filename, error);
856
+ }
857
+ if (!Array.isArray(data)) throw new ConfigFileError("validate", this.filename, /* @__PURE__ */ new TypeError("config file must be a top-level array"));
858
+ this._assignIds(data);
859
+ if (this.cache) {
860
+ const index = new PatchIndex(this.config.patches ?? []);
861
+ const conflicts = reconcile(this.journal, flatten(this.cache.data), flatten(data), (id, key) => index.fileOwned(id, key));
862
+ for (const { id, reason } of conflicts) this.ctx.logger.error("config conflict in %C: entry %C %s; file wins", this.filename, id, reason);
292
863
  }
864
+ this.cache = {
865
+ content,
866
+ data
867
+ };
868
+ this._scheduleApply();
869
+ if (this.journal.size) this.dirtyWrite = true;
293
870
  }
294
- async _writeFile(config) {
295
- if (this.readonly) throw new Error(`cannot overwrite readonly config`);
296
- if (this.type === "application/yaml") this.content = yaml.dump(config, { schema });
297
- else if (this.type === "application/json") this.content = JSON.stringify(config, null, 2);
298
- await writeFile(this.filename + ".tmp", this.content);
299
- for (let retry = 0;; retry++) try {
300
- await rename(this.filename + ".tmp", this.filename);
871
+ async _write() {
872
+ if (!this.cache || !this.journal.size) return;
873
+ const current = await readFile(this.filename, "utf8").catch((error) => {
874
+ if (isENOENT(error)) return void 0;
875
+ throw error;
876
+ });
877
+ if (current === void 0) {
878
+ this.ctx.logger.warn("config file %C is missing, %d pending change(s) kept in memory", this.filename, this.journal.size);
879
+ return;
880
+ }
881
+ if (current !== this.cache.content) {
882
+ this.dirtyRead = true;
883
+ this.dirtyWrite = true;
301
884
  return;
885
+ }
886
+ const batch = this.journal;
887
+ this.journal = /* @__PURE__ */ new Map();
888
+ const restore = () => {
889
+ for (const [id, record] of this.journal) merge(batch, id, record);
890
+ this.journal = batch;
891
+ };
892
+ const data = structuredClone(this.cache.data);
893
+ const patches = structuredClone(this.config.patches ?? []);
894
+ if (routeJournal(batch, data, patches, this.warn)) {
895
+ this.config = {
896
+ ...this.config,
897
+ patches
898
+ };
899
+ if (this.ctx.fiber.entry) try {
900
+ Promise.resolve(this.ctx.fiber.update(this.config)).catch((error) => {
901
+ this.ctx.logger.error(error);
902
+ });
903
+ } catch (error) {
904
+ this.ctx.logger.error(error);
905
+ }
906
+ else this.ctx.logger.warn("patches of %C changed at runtime but cannot be persisted", this.filename);
907
+ }
908
+ if (deepEqual(data, this.cache.data)) {
909
+ this._scheduleApply();
910
+ return;
911
+ }
912
+ const text = this.dump(data);
913
+ try {
914
+ await access(this.filename, constants.W_OK);
915
+ } catch {
916
+ restore();
917
+ this.ctx.logger.warn("config file %C is read-only, %d pending change(s) kept in memory", this.filename, this.journal.size);
918
+ return;
919
+ }
920
+ try {
921
+ await this._writeText(text, this.cache.content);
922
+ } catch (error) {
923
+ restore();
924
+ if (error instanceof StaleWriteError) {
925
+ this.dirtyRead = true;
926
+ this.dirtyWrite = true;
927
+ return;
928
+ }
929
+ this.ctx.logger.warn("failed to write config file %C, %d pending change(s) kept in memory", this.filename, this.journal.size);
930
+ throw error;
931
+ }
932
+ this.cache = {
933
+ content: text,
934
+ data
935
+ };
936
+ this._scheduleApply();
937
+ }
938
+ /**
939
+ * Write through a temp file and a rename, so that no reader ever sees a
940
+ * truncated file. When `expected` is given, the rename (and every retry of
941
+ * it) only goes ahead while the file still holds that content.
942
+ */
943
+ async _writeText(text, expected) {
944
+ const tmp = join(dirname(this.filename), `.${basename(this.filename)}.${process.pid}.${this._seq++}.tmp`);
945
+ try {
946
+ await writeFile(tmp, text);
947
+ for (let attempt = 0;; attempt++) {
948
+ if (expected !== void 0) {
949
+ if (await readFile(this.filename, "utf8").catch((error) => {
950
+ if (isENOENT(error)) return void 0;
951
+ throw error;
952
+ }) !== expected) throw new StaleWriteError();
953
+ }
954
+ try {
955
+ await rename(tmp, this.filename);
956
+ return;
957
+ } catch (error) {
958
+ if (attempt >= RENAME_RETRIES || !isTransientRenameError(error)) throw error;
959
+ }
960
+ await setTimeout$1(RENAME_BACKOFF * (attempt + 1));
961
+ }
302
962
  } catch (error) {
303
- if (!retryableWriteError(error) || retry >= WRITE_RETRY_LIMIT) throw error;
304
- await setTimeout$1((retry + 1) * WRITE_RETRY_DELAY_MS);
963
+ await rm(tmp, { force: true }).catch(() => {});
964
+ throw error;
305
965
  }
306
966
  }
307
- writeFile(config) {
308
- clearTimeout(this.writeTask);
309
- this.pendingWrite = config;
310
- this.writeTask = setTimeout(() => {
311
- this.flushWrite();
312
- }, 0);
313
- }
314
- flushWrite() {
315
- clearTimeout(this.writeTask);
316
- this.writeTask = void 0;
317
- const config = this.pendingWrite;
318
- this.pendingWrite = void 0;
319
- if (config === void 0) return this.writeQueue;
320
- const run = this.writeQueue.then(() => this._writeFile(config), () => this._writeFile(config));
321
- this.writeQueue = run;
322
- run.catch((error) => {
323
- this.ctx.root.logger?.("loader").warn("failed to write config file %C", this.filename);
324
- this.ctx.root.logger?.("loader").warn(error);
325
- });
326
- return run;
967
+ dump(data) {
968
+ return this.type === "application/yaml" ? yaml.dump(data, { schema }) : JSON.stringify(data, null, 2);
327
969
  }
328
- /** Schedule a write of the current root entry data. */
329
- write() {
330
- this.context.emit("loader/config-update");
331
- return this.writeFile(this.root.data);
970
+ /**
971
+ * Entries the file leaves anonymous get an id here, before the loader sees
972
+ * them. One that looks exactly like an entry we named on the previous read
973
+ * keeps that id, so editing a neighbor does not restart it; anything else
974
+ * gets a fresh id. Assigned ids stay in memory until the next write.
975
+ */
976
+ _assignIds(data) {
977
+ const used = /* @__PURE__ */ new Set();
978
+ const pending = [];
979
+ const walk = (entries, parent) => {
980
+ for (const options of entries) {
981
+ if (options.id) used.add(options.id);
982
+ else pending.push({
983
+ options,
984
+ parent
985
+ });
986
+ if (options.group && Array.isArray(options.config)) walk(options.config, options.id ?? null);
987
+ }
988
+ };
989
+ walk(data, null);
990
+ const previous = this.anonymous;
991
+ this.anonymous = /* @__PURE__ */ new Map();
992
+ for (const { options, parent } of pending) {
993
+ let id;
994
+ for (const [candidate, info] of previous) {
995
+ if (info.parent !== parent || !deepEqual(info.options, options)) continue;
996
+ id = candidate;
997
+ previous.delete(candidate);
998
+ break;
999
+ }
1000
+ if (!id) do
1001
+ id = Math.random().toString(16).slice(2, 10);
1002
+ while (used.has(id) || this.store[id]);
1003
+ used.add(id);
1004
+ this.anonymous.set(id, {
1005
+ parent,
1006
+ options: structuredClone(options)
1007
+ });
1008
+ const rest = { ...options };
1009
+ for (const key of Object.keys(options)) delete options[key];
1010
+ Object.assign(options, { id }, rest);
1011
+ }
1012
+ }
1013
+ _scheduleApply() {
1014
+ if (this._disposed || !this.cache) return;
1015
+ const tree = applyPatches(this.cache.data, this.config.patches, this.warn);
1016
+ this._pendingTree = applyJournal(tree, this.journal, void 0, this.warn);
1017
+ this._applyTask ??= (async () => {
1018
+ try {
1019
+ while (this._pendingTree) {
1020
+ const tree = this._pendingTree;
1021
+ this._pendingTree = void 0;
1022
+ await this.root.update(tree);
1023
+ }
1024
+ } finally {
1025
+ this._applyTask = void 0;
1026
+ }
1027
+ })();
332
1028
  }
333
1029
  };
334
1030
  //#endregion
@@ -1168,7 +1864,7 @@ function loadProfile(binName, name, installAnchor, home = resolveDshHome(), opti
1168
1864
  * @returns the composed entry list.
1169
1865
  */
1170
1866
  function composeEntries(layers, warn = () => {}) {
1171
- return applyEntryPatches([], structuredClone(layers.flat()), (message, ...args) => {
1867
+ return applyPatches([], structuredClone(layers.flat()), (message, ...args) => {
1172
1868
  let index = 0;
1173
1869
  warn(message.replace(/%C/g, () => JSON.stringify(args[index++])));
1174
1870
  });
@@ -2467,7 +3163,7 @@ function preflight(ctx, entries, parentURL, report) {
2467
3163
  data = config.initial;
2468
3164
  }
2469
3165
  if (!Array.isArray(data)) return void 0;
2470
- return check(applyEntryPatches(data, config.patches, patchWarning(ctx)), pathToFileURL(filename).href) ? `its included file ${filename} reaches an incompatible plugin, and that file is never rewritten` : void 0;
3166
+ return check(applyPatches(data, config.patches, patchWarning(ctx)), pathToFileURL(filename).href) ? `its included file ${filename} reaches an incompatible plugin, and that file is never rewritten` : void 0;
2471
3167
  } finally {
2472
3168
  includes.delete(filename);
2473
3169
  }
@@ -2488,7 +3184,7 @@ function preflight(ctx, entries, parentURL, report) {
2488
3184
  */
2489
3185
  function prepareProfilePatches(ctx, patches, parentURL, binName = "dsh") {
2490
3186
  if (ctx.get("profileContext") === void 0) return patches;
2491
- const rows = prepareProfileEntries(ctx, applyEntryPatches([], patches, patchWarning(ctx)), parentURL, binName);
3187
+ const rows = prepareProfileEntries(ctx, applyPatches([], patches, patchWarning(ctx)), parentURL, binName);
2492
3188
  return rows.length === 0 ? [] : [{ insert: rows }];
2493
3189
  }
2494
3190
  //#endregion
@@ -3414,7 +4110,7 @@ async function collectConfigSchemas(profile, entries, resolution, diagnostics =
3414
4110
  const rows = entryList(source);
3415
4111
  let children;
3416
4112
  try {
3417
- children = applyEntryPatches(rows, patches, warn(path));
4113
+ children = applyPatches(rows, patches, warn(path));
3418
4114
  } catch (error) {
3419
4115
  throw new Error(`include patches could not be composed for ${filename}; child declarations are unavailable`, { cause: error });
3420
4116
  }
@@ -4002,7 +4698,7 @@ function rowIds(patches) {
4002
4698
  if ((row.group === true || row.name === "cordis:group") && Array.isArray(row.config)) visit(row.config);
4003
4699
  }
4004
4700
  };
4005
- visit(applyEntryPatches([], patches, () => {}));
4701
+ visit(applyPatches([], patches, () => {}));
4006
4702
  return ids;
4007
4703
  }
4008
4704
  /** Publish a generation unless it maps exactly what is published, which would only drop the package caches. */
@@ -4157,7 +4853,7 @@ function renderConfigDump(binName, absoluteConfigPath, layers, warn = (line) =>
4157
4853
  const baseLabel = basename(absoluteConfigPath);
4158
4854
  const base = parsed;
4159
4855
  const snapshot = (count, warnings) => {
4160
- return applyEntryPatches(base, structuredClone(layers.slice(0, count).flatMap((layer) => layer.patches)), (message, ...args) => {
4856
+ return applyPatches(base, structuredClone(layers.slice(0, count).flatMap((layer) => layer.patches)), (message, ...args) => {
4161
4857
  let index = 0;
4162
4858
  warnings.push(message.replace(/%C/g, () => JSON.stringify(args[index++])));
4163
4859
  });