ima2-gen 3.19.0 → 3.20.0

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 (384) hide show
  1. package/docs/migration/runtime-test-inventory.md +2 -1
  2. package/lib/oauthLauncher.js +10 -5
  3. package/node_modules/zod/README.md +2 -2
  4. package/node_modules/zod/compile.cjs +19 -0
  5. package/node_modules/zod/index.cjs +19 -0
  6. package/node_modules/zod/locales/index.cjs +19 -0
  7. package/node_modules/zod/mini/index.cjs +19 -0
  8. package/node_modules/zod/package.json +8 -7
  9. package/node_modules/zod/src/v3/helpers/errorUtil.ts +1 -1
  10. package/node_modules/zod/src/v4/classic/external.ts +2 -0
  11. package/node_modules/zod/src/v4/classic/from-json-schema.ts +248 -25
  12. package/node_modules/zod/src/v4/classic/schemas.ts +243 -168
  13. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +60 -9
  14. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +6 -0
  15. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +2 -2
  16. package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +265 -0
  17. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +112 -6
  18. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +9 -0
  19. package/node_modules/zod/src/v4/classic/tests/error.test.ts +130 -1
  20. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +157 -0
  21. package/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
  22. package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +40 -2
  23. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +27 -7
  24. package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +88 -56
  25. package/node_modules/zod/src/v4/classic/tests/number.test.ts +39 -0
  26. package/node_modules/zod/src/v4/classic/tests/object.test.ts +56 -0
  27. package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +3 -2
  28. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +70 -0
  29. package/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
  30. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +46 -1
  31. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +19 -0
  32. package/node_modules/zod/src/v4/classic/tests/string.test.ts +95 -1
  33. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +33 -1
  34. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +234 -38
  35. package/node_modules/zod/src/v4/classic/tests/validate.test.ts +569 -0
  36. package/node_modules/zod/src/v4/core/api.ts +44 -28
  37. package/node_modules/zod/src/v4/core/checks.ts +62 -102
  38. package/node_modules/zod/src/v4/core/compile.ts +218 -93
  39. package/node_modules/zod/src/v4/core/core.ts +1 -3
  40. package/node_modules/zod/src/v4/core/doc.ts +6 -2
  41. package/node_modules/zod/src/v4/core/errors.ts +3 -6
  42. package/node_modules/zod/src/v4/core/json-schema-generator.ts +2 -2
  43. package/node_modules/zod/src/v4/core/json-schema-processors.ts +185 -81
  44. package/node_modules/zod/src/v4/core/memoizer.ts +75 -28
  45. package/node_modules/zod/src/v4/core/parse.ts +37 -16
  46. package/node_modules/zod/src/v4/core/regexes.ts +14 -4
  47. package/node_modules/zod/src/v4/core/schemas.ts +296 -132
  48. package/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
  49. package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +35 -0
  50. package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
  51. package/node_modules/zod/src/v4/core/tests/compile.test.ts +399 -2
  52. package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
  53. package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
  54. package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
  55. package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +118 -16
  56. package/node_modules/zod/src/v4/core/to-json-schema.ts +9 -7
  57. package/node_modules/zod/src/v4/core/util.ts +218 -147
  58. package/node_modules/zod/src/v4/core/versions.ts +2 -2
  59. package/node_modules/zod/src/v4/locales/ar.ts +2 -0
  60. package/node_modules/zod/src/v4/locales/az.ts +2 -0
  61. package/node_modules/zod/src/v4/locales/be.ts +2 -0
  62. package/node_modules/zod/src/v4/locales/bg.ts +2 -0
  63. package/node_modules/zod/src/v4/locales/bn.ts +2 -0
  64. package/node_modules/zod/src/v4/locales/ca.ts +2 -0
  65. package/node_modules/zod/src/v4/locales/ckb.ts +2 -0
  66. package/node_modules/zod/src/v4/locales/cs.ts +2 -0
  67. package/node_modules/zod/src/v4/locales/da.ts +2 -0
  68. package/node_modules/zod/src/v4/locales/de.ts +2 -0
  69. package/node_modules/zod/src/v4/locales/el.ts +2 -0
  70. package/node_modules/zod/src/v4/locales/en.ts +2 -0
  71. package/node_modules/zod/src/v4/locales/eo.ts +2 -0
  72. package/node_modules/zod/src/v4/locales/es.ts +2 -0
  73. package/node_modules/zod/src/v4/locales/fa.ts +2 -0
  74. package/node_modules/zod/src/v4/locales/fi.ts +2 -0
  75. package/node_modules/zod/src/v4/locales/fr-CA.ts +2 -0
  76. package/node_modules/zod/src/v4/locales/fr.ts +2 -0
  77. package/node_modules/zod/src/v4/locales/gu.ts +2 -0
  78. package/node_modules/zod/src/v4/locales/he.ts +2 -0
  79. package/node_modules/zod/src/v4/locales/hi.ts +2 -0
  80. package/node_modules/zod/src/v4/locales/hr.ts +2 -0
  81. package/node_modules/zod/src/v4/locales/hu.ts +2 -0
  82. package/node_modules/zod/src/v4/locales/hy.ts +2 -0
  83. package/node_modules/zod/src/v4/locales/id.ts +2 -0
  84. package/node_modules/zod/src/v4/locales/index.ts +1 -0
  85. package/node_modules/zod/src/v4/locales/is.ts +2 -0
  86. package/node_modules/zod/src/v4/locales/it.ts +2 -0
  87. package/node_modules/zod/src/v4/locales/ja.ts +2 -0
  88. package/node_modules/zod/src/v4/locales/ka.ts +2 -0
  89. package/node_modules/zod/src/v4/locales/km.ts +2 -0
  90. package/node_modules/zod/src/v4/locales/kn.ts +2 -0
  91. package/node_modules/zod/src/v4/locales/ko.ts +2 -0
  92. package/node_modules/zod/src/v4/locales/lt.ts +2 -0
  93. package/node_modules/zod/src/v4/locales/mk.ts +2 -0
  94. package/node_modules/zod/src/v4/locales/ms.ts +2 -0
  95. package/node_modules/zod/src/v4/locales/ne.ts +2 -0
  96. package/node_modules/zod/src/v4/locales/nl.ts +2 -0
  97. package/node_modules/zod/src/v4/locales/nn.ts +2 -0
  98. package/node_modules/zod/src/v4/locales/no.ts +2 -0
  99. package/node_modules/zod/src/v4/locales/ota.ts +2 -0
  100. package/node_modules/zod/src/v4/locales/pl.ts +2 -0
  101. package/node_modules/zod/src/v4/locales/ps.ts +2 -0
  102. package/node_modules/zod/src/v4/locales/pt-BR.ts +2 -0
  103. package/node_modules/zod/src/v4/locales/pt.ts +2 -0
  104. package/node_modules/zod/src/v4/locales/ro.ts +2 -0
  105. package/node_modules/zod/src/v4/locales/ru.ts +2 -0
  106. package/node_modules/zod/src/v4/locales/sk.ts +2 -0
  107. package/node_modules/zod/src/v4/locales/sl.ts +2 -0
  108. package/node_modules/zod/src/v4/locales/sv.ts +2 -0
  109. package/node_modules/zod/src/v4/locales/ta.ts +2 -0
  110. package/node_modules/zod/src/v4/locales/tg.ts +135 -0
  111. package/node_modules/zod/src/v4/locales/th.ts +2 -0
  112. package/node_modules/zod/src/v4/locales/tk.ts +2 -0
  113. package/node_modules/zod/src/v4/locales/tr.ts +2 -0
  114. package/node_modules/zod/src/v4/locales/uk.ts +2 -0
  115. package/node_modules/zod/src/v4/locales/ur.ts +2 -0
  116. package/node_modules/zod/src/v4/locales/uz.ts +2 -0
  117. package/node_modules/zod/src/v4/locales/vi.ts +2 -0
  118. package/node_modules/zod/src/v4/locales/yo.ts +2 -0
  119. package/node_modules/zod/src/v4/locales/zh-CN.ts +2 -0
  120. package/node_modules/zod/src/v4/locales/zh-TW.ts +2 -0
  121. package/node_modules/zod/src/v4/mini/external.ts +2 -0
  122. package/node_modules/zod/src/v4/mini/schemas.ts +32 -7
  123. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +1 -1
  124. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +11 -17
  125. package/node_modules/zod/src/v4/mini/tests/index.test.ts +86 -0
  126. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +16 -0
  127. package/node_modules/zod/src/v4/mini/tests/string.test.ts +23 -0
  128. package/node_modules/zod/v3/ZodError.cjs +19 -0
  129. package/node_modules/zod/v3/errors.cjs +19 -0
  130. package/node_modules/zod/v3/external.cjs +19 -0
  131. package/node_modules/zod/v3/helpers/enumUtil.cjs +19 -0
  132. package/node_modules/zod/v3/helpers/errorUtil.cjs +20 -1
  133. package/node_modules/zod/v3/helpers/errorUtil.js +1 -1
  134. package/node_modules/zod/v3/helpers/parseUtil.cjs +19 -0
  135. package/node_modules/zod/v3/helpers/partialUtil.cjs +19 -0
  136. package/node_modules/zod/v3/helpers/typeAliases.cjs +19 -0
  137. package/node_modules/zod/v3/helpers/util.cjs +19 -0
  138. package/node_modules/zod/v3/index.cjs +19 -0
  139. package/node_modules/zod/v3/standard-schema.cjs +19 -0
  140. package/node_modules/zod/v3/types.cjs +19 -0
  141. package/node_modules/zod/v4/classic/checks.cjs +19 -0
  142. package/node_modules/zod/v4/classic/coerce.cjs +19 -0
  143. package/node_modules/zod/v4/classic/compat.cjs +19 -0
  144. package/node_modules/zod/v4/classic/deep-partial.cjs +19 -0
  145. package/node_modules/zod/v4/classic/errors.cjs +19 -0
  146. package/node_modules/zod/v4/classic/external.cjs +22 -1
  147. package/node_modules/zod/v4/classic/external.d.cts +1 -1
  148. package/node_modules/zod/v4/classic/external.d.ts +1 -1
  149. package/node_modules/zod/v4/classic/external.js +1 -1
  150. package/node_modules/zod/v4/classic/from-json-schema.cjs +264 -24
  151. package/node_modules/zod/v4/classic/from-json-schema.js +245 -24
  152. package/node_modules/zod/v4/classic/in-out.cjs +19 -0
  153. package/node_modules/zod/v4/classic/index.cjs +19 -0
  154. package/node_modules/zod/v4/classic/iso.cjs +19 -0
  155. package/node_modules/zod/v4/classic/parse.cjs +19 -0
  156. package/node_modules/zod/v4/classic/schemas.cjs +100 -35
  157. package/node_modules/zod/v4/classic/schemas.d.cts +15 -1
  158. package/node_modules/zod/v4/classic/schemas.d.ts +15 -1
  159. package/node_modules/zod/v4/classic/schemas.js +77 -33
  160. package/node_modules/zod/v4/core/api.cjs +45 -22
  161. package/node_modules/zod/v4/core/api.d.cts +12 -6
  162. package/node_modules/zod/v4/core/api.d.ts +12 -6
  163. package/node_modules/zod/v4/core/api.js +25 -22
  164. package/node_modules/zod/v4/core/checks.cjs +51 -97
  165. package/node_modules/zod/v4/core/checks.d.cts +17 -1
  166. package/node_modules/zod/v4/core/checks.d.ts +17 -1
  167. package/node_modules/zod/v4/core/checks.js +31 -96
  168. package/node_modules/zod/v4/core/compile.cjs +173 -78
  169. package/node_modules/zod/v4/core/compile.d.cts +18 -4
  170. package/node_modules/zod/v4/core/compile.d.ts +18 -4
  171. package/node_modules/zod/v4/core/compile.js +154 -79
  172. package/node_modules/zod/v4/core/core.cjs +20 -1
  173. package/node_modules/zod/v4/core/core.js +1 -1
  174. package/node_modules/zod/v4/core/doc.cjs +26 -2
  175. package/node_modules/zod/v4/core/doc.js +7 -2
  176. package/node_modules/zod/v4/core/errors.cjs +21 -5
  177. package/node_modules/zod/v4/core/errors.js +2 -5
  178. package/node_modules/zod/v4/core/index.cjs +19 -0
  179. package/node_modules/zod/v4/core/json-schema-generator.cjs +20 -1
  180. package/node_modules/zod/v4/core/json-schema-generator.js +2 -2
  181. package/node_modules/zod/v4/core/json-schema-processors.cjs +188 -72
  182. package/node_modules/zod/v4/core/json-schema-processors.d.cts +16 -0
  183. package/node_modules/zod/v4/core/json-schema-processors.d.ts +16 -0
  184. package/node_modules/zod/v4/core/json-schema-processors.js +170 -74
  185. package/node_modules/zod/v4/core/json-schema.cjs +19 -0
  186. package/node_modules/zod/v4/core/memoizer.cjs +111 -23
  187. package/node_modules/zod/v4/core/memoizer.js +69 -23
  188. package/node_modules/zod/v4/core/parse.cjs +56 -16
  189. package/node_modules/zod/v4/core/parse.js +37 -16
  190. package/node_modules/zod/v4/core/regexes.cjs +31 -6
  191. package/node_modules/zod/v4/core/regexes.d.cts +3 -0
  192. package/node_modules/zod/v4/core/regexes.d.ts +3 -0
  193. package/node_modules/zod/v4/core/regexes.js +10 -4
  194. package/node_modules/zod/v4/core/registries.cjs +19 -0
  195. package/node_modules/zod/v4/core/schemas.cjs +302 -114
  196. package/node_modules/zod/v4/core/schemas.d.cts +28 -8
  197. package/node_modules/zod/v4/core/schemas.d.ts +28 -8
  198. package/node_modules/zod/v4/core/schemas.js +279 -113
  199. package/node_modules/zod/v4/core/standard-schema.cjs +19 -0
  200. package/node_modules/zod/v4/core/to-json-schema.cjs +28 -7
  201. package/node_modules/zod/v4/core/to-json-schema.d.cts +4 -3
  202. package/node_modules/zod/v4/core/to-json-schema.d.ts +4 -3
  203. package/node_modules/zod/v4/core/to-json-schema.js +7 -6
  204. package/node_modules/zod/v4/core/util.cjs +177 -143
  205. package/node_modules/zod/v4/core/util.d.cts +25 -4
  206. package/node_modules/zod/v4/core/util.d.ts +25 -4
  207. package/node_modules/zod/v4/core/util.js +156 -143
  208. package/node_modules/zod/v4/core/versions.cjs +21 -2
  209. package/node_modules/zod/v4/core/versions.d.cts +1 -1
  210. package/node_modules/zod/v4/core/versions.d.ts +1 -1
  211. package/node_modules/zod/v4/core/versions.js +2 -2
  212. package/node_modules/zod/v4/core/visit.cjs +19 -0
  213. package/node_modules/zod/v4/index.cjs +19 -0
  214. package/node_modules/zod/v4/locales/ar.cjs +2 -0
  215. package/node_modules/zod/v4/locales/ar.js +2 -0
  216. package/node_modules/zod/v4/locales/az.cjs +2 -0
  217. package/node_modules/zod/v4/locales/az.js +2 -0
  218. package/node_modules/zod/v4/locales/be.cjs +2 -0
  219. package/node_modules/zod/v4/locales/be.js +2 -0
  220. package/node_modules/zod/v4/locales/bg.cjs +2 -0
  221. package/node_modules/zod/v4/locales/bg.js +2 -0
  222. package/node_modules/zod/v4/locales/bn.cjs +2 -0
  223. package/node_modules/zod/v4/locales/bn.js +2 -0
  224. package/node_modules/zod/v4/locales/ca.cjs +2 -0
  225. package/node_modules/zod/v4/locales/ca.js +2 -0
  226. package/node_modules/zod/v4/locales/ckb.cjs +2 -0
  227. package/node_modules/zod/v4/locales/ckb.js +2 -0
  228. package/node_modules/zod/v4/locales/cs.cjs +2 -0
  229. package/node_modules/zod/v4/locales/cs.js +2 -0
  230. package/node_modules/zod/v4/locales/da.cjs +2 -0
  231. package/node_modules/zod/v4/locales/da.js +2 -0
  232. package/node_modules/zod/v4/locales/de.cjs +2 -0
  233. package/node_modules/zod/v4/locales/de.js +2 -0
  234. package/node_modules/zod/v4/locales/el.cjs +2 -0
  235. package/node_modules/zod/v4/locales/el.js +2 -0
  236. package/node_modules/zod/v4/locales/en.cjs +2 -0
  237. package/node_modules/zod/v4/locales/en.js +2 -0
  238. package/node_modules/zod/v4/locales/eo.cjs +2 -0
  239. package/node_modules/zod/v4/locales/eo.js +2 -0
  240. package/node_modules/zod/v4/locales/es.cjs +2 -0
  241. package/node_modules/zod/v4/locales/es.js +2 -0
  242. package/node_modules/zod/v4/locales/fa.cjs +2 -0
  243. package/node_modules/zod/v4/locales/fa.js +2 -0
  244. package/node_modules/zod/v4/locales/fi.cjs +2 -0
  245. package/node_modules/zod/v4/locales/fi.js +2 -0
  246. package/node_modules/zod/v4/locales/fr-CA.cjs +2 -0
  247. package/node_modules/zod/v4/locales/fr-CA.js +2 -0
  248. package/node_modules/zod/v4/locales/fr.cjs +2 -0
  249. package/node_modules/zod/v4/locales/fr.js +2 -0
  250. package/node_modules/zod/v4/locales/gu.cjs +2 -0
  251. package/node_modules/zod/v4/locales/gu.js +2 -0
  252. package/node_modules/zod/v4/locales/he.cjs +2 -0
  253. package/node_modules/zod/v4/locales/he.js +2 -0
  254. package/node_modules/zod/v4/locales/hi.cjs +2 -0
  255. package/node_modules/zod/v4/locales/hi.js +2 -0
  256. package/node_modules/zod/v4/locales/hr.cjs +2 -0
  257. package/node_modules/zod/v4/locales/hr.js +2 -0
  258. package/node_modules/zod/v4/locales/hu.cjs +2 -0
  259. package/node_modules/zod/v4/locales/hu.js +2 -0
  260. package/node_modules/zod/v4/locales/hy.cjs +2 -0
  261. package/node_modules/zod/v4/locales/hy.js +2 -0
  262. package/node_modules/zod/v4/locales/id.cjs +2 -0
  263. package/node_modules/zod/v4/locales/id.js +2 -0
  264. package/node_modules/zod/v4/locales/index.cjs +22 -1
  265. package/node_modules/zod/v4/locales/index.d.cts +1 -0
  266. package/node_modules/zod/v4/locales/index.d.ts +1 -0
  267. package/node_modules/zod/v4/locales/index.js +1 -0
  268. package/node_modules/zod/v4/locales/is.cjs +2 -0
  269. package/node_modules/zod/v4/locales/is.js +2 -0
  270. package/node_modules/zod/v4/locales/it.cjs +2 -0
  271. package/node_modules/zod/v4/locales/it.js +2 -0
  272. package/node_modules/zod/v4/locales/ja.cjs +2 -0
  273. package/node_modules/zod/v4/locales/ja.js +2 -0
  274. package/node_modules/zod/v4/locales/ka.cjs +2 -0
  275. package/node_modules/zod/v4/locales/ka.js +2 -0
  276. package/node_modules/zod/v4/locales/km.cjs +2 -0
  277. package/node_modules/zod/v4/locales/km.js +2 -0
  278. package/node_modules/zod/v4/locales/kn.cjs +2 -0
  279. package/node_modules/zod/v4/locales/kn.js +2 -0
  280. package/node_modules/zod/v4/locales/ko.cjs +2 -0
  281. package/node_modules/zod/v4/locales/ko.js +2 -0
  282. package/node_modules/zod/v4/locales/lt.cjs +2 -0
  283. package/node_modules/zod/v4/locales/lt.js +2 -0
  284. package/node_modules/zod/v4/locales/mk.cjs +2 -0
  285. package/node_modules/zod/v4/locales/mk.js +2 -0
  286. package/node_modules/zod/v4/locales/ms.cjs +2 -0
  287. package/node_modules/zod/v4/locales/ms.js +2 -0
  288. package/node_modules/zod/v4/locales/ne.cjs +2 -0
  289. package/node_modules/zod/v4/locales/ne.js +2 -0
  290. package/node_modules/zod/v4/locales/nl.cjs +2 -0
  291. package/node_modules/zod/v4/locales/nl.js +2 -0
  292. package/node_modules/zod/v4/locales/nn.cjs +2 -0
  293. package/node_modules/zod/v4/locales/nn.js +2 -0
  294. package/node_modules/zod/v4/locales/no.cjs +2 -0
  295. package/node_modules/zod/v4/locales/no.js +2 -0
  296. package/node_modules/zod/v4/locales/ota.cjs +2 -0
  297. package/node_modules/zod/v4/locales/ota.js +2 -0
  298. package/node_modules/zod/v4/locales/pl.cjs +2 -0
  299. package/node_modules/zod/v4/locales/pl.js +2 -0
  300. package/node_modules/zod/v4/locales/ps.cjs +2 -0
  301. package/node_modules/zod/v4/locales/ps.js +2 -0
  302. package/node_modules/zod/v4/locales/pt-BR.cjs +2 -0
  303. package/node_modules/zod/v4/locales/pt-BR.js +2 -0
  304. package/node_modules/zod/v4/locales/pt.cjs +2 -0
  305. package/node_modules/zod/v4/locales/pt.js +2 -0
  306. package/node_modules/zod/v4/locales/ro.cjs +2 -0
  307. package/node_modules/zod/v4/locales/ro.js +2 -0
  308. package/node_modules/zod/v4/locales/ru.cjs +2 -0
  309. package/node_modules/zod/v4/locales/ru.js +2 -0
  310. package/node_modules/zod/v4/locales/sk.cjs +2 -0
  311. package/node_modules/zod/v4/locales/sk.js +2 -0
  312. package/node_modules/zod/v4/locales/sl.cjs +2 -0
  313. package/node_modules/zod/v4/locales/sl.js +2 -0
  314. package/node_modules/zod/v4/locales/sv.cjs +2 -0
  315. package/node_modules/zod/v4/locales/sv.js +2 -0
  316. package/node_modules/zod/v4/locales/ta.cjs +2 -0
  317. package/node_modules/zod/v4/locales/ta.js +2 -0
  318. package/node_modules/zod/v4/locales/tg.cjs +144 -0
  319. package/node_modules/zod/v4/locales/tg.d.cts +5 -0
  320. package/node_modules/zod/v4/locales/tg.d.ts +4 -0
  321. package/node_modules/zod/v4/locales/tg.js +117 -0
  322. package/node_modules/zod/v4/locales/th.cjs +2 -0
  323. package/node_modules/zod/v4/locales/th.js +2 -0
  324. package/node_modules/zod/v4/locales/tk.cjs +2 -0
  325. package/node_modules/zod/v4/locales/tk.js +2 -0
  326. package/node_modules/zod/v4/locales/tr.cjs +2 -0
  327. package/node_modules/zod/v4/locales/tr.js +2 -0
  328. package/node_modules/zod/v4/locales/uk.cjs +2 -0
  329. package/node_modules/zod/v4/locales/uk.js +2 -0
  330. package/node_modules/zod/v4/locales/ur.cjs +2 -0
  331. package/node_modules/zod/v4/locales/ur.js +2 -0
  332. package/node_modules/zod/v4/locales/uz.cjs +2 -0
  333. package/node_modules/zod/v4/locales/uz.js +2 -0
  334. package/node_modules/zod/v4/locales/vi.cjs +2 -0
  335. package/node_modules/zod/v4/locales/vi.js +2 -0
  336. package/node_modules/zod/v4/locales/yo.cjs +2 -0
  337. package/node_modules/zod/v4/locales/yo.js +2 -0
  338. package/node_modules/zod/v4/locales/zh-CN.cjs +2 -0
  339. package/node_modules/zod/v4/locales/zh-CN.js +2 -0
  340. package/node_modules/zod/v4/locales/zh-TW.cjs +2 -0
  341. package/node_modules/zod/v4/locales/zh-TW.js +2 -0
  342. package/node_modules/zod/v4/mini/checks.cjs +19 -0
  343. package/node_modules/zod/v4/mini/coerce.cjs +19 -0
  344. package/node_modules/zod/v4/mini/deep-partial.cjs +19 -0
  345. package/node_modules/zod/v4/mini/external.cjs +22 -1
  346. package/node_modules/zod/v4/mini/external.d.cts +1 -1
  347. package/node_modules/zod/v4/mini/external.d.ts +1 -1
  348. package/node_modules/zod/v4/mini/external.js +1 -1
  349. package/node_modules/zod/v4/mini/in-out.cjs +19 -0
  350. package/node_modules/zod/v4/mini/index.cjs +19 -0
  351. package/node_modules/zod/v4/mini/iso.cjs +19 -0
  352. package/node_modules/zod/v4/mini/parse.cjs +19 -0
  353. package/node_modules/zod/v4/mini/schemas.cjs +44 -8
  354. package/node_modules/zod/v4/mini/schemas.d.cts +6 -1
  355. package/node_modules/zod/v4/mini/schemas.d.ts +6 -1
  356. package/node_modules/zod/v4/mini/schemas.js +21 -6
  357. package/node_modules/zod/v4-mini/index.cjs +19 -0
  358. package/package.json +6 -6
  359. package/routes/health.js +10 -1
  360. package/ui/dist/.vite/manifest.json +64 -64
  361. package/ui/dist/assets/{AgentWorkspace-C6ke6Eo4.js → AgentWorkspace-CENfXAob.js} +1 -1
  362. package/ui/dist/assets/{App-pMN1OjNW.js → App-B9y6oVuL.js} +8 -8
  363. package/ui/dist/assets/{AssetGenWorkspace-DzEfpUy_.js → AssetGenWorkspace-fL2MjYj9.js} +2 -2
  364. package/ui/dist/assets/{AssetMediaLightbox-Bx0azN0S.js → AssetMediaLightbox-Be4arnGs.js} +1 -1
  365. package/ui/dist/assets/{AssetsWorkspace-CHw1u9VC.js → AssetsWorkspace-7z4wyfp0.js} +1 -1
  366. package/ui/dist/assets/{CardNewsWorkspace-DsjqhaYO.js → CardNewsWorkspace-DSldDpsl.js} +1 -1
  367. package/ui/dist/assets/{GenerationRequestLogPanel-EYEiHIr9.js → GenerationRequestLogPanel-CcQKi89f.js} +1 -1
  368. package/ui/dist/assets/{HomeWorkspace-DbnY1YF2.js → HomeWorkspace-BZDk2X1U.js} +1 -1
  369. package/ui/dist/assets/{KeyingPanel-8J_RMrxg.js → KeyingPanel-snhXKnA3.js} +1 -1
  370. package/ui/dist/assets/{NodeCanvas-DmjbNcTa.js → NodeCanvas-CJQXsS0r.js} +1 -1
  371. package/ui/dist/assets/{PromptBuilderPanel-CL34Jpso.js → PromptBuilderPanel-B-YP1ph5.js} +1 -1
  372. package/ui/dist/assets/{PromptImportDialog-B24cvEkK.js → PromptImportDialog-ssPMxE4j.js} +2 -2
  373. package/ui/dist/assets/{PromptImportDiscoverySection-Bbw1_J_3.js → PromptImportDiscoverySection-CvOgGTOs.js} +1 -1
  374. package/ui/dist/assets/{PromptImportFolderSection-CMpxuE8e.js → PromptImportFolderSection-CxR9qxbi.js} +1 -1
  375. package/ui/dist/assets/{PromptLibraryPanel-Ct98TJ61.js → PromptLibraryPanel-DjYgbXes.js} +2 -2
  376. package/ui/dist/assets/{SettingsWorkspace-DL9Tm90P.js → SettingsWorkspace-BtruYb6g.js} +1 -1
  377. package/ui/dist/assets/{SpriteRecipeWorkspace-BJUH1ddP.js → SpriteRecipeWorkspace-DBrYOYOK.js} +1 -1
  378. package/ui/dist/assets/{index-D_LpLGWV.js → index-CWFgCqE1.js} +3 -3
  379. package/ui/dist/assets/{index-CHeVGnoy.js → index-va83o9G5.js} +12 -12
  380. package/ui/dist/assets/{pptxgen.es-s4xfPXLT.js → pptxgen.es-D-kntoLD.js} +1 -1
  381. package/ui/dist/assets/{promptBuilderStore-DQR29LwN.js → promptBuilderStore-BdGPLEra.js} +1 -1
  382. package/ui/dist/assets/useAgentDialogFocus-BDdVl-nq.js +1 -0
  383. package/ui/dist/index.html +1 -1
  384. package/ui/dist/assets/useAgentDialogFocus-DAeS9IWG.js +0 -1
@@ -23,8 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.ZodMiniLiteral = exports.ZodMiniEnum = exports.ZodMiniSet = exports.ZodMiniMap = exports.ZodMiniRecord = exports.ZodMiniTuple = exports.ZodMiniIntersection = exports.ZodMiniDiscriminatedUnion = exports.ZodMiniXor = exports.ZodMiniUnion = exports.ZodMiniObject = exports.ZodMiniArray = exports.ZodMiniDate = exports.ZodMiniVoid = exports.ZodMiniNever = exports.ZodMiniUnknown = exports.ZodMiniAny = exports.ZodMiniNull = exports.ZodMiniUndefined = exports.ZodMiniSymbol = exports.ZodMiniBigIntFormat = exports.ZodMiniBigInt = exports.ZodMiniBoolean = exports.ZodMiniNumberFormat = exports.ZodMiniNumber = exports.ZodMiniCustomStringFormat = exports.ZodMiniJWT = exports.ZodMiniCreditCard = exports.ZodMiniE164 = exports.ZodMiniBase64URL = exports.ZodMiniBase64 = exports.ZodMiniMAC = exports.ZodMiniCIDRv6 = exports.ZodMiniCIDRv4 = exports.ZodMiniIPv6 = exports.ZodMiniIPv4 = exports.ZodMiniKSUID = exports.ZodMiniXID = exports.ZodMiniULID = exports.ZodMiniCUID2 = exports.ZodMiniCUID = exports.ZodMiniNanoID = exports.ZodMiniEmoji = exports.ZodMiniURL = exports.ZodMiniUUID = exports.ZodMiniGUID = exports.ZodMiniEmail = exports.ZodMiniStringFormat = exports.ZodMiniString = exports.ZodMiniType = void 0;
27
- exports.ZodMiniFunction = exports.stringbool = exports.meta = exports.describe = exports.ZodMiniCustom = exports.ZodMiniPromise = exports.ZodMiniLazy = exports.ZodMiniTemplateLiteral = exports.ZodMiniReadonly = exports.ZodMiniCodec = exports.ZodMiniPipe = exports.ZodMiniNaN = exports.ZodMiniCatch = exports.ZodMiniSuccess = exports.ZodMiniNonOptional = exports.ZodMiniPrefault = exports.ZodMiniDefault = exports.ZodMiniNullable = exports.ZodMiniExactOptional = exports.ZodMiniOptional = exports.ZodMiniTransform = exports.ZodMiniFile = void 0;
26
+ exports.ZodMiniEnum = exports.ZodMiniSet = exports.ZodMiniMap = exports.ZodMiniRecord = exports.ZodMiniTuple = exports.ZodMiniIntersection = exports.ZodMiniDiscriminatedUnion = exports.ZodMiniXor = exports.ZodMiniUnion = exports.ZodMiniObject = exports.ZodMiniArray = exports.ZodMiniDate = exports.ZodMiniVoid = exports.ZodMiniNever = exports.ZodMiniUnknown = exports.ZodMiniAny = exports.ZodMiniNull = exports.ZodMiniUndefined = exports.ZodMiniSymbol = exports.ZodMiniBigIntFormat = exports.ZodMiniBigInt = exports.ZodMiniBoolean = exports.ZodMiniNumberFormat = exports.ZodMiniNumber = exports.ZodMiniCustomStringFormat = exports.ZodMiniJWT = exports.ZodMiniIBAN = exports.ZodMiniCreditCard = exports.ZodMiniE164 = exports.ZodMiniBase64URL = exports.ZodMiniBase64 = exports.ZodMiniMAC = exports.ZodMiniCIDRv6 = exports.ZodMiniCIDRv4 = exports.ZodMiniIPv6 = exports.ZodMiniIPv4 = exports.ZodMiniKSUID = exports.ZodMiniXID = exports.ZodMiniULID = exports.ZodMiniCUID2 = exports.ZodMiniCUID = exports.ZodMiniNanoID = exports.ZodMiniEmoji = exports.ZodMiniURL = exports.ZodMiniUUID = exports.ZodMiniGUID = exports.ZodMiniEmail = exports.ZodMiniStringFormat = exports.ZodMiniString = exports.ZodMiniType = void 0;
27
+ exports.ZodMiniFunction = exports.stringbool = exports.meta = exports.describe = exports.ZodMiniCustom = exports.ZodMiniPromise = exports.ZodMiniLazy = exports.ZodMiniTemplateLiteral = exports.ZodMiniReadonly = exports.ZodMiniCodec = exports.ZodMiniPipe = exports.ZodMiniNaN = exports.ZodMiniCatch = exports.ZodMiniSuccess = exports.ZodMiniNonOptional = exports.ZodMiniPrefault = exports.ZodMiniDefault = exports.ZodMiniNullable = exports.ZodMiniExactOptional = exports.ZodMiniOptional = exports.ZodMiniTransform = exports.ZodMiniFile = exports.ZodMiniLiteral = void 0;
28
28
  exports.string = string;
29
29
  exports.email = email;
30
30
  exports.guid = guid;
@@ -50,10 +50,12 @@ exports.base64 = base64;
50
50
  exports.base64url = base64url;
51
51
  exports.e164 = e164;
52
52
  exports.creditCard = creditCard;
53
+ exports.iban = iban;
53
54
  exports.jwt = jwt;
54
55
  exports.stringFormat = stringFormat;
55
56
  exports.hostname = hostname;
56
57
  exports.hex = hex;
58
+ exports.currencyCode = currencyCode;
57
59
  exports.hash = hash;
58
60
  exports.number = number;
59
61
  exports.int = int;
@@ -130,6 +132,7 @@ exports.function = _function;
130
132
  exports._function = _function;
131
133
  exports.function = _function;
132
134
  const core = __importStar(require("../core/index.cjs"));
135
+ const regexes = __importStar(require("../core/regexes.cjs"));
133
136
  const util = __importStar(require("../core/util.cjs"));
134
137
  const parse = __importStar(require("./parse.cjs"));
135
138
  exports.ZodMiniType = core.$constructor("ZodMiniType", (inst, def) => {
@@ -243,8 +246,8 @@ function url(params) {
243
246
  // @__NO_SIDE_EFFECTS__
244
247
  function httpUrl(params) {
245
248
  return core._url(exports.ZodMiniURL, {
246
- protocol: core.regexes.httpProtocol,
247
- hostname: core.regexes.domain,
249
+ protocol: regexes.httpProtocol,
250
+ hostname: regexes.domain,
248
251
  ...util.normalizeParams(params),
249
252
  });
250
253
  }
@@ -388,6 +391,14 @@ exports.ZodMiniCreditCard = core.$constructor("ZodMiniCreditCard", (inst, def) =
388
391
  function creditCard(params) {
389
392
  return core._creditCard(exports.ZodMiniCreditCard, params);
390
393
  }
394
+ exports.ZodMiniIBAN = core.$constructor("ZodMiniIBAN", (inst, def) => {
395
+ core.$ZodIBAN.init(inst, def);
396
+ exports.ZodMiniStringFormat.init(inst, def);
397
+ });
398
+ // @__NO_SIDE_EFFECTS__
399
+ function iban(params) {
400
+ return core._iban(exports.ZodMiniIBAN, params);
401
+ }
391
402
  exports.ZodMiniJWT = core.$constructor("ZodMiniJWT", (inst, def) => {
392
403
  core.$ZodJWT.init(inst, def);
393
404
  exports.ZodMiniStringFormat.init(inst, def);
@@ -406,11 +417,15 @@ function stringFormat(format, fnOrRegex, _params = {}) {
406
417
  }
407
418
  // @__NO_SIDE_EFFECTS__
408
419
  function hostname(_params) {
409
- return core._stringFormat(exports.ZodMiniCustomStringFormat, "hostname", core.regexes.hostname, _params);
420
+ return core._stringFormat(exports.ZodMiniCustomStringFormat, "hostname", regexes.hostname, _params);
410
421
  }
411
422
  // @__NO_SIDE_EFFECTS__
412
423
  function hex(_params) {
413
- return core._stringFormat(exports.ZodMiniCustomStringFormat, "hex", core.regexes.hex, _params);
424
+ return core._stringFormat(exports.ZodMiniCustomStringFormat, "hex", regexes.hex, _params);
425
+ }
426
+ // @__NO_SIDE_EFFECTS__
427
+ function currencyCode(_params) {
428
+ return core._stringFormat(exports.ZodMiniCustomStringFormat, "currency_code", regexes.currencyCode, _params);
414
429
  }
415
430
  // @__NO_SIDE_EFFECTS__
416
431
  function hash(alg, params) {
@@ -639,7 +654,8 @@ function required(schema, mask) {
639
654
  }
640
655
  // @__NO_SIDE_EFFECTS__
641
656
  function catchall(inst, catchall) {
642
- return inst.clone({ ...inst._zod.def, catchall: catchall });
657
+ // `mergeDefs` rather than a spread: spreading reads `shape`, and resolving it can mint a whole fresh subtree
658
+ return inst.clone(util.mergeDefs(inst._zod.def, { catchall: catchall }));
643
659
  }
644
660
  exports.ZodMiniUnion = core.$constructor("ZodMiniUnion", (inst, def) => {
645
661
  core.$ZodUnion.init(inst, def);
@@ -778,7 +794,8 @@ function set(valueType, params) {
778
794
  exports.ZodMiniEnum = core.$constructor("ZodMiniEnum", (inst, def) => {
779
795
  core.$ZodEnum.init(inst, def);
780
796
  exports.ZodMiniType.init(inst, def);
781
- inst.options = Object.values(def.entries);
797
+ // reuse the parsed value set so a numeric TS enum's reverse-mapping keys stay out
798
+ inst.options = [...inst._zod.values];
782
799
  });
783
800
  // @__NO_SIDE_EFFECTS__
784
801
  function _enum(values, params) {
@@ -1109,3 +1126,22 @@ function _function(params) {
1109
1126
  output: params?.output ?? unknown(),
1110
1127
  });
1111
1128
  }
1129
+
1130
+ // seal-cjs-exports
1131
+ (function () {
1132
+ var keys = Object.getOwnPropertyNames(exports);
1133
+ for (var i = 0; i < keys.length; i++) {
1134
+ var desc = Object.getOwnPropertyDescriptor(exports, keys[i]);
1135
+ if (!desc || !desc.get || !desc.configurable) continue;
1136
+ var value;
1137
+ try {
1138
+ value = desc.get();
1139
+ } catch (e) {
1140
+ continue;
1141
+ }
1142
+ // a circular require may not have settled this one yet, so leave it live
1143
+ if (value === undefined) continue;
1144
+ Object.defineProperty(exports, keys[i], { value: value, writable: false, enumerable: desc.enumerable, configurable: false });
1145
+ }
1146
+ Object.freeze(exports);
1147
+ })();
@@ -132,6 +132,10 @@ export interface ZodMiniCreditCard extends _ZodMiniString<core.$ZodCreditCardInt
132
132
  }
133
133
  export declare const ZodMiniCreditCard: core.$constructor<ZodMiniCreditCard>;
134
134
  export declare function creditCard(params?: string | core.$ZodCreditCardParams): ZodMiniCreditCard;
135
+ export interface ZodMiniIBAN extends _ZodMiniString<core.$ZodIBANInternals> {
136
+ }
137
+ export declare const ZodMiniIBAN: core.$constructor<ZodMiniIBAN>;
138
+ export declare function iban(params?: string | core.$ZodIBANParams): ZodMiniIBAN;
135
139
  export interface ZodMiniJWT extends _ZodMiniString<core.$ZodJWTInternals> {
136
140
  }
137
141
  export declare const ZodMiniJWT: core.$constructor<ZodMiniJWT>;
@@ -143,6 +147,7 @@ export declare const ZodMiniCustomStringFormat: core.$constructor<ZodMiniCustomS
143
147
  export declare function stringFormat<Format extends string>(format: Format, fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | RegExp, _params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<Format>;
144
148
  export declare function hostname(_params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<"hostname">;
145
149
  export declare function hex(_params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<"hex">;
150
+ export declare function currencyCode(_params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<"currency_code">;
146
151
  export declare function hash<Alg extends util.HashAlgorithm, Enc extends util.HashEncoding = "hex">(alg: Alg, params?: {
147
152
  enc?: Enc;
148
153
  } & core.$ZodStringFormatParams): ZodMiniCustomStringFormat<`${Alg}_${Enc}`>;
@@ -363,7 +368,7 @@ export declare function _default<T extends SomeType>(innerType: T, defaultValue:
363
368
  export interface ZodMiniPrefault<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodPrefaultInternals<T>> {
364
369
  }
365
370
  export declare const ZodMiniPrefault: core.$constructor<ZodMiniPrefault>;
366
- export declare function prefault<T extends SomeType>(innerType: T, defaultValue: util.NoUndefined<core.input<T>> | (() => util.NoUndefined<core.input<T>>)): ZodMiniPrefault<T>;
371
+ export declare function prefault<T extends SomeType>(innerType: T, defaultValue: core.input<T> | (() => core.input<T>)): ZodMiniPrefault<T>;
367
372
  export interface ZodMiniNonOptional<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodNonOptionalInternals<T>> {
368
373
  }
369
374
  export declare const ZodMiniNonOptional: core.$constructor<ZodMiniNonOptional>;
@@ -132,6 +132,10 @@ export interface ZodMiniCreditCard extends _ZodMiniString<core.$ZodCreditCardInt
132
132
  }
133
133
  export declare const ZodMiniCreditCard: core.$constructor<ZodMiniCreditCard>;
134
134
  export declare function creditCard(params?: string | core.$ZodCreditCardParams): ZodMiniCreditCard;
135
+ export interface ZodMiniIBAN extends _ZodMiniString<core.$ZodIBANInternals> {
136
+ }
137
+ export declare const ZodMiniIBAN: core.$constructor<ZodMiniIBAN>;
138
+ export declare function iban(params?: string | core.$ZodIBANParams): ZodMiniIBAN;
135
139
  export interface ZodMiniJWT extends _ZodMiniString<core.$ZodJWTInternals> {
136
140
  }
137
141
  export declare const ZodMiniJWT: core.$constructor<ZodMiniJWT>;
@@ -143,6 +147,7 @@ export declare const ZodMiniCustomStringFormat: core.$constructor<ZodMiniCustomS
143
147
  export declare function stringFormat<Format extends string>(format: Format, fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | RegExp, _params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<Format>;
144
148
  export declare function hostname(_params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<"hostname">;
145
149
  export declare function hex(_params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<"hex">;
150
+ export declare function currencyCode(_params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<"currency_code">;
146
151
  export declare function hash<Alg extends util.HashAlgorithm, Enc extends util.HashEncoding = "hex">(alg: Alg, params?: {
147
152
  enc?: Enc;
148
153
  } & core.$ZodStringFormatParams): ZodMiniCustomStringFormat<`${Alg}_${Enc}`>;
@@ -363,7 +368,7 @@ export declare function _default<T extends SomeType>(innerType: T, defaultValue:
363
368
  export interface ZodMiniPrefault<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodPrefaultInternals<T>> {
364
369
  }
365
370
  export declare const ZodMiniPrefault: core.$constructor<ZodMiniPrefault>;
366
- export declare function prefault<T extends SomeType>(innerType: T, defaultValue: util.NoUndefined<core.input<T>> | (() => util.NoUndefined<core.input<T>>)): ZodMiniPrefault<T>;
371
+ export declare function prefault<T extends SomeType>(innerType: T, defaultValue: core.input<T> | (() => core.input<T>)): ZodMiniPrefault<T>;
367
372
  export interface ZodMiniNonOptional<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodNonOptionalInternals<T>> {
368
373
  }
369
374
  export declare const ZodMiniNonOptional: core.$constructor<ZodMiniNonOptional>;
@@ -1,4 +1,5 @@
1
1
  import * as core from "../core/index.js";
2
+ import * as regexes from "../core/regexes.js";
2
3
  import * as util from "../core/util.js";
3
4
  import * as parse from "./parse.js";
4
5
  export const ZodMiniType = /*@__PURE__*/ core.$constructor("ZodMiniType", (inst, def) => {
@@ -112,8 +113,8 @@ export function url(params) {
112
113
  // @__NO_SIDE_EFFECTS__
113
114
  export function httpUrl(params) {
114
115
  return core._url(ZodMiniURL, {
115
- protocol: core.regexes.httpProtocol,
116
- hostname: core.regexes.domain,
116
+ protocol: regexes.httpProtocol,
117
+ hostname: regexes.domain,
117
118
  ...util.normalizeParams(params),
118
119
  });
119
120
  }
@@ -257,6 +258,14 @@ export const ZodMiniCreditCard = /*@__PURE__*/ core.$constructor("ZodMiniCreditC
257
258
  export function creditCard(params) {
258
259
  return core._creditCard(ZodMiniCreditCard, params);
259
260
  }
261
+ export const ZodMiniIBAN = /*@__PURE__*/ core.$constructor("ZodMiniIBAN", (inst, def) => {
262
+ core.$ZodIBAN.init(inst, def);
263
+ ZodMiniStringFormat.init(inst, def);
264
+ });
265
+ // @__NO_SIDE_EFFECTS__
266
+ export function iban(params) {
267
+ return core._iban(ZodMiniIBAN, params);
268
+ }
260
269
  export const ZodMiniJWT = /*@__PURE__*/ core.$constructor("ZodMiniJWT", (inst, def) => {
261
270
  core.$ZodJWT.init(inst, def);
262
271
  ZodMiniStringFormat.init(inst, def);
@@ -275,11 +284,15 @@ export function stringFormat(format, fnOrRegex, _params = {}) {
275
284
  }
276
285
  // @__NO_SIDE_EFFECTS__
277
286
  export function hostname(_params) {
278
- return core._stringFormat(ZodMiniCustomStringFormat, "hostname", core.regexes.hostname, _params);
287
+ return core._stringFormat(ZodMiniCustomStringFormat, "hostname", regexes.hostname, _params);
279
288
  }
280
289
  // @__NO_SIDE_EFFECTS__
281
290
  export function hex(_params) {
282
- return core._stringFormat(ZodMiniCustomStringFormat, "hex", core.regexes.hex, _params);
291
+ return core._stringFormat(ZodMiniCustomStringFormat, "hex", regexes.hex, _params);
292
+ }
293
+ // @__NO_SIDE_EFFECTS__
294
+ export function currencyCode(_params) {
295
+ return core._stringFormat(ZodMiniCustomStringFormat, "currency_code", regexes.currencyCode, _params);
283
296
  }
284
297
  // @__NO_SIDE_EFFECTS__
285
298
  export function hash(alg, params) {
@@ -511,7 +524,8 @@ export function required(schema, mask) {
511
524
  }
512
525
  // @__NO_SIDE_EFFECTS__
513
526
  export function catchall(inst, catchall) {
514
- return inst.clone({ ...inst._zod.def, catchall: catchall });
527
+ // `mergeDefs` rather than a spread: spreading reads `shape`, and resolving it can mint a whole fresh subtree
528
+ return inst.clone(util.mergeDefs(inst._zod.def, { catchall: catchall }));
515
529
  }
516
530
  export const ZodMiniUnion = /*@__PURE__*/ core.$constructor("ZodMiniUnion", (inst, def) => {
517
531
  core.$ZodUnion.init(inst, def);
@@ -650,7 +664,8 @@ export function set(valueType, params) {
650
664
  export const ZodMiniEnum = /*@__PURE__*/ core.$constructor("ZodMiniEnum", (inst, def) => {
651
665
  core.$ZodEnum.init(inst, def);
652
666
  ZodMiniType.init(inst, def);
653
- inst.options = Object.values(def.entries);
667
+ // reuse the parsed value set so a numeric TS enum's reverse-mapping keys stay out
668
+ inst.options = [...inst._zod.values];
654
669
  });
655
670
  // @__NO_SIDE_EFFECTS__
656
671
  function _enum(values, params) {
@@ -30,3 +30,22 @@ exports.z = void 0;
30
30
  const z = __importStar(require("../v4/mini/external.cjs"));
31
31
  exports.z = z;
32
32
  __exportStar(require("../v4/mini/external.cjs"), exports);
33
+
34
+ // seal-cjs-exports
35
+ (function () {
36
+ var keys = Object.getOwnPropertyNames(exports);
37
+ for (var i = 0; i < keys.length; i++) {
38
+ var desc = Object.getOwnPropertyDescriptor(exports, keys[i]);
39
+ if (!desc || !desc.get || !desc.configurable) continue;
40
+ var value;
41
+ try {
42
+ value = desc.get();
43
+ } catch (e) {
44
+ continue;
45
+ }
46
+ // a circular require may not have settled this one yet, so leave it live
47
+ if (value === undefined) continue;
48
+ Object.defineProperty(exports, keys[i], { value: value, writable: false, enumerable: desc.enumerable, configurable: false });
49
+ }
50
+ Object.freeze(exports);
51
+ })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ima2-gen",
3
- "version": "3.19.0",
3
+ "version": "3.20.0",
4
4
  "packageManager": "npm@11.18.0",
5
5
  "description": "Local-first visual generation runtime and studio for people and coding agents, with reproducible image and video workflows across multiple providers.",
6
6
  "type": "module",
@@ -92,9 +92,9 @@
92
92
  "dependencies": {
93
93
  "@modelcontextprotocol/sdk": "1.30.0",
94
94
  "@neplex/vectorizer": "0.1.0",
95
- "@openai/codex": "0.153.4",
95
+ "@openai/codex": "0.155.1",
96
96
  "better-sqlite3": "^13.0.3",
97
- "dotenv": "^17.4.2",
97
+ "dotenv": "^18.0.1",
98
98
  "electron-updater": "6.8.9",
99
99
  "express": "^5.1.0",
100
100
  "google-auth-library": "^11.0.1",
@@ -103,7 +103,7 @@
103
103
  "sharp": "^0.35.3",
104
104
  "trash": "^10.1.1",
105
105
  "ulid": "^3.0.2",
106
- "zod": "4.5.4"
106
+ "zod": "4.6.5"
107
107
  },
108
108
  "overrides": {
109
109
  "fast-uri": "3.1.7"
@@ -124,7 +124,7 @@
124
124
  "node-gyp": "13.0.2",
125
125
  "tsx": "^4.23.12",
126
126
  "typescript": "^5.9.3",
127
- "yaml": "2.9.0"
127
+ "yaml": "2.9.1"
128
128
  },
129
- "gitHead": "b00ac61d6a11bd1d14a3ee987fbdb978f366c85f"
129
+ "gitHead": "e78bbbaa6955c872c578e1ac063caa8c721c44a5"
130
130
  }
package/routes/health.js CHANGED
@@ -4,6 +4,10 @@ import { loadGrokCredentials } from "../lib/xaiAuth.js";
4
4
  import { gptAuthStatus, grokAuthStatus } from "../lib/authStatus.js";
5
5
  import { resolveChatgptSession } from "../lib/chatgptAuth.js";
6
6
  import { requireRuntimeContext } from "../lib/runtimeContext.js";
7
+ // Upstream auth refusals surfaced through the proxy's /v1/models error body. Kept narrow:
8
+ // generic 5xx/network text must never read as "re-login needed" — status 401 covers
9
+ // non-standard auth rejections regardless of wording.
10
+ const AUTH_FAILURE_BODY_RE = /invalidated oauth|invalid_token|invalid_grant|access token not found|account id not found|not logged in/i;
7
11
  export function registerHealthRoutes(app, ctxRaw) {
8
12
  const ctx = requireRuntimeContext(ctxRaw);
9
13
  const runtimePorts = () => ({
@@ -74,7 +78,12 @@ export function registerHealthRoutes(app, ctxRaw) {
74
78
  reply("ready", { models: data.data?.map((m) => m.id) || [] });
75
79
  }
76
80
  else {
77
- reply("auth_required");
81
+ // A non-OK /v1/models means the proxy's authed upstream call failed — not always
82
+ // a dead session. 401 is always a refused session; for any other status only an
83
+ // auth-shaped error body is. Everything else (5xx, network) is an outage, so a
84
+ // usable session file stays logged in instead of flipping to "log in required".
85
+ const body = (await r.text().catch(() => "")).slice(0, 4000);
86
+ reply(r.status === 401 || missingSession || AUTH_FAILURE_BODY_RE.test(body) ? "auth_required" : "offline");
78
87
  }
79
88
  }
80
89
  catch {
@@ -1,6 +1,6 @@
1
1
  {
2
- "_App-pMN1OjNW.js": {
3
- "file": "assets/App-pMN1OjNW.js",
2
+ "_App-B9y6oVuL.js": {
3
+ "file": "assets/App-B9y6oVuL.js",
4
4
  "name": "App",
5
5
  "isDynamicEntry": true,
6
6
  "imports": [
@@ -17,7 +17,7 @@
17
17
  "src/components/card-news/CardNewsWorkspace.tsx",
18
18
  "src/components/agent/AgentWorkspace.tsx",
19
19
  "src/components/assets/AssetsWorkspace.tsx",
20
- "_AssetGenWorkspace-DzEfpUy_.js",
20
+ "_AssetGenWorkspace-fL2MjYj9.js",
21
21
  "src/components/home/HomeWorkspace.tsx",
22
22
  "src/components/PromptLibraryPanel.tsx"
23
23
  ]
@@ -26,15 +26,15 @@
26
26
  "file": "assets/AssetGenWorkspace-B7tTK0Sx.css",
27
27
  "src": "_AssetGenWorkspace-B7tTK0Sx.css"
28
28
  },
29
- "_AssetGenWorkspace-DzEfpUy_.js": {
30
- "file": "assets/AssetGenWorkspace-DzEfpUy_.js",
29
+ "_AssetGenWorkspace-fL2MjYj9.js": {
30
+ "file": "assets/AssetGenWorkspace-fL2MjYj9.js",
31
31
  "name": "AssetGenWorkspace",
32
32
  "isDynamicEntry": true,
33
33
  "imports": [
34
34
  "index.html",
35
- "_App-pMN1OjNW.js",
36
- "_AssetMediaLightbox-Bx0azN0S.js",
37
- "_KeyingPanel-8J_RMrxg.js"
35
+ "_App-B9y6oVuL.js",
36
+ "_AssetMediaLightbox-Be4arnGs.js",
37
+ "_KeyingPanel-snhXKnA3.js"
38
38
  ],
39
39
  "dynamicImports": [
40
40
  "src/components/assetgen/SpriteRecipeWorkspace.tsx"
@@ -43,21 +43,21 @@
43
43
  "assets/AssetGenWorkspace-B7tTK0Sx.css"
44
44
  ]
45
45
  },
46
- "_AssetMediaLightbox-Bx0azN0S.js": {
47
- "file": "assets/AssetMediaLightbox-Bx0azN0S.js",
46
+ "_AssetMediaLightbox-Be4arnGs.js": {
47
+ "file": "assets/AssetMediaLightbox-Be4arnGs.js",
48
48
  "name": "AssetMediaLightbox",
49
49
  "imports": [
50
50
  "index.html",
51
- "_App-pMN1OjNW.js",
52
- "_useAgentDialogFocus-DAeS9IWG.js"
51
+ "_App-B9y6oVuL.js",
52
+ "_useAgentDialogFocus-BDdVl-nq.js"
53
53
  ]
54
54
  },
55
- "_KeyingPanel-8J_RMrxg.js": {
56
- "file": "assets/KeyingPanel-8J_RMrxg.js",
55
+ "_KeyingPanel-snhXKnA3.js": {
56
+ "file": "assets/KeyingPanel-snhXKnA3.js",
57
57
  "name": "KeyingPanel",
58
58
  "imports": [
59
59
  "index.html",
60
- "_App-pMN1OjNW.js"
60
+ "_App-B9y6oVuL.js"
61
61
  ]
62
62
  },
63
63
  "__vite-browser-external": {
@@ -70,34 +70,34 @@
70
70
  "file": "assets/clipboard-DirTPLEi.js",
71
71
  "name": "clipboard"
72
72
  },
73
- "_promptBuilderStore-DQR29LwN.js": {
74
- "file": "assets/promptBuilderStore-DQR29LwN.js",
73
+ "_promptBuilderStore-BdGPLEra.js": {
74
+ "file": "assets/promptBuilderStore-BdGPLEra.js",
75
75
  "name": "promptBuilderStore",
76
76
  "imports": [
77
- "_App-pMN1OjNW.js"
77
+ "_App-B9y6oVuL.js"
78
78
  ]
79
79
  },
80
- "_useAgentDialogFocus-DAeS9IWG.js": {
81
- "file": "assets/useAgentDialogFocus-DAeS9IWG.js",
80
+ "_useAgentDialogFocus-BDdVl-nq.js": {
81
+ "file": "assets/useAgentDialogFocus-BDdVl-nq.js",
82
82
  "name": "useAgentDialogFocus",
83
83
  "imports": [
84
- "_App-pMN1OjNW.js"
84
+ "_App-B9y6oVuL.js"
85
85
  ]
86
86
  },
87
87
  "index.html": {
88
- "file": "assets/index-CHeVGnoy.js",
88
+ "file": "assets/index-va83o9G5.js",
89
89
  "name": "index",
90
90
  "src": "index.html",
91
91
  "isEntry": true,
92
92
  "dynamicImports": [
93
- "_App-pMN1OjNW.js"
93
+ "_App-B9y6oVuL.js"
94
94
  ],
95
95
  "css": [
96
96
  "assets/index-CxX85A3B.css"
97
97
  ]
98
98
  },
99
99
  "node_modules/pptxgenjs/dist/pptxgen.es.js": {
100
- "file": "assets/pptxgen.es-s4xfPXLT.js",
100
+ "file": "assets/pptxgen.es-D-kntoLD.js",
101
101
  "name": "pptxgen.es",
102
102
  "src": "node_modules/pptxgenjs/dist/pptxgen.es.js",
103
103
  "isDynamicEntry": true,
@@ -111,40 +111,40 @@
111
111
  ]
112
112
  },
113
113
  "src/components/GenerationRequestLogPanel.tsx": {
114
- "file": "assets/GenerationRequestLogPanel-EYEiHIr9.js",
114
+ "file": "assets/GenerationRequestLogPanel-CcQKi89f.js",
115
115
  "name": "GenerationRequestLogPanel",
116
116
  "src": "src/components/GenerationRequestLogPanel.tsx",
117
117
  "isDynamicEntry": true,
118
118
  "imports": [
119
119
  "index.html",
120
- "_App-pMN1OjNW.js",
120
+ "_App-B9y6oVuL.js",
121
121
  "_clipboard-DirTPLEi.js"
122
122
  ]
123
123
  },
124
124
  "src/components/NodeCanvas.tsx": {
125
- "file": "assets/NodeCanvas-DmjbNcTa.js",
125
+ "file": "assets/NodeCanvas-CJQXsS0r.js",
126
126
  "name": "NodeCanvas",
127
127
  "src": "src/components/NodeCanvas.tsx",
128
128
  "isDynamicEntry": true,
129
129
  "imports": [
130
130
  "index.html",
131
- "_App-pMN1OjNW.js",
131
+ "_App-B9y6oVuL.js",
132
132
  "_clipboard-DirTPLEi.js",
133
- "_AssetMediaLightbox-Bx0azN0S.js",
134
- "_useAgentDialogFocus-DAeS9IWG.js"
133
+ "_AssetMediaLightbox-Be4arnGs.js",
134
+ "_useAgentDialogFocus-BDdVl-nq.js"
135
135
  ],
136
136
  "css": [
137
137
  "assets/NodeCanvas-BnuhLJ6X.css"
138
138
  ]
139
139
  },
140
140
  "src/components/PromptImportDialog.tsx": {
141
- "file": "assets/PromptImportDialog-B24cvEkK.js",
141
+ "file": "assets/PromptImportDialog-ssPMxE4j.js",
142
142
  "name": "PromptImportDialog",
143
143
  "src": "src/components/PromptImportDialog.tsx",
144
144
  "isDynamicEntry": true,
145
145
  "imports": [
146
146
  "index.html",
147
- "_App-pMN1OjNW.js"
147
+ "_App-B9y6oVuL.js"
148
148
  ],
149
149
  "dynamicImports": [
150
150
  "src/components/PromptImportDiscoverySection.tsx",
@@ -152,132 +152,132 @@
152
152
  ]
153
153
  },
154
154
  "src/components/PromptImportDiscoverySection.tsx": {
155
- "file": "assets/PromptImportDiscoverySection-Bbw1_J_3.js",
155
+ "file": "assets/PromptImportDiscoverySection-CvOgGTOs.js",
156
156
  "name": "PromptImportDiscoverySection",
157
157
  "src": "src/components/PromptImportDiscoverySection.tsx",
158
158
  "isDynamicEntry": true,
159
159
  "imports": [
160
160
  "index.html",
161
- "_App-pMN1OjNW.js"
161
+ "_App-B9y6oVuL.js"
162
162
  ]
163
163
  },
164
164
  "src/components/PromptImportFolderSection.tsx": {
165
- "file": "assets/PromptImportFolderSection-CMpxuE8e.js",
165
+ "file": "assets/PromptImportFolderSection-CxR9qxbi.js",
166
166
  "name": "PromptImportFolderSection",
167
167
  "src": "src/components/PromptImportFolderSection.tsx",
168
168
  "isDynamicEntry": true,
169
169
  "imports": [
170
170
  "index.html",
171
- "_App-pMN1OjNW.js"
171
+ "_App-B9y6oVuL.js"
172
172
  ]
173
173
  },
174
174
  "src/components/PromptLibraryPanel.tsx": {
175
- "file": "assets/PromptLibraryPanel-Ct98TJ61.js",
175
+ "file": "assets/PromptLibraryPanel-DjYgbXes.js",
176
176
  "name": "PromptLibraryPanel",
177
177
  "src": "src/components/PromptLibraryPanel.tsx",
178
178
  "isDynamicEntry": true,
179
179
  "imports": [
180
180
  "index.html",
181
- "_App-pMN1OjNW.js"
181
+ "_App-B9y6oVuL.js"
182
182
  ],
183
183
  "dynamicImports": [
184
184
  "src/components/PromptImportDialog.tsx"
185
185
  ]
186
186
  },
187
187
  "src/components/SettingsWorkspace.tsx": {
188
- "file": "assets/SettingsWorkspace-DL9Tm90P.js",
188
+ "file": "assets/SettingsWorkspace-BtruYb6g.js",
189
189
  "name": "SettingsWorkspace",
190
190
  "src": "src/components/SettingsWorkspace.tsx",
191
191
  "isDynamicEntry": true,
192
192
  "imports": [
193
193
  "index.html",
194
- "_App-pMN1OjNW.js",
195
- "_promptBuilderStore-DQR29LwN.js"
194
+ "_App-B9y6oVuL.js",
195
+ "_promptBuilderStore-BdGPLEra.js"
196
196
  ]
197
197
  },
198
198
  "src/components/agent/AgentWorkspace.tsx": {
199
- "file": "assets/AgentWorkspace-C6ke6Eo4.js",
199
+ "file": "assets/AgentWorkspace-CENfXAob.js",
200
200
  "name": "AgentWorkspace",
201
201
  "src": "src/components/agent/AgentWorkspace.tsx",
202
202
  "isDynamicEntry": true,
203
203
  "imports": [
204
204
  "index.html",
205
- "_App-pMN1OjNW.js",
206
- "_useAgentDialogFocus-DAeS9IWG.js"
205
+ "_App-B9y6oVuL.js",
206
+ "_useAgentDialogFocus-BDdVl-nq.js"
207
207
  ]
208
208
  },
209
209
  "src/components/assetgen/SpriteRecipeWorkspace.tsx": {
210
- "file": "assets/SpriteRecipeWorkspace-BJUH1ddP.js",
210
+ "file": "assets/SpriteRecipeWorkspace-DBrYOYOK.js",
211
211
  "name": "SpriteRecipeWorkspace",
212
212
  "src": "src/components/assetgen/SpriteRecipeWorkspace.tsx",
213
213
  "isDynamicEntry": true,
214
214
  "imports": [
215
215
  "index.html",
216
- "_App-pMN1OjNW.js",
217
- "_AssetGenWorkspace-DzEfpUy_.js",
218
- "_AssetMediaLightbox-Bx0azN0S.js",
219
- "_useAgentDialogFocus-DAeS9IWG.js",
220
- "_KeyingPanel-8J_RMrxg.js"
216
+ "_App-B9y6oVuL.js",
217
+ "_AssetGenWorkspace-fL2MjYj9.js",
218
+ "_AssetMediaLightbox-Be4arnGs.js",
219
+ "_useAgentDialogFocus-BDdVl-nq.js",
220
+ "_KeyingPanel-snhXKnA3.js"
221
221
  ]
222
222
  },
223
223
  "src/components/assets/AssetsWorkspace.tsx": {
224
- "file": "assets/AssetsWorkspace-CHw1u9VC.js",
224
+ "file": "assets/AssetsWorkspace-7z4wyfp0.js",
225
225
  "name": "AssetsWorkspace",
226
226
  "src": "src/components/assets/AssetsWorkspace.tsx",
227
227
  "isDynamicEntry": true,
228
228
  "imports": [
229
229
  "index.html",
230
- "_App-pMN1OjNW.js",
231
- "_AssetMediaLightbox-Bx0azN0S.js",
232
- "_KeyingPanel-8J_RMrxg.js",
233
- "_useAgentDialogFocus-DAeS9IWG.js"
230
+ "_App-B9y6oVuL.js",
231
+ "_AssetMediaLightbox-Be4arnGs.js",
232
+ "_KeyingPanel-snhXKnA3.js",
233
+ "_useAgentDialogFocus-BDdVl-nq.js"
234
234
  ],
235
235
  "css": [
236
236
  "assets/AssetsWorkspace-BdptASFf.css"
237
237
  ]
238
238
  },
239
239
  "src/components/canvas-mode/index.ts": {
240
- "file": "assets/index-D_LpLGWV.js",
240
+ "file": "assets/index-CWFgCqE1.js",
241
241
  "name": "index",
242
242
  "src": "src/components/canvas-mode/index.ts",
243
243
  "isDynamicEntry": true,
244
244
  "imports": [
245
245
  "index.html",
246
- "_App-pMN1OjNW.js"
246
+ "_App-B9y6oVuL.js"
247
247
  ],
248
248
  "dynamicImports": [
249
249
  "node_modules/pptxgenjs/dist/pptxgen.es.js"
250
250
  ]
251
251
  },
252
252
  "src/components/card-news/CardNewsWorkspace.tsx": {
253
- "file": "assets/CardNewsWorkspace-DsjqhaYO.js",
253
+ "file": "assets/CardNewsWorkspace-DSldDpsl.js",
254
254
  "name": "CardNewsWorkspace",
255
255
  "src": "src/components/card-news/CardNewsWorkspace.tsx",
256
256
  "isDynamicEntry": true,
257
257
  "imports": [
258
258
  "index.html",
259
- "_App-pMN1OjNW.js"
259
+ "_App-B9y6oVuL.js"
260
260
  ]
261
261
  },
262
262
  "src/components/home/HomeWorkspace.tsx": {
263
- "file": "assets/HomeWorkspace-DbnY1YF2.js",
263
+ "file": "assets/HomeWorkspace-BZDk2X1U.js",
264
264
  "name": "HomeWorkspace",
265
265
  "src": "src/components/home/HomeWorkspace.tsx",
266
266
  "isDynamicEntry": true,
267
267
  "imports": [
268
268
  "index.html",
269
- "_App-pMN1OjNW.js"
269
+ "_App-B9y6oVuL.js"
270
270
  ]
271
271
  },
272
272
  "src/components/prompt-builder/PromptBuilderPanel.tsx": {
273
- "file": "assets/PromptBuilderPanel-CL34Jpso.js",
273
+ "file": "assets/PromptBuilderPanel-B-YP1ph5.js",
274
274
  "name": "PromptBuilderPanel",
275
275
  "src": "src/components/prompt-builder/PromptBuilderPanel.tsx",
276
276
  "isDynamicEntry": true,
277
277
  "imports": [
278
278
  "index.html",
279
- "_App-pMN1OjNW.js",
280
- "_promptBuilderStore-DQR29LwN.js"
279
+ "_App-B9y6oVuL.js",
280
+ "_promptBuilderStore-BdGPLEra.js"
281
281
  ]
282
282
  }
283
283
  }