@askdkc/dsh-cli 0.11.7 → 0.12.1

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 (856) hide show
  1. package/LICENSE +1 -0
  2. package/README.md +49 -282
  3. package/cordis.patch.yml +1 -0
  4. package/cordis.yml +1 -0
  5. package/lib/types/adapter/channel/ui-policy.d.ts +1 -1
  6. package/lib/types/adapter/channel/ui-policy.d.ts.map +1 -1
  7. package/lib/types/adapter/channel/ui-policy.js +1 -0
  8. package/lib/types/adapter/ports/channel-ui.d.ts +2 -0
  9. package/lib/types/adapter/ports/channel-ui.d.ts.map +1 -1
  10. package/lib/types/components/LogoV2.d.ts +2 -1
  11. package/lib/types/components/LogoV2.d.ts.map +1 -1
  12. package/lib/types/components/LogoV2.js +9 -15
  13. package/lib/types/components/ModelDialogLayer.d.ts +12 -0
  14. package/lib/types/components/ModelDialogLayer.d.ts.map +1 -0
  15. package/lib/types/components/ModelDialogLayer.js +39 -0
  16. package/lib/types/components/ModelPicker.d.ts +12 -43
  17. package/lib/types/components/ModelPicker.d.ts.map +1 -1
  18. package/lib/types/components/ModelPicker.js +15 -47
  19. package/lib/types/components/Spinner/SpinnerAnimationRow.d.ts +6 -1
  20. package/lib/types/components/Spinner/SpinnerAnimationRow.d.ts.map +1 -1
  21. package/lib/types/components/Spinner/SpinnerAnimationRow.js +8 -9
  22. package/lib/types/components/WorkingSpinner.d.ts +3 -1
  23. package/lib/types/components/WorkingSpinner.d.ts.map +1 -1
  24. package/lib/types/components/WorkingSpinner.js +9 -4
  25. package/lib/types/components/bigfont.d.ts +2 -0
  26. package/lib/types/components/bigfont.d.ts.map +1 -1
  27. package/lib/types/components/bigfont.js +5 -1
  28. package/lib/types/components/design-system/ListItem.d.ts.map +1 -1
  29. package/lib/types/components/design-system/ListItem.js +1 -1
  30. package/lib/types/components/splashLayout.d.ts +12 -0
  31. package/lib/types/components/splashLayout.d.ts.map +1 -0
  32. package/lib/types/components/splashLayout.js +18 -0
  33. package/lib/types/dsh-adapter/activity-store.d.ts +1 -1
  34. package/lib/types/dsh-adapter/activity-store.d.ts.map +1 -1
  35. package/lib/types/dsh-adapter/channel/command-completions.d.ts.map +1 -1
  36. package/lib/types/dsh-adapter/channel/command-completions.js +11 -2
  37. package/lib/types/dsh-adapter/channel/projection.d.ts +1 -1
  38. package/lib/types/dsh-adapter/channel/projection.d.ts.map +1 -1
  39. package/lib/types/dsh-adapter/channel/projection.js +4 -0
  40. package/lib/types/dsh-adapter/channel/session-reset.d.ts +1 -1
  41. package/lib/types/dsh-adapter/channel/session-reset.d.ts.map +1 -1
  42. package/lib/types/dsh-adapter/channel/session-reset.js +2 -0
  43. package/lib/types/dsh-adapter/channel/state.d.ts +1 -1
  44. package/lib/types/dsh-adapter/channel/state.d.ts.map +1 -1
  45. package/lib/types/dsh-adapter/channel/state.js +2 -1
  46. package/lib/types/dsh-adapter/contract.d.ts +3 -3
  47. package/lib/types/dsh-adapter/contract.d.ts.map +1 -1
  48. package/lib/types/dsh-adapter/contract.js +4 -3
  49. package/lib/types/i18n.d.ts +44 -22
  50. package/lib/types/i18n.d.ts.map +1 -1
  51. package/lib/types/i18n.js +22 -6
  52. package/lib/types/modelFavorites.d.ts +8 -0
  53. package/lib/types/modelFavorites.d.ts.map +1 -0
  54. package/lib/types/modelFavorites.js +59 -0
  55. package/lib/types/modelGroups.d.ts +6 -7
  56. package/lib/types/modelGroups.d.ts.map +1 -1
  57. package/lib/types/modelGroups.js +8 -7
  58. package/lib/types/modelPickerRows.d.ts +19 -0
  59. package/lib/types/modelPickerRows.d.ts.map +1 -0
  60. package/lib/types/modelPickerRows.js +54 -0
  61. package/lib/types/screens/Chat.d.ts.map +1 -1
  62. package/lib/types/screens/Chat.js +189 -240
  63. package/lib/types/screens/chatOverlay.d.ts.map +1 -1
  64. package/lib/types/screens/chatOverlay.js +2 -0
  65. package/node_modules/@askdkc/dsh-auth/LICENSE +1 -0
  66. package/node_modules/@askdkc/dsh-auth/README.ja.md +17 -12
  67. package/node_modules/@askdkc/dsh-auth/README.md +18 -13
  68. package/node_modules/@askdkc/dsh-auth/package.json +17 -12
  69. package/node_modules/dsh-working-activity/LICENSE +28 -0
  70. package/node_modules/dsh-working-activity/README.md +16 -0
  71. package/node_modules/dsh-working-activity/cordis.patch.yml +19 -0
  72. package/node_modules/dsh-working-activity/lib/client.js +169 -0
  73. package/node_modules/dsh-working-activity/lib/client.js.map +1 -0
  74. package/node_modules/dsh-working-activity/lib/types/activity-event.d.ts +147 -0
  75. package/node_modules/dsh-working-activity/lib/types/activity-event.js +18 -0
  76. package/node_modules/dsh-working-activity/lib/types/client/WorkingLine.d.ts +8 -0
  77. package/node_modules/dsh-working-activity/lib/types/client/WorkingLine.d.ts.map +1 -0
  78. package/node_modules/dsh-working-activity/lib/types/client/WorkingLine.js +57 -0
  79. package/node_modules/dsh-working-activity/lib/types/client/activity.d.ts +37 -0
  80. package/node_modules/dsh-working-activity/lib/types/client/activity.d.ts.map +1 -0
  81. package/node_modules/dsh-working-activity/lib/types/client/activity.js +26 -0
  82. package/node_modules/dsh-working-activity/lib/types/client/elapsed.d.ts +41 -0
  83. package/node_modules/dsh-working-activity/lib/types/client/elapsed.d.ts.map +1 -0
  84. package/node_modules/dsh-working-activity/lib/types/client/elapsed.js +78 -0
  85. package/node_modules/dsh-working-activity/lib/types/client/index.d.ts +26 -0
  86. package/node_modules/dsh-working-activity/lib/types/client/index.d.ts.map +1 -0
  87. package/node_modules/dsh-working-activity/lib/types/client/index.js +19 -0
  88. package/node_modules/dsh-working-activity/lib/types/compat/assistant-stream.d.ts +59 -0
  89. package/node_modules/dsh-working-activity/lib/types/compat/assistant-stream.js +189 -0
  90. package/node_modules/dsh-working-activity/lib/types/compat/session-events.d.ts +38 -0
  91. package/node_modules/dsh-working-activity/lib/types/compat/session-events.js +193 -0
  92. package/node_modules/dsh-working-activity/lib/types/compat/tool-result.d.ts +72 -0
  93. package/node_modules/dsh-working-activity/lib/types/compat/tool-result.js +136 -0
  94. package/node_modules/dsh-working-activity/lib/types/config.d.ts +74 -0
  95. package/node_modules/dsh-working-activity/lib/types/config.js +142 -0
  96. package/node_modules/dsh-working-activity/lib/types/events.d.ts +41 -0
  97. package/node_modules/dsh-working-activity/lib/types/events.js +9 -0
  98. package/node_modules/dsh-working-activity/lib/types/frames.d.ts +36 -0
  99. package/node_modules/dsh-working-activity/lib/types/frames.js +126 -0
  100. package/node_modules/dsh-working-activity/lib/types/index.d.ts +71 -0
  101. package/node_modules/dsh-working-activity/lib/types/index.js +350 -0
  102. package/node_modules/dsh-working-activity/lib/types/invariant.d.ts +15 -0
  103. package/node_modules/dsh-working-activity/lib/types/invariant.js +72 -0
  104. package/node_modules/dsh-working-activity/lib/types/japanese.d.ts +28 -0
  105. package/node_modules/dsh-working-activity/lib/types/japanese.js +47 -0
  106. package/node_modules/dsh-working-activity/lib/types/lang.d.ts +140 -0
  107. package/node_modules/dsh-working-activity/lib/types/lang.js +209 -0
  108. package/node_modules/dsh-working-activity/lib/types/phrases.d.ts +246 -0
  109. package/node_modules/dsh-working-activity/lib/types/phrases.js +611 -0
  110. package/node_modules/dsh-working-activity/lib/types/projection.d.ts +168 -0
  111. package/node_modules/dsh-working-activity/lib/types/projection.js +162 -0
  112. package/node_modules/dsh-working-activity/lib/types/registration.d.ts +6 -0
  113. package/node_modules/dsh-working-activity/lib/types/registration.js +94 -0
  114. package/node_modules/dsh-working-activity/lib/types/status.d.ts +400 -0
  115. package/node_modules/dsh-working-activity/lib/types/status.js +1306 -0
  116. package/node_modules/dsh-working-activity/package.json +108 -0
  117. package/node_modules/dsh-working-activity/src/activity-event.ts +106 -0
  118. package/node_modules/dsh-working-activity/src/client/WorkingLine.module.css +74 -0
  119. package/node_modules/dsh-working-activity/src/client/WorkingLine.tsx +94 -0
  120. package/node_modules/dsh-working-activity/src/client/activity.ts +43 -0
  121. package/node_modules/dsh-working-activity/src/client/css-modules.d.ts +6 -0
  122. package/node_modules/dsh-working-activity/src/client/elapsed.ts +88 -0
  123. package/node_modules/dsh-working-activity/src/client/index.ts +45 -0
  124. package/node_modules/dsh-working-activity/src/compat/assistant-stream.ts +209 -0
  125. package/node_modules/dsh-working-activity/src/compat/session-events.ts +201 -0
  126. package/node_modules/dsh-working-activity/src/compat/tool-result.ts +132 -0
  127. package/node_modules/dsh-working-activity/src/config.ts +176 -0
  128. package/node_modules/dsh-working-activity/src/events.ts +45 -0
  129. package/node_modules/dsh-working-activity/src/frames.ts +138 -0
  130. package/node_modules/dsh-working-activity/src/index.ts +467 -0
  131. package/node_modules/dsh-working-activity/src/invariant.ts +98 -0
  132. package/node_modules/dsh-working-activity/src/japanese.ts +47 -0
  133. package/node_modules/dsh-working-activity/src/lang.ts +221 -0
  134. package/node_modules/dsh-working-activity/src/phrases.ts +715 -0
  135. package/node_modules/dsh-working-activity/src/projection.ts +259 -0
  136. package/node_modules/dsh-working-activity/src/registration.ts +99 -0
  137. package/node_modules/dsh-working-activity/src/status.ts +1474 -0
  138. package/package.json +104 -100
  139. package/vendor/dsh-working-activity/node_modules/zod/LICENSE +21 -0
  140. package/vendor/dsh-working-activity/node_modules/zod/README.md +191 -0
  141. package/vendor/dsh-working-activity/node_modules/zod/index.cjs +33 -0
  142. package/vendor/dsh-working-activity/node_modules/zod/index.d.cts +4 -0
  143. package/vendor/dsh-working-activity/node_modules/zod/index.d.ts +4 -0
  144. package/vendor/dsh-working-activity/node_modules/zod/index.js +4 -0
  145. package/vendor/dsh-working-activity/node_modules/zod/locales/index.cjs +17 -0
  146. package/vendor/dsh-working-activity/node_modules/zod/locales/index.d.cts +1 -0
  147. package/vendor/dsh-working-activity/node_modules/zod/locales/index.d.ts +1 -0
  148. package/vendor/dsh-working-activity/node_modules/zod/locales/index.js +1 -0
  149. package/vendor/dsh-working-activity/node_modules/zod/locales/package.json +7 -0
  150. package/vendor/dsh-working-activity/node_modules/zod/mini/index.cjs +32 -0
  151. package/vendor/dsh-working-activity/node_modules/zod/mini/index.d.cts +3 -0
  152. package/vendor/dsh-working-activity/node_modules/zod/mini/index.d.ts +3 -0
  153. package/vendor/dsh-working-activity/node_modules/zod/mini/index.js +3 -0
  154. package/vendor/dsh-working-activity/node_modules/zod/mini/package.json +7 -0
  155. package/vendor/dsh-working-activity/node_modules/zod/package.json +135 -0
  156. package/vendor/dsh-working-activity/node_modules/zod/src/index.ts +4 -0
  157. package/vendor/dsh-working-activity/node_modules/zod/src/locales/index.ts +1 -0
  158. package/vendor/dsh-working-activity/node_modules/zod/src/mini/index.ts +3 -0
  159. package/vendor/dsh-working-activity/node_modules/zod/src/v3/ZodError.ts +330 -0
  160. package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  161. package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  162. package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  163. package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  164. package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  165. package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  166. package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  167. package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  168. package/vendor/dsh-working-activity/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  169. package/vendor/dsh-working-activity/node_modules/zod/src/v3/errors.ts +13 -0
  170. package/vendor/dsh-working-activity/node_modules/zod/src/v3/external.ts +6 -0
  171. package/vendor/dsh-working-activity/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  172. package/vendor/dsh-working-activity/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  173. package/vendor/dsh-working-activity/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  174. package/vendor/dsh-working-activity/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  175. package/vendor/dsh-working-activity/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  176. package/vendor/dsh-working-activity/node_modules/zod/src/v3/helpers/util.ts +224 -0
  177. package/vendor/dsh-working-activity/node_modules/zod/src/v3/index.ts +4 -0
  178. package/vendor/dsh-working-activity/node_modules/zod/src/v3/locales/en.ts +124 -0
  179. package/vendor/dsh-working-activity/node_modules/zod/src/v3/standard-schema.ts +113 -0
  180. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  181. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  182. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  183. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  184. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  185. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  186. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  187. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  188. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  189. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  190. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  191. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
  192. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  193. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  194. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  195. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  196. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  197. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  198. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  199. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/error.test.ts +551 -0
  200. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  201. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  202. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/function.test.ts +261 -0
  203. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  204. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  205. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
  206. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  207. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
  208. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  209. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  210. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  211. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  212. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
  213. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  214. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  215. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  216. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  217. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  218. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/object.test.ts +434 -0
  219. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  220. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  221. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  222. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  223. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  224. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  225. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  226. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  227. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  228. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
  229. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  230. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  231. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  232. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  233. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  234. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  235. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/string.test.ts +916 -0
  236. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  237. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  238. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  239. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  240. package/vendor/dsh-working-activity/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  241. package/vendor/dsh-working-activity/node_modules/zod/src/v3/types.ts +5138 -0
  242. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/checks.ts +32 -0
  243. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  244. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/compat.ts +70 -0
  245. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/errors.ts +82 -0
  246. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/external.ts +52 -0
  247. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
  248. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/index.ts +5 -0
  249. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/iso.ts +90 -0
  250. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/parse.ts +82 -0
  251. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
  252. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  253. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
  254. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  255. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
  256. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  257. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  258. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  259. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  260. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
  261. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
  262. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  263. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
  264. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
  265. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  266. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
  267. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  268. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
  269. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
  270. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
  271. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  272. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  273. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
  274. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
  275. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
  276. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
  277. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
  278. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
  279. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
  280. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  281. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
  282. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
  283. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  284. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
  285. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
  286. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
  287. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
  288. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
  289. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
  290. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
  291. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  292. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
  293. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
  294. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
  295. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
  296. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  297. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  298. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
  299. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  300. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
  301. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
  302. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
  303. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
  304. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
  305. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
  306. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
  307. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
  308. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
  309. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  310. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  311. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  312. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  313. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
  314. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
  315. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
  316. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
  317. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
  318. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
  319. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
  320. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
  321. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
  322. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
  323. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  324. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
  325. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
  326. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
  327. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
  328. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  329. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  330. package/vendor/dsh-working-activity/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  331. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/api.ts +1823 -0
  332. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/checks.ts +1293 -0
  333. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/config.ts +15 -0
  334. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/core.ts +153 -0
  335. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/doc.ts +44 -0
  336. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/errors.ts +455 -0
  337. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/index.ts +16 -0
  338. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
  339. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
  340. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/json-schema.ts +147 -0
  341. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/parse.ts +195 -0
  342. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/regexes.ts +190 -0
  343. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/registries.ts +105 -0
  344. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/schemas.ts +4730 -0
  345. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  346. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  347. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  348. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  349. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
  350. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  351. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
  352. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
  353. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  354. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
  355. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  356. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  357. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  358. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
  359. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
  360. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  361. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
  362. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/util.ts +983 -0
  363. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/versions.ts +5 -0
  364. package/vendor/dsh-working-activity/node_modules/zod/src/v4/core/zsf.ts +323 -0
  365. package/vendor/dsh-working-activity/node_modules/zod/src/v4/index.ts +4 -0
  366. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ar.ts +115 -0
  367. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/az.ts +111 -0
  368. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/be.ts +176 -0
  369. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/bg.ts +128 -0
  370. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ca.ts +116 -0
  371. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/cs.ts +118 -0
  372. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/da.ts +123 -0
  373. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/de.ts +116 -0
  374. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/el.ts +121 -0
  375. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/en.ts +123 -0
  376. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/eo.ts +118 -0
  377. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/es.ts +141 -0
  378. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/fa.ts +126 -0
  379. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/fi.ts +121 -0
  380. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
  381. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/fr.ts +132 -0
  382. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/he.ts +246 -0
  383. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/hr.ts +131 -0
  384. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/hu.ts +117 -0
  385. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/hy.ts +164 -0
  386. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/id.ts +115 -0
  387. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/index.ts +52 -0
  388. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/is.ts +119 -0
  389. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/it.ts +116 -0
  390. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ja.ts +114 -0
  391. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ka.ts +123 -0
  392. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/kh.ts +7 -0
  393. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/km.ts +119 -0
  394. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ko.ts +121 -0
  395. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/lt.ts +239 -0
  396. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/mk.ts +118 -0
  397. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ms.ts +115 -0
  398. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/nl.ts +121 -0
  399. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/no.ts +116 -0
  400. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ota.ts +117 -0
  401. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/pl.ts +118 -0
  402. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ps.ts +126 -0
  403. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/pt.ts +116 -0
  404. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ro.ts +129 -0
  405. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ru.ts +176 -0
  406. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/sl.ts +118 -0
  407. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/sv.ts +119 -0
  408. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ta.ts +118 -0
  409. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/th.ts +119 -0
  410. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/tr.ts +111 -0
  411. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ua.ts +7 -0
  412. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/uk.ts +117 -0
  413. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/ur.ts +119 -0
  414. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/uz.ts +117 -0
  415. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/vi.ts +117 -0
  416. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/yo.ts +124 -0
  417. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
  418. package/vendor/dsh-working-activity/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
  419. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/checks.ts +32 -0
  420. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  421. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/external.ts +41 -0
  422. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/index.ts +3 -0
  423. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/iso.ts +66 -0
  424. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/parse.ts +14 -0
  425. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
  426. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
  427. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  428. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
  429. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
  430. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
  431. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  432. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
  433. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
  434. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
  435. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
  436. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
  437. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  438. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
  439. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  440. package/vendor/dsh-working-activity/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
  441. package/vendor/dsh-working-activity/node_modules/zod/src/v4-mini/index.ts +3 -0
  442. package/vendor/dsh-working-activity/node_modules/zod/v3/ZodError.cjs +138 -0
  443. package/vendor/dsh-working-activity/node_modules/zod/v3/ZodError.d.cts +164 -0
  444. package/vendor/dsh-working-activity/node_modules/zod/v3/ZodError.d.ts +164 -0
  445. package/vendor/dsh-working-activity/node_modules/zod/v3/ZodError.js +133 -0
  446. package/vendor/dsh-working-activity/node_modules/zod/v3/errors.cjs +17 -0
  447. package/vendor/dsh-working-activity/node_modules/zod/v3/errors.d.cts +5 -0
  448. package/vendor/dsh-working-activity/node_modules/zod/v3/errors.d.ts +5 -0
  449. package/vendor/dsh-working-activity/node_modules/zod/v3/errors.js +9 -0
  450. package/vendor/dsh-working-activity/node_modules/zod/v3/external.cjs +22 -0
  451. package/vendor/dsh-working-activity/node_modules/zod/v3/external.d.cts +6 -0
  452. package/vendor/dsh-working-activity/node_modules/zod/v3/external.d.ts +6 -0
  453. package/vendor/dsh-working-activity/node_modules/zod/v3/external.js +6 -0
  454. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  455. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  456. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  457. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  458. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  459. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  460. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  461. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  462. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  463. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  464. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  465. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  466. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  467. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  468. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  469. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  470. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  471. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  472. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  473. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  474. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/util.cjs +137 -0
  475. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/util.d.cts +85 -0
  476. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/util.d.ts +85 -0
  477. package/vendor/dsh-working-activity/node_modules/zod/v3/helpers/util.js +133 -0
  478. package/vendor/dsh-working-activity/node_modules/zod/v3/index.cjs +33 -0
  479. package/vendor/dsh-working-activity/node_modules/zod/v3/index.d.cts +4 -0
  480. package/vendor/dsh-working-activity/node_modules/zod/v3/index.d.ts +4 -0
  481. package/vendor/dsh-working-activity/node_modules/zod/v3/index.js +4 -0
  482. package/vendor/dsh-working-activity/node_modules/zod/v3/locales/en.cjs +112 -0
  483. package/vendor/dsh-working-activity/node_modules/zod/v3/locales/en.d.cts +3 -0
  484. package/vendor/dsh-working-activity/node_modules/zod/v3/locales/en.d.ts +3 -0
  485. package/vendor/dsh-working-activity/node_modules/zod/v3/locales/en.js +109 -0
  486. package/vendor/dsh-working-activity/node_modules/zod/v3/package.json +7 -0
  487. package/vendor/dsh-working-activity/node_modules/zod/v3/standard-schema.cjs +2 -0
  488. package/vendor/dsh-working-activity/node_modules/zod/v3/standard-schema.d.cts +102 -0
  489. package/vendor/dsh-working-activity/node_modules/zod/v3/standard-schema.d.ts +102 -0
  490. package/vendor/dsh-working-activity/node_modules/zod/v3/standard-schema.js +1 -0
  491. package/vendor/dsh-working-activity/node_modules/zod/v3/types.cjs +3777 -0
  492. package/vendor/dsh-working-activity/node_modules/zod/v3/types.d.cts +1034 -0
  493. package/vendor/dsh-working-activity/node_modules/zod/v3/types.d.ts +1034 -0
  494. package/vendor/dsh-working-activity/node_modules/zod/v3/types.js +3695 -0
  495. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/checks.cjs +33 -0
  496. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/checks.d.cts +1 -0
  497. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/checks.d.ts +1 -0
  498. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/checks.js +1 -0
  499. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/coerce.cjs +47 -0
  500. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  501. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  502. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/coerce.js +17 -0
  503. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/compat.cjs +61 -0
  504. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/compat.d.cts +50 -0
  505. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/compat.d.ts +50 -0
  506. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/compat.js +31 -0
  507. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/errors.cjs +74 -0
  508. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/errors.d.cts +30 -0
  509. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/errors.d.ts +30 -0
  510. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/errors.js +48 -0
  511. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/external.cjs +73 -0
  512. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/external.d.cts +16 -0
  513. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/external.d.ts +16 -0
  514. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/external.js +20 -0
  515. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
  516. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  517. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  518. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/from-json-schema.js +599 -0
  519. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/index.cjs +33 -0
  520. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/index.d.cts +4 -0
  521. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/index.d.ts +4 -0
  522. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/index.js +4 -0
  523. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/iso.cjs +60 -0
  524. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/iso.d.cts +22 -0
  525. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/iso.d.ts +22 -0
  526. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/iso.js +30 -0
  527. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/package.json +7 -0
  528. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/parse.cjs +41 -0
  529. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/parse.d.cts +31 -0
  530. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/parse.d.ts +31 -0
  531. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/parse.js +15 -0
  532. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/schemas.cjs +1511 -0
  533. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/schemas.d.cts +767 -0
  534. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/schemas.d.ts +767 -0
  535. package/vendor/dsh-working-activity/node_modules/zod/v4/classic/schemas.js +1395 -0
  536. package/vendor/dsh-working-activity/node_modules/zod/v4/core/api.cjs +1227 -0
  537. package/vendor/dsh-working-activity/node_modules/zod/v4/core/api.d.cts +325 -0
  538. package/vendor/dsh-working-activity/node_modules/zod/v4/core/api.d.ts +325 -0
  539. package/vendor/dsh-working-activity/node_modules/zod/v4/core/api.js +1087 -0
  540. package/vendor/dsh-working-activity/node_modules/zod/v4/core/checks.cjs +601 -0
  541. package/vendor/dsh-working-activity/node_modules/zod/v4/core/checks.d.cts +278 -0
  542. package/vendor/dsh-working-activity/node_modules/zod/v4/core/checks.d.ts +278 -0
  543. package/vendor/dsh-working-activity/node_modules/zod/v4/core/checks.js +575 -0
  544. package/vendor/dsh-working-activity/node_modules/zod/v4/core/core.cjs +85 -0
  545. package/vendor/dsh-working-activity/node_modules/zod/v4/core/core.d.cts +70 -0
  546. package/vendor/dsh-working-activity/node_modules/zod/v4/core/core.d.ts +70 -0
  547. package/vendor/dsh-working-activity/node_modules/zod/v4/core/core.js +78 -0
  548. package/vendor/dsh-working-activity/node_modules/zod/v4/core/doc.cjs +39 -0
  549. package/vendor/dsh-working-activity/node_modules/zod/v4/core/doc.d.cts +14 -0
  550. package/vendor/dsh-working-activity/node_modules/zod/v4/core/doc.d.ts +14 -0
  551. package/vendor/dsh-working-activity/node_modules/zod/v4/core/doc.js +35 -0
  552. package/vendor/dsh-working-activity/node_modules/zod/v4/core/errors.cjs +216 -0
  553. package/vendor/dsh-working-activity/node_modules/zod/v4/core/errors.d.cts +221 -0
  554. package/vendor/dsh-working-activity/node_modules/zod/v4/core/errors.d.ts +221 -0
  555. package/vendor/dsh-working-activity/node_modules/zod/v4/core/errors.js +185 -0
  556. package/vendor/dsh-working-activity/node_modules/zod/v4/core/index.cjs +47 -0
  557. package/vendor/dsh-working-activity/node_modules/zod/v4/core/index.d.cts +16 -0
  558. package/vendor/dsh-working-activity/node_modules/zod/v4/core/index.d.ts +16 -0
  559. package/vendor/dsh-working-activity/node_modules/zod/v4/core/index.js +16 -0
  560. package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
  561. package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  562. package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  563. package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-generator.js +95 -0
  564. package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
  565. package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
  566. package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
  567. package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema-processors.js +601 -0
  568. package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema.cjs +2 -0
  569. package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema.d.cts +88 -0
  570. package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema.d.ts +88 -0
  571. package/vendor/dsh-working-activity/node_modules/zod/v4/core/json-schema.js +1 -0
  572. package/vendor/dsh-working-activity/node_modules/zod/v4/core/package.json +7 -0
  573. package/vendor/dsh-working-activity/node_modules/zod/v4/core/parse.cjs +131 -0
  574. package/vendor/dsh-working-activity/node_modules/zod/v4/core/parse.d.cts +49 -0
  575. package/vendor/dsh-working-activity/node_modules/zod/v4/core/parse.d.ts +49 -0
  576. package/vendor/dsh-working-activity/node_modules/zod/v4/core/parse.js +93 -0
  577. package/vendor/dsh-working-activity/node_modules/zod/v4/core/regexes.cjs +172 -0
  578. package/vendor/dsh-working-activity/node_modules/zod/v4/core/regexes.d.cts +85 -0
  579. package/vendor/dsh-working-activity/node_modules/zod/v4/core/regexes.d.ts +85 -0
  580. package/vendor/dsh-working-activity/node_modules/zod/v4/core/regexes.js +139 -0
  581. package/vendor/dsh-working-activity/node_modules/zod/v4/core/registries.cjs +56 -0
  582. package/vendor/dsh-working-activity/node_modules/zod/v4/core/registries.d.cts +35 -0
  583. package/vendor/dsh-working-activity/node_modules/zod/v4/core/registries.d.ts +35 -0
  584. package/vendor/dsh-working-activity/node_modules/zod/v4/core/registries.js +51 -0
  585. package/vendor/dsh-working-activity/node_modules/zod/v4/core/schemas.cjs +2270 -0
  586. package/vendor/dsh-working-activity/node_modules/zod/v4/core/schemas.d.cts +1184 -0
  587. package/vendor/dsh-working-activity/node_modules/zod/v4/core/schemas.d.ts +1184 -0
  588. package/vendor/dsh-working-activity/node_modules/zod/v4/core/schemas.js +2239 -0
  589. package/vendor/dsh-working-activity/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  590. package/vendor/dsh-working-activity/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  591. package/vendor/dsh-working-activity/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  592. package/vendor/dsh-working-activity/node_modules/zod/v4/core/standard-schema.js +1 -0
  593. package/vendor/dsh-working-activity/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
  594. package/vendor/dsh-working-activity/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
  595. package/vendor/dsh-working-activity/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
  596. package/vendor/dsh-working-activity/node_modules/zod/v4/core/to-json-schema.js +448 -0
  597. package/vendor/dsh-working-activity/node_modules/zod/v4/core/util.cjs +734 -0
  598. package/vendor/dsh-working-activity/node_modules/zod/v4/core/util.d.cts +200 -0
  599. package/vendor/dsh-working-activity/node_modules/zod/v4/core/util.d.ts +200 -0
  600. package/vendor/dsh-working-activity/node_modules/zod/v4/core/util.js +674 -0
  601. package/vendor/dsh-working-activity/node_modules/zod/v4/core/versions.cjs +8 -0
  602. package/vendor/dsh-working-activity/node_modules/zod/v4/core/versions.d.cts +5 -0
  603. package/vendor/dsh-working-activity/node_modules/zod/v4/core/versions.d.ts +5 -0
  604. package/vendor/dsh-working-activity/node_modules/zod/v4/core/versions.js +5 -0
  605. package/vendor/dsh-working-activity/node_modules/zod/v4/index.cjs +22 -0
  606. package/vendor/dsh-working-activity/node_modules/zod/v4/index.d.cts +3 -0
  607. package/vendor/dsh-working-activity/node_modules/zod/v4/index.d.ts +3 -0
  608. package/vendor/dsh-working-activity/node_modules/zod/v4/index.js +3 -0
  609. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ar.cjs +133 -0
  610. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ar.d.cts +5 -0
  611. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ar.d.ts +4 -0
  612. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ar.js +106 -0
  613. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/az.cjs +132 -0
  614. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/az.d.cts +5 -0
  615. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/az.d.ts +4 -0
  616. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/az.js +105 -0
  617. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/be.cjs +183 -0
  618. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/be.d.cts +5 -0
  619. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/be.d.ts +4 -0
  620. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/be.js +156 -0
  621. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/bg.cjs +147 -0
  622. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/bg.d.cts +5 -0
  623. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/bg.d.ts +4 -0
  624. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/bg.js +120 -0
  625. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ca.cjs +134 -0
  626. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ca.d.cts +5 -0
  627. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ca.d.ts +4 -0
  628. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ca.js +107 -0
  629. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/cs.cjs +138 -0
  630. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/cs.d.cts +5 -0
  631. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/cs.d.ts +4 -0
  632. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/cs.js +111 -0
  633. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/da.cjs +142 -0
  634. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/da.d.cts +5 -0
  635. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/da.d.ts +4 -0
  636. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/da.js +115 -0
  637. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/de.cjs +135 -0
  638. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/de.d.cts +5 -0
  639. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/de.d.ts +4 -0
  640. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/de.js +108 -0
  641. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/el.cjs +136 -0
  642. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/el.d.cts +5 -0
  643. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/el.d.ts +4 -0
  644. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/el.js +109 -0
  645. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/en.cjs +140 -0
  646. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/en.d.cts +5 -0
  647. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/en.d.ts +4 -0
  648. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/en.js +113 -0
  649. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/eo.cjs +136 -0
  650. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/eo.d.cts +5 -0
  651. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/eo.d.ts +4 -0
  652. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/eo.js +109 -0
  653. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/es.cjs +159 -0
  654. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/es.d.cts +5 -0
  655. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/es.d.ts +4 -0
  656. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/es.js +132 -0
  657. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fa.cjs +141 -0
  658. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fa.d.cts +5 -0
  659. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fa.d.ts +4 -0
  660. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fa.js +114 -0
  661. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fi.cjs +139 -0
  662. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fi.d.cts +5 -0
  663. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fi.d.ts +4 -0
  664. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fi.js +112 -0
  665. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
  666. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  667. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  668. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr-CA.js +107 -0
  669. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr.cjs +152 -0
  670. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr.d.cts +5 -0
  671. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr.d.ts +4 -0
  672. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/fr.js +125 -0
  673. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/he.cjs +241 -0
  674. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/he.d.cts +5 -0
  675. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/he.d.ts +4 -0
  676. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/he.js +214 -0
  677. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hr.cjs +149 -0
  678. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hr.d.cts +5 -0
  679. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hr.d.ts +4 -0
  680. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hr.js +122 -0
  681. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hu.cjs +135 -0
  682. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hu.d.cts +5 -0
  683. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hu.d.ts +4 -0
  684. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hu.js +108 -0
  685. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hy.cjs +174 -0
  686. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hy.d.cts +5 -0
  687. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hy.d.ts +4 -0
  688. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/hy.js +147 -0
  689. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/id.cjs +133 -0
  690. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/id.d.cts +5 -0
  691. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/id.d.ts +4 -0
  692. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/id.js +106 -0
  693. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/index.cjs +111 -0
  694. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/index.d.cts +52 -0
  695. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/index.d.ts +52 -0
  696. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/index.js +52 -0
  697. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/is.cjs +136 -0
  698. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/is.d.cts +5 -0
  699. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/is.d.ts +4 -0
  700. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/is.js +109 -0
  701. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/it.cjs +135 -0
  702. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/it.d.cts +5 -0
  703. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/it.d.ts +4 -0
  704. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/it.js +108 -0
  705. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ja.cjs +134 -0
  706. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ja.d.cts +5 -0
  707. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ja.d.ts +4 -0
  708. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ja.js +107 -0
  709. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ka.cjs +139 -0
  710. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ka.d.cts +5 -0
  711. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ka.d.ts +4 -0
  712. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ka.js +112 -0
  713. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/kh.cjs +12 -0
  714. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/kh.d.cts +5 -0
  715. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/kh.d.ts +5 -0
  716. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/kh.js +5 -0
  717. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/km.cjs +137 -0
  718. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/km.d.cts +5 -0
  719. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/km.d.ts +4 -0
  720. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/km.js +110 -0
  721. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ko.cjs +138 -0
  722. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ko.d.cts +5 -0
  723. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ko.d.ts +4 -0
  724. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ko.js +111 -0
  725. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/lt.cjs +230 -0
  726. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/lt.d.cts +5 -0
  727. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/lt.d.ts +4 -0
  728. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/lt.js +203 -0
  729. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/mk.cjs +136 -0
  730. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/mk.d.cts +5 -0
  731. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/mk.d.ts +4 -0
  732. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/mk.js +109 -0
  733. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ms.cjs +134 -0
  734. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ms.d.cts +5 -0
  735. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ms.d.ts +4 -0
  736. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ms.js +107 -0
  737. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/nl.cjs +137 -0
  738. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/nl.d.cts +5 -0
  739. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/nl.d.ts +4 -0
  740. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/nl.js +110 -0
  741. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/no.cjs +135 -0
  742. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/no.d.cts +5 -0
  743. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/no.d.ts +4 -0
  744. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/no.js +108 -0
  745. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ota.cjs +136 -0
  746. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ota.d.cts +5 -0
  747. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ota.d.ts +4 -0
  748. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ota.js +109 -0
  749. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/package.json +7 -0
  750. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pl.cjs +136 -0
  751. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pl.d.cts +5 -0
  752. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pl.d.ts +4 -0
  753. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pl.js +109 -0
  754. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ps.cjs +141 -0
  755. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ps.d.cts +5 -0
  756. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ps.d.ts +4 -0
  757. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ps.js +114 -0
  758. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pt.cjs +135 -0
  759. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pt.d.cts +5 -0
  760. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pt.d.ts +4 -0
  761. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/pt.js +108 -0
  762. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ro.cjs +146 -0
  763. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ro.d.cts +5 -0
  764. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ro.d.ts +4 -0
  765. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ro.js +119 -0
  766. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ru.cjs +183 -0
  767. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ru.d.cts +5 -0
  768. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ru.d.ts +4 -0
  769. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ru.js +156 -0
  770. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sl.cjs +136 -0
  771. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sl.d.cts +5 -0
  772. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sl.d.ts +4 -0
  773. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sl.js +109 -0
  774. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sv.cjs +137 -0
  775. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sv.d.cts +5 -0
  776. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sv.d.ts +4 -0
  777. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/sv.js +110 -0
  778. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ta.cjs +137 -0
  779. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ta.d.cts +5 -0
  780. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ta.d.ts +4 -0
  781. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ta.js +110 -0
  782. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/th.cjs +137 -0
  783. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/th.d.cts +5 -0
  784. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/th.d.ts +4 -0
  785. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/th.js +110 -0
  786. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/tr.cjs +132 -0
  787. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/tr.d.cts +5 -0
  788. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/tr.d.ts +4 -0
  789. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/tr.js +105 -0
  790. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ua.cjs +12 -0
  791. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ua.d.cts +5 -0
  792. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ua.d.ts +5 -0
  793. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ua.js +5 -0
  794. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uk.cjs +135 -0
  795. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uk.d.cts +5 -0
  796. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uk.d.ts +4 -0
  797. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uk.js +108 -0
  798. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ur.cjs +137 -0
  799. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ur.d.cts +5 -0
  800. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ur.d.ts +4 -0
  801. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/ur.js +110 -0
  802. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uz.cjs +137 -0
  803. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uz.d.cts +5 -0
  804. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uz.d.ts +4 -0
  805. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/uz.js +110 -0
  806. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/vi.cjs +135 -0
  807. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/vi.d.cts +5 -0
  808. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/vi.d.ts +4 -0
  809. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/vi.js +108 -0
  810. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/yo.cjs +134 -0
  811. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/yo.d.cts +5 -0
  812. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/yo.d.ts +4 -0
  813. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/yo.js +107 -0
  814. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
  815. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  816. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  817. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-CN.js +109 -0
  818. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
  819. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  820. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  821. package/vendor/dsh-working-activity/node_modules/zod/v4/locales/zh-TW.js +107 -0
  822. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/checks.cjs +34 -0
  823. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/checks.d.cts +1 -0
  824. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/checks.d.ts +1 -0
  825. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/checks.js +1 -0
  826. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/coerce.cjs +52 -0
  827. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  828. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  829. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/coerce.js +22 -0
  830. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/external.cjs +63 -0
  831. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/external.d.cts +13 -0
  832. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/external.d.ts +13 -0
  833. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/external.js +14 -0
  834. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/index.cjs +32 -0
  835. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/index.d.cts +3 -0
  836. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/index.d.ts +3 -0
  837. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/index.js +3 -0
  838. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/iso.cjs +64 -0
  839. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/iso.d.cts +22 -0
  840. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/iso.d.ts +22 -0
  841. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/iso.js +34 -0
  842. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/package.json +7 -0
  843. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/parse.cjs +16 -0
  844. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/parse.d.cts +1 -0
  845. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/parse.d.ts +1 -0
  846. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/parse.js +1 -0
  847. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/schemas.cjs +1083 -0
  848. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/schemas.d.cts +445 -0
  849. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/schemas.d.ts +445 -0
  850. package/vendor/dsh-working-activity/node_modules/zod/v4/mini/schemas.js +961 -0
  851. package/vendor/dsh-working-activity/node_modules/zod/v4/package.json +7 -0
  852. package/vendor/dsh-working-activity/node_modules/zod/v4-mini/index.cjs +32 -0
  853. package/vendor/dsh-working-activity/node_modules/zod/v4-mini/index.d.cts +3 -0
  854. package/vendor/dsh-working-activity/node_modules/zod/v4-mini/index.d.ts +3 -0
  855. package/vendor/dsh-working-activity/node_modules/zod/v4-mini/index.js +3 -0
  856. package/vendor/dsh-working-activity/node_modules/zod/v4-mini/package.json +7 -0
@@ -18,8 +18,10 @@ import { homeDir } from '../utils/paths.js';
18
18
  import { execFileNoThrow } from '../utils/execFileNoThrow.js';
19
19
  import { cleanRenderText, cleanScalarText } from '../dsh-adapter/sanitize.js';
20
20
  import { nextModelQueryBoundary, previousModelQueryBoundary } from './modelSearchInput.js';
21
- import { deriveModelGroups, filterModels, modelPickerLanding, recentCatalogModels, RECENTS_GROUP_PROVIDER, } from '../modelGroups.js';
22
21
  import { readModelRecents, recordModelUse } from '../modelRecents.js';
22
+ import { readModelFavorites, toggleModelFavorite } from '../modelFavorites.js';
23
+ import { modelPickerRows, focusedModelRow, moveModelFocus } from '../modelPickerRows.js';
24
+ import { ModelDialogLayer } from '../components/ModelDialogLayer.js';
23
25
  import { TuiDialogStore } from '../dsh-adapter/dialogs.js';
24
26
  import { TuiStatusStore } from '../dsh-adapter/status.js';
25
27
  import { ActivityStore, useActivity } from '../dsh-adapter/activity-store.js';
@@ -344,51 +346,27 @@ export function Chat({ channel, questionStore, approvalStore, extensionDialogs,
344
346
  const [models, setModels] = React.useState([]);
345
347
  const [modelCatalogStatus, setModelCatalogStatus] = React.useState('loading');
346
348
  const modelRequestRef = React.useRef(0);
347
- /** Provider display identities for the /model group level; refreshed alongside `models`. */
348
349
  const [providerInfos, setProviderInfos] = React.useState([]);
349
- /** /model 最近使用分组:成功切换即记录(去重置顶,上限 10),重启保留。 */
350
350
  const [modelRecents, setModelRecents] = React.useState(() => readModelRecents());
351
- /** Two-level /model: the drilled-in provider route; undefined = group level.
352
- * Reset on open; stale ids resolve back to the group level via `activeModelGroup`. */
353
- const [modelGroup, setModelGroup] = React.useState(undefined);
354
- /** True while the picker sits in the single-provider fast path (drilled in
355
- * at open, the group level never shown): Esc closes directly and no back
356
- * hint renders — a pinned recents pseudo-group must not fake a two-level
357
- * walk the user never saw (issue #527 regression: repro-picker-windowing). */
358
- const [modelPickerDirect, setModelPickerDirect] = React.useState(false);
359
- /** Group rows over the current catalog, first-appearance (registry) order,
360
- * with the pinned recents pseudo-group first when any entry is catalogued. */
361
- const modelGroups = React.useMemo(() => deriveModelGroups(models, providerInfos, modelRecents), [models, providerInfos, modelRecents]);
362
- /** The drilled-in group, but only while it still exists in the catalog. */
363
- const activeModelGroup = modelGroup !== undefined && modelGroups.some(group => group.provider === modelGroup)
364
- ? modelGroup
365
- : undefined;
366
- const groupModels = React.useMemo(() => {
367
- if (activeModelGroup === undefined)
368
- return [];
369
- if (activeModelGroup === RECENTS_GROUP_PROVIDER)
370
- return recentCatalogModels(modelRecents, models);
371
- return models.filter(model => model.provider === activeModelGroup);
372
- }, [models, modelRecents, activeModelGroup]);
351
+ const [modelFavorites, setModelFavorites] = React.useState(() => readModelFavorites());
352
+ const [modelSwitching, setModelSwitching] = React.useState(false);
353
+ const [modelFallback, setModelFallback] = React.useState(false);
354
+ const modelSwitchingRef = React.useRef(false);
373
355
  const modelQuery = overlay.kind === 'model' ? (overlay.query ?? '') : '';
374
- const modelSearchActive = modelQuery.trim() !== '';
375
- const visibleModelRows = React.useMemo(() => filterModels(activeModelGroup === undefined ? models : groupModels, modelQuery, providerInfos), [activeModelGroup, groupModels, models, modelQuery, providerInfos]);
376
- const visibleModelGroups = activeModelGroup === undefined && !modelSearchActive ? modelGroups : [];
377
- const modelRowsAreGroups = activeModelGroup === undefined && !modelSearchActive;
378
- const modelRowCount = modelRowsAreGroups ? visibleModelGroups.length : visibleModelRows.length;
379
- const modelFocus = overlay.kind === 'model'
380
- ? Math.max(0, Math.min(overlay.index, modelRowCount - 1))
381
- : 0;
356
+ const modelRows = React.useMemo(() => modelPickerRows(models, providerInfos, modelFavorites, modelRecents, modelQuery), [models, providerInfos, modelFavorites, modelRecents, modelQuery]);
357
+ const modelFocus = overlay.kind === 'model' ? Math.max(0, Math.min(overlay.index, modelRows.length - 1)) : 0;
358
+ const modelFocused = focusedModelRow(modelRows, modelFocus);
359
+ const modelFocusIndexRef = React.useRef(null);
360
+ React.useEffect(() => {
361
+ modelFocusIndexRef.current = overlay.kind === 'model' ? { query: modelQuery, index: modelFocus } : null;
362
+ }, [overlay, modelQuery, modelFocus]);
382
363
  const modelFocusedRef = React.useRef(null);
383
364
  React.useEffect(() => {
384
- modelFocusedRef.current = overlay.kind === 'model' ? {
385
- query: modelQuery,
386
- group: activeModelGroup,
387
- provider: modelRowsAreGroups ? undefined : visibleModelRows[modelFocus]?.provider,
388
- id: modelRowsAreGroups ? undefined : visibleModelRows[modelFocus]?.id,
389
- groupKey: modelRowsAreGroups ? visibleModelGroups[modelFocus]?.provider : undefined,
365
+ modelFocusedRef.current = overlay.kind === 'model' && modelFocused ? {
366
+ query: modelQuery, section: modelFocused.section,
367
+ provider: modelFocused.model.provider, id: modelFocused.model.id,
390
368
  } : null;
391
- }, [overlay, modelQuery, activeModelGroup, modelRowsAreGroups, visibleModelRows, visibleModelGroups, modelFocus]);
369
+ }, [overlay, modelQuery, modelFocused]);
392
370
  React.useEffect(() => {
393
371
  const subscribe = channel.providerSetup?.()?.oauth?.onCredentialChange;
394
372
  if (subscribe === undefined)
@@ -396,43 +374,27 @@ export function Chat({ channel, questionStore, approvalStore, extensionDialogs,
396
374
  return subscribe(() => {
397
375
  channel.invalidateModelCompletion();
398
376
  const request = ++modelRequestRef.current;
377
+ const binding = channel.agentBindingGeneration;
399
378
  void channel.listModels().then(list => {
400
- if (request !== modelRequestRef.current)
379
+ if (request !== modelRequestRef.current || binding !== channel.agentBindingGeneration)
401
380
  return;
402
381
  const focused = modelFocusedRef.current;
403
382
  if (focused !== null) {
404
- const freshGroups = deriveModelGroups(list, providerInfos, modelRecents);
405
- if (focused.group !== undefined && !freshGroups.some(group => group.provider === focused.group)) {
406
- setModelGroup(undefined);
407
- setModelPickerDirect(false);
408
- dispatchOverlay({ type: 'model-edit', query: '', cursor: 0 });
409
- dispatchOverlay({ type: 'set-index', kind: 'model', index: 0 });
410
- }
411
- else {
412
- const scope = focused.group === undefined ? list
413
- : focused.group === RECENTS_GROUP_PROVIDER ? recentCatalogModels(modelRecents, list)
414
- : list.filter(model => model.provider === focused.group);
415
- const rows = filterModels(scope, focused.query, providerInfos);
416
- const index = focused.group === undefined && focused.query.trim() === ''
417
- ? freshGroups.findIndex(group => group.provider === focused.groupKey)
418
- : rows.findIndex(model => model.provider === focused.provider && model.id === focused.id);
419
- dispatchOverlay({ type: 'set-index', kind: 'model', index: Math.max(0, index) });
420
- }
383
+ const rows = modelPickerRows(list, providerInfos, modelFavorites, modelRecents, focused.query);
384
+ const same = rows.findIndex(row => row.kind === 'model' && row.section === focused.section
385
+ && row.model.provider === focused.provider && row.model.id === focused.id);
386
+ const index = same >= 0 ? same : rows.findIndex(row => row.kind === 'model'
387
+ && row.model.provider === focused.provider && row.model.id === focused.id);
388
+ dispatchOverlay({ type: 'set-index', kind: 'model', index: index >= 0 ? index : moveModelFocus(rows, -1, 1) });
421
389
  }
422
390
  setModels(list);
423
391
  setModelCatalogStatus('ready');
424
- }).catch(() => {
425
- if (request === modelRequestRef.current) {
426
- setModelCatalogStatus('error');
427
- channel.notify(t('picker-model-error'), { color: 'warning' });
428
- }
429
- });
430
- void channel.listProviders().then(list => {
431
- if (request === modelRequestRef.current)
432
- setProviderInfos(list);
433
- }).catch(() => undefined);
392
+ }).catch(() => { if (request === modelRequestRef.current && binding === channel.agentBindingGeneration)
393
+ setModelCatalogStatus('error'); });
394
+ void channel.listProviders().then(list => { if (request === modelRequestRef.current && binding === channel.agentBindingGeneration)
395
+ setProviderInfos(list); }).catch(() => undefined);
434
396
  });
435
- }, [channel, providerInfos, modelRecents]);
397
+ }, [channel, providerInfos, modelFavorites, modelRecents]);
436
398
  /** Switch + record: every successful switch feeds the /model recents group
437
399
  * (picker Enter/click, `/model provider/id`, the wizard's live switch,
438
400
  * and /reload's applied model all ride this one path). */
@@ -448,6 +410,70 @@ export function Chat({ channel, questionStore, approvalStore, extensionDialogs,
448
410
  return ok;
449
411
  });
450
412
  };
413
+ const refreshModelPicker = (initialQuery) => {
414
+ const request = ++modelRequestRef.current;
415
+ const binding = channel.agentBindingGeneration;
416
+ setModelCatalogStatus('loading');
417
+ void channel.listModels().then(list => {
418
+ if (request !== modelRequestRef.current || binding !== channel.agentBindingGeneration)
419
+ return;
420
+ const focused = modelFocusedRef.current;
421
+ const rows = modelPickerRows(list, providerInfos, modelFavorites, modelRecents, focused?.query ?? initialQuery ?? '');
422
+ const same = rows.findIndex(row => row.kind === 'model' && row.model.provider === (focused?.provider ?? channel.provider)
423
+ && row.model.id === (focused?.id ?? channel.model) && (!focused || row.section === focused.section));
424
+ const index = initialQuery?.trim() ? -1 : same >= 0 ? same : rows.findIndex(row => row.kind === 'model'
425
+ && row.model.provider === (focused?.provider ?? channel.provider) && row.model.id === (focused?.id ?? channel.model));
426
+ dispatchOverlay({ type: 'set-index', kind: 'model', index: index >= 0 ? index : moveModelFocus(rows, -1, 1) });
427
+ setModels(list);
428
+ setModelCatalogStatus('ready');
429
+ }).catch(() => {
430
+ if (request === modelRequestRef.current && binding === channel.agentBindingGeneration) {
431
+ setModels([]);
432
+ setModelCatalogStatus('error');
433
+ }
434
+ });
435
+ void channel.listProviders().then(list => { if (request === modelRequestRef.current && binding === channel.agentBindingGeneration)
436
+ setProviderInfos(list); }).catch(() => undefined);
437
+ };
438
+ const openModelPicker = (query, catalog) => {
439
+ setModelFallback(false);
440
+ modelFocusedRef.current = null;
441
+ modelFocusIndexRef.current = null;
442
+ setModels(catalog ?? []);
443
+ setModelCatalogStatus(catalog ? 'ready' : 'loading');
444
+ const rows = modelPickerRows(catalog ?? [], providerInfos, modelFavorites, modelRecents, query);
445
+ const current = query ? -1 : rows.findIndex(row => row.kind === 'model'
446
+ && row.model.provider === channel.provider && row.model.id === channel.model);
447
+ dispatchOverlay({ type: 'open', overlay: { kind: 'model', index: current >= 0 ? current : moveModelFocus(rows, -1, 1), query, cursor: query.length } });
448
+ if (!catalog)
449
+ refreshModelPicker(query);
450
+ else {
451
+ const request = ++modelRequestRef.current;
452
+ const binding = channel.agentBindingGeneration;
453
+ void channel.listProviders().then(list => {
454
+ if (request === modelRequestRef.current && binding === channel.agentBindingGeneration)
455
+ setProviderInfos(list);
456
+ }).catch(() => undefined);
457
+ }
458
+ };
459
+ const pickModel = async (model) => {
460
+ if (modelSwitchingRef.current)
461
+ return;
462
+ modelSwitchingRef.current = true;
463
+ setModelSwitching(true);
464
+ try {
465
+ const ok = await switchModelRecorded(model.provider, model.id, model.name);
466
+ if (ok)
467
+ dispatchOverlay({ type: 'close-if', kind: 'model' });
468
+ }
469
+ catch (error) {
470
+ channel.notify(error instanceof Error ? error.message : String(error), { color: 'error' });
471
+ }
472
+ finally {
473
+ modelSwitchingRef.current = false;
474
+ setModelSwitching(false);
475
+ }
476
+ };
451
477
  /** `/skills` 技能目录(issue #204):null = 注册表快照在途。 */
452
478
  const [skillsList, setSkillsList] = React.useState(null);
453
479
  /**
@@ -1818,96 +1844,27 @@ export function Chat({ channel, questionStore, approvalStore, extensionDialogs,
1818
1844
  setHelpOpen(true);
1819
1845
  return true;
1820
1846
  case 'model': {
1821
- // `/model <provider/model>` switches directly (same live-fork path
1822
- // as the picker's Enter), bare `/model` opens the picker.
1823
- const parts = rawInput.trim().split(/\s+/).filter(Boolean);
1824
- if (parts.length > 0) {
1825
- setHelpOpen(false);
1826
- const spec = parts[0];
1827
- const slash = spec.indexOf('/');
1828
- const provider = slash >= 0 ? spec.slice(0, slash) : undefined;
1829
- const id = slash >= 0 ? spec.slice(slash + 1) : spec;
1830
- if (provider === undefined || id.length === 0 || provider.length === 0) {
1831
- channel.notify(t('model-usage'), { color: 'warning' });
1832
- return true;
1833
- }
1834
- void channel.listModels().then((list) => {
1835
- const model = list.find(m => m.provider === provider && m.id === id);
1836
- if (model === undefined) {
1837
- channel.notify(t('model-unknown', { spec }), { color: 'error', timeoutMs: 8000 });
1847
+ setHelpOpen(false);
1848
+ const query = rawInput.trim();
1849
+ const binding = channel.agentBindingGeneration;
1850
+ // A complete advertised route keeps the direct-switch contract.
1851
+ if (query && !/\s/u.test(query)) {
1852
+ void channel.listModels().then(list => {
1853
+ if (binding !== channel.agentBindingGeneration)
1854
+ return;
1855
+ const model = list.find(item => `${item.provider}/${item.id}` === query);
1856
+ if (model) {
1857
+ void switchModelRecorded(model.provider, model.id, model.name);
1838
1858
  return;
1839
1859
  }
1840
- void switchModelRecorded(provider, id, model.name);
1860
+ openModelPicker(query, list);
1861
+ }).catch(() => {
1862
+ if (binding === channel.agentBindingGeneration)
1863
+ openModelPicker(query);
1841
1864
  });
1842
1865
  return true;
1843
1866
  }
1844
- setHelpOpen(false);
1845
- // Opens over the cached catalog (empty cache shows the loading
1846
- // pane); the fresh list lands with the authoritative focus, and the
1847
- // kind-guarded set-index cannot re-focus a picker the user left.
1848
- // Seed-on-open: the model in use IS a use — recording it here means
1849
- // the recents group exists before the first post-update switch, and
1850
- // switching A→B keeps A in the list (the file records what was
1851
- // used, not only switches made after the file appeared).
1852
- let recentsNow = modelRecents;
1853
- if (channel.provider !== '' && channel.model !== ''
1854
- && !recentsNow.some(ref => ref.provider === channel.provider && ref.id === channel.model)) {
1855
- recentsNow = recordModelUse({ provider: channel.provider, id: channel.model });
1856
- setModelRecents(recentsNow);
1857
- }
1858
- // Two-level landing: recents (when catalogued) focus their pinned
1859
- // row; else multi-provider catalogs focus the current provider's
1860
- // group row; a single-provider catalog without a meaningful recents
1861
- // list drills straight into its model list (pre-grouping UX).
1862
- {
1863
- const landing = modelPickerLanding(models, channel.provider, channel.model, recentsNow);
1864
- setModelGroup(landing.group);
1865
- setModelPickerDirect(landing.group !== undefined);
1866
- dispatchOverlay({ type: 'open', overlay: { kind: 'model', index: landing.index, query: '', cursor: 0 } });
1867
- }
1868
- const modelRequest = ++modelRequestRef.current;
1869
- setModelCatalogStatus('loading');
1870
- void channel.listModels().then((list) => {
1871
- if (modelRequest !== modelRequestRef.current)
1872
- return;
1873
- const focused = modelFocusedRef.current;
1874
- if (models.length === 0 && (focused === null || (focused.group === undefined && focused.query === ''))) {
1875
- const landing = modelPickerLanding(list, channel.provider, channel.model, recentsNow);
1876
- setModelGroup(landing.group);
1877
- setModelPickerDirect(landing.group !== undefined);
1878
- dispatchOverlay({ type: 'set-index', kind: 'model', index: landing.index });
1879
- }
1880
- else if (focused !== null) {
1881
- const freshGroups = deriveModelGroups(list, providerInfos, recentsNow);
1882
- if (focused.group !== undefined && !freshGroups.some(group => group.provider === focused.group)) {
1883
- setModelGroup(undefined);
1884
- setModelPickerDirect(false);
1885
- dispatchOverlay({ type: 'model-edit', query: '', cursor: 0 });
1886
- dispatchOverlay({ type: 'set-index', kind: 'model', index: 0 });
1887
- }
1888
- else {
1889
- const scope = focused.group === undefined ? list
1890
- : focused.group === RECENTS_GROUP_PROVIDER ? recentCatalogModels(recentsNow, list)
1891
- : list.filter(model => model.provider === focused.group);
1892
- const rows = filterModels(scope, focused.query, providerInfos);
1893
- const index = focused.group === undefined && focused.query.trim() === ''
1894
- ? freshGroups.findIndex(group => group.provider === focused.groupKey)
1895
- : rows.findIndex(model => model.provider === focused.provider && model.id === focused.id);
1896
- dispatchOverlay({ type: 'set-index', kind: 'model', index: Math.max(0, index) });
1897
- }
1898
- }
1899
- setModels(list);
1900
- setModelCatalogStatus('ready');
1901
- }).catch(() => {
1902
- if (modelRequest === modelRequestRef.current) {
1903
- setModelCatalogStatus('error');
1904
- channel.notify(t('picker-model-error'), { color: 'warning' });
1905
- }
1906
- });
1907
- void channel.listProviders().then(list => {
1908
- if (modelRequest === modelRequestRef.current)
1909
- setProviderInfos(list);
1910
- }).catch(() => undefined);
1867
+ openModelPicker(query);
1911
1868
  return true;
1912
1869
  }
1913
1870
  case 'skills': {
@@ -3266,77 +3223,84 @@ export function Chat({ channel, questionStore, approvalStore, extensionDialogs,
3266
3223
  }
3267
3224
  if (overlay.kind === 'model') {
3268
3225
  event.stopImmediatePropagation();
3269
- // Two-level picker: group rows at the top (Enter drills in), one
3270
- // provider's models below (Enter switches, the same live-fork path as
3271
- // the flat picker always had). Esc/⌫ climbs one level and only closes
3272
- // at the top; a single-group catalog never shows the group level, so
3273
- // Esc there closes directly.
3274
- const rowCount = modelRowCount;
3275
3226
  const query = overlay.query ?? '';
3276
3227
  const cursor = overlay.cursor ?? query.length;
3277
- const editModelQuery = (value, nextCursor) => dispatchOverlay({ type: 'model-edit', query: value, cursor: nextCursor });
3278
- if (key.upArrow || key.downArrow) {
3279
- dispatchOverlay({ type: 'move', delta: key.upArrow ? -1 : 1, count: rowCount });
3280
- }
3281
- else if (plainReturn) {
3282
- if (modelRowsAreGroups) {
3283
- const group = visibleModelGroups[modelFocus];
3284
- if (!group)
3285
- return;
3286
- setModelGroup(group.provider);
3287
- // The recents group opens on its most-recent entry; a provider
3288
- // group on its current model when it owns one, else its first row.
3289
- if (group.provider === RECENTS_GROUP_PROVIDER) {
3290
- dispatchOverlay({ type: 'set-index', kind: 'model', index: 0 });
3291
- return;
3292
- }
3293
- const landing = modelPickerLanding(models.filter(model => model.provider === group.provider), channel.provider, channel.model);
3294
- dispatchOverlay({ type: 'set-index', kind: 'model', index: landing.index });
3295
- return;
3228
+ const focusIndex = modelFocusIndexRef.current?.query === query ? modelFocusIndexRef.current.index : modelFocus;
3229
+ const focusedRow = focusedModelRow(modelRows, focusIndex);
3230
+ const edit = (value, nextCursor) => {
3231
+ dispatchOverlay({ type: 'model-edit', query: value, cursor: nextCursor });
3232
+ if (value !== query) {
3233
+ const rows = modelPickerRows(models, providerInfos, modelFavorites, modelRecents, value);
3234
+ const index = moveModelFocus(rows, -1, 1);
3235
+ modelFocusIndexRef.current = { query: value, index };
3236
+ dispatchOverlay({ type: 'set-index', kind: 'model', index });
3296
3237
  }
3297
- const model = visibleModelRows[modelFocus];
3298
- // oxlint-disable-next-line typescript/no-unnecessary-condition -- runtime guard: out-of-range index on an empty list
3299
- if (model) {
3300
- // Enter switches the live model right away: the conversation is
3301
- // forked at its end and continued with an agent routed to the new
3302
- // model (history replays unchanged) — and feeds the recents group.
3238
+ };
3239
+ if (key.escape)
3240
+ dispatchOverlay({ type: 'close' });
3241
+ else if (key.ctrl && input === 'f' && focusedRow && !modelSwitchingRef.current) {
3242
+ const result = toggleModelFavorite(modelFavorites, focusedRow.model);
3243
+ setModelFavorites(result.favorites);
3244
+ const rows = modelPickerRows(models, providerInfos, result.favorites, modelRecents, query);
3245
+ const same = rows.findIndex(row => row.kind === 'model' && row.section === focusedRow.section
3246
+ && row.model.provider === focusedRow.model.provider && row.model.id === focusedRow.model.id);
3247
+ const route = rows.findIndex(row => row.kind === 'model' && row.model.provider === focusedRow.model.provider
3248
+ && row.model.id === focusedRow.model.id);
3249
+ const next = same >= 0 ? same : route >= 0 ? route : moveModelFocus(rows, -1, 1);
3250
+ modelFocusIndexRef.current = { query, index: next };
3251
+ dispatchOverlay({ type: 'set-index', kind: 'model', index: next });
3252
+ if (!result.saved)
3253
+ channel.notify(t('picker-model-favorite-save-error'), { color: 'warning' });
3254
+ }
3255
+ else if (key.ctrl && input === 'a' && !modelSwitchingRef.current) {
3256
+ if (!channel.providerSetup())
3257
+ channel.notify(t('provider-unavailable'), { color: 'warning' });
3258
+ else {
3259
+ const binding = channel.agentBindingGeneration;
3260
+ let wizardBinding = null;
3303
3261
  dispatchOverlay({ type: 'close' });
3304
- void switchModelRecorded(model.provider, model.id, model.name);
3262
+ void runProviderWizard({ host: channel.providerSetup(), ask: (request, options) => questionStore.ask(request, options),
3263
+ notify: (message, options) => channel.notify(message, options), pushLocal: (title, lines) => channel.pushLocal(title, lines),
3264
+ working: () => channel.working, switchModel: async (provider, model) => {
3265
+ const changed = await switchModelRecorded(provider, model);
3266
+ if (changed)
3267
+ wizardBinding = channel.agentBindingGeneration;
3268
+ return changed;
3269
+ }, }).then(() => {
3270
+ if ((wizardBinding ?? binding) !== channel.agentBindingGeneration)
3271
+ return;
3272
+ channel.invalidateModelCompletion();
3273
+ openModelPicker(query);
3274
+ }).catch(() => channel.notify(t('provider-unavailable'), { color: 'warning' }));
3305
3275
  }
3306
3276
  }
3277
+ else if (key.ctrl && input === 'r')
3278
+ refreshModelPicker();
3279
+ else if (key.upArrow || key.downArrow || key.pageUp || key.pageDown) {
3280
+ const delta = key.upArrow ? -1 : key.downArrow ? 1 : key.pageUp ? -10 : 10;
3281
+ const next = moveModelFocus(modelRows, focusIndex, delta);
3282
+ modelFocusIndexRef.current = { query, index: next };
3283
+ dispatchOverlay({ type: 'set-index', kind: 'model', index: next });
3284
+ }
3285
+ else if (plainReturn && focusedRow && !modelSwitchingRef.current)
3286
+ void pickModel(focusedRow.model);
3307
3287
  else if (key.backspace && cursor > 0) {
3308
3288
  const start = previousModelQueryBoundary(query, cursor);
3309
- editModelQuery(query.slice(0, start) + query.slice(cursor), start);
3310
- }
3311
- else if (key.delete && cursor < query.length) {
3312
- editModelQuery(query.slice(0, cursor) + query.slice(nextModelQueryBoundary(query, cursor)), cursor);
3313
- }
3314
- else if (key.leftArrow && cursor > 0) {
3315
- editModelQuery(query, previousModelQueryBoundary(query, cursor));
3316
- }
3317
- else if (key.rightArrow && cursor < query.length) {
3318
- editModelQuery(query, nextModelQueryBoundary(query, cursor));
3319
- }
3320
- else if (key.home) {
3321
- editModelQuery(query, 0);
3322
- }
3323
- else if (key.end) {
3324
- editModelQuery(query, query.length);
3325
- }
3326
- else if (key.escape || (key.backspace && query === '')) {
3327
- if (activeModelGroup !== undefined && modelGroups.length > 1 && !modelPickerDirect) {
3328
- setModelGroup(undefined);
3329
- const groupIndex = Math.max(0, modelGroups.findIndex(group => group.provider === activeModelGroup));
3330
- dispatchOverlay({ type: 'model-edit', query: '', cursor: 0 });
3331
- dispatchOverlay({ type: 'set-index', kind: 'model', index: groupIndex });
3332
- }
3333
- else {
3334
- dispatchOverlay({ type: 'close' });
3335
- }
3336
- }
3337
- else if (input.length > 0 && !key.ctrl && !key.meta && !key.super) {
3289
+ edit(query.slice(0, start) + query.slice(cursor), start);
3290
+ }
3291
+ else if (key.delete && cursor < query.length)
3292
+ edit(query.slice(0, cursor) + query.slice(nextModelQueryBoundary(query, cursor)), cursor);
3293
+ else if (key.leftArrow && cursor > 0)
3294
+ edit(query, previousModelQueryBoundary(query, cursor));
3295
+ else if (key.rightArrow && cursor < query.length)
3296
+ edit(query, nextModelQueryBoundary(query, cursor));
3297
+ else if (key.home)
3298
+ edit(query, 0);
3299
+ else if (key.end)
3300
+ edit(query, query.length);
3301
+ else if (input.length > 0 && !key.ctrl && !key.meta && !key.super && !key.tab) {
3338
3302
  const inserted = input.replace(/[\r\n\t]+/gu, ' ');
3339
- editModelQuery(query.slice(0, cursor) + inserted + query.slice(cursor), cursor + inserted.length);
3303
+ edit(query.slice(0, cursor) + inserted + query.slice(cursor), cursor + inserted.length);
3340
3304
  }
3341
3305
  return;
3342
3306
  }
@@ -4133,6 +4097,11 @@ export function Chat({ channel, questionStore, approvalStore, extensionDialogs,
4133
4097
  ? () => setPeekSuppressed(peekKey(activePreview.image, activePreview.title))
4134
4098
  : () => dispatchOverlay({ type: 'close-if', kind: 'image-preview' }), region: imagePreviewRegion }))
4135
4099
  : null;
4100
+ if (overlay.kind === 'model' && modelFallback && !fullscreen) {
4101
+ const height = Math.max(1, Math.min(26, terminalRows - 2));
4102
+ return _jsx(AlternateScreen, { children: _jsx(Box, { width: "100%", height: terminalRows, justifyContent: "center", alignItems: "center", children: _jsx(Box, { width: Math.max(1, Math.min(72, terminalColumns - 2)), height: height, backgroundColor: "toolCardBackground", opaque: true, overflow: "hidden", children: _jsx(ModelPicker, { rows: modelRows, focusIndex: modelFocus, currentModel: `${channel.provider}/${channel.model}`, favorites: modelFavorites, query: modelQuery, cursor: overlay.cursor ?? modelQuery.length, height: height, status: modelCatalogStatus, switching: modelSwitching, onPick: index => { const row = focusedModelRow(modelRows, index); if (row && !modelSwitchingRef.current)
4103
+ void pickModel(row.model); }, onWheelStep: step => dispatchOverlay({ type: 'set-index', kind: 'model', index: moveModelFocus(modelRows, modelFocus, step) }) }) }) }) });
4104
+ }
4136
4105
  return (_jsxs(Box, { ref: wakeTickRef, flexDirection: "column", flexGrow: 1, width: "100%", children: [!isSticky && anchorUserText && (_jsx(PinnedTurnHeader, { text: anchorUserText, onClick: () => {
4137
4106
  // Click snaps the pinned prompt to the viewport top. Jump by the
4138
4107
  // SAME content coordinate the
@@ -4179,7 +4148,7 @@ export function Chat({ channel, questionStore, approvalStore, extensionDialogs,
4179
4148
  // the animated chars/4 estimate, matching the classic
4180
4149
  // spinner's counter (the suffix used raw chars before,
4181
4150
  // inflating the reading next to a real upload number).
4182
- suffix: `${lastUploadTokens > 0 ? ` · ↑ ${formatTokens(lastUploadTokens)}` : ''} · ↓ ${formatTokens(Math.round(channel.responseChars / 4))} tokens` }) })) : (_jsx(WorkingSpinner, { mode: channel.spinnerMode, hasActiveTools: channel.activeToolCount > 0, responseLengthRef: responseLengthRef, uploadTokensRef: uploadTokensRef, loadingStartTimeRef: loadingStartTimeRef, totalPausedMsRef: totalPausedMsRef, pauseStartTimeRef: pauseStartTimeRef, thinkingStatus: thinkingStatus }))), _jsx(GoalTodoPanel, { channel: channel, collapsed: todoCollapsed, onToggle: () => setTodoCollapsed(previous => !previous) }), recap !== null && recap.auto && !recap.expanded && (_jsx(AutoRecapRow, { summary: recap.summary, streaming: !recap.done, onExpand: () => setRecap(prev => (prev ? { ...prev, expanded: true } : prev)), onDismiss: () => closeRecap() })), balance !== null && (_jsx(BalanceReportRow, { result: balance.result, refreshing: balance.refreshing, tokens: channel.tokens, model: channel.model, onRefresh: runBalance, onDismiss: () => setBalance(null) })), statusEntries.length > 0 && (_jsx(Text, { dimColor: true, wrap: "truncate", children: statusEntries.map(entry => entry.text).join(' · ') })), activePreview === null && statusViews.map(view => (_jsx(PluginStatusViewBoundary, { viewKey: view.key, onError: (key, error) => statusContributions.reportViewError(key, error), children: _jsx(Box, { flexDirection: "column", flexShrink: 0, maxHeight: view.maxRows, overflow: "hidden", children: _jsx(Box, { flexDirection: "column", flexShrink: 0, children: React.createElement(view.component, {
4151
+ suffix: `${lastUploadTokens > 0 ? ` · ↑ ${formatTokens(lastUploadTokens)}` : ''} · ↓ ${formatTokens(Math.round(channel.responseChars / 4))} tokens` }) })) : (_jsx(WorkingSpinner, { mode: channel.spinnerMode, progressLanguage: channel.progressLanguage ?? getLang(), hasActiveTools: channel.activeToolCount > 0, responseLengthRef: responseLengthRef, uploadTokensRef: uploadTokensRef, loadingStartTimeRef: loadingStartTimeRef, totalPausedMsRef: totalPausedMsRef, pauseStartTimeRef: pauseStartTimeRef, thinkingStatus: thinkingStatus }))), _jsx(GoalTodoPanel, { channel: channel, collapsed: todoCollapsed, onToggle: () => setTodoCollapsed(previous => !previous) }), recap !== null && recap.auto && !recap.expanded && (_jsx(AutoRecapRow, { summary: recap.summary, streaming: !recap.done, onExpand: () => setRecap(prev => (prev ? { ...prev, expanded: true } : prev)), onDismiss: () => closeRecap() })), balance !== null && (_jsx(BalanceReportRow, { result: balance.result, refreshing: balance.refreshing, tokens: channel.tokens, model: channel.model, onRefresh: runBalance, onDismiss: () => setBalance(null) })), statusEntries.length > 0 && (_jsx(Text, { dimColor: true, wrap: "truncate", children: statusEntries.map(entry => entry.text).join(' · ') })), activePreview === null && statusViews.map(view => (_jsx(PluginStatusViewBoundary, { viewKey: view.key, onError: (key, error) => statusContributions.reportViewError(key, error), children: _jsx(Box, { flexDirection: "column", flexShrink: 0, maxHeight: view.maxRows, overflow: "hidden", children: _jsx(Box, { flexDirection: "column", flexShrink: 0, children: React.createElement(view.component, {
4183
4152
  React,
4184
4153
  ui: STATUS_VIEW_UI,
4185
4154
  }) }) }) }, `${view.key}:${view.registrationId}`))), _jsxs(Box, { flexDirection: "column", flexShrink: 0, children: [approvalPanelNode !== null ? (approvalPanelNode) : dialogSnapshot !== null ? (_jsx(ExtensionDialog, { dialog: dialogSnapshot, onDecide: value => dialogs.decide(dialogSnapshot.key, value), onCancel: () => dialogs.cancel(dialogSnapshot.key) }, dialogSnapshot.key)) : overlay.kind === 'tips' ? (_jsx(Box, { flexDirection: "column", marginTop: 1, children: _jsx(TipsPanel, { onClose: () => dispatchOverlay({ type: 'close-if', kind: 'tips' }) }) })) : recap !== null && (!recap.auto || recap.expanded) ? (_jsx(Box, { flexDirection: "column", marginTop: 1, children: _jsx(RecapPanel, { summary: recap.summary, title: recap.title, error: recap.error, streaming: !recap.done, titleApplied: recap.titleApplied, onClose: () => {
@@ -4254,28 +4223,7 @@ export function Chat({ channel, questionStore, approvalStore, extensionDialogs,
4254
4223
  return;
4255
4224
  dispatchOverlay({ type: 'set-index', kind: 'workspace-flow', index });
4256
4225
  runWorkspaceFlowAction(signal => choice.choose(signal));
4257
- } }) })), overlay.kind === 'model' && (_jsx(Box, { flexDirection: "column", marginTop: 1, children: modelRowsAreGroups ? (_jsx(ModelPicker, { groups: visibleModelGroups, query: modelQuery, cursor: overlay.cursor ?? modelQuery.length, emptyReason: modelCatalogStatus === 'loading' && models.length === 0 ? 'loading' : modelCatalogStatus === 'error' ? 'error' : 'empty', focusIndex: modelFocus, currentProvider: channel.provider, onPick: (index) => {
4258
- // 点击分组行 = 进入该组(与 Enter 同一条路径)
4259
- const group = visibleModelGroups[index];
4260
- if (!group)
4261
- return;
4262
- setModelGroup(group.provider);
4263
- if (group.provider === RECENTS_GROUP_PROVIDER) {
4264
- dispatchOverlay({ type: 'set-index', kind: 'model', index: 0 });
4265
- return;
4266
- }
4267
- const landing = modelPickerLanding(models.filter(model => model.provider === group.provider), channel.provider, channel.model);
4268
- dispatchOverlay({ type: 'set-index', kind: 'model', index: landing.index });
4269
- } })) : (_jsx(ModelPicker, { models: visibleModelRows, query: modelQuery, cursor: overlay.cursor ?? modelQuery.length, emptyReason: modelCatalogStatus === 'loading' && models.length === 0 ? 'loading' : modelCatalogStatus === 'error' ? 'error' : models.length === 0 ? 'empty' : 'no-match', groupLabel: activeModelGroup === RECENTS_GROUP_PROVIDER
4270
- ? t('picker-group-recent')
4271
- : modelGroups.find(group => group.provider === activeModelGroup)?.label, showBack: modelGroups.length > 1 && !modelPickerDirect, showProviderPrefix: activeModelGroup === RECENTS_GROUP_PROVIDER || activeModelGroup === undefined, focusIndex: modelFocus, currentModel: `${channel.provider}/${channel.model}`, onPick: (index) => {
4272
- // 点击行 = 应用该行模型(与 Enter 同一条路径)
4273
- const model = visibleModelRows[index];
4274
- if (!model)
4275
- return;
4276
- dispatchOverlay({ type: 'close' });
4277
- void switchModelRecorded(model.provider, model.id, model.name);
4278
- } })) })), overlay.kind === 'migrate' && (_jsx(Box, { flexDirection: "column", marginTop: 1, children: _jsx(MigratePicker, { rows: migrateRows ?? [], focusIndex: overlay.index, checked: migrateChecked, loading: migrateRows === null, onPick: (index) => {
4226
+ } }) })), overlay.kind === 'migrate' && (_jsx(Box, { flexDirection: "column", marginTop: 1, children: _jsx(MigratePicker, { rows: migrateRows ?? [], focusIndex: overlay.index, checked: migrateChecked, loading: migrateRows === null, onPick: (index) => {
4279
4227
  const row = (migrateRows ?? [])[index];
4280
4228
  if (!row)
4281
4229
  return;
@@ -4373,7 +4321,8 @@ export function Chat({ channel, questionStore, approvalStore, extensionDialogs,
4373
4321
  const path = overlay.path;
4374
4322
  dispatchOverlay({ type: 'close' });
4375
4323
  runFileAction(index, path);
4376
- } }) })), overlay.kind === 'search' && _jsx(TranscriptSearch, { query: searchQuery, cursorOffset: searchCursor, count: searchCount, current: searchCurrent })] }))] })] }), _jsx(TooltipLayer, { invalidationKey: `${overlay.kind}:${dialogOverlayOpen}:${btw !== null}`, subscribeInvalidation: subscribeTooltipInvalidation }), _jsx(PromptEditorLayer, {}), promptEditorOpen && imagePreviewNode] }));
4324
+ } }) })), overlay.kind === 'search' && _jsx(TranscriptSearch, { query: searchQuery, cursorOffset: searchCursor, count: searchCount, current: searchCurrent })] }))] })] }), _jsx(TooltipLayer, { invalidationKey: `${overlay.kind}:${dialogOverlayOpen}:${btw !== null}`, subscribeInvalidation: subscribeTooltipInvalidation }), _jsx(PromptEditorLayer, {}), promptEditorOpen && imagePreviewNode, overlay.kind === 'model' && _jsx(ModelDialogLayer, { fullscreen: fullscreen, onClose: () => dispatchOverlay({ type: 'close' }), onInsufficientSpace: () => setModelFallback(true), children: size => _jsx(ModelPicker, { rows: modelRows, focusIndex: modelFocus, currentModel: `${channel.provider}/${channel.model}`, favorites: modelFavorites, query: modelQuery, cursor: overlay.cursor ?? modelQuery.length, height: size.rows, status: modelCatalogStatus, switching: modelSwitching, onPick: index => { const row = focusedModelRow(modelRows, index); if (row && !modelSwitchingRef.current)
4325
+ void pickModel(row.model); }, onWheelStep: step => dispatchOverlay({ type: 'set-index', kind: 'model', index: moveModelFocus(modelRows, modelFocus, step) }) }) })] }));
4377
4326
  }
4378
4327
  /**
4379
4328
  * The pinned prompt header shown above the ScrollBox while the user has
@@ -1 +1 @@
1
- {"version":3,"file":"chatOverlay.d.ts","sourceRoot":"","sources":["../../../src/screens/chatOverlay.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAA;AAClF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAA;AAC1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AACvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAA;AAEjE,mEAAmE;AACnE,MAAM,MAAM,oBAAoB,G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,EACpB,KAAK,EAAE;IACL,oBAAoB,EAAE,MAAM,CAAA;IAC5B,iBAAiB,EAAE,MAAM,CAAA;IACzB,iBAAiB,EAAE,MAAM,CAAA;CAC1B,GACA,OAAO,CAqBT"}
@@ -122,6 +122,8 @@ export function dialogOverlayVisible(overlay, gates) {
122
122
  // `<OverlayAbove>` wrapper for it would only churn the prompt area.
123
123
  case 'image-preview':
124
124
  return false;
125
+ case 'model':
126
+ return false;
125
127
  case 'workspace-picker':
126
128
  return gates.workspaceTargetCount > 0;
127
129
  case 'effort':
@@ -1,6 +1,7 @@
1
1
  MIT License
2
2
 
3
3
  Copyright (c) 2026 ccch1mneyyy
4
+ Copyright (c) 2026 dkc (askdkc)
4
5
 
5
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
7
  of this software and associated documentation files (the "Software"), to deal