@skillcap/gdh 3.2.1 → 3.2.3

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 (639) hide show
  1. package/INSTALL-BUNDLE.json +1 -1
  2. package/RELEASE-SPAN-UPDATE-CONTRACTS.json +134 -0
  3. package/node_modules/@clack/core/CHANGELOG.md +8 -0
  4. package/node_modules/@clack/core/dist/index.d.mts +18 -4
  5. package/node_modules/@clack/core/dist/index.mjs +16 -10
  6. package/node_modules/@clack/core/dist/index.mjs.map +1 -1
  7. package/node_modules/@clack/core/package.json +5 -2
  8. package/node_modules/@clack/prompts/CHANGELOG.md +15 -0
  9. package/node_modules/@clack/prompts/README.md +107 -2
  10. package/node_modules/@clack/prompts/dist/index.d.mts +16 -11
  11. package/node_modules/@clack/prompts/dist/index.mjs +114 -107
  12. package/node_modules/@clack/prompts/dist/index.mjs.map +1 -1
  13. package/node_modules/@clack/prompts/package.json +7 -4
  14. package/node_modules/@gdh/adapters/dist/authoring-hook-render.d.ts.map +1 -1
  15. package/node_modules/@gdh/adapters/dist/authoring-hook-render.js +1 -1
  16. package/node_modules/@gdh/adapters/dist/authoring-hook-render.js.map +1 -1
  17. package/node_modules/@gdh/adapters/dist/claude-settings-patch.d.ts.map +1 -1
  18. package/node_modules/@gdh/adapters/dist/claude-settings-patch.js +4 -2
  19. package/node_modules/@gdh/adapters/dist/claude-settings-patch.js.map +1 -1
  20. package/node_modules/@gdh/adapters/dist/claude-statusline-render.d.ts.map +1 -1
  21. package/node_modules/@gdh/adapters/dist/claude-statusline-render.js +1 -1
  22. package/node_modules/@gdh/adapters/dist/claude-statusline-render.js.map +1 -1
  23. package/node_modules/@gdh/adapters/dist/claude-update-hook-render.d.ts.map +1 -1
  24. package/node_modules/@gdh/adapters/dist/claude-update-hook-render.js +1 -1
  25. package/node_modules/@gdh/adapters/dist/claude-update-hook-render.js.map +1 -1
  26. package/node_modules/@gdh/adapters/dist/claude-update-worker-render.d.ts.map +1 -1
  27. package/node_modules/@gdh/adapters/dist/claude-update-worker-render.js +1 -1
  28. package/node_modules/@gdh/adapters/dist/claude-update-worker-render.js.map +1 -1
  29. package/node_modules/@gdh/adapters/dist/deferred-actions-advisory.d.ts.map +1 -1
  30. package/node_modules/@gdh/adapters/dist/deferred-actions-advisory.js +1 -1
  31. package/node_modules/@gdh/adapters/dist/deferred-actions-advisory.js.map +1 -1
  32. package/node_modules/@gdh/adapters/dist/durable-backup.d.ts.map +1 -1
  33. package/node_modules/@gdh/adapters/dist/durable-backup.js +3 -5
  34. package/node_modules/@gdh/adapters/dist/durable-backup.js.map +1 -1
  35. package/node_modules/@gdh/adapters/dist/index.d.ts +11 -37
  36. package/node_modules/@gdh/adapters/dist/index.d.ts.map +1 -1
  37. package/node_modules/@gdh/adapters/dist/index.js +18 -90
  38. package/node_modules/@gdh/adapters/dist/index.js.map +1 -1
  39. package/node_modules/@gdh/adapters/dist/inventory-sweep.d.ts.map +1 -1
  40. package/node_modules/@gdh/adapters/dist/inventory-sweep.js +1 -3
  41. package/node_modules/@gdh/adapters/dist/inventory-sweep.js.map +1 -1
  42. package/node_modules/@gdh/adapters/dist/managed-surfaces.d.ts +32 -0
  43. package/node_modules/@gdh/adapters/dist/managed-surfaces.d.ts.map +1 -0
  44. package/node_modules/@gdh/adapters/dist/managed-surfaces.js +66 -0
  45. package/node_modules/@gdh/adapters/dist/managed-surfaces.js.map +1 -0
  46. package/node_modules/@gdh/adapters/dist/process-orchestration.d.ts +1 -1
  47. package/node_modules/@gdh/adapters/dist/process-orchestration.d.ts.map +1 -1
  48. package/node_modules/@gdh/adapters/dist/process-orchestration.js +3 -2
  49. package/node_modules/@gdh/adapters/dist/process-orchestration.js.map +1 -1
  50. package/node_modules/@gdh/adapters/dist/self-update-mechanics.d.ts.map +1 -1
  51. package/node_modules/@gdh/adapters/dist/self-update-mechanics.js +11 -23
  52. package/node_modules/@gdh/adapters/dist/self-update-mechanics.js.map +1 -1
  53. package/node_modules/@gdh/adapters/dist/skill-rendering.d.ts.map +1 -1
  54. package/node_modules/@gdh/adapters/dist/skill-rendering.js +2 -8
  55. package/node_modules/@gdh/adapters/dist/skill-rendering.js.map +1 -1
  56. package/node_modules/@gdh/adapters/dist/template-assets.js.map +1 -1
  57. package/node_modules/@gdh/adapters/package.json +7 -8
  58. package/node_modules/@gdh/authoring/dist/authoring-state-store.d.ts.map +1 -1
  59. package/node_modules/@gdh/authoring/dist/authoring-state-store.js.map +1 -1
  60. package/node_modules/@gdh/authoring/dist/cache.d.ts.map +1 -1
  61. package/node_modules/@gdh/authoring/dist/cache.js.map +1 -1
  62. package/node_modules/@gdh/authoring/dist/diagnostics-broker-contract.d.ts +2 -2
  63. package/node_modules/@gdh/authoring/dist/diagnostics-broker-contract.d.ts.map +1 -1
  64. package/node_modules/@gdh/authoring/dist/diagnostics-broker-contract.js +2 -2
  65. package/node_modules/@gdh/authoring/dist/diagnostics-broker-contract.js.map +1 -1
  66. package/node_modules/@gdh/authoring/dist/diagnostics-broker.d.ts.map +1 -1
  67. package/node_modules/@gdh/authoring/dist/diagnostics-broker.js +15 -12
  68. package/node_modules/@gdh/authoring/dist/diagnostics-broker.js.map +1 -1
  69. package/node_modules/@gdh/authoring/dist/lsp-broker-snapshot.d.ts.map +1 -1
  70. package/node_modules/@gdh/authoring/dist/lsp-broker-snapshot.js.map +1 -1
  71. package/node_modules/@gdh/authoring/dist/lsp-client.d.ts.map +1 -1
  72. package/node_modules/@gdh/authoring/dist/lsp-client.js.map +1 -1
  73. package/node_modules/@gdh/authoring/dist/lsp-constants.d.ts +17 -0
  74. package/node_modules/@gdh/authoring/dist/lsp-constants.d.ts.map +1 -0
  75. package/node_modules/@gdh/authoring/dist/lsp-constants.js +17 -0
  76. package/node_modules/@gdh/authoring/dist/lsp-constants.js.map +1 -0
  77. package/node_modules/@gdh/authoring/dist/lsp-warmup.d.ts.map +1 -1
  78. package/node_modules/@gdh/authoring/dist/lsp-warmup.js +2 -4
  79. package/node_modules/@gdh/authoring/dist/lsp-warmup.js.map +1 -1
  80. package/node_modules/@gdh/authoring/dist/lsp.d.ts.map +1 -1
  81. package/node_modules/@gdh/authoring/dist/lsp.js +30 -64
  82. package/node_modules/@gdh/authoring/dist/lsp.js.map +1 -1
  83. package/node_modules/@gdh/authoring/dist/prepare.d.ts.map +1 -1
  84. package/node_modules/@gdh/authoring/dist/prepare.js +1 -3
  85. package/node_modules/@gdh/authoring/dist/prepare.js.map +1 -1
  86. package/node_modules/@gdh/authoring/dist/project.d.ts.map +1 -1
  87. package/node_modules/@gdh/authoring/dist/project.js +4 -13
  88. package/node_modules/@gdh/authoring/dist/project.js.map +1 -1
  89. package/node_modules/@gdh/authoring/dist/report.d.ts.map +1 -1
  90. package/node_modules/@gdh/authoring/dist/report.js +2 -11
  91. package/node_modules/@gdh/authoring/dist/report.js.map +1 -1
  92. package/node_modules/@gdh/authoring/dist/scene-resource.d.ts.map +1 -1
  93. package/node_modules/@gdh/authoring/dist/scene-resource.js.map +1 -1
  94. package/node_modules/@gdh/authoring/dist/tcp-port.d.ts +2 -0
  95. package/node_modules/@gdh/authoring/dist/tcp-port.d.ts.map +1 -0
  96. package/node_modules/@gdh/authoring/dist/tcp-port.js +23 -0
  97. package/node_modules/@gdh/authoring/dist/tcp-port.js.map +1 -0
  98. package/node_modules/@gdh/authoring/dist/warmup.d.ts.map +1 -1
  99. package/node_modules/@gdh/authoring/dist/warmup.js.map +1 -1
  100. package/node_modules/@gdh/authoring/package.json +2 -2
  101. package/node_modules/@gdh/cli/dist/args.d.ts +44 -0
  102. package/node_modules/@gdh/cli/dist/args.d.ts.map +1 -0
  103. package/node_modules/@gdh/cli/dist/args.js +124 -0
  104. package/node_modules/@gdh/cli/dist/args.js.map +1 -0
  105. package/node_modules/@gdh/cli/dist/bridge-session.d.ts +1 -1
  106. package/node_modules/@gdh/cli/dist/bridge-session.d.ts.map +1 -1
  107. package/node_modules/@gdh/cli/dist/bridge-session.js +9 -8
  108. package/node_modules/@gdh/cli/dist/bridge-session.js.map +1 -1
  109. package/node_modules/@gdh/cli/dist/index.d.ts +4 -52
  110. package/node_modules/@gdh/cli/dist/index.d.ts.map +1 -1
  111. package/node_modules/@gdh/cli/dist/index.js +8 -197
  112. package/node_modules/@gdh/cli/dist/index.js.map +1 -1
  113. package/node_modules/@gdh/cli/dist/io.d.ts +10 -0
  114. package/node_modules/@gdh/cli/dist/io.d.ts.map +1 -0
  115. package/node_modules/@gdh/cli/dist/io.js +26 -0
  116. package/node_modules/@gdh/cli/dist/io.js.map +1 -0
  117. package/node_modules/@gdh/cli/dist/mcp-cleanup.d.ts +3 -0
  118. package/node_modules/@gdh/cli/dist/mcp-cleanup.d.ts.map +1 -1
  119. package/node_modules/@gdh/cli/dist/mcp-cleanup.js +47 -0
  120. package/node_modules/@gdh/cli/dist/mcp-cleanup.js.map +1 -1
  121. package/node_modules/@gdh/cli/dist/migrate.d.ts +1 -1
  122. package/node_modules/@gdh/cli/dist/migrate.d.ts.map +1 -1
  123. package/node_modules/@gdh/cli/dist/migrate.js +23 -30
  124. package/node_modules/@gdh/cli/dist/migrate.js.map +1 -1
  125. package/node_modules/@gdh/cli/dist/self-update.d.ts.map +1 -1
  126. package/node_modules/@gdh/cli/dist/self-update.js +13 -20
  127. package/node_modules/@gdh/cli/dist/self-update.js.map +1 -1
  128. package/node_modules/@gdh/cli/dist/setup.d.ts.map +1 -1
  129. package/node_modules/@gdh/cli/dist/setup.js.map +1 -1
  130. package/node_modules/@gdh/cli/dist/status-command.d.ts +3 -0
  131. package/node_modules/@gdh/cli/dist/status-command.d.ts.map +1 -0
  132. package/node_modules/@gdh/cli/dist/status-command.js +44 -0
  133. package/node_modules/@gdh/cli/dist/status-command.js.map +1 -0
  134. package/node_modules/@gdh/cli/dist/update-banner.d.ts.map +1 -1
  135. package/node_modules/@gdh/cli/dist/update-banner.js +1 -1
  136. package/node_modules/@gdh/cli/dist/update-banner.js.map +1 -1
  137. package/node_modules/@gdh/cli/package.json +11 -11
  138. package/node_modules/@gdh/core/dist/dev-mode.d.ts.map +1 -1
  139. package/node_modules/@gdh/core/dist/dev-mode.js.map +1 -1
  140. package/node_modules/@gdh/core/dist/editor-operation-runner.d.ts +3 -0
  141. package/node_modules/@gdh/core/dist/editor-operation-runner.d.ts.map +1 -0
  142. package/node_modules/@gdh/core/dist/editor-operation-runner.js +682 -0
  143. package/node_modules/@gdh/core/dist/editor-operation-runner.js.map +1 -0
  144. package/node_modules/@gdh/core/dist/git-root.d.ts.map +1 -1
  145. package/node_modules/@gdh/core/dist/git-root.js +4 -1
  146. package/node_modules/@gdh/core/dist/git-root.js.map +1 -1
  147. package/node_modules/@gdh/core/dist/godot-docs-version.d.ts.map +1 -1
  148. package/node_modules/@gdh/core/dist/godot-docs-version.js.map +1 -1
  149. package/node_modules/@gdh/core/dist/godot-stderr-fatality.d.ts.map +1 -1
  150. package/node_modules/@gdh/core/dist/godot-stderr-fatality.js +1 -2
  151. package/node_modules/@gdh/core/dist/godot-stderr-fatality.js.map +1 -1
  152. package/node_modules/@gdh/core/dist/index.d.ts +10 -5
  153. package/node_modules/@gdh/core/dist/index.d.ts.map +1 -1
  154. package/node_modules/@gdh/core/dist/index.js +15 -5
  155. package/node_modules/@gdh/core/dist/index.js.map +1 -1
  156. package/node_modules/@gdh/core/dist/managed-gitignore.d.ts.map +1 -1
  157. package/node_modules/@gdh/core/dist/managed-gitignore.js +4 -14
  158. package/node_modules/@gdh/core/dist/managed-gitignore.js.map +1 -1
  159. package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.d.ts.map +1 -1
  160. package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.js +2 -2
  161. package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.js.map +1 -1
  162. package/node_modules/@gdh/core/dist/migrations/entries/s3c21_to_s3c22_canonical_hook_paths.d.ts.map +1 -1
  163. package/node_modules/@gdh/core/dist/migrations/entries/s3c21_to_s3c22_canonical_hook_paths.js +6 -14
  164. package/node_modules/@gdh/core/dist/migrations/entries/s3c21_to_s3c22_canonical_hook_paths.js.map +1 -1
  165. package/node_modules/@gdh/core/dist/migrations/entries/s3c8_to_s3c9_register_runtime_bridge_autoload.d.ts.map +1 -1
  166. package/node_modules/@gdh/core/dist/migrations/entries/s3c8_to_s3c9_register_runtime_bridge_autoload.js +7 -23
  167. package/node_modules/@gdh/core/dist/migrations/entries/s3c8_to_s3c9_register_runtime_bridge_autoload.js.map +1 -1
  168. package/node_modules/@gdh/core/dist/migrations/envelopes/envelope-output-validator.d.ts.map +1 -1
  169. package/node_modules/@gdh/core/dist/migrations/envelopes/envelope-output-validator.js.map +1 -1
  170. package/node_modules/@gdh/core/dist/migrations/envelopes/index.d.ts.map +1 -1
  171. package/node_modules/@gdh/core/dist/migrations/envelopes/index.js +1 -2
  172. package/node_modules/@gdh/core/dist/migrations/envelopes/index.js.map +1 -1
  173. package/node_modules/@gdh/core/dist/migrations/envelopes/types.d.ts.map +1 -1
  174. package/node_modules/@gdh/core/dist/migrations/golden-harness.d.ts.map +1 -1
  175. package/node_modules/@gdh/core/dist/migrations/golden-harness.js.map +1 -1
  176. package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.d.ts.map +1 -1
  177. package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.js.map +1 -1
  178. package/node_modules/@gdh/core/dist/migrations/managed-target-surface-inventory.d.ts.map +1 -1
  179. package/node_modules/@gdh/core/dist/migrations/managed-target-surface-inventory.js.map +1 -1
  180. package/node_modules/@gdh/core/dist/migrations/probes.d.ts.map +1 -1
  181. package/node_modules/@gdh/core/dist/migrations/probes.js.map +1 -1
  182. package/node_modules/@gdh/core/dist/migrations/registry.d.ts +1 -1
  183. package/node_modules/@gdh/core/dist/migrations/registry.d.ts.map +1 -1
  184. package/node_modules/@gdh/core/dist/migrations/registry.js +3 -6
  185. package/node_modules/@gdh/core/dist/migrations/registry.js.map +1 -1
  186. package/node_modules/@gdh/core/dist/official-docs.d.ts.map +1 -1
  187. package/node_modules/@gdh/core/dist/process-termination.d.ts +29 -0
  188. package/node_modules/@gdh/core/dist/process-termination.d.ts.map +1 -0
  189. package/node_modules/@gdh/core/dist/process-termination.js +125 -0
  190. package/node_modules/@gdh/core/dist/process-termination.js.map +1 -0
  191. package/node_modules/@gdh/core/dist/release-span-preview.d.ts.map +1 -1
  192. package/node_modules/@gdh/core/dist/release-span-preview.js +1 -1
  193. package/node_modules/@gdh/core/dist/release-span-preview.js.map +1 -1
  194. package/node_modules/@gdh/core/dist/release-span-update-contract.d.ts.map +1 -1
  195. package/node_modules/@gdh/core/dist/release-span-update-contract.js +5 -10
  196. package/node_modules/@gdh/core/dist/release-span-update-contract.js.map +1 -1
  197. package/node_modules/@gdh/core/dist/state/codex-retrust-reminder.d.ts.map +1 -1
  198. package/node_modules/@gdh/core/dist/state/codex-retrust-reminder.js.map +1 -1
  199. package/node_modules/@gdh/core/dist/state/migration-state.d.ts.map +1 -1
  200. package/node_modules/@gdh/core/dist/state/migration-state.js +3 -8
  201. package/node_modules/@gdh/core/dist/state/migration-state.js.map +1 -1
  202. package/node_modules/@gdh/core/dist/state/migration-trace.d.ts.map +1 -1
  203. package/node_modules/@gdh/core/dist/state/migration-trace.js +3 -8
  204. package/node_modules/@gdh/core/dist/state/migration-trace.js.map +1 -1
  205. package/node_modules/@gdh/core/dist/state/render-inventory.d.ts.map +1 -1
  206. package/node_modules/@gdh/core/dist/state/render-inventory.js.map +1 -1
  207. package/node_modules/@gdh/core/dist/update-cache.d.ts.map +1 -1
  208. package/node_modules/@gdh/core/dist/update-cache.js.map +1 -1
  209. package/node_modules/@gdh/core/dist/update-probe.d.ts.map +1 -1
  210. package/node_modules/@gdh/core/dist/update-probe.js +1 -3
  211. package/node_modules/@gdh/core/dist/update-probe.js.map +1 -1
  212. package/node_modules/@gdh/core/package.json +1 -1
  213. package/node_modules/@gdh/docs/dist/agent-contract.d.ts.map +1 -1
  214. package/node_modules/@gdh/docs/dist/agent-contract.js +2 -4
  215. package/node_modules/@gdh/docs/dist/agent-contract.js.map +1 -1
  216. package/node_modules/@gdh/docs/dist/files.d.ts +1 -1
  217. package/node_modules/@gdh/docs/dist/files.d.ts.map +1 -1
  218. package/node_modules/@gdh/docs/dist/guidance.js +1 -1
  219. package/node_modules/@gdh/docs/dist/guidance.js.map +1 -1
  220. package/node_modules/@gdh/docs/dist/index.d.ts +4 -4
  221. package/node_modules/@gdh/docs/dist/index.d.ts.map +1 -1
  222. package/node_modules/@gdh/docs/dist/index.js +3 -3
  223. package/node_modules/@gdh/docs/dist/index.js.map +1 -1
  224. package/node_modules/@gdh/docs/dist/official-docs.d.ts.map +1 -1
  225. package/node_modules/@gdh/docs/dist/official-docs.js +16 -5
  226. package/node_modules/@gdh/docs/dist/official-docs.js.map +1 -1
  227. package/node_modules/@gdh/docs/dist/query.d.ts.map +1 -1
  228. package/node_modules/@gdh/docs/dist/query.js +8 -3
  229. package/node_modules/@gdh/docs/dist/query.js.map +1 -1
  230. package/node_modules/@gdh/docs/dist/recovery-hints.d.ts.map +1 -1
  231. package/node_modules/@gdh/docs/dist/recovery-hints.js +0 -1
  232. package/node_modules/@gdh/docs/dist/recovery-hints.js.map +1 -1
  233. package/node_modules/@gdh/docs/dist/template-assets.js.map +1 -1
  234. package/node_modules/@gdh/docs/package.json +2 -2
  235. package/node_modules/@gdh/editor/dist/index.d.ts +1 -3
  236. package/node_modules/@gdh/editor/dist/index.d.ts.map +1 -1
  237. package/node_modules/@gdh/editor/dist/index.js +46 -683
  238. package/node_modules/@gdh/editor/dist/index.js.map +1 -1
  239. package/node_modules/@gdh/editor/package.json +2 -2
  240. package/node_modules/@gdh/mcp/dist/bridge-tools.d.ts +8 -1
  241. package/node_modules/@gdh/mcp/dist/bridge-tools.d.ts.map +1 -1
  242. package/node_modules/@gdh/mcp/dist/bridge-tools.js +81 -2
  243. package/node_modules/@gdh/mcp/dist/bridge-tools.js.map +1 -1
  244. package/node_modules/@gdh/mcp/dist/index.d.ts.map +1 -1
  245. package/node_modules/@gdh/mcp/dist/index.js +10 -77
  246. package/node_modules/@gdh/mcp/dist/index.js.map +1 -1
  247. package/node_modules/@gdh/mcp/package.json +8 -10
  248. package/node_modules/@gdh/observability/dist/guidance-audit.d.ts.map +1 -1
  249. package/node_modules/@gdh/observability/dist/guidance-audit.js +11 -21
  250. package/node_modules/@gdh/observability/dist/guidance-audit.js.map +1 -1
  251. package/node_modules/@gdh/observability/dist/index.d.ts +2 -2
  252. package/node_modules/@gdh/observability/dist/index.d.ts.map +1 -1
  253. package/node_modules/@gdh/observability/dist/index.js +1 -1
  254. package/node_modules/@gdh/observability/dist/index.js.map +1 -1
  255. package/node_modules/@gdh/observability/dist/runtime-bundles.d.ts.map +1 -1
  256. package/node_modules/@gdh/observability/dist/runtime-bundles.js +3 -10
  257. package/node_modules/@gdh/observability/dist/runtime-bundles.js.map +1 -1
  258. package/node_modules/@gdh/observability/dist/runtime-corpus.d.ts.map +1 -1
  259. package/node_modules/@gdh/observability/dist/runtime-corpus.js +1 -1
  260. package/node_modules/@gdh/observability/dist/runtime-corpus.js.map +1 -1
  261. package/node_modules/@gdh/observability/package.json +3 -2
  262. package/node_modules/@gdh/runtime/dist/bridge-broker-client.d.ts +2 -1
  263. package/node_modules/@gdh/runtime/dist/bridge-broker-client.d.ts.map +1 -1
  264. package/node_modules/@gdh/runtime/dist/bridge-broker-client.js +8 -1
  265. package/node_modules/@gdh/runtime/dist/bridge-broker-client.js.map +1 -1
  266. package/node_modules/@gdh/runtime/dist/bridge-broker.d.ts +2 -1
  267. package/node_modules/@gdh/runtime/dist/bridge-broker.d.ts.map +1 -1
  268. package/node_modules/@gdh/runtime/dist/bridge-broker.js +71 -21
  269. package/node_modules/@gdh/runtime/dist/bridge-broker.js.map +1 -1
  270. package/node_modules/@gdh/runtime/dist/bridge-surface.d.ts +1 -1
  271. package/node_modules/@gdh/runtime/dist/bridge-surface.d.ts.map +1 -1
  272. package/node_modules/@gdh/runtime/dist/bridge-surface.js +2 -2
  273. package/node_modules/@gdh/runtime/dist/bridge-surface.js.map +1 -1
  274. package/node_modules/@gdh/runtime/dist/docker-provider.d.ts +1 -1
  275. package/node_modules/@gdh/runtime/dist/docker-provider.d.ts.map +1 -1
  276. package/node_modules/@gdh/runtime/dist/docker-provider.js +5 -16
  277. package/node_modules/@gdh/runtime/dist/docker-provider.js.map +1 -1
  278. package/node_modules/@gdh/runtime/dist/index.d.ts +1 -1
  279. package/node_modules/@gdh/runtime/dist/index.d.ts.map +1 -1
  280. package/node_modules/@gdh/runtime/dist/index.js +65 -18
  281. package/node_modules/@gdh/runtime/dist/index.js.map +1 -1
  282. package/node_modules/@gdh/runtime/dist/knowledge-surface.d.ts.map +1 -1
  283. package/node_modules/@gdh/runtime/dist/knowledge-surface.js +21 -10
  284. package/node_modules/@gdh/runtime/dist/knowledge-surface.js.map +1 -1
  285. package/node_modules/@gdh/runtime/package.json +2 -3
  286. package/node_modules/@gdh/scan/dist/detect-existing-onboarding.d.ts.map +1 -1
  287. package/node_modules/@gdh/scan/dist/detect-existing-onboarding.js +1 -5
  288. package/node_modules/@gdh/scan/dist/detect-existing-onboarding.js.map +1 -1
  289. package/node_modules/@gdh/scan/dist/index.d.ts +3 -3
  290. package/node_modules/@gdh/scan/dist/index.d.ts.map +1 -1
  291. package/node_modules/@gdh/scan/dist/index.js +3 -3
  292. package/node_modules/@gdh/scan/dist/index.js.map +1 -1
  293. package/node_modules/@gdh/scan/dist/inventory-cache.js +1 -1
  294. package/node_modules/@gdh/scan/dist/inventory-cache.js.map +1 -1
  295. package/node_modules/@gdh/scan/dist/onboard.d.ts +1 -2
  296. package/node_modules/@gdh/scan/dist/onboard.d.ts.map +1 -1
  297. package/node_modules/@gdh/scan/dist/onboard.js +4 -5
  298. package/node_modules/@gdh/scan/dist/onboard.js.map +1 -1
  299. package/node_modules/@gdh/scan/dist/scan.d.ts.map +1 -1
  300. package/node_modules/@gdh/scan/dist/scan.js +4 -2
  301. package/node_modules/@gdh/scan/dist/scan.js.map +1 -1
  302. package/node_modules/@gdh/scan/package.json +3 -3
  303. package/node_modules/@gdh/verify/dist/corpus.d.ts.map +1 -1
  304. package/node_modules/@gdh/verify/dist/corpus.js +7 -6
  305. package/node_modules/@gdh/verify/dist/corpus.js.map +1 -1
  306. package/node_modules/@gdh/verify/dist/index.d.ts.map +1 -1
  307. package/node_modules/@gdh/verify/dist/index.js +0 -1
  308. package/node_modules/@gdh/verify/dist/index.js.map +1 -1
  309. package/node_modules/@gdh/verify/dist/readiness.d.ts.map +1 -1
  310. package/node_modules/@gdh/verify/dist/readiness.js.map +1 -1
  311. package/node_modules/@gdh/verify/dist/scenarios.d.ts +1 -1
  312. package/node_modules/@gdh/verify/dist/scenarios.d.ts.map +1 -1
  313. package/node_modules/@gdh/verify/dist/scenarios.js +14 -11
  314. package/node_modules/@gdh/verify/dist/scenarios.js.map +1 -1
  315. package/node_modules/@gdh/verify/package.json +6 -7
  316. package/node_modules/@hono/node-server/dist/index.js +22 -0
  317. package/node_modules/@hono/node-server/dist/index.mjs +22 -0
  318. package/node_modules/@hono/node-server/dist/listener.js +22 -0
  319. package/node_modules/@hono/node-server/dist/listener.mjs +22 -0
  320. package/node_modules/@hono/node-server/dist/request.js +11 -0
  321. package/node_modules/@hono/node-server/dist/request.mjs +11 -0
  322. package/node_modules/@hono/node-server/dist/response.js +11 -0
  323. package/node_modules/@hono/node-server/dist/response.mjs +11 -0
  324. package/node_modules/@hono/node-server/dist/server.js +22 -0
  325. package/node_modules/@hono/node-server/dist/server.mjs +22 -0
  326. package/node_modules/@hono/node-server/dist/utils.d.mts +2 -2
  327. package/node_modules/@hono/node-server/dist/utils.d.ts +2 -2
  328. package/node_modules/@hono/node-server/dist/vercel.js +22 -0
  329. package/node_modules/@hono/node-server/dist/vercel.mjs +22 -0
  330. package/node_modules/@hono/node-server/package.json +1 -1
  331. package/node_modules/ajv/README.md +1 -1
  332. package/node_modules/ajv/dist/core.js +1 -1
  333. package/node_modules/ajv/dist/core.js.map +1 -1
  334. package/node_modules/ajv/lib/core.ts +1 -1
  335. package/node_modules/ajv/package.json +2 -3
  336. package/node_modules/eventsource-parser/LICENSE +1 -1
  337. package/node_modules/eventsource-parser/dist/index.cjs +104 -44
  338. package/node_modules/eventsource-parser/dist/index.cjs.map +1 -1
  339. package/node_modules/eventsource-parser/dist/index.d.cts +23 -21
  340. package/node_modules/eventsource-parser/dist/index.d.ts +23 -21
  341. package/node_modules/eventsource-parser/dist/index.js +104 -44
  342. package/node_modules/eventsource-parser/dist/index.js.map +1 -1
  343. package/node_modules/eventsource-parser/dist/stream.d.cts +22 -19
  344. package/node_modules/eventsource-parser/dist/stream.d.ts +22 -19
  345. package/node_modules/eventsource-parser/package.json +54 -77
  346. package/node_modules/eventsource-parser/src/parse.ts +270 -107
  347. package/node_modules/express-rate-limit/dist/index.cjs +51 -10
  348. package/node_modules/express-rate-limit/dist/index.d.cts +31 -1
  349. package/node_modules/express-rate-limit/dist/index.d.mts +31 -1
  350. package/node_modules/express-rate-limit/dist/index.d.ts +31 -1
  351. package/node_modules/express-rate-limit/dist/index.mjs +51 -10
  352. package/node_modules/express-rate-limit/package.json +3 -2
  353. package/node_modules/express-rate-limit/readme.md +3 -0
  354. package/node_modules/fast-string-truncated-width/dist/index.js +36 -96
  355. package/node_modules/fast-string-truncated-width/dist/types.d.ts +0 -3
  356. package/node_modules/fast-string-truncated-width/dist/utils.d.ts +3 -3
  357. package/node_modules/fast-string-truncated-width/dist/utils.js +14 -9
  358. package/node_modules/fast-string-truncated-width/package.json +1 -1
  359. package/node_modules/fast-string-truncated-width/readme.md +2 -3
  360. package/node_modules/fast-string-width/package.json +2 -2
  361. package/node_modules/fast-string-width/readme.md +0 -3
  362. package/node_modules/fast-uri/.github/workflows/ci.yml +12 -7
  363. package/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
  364. package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +1 -1
  365. package/node_modules/fast-uri/LICENSE +1 -3
  366. package/node_modules/fast-uri/README.md +13 -4
  367. package/node_modules/fast-uri/index.js +90 -24
  368. package/node_modules/fast-uri/lib/utils.js +129 -22
  369. package/node_modules/fast-uri/package.json +3 -4
  370. package/node_modules/fast-wrap-ansi/lib/main.js +4 -1
  371. package/node_modules/fast-wrap-ansi/lib/main.js.map +1 -1
  372. package/node_modules/fast-wrap-ansi/package.json +2 -2
  373. package/node_modules/get-intrinsic/CHANGELOG.md +0 -7
  374. package/node_modules/get-intrinsic/index.js +13 -8
  375. package/node_modules/get-intrinsic/package.json +4 -7
  376. package/node_modules/hasown/CHANGELOG.md +11 -0
  377. package/node_modules/hasown/eslint.config.mjs +6 -0
  378. package/node_modules/hasown/index.d.ts +1 -0
  379. package/node_modules/hasown/package.json +14 -14
  380. package/node_modules/hono/dist/adapter/aws-lambda/handler.js +9 -2
  381. package/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +9 -2
  382. package/node_modules/hono/dist/cjs/helper/ssg/ssg.js +2 -0
  383. package/node_modules/hono/dist/cjs/jsx/base.js +7 -1
  384. package/node_modules/hono/dist/cjs/jsx/dom/render.js +22 -9
  385. package/node_modules/hono/dist/cjs/jsx/jsx-runtime.js +3 -0
  386. package/node_modules/hono/dist/cjs/jsx/utils.js +155 -5
  387. package/node_modules/hono/dist/cjs/middleware/body-limit/index.js +21 -30
  388. package/node_modules/hono/dist/cjs/middleware/cache/index.js +11 -3
  389. package/node_modules/hono/dist/cjs/middleware/cors/index.js +2 -5
  390. package/node_modules/hono/dist/cjs/middleware/method-override/index.js +1 -1
  391. package/node_modules/hono/dist/cjs/middleware/trailing-slash/index.js +2 -2
  392. package/node_modules/hono/dist/cjs/utils/jwt/jws.js +1 -1
  393. package/node_modules/hono/dist/cjs/utils/jwt/jwt.js +12 -6
  394. package/node_modules/hono/dist/helper/ssg/ssg.js +2 -0
  395. package/node_modules/hono/dist/jsx/base.js +13 -2
  396. package/node_modules/hono/dist/jsx/dom/render.js +22 -9
  397. package/node_modules/hono/dist/jsx/jsx-runtime.js +4 -1
  398. package/node_modules/hono/dist/jsx/utils.js +153 -5
  399. package/node_modules/hono/dist/middleware/body-limit/index.js +21 -30
  400. package/node_modules/hono/dist/middleware/cache/index.js +11 -3
  401. package/node_modules/hono/dist/middleware/cors/index.js +2 -5
  402. package/node_modules/hono/dist/middleware/method-override/index.js +1 -1
  403. package/node_modules/hono/dist/middleware/trailing-slash/index.js +2 -2
  404. package/node_modules/hono/dist/tsconfig.build.tsbuildinfo +1 -1
  405. package/node_modules/hono/dist/types/jsx/utils.d.ts +3 -1
  406. package/node_modules/hono/dist/types/middleware/cache/index.d.ts +2 -0
  407. package/node_modules/hono/dist/types/middleware/cors/index.d.ts +1 -1
  408. package/node_modules/hono/dist/types/middleware/trailing-slash/index.d.ts +16 -0
  409. package/node_modules/hono/dist/types/types.d.ts +116 -116
  410. package/node_modules/hono/dist/utils/jwt/jws.js +1 -1
  411. package/node_modules/hono/dist/utils/jwt/jwt.js +12 -6
  412. package/node_modules/hono/package.json +1 -1
  413. package/node_modules/ip-address/README.md +249 -76
  414. package/node_modules/ip-address/dist/address-error.d.ts +0 -1
  415. package/node_modules/ip-address/dist/address-error.js.map +1 -1
  416. package/node_modules/ip-address/dist/common.d.ts +6 -1
  417. package/node_modules/ip-address/dist/common.js +21 -0
  418. package/node_modules/ip-address/dist/common.js.map +1 -1
  419. package/node_modules/ip-address/dist/ip-address.d.ts +0 -1
  420. package/node_modules/ip-address/dist/ip-address.js.map +1 -1
  421. package/node_modules/ip-address/dist/ipv4.d.ts +115 -57
  422. package/node_modules/ip-address/dist/ipv4.js +193 -68
  423. package/node_modules/ip-address/dist/ipv4.js.map +1 -1
  424. package/node_modules/ip-address/dist/ipv6.d.ts +172 -111
  425. package/node_modules/ip-address/dist/ipv6.js +345 -131
  426. package/node_modules/ip-address/dist/ipv6.js.map +1 -1
  427. package/node_modules/ip-address/dist/v4/constants.d.ts +0 -1
  428. package/node_modules/ip-address/dist/v4/constants.js.map +1 -1
  429. package/node_modules/ip-address/dist/v6/constants.d.ts +0 -1
  430. package/node_modules/ip-address/dist/v6/constants.js +5 -0
  431. package/node_modules/ip-address/dist/v6/constants.js.map +1 -1
  432. package/node_modules/ip-address/dist/v6/helpers.d.ts +1 -1
  433. package/node_modules/ip-address/dist/v6/helpers.js +12 -3
  434. package/node_modules/ip-address/dist/v6/helpers.js.map +1 -1
  435. package/node_modules/ip-address/dist/v6/regular-expressions.d.ts +0 -1
  436. package/node_modules/ip-address/dist/v6/regular-expressions.js.map +1 -1
  437. package/node_modules/ip-address/package.json +45 -35
  438. package/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
  439. package/node_modules/jose/dist/webapi/lib/pbes2kw.js +3 -0
  440. package/node_modules/jose/package.json +1 -1
  441. package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +5 -3
  442. package/node_modules/yaml/browser/dist/nodes/Alias.js +2 -0
  443. package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +11 -8
  444. package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +2 -1
  445. package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +5 -3
  446. package/node_modules/yaml/dist/nodes/Alias.js +2 -0
  447. package/node_modules/yaml/dist/nodes/Scalar.d.ts +5 -1
  448. package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +10 -7
  449. package/node_modules/yaml/dist/stringify/stringifyNumber.js +2 -1
  450. package/node_modules/yaml/package.json +1 -1
  451. package/node_modules/zod/README.md +1 -18
  452. package/node_modules/zod/locales/package.json +2 -1
  453. package/node_modules/zod/mini/package.json +2 -1
  454. package/node_modules/zod/package.json +1 -1
  455. package/node_modules/zod/src/v4/classic/errors.ts +2 -2
  456. package/node_modules/zod/src/v4/classic/external.ts +1 -0
  457. package/node_modules/zod/src/v4/classic/from-json-schema.ts +39 -23
  458. package/node_modules/zod/src/v4/classic/parse.ts +6 -6
  459. package/node_modules/zod/src/v4/classic/schemas.ts +414 -151
  460. package/node_modules/zod/src/v4/core/api.ts +31 -6
  461. package/node_modules/zod/src/v4/core/checks.ts +1 -1
  462. package/node_modules/zod/src/v4/core/core.ts +17 -2
  463. package/node_modules/zod/src/v4/core/errors.ts +31 -24
  464. package/node_modules/zod/src/v4/core/json-schema-processors.ts +17 -18
  465. package/node_modules/zod/src/v4/core/parse.ts +7 -7
  466. package/node_modules/zod/src/v4/core/regexes.ts +8 -1
  467. package/node_modules/zod/src/v4/core/schemas.ts +263 -71
  468. package/node_modules/zod/src/v4/core/to-json-schema.ts +10 -1
  469. package/node_modules/zod/src/v4/core/util.ts +52 -35
  470. package/node_modules/zod/src/v4/core/versions.ts +2 -2
  471. package/node_modules/zod/src/v4/locales/el.ts +121 -0
  472. package/node_modules/zod/src/v4/locales/en.ts +4 -0
  473. package/node_modules/zod/src/v4/locales/fr.ts +24 -8
  474. package/node_modules/zod/src/v4/locales/hr.ts +131 -0
  475. package/node_modules/zod/src/v4/locales/index.ts +3 -0
  476. package/node_modules/zod/src/v4/locales/it.ts +1 -1
  477. package/node_modules/zod/src/v4/locales/ka.ts +8 -8
  478. package/node_modules/zod/src/v4/locales/ro.ts +129 -0
  479. package/node_modules/zod/src/v4/locales/uz.ts +1 -0
  480. package/node_modules/zod/src/v4/mini/external.ts +1 -0
  481. package/node_modules/zod/src/v4/mini/schemas.ts +56 -25
  482. package/node_modules/zod/v3/package.json +2 -1
  483. package/node_modules/zod/v4/classic/errors.js +2 -2
  484. package/node_modules/zod/v4/classic/external.d.cts +1 -0
  485. package/node_modules/zod/v4/classic/external.d.ts +1 -0
  486. package/node_modules/zod/v4/classic/from-json-schema.cjs +31 -16
  487. package/node_modules/zod/v4/classic/from-json-schema.js +31 -16
  488. package/node_modules/zod/v4/classic/package.json +2 -1
  489. package/node_modules/zod/v4/classic/schemas.cjs +358 -119
  490. package/node_modules/zod/v4/classic/schemas.d.cts +42 -14
  491. package/node_modules/zod/v4/classic/schemas.d.ts +42 -14
  492. package/node_modules/zod/v4/classic/schemas.js +356 -118
  493. package/node_modules/zod/v4/core/api.cjs +7 -2
  494. package/node_modules/zod/v4/core/api.d.cts +26 -5
  495. package/node_modules/zod/v4/core/api.d.ts +26 -5
  496. package/node_modules/zod/v4/core/api.js +7 -2
  497. package/node_modules/zod/v4/core/checks.d.cts +1 -1
  498. package/node_modules/zod/v4/core/checks.d.ts +1 -1
  499. package/node_modules/zod/v4/core/core.cjs +3 -1
  500. package/node_modules/zod/v4/core/core.js +4 -2
  501. package/node_modules/zod/v4/core/errors.cjs +26 -23
  502. package/node_modules/zod/v4/core/errors.d.cts +1 -0
  503. package/node_modules/zod/v4/core/errors.d.ts +1 -0
  504. package/node_modules/zod/v4/core/errors.js +26 -23
  505. package/node_modules/zod/v4/core/json-schema-processors.cjs +16 -20
  506. package/node_modules/zod/v4/core/json-schema-processors.js +16 -20
  507. package/node_modules/zod/v4/core/package.json +2 -1
  508. package/node_modules/zod/v4/core/parse.cjs +7 -7
  509. package/node_modules/zod/v4/core/parse.js +7 -7
  510. package/node_modules/zod/v4/core/regexes.cjs +9 -3
  511. package/node_modules/zod/v4/core/regexes.d.cts +6 -0
  512. package/node_modules/zod/v4/core/regexes.d.ts +6 -0
  513. package/node_modules/zod/v4/core/regexes.js +7 -1
  514. package/node_modules/zod/v4/core/schemas.cjs +211 -65
  515. package/node_modules/zod/v4/core/schemas.d.cts +39 -1
  516. package/node_modules/zod/v4/core/schemas.d.ts +39 -1
  517. package/node_modules/zod/v4/core/schemas.js +210 -64
  518. package/node_modules/zod/v4/core/to-json-schema.cjs +12 -1
  519. package/node_modules/zod/v4/core/to-json-schema.js +12 -1
  520. package/node_modules/zod/v4/core/util.cjs +54 -30
  521. package/node_modules/zod/v4/core/util.d.cts +1 -0
  522. package/node_modules/zod/v4/core/util.d.ts +1 -0
  523. package/node_modules/zod/v4/core/util.js +55 -32
  524. package/node_modules/zod/v4/core/versions.cjs +2 -2
  525. package/node_modules/zod/v4/core/versions.d.cts +1 -1
  526. package/node_modules/zod/v4/core/versions.d.ts +1 -1
  527. package/node_modules/zod/v4/core/versions.js +2 -2
  528. package/node_modules/zod/v4/locales/el.cjs +136 -0
  529. package/node_modules/zod/v4/locales/el.d.cts +5 -0
  530. package/node_modules/zod/v4/locales/el.d.ts +4 -0
  531. package/node_modules/zod/v4/locales/el.js +109 -0
  532. package/node_modules/zod/v4/locales/en.cjs +4 -0
  533. package/node_modules/zod/v4/locales/en.js +4 -0
  534. package/node_modules/zod/v4/locales/fr.cjs +24 -7
  535. package/node_modules/zod/v4/locales/fr.js +24 -7
  536. package/node_modules/zod/v4/locales/hr.cjs +149 -0
  537. package/node_modules/zod/v4/locales/hr.d.cts +5 -0
  538. package/node_modules/zod/v4/locales/hr.d.ts +4 -0
  539. package/node_modules/zod/v4/locales/hr.js +122 -0
  540. package/node_modules/zod/v4/locales/index.cjs +8 -1
  541. package/node_modules/zod/v4/locales/index.d.cts +3 -0
  542. package/node_modules/zod/v4/locales/index.d.ts +3 -0
  543. package/node_modules/zod/v4/locales/index.js +3 -0
  544. package/node_modules/zod/v4/locales/it.cjs +1 -1
  545. package/node_modules/zod/v4/locales/it.js +1 -1
  546. package/node_modules/zod/v4/locales/ka.cjs +8 -8
  547. package/node_modules/zod/v4/locales/ka.js +8 -8
  548. package/node_modules/zod/v4/locales/package.json +2 -1
  549. package/node_modules/zod/v4/locales/ro.cjs +146 -0
  550. package/node_modules/zod/v4/locales/ro.d.cts +5 -0
  551. package/node_modules/zod/v4/locales/ro.d.ts +4 -0
  552. package/node_modules/zod/v4/locales/ro.js +119 -0
  553. package/node_modules/zod/v4/locales/uz.cjs +1 -0
  554. package/node_modules/zod/v4/locales/uz.js +1 -0
  555. package/node_modules/zod/v4/mini/external.d.cts +1 -0
  556. package/node_modules/zod/v4/mini/external.d.ts +1 -0
  557. package/node_modules/zod/v4/mini/package.json +2 -1
  558. package/node_modules/zod/v4/mini/schemas.cjs +41 -4
  559. package/node_modules/zod/v4/mini/schemas.d.cts +28 -10
  560. package/node_modules/zod/v4/mini/schemas.d.ts +28 -10
  561. package/node_modules/zod/v4/mini/schemas.js +40 -4
  562. package/node_modules/zod/v4/package.json +2 -1
  563. package/node_modules/zod/v4-mini/package.json +2 -1
  564. package/package.json +12 -12
  565. package/node_modules/async-function/.eslintrc +0 -16
  566. package/node_modules/async-function/.github/FUNDING.yml +0 -12
  567. package/node_modules/async-function/.nycrc +0 -9
  568. package/node_modules/async-function/CHANGELOG.md +0 -16
  569. package/node_modules/async-function/LICENSE +0 -21
  570. package/node_modules/async-function/README.md +0 -51
  571. package/node_modules/async-function/index.d.mts +0 -3
  572. package/node_modules/async-function/index.d.ts +0 -13
  573. package/node_modules/async-function/index.js +0 -8
  574. package/node_modules/async-function/index.mjs +0 -4
  575. package/node_modules/async-function/legacy.js +0 -18
  576. package/node_modules/async-function/package.json +0 -86
  577. package/node_modules/async-function/require.mjs +0 -5
  578. package/node_modules/async-function/tsconfig.json +0 -9
  579. package/node_modules/async-generator-function/.eslintrc +0 -26
  580. package/node_modules/async-generator-function/.github/FUNDING.yml +0 -12
  581. package/node_modules/async-generator-function/.nycrc +0 -9
  582. package/node_modules/async-generator-function/CHANGELOG.md +0 -15
  583. package/node_modules/async-generator-function/LICENSE +0 -21
  584. package/node_modules/async-generator-function/README.md +0 -52
  585. package/node_modules/async-generator-function/index.d.mts +0 -3
  586. package/node_modules/async-generator-function/index.d.ts +0 -22
  587. package/node_modules/async-generator-function/index.js +0 -8
  588. package/node_modules/async-generator-function/index.mjs +0 -4
  589. package/node_modules/async-generator-function/legacy.js +0 -18
  590. package/node_modules/async-generator-function/package.json +0 -87
  591. package/node_modules/async-generator-function/require.mjs +0 -5
  592. package/node_modules/async-generator-function/tsconfig.json +0 -9
  593. package/node_modules/fast-uri/.github/.stale.yml +0 -21
  594. package/node_modules/fast-uri/.github/tests_checker.yml +0 -8
  595. package/node_modules/generator-function/.eslintrc +0 -16
  596. package/node_modules/generator-function/.github/FUNDING.yml +0 -12
  597. package/node_modules/generator-function/.nycrc +0 -9
  598. package/node_modules/generator-function/CHANGELOG.md +0 -27
  599. package/node_modules/generator-function/LICENSE.md +0 -7
  600. package/node_modules/generator-function/README.md +0 -51
  601. package/node_modules/generator-function/index.d.mts +0 -3
  602. package/node_modules/generator-function/index.d.ts +0 -3
  603. package/node_modules/generator-function/index.js +0 -8
  604. package/node_modules/generator-function/index.mjs +0 -4
  605. package/node_modules/generator-function/legacy.js +0 -18
  606. package/node_modules/generator-function/package.json +0 -88
  607. package/node_modules/generator-function/require.mjs +0 -5
  608. package/node_modules/generator-function/tsconfig.json +0 -9
  609. package/node_modules/hasown/.eslintrc +0 -5
  610. package/node_modules/ip-address/dist/address-error.d.ts.map +0 -1
  611. package/node_modules/ip-address/dist/common.d.ts.map +0 -1
  612. package/node_modules/ip-address/dist/ip-address.d.ts.map +0 -1
  613. package/node_modules/ip-address/dist/ipv4.d.ts.map +0 -1
  614. package/node_modules/ip-address/dist/ipv6.d.ts.map +0 -1
  615. package/node_modules/ip-address/dist/v4/constants.d.ts.map +0 -1
  616. package/node_modules/ip-address/dist/v6/constants.d.ts.map +0 -1
  617. package/node_modules/ip-address/dist/v6/helpers.d.ts.map +0 -1
  618. package/node_modules/ip-address/dist/v6/regular-expressions.d.ts.map +0 -1
  619. package/node_modules/ip-address/src/address-error.ts +0 -11
  620. package/node_modules/ip-address/src/common.ts +0 -55
  621. package/node_modules/ip-address/src/ip-address.ts +0 -7
  622. package/node_modules/ip-address/src/ipv4.ts +0 -394
  623. package/node_modules/ip-address/src/ipv6.ts +0 -1212
  624. package/node_modules/ip-address/src/v4/constants.ts +0 -7
  625. package/node_modules/ip-address/src/v6/constants.ts +0 -79
  626. package/node_modules/ip-address/src/v6/helpers.ts +0 -48
  627. package/node_modules/ip-address/src/v6/regular-expressions.ts +0 -94
  628. /package/node_modules/{cross-spawn/node_modules/isexe → isexe}/.npmignore +0 -0
  629. /package/node_modules/{cross-spawn/node_modules/isexe → isexe}/LICENSE +0 -0
  630. /package/node_modules/{cross-spawn/node_modules/isexe → isexe}/README.md +0 -0
  631. /package/node_modules/{cross-spawn/node_modules/isexe → isexe}/index.js +0 -0
  632. /package/node_modules/{cross-spawn/node_modules/isexe → isexe}/mode.js +0 -0
  633. /package/node_modules/{cross-spawn/node_modules/isexe → isexe}/package.json +0 -0
  634. /package/node_modules/{cross-spawn/node_modules/isexe → isexe}/windows.js +0 -0
  635. /package/node_modules/{cross-spawn/node_modules/which → which}/LICENSE +0 -0
  636. /package/node_modules/{cross-spawn/node_modules/which → which}/README.md +0 -0
  637. /package/node_modules/{cross-spawn/node_modules/which → which}/bin/node-which +0 -0
  638. /package/node_modules/{cross-spawn/node_modules/which → which}/package.json +0 -0
  639. /package/node_modules/{cross-spawn/node_modules/which → which}/which.js +0 -0
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.ZodLiteral = exports.ZodEnum = exports.ZodSet = exports.ZodMap = exports.ZodRecord = exports.ZodTuple = exports.ZodIntersection = exports.ZodDiscriminatedUnion = exports.ZodXor = exports.ZodUnion = exports.ZodObject = exports.ZodArray = exports.ZodDate = exports.ZodVoid = exports.ZodNever = exports.ZodUnknown = exports.ZodAny = exports.ZodNull = exports.ZodUndefined = exports.ZodSymbol = exports.ZodBigIntFormat = exports.ZodBigInt = exports.ZodBoolean = exports.ZodNumberFormat = exports.ZodNumber = exports.ZodCustomStringFormat = exports.ZodJWT = exports.ZodE164 = exports.ZodBase64URL = exports.ZodBase64 = exports.ZodCIDRv6 = exports.ZodCIDRv4 = exports.ZodIPv6 = exports.ZodMAC = exports.ZodIPv4 = exports.ZodKSUID = exports.ZodXID = exports.ZodULID = exports.ZodCUID2 = exports.ZodCUID = exports.ZodNanoID = exports.ZodEmoji = exports.ZodURL = exports.ZodUUID = exports.ZodGUID = exports.ZodEmail = exports.ZodStringFormat = exports.ZodString = exports._ZodString = exports.ZodType = void 0;
27
- exports.stringbool = exports.meta = exports.describe = exports.ZodCustom = exports.ZodFunction = exports.ZodPromise = exports.ZodLazy = exports.ZodTemplateLiteral = exports.ZodReadonly = exports.ZodCodec = exports.ZodPipe = exports.ZodNaN = exports.ZodCatch = exports.ZodSuccess = exports.ZodNonOptional = exports.ZodPrefault = exports.ZodDefault = exports.ZodNullable = exports.ZodExactOptional = exports.ZodOptional = exports.ZodTransform = exports.ZodFile = void 0;
27
+ exports.stringbool = exports.meta = exports.describe = exports.ZodCustom = exports.ZodFunction = exports.ZodPromise = exports.ZodLazy = exports.ZodTemplateLiteral = exports.ZodReadonly = exports.ZodPreprocess = exports.ZodCodec = exports.ZodPipe = exports.ZodNaN = exports.ZodCatch = exports.ZodSuccess = exports.ZodNonOptional = exports.ZodPrefault = exports.ZodDefault = exports.ZodNullable = exports.ZodExactOptional = exports.ZodOptional = exports.ZodTransform = exports.ZodFile = void 0;
28
28
  exports.string = string;
29
29
  exports.email = email;
30
30
  exports.guid = guid;
@@ -104,6 +104,7 @@ exports.catch = _catch;
104
104
  exports.nan = nan;
105
105
  exports.pipe = pipe;
106
106
  exports.codec = codec;
107
+ exports.invertCodec = invertCodec;
107
108
  exports.readonly = readonly;
108
109
  exports.templateLiteral = templateLiteral;
109
110
  exports.lazy = lazy;
@@ -126,6 +127,54 @@ const to_json_schema_js_1 = require("../core/to-json-schema.cjs");
126
127
  const checks = __importStar(require("./checks.cjs"));
127
128
  const iso = __importStar(require("./iso.cjs"));
128
129
  const parse = __importStar(require("./parse.cjs"));
130
+ // Lazy-bind builder methods.
131
+ //
132
+ // Builder methods (`.optional`, `.array`, `.refine`, ...) live as
133
+ // non-enumerable getters on each concrete schema constructor's
134
+ // prototype. On first access from an instance the getter allocates
135
+ // `fn.bind(this)` and caches it as an own property on that instance,
136
+ // so detached usage (`const m = schema.optional; m()`) still works
137
+ // and the per-instance allocation only happens for methods actually
138
+ // touched.
139
+ //
140
+ // One install per (prototype, group), memoized by `_installedGroups`.
141
+ const _installedGroups = /* @__PURE__ */ new WeakMap();
142
+ function _installLazyMethods(inst, group, methods) {
143
+ const proto = Object.getPrototypeOf(inst);
144
+ let installed = _installedGroups.get(proto);
145
+ if (!installed) {
146
+ installed = new Set();
147
+ _installedGroups.set(proto, installed);
148
+ }
149
+ if (installed.has(group))
150
+ return;
151
+ installed.add(group);
152
+ for (const key in methods) {
153
+ const fn = methods[key];
154
+ Object.defineProperty(proto, key, {
155
+ configurable: true,
156
+ enumerable: false,
157
+ get() {
158
+ const bound = fn.bind(this);
159
+ Object.defineProperty(this, key, {
160
+ configurable: true,
161
+ writable: true,
162
+ enumerable: true,
163
+ value: bound,
164
+ });
165
+ return bound;
166
+ },
167
+ set(v) {
168
+ Object.defineProperty(this, key, {
169
+ configurable: true,
170
+ writable: true,
171
+ enumerable: true,
172
+ value: v,
173
+ });
174
+ },
175
+ });
176
+ }
177
+ }
129
178
  exports.ZodType = core.$constructor("ZodType", (inst, def) => {
130
179
  core.$ZodType.init(inst, def);
131
180
  Object.assign(inst["~standard"], {
@@ -138,31 +187,16 @@ exports.ZodType = core.$constructor("ZodType", (inst, def) => {
138
187
  inst.def = def;
139
188
  inst.type = def.type;
140
189
  Object.defineProperty(inst, "_def", { value: def });
141
- // base methods
142
- inst.check = (...checks) => {
143
- return inst.clone(index_js_1.util.mergeDefs(def, {
144
- checks: [
145
- ...(def.checks ?? []),
146
- ...checks.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch),
147
- ],
148
- }), {
149
- parent: true,
150
- });
151
- };
152
- inst.with = inst.check;
153
- inst.clone = (def, params) => core.clone(inst, def, params);
154
- inst.brand = () => inst;
155
- inst.register = ((reg, meta) => {
156
- reg.add(inst, meta);
157
- return inst;
158
- });
159
- // parsing
190
+ // Parse-family is intentionally kept as per-instance closures: these are
191
+ // the hot path AND the most-detached methods (`arr.map(schema.parse)`,
192
+ // `const { parse } = schema`, etc.). Eager closures here mean callers pay
193
+ // ~12 closure allocations per schema but get monomorphic call sites and
194
+ // detached usage that "just works".
160
195
  inst.parse = (data, params) => parse.parse(inst, data, params, { callee: inst.parse });
161
196
  inst.safeParse = (data, params) => parse.safeParse(inst, data, params);
162
197
  inst.parseAsync = async (data, params) => parse.parseAsync(inst, data, params, { callee: inst.parseAsync });
163
198
  inst.safeParseAsync = async (data, params) => parse.safeParseAsync(inst, data, params);
164
199
  inst.spa = inst.safeParseAsync;
165
- // encoding/decoding
166
200
  inst.encode = (data, params) => parse.encode(inst, data, params);
167
201
  inst.decode = (data, params) => parse.decode(inst, data, params);
168
202
  inst.encodeAsync = async (data, params) => parse.encodeAsync(inst, data, params);
@@ -171,50 +205,118 @@ exports.ZodType = core.$constructor("ZodType", (inst, def) => {
171
205
  inst.safeDecode = (data, params) => parse.safeDecode(inst, data, params);
172
206
  inst.safeEncodeAsync = async (data, params) => parse.safeEncodeAsync(inst, data, params);
173
207
  inst.safeDecodeAsync = async (data, params) => parse.safeDecodeAsync(inst, data, params);
174
- // refinements
175
- inst.refine = (check, params) => inst.check(refine(check, params));
176
- inst.superRefine = (refinement) => inst.check(superRefine(refinement));
177
- inst.overwrite = (fn) => inst.check(checks.overwrite(fn));
178
- // wrappers
179
- inst.optional = () => optional(inst);
180
- inst.exactOptional = () => exactOptional(inst);
181
- inst.nullable = () => nullable(inst);
182
- inst.nullish = () => optional(nullable(inst));
183
- inst.nonoptional = (params) => nonoptional(inst, params);
184
- inst.array = () => array(inst);
185
- inst.or = (arg) => union([inst, arg]);
186
- inst.and = (arg) => intersection(inst, arg);
187
- inst.transform = (tx) => pipe(inst, transform(tx));
188
- inst.default = (def) => _default(inst, def);
189
- inst.prefault = (def) => prefault(inst, def);
190
- // inst.coalesce = (def, params) => coalesce(inst, def, params);
191
- inst.catch = (params) => _catch(inst, params);
192
- inst.pipe = (target) => pipe(inst, target);
193
- inst.readonly = () => readonly(inst);
194
- // meta
195
- inst.describe = (description) => {
196
- const cl = inst.clone();
197
- core.globalRegistry.add(cl, { description });
198
- return cl;
199
- };
208
+ // All builder methods are placed on the internal prototype as lazy-bind
209
+ // getters. On first access per-instance, a bound thunk is allocated and
210
+ // cached as an own property; subsequent accesses skip the getter. This
211
+ // means: no per-instance allocation for unused methods, full
212
+ // detachability preserved (`const m = schema.optional; m()` works), and
213
+ // shared underlying function references across all instances.
214
+ _installLazyMethods(inst, "ZodType", {
215
+ check(...chks) {
216
+ const def = this.def;
217
+ return this.clone(index_js_1.util.mergeDefs(def, {
218
+ checks: [
219
+ ...(def.checks ?? []),
220
+ ...chks.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch),
221
+ ],
222
+ }), { parent: true });
223
+ },
224
+ with(...chks) {
225
+ return this.check(...chks);
226
+ },
227
+ clone(def, params) {
228
+ return core.clone(this, def, params);
229
+ },
230
+ brand() {
231
+ return this;
232
+ },
233
+ register(reg, meta) {
234
+ reg.add(this, meta);
235
+ return this;
236
+ },
237
+ refine(check, params) {
238
+ return this.check(refine(check, params));
239
+ },
240
+ superRefine(refinement, params) {
241
+ return this.check(superRefine(refinement, params));
242
+ },
243
+ overwrite(fn) {
244
+ return this.check(checks.overwrite(fn));
245
+ },
246
+ optional() {
247
+ return optional(this);
248
+ },
249
+ exactOptional() {
250
+ return exactOptional(this);
251
+ },
252
+ nullable() {
253
+ return nullable(this);
254
+ },
255
+ nullish() {
256
+ return optional(nullable(this));
257
+ },
258
+ nonoptional(params) {
259
+ return nonoptional(this, params);
260
+ },
261
+ array() {
262
+ return array(this);
263
+ },
264
+ or(arg) {
265
+ return union([this, arg]);
266
+ },
267
+ and(arg) {
268
+ return intersection(this, arg);
269
+ },
270
+ transform(tx) {
271
+ return pipe(this, transform(tx));
272
+ },
273
+ default(d) {
274
+ return _default(this, d);
275
+ },
276
+ prefault(d) {
277
+ return prefault(this, d);
278
+ },
279
+ catch(params) {
280
+ return _catch(this, params);
281
+ },
282
+ pipe(target) {
283
+ return pipe(this, target);
284
+ },
285
+ readonly() {
286
+ return readonly(this);
287
+ },
288
+ describe(description) {
289
+ const cl = this.clone();
290
+ core.globalRegistry.add(cl, { description });
291
+ return cl;
292
+ },
293
+ meta(...args) {
294
+ // overloaded: meta() returns the registered metadata, meta(data)
295
+ // returns a clone with `data` registered. The mapped type picks
296
+ // up the second overload, so we accept variadic any-args and
297
+ // return `any` to satisfy both at runtime.
298
+ if (args.length === 0)
299
+ return core.globalRegistry.get(this);
300
+ const cl = this.clone();
301
+ core.globalRegistry.add(cl, args[0]);
302
+ return cl;
303
+ },
304
+ isOptional() {
305
+ return this.safeParse(undefined).success;
306
+ },
307
+ isNullable() {
308
+ return this.safeParse(null).success;
309
+ },
310
+ apply(fn) {
311
+ return fn(this);
312
+ },
313
+ });
200
314
  Object.defineProperty(inst, "description", {
201
315
  get() {
202
316
  return core.globalRegistry.get(inst)?.description;
203
317
  },
204
318
  configurable: true,
205
319
  });
206
- inst.meta = (...args) => {
207
- if (args.length === 0) {
208
- return core.globalRegistry.get(inst);
209
- }
210
- const cl = inst.clone();
211
- core.globalRegistry.add(cl, args[0]);
212
- return cl;
213
- };
214
- // helpers
215
- inst.isOptional = () => inst.safeParse(undefined).success;
216
- inst.isNullable = () => inst.safeParse(null).success;
217
- inst.apply = (fn) => fn(inst);
218
320
  return inst;
219
321
  });
220
322
  /** @internal */
@@ -226,23 +328,53 @@ exports._ZodString = core.$constructor("_ZodString", (inst, def) => {
226
328
  inst.format = bag.format ?? null;
227
329
  inst.minLength = bag.minimum ?? null;
228
330
  inst.maxLength = bag.maximum ?? null;
229
- // validations
230
- inst.regex = (...args) => inst.check(checks.regex(...args));
231
- inst.includes = (...args) => inst.check(checks.includes(...args));
232
- inst.startsWith = (...args) => inst.check(checks.startsWith(...args));
233
- inst.endsWith = (...args) => inst.check(checks.endsWith(...args));
234
- inst.min = (...args) => inst.check(checks.minLength(...args));
235
- inst.max = (...args) => inst.check(checks.maxLength(...args));
236
- inst.length = (...args) => inst.check(checks.length(...args));
237
- inst.nonempty = (...args) => inst.check(checks.minLength(1, ...args));
238
- inst.lowercase = (params) => inst.check(checks.lowercase(params));
239
- inst.uppercase = (params) => inst.check(checks.uppercase(params));
240
- // transforms
241
- inst.trim = () => inst.check(checks.trim());
242
- inst.normalize = (...args) => inst.check(checks.normalize(...args));
243
- inst.toLowerCase = () => inst.check(checks.toLowerCase());
244
- inst.toUpperCase = () => inst.check(checks.toUpperCase());
245
- inst.slugify = () => inst.check(checks.slugify());
331
+ _installLazyMethods(inst, "_ZodString", {
332
+ regex(...args) {
333
+ return this.check(checks.regex(...args));
334
+ },
335
+ includes(...args) {
336
+ return this.check(checks.includes(...args));
337
+ },
338
+ startsWith(...args) {
339
+ return this.check(checks.startsWith(...args));
340
+ },
341
+ endsWith(...args) {
342
+ return this.check(checks.endsWith(...args));
343
+ },
344
+ min(...args) {
345
+ return this.check(checks.minLength(...args));
346
+ },
347
+ max(...args) {
348
+ return this.check(checks.maxLength(...args));
349
+ },
350
+ length(...args) {
351
+ return this.check(checks.length(...args));
352
+ },
353
+ nonempty(...args) {
354
+ return this.check(checks.minLength(1, ...args));
355
+ },
356
+ lowercase(params) {
357
+ return this.check(checks.lowercase(params));
358
+ },
359
+ uppercase(params) {
360
+ return this.check(checks.uppercase(params));
361
+ },
362
+ trim() {
363
+ return this.check(checks.trim());
364
+ },
365
+ normalize(...args) {
366
+ return this.check(checks.normalize(...args));
367
+ },
368
+ toLowerCase() {
369
+ return this.check(checks.toLowerCase());
370
+ },
371
+ toUpperCase() {
372
+ return this.check(checks.toUpperCase());
373
+ },
374
+ slugify() {
375
+ return this.check(checks.slugify());
376
+ },
377
+ });
246
378
  });
247
379
  exports.ZodString = core.$constructor("ZodString", (inst, def) => {
248
380
  core.$ZodString.init(inst, def);
@@ -328,7 +460,7 @@ function url(params) {
328
460
  }
329
461
  function httpUrl(params) {
330
462
  return core._url(exports.ZodURL, {
331
- protocol: /^https?$/,
463
+ protocol: core.regexes.httpProtocol,
332
464
  hostname: core.regexes.domain,
333
465
  ...index_js_1.util.normalizeParams(params),
334
466
  });
@@ -349,11 +481,23 @@ exports.ZodNanoID = core.$constructor("ZodNanoID", (inst, def) => {
349
481
  function nanoid(params) {
350
482
  return core._nanoid(exports.ZodNanoID, params);
351
483
  }
484
+ /**
485
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
486
+ * (timestamps embedded in the id). Use {@link ZodCUID2} instead.
487
+ * See https://github.com/paralleldrive/cuid.
488
+ */
352
489
  exports.ZodCUID = core.$constructor("ZodCUID", (inst, def) => {
353
490
  // ZodStringFormat.init(inst, def);
354
491
  core.$ZodCUID.init(inst, def);
355
492
  exports.ZodStringFormat.init(inst, def);
356
493
  });
494
+ /**
495
+ * Validates a CUID v1 string.
496
+ *
497
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
498
+ * (timestamps embedded in the id). Use {@link cuid2 | `z.cuid2()`} instead.
499
+ * See https://github.com/paralleldrive/cuid.
500
+ */
357
501
  function cuid(params) {
358
502
  return core._cuid(exports.ZodCUID, params);
359
503
  }
@@ -485,22 +629,53 @@ exports.ZodNumber = core.$constructor("ZodNumber", (inst, def) => {
485
629
  core.$ZodNumber.init(inst, def);
486
630
  exports.ZodType.init(inst, def);
487
631
  inst._zod.processJSONSchema = (ctx, json, params) => processors.numberProcessor(inst, ctx, json, params);
488
- inst.gt = (value, params) => inst.check(checks.gt(value, params));
489
- inst.gte = (value, params) => inst.check(checks.gte(value, params));
490
- inst.min = (value, params) => inst.check(checks.gte(value, params));
491
- inst.lt = (value, params) => inst.check(checks.lt(value, params));
492
- inst.lte = (value, params) => inst.check(checks.lte(value, params));
493
- inst.max = (value, params) => inst.check(checks.lte(value, params));
494
- inst.int = (params) => inst.check(int(params));
495
- inst.safe = (params) => inst.check(int(params));
496
- inst.positive = (params) => inst.check(checks.gt(0, params));
497
- inst.nonnegative = (params) => inst.check(checks.gte(0, params));
498
- inst.negative = (params) => inst.check(checks.lt(0, params));
499
- inst.nonpositive = (params) => inst.check(checks.lte(0, params));
500
- inst.multipleOf = (value, params) => inst.check(checks.multipleOf(value, params));
501
- inst.step = (value, params) => inst.check(checks.multipleOf(value, params));
502
- // inst.finite = (params) => inst.check(core.finite(params));
503
- inst.finite = () => inst;
632
+ _installLazyMethods(inst, "ZodNumber", {
633
+ gt(value, params) {
634
+ return this.check(checks.gt(value, params));
635
+ },
636
+ gte(value, params) {
637
+ return this.check(checks.gte(value, params));
638
+ },
639
+ min(value, params) {
640
+ return this.check(checks.gte(value, params));
641
+ },
642
+ lt(value, params) {
643
+ return this.check(checks.lt(value, params));
644
+ },
645
+ lte(value, params) {
646
+ return this.check(checks.lte(value, params));
647
+ },
648
+ max(value, params) {
649
+ return this.check(checks.lte(value, params));
650
+ },
651
+ int(params) {
652
+ return this.check(int(params));
653
+ },
654
+ safe(params) {
655
+ return this.check(int(params));
656
+ },
657
+ positive(params) {
658
+ return this.check(checks.gt(0, params));
659
+ },
660
+ nonnegative(params) {
661
+ return this.check(checks.gte(0, params));
662
+ },
663
+ negative(params) {
664
+ return this.check(checks.lt(0, params));
665
+ },
666
+ nonpositive(params) {
667
+ return this.check(checks.lte(0, params));
668
+ },
669
+ multipleOf(value, params) {
670
+ return this.check(checks.multipleOf(value, params));
671
+ },
672
+ step(value, params) {
673
+ return this.check(checks.multipleOf(value, params));
674
+ },
675
+ finite() {
676
+ return this;
677
+ },
678
+ });
504
679
  const bag = inst._zod.bag;
505
680
  inst.minValue =
506
681
  Math.max(bag.minimum ?? Number.NEGATIVE_INFINITY, bag.exclusiveMinimum ?? Number.NEGATIVE_INFINITY) ?? null;
@@ -651,11 +826,23 @@ exports.ZodArray = core.$constructor("ZodArray", (inst, def) => {
651
826
  exports.ZodType.init(inst, def);
652
827
  inst._zod.processJSONSchema = (ctx, json, params) => processors.arrayProcessor(inst, ctx, json, params);
653
828
  inst.element = def.element;
654
- inst.min = (minLength, params) => inst.check(checks.minLength(minLength, params));
655
- inst.nonempty = (params) => inst.check(checks.minLength(1, params));
656
- inst.max = (maxLength, params) => inst.check(checks.maxLength(maxLength, params));
657
- inst.length = (len, params) => inst.check(checks.length(len, params));
658
- inst.unwrap = () => inst.element;
829
+ _installLazyMethods(inst, "ZodArray", {
830
+ min(n, params) {
831
+ return this.check(checks.minLength(n, params));
832
+ },
833
+ nonempty(params) {
834
+ return this.check(checks.minLength(1, params));
835
+ },
836
+ max(n, params) {
837
+ return this.check(checks.maxLength(n, params));
838
+ },
839
+ length(n, params) {
840
+ return this.check(checks.length(n, params));
841
+ },
842
+ unwrap() {
843
+ return this.element;
844
+ },
845
+ });
659
846
  });
660
847
  function array(element, params) {
661
848
  return core._array(exports.ZodArray, element, params);
@@ -672,23 +859,47 @@ exports.ZodObject = core.$constructor("ZodObject", (inst, def) => {
672
859
  index_js_1.util.defineLazy(inst, "shape", () => {
673
860
  return def.shape;
674
861
  });
675
- inst.keyof = () => _enum(Object.keys(inst._zod.def.shape));
676
- inst.catchall = (catchall) => inst.clone({ ...inst._zod.def, catchall: catchall });
677
- inst.passthrough = () => inst.clone({ ...inst._zod.def, catchall: unknown() });
678
- inst.loose = () => inst.clone({ ...inst._zod.def, catchall: unknown() });
679
- inst.strict = () => inst.clone({ ...inst._zod.def, catchall: never() });
680
- inst.strip = () => inst.clone({ ...inst._zod.def, catchall: undefined });
681
- inst.extend = (incoming) => {
682
- return index_js_1.util.extend(inst, incoming);
683
- };
684
- inst.safeExtend = (incoming) => {
685
- return index_js_1.util.safeExtend(inst, incoming);
686
- };
687
- inst.merge = (other) => index_js_1.util.merge(inst, other);
688
- inst.pick = (mask) => index_js_1.util.pick(inst, mask);
689
- inst.omit = (mask) => index_js_1.util.omit(inst, mask);
690
- inst.partial = (...args) => index_js_1.util.partial(exports.ZodOptional, inst, args[0]);
691
- inst.required = (...args) => index_js_1.util.required(exports.ZodNonOptional, inst, args[0]);
862
+ _installLazyMethods(inst, "ZodObject", {
863
+ keyof() {
864
+ return _enum(Object.keys(this._zod.def.shape));
865
+ },
866
+ catchall(catchall) {
867
+ return this.clone({ ...this._zod.def, catchall: catchall });
868
+ },
869
+ passthrough() {
870
+ return this.clone({ ...this._zod.def, catchall: unknown() });
871
+ },
872
+ loose() {
873
+ return this.clone({ ...this._zod.def, catchall: unknown() });
874
+ },
875
+ strict() {
876
+ return this.clone({ ...this._zod.def, catchall: never() });
877
+ },
878
+ strip() {
879
+ return this.clone({ ...this._zod.def, catchall: undefined });
880
+ },
881
+ extend(incoming) {
882
+ return index_js_1.util.extend(this, incoming);
883
+ },
884
+ safeExtend(incoming) {
885
+ return index_js_1.util.safeExtend(this, incoming);
886
+ },
887
+ merge(other) {
888
+ return index_js_1.util.merge(this, other);
889
+ },
890
+ pick(mask) {
891
+ return index_js_1.util.pick(this, mask);
892
+ },
893
+ omit(mask) {
894
+ return index_js_1.util.omit(this, mask);
895
+ },
896
+ partial(...args) {
897
+ return index_js_1.util.partial(exports.ZodOptional, this, args[0]);
898
+ },
899
+ required(...args) {
900
+ return index_js_1.util.required(exports.ZodNonOptional, this, args[0]);
901
+ },
902
+ });
692
903
  });
693
904
  function object(shape, params) {
694
905
  const def = {
@@ -799,6 +1010,15 @@ exports.ZodRecord = core.$constructor("ZodRecord", (inst, def) => {
799
1010
  inst.valueType = def.valueType;
800
1011
  });
801
1012
  function record(keyType, valueType, params) {
1013
+ // v3-compat: z.record(valueType, params?) — defaults keyType to z.string()
1014
+ if (!valueType || !valueType._zod) {
1015
+ return new exports.ZodRecord({
1016
+ type: "record",
1017
+ keyType: string(),
1018
+ valueType: keyType,
1019
+ ...index_js_1.util.normalizeParams(valueType),
1020
+ });
1021
+ }
802
1022
  return new exports.ZodRecord({
803
1023
  type: "record",
804
1024
  keyType,
@@ -983,10 +1203,12 @@ exports.ZodTransform = core.$constructor("ZodTransform", (inst, def) => {
983
1203
  if (output instanceof Promise) {
984
1204
  return output.then((output) => {
985
1205
  payload.value = output;
1206
+ payload.fallback = true;
986
1207
  return payload;
987
1208
  });
988
1209
  }
989
1210
  payload.value = output;
1211
+ payload.fallback = true;
990
1212
  return payload;
991
1213
  };
992
1214
  });
@@ -1142,6 +1364,20 @@ function codec(in_, out, params) {
1142
1364
  reverseTransform: params.encode,
1143
1365
  });
1144
1366
  }
1367
+ function invertCodec(codec) {
1368
+ const def = codec._zod.def;
1369
+ return new exports.ZodCodec({
1370
+ type: "pipe",
1371
+ in: def.out,
1372
+ out: def.in,
1373
+ transform: def.reverseTransform,
1374
+ reverseTransform: def.transform,
1375
+ });
1376
+ }
1377
+ exports.ZodPreprocess = core.$constructor("ZodPreprocess", (inst, def) => {
1378
+ exports.ZodPipe.init(inst, def);
1379
+ core.$ZodPreprocess.init(inst, def);
1380
+ });
1145
1381
  exports.ZodReadonly = core.$constructor("ZodReadonly", (inst, def) => {
1146
1382
  core.$ZodReadonly.init(inst, def);
1147
1383
  exports.ZodType.init(inst, def);
@@ -1223,8 +1459,8 @@ function refine(fn, _params = {}) {
1223
1459
  return core._refine(exports.ZodCustom, fn, _params);
1224
1460
  }
1225
1461
  // superRefine
1226
- function superRefine(fn) {
1227
- return core._superRefine(fn);
1462
+ function superRefine(fn, params) {
1463
+ return core._superRefine(fn, params);
1228
1464
  }
1229
1465
  // Re-export describe and meta from core
1230
1466
  exports.describe = core.describe;
@@ -1266,7 +1502,10 @@ function json(params) {
1266
1502
  return jsonSchema;
1267
1503
  }
1268
1504
  // preprocess
1269
- // /** @deprecated Use `z.pipe()` and `z.transform()` instead. */
1270
1505
  function preprocess(fn, schema) {
1271
- return pipe(transform(fn), schema);
1506
+ return new exports.ZodPreprocess({
1507
+ type: "pipe",
1508
+ in: transform(fn),
1509
+ out: schema,
1510
+ });
1272
1511
  }