@skillcap/gdh 3.2.1 → 3.2.2

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 (629) hide show
  1. package/INSTALL-BUNDLE.json +1 -1
  2. package/RELEASE-SPAN-UPDATE-CONTRACTS.json +70 -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 +8 -46
  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 +8 -7
  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/migrate.d.ts +1 -1
  118. package/node_modules/@gdh/cli/dist/migrate.d.ts.map +1 -1
  119. package/node_modules/@gdh/cli/dist/migrate.js +23 -30
  120. package/node_modules/@gdh/cli/dist/migrate.js.map +1 -1
  121. package/node_modules/@gdh/cli/dist/self-update.d.ts.map +1 -1
  122. package/node_modules/@gdh/cli/dist/self-update.js +13 -20
  123. package/node_modules/@gdh/cli/dist/self-update.js.map +1 -1
  124. package/node_modules/@gdh/cli/dist/setup.d.ts.map +1 -1
  125. package/node_modules/@gdh/cli/dist/setup.js.map +1 -1
  126. package/node_modules/@gdh/cli/dist/status-command.d.ts +3 -0
  127. package/node_modules/@gdh/cli/dist/status-command.d.ts.map +1 -0
  128. package/node_modules/@gdh/cli/dist/status-command.js +44 -0
  129. package/node_modules/@gdh/cli/dist/status-command.js.map +1 -0
  130. package/node_modules/@gdh/cli/dist/update-banner.d.ts.map +1 -1
  131. package/node_modules/@gdh/cli/dist/update-banner.js +1 -1
  132. package/node_modules/@gdh/cli/dist/update-banner.js.map +1 -1
  133. package/node_modules/@gdh/cli/package.json +11 -11
  134. package/node_modules/@gdh/core/dist/dev-mode.d.ts.map +1 -1
  135. package/node_modules/@gdh/core/dist/dev-mode.js.map +1 -1
  136. package/node_modules/@gdh/core/dist/editor-operation-runner.d.ts +3 -0
  137. package/node_modules/@gdh/core/dist/editor-operation-runner.d.ts.map +1 -0
  138. package/node_modules/@gdh/core/dist/editor-operation-runner.js +682 -0
  139. package/node_modules/@gdh/core/dist/editor-operation-runner.js.map +1 -0
  140. package/node_modules/@gdh/core/dist/git-root.d.ts.map +1 -1
  141. package/node_modules/@gdh/core/dist/git-root.js +4 -1
  142. package/node_modules/@gdh/core/dist/git-root.js.map +1 -1
  143. package/node_modules/@gdh/core/dist/godot-docs-version.d.ts.map +1 -1
  144. package/node_modules/@gdh/core/dist/godot-docs-version.js.map +1 -1
  145. package/node_modules/@gdh/core/dist/godot-stderr-fatality.d.ts.map +1 -1
  146. package/node_modules/@gdh/core/dist/godot-stderr-fatality.js +1 -2
  147. package/node_modules/@gdh/core/dist/godot-stderr-fatality.js.map +1 -1
  148. package/node_modules/@gdh/core/dist/index.d.ts +8 -5
  149. package/node_modules/@gdh/core/dist/index.d.ts.map +1 -1
  150. package/node_modules/@gdh/core/dist/index.js +14 -5
  151. package/node_modules/@gdh/core/dist/index.js.map +1 -1
  152. package/node_modules/@gdh/core/dist/managed-gitignore.d.ts.map +1 -1
  153. package/node_modules/@gdh/core/dist/managed-gitignore.js +4 -14
  154. package/node_modules/@gdh/core/dist/managed-gitignore.js.map +1 -1
  155. package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.d.ts.map +1 -1
  156. package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.js +2 -2
  157. package/node_modules/@gdh/core/dist/migrations/entries/s2c2_to_s2c3_rules_schema_v2_to_v3.js.map +1 -1
  158. package/node_modules/@gdh/core/dist/migrations/entries/s3c21_to_s3c22_canonical_hook_paths.d.ts.map +1 -1
  159. package/node_modules/@gdh/core/dist/migrations/entries/s3c21_to_s3c22_canonical_hook_paths.js +6 -14
  160. package/node_modules/@gdh/core/dist/migrations/entries/s3c21_to_s3c22_canonical_hook_paths.js.map +1 -1
  161. package/node_modules/@gdh/core/dist/migrations/entries/s3c8_to_s3c9_register_runtime_bridge_autoload.d.ts.map +1 -1
  162. package/node_modules/@gdh/core/dist/migrations/entries/s3c8_to_s3c9_register_runtime_bridge_autoload.js +7 -23
  163. package/node_modules/@gdh/core/dist/migrations/entries/s3c8_to_s3c9_register_runtime_bridge_autoload.js.map +1 -1
  164. package/node_modules/@gdh/core/dist/migrations/envelopes/envelope-output-validator.d.ts.map +1 -1
  165. package/node_modules/@gdh/core/dist/migrations/envelopes/envelope-output-validator.js.map +1 -1
  166. package/node_modules/@gdh/core/dist/migrations/envelopes/index.d.ts.map +1 -1
  167. package/node_modules/@gdh/core/dist/migrations/envelopes/index.js +1 -2
  168. package/node_modules/@gdh/core/dist/migrations/envelopes/index.js.map +1 -1
  169. package/node_modules/@gdh/core/dist/migrations/envelopes/types.d.ts.map +1 -1
  170. package/node_modules/@gdh/core/dist/migrations/golden-harness.d.ts.map +1 -1
  171. package/node_modules/@gdh/core/dist/migrations/golden-harness.js.map +1 -1
  172. package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.d.ts.map +1 -1
  173. package/node_modules/@gdh/core/dist/migrations/managed-surface-classes.js.map +1 -1
  174. package/node_modules/@gdh/core/dist/migrations/managed-target-surface-inventory.d.ts.map +1 -1
  175. package/node_modules/@gdh/core/dist/migrations/managed-target-surface-inventory.js.map +1 -1
  176. package/node_modules/@gdh/core/dist/migrations/probes.d.ts.map +1 -1
  177. package/node_modules/@gdh/core/dist/migrations/probes.js.map +1 -1
  178. package/node_modules/@gdh/core/dist/migrations/registry.d.ts +1 -1
  179. package/node_modules/@gdh/core/dist/migrations/registry.d.ts.map +1 -1
  180. package/node_modules/@gdh/core/dist/migrations/registry.js +3 -6
  181. package/node_modules/@gdh/core/dist/migrations/registry.js.map +1 -1
  182. package/node_modules/@gdh/core/dist/official-docs.d.ts.map +1 -1
  183. package/node_modules/@gdh/core/dist/release-span-preview.d.ts.map +1 -1
  184. package/node_modules/@gdh/core/dist/release-span-preview.js +1 -1
  185. package/node_modules/@gdh/core/dist/release-span-preview.js.map +1 -1
  186. package/node_modules/@gdh/core/dist/release-span-update-contract.d.ts.map +1 -1
  187. package/node_modules/@gdh/core/dist/release-span-update-contract.js +5 -10
  188. package/node_modules/@gdh/core/dist/release-span-update-contract.js.map +1 -1
  189. package/node_modules/@gdh/core/dist/state/codex-retrust-reminder.d.ts.map +1 -1
  190. package/node_modules/@gdh/core/dist/state/codex-retrust-reminder.js.map +1 -1
  191. package/node_modules/@gdh/core/dist/state/migration-state.d.ts.map +1 -1
  192. package/node_modules/@gdh/core/dist/state/migration-state.js +3 -8
  193. package/node_modules/@gdh/core/dist/state/migration-state.js.map +1 -1
  194. package/node_modules/@gdh/core/dist/state/migration-trace.d.ts.map +1 -1
  195. package/node_modules/@gdh/core/dist/state/migration-trace.js +3 -8
  196. package/node_modules/@gdh/core/dist/state/migration-trace.js.map +1 -1
  197. package/node_modules/@gdh/core/dist/state/render-inventory.d.ts.map +1 -1
  198. package/node_modules/@gdh/core/dist/state/render-inventory.js.map +1 -1
  199. package/node_modules/@gdh/core/dist/update-cache.d.ts.map +1 -1
  200. package/node_modules/@gdh/core/dist/update-cache.js.map +1 -1
  201. package/node_modules/@gdh/core/dist/update-probe.d.ts.map +1 -1
  202. package/node_modules/@gdh/core/dist/update-probe.js +1 -3
  203. package/node_modules/@gdh/core/dist/update-probe.js.map +1 -1
  204. package/node_modules/@gdh/core/package.json +1 -1
  205. package/node_modules/@gdh/docs/dist/agent-contract.d.ts.map +1 -1
  206. package/node_modules/@gdh/docs/dist/agent-contract.js +2 -4
  207. package/node_modules/@gdh/docs/dist/agent-contract.js.map +1 -1
  208. package/node_modules/@gdh/docs/dist/files.d.ts +1 -1
  209. package/node_modules/@gdh/docs/dist/files.d.ts.map +1 -1
  210. package/node_modules/@gdh/docs/dist/guidance.js +1 -1
  211. package/node_modules/@gdh/docs/dist/guidance.js.map +1 -1
  212. package/node_modules/@gdh/docs/dist/index.d.ts +4 -4
  213. package/node_modules/@gdh/docs/dist/index.d.ts.map +1 -1
  214. package/node_modules/@gdh/docs/dist/index.js +3 -3
  215. package/node_modules/@gdh/docs/dist/index.js.map +1 -1
  216. package/node_modules/@gdh/docs/dist/official-docs.d.ts.map +1 -1
  217. package/node_modules/@gdh/docs/dist/official-docs.js +16 -5
  218. package/node_modules/@gdh/docs/dist/official-docs.js.map +1 -1
  219. package/node_modules/@gdh/docs/dist/query.d.ts.map +1 -1
  220. package/node_modules/@gdh/docs/dist/query.js +8 -3
  221. package/node_modules/@gdh/docs/dist/query.js.map +1 -1
  222. package/node_modules/@gdh/docs/dist/recovery-hints.d.ts.map +1 -1
  223. package/node_modules/@gdh/docs/dist/recovery-hints.js +0 -1
  224. package/node_modules/@gdh/docs/dist/recovery-hints.js.map +1 -1
  225. package/node_modules/@gdh/docs/dist/template-assets.js.map +1 -1
  226. package/node_modules/@gdh/docs/package.json +2 -2
  227. package/node_modules/@gdh/editor/dist/index.d.ts +1 -3
  228. package/node_modules/@gdh/editor/dist/index.d.ts.map +1 -1
  229. package/node_modules/@gdh/editor/dist/index.js +9 -682
  230. package/node_modules/@gdh/editor/dist/index.js.map +1 -1
  231. package/node_modules/@gdh/editor/package.json +2 -2
  232. package/node_modules/@gdh/mcp/dist/bridge-tools.d.ts +8 -1
  233. package/node_modules/@gdh/mcp/dist/bridge-tools.d.ts.map +1 -1
  234. package/node_modules/@gdh/mcp/dist/bridge-tools.js +81 -2
  235. package/node_modules/@gdh/mcp/dist/bridge-tools.js.map +1 -1
  236. package/node_modules/@gdh/mcp/dist/index.d.ts.map +1 -1
  237. package/node_modules/@gdh/mcp/dist/index.js +10 -77
  238. package/node_modules/@gdh/mcp/dist/index.js.map +1 -1
  239. package/node_modules/@gdh/mcp/package.json +8 -10
  240. package/node_modules/@gdh/observability/dist/guidance-audit.d.ts.map +1 -1
  241. package/node_modules/@gdh/observability/dist/guidance-audit.js +11 -21
  242. package/node_modules/@gdh/observability/dist/guidance-audit.js.map +1 -1
  243. package/node_modules/@gdh/observability/dist/index.d.ts +2 -2
  244. package/node_modules/@gdh/observability/dist/index.d.ts.map +1 -1
  245. package/node_modules/@gdh/observability/dist/index.js +1 -1
  246. package/node_modules/@gdh/observability/dist/index.js.map +1 -1
  247. package/node_modules/@gdh/observability/dist/runtime-bundles.d.ts.map +1 -1
  248. package/node_modules/@gdh/observability/dist/runtime-bundles.js +3 -10
  249. package/node_modules/@gdh/observability/dist/runtime-bundles.js.map +1 -1
  250. package/node_modules/@gdh/observability/dist/runtime-corpus.d.ts.map +1 -1
  251. package/node_modules/@gdh/observability/dist/runtime-corpus.js +1 -1
  252. package/node_modules/@gdh/observability/dist/runtime-corpus.js.map +1 -1
  253. package/node_modules/@gdh/observability/package.json +3 -2
  254. package/node_modules/@gdh/runtime/dist/bridge-broker-client.d.ts +1 -1
  255. package/node_modules/@gdh/runtime/dist/bridge-broker-client.d.ts.map +1 -1
  256. package/node_modules/@gdh/runtime/dist/bridge-broker-client.js +0 -1
  257. package/node_modules/@gdh/runtime/dist/bridge-broker-client.js.map +1 -1
  258. package/node_modules/@gdh/runtime/dist/bridge-broker.d.ts +1 -1
  259. package/node_modules/@gdh/runtime/dist/bridge-broker.d.ts.map +1 -1
  260. package/node_modules/@gdh/runtime/dist/bridge-broker.js +9 -5
  261. package/node_modules/@gdh/runtime/dist/bridge-broker.js.map +1 -1
  262. package/node_modules/@gdh/runtime/dist/bridge-surface.d.ts +1 -1
  263. package/node_modules/@gdh/runtime/dist/bridge-surface.d.ts.map +1 -1
  264. package/node_modules/@gdh/runtime/dist/bridge-surface.js +2 -2
  265. package/node_modules/@gdh/runtime/dist/bridge-surface.js.map +1 -1
  266. package/node_modules/@gdh/runtime/dist/docker-provider.d.ts +1 -1
  267. package/node_modules/@gdh/runtime/dist/docker-provider.d.ts.map +1 -1
  268. package/node_modules/@gdh/runtime/dist/docker-provider.js +5 -16
  269. package/node_modules/@gdh/runtime/dist/docker-provider.js.map +1 -1
  270. package/node_modules/@gdh/runtime/dist/index.js +2 -1
  271. package/node_modules/@gdh/runtime/dist/index.js.map +1 -1
  272. package/node_modules/@gdh/runtime/dist/knowledge-surface.d.ts.map +1 -1
  273. package/node_modules/@gdh/runtime/dist/knowledge-surface.js +21 -10
  274. package/node_modules/@gdh/runtime/dist/knowledge-surface.js.map +1 -1
  275. package/node_modules/@gdh/runtime/package.json +2 -3
  276. package/node_modules/@gdh/scan/dist/detect-existing-onboarding.d.ts.map +1 -1
  277. package/node_modules/@gdh/scan/dist/detect-existing-onboarding.js +1 -5
  278. package/node_modules/@gdh/scan/dist/detect-existing-onboarding.js.map +1 -1
  279. package/node_modules/@gdh/scan/dist/index.d.ts +3 -3
  280. package/node_modules/@gdh/scan/dist/index.d.ts.map +1 -1
  281. package/node_modules/@gdh/scan/dist/index.js +3 -3
  282. package/node_modules/@gdh/scan/dist/index.js.map +1 -1
  283. package/node_modules/@gdh/scan/dist/inventory-cache.js +1 -1
  284. package/node_modules/@gdh/scan/dist/inventory-cache.js.map +1 -1
  285. package/node_modules/@gdh/scan/dist/onboard.d.ts +1 -2
  286. package/node_modules/@gdh/scan/dist/onboard.d.ts.map +1 -1
  287. package/node_modules/@gdh/scan/dist/onboard.js +4 -5
  288. package/node_modules/@gdh/scan/dist/onboard.js.map +1 -1
  289. package/node_modules/@gdh/scan/dist/scan.d.ts.map +1 -1
  290. package/node_modules/@gdh/scan/dist/scan.js +4 -2
  291. package/node_modules/@gdh/scan/dist/scan.js.map +1 -1
  292. package/node_modules/@gdh/scan/package.json +3 -3
  293. package/node_modules/@gdh/verify/dist/corpus.d.ts.map +1 -1
  294. package/node_modules/@gdh/verify/dist/corpus.js +7 -6
  295. package/node_modules/@gdh/verify/dist/corpus.js.map +1 -1
  296. package/node_modules/@gdh/verify/dist/index.d.ts.map +1 -1
  297. package/node_modules/@gdh/verify/dist/index.js +0 -1
  298. package/node_modules/@gdh/verify/dist/index.js.map +1 -1
  299. package/node_modules/@gdh/verify/dist/readiness.d.ts.map +1 -1
  300. package/node_modules/@gdh/verify/dist/readiness.js.map +1 -1
  301. package/node_modules/@gdh/verify/dist/scenarios.d.ts +1 -1
  302. package/node_modules/@gdh/verify/dist/scenarios.d.ts.map +1 -1
  303. package/node_modules/@gdh/verify/dist/scenarios.js +14 -11
  304. package/node_modules/@gdh/verify/dist/scenarios.js.map +1 -1
  305. package/node_modules/@gdh/verify/package.json +6 -7
  306. package/node_modules/@hono/node-server/dist/index.js +22 -0
  307. package/node_modules/@hono/node-server/dist/index.mjs +22 -0
  308. package/node_modules/@hono/node-server/dist/listener.js +22 -0
  309. package/node_modules/@hono/node-server/dist/listener.mjs +22 -0
  310. package/node_modules/@hono/node-server/dist/request.js +11 -0
  311. package/node_modules/@hono/node-server/dist/request.mjs +11 -0
  312. package/node_modules/@hono/node-server/dist/response.js +11 -0
  313. package/node_modules/@hono/node-server/dist/response.mjs +11 -0
  314. package/node_modules/@hono/node-server/dist/server.js +22 -0
  315. package/node_modules/@hono/node-server/dist/server.mjs +22 -0
  316. package/node_modules/@hono/node-server/dist/utils.d.mts +2 -2
  317. package/node_modules/@hono/node-server/dist/utils.d.ts +2 -2
  318. package/node_modules/@hono/node-server/dist/vercel.js +22 -0
  319. package/node_modules/@hono/node-server/dist/vercel.mjs +22 -0
  320. package/node_modules/@hono/node-server/package.json +1 -1
  321. package/node_modules/ajv/README.md +1 -1
  322. package/node_modules/ajv/dist/core.js +1 -1
  323. package/node_modules/ajv/dist/core.js.map +1 -1
  324. package/node_modules/ajv/lib/core.ts +1 -1
  325. package/node_modules/ajv/package.json +2 -3
  326. package/node_modules/eventsource-parser/LICENSE +1 -1
  327. package/node_modules/eventsource-parser/dist/index.cjs +104 -44
  328. package/node_modules/eventsource-parser/dist/index.cjs.map +1 -1
  329. package/node_modules/eventsource-parser/dist/index.d.cts +23 -21
  330. package/node_modules/eventsource-parser/dist/index.d.ts +23 -21
  331. package/node_modules/eventsource-parser/dist/index.js +104 -44
  332. package/node_modules/eventsource-parser/dist/index.js.map +1 -1
  333. package/node_modules/eventsource-parser/dist/stream.d.cts +22 -19
  334. package/node_modules/eventsource-parser/dist/stream.d.ts +22 -19
  335. package/node_modules/eventsource-parser/package.json +54 -77
  336. package/node_modules/eventsource-parser/src/parse.ts +270 -107
  337. package/node_modules/express-rate-limit/dist/index.cjs +51 -10
  338. package/node_modules/express-rate-limit/dist/index.d.cts +31 -1
  339. package/node_modules/express-rate-limit/dist/index.d.mts +31 -1
  340. package/node_modules/express-rate-limit/dist/index.d.ts +31 -1
  341. package/node_modules/express-rate-limit/dist/index.mjs +51 -10
  342. package/node_modules/express-rate-limit/package.json +3 -2
  343. package/node_modules/express-rate-limit/readme.md +3 -0
  344. package/node_modules/fast-string-truncated-width/dist/index.js +36 -96
  345. package/node_modules/fast-string-truncated-width/dist/types.d.ts +0 -3
  346. package/node_modules/fast-string-truncated-width/dist/utils.d.ts +3 -3
  347. package/node_modules/fast-string-truncated-width/dist/utils.js +14 -9
  348. package/node_modules/fast-string-truncated-width/package.json +1 -1
  349. package/node_modules/fast-string-truncated-width/readme.md +2 -3
  350. package/node_modules/fast-string-width/package.json +2 -2
  351. package/node_modules/fast-string-width/readme.md +0 -3
  352. package/node_modules/fast-uri/.github/workflows/ci.yml +12 -7
  353. package/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
  354. package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +1 -1
  355. package/node_modules/fast-uri/LICENSE +1 -3
  356. package/node_modules/fast-uri/README.md +13 -4
  357. package/node_modules/fast-uri/index.js +90 -24
  358. package/node_modules/fast-uri/lib/utils.js +129 -22
  359. package/node_modules/fast-uri/package.json +3 -4
  360. package/node_modules/fast-wrap-ansi/lib/main.js +4 -1
  361. package/node_modules/fast-wrap-ansi/lib/main.js.map +1 -1
  362. package/node_modules/fast-wrap-ansi/package.json +2 -2
  363. package/node_modules/get-intrinsic/CHANGELOG.md +0 -7
  364. package/node_modules/get-intrinsic/index.js +13 -8
  365. package/node_modules/get-intrinsic/package.json +4 -7
  366. package/node_modules/hasown/CHANGELOG.md +11 -0
  367. package/node_modules/hasown/eslint.config.mjs +6 -0
  368. package/node_modules/hasown/index.d.ts +1 -0
  369. package/node_modules/hasown/package.json +14 -14
  370. package/node_modules/hono/dist/adapter/aws-lambda/handler.js +9 -2
  371. package/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +9 -2
  372. package/node_modules/hono/dist/cjs/helper/ssg/ssg.js +2 -0
  373. package/node_modules/hono/dist/cjs/jsx/base.js +7 -1
  374. package/node_modules/hono/dist/cjs/jsx/dom/render.js +22 -9
  375. package/node_modules/hono/dist/cjs/jsx/jsx-runtime.js +3 -0
  376. package/node_modules/hono/dist/cjs/jsx/utils.js +155 -5
  377. package/node_modules/hono/dist/cjs/middleware/body-limit/index.js +21 -30
  378. package/node_modules/hono/dist/cjs/middleware/cache/index.js +11 -3
  379. package/node_modules/hono/dist/cjs/middleware/cors/index.js +2 -5
  380. package/node_modules/hono/dist/cjs/middleware/method-override/index.js +1 -1
  381. package/node_modules/hono/dist/cjs/middleware/trailing-slash/index.js +2 -2
  382. package/node_modules/hono/dist/cjs/utils/jwt/jws.js +1 -1
  383. package/node_modules/hono/dist/cjs/utils/jwt/jwt.js +12 -6
  384. package/node_modules/hono/dist/helper/ssg/ssg.js +2 -0
  385. package/node_modules/hono/dist/jsx/base.js +13 -2
  386. package/node_modules/hono/dist/jsx/dom/render.js +22 -9
  387. package/node_modules/hono/dist/jsx/jsx-runtime.js +4 -1
  388. package/node_modules/hono/dist/jsx/utils.js +153 -5
  389. package/node_modules/hono/dist/middleware/body-limit/index.js +21 -30
  390. package/node_modules/hono/dist/middleware/cache/index.js +11 -3
  391. package/node_modules/hono/dist/middleware/cors/index.js +2 -5
  392. package/node_modules/hono/dist/middleware/method-override/index.js +1 -1
  393. package/node_modules/hono/dist/middleware/trailing-slash/index.js +2 -2
  394. package/node_modules/hono/dist/tsconfig.build.tsbuildinfo +1 -1
  395. package/node_modules/hono/dist/types/jsx/utils.d.ts +3 -1
  396. package/node_modules/hono/dist/types/middleware/cache/index.d.ts +2 -0
  397. package/node_modules/hono/dist/types/middleware/cors/index.d.ts +1 -1
  398. package/node_modules/hono/dist/types/middleware/trailing-slash/index.d.ts +16 -0
  399. package/node_modules/hono/dist/types/types.d.ts +116 -116
  400. package/node_modules/hono/dist/utils/jwt/jws.js +1 -1
  401. package/node_modules/hono/dist/utils/jwt/jwt.js +12 -6
  402. package/node_modules/hono/package.json +1 -1
  403. package/node_modules/ip-address/README.md +249 -76
  404. package/node_modules/ip-address/dist/address-error.d.ts +0 -1
  405. package/node_modules/ip-address/dist/address-error.js.map +1 -1
  406. package/node_modules/ip-address/dist/common.d.ts +6 -1
  407. package/node_modules/ip-address/dist/common.js +21 -0
  408. package/node_modules/ip-address/dist/common.js.map +1 -1
  409. package/node_modules/ip-address/dist/ip-address.d.ts +0 -1
  410. package/node_modules/ip-address/dist/ip-address.js.map +1 -1
  411. package/node_modules/ip-address/dist/ipv4.d.ts +115 -57
  412. package/node_modules/ip-address/dist/ipv4.js +193 -68
  413. package/node_modules/ip-address/dist/ipv4.js.map +1 -1
  414. package/node_modules/ip-address/dist/ipv6.d.ts +172 -111
  415. package/node_modules/ip-address/dist/ipv6.js +345 -131
  416. package/node_modules/ip-address/dist/ipv6.js.map +1 -1
  417. package/node_modules/ip-address/dist/v4/constants.d.ts +0 -1
  418. package/node_modules/ip-address/dist/v4/constants.js.map +1 -1
  419. package/node_modules/ip-address/dist/v6/constants.d.ts +0 -1
  420. package/node_modules/ip-address/dist/v6/constants.js +5 -0
  421. package/node_modules/ip-address/dist/v6/constants.js.map +1 -1
  422. package/node_modules/ip-address/dist/v6/helpers.d.ts +1 -1
  423. package/node_modules/ip-address/dist/v6/helpers.js +12 -3
  424. package/node_modules/ip-address/dist/v6/helpers.js.map +1 -1
  425. package/node_modules/ip-address/dist/v6/regular-expressions.d.ts +0 -1
  426. package/node_modules/ip-address/dist/v6/regular-expressions.js.map +1 -1
  427. package/node_modules/ip-address/package.json +45 -35
  428. package/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
  429. package/node_modules/jose/dist/webapi/lib/pbes2kw.js +3 -0
  430. package/node_modules/jose/package.json +1 -1
  431. package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +5 -3
  432. package/node_modules/yaml/browser/dist/nodes/Alias.js +2 -0
  433. package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +11 -8
  434. package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +2 -1
  435. package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +5 -3
  436. package/node_modules/yaml/dist/nodes/Alias.js +2 -0
  437. package/node_modules/yaml/dist/nodes/Scalar.d.ts +5 -1
  438. package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +10 -7
  439. package/node_modules/yaml/dist/stringify/stringifyNumber.js +2 -1
  440. package/node_modules/yaml/package.json +1 -1
  441. package/node_modules/zod/README.md +1 -18
  442. package/node_modules/zod/locales/package.json +2 -1
  443. package/node_modules/zod/mini/package.json +2 -1
  444. package/node_modules/zod/package.json +1 -1
  445. package/node_modules/zod/src/v4/classic/errors.ts +2 -2
  446. package/node_modules/zod/src/v4/classic/external.ts +1 -0
  447. package/node_modules/zod/src/v4/classic/from-json-schema.ts +39 -23
  448. package/node_modules/zod/src/v4/classic/parse.ts +6 -6
  449. package/node_modules/zod/src/v4/classic/schemas.ts +414 -151
  450. package/node_modules/zod/src/v4/core/api.ts +31 -6
  451. package/node_modules/zod/src/v4/core/checks.ts +1 -1
  452. package/node_modules/zod/src/v4/core/core.ts +17 -2
  453. package/node_modules/zod/src/v4/core/errors.ts +31 -24
  454. package/node_modules/zod/src/v4/core/json-schema-processors.ts +17 -18
  455. package/node_modules/zod/src/v4/core/parse.ts +7 -7
  456. package/node_modules/zod/src/v4/core/regexes.ts +8 -1
  457. package/node_modules/zod/src/v4/core/schemas.ts +263 -71
  458. package/node_modules/zod/src/v4/core/to-json-schema.ts +10 -1
  459. package/node_modules/zod/src/v4/core/util.ts +52 -35
  460. package/node_modules/zod/src/v4/core/versions.ts +2 -2
  461. package/node_modules/zod/src/v4/locales/el.ts +121 -0
  462. package/node_modules/zod/src/v4/locales/en.ts +4 -0
  463. package/node_modules/zod/src/v4/locales/fr.ts +24 -8
  464. package/node_modules/zod/src/v4/locales/hr.ts +131 -0
  465. package/node_modules/zod/src/v4/locales/index.ts +3 -0
  466. package/node_modules/zod/src/v4/locales/it.ts +1 -1
  467. package/node_modules/zod/src/v4/locales/ka.ts +8 -8
  468. package/node_modules/zod/src/v4/locales/ro.ts +129 -0
  469. package/node_modules/zod/src/v4/locales/uz.ts +1 -0
  470. package/node_modules/zod/src/v4/mini/external.ts +1 -0
  471. package/node_modules/zod/src/v4/mini/schemas.ts +56 -25
  472. package/node_modules/zod/v3/package.json +2 -1
  473. package/node_modules/zod/v4/classic/errors.js +2 -2
  474. package/node_modules/zod/v4/classic/external.d.cts +1 -0
  475. package/node_modules/zod/v4/classic/external.d.ts +1 -0
  476. package/node_modules/zod/v4/classic/from-json-schema.cjs +31 -16
  477. package/node_modules/zod/v4/classic/from-json-schema.js +31 -16
  478. package/node_modules/zod/v4/classic/package.json +2 -1
  479. package/node_modules/zod/v4/classic/schemas.cjs +358 -119
  480. package/node_modules/zod/v4/classic/schemas.d.cts +42 -14
  481. package/node_modules/zod/v4/classic/schemas.d.ts +42 -14
  482. package/node_modules/zod/v4/classic/schemas.js +356 -118
  483. package/node_modules/zod/v4/core/api.cjs +7 -2
  484. package/node_modules/zod/v4/core/api.d.cts +26 -5
  485. package/node_modules/zod/v4/core/api.d.ts +26 -5
  486. package/node_modules/zod/v4/core/api.js +7 -2
  487. package/node_modules/zod/v4/core/checks.d.cts +1 -1
  488. package/node_modules/zod/v4/core/checks.d.ts +1 -1
  489. package/node_modules/zod/v4/core/core.cjs +3 -1
  490. package/node_modules/zod/v4/core/core.js +4 -2
  491. package/node_modules/zod/v4/core/errors.cjs +26 -23
  492. package/node_modules/zod/v4/core/errors.d.cts +1 -0
  493. package/node_modules/zod/v4/core/errors.d.ts +1 -0
  494. package/node_modules/zod/v4/core/errors.js +26 -23
  495. package/node_modules/zod/v4/core/json-schema-processors.cjs +16 -20
  496. package/node_modules/zod/v4/core/json-schema-processors.js +16 -20
  497. package/node_modules/zod/v4/core/package.json +2 -1
  498. package/node_modules/zod/v4/core/parse.cjs +7 -7
  499. package/node_modules/zod/v4/core/parse.js +7 -7
  500. package/node_modules/zod/v4/core/regexes.cjs +9 -3
  501. package/node_modules/zod/v4/core/regexes.d.cts +6 -0
  502. package/node_modules/zod/v4/core/regexes.d.ts +6 -0
  503. package/node_modules/zod/v4/core/regexes.js +7 -1
  504. package/node_modules/zod/v4/core/schemas.cjs +211 -65
  505. package/node_modules/zod/v4/core/schemas.d.cts +39 -1
  506. package/node_modules/zod/v4/core/schemas.d.ts +39 -1
  507. package/node_modules/zod/v4/core/schemas.js +210 -64
  508. package/node_modules/zod/v4/core/to-json-schema.cjs +12 -1
  509. package/node_modules/zod/v4/core/to-json-schema.js +12 -1
  510. package/node_modules/zod/v4/core/util.cjs +54 -30
  511. package/node_modules/zod/v4/core/util.d.cts +1 -0
  512. package/node_modules/zod/v4/core/util.d.ts +1 -0
  513. package/node_modules/zod/v4/core/util.js +55 -32
  514. package/node_modules/zod/v4/core/versions.cjs +2 -2
  515. package/node_modules/zod/v4/core/versions.d.cts +1 -1
  516. package/node_modules/zod/v4/core/versions.d.ts +1 -1
  517. package/node_modules/zod/v4/core/versions.js +2 -2
  518. package/node_modules/zod/v4/locales/el.cjs +136 -0
  519. package/node_modules/zod/v4/locales/el.d.cts +5 -0
  520. package/node_modules/zod/v4/locales/el.d.ts +4 -0
  521. package/node_modules/zod/v4/locales/el.js +109 -0
  522. package/node_modules/zod/v4/locales/en.cjs +4 -0
  523. package/node_modules/zod/v4/locales/en.js +4 -0
  524. package/node_modules/zod/v4/locales/fr.cjs +24 -7
  525. package/node_modules/zod/v4/locales/fr.js +24 -7
  526. package/node_modules/zod/v4/locales/hr.cjs +149 -0
  527. package/node_modules/zod/v4/locales/hr.d.cts +5 -0
  528. package/node_modules/zod/v4/locales/hr.d.ts +4 -0
  529. package/node_modules/zod/v4/locales/hr.js +122 -0
  530. package/node_modules/zod/v4/locales/index.cjs +8 -1
  531. package/node_modules/zod/v4/locales/index.d.cts +3 -0
  532. package/node_modules/zod/v4/locales/index.d.ts +3 -0
  533. package/node_modules/zod/v4/locales/index.js +3 -0
  534. package/node_modules/zod/v4/locales/it.cjs +1 -1
  535. package/node_modules/zod/v4/locales/it.js +1 -1
  536. package/node_modules/zod/v4/locales/ka.cjs +8 -8
  537. package/node_modules/zod/v4/locales/ka.js +8 -8
  538. package/node_modules/zod/v4/locales/package.json +2 -1
  539. package/node_modules/zod/v4/locales/ro.cjs +146 -0
  540. package/node_modules/zod/v4/locales/ro.d.cts +5 -0
  541. package/node_modules/zod/v4/locales/ro.d.ts +4 -0
  542. package/node_modules/zod/v4/locales/ro.js +119 -0
  543. package/node_modules/zod/v4/locales/uz.cjs +1 -0
  544. package/node_modules/zod/v4/locales/uz.js +1 -0
  545. package/node_modules/zod/v4/mini/external.d.cts +1 -0
  546. package/node_modules/zod/v4/mini/external.d.ts +1 -0
  547. package/node_modules/zod/v4/mini/package.json +2 -1
  548. package/node_modules/zod/v4/mini/schemas.cjs +41 -4
  549. package/node_modules/zod/v4/mini/schemas.d.cts +28 -10
  550. package/node_modules/zod/v4/mini/schemas.d.ts +28 -10
  551. package/node_modules/zod/v4/mini/schemas.js +40 -4
  552. package/node_modules/zod/v4/package.json +2 -1
  553. package/node_modules/zod/v4-mini/package.json +2 -1
  554. package/package.json +12 -12
  555. package/node_modules/async-function/.eslintrc +0 -16
  556. package/node_modules/async-function/.github/FUNDING.yml +0 -12
  557. package/node_modules/async-function/.nycrc +0 -9
  558. package/node_modules/async-function/CHANGELOG.md +0 -16
  559. package/node_modules/async-function/LICENSE +0 -21
  560. package/node_modules/async-function/README.md +0 -51
  561. package/node_modules/async-function/index.d.mts +0 -3
  562. package/node_modules/async-function/index.d.ts +0 -13
  563. package/node_modules/async-function/index.js +0 -8
  564. package/node_modules/async-function/index.mjs +0 -4
  565. package/node_modules/async-function/legacy.js +0 -18
  566. package/node_modules/async-function/package.json +0 -86
  567. package/node_modules/async-function/require.mjs +0 -5
  568. package/node_modules/async-function/tsconfig.json +0 -9
  569. package/node_modules/async-generator-function/.eslintrc +0 -26
  570. package/node_modules/async-generator-function/.github/FUNDING.yml +0 -12
  571. package/node_modules/async-generator-function/.nycrc +0 -9
  572. package/node_modules/async-generator-function/CHANGELOG.md +0 -15
  573. package/node_modules/async-generator-function/LICENSE +0 -21
  574. package/node_modules/async-generator-function/README.md +0 -52
  575. package/node_modules/async-generator-function/index.d.mts +0 -3
  576. package/node_modules/async-generator-function/index.d.ts +0 -22
  577. package/node_modules/async-generator-function/index.js +0 -8
  578. package/node_modules/async-generator-function/index.mjs +0 -4
  579. package/node_modules/async-generator-function/legacy.js +0 -18
  580. package/node_modules/async-generator-function/package.json +0 -87
  581. package/node_modules/async-generator-function/require.mjs +0 -5
  582. package/node_modules/async-generator-function/tsconfig.json +0 -9
  583. package/node_modules/fast-uri/.github/.stale.yml +0 -21
  584. package/node_modules/fast-uri/.github/tests_checker.yml +0 -8
  585. package/node_modules/generator-function/.eslintrc +0 -16
  586. package/node_modules/generator-function/.github/FUNDING.yml +0 -12
  587. package/node_modules/generator-function/.nycrc +0 -9
  588. package/node_modules/generator-function/CHANGELOG.md +0 -27
  589. package/node_modules/generator-function/LICENSE.md +0 -7
  590. package/node_modules/generator-function/README.md +0 -51
  591. package/node_modules/generator-function/index.d.mts +0 -3
  592. package/node_modules/generator-function/index.d.ts +0 -3
  593. package/node_modules/generator-function/index.js +0 -8
  594. package/node_modules/generator-function/index.mjs +0 -4
  595. package/node_modules/generator-function/legacy.js +0 -18
  596. package/node_modules/generator-function/package.json +0 -88
  597. package/node_modules/generator-function/require.mjs +0 -5
  598. package/node_modules/generator-function/tsconfig.json +0 -9
  599. package/node_modules/hasown/.eslintrc +0 -5
  600. package/node_modules/ip-address/dist/address-error.d.ts.map +0 -1
  601. package/node_modules/ip-address/dist/common.d.ts.map +0 -1
  602. package/node_modules/ip-address/dist/ip-address.d.ts.map +0 -1
  603. package/node_modules/ip-address/dist/ipv4.d.ts.map +0 -1
  604. package/node_modules/ip-address/dist/ipv6.d.ts.map +0 -1
  605. package/node_modules/ip-address/dist/v4/constants.d.ts.map +0 -1
  606. package/node_modules/ip-address/dist/v6/constants.d.ts.map +0 -1
  607. package/node_modules/ip-address/dist/v6/helpers.d.ts.map +0 -1
  608. package/node_modules/ip-address/dist/v6/regular-expressions.d.ts.map +0 -1
  609. package/node_modules/ip-address/src/address-error.ts +0 -11
  610. package/node_modules/ip-address/src/common.ts +0 -55
  611. package/node_modules/ip-address/src/ip-address.ts +0 -7
  612. package/node_modules/ip-address/src/ipv4.ts +0 -394
  613. package/node_modules/ip-address/src/ipv6.ts +0 -1212
  614. package/node_modules/ip-address/src/v4/constants.ts +0 -7
  615. package/node_modules/ip-address/src/v6/constants.ts +0 -79
  616. package/node_modules/ip-address/src/v6/helpers.ts +0 -48
  617. package/node_modules/ip-address/src/v6/regular-expressions.ts +0 -94
  618. /package/node_modules/{cross-spawn/node_modules/isexe → isexe}/.npmignore +0 -0
  619. /package/node_modules/{cross-spawn/node_modules/isexe → isexe}/LICENSE +0 -0
  620. /package/node_modules/{cross-spawn/node_modules/isexe → isexe}/README.md +0 -0
  621. /package/node_modules/{cross-spawn/node_modules/isexe → isexe}/index.js +0 -0
  622. /package/node_modules/{cross-spawn/node_modules/isexe → isexe}/mode.js +0 -0
  623. /package/node_modules/{cross-spawn/node_modules/isexe → isexe}/package.json +0 -0
  624. /package/node_modules/{cross-spawn/node_modules/isexe → isexe}/windows.js +0 -0
  625. /package/node_modules/{cross-spawn/node_modules/which → which}/LICENSE +0 -0
  626. /package/node_modules/{cross-spawn/node_modules/which → which}/README.md +0 -0
  627. /package/node_modules/{cross-spawn/node_modules/which → which}/bin/node-which +0 -0
  628. /package/node_modules/{cross-spawn/node_modules/which → which}/package.json +0 -0
  629. /package/node_modules/{cross-spawn/node_modules/which → which}/which.js +0 -0
@@ -5,6 +5,54 @@ import { createStandardJSONSchemaMethod, createToJSONSchemaMethod } from "../cor
5
5
  import * as checks from "./checks.js";
6
6
  import * as iso from "./iso.js";
7
7
  import * as parse from "./parse.js";
8
+ // Lazy-bind builder methods.
9
+ //
10
+ // Builder methods (`.optional`, `.array`, `.refine`, ...) live as
11
+ // non-enumerable getters on each concrete schema constructor's
12
+ // prototype. On first access from an instance the getter allocates
13
+ // `fn.bind(this)` and caches it as an own property on that instance,
14
+ // so detached usage (`const m = schema.optional; m()`) still works
15
+ // and the per-instance allocation only happens for methods actually
16
+ // touched.
17
+ //
18
+ // One install per (prototype, group), memoized by `_installedGroups`.
19
+ const _installedGroups = /* @__PURE__ */ new WeakMap();
20
+ function _installLazyMethods(inst, group, methods) {
21
+ const proto = Object.getPrototypeOf(inst);
22
+ let installed = _installedGroups.get(proto);
23
+ if (!installed) {
24
+ installed = new Set();
25
+ _installedGroups.set(proto, installed);
26
+ }
27
+ if (installed.has(group))
28
+ return;
29
+ installed.add(group);
30
+ for (const key in methods) {
31
+ const fn = methods[key];
32
+ Object.defineProperty(proto, key, {
33
+ configurable: true,
34
+ enumerable: false,
35
+ get() {
36
+ const bound = fn.bind(this);
37
+ Object.defineProperty(this, key, {
38
+ configurable: true,
39
+ writable: true,
40
+ enumerable: true,
41
+ value: bound,
42
+ });
43
+ return bound;
44
+ },
45
+ set(v) {
46
+ Object.defineProperty(this, key, {
47
+ configurable: true,
48
+ writable: true,
49
+ enumerable: true,
50
+ value: v,
51
+ });
52
+ },
53
+ });
54
+ }
55
+ }
8
56
  export const ZodType = /*@__PURE__*/ core.$constructor("ZodType", (inst, def) => {
9
57
  core.$ZodType.init(inst, def);
10
58
  Object.assign(inst["~standard"], {
@@ -17,31 +65,16 @@ export const ZodType = /*@__PURE__*/ core.$constructor("ZodType", (inst, def) =>
17
65
  inst.def = def;
18
66
  inst.type = def.type;
19
67
  Object.defineProperty(inst, "_def", { value: def });
20
- // base methods
21
- inst.check = (...checks) => {
22
- return inst.clone(util.mergeDefs(def, {
23
- checks: [
24
- ...(def.checks ?? []),
25
- ...checks.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch),
26
- ],
27
- }), {
28
- parent: true,
29
- });
30
- };
31
- inst.with = inst.check;
32
- inst.clone = (def, params) => core.clone(inst, def, params);
33
- inst.brand = () => inst;
34
- inst.register = ((reg, meta) => {
35
- reg.add(inst, meta);
36
- return inst;
37
- });
38
- // parsing
68
+ // Parse-family is intentionally kept as per-instance closures: these are
69
+ // the hot path AND the most-detached methods (`arr.map(schema.parse)`,
70
+ // `const { parse } = schema`, etc.). Eager closures here mean callers pay
71
+ // ~12 closure allocations per schema but get monomorphic call sites and
72
+ // detached usage that "just works".
39
73
  inst.parse = (data, params) => parse.parse(inst, data, params, { callee: inst.parse });
40
74
  inst.safeParse = (data, params) => parse.safeParse(inst, data, params);
41
75
  inst.parseAsync = async (data, params) => parse.parseAsync(inst, data, params, { callee: inst.parseAsync });
42
76
  inst.safeParseAsync = async (data, params) => parse.safeParseAsync(inst, data, params);
43
77
  inst.spa = inst.safeParseAsync;
44
- // encoding/decoding
45
78
  inst.encode = (data, params) => parse.encode(inst, data, params);
46
79
  inst.decode = (data, params) => parse.decode(inst, data, params);
47
80
  inst.encodeAsync = async (data, params) => parse.encodeAsync(inst, data, params);
@@ -50,50 +83,118 @@ export const ZodType = /*@__PURE__*/ core.$constructor("ZodType", (inst, def) =>
50
83
  inst.safeDecode = (data, params) => parse.safeDecode(inst, data, params);
51
84
  inst.safeEncodeAsync = async (data, params) => parse.safeEncodeAsync(inst, data, params);
52
85
  inst.safeDecodeAsync = async (data, params) => parse.safeDecodeAsync(inst, data, params);
53
- // refinements
54
- inst.refine = (check, params) => inst.check(refine(check, params));
55
- inst.superRefine = (refinement) => inst.check(superRefine(refinement));
56
- inst.overwrite = (fn) => inst.check(checks.overwrite(fn));
57
- // wrappers
58
- inst.optional = () => optional(inst);
59
- inst.exactOptional = () => exactOptional(inst);
60
- inst.nullable = () => nullable(inst);
61
- inst.nullish = () => optional(nullable(inst));
62
- inst.nonoptional = (params) => nonoptional(inst, params);
63
- inst.array = () => array(inst);
64
- inst.or = (arg) => union([inst, arg]);
65
- inst.and = (arg) => intersection(inst, arg);
66
- inst.transform = (tx) => pipe(inst, transform(tx));
67
- inst.default = (def) => _default(inst, def);
68
- inst.prefault = (def) => prefault(inst, def);
69
- // inst.coalesce = (def, params) => coalesce(inst, def, params);
70
- inst.catch = (params) => _catch(inst, params);
71
- inst.pipe = (target) => pipe(inst, target);
72
- inst.readonly = () => readonly(inst);
73
- // meta
74
- inst.describe = (description) => {
75
- const cl = inst.clone();
76
- core.globalRegistry.add(cl, { description });
77
- return cl;
78
- };
86
+ // All builder methods are placed on the internal prototype as lazy-bind
87
+ // getters. On first access per-instance, a bound thunk is allocated and
88
+ // cached as an own property; subsequent accesses skip the getter. This
89
+ // means: no per-instance allocation for unused methods, full
90
+ // detachability preserved (`const m = schema.optional; m()` works), and
91
+ // shared underlying function references across all instances.
92
+ _installLazyMethods(inst, "ZodType", {
93
+ check(...chks) {
94
+ const def = this.def;
95
+ return this.clone(util.mergeDefs(def, {
96
+ checks: [
97
+ ...(def.checks ?? []),
98
+ ...chks.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch),
99
+ ],
100
+ }), { parent: true });
101
+ },
102
+ with(...chks) {
103
+ return this.check(...chks);
104
+ },
105
+ clone(def, params) {
106
+ return core.clone(this, def, params);
107
+ },
108
+ brand() {
109
+ return this;
110
+ },
111
+ register(reg, meta) {
112
+ reg.add(this, meta);
113
+ return this;
114
+ },
115
+ refine(check, params) {
116
+ return this.check(refine(check, params));
117
+ },
118
+ superRefine(refinement, params) {
119
+ return this.check(superRefine(refinement, params));
120
+ },
121
+ overwrite(fn) {
122
+ return this.check(checks.overwrite(fn));
123
+ },
124
+ optional() {
125
+ return optional(this);
126
+ },
127
+ exactOptional() {
128
+ return exactOptional(this);
129
+ },
130
+ nullable() {
131
+ return nullable(this);
132
+ },
133
+ nullish() {
134
+ return optional(nullable(this));
135
+ },
136
+ nonoptional(params) {
137
+ return nonoptional(this, params);
138
+ },
139
+ array() {
140
+ return array(this);
141
+ },
142
+ or(arg) {
143
+ return union([this, arg]);
144
+ },
145
+ and(arg) {
146
+ return intersection(this, arg);
147
+ },
148
+ transform(tx) {
149
+ return pipe(this, transform(tx));
150
+ },
151
+ default(d) {
152
+ return _default(this, d);
153
+ },
154
+ prefault(d) {
155
+ return prefault(this, d);
156
+ },
157
+ catch(params) {
158
+ return _catch(this, params);
159
+ },
160
+ pipe(target) {
161
+ return pipe(this, target);
162
+ },
163
+ readonly() {
164
+ return readonly(this);
165
+ },
166
+ describe(description) {
167
+ const cl = this.clone();
168
+ core.globalRegistry.add(cl, { description });
169
+ return cl;
170
+ },
171
+ meta(...args) {
172
+ // overloaded: meta() returns the registered metadata, meta(data)
173
+ // returns a clone with `data` registered. The mapped type picks
174
+ // up the second overload, so we accept variadic any-args and
175
+ // return `any` to satisfy both at runtime.
176
+ if (args.length === 0)
177
+ return core.globalRegistry.get(this);
178
+ const cl = this.clone();
179
+ core.globalRegistry.add(cl, args[0]);
180
+ return cl;
181
+ },
182
+ isOptional() {
183
+ return this.safeParse(undefined).success;
184
+ },
185
+ isNullable() {
186
+ return this.safeParse(null).success;
187
+ },
188
+ apply(fn) {
189
+ return fn(this);
190
+ },
191
+ });
79
192
  Object.defineProperty(inst, "description", {
80
193
  get() {
81
194
  return core.globalRegistry.get(inst)?.description;
82
195
  },
83
196
  configurable: true,
84
197
  });
85
- inst.meta = (...args) => {
86
- if (args.length === 0) {
87
- return core.globalRegistry.get(inst);
88
- }
89
- const cl = inst.clone();
90
- core.globalRegistry.add(cl, args[0]);
91
- return cl;
92
- };
93
- // helpers
94
- inst.isOptional = () => inst.safeParse(undefined).success;
95
- inst.isNullable = () => inst.safeParse(null).success;
96
- inst.apply = (fn) => fn(inst);
97
198
  return inst;
98
199
  });
99
200
  /** @internal */
@@ -105,23 +206,53 @@ export const _ZodString = /*@__PURE__*/ core.$constructor("_ZodString", (inst, d
105
206
  inst.format = bag.format ?? null;
106
207
  inst.minLength = bag.minimum ?? null;
107
208
  inst.maxLength = bag.maximum ?? null;
108
- // validations
109
- inst.regex = (...args) => inst.check(checks.regex(...args));
110
- inst.includes = (...args) => inst.check(checks.includes(...args));
111
- inst.startsWith = (...args) => inst.check(checks.startsWith(...args));
112
- inst.endsWith = (...args) => inst.check(checks.endsWith(...args));
113
- inst.min = (...args) => inst.check(checks.minLength(...args));
114
- inst.max = (...args) => inst.check(checks.maxLength(...args));
115
- inst.length = (...args) => inst.check(checks.length(...args));
116
- inst.nonempty = (...args) => inst.check(checks.minLength(1, ...args));
117
- inst.lowercase = (params) => inst.check(checks.lowercase(params));
118
- inst.uppercase = (params) => inst.check(checks.uppercase(params));
119
- // transforms
120
- inst.trim = () => inst.check(checks.trim());
121
- inst.normalize = (...args) => inst.check(checks.normalize(...args));
122
- inst.toLowerCase = () => inst.check(checks.toLowerCase());
123
- inst.toUpperCase = () => inst.check(checks.toUpperCase());
124
- inst.slugify = () => inst.check(checks.slugify());
209
+ _installLazyMethods(inst, "_ZodString", {
210
+ regex(...args) {
211
+ return this.check(checks.regex(...args));
212
+ },
213
+ includes(...args) {
214
+ return this.check(checks.includes(...args));
215
+ },
216
+ startsWith(...args) {
217
+ return this.check(checks.startsWith(...args));
218
+ },
219
+ endsWith(...args) {
220
+ return this.check(checks.endsWith(...args));
221
+ },
222
+ min(...args) {
223
+ return this.check(checks.minLength(...args));
224
+ },
225
+ max(...args) {
226
+ return this.check(checks.maxLength(...args));
227
+ },
228
+ length(...args) {
229
+ return this.check(checks.length(...args));
230
+ },
231
+ nonempty(...args) {
232
+ return this.check(checks.minLength(1, ...args));
233
+ },
234
+ lowercase(params) {
235
+ return this.check(checks.lowercase(params));
236
+ },
237
+ uppercase(params) {
238
+ return this.check(checks.uppercase(params));
239
+ },
240
+ trim() {
241
+ return this.check(checks.trim());
242
+ },
243
+ normalize(...args) {
244
+ return this.check(checks.normalize(...args));
245
+ },
246
+ toLowerCase() {
247
+ return this.check(checks.toLowerCase());
248
+ },
249
+ toUpperCase() {
250
+ return this.check(checks.toUpperCase());
251
+ },
252
+ slugify() {
253
+ return this.check(checks.slugify());
254
+ },
255
+ });
125
256
  });
126
257
  export const ZodString = /*@__PURE__*/ core.$constructor("ZodString", (inst, def) => {
127
258
  core.$ZodString.init(inst, def);
@@ -207,7 +338,7 @@ export function url(params) {
207
338
  }
208
339
  export function httpUrl(params) {
209
340
  return core._url(ZodURL, {
210
- protocol: /^https?$/,
341
+ protocol: core.regexes.httpProtocol,
211
342
  hostname: core.regexes.domain,
212
343
  ...util.normalizeParams(params),
213
344
  });
@@ -228,11 +359,23 @@ export const ZodNanoID = /*@__PURE__*/ core.$constructor("ZodNanoID", (inst, def
228
359
  export function nanoid(params) {
229
360
  return core._nanoid(ZodNanoID, params);
230
361
  }
362
+ /**
363
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
364
+ * (timestamps embedded in the id). Use {@link ZodCUID2} instead.
365
+ * See https://github.com/paralleldrive/cuid.
366
+ */
231
367
  export const ZodCUID = /*@__PURE__*/ core.$constructor("ZodCUID", (inst, def) => {
232
368
  // ZodStringFormat.init(inst, def);
233
369
  core.$ZodCUID.init(inst, def);
234
370
  ZodStringFormat.init(inst, def);
235
371
  });
372
+ /**
373
+ * Validates a CUID v1 string.
374
+ *
375
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
376
+ * (timestamps embedded in the id). Use {@link cuid2 | `z.cuid2()`} instead.
377
+ * See https://github.com/paralleldrive/cuid.
378
+ */
236
379
  export function cuid(params) {
237
380
  return core._cuid(ZodCUID, params);
238
381
  }
@@ -364,22 +507,53 @@ export const ZodNumber = /*@__PURE__*/ core.$constructor("ZodNumber", (inst, def
364
507
  core.$ZodNumber.init(inst, def);
365
508
  ZodType.init(inst, def);
366
509
  inst._zod.processJSONSchema = (ctx, json, params) => processors.numberProcessor(inst, ctx, json, params);
367
- inst.gt = (value, params) => inst.check(checks.gt(value, params));
368
- inst.gte = (value, params) => inst.check(checks.gte(value, params));
369
- inst.min = (value, params) => inst.check(checks.gte(value, params));
370
- inst.lt = (value, params) => inst.check(checks.lt(value, params));
371
- inst.lte = (value, params) => inst.check(checks.lte(value, params));
372
- inst.max = (value, params) => inst.check(checks.lte(value, params));
373
- inst.int = (params) => inst.check(int(params));
374
- inst.safe = (params) => inst.check(int(params));
375
- inst.positive = (params) => inst.check(checks.gt(0, params));
376
- inst.nonnegative = (params) => inst.check(checks.gte(0, params));
377
- inst.negative = (params) => inst.check(checks.lt(0, params));
378
- inst.nonpositive = (params) => inst.check(checks.lte(0, params));
379
- inst.multipleOf = (value, params) => inst.check(checks.multipleOf(value, params));
380
- inst.step = (value, params) => inst.check(checks.multipleOf(value, params));
381
- // inst.finite = (params) => inst.check(core.finite(params));
382
- inst.finite = () => inst;
510
+ _installLazyMethods(inst, "ZodNumber", {
511
+ gt(value, params) {
512
+ return this.check(checks.gt(value, params));
513
+ },
514
+ gte(value, params) {
515
+ return this.check(checks.gte(value, params));
516
+ },
517
+ min(value, params) {
518
+ return this.check(checks.gte(value, params));
519
+ },
520
+ lt(value, params) {
521
+ return this.check(checks.lt(value, params));
522
+ },
523
+ lte(value, params) {
524
+ return this.check(checks.lte(value, params));
525
+ },
526
+ max(value, params) {
527
+ return this.check(checks.lte(value, params));
528
+ },
529
+ int(params) {
530
+ return this.check(int(params));
531
+ },
532
+ safe(params) {
533
+ return this.check(int(params));
534
+ },
535
+ positive(params) {
536
+ return this.check(checks.gt(0, params));
537
+ },
538
+ nonnegative(params) {
539
+ return this.check(checks.gte(0, params));
540
+ },
541
+ negative(params) {
542
+ return this.check(checks.lt(0, params));
543
+ },
544
+ nonpositive(params) {
545
+ return this.check(checks.lte(0, params));
546
+ },
547
+ multipleOf(value, params) {
548
+ return this.check(checks.multipleOf(value, params));
549
+ },
550
+ step(value, params) {
551
+ return this.check(checks.multipleOf(value, params));
552
+ },
553
+ finite() {
554
+ return this;
555
+ },
556
+ });
383
557
  const bag = inst._zod.bag;
384
558
  inst.minValue =
385
559
  Math.max(bag.minimum ?? Number.NEGATIVE_INFINITY, bag.exclusiveMinimum ?? Number.NEGATIVE_INFINITY) ?? null;
@@ -533,11 +707,23 @@ export const ZodArray = /*@__PURE__*/ core.$constructor("ZodArray", (inst, def)
533
707
  ZodType.init(inst, def);
534
708
  inst._zod.processJSONSchema = (ctx, json, params) => processors.arrayProcessor(inst, ctx, json, params);
535
709
  inst.element = def.element;
536
- inst.min = (minLength, params) => inst.check(checks.minLength(minLength, params));
537
- inst.nonempty = (params) => inst.check(checks.minLength(1, params));
538
- inst.max = (maxLength, params) => inst.check(checks.maxLength(maxLength, params));
539
- inst.length = (len, params) => inst.check(checks.length(len, params));
540
- inst.unwrap = () => inst.element;
710
+ _installLazyMethods(inst, "ZodArray", {
711
+ min(n, params) {
712
+ return this.check(checks.minLength(n, params));
713
+ },
714
+ nonempty(params) {
715
+ return this.check(checks.minLength(1, params));
716
+ },
717
+ max(n, params) {
718
+ return this.check(checks.maxLength(n, params));
719
+ },
720
+ length(n, params) {
721
+ return this.check(checks.length(n, params));
722
+ },
723
+ unwrap() {
724
+ return this.element;
725
+ },
726
+ });
541
727
  });
542
728
  export function array(element, params) {
543
729
  return core._array(ZodArray, element, params);
@@ -554,23 +740,47 @@ export const ZodObject = /*@__PURE__*/ core.$constructor("ZodObject", (inst, def
554
740
  util.defineLazy(inst, "shape", () => {
555
741
  return def.shape;
556
742
  });
557
- inst.keyof = () => _enum(Object.keys(inst._zod.def.shape));
558
- inst.catchall = (catchall) => inst.clone({ ...inst._zod.def, catchall: catchall });
559
- inst.passthrough = () => inst.clone({ ...inst._zod.def, catchall: unknown() });
560
- inst.loose = () => inst.clone({ ...inst._zod.def, catchall: unknown() });
561
- inst.strict = () => inst.clone({ ...inst._zod.def, catchall: never() });
562
- inst.strip = () => inst.clone({ ...inst._zod.def, catchall: undefined });
563
- inst.extend = (incoming) => {
564
- return util.extend(inst, incoming);
565
- };
566
- inst.safeExtend = (incoming) => {
567
- return util.safeExtend(inst, incoming);
568
- };
569
- inst.merge = (other) => util.merge(inst, other);
570
- inst.pick = (mask) => util.pick(inst, mask);
571
- inst.omit = (mask) => util.omit(inst, mask);
572
- inst.partial = (...args) => util.partial(ZodOptional, inst, args[0]);
573
- inst.required = (...args) => util.required(ZodNonOptional, inst, args[0]);
743
+ _installLazyMethods(inst, "ZodObject", {
744
+ keyof() {
745
+ return _enum(Object.keys(this._zod.def.shape));
746
+ },
747
+ catchall(catchall) {
748
+ return this.clone({ ...this._zod.def, catchall: catchall });
749
+ },
750
+ passthrough() {
751
+ return this.clone({ ...this._zod.def, catchall: unknown() });
752
+ },
753
+ loose() {
754
+ return this.clone({ ...this._zod.def, catchall: unknown() });
755
+ },
756
+ strict() {
757
+ return this.clone({ ...this._zod.def, catchall: never() });
758
+ },
759
+ strip() {
760
+ return this.clone({ ...this._zod.def, catchall: undefined });
761
+ },
762
+ extend(incoming) {
763
+ return util.extend(this, incoming);
764
+ },
765
+ safeExtend(incoming) {
766
+ return util.safeExtend(this, incoming);
767
+ },
768
+ merge(other) {
769
+ return util.merge(this, other);
770
+ },
771
+ pick(mask) {
772
+ return util.pick(this, mask);
773
+ },
774
+ omit(mask) {
775
+ return util.omit(this, mask);
776
+ },
777
+ partial(...args) {
778
+ return util.partial(ZodOptional, this, args[0]);
779
+ },
780
+ required(...args) {
781
+ return util.required(ZodNonOptional, this, args[0]);
782
+ },
783
+ });
574
784
  });
575
785
  export function object(shape, params) {
576
786
  const def = {
@@ -681,6 +891,15 @@ export const ZodRecord = /*@__PURE__*/ core.$constructor("ZodRecord", (inst, def
681
891
  inst.valueType = def.valueType;
682
892
  });
683
893
  export function record(keyType, valueType, params) {
894
+ // v3-compat: z.record(valueType, params?) — defaults keyType to z.string()
895
+ if (!valueType || !valueType._zod) {
896
+ return new ZodRecord({
897
+ type: "record",
898
+ keyType: string(),
899
+ valueType: keyType,
900
+ ...util.normalizeParams(valueType),
901
+ });
902
+ }
684
903
  return new ZodRecord({
685
904
  type: "record",
686
905
  keyType,
@@ -866,10 +1085,12 @@ export const ZodTransform = /*@__PURE__*/ core.$constructor("ZodTransform", (ins
866
1085
  if (output instanceof Promise) {
867
1086
  return output.then((output) => {
868
1087
  payload.value = output;
1088
+ payload.fallback = true;
869
1089
  return payload;
870
1090
  });
871
1091
  }
872
1092
  payload.value = output;
1093
+ payload.fallback = true;
873
1094
  return payload;
874
1095
  };
875
1096
  });
@@ -1026,6 +1247,20 @@ export function codec(in_, out, params) {
1026
1247
  reverseTransform: params.encode,
1027
1248
  });
1028
1249
  }
1250
+ export function invertCodec(codec) {
1251
+ const def = codec._zod.def;
1252
+ return new ZodCodec({
1253
+ type: "pipe",
1254
+ in: def.out,
1255
+ out: def.in,
1256
+ transform: def.reverseTransform,
1257
+ reverseTransform: def.transform,
1258
+ });
1259
+ }
1260
+ export const ZodPreprocess = /*@__PURE__*/ core.$constructor("ZodPreprocess", (inst, def) => {
1261
+ ZodPipe.init(inst, def);
1262
+ core.$ZodPreprocess.init(inst, def);
1263
+ });
1029
1264
  export const ZodReadonly = /*@__PURE__*/ core.$constructor("ZodReadonly", (inst, def) => {
1030
1265
  core.$ZodReadonly.init(inst, def);
1031
1266
  ZodType.init(inst, def);
@@ -1108,8 +1343,8 @@ export function refine(fn, _params = {}) {
1108
1343
  return core._refine(ZodCustom, fn, _params);
1109
1344
  }
1110
1345
  // superRefine
1111
- export function superRefine(fn) {
1112
- return core._superRefine(fn);
1346
+ export function superRefine(fn, params) {
1347
+ return core._superRefine(fn, params);
1113
1348
  }
1114
1349
  // Re-export describe and meta from core
1115
1350
  export const describe = core.describe;
@@ -1151,7 +1386,10 @@ export function json(params) {
1151
1386
  return jsonSchema;
1152
1387
  }
1153
1388
  // preprocess
1154
- // /** @deprecated Use `z.pipe()` and `z.transform()` instead. */
1155
1389
  export function preprocess(fn, schema) {
1156
- return pipe(transform(fn), schema);
1390
+ return new ZodPreprocess({
1391
+ type: "pipe",
1392
+ in: transform(fn),
1393
+ out: schema,
1394
+ });
1157
1395
  }
@@ -256,6 +256,11 @@ function _nanoid(Class, params) {
256
256
  ...util.normalizeParams(params),
257
257
  });
258
258
  }
259
+ /**
260
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
261
+ * (timestamps embedded in the id). Use {@link _cuid2} instead.
262
+ * See https://github.com/paralleldrive/cuid.
263
+ */
259
264
  // @__NO_SIDE_EFFECTS__
260
265
  function _cuid(Class, params) {
261
266
  return new Class({
@@ -1094,7 +1099,7 @@ function _refine(Class, fn, _params) {
1094
1099
  return schema;
1095
1100
  }
1096
1101
  // @__NO_SIDE_EFFECTS__
1097
- function _superRefine(fn) {
1102
+ function _superRefine(fn, params) {
1098
1103
  const ch = _check((payload) => {
1099
1104
  payload.addIssue = (issue) => {
1100
1105
  if (typeof issue === "string") {
@@ -1113,7 +1118,7 @@ function _superRefine(fn) {
1113
1118
  }
1114
1119
  };
1115
1120
  return fn(payload.value, payload);
1116
- });
1121
+ }, params);
1117
1122
  return ch;
1118
1123
  }
1119
1124
  // @__NO_SIDE_EFFECTS__