@vellumai/cli 0.10.6 → 0.10.7-dev.202607072325.09ad030

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 (756) hide show
  1. package/node_modules/@vellumai/environments/tsconfig.json +1 -1
  2. package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/package.json +18 -0
  3. package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/__tests__/package-boundary.test.ts +95 -0
  4. package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/index.ts +11 -0
  5. package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/seeds.ts +70 -0
  6. package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/types.ts +70 -0
  7. package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/tsconfig.json +20 -0
  8. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/README.md +18 -1
  9. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/locales/package.json +1 -2
  10. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/mini/package.json +1 -2
  11. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/package.json +1 -1
  12. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/all-errors.test.ts +3 -3
  13. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/object.test.ts +5 -5
  14. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/partials.test.ts +3 -3
  15. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/errors.ts +2 -2
  16. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/external.ts +0 -1
  17. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/from-json-schema.ts +23 -39
  18. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/parse.ts +6 -6
  19. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/schemas.ts +151 -414
  20. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/assignability.test.ts +0 -6
  21. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/catch.test.ts +0 -50
  22. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/codec.test.ts +1 -142
  23. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/continuability.test.ts +1 -1
  24. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/datetime.test.ts +1 -1
  25. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/default.test.ts +0 -44
  26. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/discriminated-unions.test.ts +1 -34
  27. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/error-utils.test.ts +2 -214
  28. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/from-json-schema.test.ts +0 -161
  29. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/function.test.ts +6 -6
  30. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/index.test.ts +2 -2
  31. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/number.test.ts +0 -55
  32. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/object.test.ts +6 -83
  33. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/optional.test.ts +4 -114
  34. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/partial.test.ts +1 -24
  35. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/prefault.test.ts +1 -1
  36. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/preprocess.test.ts +0 -69
  37. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/record.test.ts +0 -85
  38. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/recursive-types.test.ts +0 -49
  39. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/refine.test.ts +0 -63
  40. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/string.test.ts +1 -50
  41. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/template-literal.test.ts +4 -4
  42. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/to-json-schema.test.ts +15 -150
  43. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/transform.test.ts +0 -17
  44. package/node_modules/@vellumai/local-mode/node_modules/zod/src/v4/classic/tests/tuple.test.ts +183 -0
  45. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/union.test.ts +0 -54
  46. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/api.ts +6 -31
  47. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/checks.ts +1 -1
  48. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/core.ts +2 -17
  49. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/errors.ts +24 -31
  50. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/json-schema-processors.ts +18 -17
  51. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/parse.ts +7 -7
  52. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/regexes.ts +1 -8
  53. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/schemas.ts +71 -263
  54. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/uz.test.ts +0 -22
  55. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/record-constructor.test.ts +0 -58
  56. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/to-json-schema.ts +1 -10
  57. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/util.ts +35 -52
  58. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/versions.ts +2 -2
  59. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/en.ts +0 -4
  60. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/fr.ts +8 -24
  61. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/index.ts +0 -3
  62. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/it.ts +1 -1
  63. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ka.ts +8 -8
  64. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/uz.ts +0 -1
  65. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/external.ts +0 -1
  66. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/schemas.ts +25 -56
  67. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/codec.test.ts +0 -19
  68. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/index.test.ts +2 -32
  69. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/object.test.ts +9 -9
  70. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/recursive-types.test.ts +1 -51
  71. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/string.test.ts +0 -5
  72. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/package.json +1 -2
  73. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/errors.js +2 -2
  74. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/external.d.cts +0 -1
  75. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/external.d.ts +0 -1
  76. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/from-json-schema.cjs +16 -31
  77. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/from-json-schema.js +16 -31
  78. package/node_modules/@vellumai/local-mode/node_modules/zod/v4/classic/package.json +6 -0
  79. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/schemas.cjs +119 -358
  80. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/schemas.d.cts +14 -42
  81. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/schemas.d.ts +14 -42
  82. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/schemas.js +118 -356
  83. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/api.cjs +2 -7
  84. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/api.d.cts +5 -26
  85. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/api.d.ts +5 -26
  86. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/api.js +2 -7
  87. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/checks.d.cts +1 -1
  88. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/checks.d.ts +1 -1
  89. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/core.cjs +1 -3
  90. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/core.js +2 -4
  91. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/errors.cjs +23 -26
  92. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/errors.d.cts +0 -1
  93. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/errors.d.ts +0 -1
  94. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/errors.js +23 -26
  95. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-processors.cjs +20 -16
  96. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-processors.js +20 -16
  97. package/node_modules/@vellumai/local-mode/node_modules/zod/v4/core/package.json +6 -0
  98. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/parse.cjs +7 -7
  99. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/parse.js +7 -7
  100. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/regexes.cjs +3 -9
  101. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/regexes.d.cts +0 -6
  102. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/regexes.d.ts +0 -6
  103. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/regexes.js +1 -7
  104. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/schemas.cjs +65 -211
  105. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/schemas.d.cts +1 -39
  106. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/schemas.d.ts +1 -39
  107. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/schemas.js +64 -210
  108. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/to-json-schema.cjs +1 -12
  109. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/to-json-schema.js +1 -12
  110. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/util.cjs +30 -54
  111. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/util.d.cts +0 -1
  112. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/util.d.ts +0 -1
  113. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/util.js +32 -55
  114. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/versions.cjs +2 -2
  115. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/versions.d.cts +1 -1
  116. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/versions.d.ts +1 -1
  117. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/versions.js +2 -2
  118. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/en.cjs +0 -4
  119. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/en.js +0 -4
  120. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr.cjs +7 -24
  121. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr.js +7 -24
  122. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/index.cjs +1 -8
  123. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/index.d.cts +0 -3
  124. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/index.d.ts +0 -3
  125. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/index.js +0 -3
  126. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/it.cjs +1 -1
  127. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/it.js +1 -1
  128. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ka.cjs +8 -8
  129. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ka.js +8 -8
  130. package/node_modules/@vellumai/local-mode/node_modules/zod/v4/locales/package.json +6 -0
  131. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uz.cjs +0 -1
  132. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uz.js +0 -1
  133. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/external.d.cts +0 -1
  134. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/external.d.ts +0 -1
  135. package/node_modules/@vellumai/local-mode/node_modules/zod/v4/mini/package.json +6 -0
  136. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/schemas.cjs +4 -41
  137. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/schemas.d.cts +10 -28
  138. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/schemas.d.ts +10 -28
  139. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/schemas.js +4 -40
  140. package/node_modules/@vellumai/local-mode/node_modules/zod/v4/package.json +6 -0
  141. package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4-mini/package.json +1 -2
  142. package/node_modules/@vellumai/local-mode/src/status.ts +84 -7
  143. package/node_modules/@vellumai/local-mode/tsconfig.json +1 -1
  144. package/package.json +1 -2
  145. package/src/__tests__/daemon-readiness-probe.test.ts +158 -0
  146. package/src/__tests__/provider-inference-parity.test.ts +57 -0
  147. package/src/__tests__/recover.test.ts +5 -1
  148. package/src/__tests__/upgrade-local.test.ts +4 -0
  149. package/src/__tests__/upgrade-wait-for-ready.test.ts +103 -0
  150. package/src/commands/restore.ts +31 -8
  151. package/src/commands/upgrade.ts +33 -2
  152. package/src/commands/wake.ts +80 -2
  153. package/src/lib/__tests__/local-ces.test.ts +104 -0
  154. package/src/lib/backup-ops.ts +59 -36
  155. package/src/lib/docker.ts +60 -25
  156. package/src/lib/http-client.ts +107 -11
  157. package/src/lib/local.ts +157 -74
  158. package/src/lib/process.ts +70 -30
  159. package/src/lib/provider-secrets.ts +40 -7
  160. package/src/lib/upgrade-lifecycle.ts +129 -25
  161. package/src/shared/provider-env-vars.ts +1 -0
  162. package/tsconfig.json +1 -1
  163. package/bun.lock +0 -411
  164. package/bunfig.toml +0 -6
  165. package/node_modules/@vellumai/environments/bun.lock +0 -24
  166. package/node_modules/@vellumai/local-mode/bun.lock +0 -32
  167. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -197
  168. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -39
  169. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -46
  170. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
  171. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
  172. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -26
  173. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -496
  174. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -215
  175. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
  176. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
  177. package/node_modules/zod/src/v4/locales/el.ts +0 -121
  178. package/node_modules/zod/src/v4/locales/hr.ts +0 -131
  179. package/node_modules/zod/src/v4/locales/ro.ts +0 -129
  180. package/node_modules/zod/v4/classic/package.json +0 -7
  181. package/node_modules/zod/v4/core/package.json +0 -7
  182. package/node_modules/zod/v4/locales/el.cjs +0 -136
  183. package/node_modules/zod/v4/locales/el.d.cts +0 -5
  184. package/node_modules/zod/v4/locales/el.d.ts +0 -4
  185. package/node_modules/zod/v4/locales/el.js +0 -109
  186. package/node_modules/zod/v4/locales/hr.cjs +0 -149
  187. package/node_modules/zod/v4/locales/hr.d.cts +0 -5
  188. package/node_modules/zod/v4/locales/hr.d.ts +0 -4
  189. package/node_modules/zod/v4/locales/hr.js +0 -122
  190. package/node_modules/zod/v4/locales/package.json +0 -7
  191. package/node_modules/zod/v4/locales/ro.cjs +0 -146
  192. package/node_modules/zod/v4/locales/ro.d.cts +0 -5
  193. package/node_modules/zod/v4/locales/ro.d.ts +0 -4
  194. package/node_modules/zod/v4/locales/ro.js +0 -119
  195. package/node_modules/zod/v4/mini/package.json +0 -7
  196. package/node_modules/zod/v4/package.json +0 -7
  197. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/LICENSE +0 -0
  198. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/index.cjs +0 -0
  199. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/index.d.cts +0 -0
  200. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/index.d.ts +0 -0
  201. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/index.js +0 -0
  202. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/locales/index.cjs +0 -0
  203. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/locales/index.d.cts +0 -0
  204. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/locales/index.d.ts +0 -0
  205. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/locales/index.js +0 -0
  206. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/mini/index.cjs +0 -0
  207. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/mini/index.d.cts +0 -0
  208. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/mini/index.d.ts +0 -0
  209. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/mini/index.js +0 -0
  210. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/index.ts +0 -0
  211. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/locales/index.ts +0 -0
  212. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/mini/index.ts +0 -0
  213. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/ZodError.ts +0 -0
  214. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/datetime.ts +0 -0
  215. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/discriminatedUnion.ts +0 -0
  216. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/index.ts +0 -0
  217. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/ipv4.ts +0 -0
  218. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/object.ts +0 -0
  219. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/primitives.ts +0 -0
  220. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/realworld.ts +0 -0
  221. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/string.ts +0 -0
  222. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/union.ts +0 -0
  223. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/errors.ts +0 -0
  224. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/external.ts +0 -0
  225. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/enumUtil.ts +0 -0
  226. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/errorUtil.ts +0 -0
  227. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/parseUtil.ts +0 -0
  228. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/partialUtil.ts +0 -0
  229. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/typeAliases.ts +0 -0
  230. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/util.ts +0 -0
  231. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/index.ts +0 -0
  232. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/locales/en.ts +0 -0
  233. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/standard-schema.ts +0 -0
  234. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/Mocker.ts +0 -0
  235. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/anyunknown.test.ts +0 -0
  236. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/array.test.ts +0 -0
  237. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/async-parsing.test.ts +0 -0
  238. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/async-refinements.test.ts +0 -0
  239. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/base.test.ts +0 -0
  240. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/bigint.test.ts +0 -0
  241. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/branded.test.ts +0 -0
  242. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/catch.test.ts +0 -0
  243. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/coerce.test.ts +0 -0
  244. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/complex.test.ts +0 -0
  245. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/custom.test.ts +0 -0
  246. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/date.test.ts +0 -0
  247. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/deepmasking.test.ts +0 -0
  248. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/default.test.ts +0 -0
  249. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/description.test.ts +0 -0
  250. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/discriminated-unions.test.ts +0 -0
  251. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/enum.test.ts +0 -0
  252. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/error.test.ts +0 -0
  253. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/firstparty.test.ts +0 -0
  254. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/firstpartyschematypes.test.ts +0 -0
  255. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/function.test.ts +0 -0
  256. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/generics.test.ts +0 -0
  257. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/instanceof.test.ts +0 -0
  258. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/intersection.test.ts +0 -0
  259. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/language-server.source.ts +0 -0
  260. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/language-server.test.ts +0 -0
  261. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/literal.test.ts +0 -0
  262. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/map.test.ts +0 -0
  263. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/masking.test.ts +0 -0
  264. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/mocker.test.ts +0 -0
  265. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/nan.test.ts +0 -0
  266. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/nativeEnum.test.ts +0 -0
  267. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/nullable.test.ts +0 -0
  268. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/number.test.ts +0 -0
  269. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/object-augmentation.test.ts +0 -0
  270. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/object-in-es5-env.test.ts +0 -0
  271. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/optional.test.ts +0 -0
  272. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/parseUtil.test.ts +0 -0
  273. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/parser.test.ts +0 -0
  274. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/pickomit.test.ts +0 -0
  275. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/pipeline.test.ts +0 -0
  276. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/preprocess.test.ts +0 -0
  277. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/primitive.test.ts +0 -0
  278. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/promise.test.ts +0 -0
  279. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/readonly.test.ts +0 -0
  280. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/record.test.ts +0 -0
  281. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/recursive.test.ts +0 -0
  282. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/refine.test.ts +0 -0
  283. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/safeparse.test.ts +0 -0
  284. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/set.test.ts +0 -0
  285. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/standard-schema.test.ts +0 -0
  286. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/string.test.ts +0 -0
  287. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/transformer.test.ts +0 -0
  288. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/tuple.test.ts +0 -0
  289. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/unions.test.ts +0 -0
  290. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/validations.test.ts +0 -0
  291. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/void.test.ts +0 -0
  292. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/types.ts +0 -0
  293. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/checks.ts +0 -0
  294. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/coerce.ts +0 -0
  295. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/compat.ts +0 -0
  296. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/index.ts +0 -0
  297. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/iso.ts +0 -0
  298. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/anyunknown.test.ts +0 -0
  299. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/apply.test.ts +0 -0
  300. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/array.test.ts +0 -0
  301. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/async-parsing.test.ts +0 -0
  302. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/async-refinements.test.ts +0 -0
  303. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/base.test.ts +0 -0
  304. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/bigint.test.ts +0 -0
  305. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/brand.test.ts +0 -0
  306. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/coalesce.test.ts +0 -0
  307. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/codec-examples.test.ts +0 -0
  308. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/coerce.test.ts +0 -0
  309. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/custom.test.ts +0 -0
  310. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/date.test.ts +0 -0
  311. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/describe-meta-checks.test.ts +0 -0
  312. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/description.test.ts +0 -0
  313. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/enum.test.ts +0 -0
  314. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/error.test.ts +0 -0
  315. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/file.test.ts +0 -0
  316. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/firstparty.test.ts +0 -0
  317. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/fix-json-issue.test.ts +0 -0
  318. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/generics.test.ts +0 -0
  319. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/hash.test.ts +0 -0
  320. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/instanceof.test.ts +0 -0
  321. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/intersection.test.ts +0 -0
  322. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/json.test.ts +0 -0
  323. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/lazy.test.ts +0 -0
  324. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/literal.test.ts +0 -0
  325. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/map.test.ts +0 -0
  326. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/nan.test.ts +0 -0
  327. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/nested-refine.test.ts +0 -0
  328. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/nonoptional.test.ts +0 -0
  329. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/nullable.test.ts +0 -0
  330. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/pickomit.test.ts +0 -0
  331. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/pipe.test.ts +0 -0
  332. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/primitive.test.ts +0 -0
  333. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/promise.test.ts +0 -0
  334. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/prototypes.test.ts +0 -0
  335. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/readonly.test.ts +0 -0
  336. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/registries.test.ts +0 -0
  337. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/set.test.ts +0 -0
  338. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/standard-schema.test.ts +0 -0
  339. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/string-formats.test.ts +0 -0
  340. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/stringbool.test.ts +0 -0
  341. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -0
  342. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/url.test.ts +0 -0
  343. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/validations.test.ts +0 -0
  344. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/void.test.ts +0 -0
  345. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/config.ts +0 -0
  346. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/doc.ts +0 -0
  347. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/index.ts +0 -0
  348. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/json-schema-generator.ts +0 -0
  349. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/json-schema.ts +0 -0
  350. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/registries.ts +0 -0
  351. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/standard-schema.ts +0 -0
  352. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/extend.test.ts +0 -0
  353. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/index.test.ts +0 -0
  354. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/be.test.ts +0 -0
  355. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/en.test.ts +0 -0
  356. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/es.test.ts +0 -0
  357. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/he.test.ts +0 -0
  358. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/nl.test.ts +0 -0
  359. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/ru.test.ts +0 -0
  360. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/tr.test.ts +0 -0
  361. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/recursive-tuples.test.ts +0 -0
  362. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/zsf.ts +0 -0
  363. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/index.ts +0 -0
  364. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ar.ts +0 -0
  365. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/az.ts +0 -0
  366. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/be.ts +0 -0
  367. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/bg.ts +0 -0
  368. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ca.ts +0 -0
  369. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/cs.ts +0 -0
  370. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/da.ts +0 -0
  371. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/de.ts +0 -0
  372. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/eo.ts +0 -0
  373. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/es.ts +0 -0
  374. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/fa.ts +0 -0
  375. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/fi.ts +0 -0
  376. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/fr-CA.ts +0 -0
  377. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/he.ts +0 -0
  378. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/hu.ts +0 -0
  379. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/hy.ts +0 -0
  380. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/id.ts +0 -0
  381. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/is.ts +0 -0
  382. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ja.ts +0 -0
  383. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/kh.ts +0 -0
  384. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/km.ts +0 -0
  385. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ko.ts +0 -0
  386. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/lt.ts +0 -0
  387. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/mk.ts +0 -0
  388. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ms.ts +0 -0
  389. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/nl.ts +0 -0
  390. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/no.ts +0 -0
  391. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ota.ts +0 -0
  392. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/pl.ts +0 -0
  393. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ps.ts +0 -0
  394. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/pt.ts +0 -0
  395. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ru.ts +0 -0
  396. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/sl.ts +0 -0
  397. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/sv.ts +0 -0
  398. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ta.ts +0 -0
  399. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/th.ts +0 -0
  400. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/tr.ts +0 -0
  401. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ua.ts +0 -0
  402. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/uk.ts +0 -0
  403. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ur.ts +0 -0
  404. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/vi.ts +0 -0
  405. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/yo.ts +0 -0
  406. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/zh-CN.ts +0 -0
  407. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/zh-TW.ts +0 -0
  408. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/checks.ts +0 -0
  409. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/coerce.ts +0 -0
  410. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/index.ts +0 -0
  411. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/iso.ts +0 -0
  412. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/parse.ts +0 -0
  413. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/apply.test.ts +0 -0
  414. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/assignability.test.ts +0 -0
  415. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/brand.test.ts +0 -0
  416. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/checks.test.ts +0 -0
  417. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/computed.test.ts +0 -0
  418. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/error.test.ts +0 -0
  419. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/functions.test.ts +0 -0
  420. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/number.test.ts +0 -0
  421. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/prototypes.test.ts +0 -0
  422. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/standard-schema.test.ts +0 -0
  423. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4-mini/index.ts +0 -0
  424. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/ZodError.cjs +0 -0
  425. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/ZodError.d.cts +0 -0
  426. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/ZodError.d.ts +0 -0
  427. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/ZodError.js +0 -0
  428. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/errors.cjs +0 -0
  429. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/errors.d.cts +0 -0
  430. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/errors.d.ts +0 -0
  431. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/errors.js +0 -0
  432. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/external.cjs +0 -0
  433. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/external.d.cts +0 -0
  434. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/external.d.ts +0 -0
  435. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/external.js +0 -0
  436. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/enumUtil.cjs +0 -0
  437. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/enumUtil.d.cts +0 -0
  438. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/enumUtil.d.ts +0 -0
  439. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/enumUtil.js +0 -0
  440. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/errorUtil.cjs +0 -0
  441. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/errorUtil.d.cts +0 -0
  442. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/errorUtil.d.ts +0 -0
  443. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/errorUtil.js +0 -0
  444. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/parseUtil.cjs +0 -0
  445. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/parseUtil.d.cts +0 -0
  446. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/parseUtil.d.ts +0 -0
  447. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/parseUtil.js +0 -0
  448. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/partialUtil.cjs +0 -0
  449. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/partialUtil.d.cts +0 -0
  450. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/partialUtil.d.ts +0 -0
  451. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/partialUtil.js +0 -0
  452. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/typeAliases.cjs +0 -0
  453. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/typeAliases.d.cts +0 -0
  454. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/typeAliases.d.ts +0 -0
  455. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/typeAliases.js +0 -0
  456. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/util.cjs +0 -0
  457. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/util.d.cts +0 -0
  458. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/util.d.ts +0 -0
  459. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/util.js +0 -0
  460. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/index.cjs +0 -0
  461. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/index.d.cts +0 -0
  462. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/index.d.ts +0 -0
  463. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/index.js +0 -0
  464. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/locales/en.cjs +0 -0
  465. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/locales/en.d.cts +0 -0
  466. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/locales/en.d.ts +0 -0
  467. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/locales/en.js +0 -0
  468. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/standard-schema.cjs +0 -0
  469. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/standard-schema.d.cts +0 -0
  470. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/standard-schema.d.ts +0 -0
  471. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/standard-schema.js +0 -0
  472. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/types.cjs +0 -0
  473. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/types.d.cts +0 -0
  474. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/types.d.ts +0 -0
  475. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/types.js +0 -0
  476. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/checks.cjs +0 -0
  477. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/checks.d.cts +0 -0
  478. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/checks.d.ts +0 -0
  479. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/checks.js +0 -0
  480. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/coerce.cjs +0 -0
  481. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/coerce.d.cts +0 -0
  482. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/coerce.d.ts +0 -0
  483. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/coerce.js +0 -0
  484. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/compat.cjs +0 -0
  485. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/compat.d.cts +0 -0
  486. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/compat.d.ts +0 -0
  487. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/compat.js +0 -0
  488. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/errors.cjs +0 -0
  489. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/errors.d.cts +0 -0
  490. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/errors.d.ts +0 -0
  491. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/external.cjs +0 -0
  492. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/external.js +0 -0
  493. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/from-json-schema.d.cts +0 -0
  494. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/from-json-schema.d.ts +0 -0
  495. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/index.cjs +0 -0
  496. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/index.d.cts +0 -0
  497. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/index.d.ts +0 -0
  498. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/index.js +0 -0
  499. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/iso.cjs +0 -0
  500. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/iso.d.cts +0 -0
  501. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/iso.d.ts +0 -0
  502. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/iso.js +0 -0
  503. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/parse.cjs +0 -0
  504. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/parse.d.cts +0 -0
  505. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/parse.d.ts +0 -0
  506. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/parse.js +0 -0
  507. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/checks.cjs +0 -0
  508. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/checks.js +0 -0
  509. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/core.d.cts +0 -0
  510. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/core.d.ts +0 -0
  511. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/doc.cjs +0 -0
  512. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/doc.d.cts +0 -0
  513. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/doc.d.ts +0 -0
  514. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/doc.js +0 -0
  515. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/index.cjs +0 -0
  516. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/index.d.cts +0 -0
  517. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/index.d.ts +0 -0
  518. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/index.js +0 -0
  519. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-generator.cjs +0 -0
  520. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-generator.d.cts +0 -0
  521. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-generator.d.ts +0 -0
  522. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-generator.js +0 -0
  523. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-processors.d.cts +0 -0
  524. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-processors.d.ts +0 -0
  525. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema.cjs +0 -0
  526. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema.d.cts +0 -0
  527. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema.d.ts +0 -0
  528. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema.js +0 -0
  529. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/parse.d.cts +0 -0
  530. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/parse.d.ts +0 -0
  531. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/registries.cjs +0 -0
  532. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/registries.d.cts +0 -0
  533. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/registries.d.ts +0 -0
  534. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/registries.js +0 -0
  535. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/standard-schema.cjs +0 -0
  536. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/standard-schema.d.cts +0 -0
  537. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/standard-schema.d.ts +0 -0
  538. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/standard-schema.js +0 -0
  539. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/to-json-schema.d.cts +0 -0
  540. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/to-json-schema.d.ts +0 -0
  541. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/index.cjs +0 -0
  542. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/index.d.cts +0 -0
  543. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/index.d.ts +0 -0
  544. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/index.js +0 -0
  545. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ar.cjs +0 -0
  546. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ar.d.cts +0 -0
  547. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ar.d.ts +0 -0
  548. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ar.js +0 -0
  549. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/az.cjs +0 -0
  550. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/az.d.cts +0 -0
  551. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/az.d.ts +0 -0
  552. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/az.js +0 -0
  553. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/be.cjs +0 -0
  554. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/be.d.cts +0 -0
  555. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/be.d.ts +0 -0
  556. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/be.js +0 -0
  557. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/bg.cjs +0 -0
  558. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/bg.d.cts +0 -0
  559. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/bg.d.ts +0 -0
  560. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/bg.js +0 -0
  561. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ca.cjs +0 -0
  562. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ca.d.cts +0 -0
  563. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ca.d.ts +0 -0
  564. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ca.js +0 -0
  565. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/cs.cjs +0 -0
  566. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/cs.d.cts +0 -0
  567. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/cs.d.ts +0 -0
  568. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/cs.js +0 -0
  569. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/da.cjs +0 -0
  570. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/da.d.cts +0 -0
  571. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/da.d.ts +0 -0
  572. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/da.js +0 -0
  573. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/de.cjs +0 -0
  574. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/de.d.cts +0 -0
  575. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/de.d.ts +0 -0
  576. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/de.js +0 -0
  577. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/en.d.cts +0 -0
  578. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/en.d.ts +0 -0
  579. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/eo.cjs +0 -0
  580. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/eo.d.cts +0 -0
  581. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/eo.d.ts +0 -0
  582. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/eo.js +0 -0
  583. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/es.cjs +0 -0
  584. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/es.d.cts +0 -0
  585. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/es.d.ts +0 -0
  586. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/es.js +0 -0
  587. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fa.cjs +0 -0
  588. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fa.d.cts +0 -0
  589. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fa.d.ts +0 -0
  590. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fa.js +0 -0
  591. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fi.cjs +0 -0
  592. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fi.d.cts +0 -0
  593. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fi.d.ts +0 -0
  594. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fi.js +0 -0
  595. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr-CA.cjs +0 -0
  596. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr-CA.d.cts +0 -0
  597. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr-CA.d.ts +0 -0
  598. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr-CA.js +0 -0
  599. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr.d.cts +0 -0
  600. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr.d.ts +0 -0
  601. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/he.cjs +0 -0
  602. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/he.d.cts +0 -0
  603. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/he.d.ts +0 -0
  604. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/he.js +0 -0
  605. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hu.cjs +0 -0
  606. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hu.d.cts +0 -0
  607. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hu.d.ts +0 -0
  608. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hu.js +0 -0
  609. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hy.cjs +0 -0
  610. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hy.d.cts +0 -0
  611. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hy.d.ts +0 -0
  612. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hy.js +0 -0
  613. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/id.cjs +0 -0
  614. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/id.d.cts +0 -0
  615. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/id.d.ts +0 -0
  616. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/id.js +0 -0
  617. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/is.cjs +0 -0
  618. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/is.d.cts +0 -0
  619. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/is.d.ts +0 -0
  620. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/is.js +0 -0
  621. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/it.d.cts +0 -0
  622. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/it.d.ts +0 -0
  623. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ja.cjs +0 -0
  624. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ja.d.cts +0 -0
  625. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ja.d.ts +0 -0
  626. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ja.js +0 -0
  627. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ka.d.cts +0 -0
  628. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ka.d.ts +0 -0
  629. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/kh.cjs +0 -0
  630. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/kh.d.cts +0 -0
  631. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/kh.d.ts +0 -0
  632. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/kh.js +0 -0
  633. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/km.cjs +0 -0
  634. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/km.d.cts +0 -0
  635. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/km.d.ts +0 -0
  636. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/km.js +0 -0
  637. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ko.cjs +0 -0
  638. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ko.d.cts +0 -0
  639. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ko.d.ts +0 -0
  640. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ko.js +0 -0
  641. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/lt.cjs +0 -0
  642. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/lt.d.cts +0 -0
  643. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/lt.d.ts +0 -0
  644. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/lt.js +0 -0
  645. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/mk.cjs +0 -0
  646. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/mk.d.cts +0 -0
  647. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/mk.d.ts +0 -0
  648. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/mk.js +0 -0
  649. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ms.cjs +0 -0
  650. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ms.d.cts +0 -0
  651. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ms.d.ts +0 -0
  652. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ms.js +0 -0
  653. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/nl.cjs +0 -0
  654. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/nl.d.cts +0 -0
  655. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/nl.d.ts +0 -0
  656. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/nl.js +0 -0
  657. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/no.cjs +0 -0
  658. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/no.d.cts +0 -0
  659. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/no.d.ts +0 -0
  660. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/no.js +0 -0
  661. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ota.cjs +0 -0
  662. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ota.d.cts +0 -0
  663. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ota.d.ts +0 -0
  664. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ota.js +0 -0
  665. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pl.cjs +0 -0
  666. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pl.d.cts +0 -0
  667. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pl.d.ts +0 -0
  668. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pl.js +0 -0
  669. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ps.cjs +0 -0
  670. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ps.d.cts +0 -0
  671. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ps.d.ts +0 -0
  672. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ps.js +0 -0
  673. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pt.cjs +0 -0
  674. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pt.d.cts +0 -0
  675. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pt.d.ts +0 -0
  676. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pt.js +0 -0
  677. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ru.cjs +0 -0
  678. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ru.d.cts +0 -0
  679. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ru.d.ts +0 -0
  680. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ru.js +0 -0
  681. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sl.cjs +0 -0
  682. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sl.d.cts +0 -0
  683. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sl.d.ts +0 -0
  684. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sl.js +0 -0
  685. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sv.cjs +0 -0
  686. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sv.d.cts +0 -0
  687. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sv.d.ts +0 -0
  688. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sv.js +0 -0
  689. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ta.cjs +0 -0
  690. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ta.d.cts +0 -0
  691. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ta.d.ts +0 -0
  692. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ta.js +0 -0
  693. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/th.cjs +0 -0
  694. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/th.d.cts +0 -0
  695. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/th.d.ts +0 -0
  696. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/th.js +0 -0
  697. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/tr.cjs +0 -0
  698. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/tr.d.cts +0 -0
  699. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/tr.d.ts +0 -0
  700. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/tr.js +0 -0
  701. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ua.cjs +0 -0
  702. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ua.d.cts +0 -0
  703. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ua.d.ts +0 -0
  704. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ua.js +0 -0
  705. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uk.cjs +0 -0
  706. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uk.d.cts +0 -0
  707. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uk.d.ts +0 -0
  708. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uk.js +0 -0
  709. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ur.cjs +0 -0
  710. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ur.d.cts +0 -0
  711. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ur.d.ts +0 -0
  712. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ur.js +0 -0
  713. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uz.d.cts +0 -0
  714. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uz.d.ts +0 -0
  715. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/vi.cjs +0 -0
  716. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/vi.d.cts +0 -0
  717. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/vi.d.ts +0 -0
  718. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/vi.js +0 -0
  719. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/yo.cjs +0 -0
  720. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/yo.d.cts +0 -0
  721. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/yo.d.ts +0 -0
  722. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/yo.js +0 -0
  723. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-CN.cjs +0 -0
  724. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-CN.d.cts +0 -0
  725. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-CN.d.ts +0 -0
  726. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-CN.js +0 -0
  727. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-TW.cjs +0 -0
  728. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-TW.d.cts +0 -0
  729. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-TW.d.ts +0 -0
  730. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-TW.js +0 -0
  731. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/checks.cjs +0 -0
  732. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/checks.d.cts +0 -0
  733. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/checks.d.ts +0 -0
  734. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/checks.js +0 -0
  735. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/coerce.cjs +0 -0
  736. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/coerce.d.cts +0 -0
  737. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/coerce.d.ts +0 -0
  738. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/coerce.js +0 -0
  739. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/external.cjs +0 -0
  740. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/external.js +0 -0
  741. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/index.cjs +0 -0
  742. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/index.d.cts +0 -0
  743. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/index.d.ts +0 -0
  744. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/index.js +0 -0
  745. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/iso.cjs +0 -0
  746. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/iso.d.cts +0 -0
  747. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/iso.d.ts +0 -0
  748. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/iso.js +0 -0
  749. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/parse.cjs +0 -0
  750. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/parse.d.cts +0 -0
  751. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/parse.d.ts +0 -0
  752. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/parse.js +0 -0
  753. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4-mini/index.cjs +0 -0
  754. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4-mini/index.d.cts +0 -0
  755. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4-mini/index.d.ts +0 -0
  756. /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4-mini/index.js +0 -0
@@ -12,7 +12,15 @@ import {
12
12
  resetGuardianBootstrap,
13
13
  seedGuardianTokenFromSiblingEnv,
14
14
  } from "../lib/guardian-token.js";
15
- import { resolveProcessState, stopProcessByPidFile, isProcessAlive } from "../lib/process";
15
+ import {
16
+ probeDaemonReadinessWithRetry,
17
+ waitForDaemonMigrationsReady,
18
+ } from "../lib/http-client.js";
19
+ import {
20
+ isProcessAlive,
21
+ resolveProcessState,
22
+ stopProcessByPidFile,
23
+ } from "../lib/process";
16
24
  import {
17
25
  generateLocalSigningKey,
18
26
  isAssistantWatchModeAvailable,
@@ -109,13 +117,23 @@ export async function wake(): Promise<void> {
109
117
 
110
118
  const pidFile = getDaemonPidPath(resources);
111
119
 
120
+ // Budget anchor for the migration-coordination wait below: the host
121
+ // wrapper (packages/local-mode/src/wake.ts WAKE_TIMEOUT_MS) SIGTERMs wake
122
+ // after 180s, and the hung-daemon health wait + post-spawn wait + gateway
123
+ // start can already consume most of that.
124
+ const wakeStartedAt = Date.now();
125
+
112
126
  let daemonRunning = false;
127
+ let daemonUnready = false;
128
+ let daemonMigrationsFailed = false;
113
129
  const daemonState = await resolveProcessState(
114
130
  pidFile,
115
131
  resources.daemonPort,
116
132
  "Assistant",
133
+ 60_000,
134
+ "readyz",
117
135
  );
118
- if (daemonState.status === "healthy") {
136
+ if (daemonState.status !== "needs_start") {
119
137
  if (watch && isAssistantWatchModeAvailable()) {
120
138
  console.log(
121
139
  `Assistant running (pid ${daemonState.pid}) — restarting in watch mode...`,
@@ -123,10 +141,20 @@ export async function wake(): Promise<void> {
123
141
  await stopProcessByPidFile(pidFile, "assistant");
124
142
  } else {
125
143
  daemonRunning = true;
144
+ daemonUnready = daemonState.status !== "healthy";
145
+ daemonMigrationsFailed = daemonState.status === "migration_failed";
126
146
  if (watch) {
127
147
  console.log(
128
148
  `Assistant running (pid ${daemonState.pid}) — watch mode not available (no source files). Keeping existing process.`,
129
149
  );
150
+ } else if (daemonMigrationsFailed) {
151
+ console.log(
152
+ `Assistant running (pid ${daemonState.pid}) but its database migrations failed.`,
153
+ );
154
+ } else if (daemonUnready) {
155
+ console.log(
156
+ `Assistant running (pid ${daemonState.pid}) — database migrations still running.`,
157
+ );
130
158
  } else {
131
159
  console.log(`Assistant already running (pid ${daemonState.pid}).`);
132
160
  }
@@ -189,6 +217,13 @@ export async function wake(): Promise<void> {
189
217
  startCes(watch, resources),
190
218
  startLocalDaemon(watch, resources, { foreground, signingKey }),
191
219
  ]);
220
+ // startLocalDaemon's post-spawn wait is bounded (60s) — a longer
221
+ // migration outlives it. Classify the fresh spawn the same way the
222
+ // attach path does, so the gateway-coordination wait below applies to
223
+ // both paths and wake's closing summary stays honest.
224
+ const readiness = await probeDaemonReadinessWithRetry(resources.daemonPort);
225
+ daemonUnready = readiness === "migrating";
226
+ daemonMigrationsFailed = readiness === "failed";
192
227
  } else {
193
228
  // Self-heal: the daemon is already healthy, but the CES sibling may have
194
229
  // died independently (crash, OOM kill). A dead ces.pid under a live daemon
@@ -205,6 +240,7 @@ export async function wake(): Promise<void> {
205
240
  }
206
241
 
207
242
  // Start gateway
243
+ let gatewayStarted = false;
208
244
  {
209
245
  const vellumDir = join(resources.instanceDir, ".vellum");
210
246
  const gatewayPidFile = join(vellumDir, "gateway.pid");
@@ -231,6 +267,7 @@ export async function wake(): Promise<void> {
231
267
  signingKey,
232
268
  bootstrapSecret,
233
269
  });
270
+ gatewayStarted = true;
234
271
  } else if (gatewayAlive) {
235
272
  if (watch && isGatewayWatchModeAvailable()) {
236
273
  console.log(
@@ -238,6 +275,7 @@ export async function wake(): Promise<void> {
238
275
  );
239
276
  await stopProcessByPidFile(gatewayPidFile, "gateway");
240
277
  await startGateway(watch, resources, { signingKey, bootstrapSecret });
278
+ gatewayStarted = true;
241
279
  } else {
242
280
  if (watch) {
243
281
  console.log(
@@ -249,6 +287,32 @@ export async function wake(): Promise<void> {
249
287
  }
250
288
  } else {
251
289
  await startGateway(watch, resources, { signingKey, bootstrapSecret });
290
+ gatewayStarted = true;
291
+ }
292
+ }
293
+
294
+ // A freshly-(re)started gateway refuses all non-probe traffic until the
295
+ // daemon reports migration readiness, so consumers that act right after
296
+ // wake (the web connect-repair retry, the guardian re-provision below)
297
+ // would hit its closed gate. When the daemon is migrating AND the gateway
298
+ // was just started (or a guardian repair was requested), wait out the
299
+ // migration — capped at 60s and at whatever budget remains before the
300
+ // 180s host-wrapper SIGTERM (30s headroom kept), since earlier bounded
301
+ // waits may already have consumed most of it. Fast path (gateway already
302
+ // serving, no repair) stays ~1s.
303
+ if (
304
+ daemonUnready &&
305
+ !daemonMigrationsFailed &&
306
+ (gatewayStarted || repairGuardian)
307
+ ) {
308
+ const waitBudgetMs = Math.min(60_000, wakeStartedAt + 150_000 - Date.now());
309
+ if (waitBudgetMs > 0) {
310
+ const readiness = await waitForDaemonMigrationsReady(
311
+ resources.daemonPort,
312
+ Date.now() + waitBudgetMs,
313
+ );
314
+ daemonUnready = readiness !== "ready";
315
+ daemonMigrationsFailed = readiness === "failed";
252
316
  }
253
317
  }
254
318
 
@@ -295,6 +359,11 @@ export async function wake(): Promise<void> {
295
359
  console.warn(
296
360
  ` Guardian token re-provision failed after ${maxAttempts} attempts: ${err}`,
297
361
  );
362
+ // The user explicitly confirmed this destructive repair — a
363
+ // success exit here would make callers (the web recovery flow)
364
+ // treat a repair that never ran as done and drop their cached
365
+ // gateway token. Surface the failure through the exit code.
366
+ process.exitCode = 1;
298
367
  }
299
368
  }
300
369
  }
@@ -311,6 +380,15 @@ export async function wake(): Promise<void> {
311
380
  writeFileSync(ngrokPidFile, String(ngrokChild.pid));
312
381
  }
313
382
 
383
+ if (daemonMigrationsFailed) {
384
+ console.log(
385
+ "Assistant database migrations FAILED — DB-backed routes will return 503 until the assistant is restarted. Check the daemon logs.",
386
+ );
387
+ } else if (daemonUnready) {
388
+ console.log(
389
+ "Assistant is still running database migrations; DB-backed routes return 503 until they finish.",
390
+ );
391
+ }
314
392
  console.log("Wake complete.");
315
393
 
316
394
  if (foreground) {
@@ -0,0 +1,104 @@
1
+ import { mkdtempSync, rmSync, writeFileSync, existsSync, mkdirSync } from "node:fs";
2
+ import { tmpdir } from "node:os";
3
+ import { join } from "node:path";
4
+ import { afterAll, beforeAll, describe, expect, mock, test } from "bun:test";
5
+
6
+ import { startCes } from "../local.js";
7
+
8
+ // ---------------------------------------------------------------------------
9
+ // Mocks
10
+ // ---------------------------------------------------------------------------
11
+
12
+ // Capture spawn calls so we can assert on cmd/env.
13
+ let lastSpawnCall: {
14
+ cmd: string[];
15
+ options: { detached?: boolean; env?: Record<string, string | undefined>; cwd?: string };
16
+ } | null = null;
17
+
18
+ mock.module("node:child_process", () => ({
19
+ spawn: mock((cmd: string, args: string[], options: object) => {
20
+ lastSpawnCall = { cmd: [cmd, ...args], options };
21
+ // Return a fake subprocess with a pid and no-op methods.
22
+ return {
23
+ pid: 42,
24
+ unref: () => {},
25
+ stdout: { on: () => {} },
26
+ stderr: { on: () => {} },
27
+ on: () => {},
28
+ };
29
+ }),
30
+ execSync: () => "",
31
+ execFileSync: () => "",
32
+ spawnSync: () => ({ status: 0, stdout: "", stderr: "" }),
33
+ }));
34
+
35
+ // Mock xdg-log so we don't open real log files.
36
+ mock.module("../xdg-log.js", () => ({
37
+ openLogFile: mock(() => 42),
38
+ pipeToLogFile: mock(() => {}),
39
+ }));
40
+
41
+ // Mock process helpers so stopProcessByPidFile is a no-op.
42
+ mock.module("../process.js", () => ({
43
+ stopProcessByPidFile: mock(async () => {}),
44
+ isProcessAlive: mock(() => false),
45
+ stopProcessGracefully: mock(async () => {}),
46
+ }));
47
+
48
+ // ---------------------------------------------------------------------------
49
+ // Tests
50
+ // ---------------------------------------------------------------------------
51
+
52
+ describe("startCes", () => {
53
+ let tempDir: string;
54
+
55
+ beforeAll(() => {
56
+ tempDir = mkdtempSync(join(tmpdir(), "ces-test-"));
57
+ });
58
+
59
+ afterAll(() => {
60
+ rmSync(tempDir, { recursive: true, force: true });
61
+ });
62
+
63
+ test("spawns CES with correct env vars and writes PID file", async () => {
64
+ // Create the socket path before calling startCes so the wait loop exits.
65
+ // startCes unlinks it first, then waits for it to reappear. We create it
66
+ // after a short delay to simulate CES binding the socket.
67
+ const resources = {
68
+ instanceDir: tempDir,
69
+ name: "test-assistant",
70
+ } as unknown as Parameters<typeof startCes>[1];
71
+
72
+ // Create the socket file asynchronously after startCes unlinks it.
73
+ // We use a small setTimeout to create it during the wait loop.
74
+ const vellumDir = join(tempDir, ".vellum");
75
+ mkdirSync(vellumDir, { recursive: true });
76
+
77
+ // Pre-create the socket so it exists when startCes checks after unlinking.
78
+ // startCes unlinks the stale socket, then polls for it. We create it with
79
+ // a slight delay so the poll catches it.
80
+ setTimeout(() => {
81
+ const socketDir = join(vellumDir, "workspace");
82
+ mkdirSync(socketDir, { recursive: true });
83
+ writeFileSync(join(socketDir, "ces.sock"), "");
84
+ }, 50);
85
+
86
+ lastSpawnCall = null;
87
+ await startCes(false, resources);
88
+
89
+ // Verify spawn was called
90
+ expect(lastSpawnCall).not.toBeNull();
91
+ expect(lastSpawnCall!.options.detached).toBe(true);
92
+
93
+ // Verify env vars
94
+ const env = lastSpawnCall!.options.env!;
95
+ expect(env["CES_STANDALONE"]).toBe("1");
96
+ expect(env["CES_LOCAL_SOCKET"]).toBeDefined();
97
+ expect(env["CREDENTIAL_SECURITY_DIR"]).toBeDefined();
98
+ expect(env["VELLUM_WORKSPACE_DIR"]).toBeDefined();
99
+
100
+ // Verify PID file was written
101
+ const cesPidFile = join(vellumDir, "ces.pid");
102
+ expect(existsSync(cesPidFile)).toBe(true);
103
+ }, 15_000);
104
+ });
@@ -9,10 +9,7 @@ import {
9
9
  import { homedir } from "os";
10
10
  import { dirname, join } from "path";
11
11
 
12
- import {
13
- loadGuardianToken,
14
- refreshGuardianToken,
15
- } from "./guardian-token.js";
12
+ import { loadGuardianToken, refreshGuardianToken } from "./guardian-token.js";
16
13
  import { loopbackSafeFetch } from "./loopback-fetch.js";
17
14
 
18
15
  /** Default backup directory following XDG convention */
@@ -63,28 +60,35 @@ export async function createBackup(
63
60
  try {
64
61
  let accessToken = await getGuardianAccessToken(runtimeUrl, assistantId);
65
62
  if (!accessToken) {
66
- console.warn("Warning: backup skipped — no valid guardian token available");
63
+ console.warn(
64
+ "Warning: backup skipped — no valid guardian token available",
65
+ );
67
66
  return null;
68
67
  }
69
68
 
70
- let response = await loopbackSafeFetch(`${runtimeUrl}/v1/migrations/export`, {
71
- method: "POST",
72
- headers: {
73
- Authorization: `Bearer ${accessToken}`,
74
- "Content-Type": "application/json",
69
+ let response = await loopbackSafeFetch(
70
+ `${runtimeUrl}/v1/migrations/export`,
71
+ {
72
+ method: "POST",
73
+ headers: {
74
+ Authorization: `Bearer ${accessToken}`,
75
+ "Content-Type": "application/json",
76
+ },
77
+ body: JSON.stringify({
78
+ description: options?.description ?? "CLI backup",
79
+ }),
80
+ signal: AbortSignal.timeout(120_000),
75
81
  },
76
- body: JSON.stringify({
77
- description: options?.description ?? "CLI backup",
78
- }),
79
- signal: AbortSignal.timeout(120_000),
80
- });
82
+ );
81
83
 
82
84
  // Retry once with a refreshed token on 401 — the cached token may be
83
85
  // stale after a container restart that regenerated the gateway signing key.
84
86
  if (response.status === 401) {
85
87
  const refreshed = await refreshGuardianToken(runtimeUrl, assistantId);
86
88
  if (!refreshed) {
87
- console.warn(`Warning: backup export failed (401) and token refresh failed`);
89
+ console.warn(
90
+ `Warning: backup export failed (401) and token refresh failed`,
91
+ );
88
92
  return null;
89
93
  }
90
94
  accessToken = refreshed.accessToken;
@@ -149,19 +153,24 @@ export async function restoreBackup(
149
153
  const bundleData = readFileSync(backupPath);
150
154
  let accessToken = await getGuardianAccessToken(runtimeUrl, assistantId);
151
155
  if (!accessToken) {
152
- console.warn("Warning: restore skipped — no valid guardian token available");
156
+ console.warn(
157
+ "Warning: restore skipped — no valid guardian token available",
158
+ );
153
159
  return false;
154
160
  }
155
161
 
156
- let response = await loopbackSafeFetch(`${runtimeUrl}/v1/migrations/import`, {
157
- method: "POST",
158
- headers: {
159
- Authorization: `Bearer ${accessToken}`,
160
- "Content-Type": "application/octet-stream",
161
- },
162
- body: bundleData,
163
- signal: AbortSignal.timeout(120_000),
164
- });
162
+ const postImport = () =>
163
+ loopbackSafeFetch(`${runtimeUrl}/v1/migrations/import`, {
164
+ method: "POST",
165
+ headers: {
166
+ Authorization: `Bearer ${accessToken}`,
167
+ "Content-Type": "application/octet-stream",
168
+ },
169
+ body: bundleData,
170
+ signal: AbortSignal.timeout(120_000),
171
+ });
172
+
173
+ let response = await postImport();
165
174
 
166
175
  // Retry once with a refreshed token on 401 — the cached token may be
167
176
  // stale after a container restart that regenerated the gateway signing key.
@@ -172,19 +181,33 @@ export async function restoreBackup(
172
181
  return false;
173
182
  }
174
183
  accessToken = refreshed.accessToken;
175
- response = await loopbackSafeFetch(`${runtimeUrl}/v1/migrations/import`, {
176
- method: "POST",
177
- headers: {
178
- Authorization: `Bearer ${accessToken}`,
179
- "Content-Type": "application/octet-stream",
180
- },
181
- body: bundleData,
182
- signal: AbortSignal.timeout(120_000),
183
- });
184
+ response = await postImport();
184
185
  }
185
186
 
186
- if (!response.ok) {
187
+ // A freshly-(re)started gateway 503s {status:"starting"} for a couple of
188
+ // seconds until its own assistant poll observes the migration state and
189
+ // opens the traffic gate — retry through that window rather than failing
190
+ // the recovery. The daemon's running-migrations 503 carries a `reason`
191
+ // field and is excluded: the import must not race an in-flight migration.
192
+ const startingGateDeadline = Date.now() + 15_000;
193
+ while (!response.ok) {
187
194
  const body = await response.text();
195
+ let gatewayStarting = false;
196
+ try {
197
+ const parsed = JSON.parse(body) as {
198
+ status?: string;
199
+ reason?: string;
200
+ };
201
+ gatewayStarting =
202
+ parsed.status === "starting" && parsed.reason === undefined;
203
+ } catch {
204
+ // Non-JSON error body — not the starting gate.
205
+ }
206
+ if (gatewayStarting && Date.now() < startingGateDeadline) {
207
+ await new Promise((r) => setTimeout(r, 1_000));
208
+ response = await postImport();
209
+ continue;
210
+ }
188
211
  console.warn(`Warning: restore failed (${response.status}): ${body}`);
189
212
  return false;
190
213
  }
package/src/lib/docker.ts CHANGED
@@ -23,7 +23,10 @@ import { buildHatchConfigValues, writeInitialConfig } from "./config-utils";
23
23
  import { buildServiceRunArgs } from "./statefulset.js";
24
24
  import type { Species } from "./constants";
25
25
  import { getOrCreateHostDeviceId } from "./device-id.js";
26
- import { ASSISTANT_INTERNAL_PORT, getDefaultPorts } from "./environments/paths.js";
26
+ import {
27
+ ASSISTANT_INTERNAL_PORT,
28
+ getDefaultPorts,
29
+ } from "./environments/paths.js";
27
30
  import { getCurrentEnvironment } from "./environments/resolve.js";
28
31
  import { leaseGuardianToken } from "./guardian-token";
29
32
  import { logHatchNextSteps } from "./hatch-next-steps.js";
@@ -68,6 +71,7 @@ export {
68
71
  ASSISTANT_INTERNAL_PORT,
69
72
  GATEWAY_INTERNAL_PORT,
70
73
  } from "./environments/paths.js";
74
+ import { classifyReadyzResponse } from "./http-client.js";
71
75
  import { loopbackSafeFetch } from "./loopback-fetch.js";
72
76
 
73
77
  /** Max time to wait for the assistant container to emit the readiness sentinel. */
@@ -953,7 +957,8 @@ function startFileWatcher(opts: {
953
957
  netnsContainer?: string;
954
958
  assistantCaCertPath?: string;
955
959
  }): () => void {
956
- const { gatewayPort, assistantPort, imageTags, instanceName, repoRoot, res } = opts;
960
+ const { gatewayPort, assistantPort, imageTags, instanceName, repoRoot, res } =
961
+ opts;
957
962
 
958
963
  const { dirs: watchDirs, files: watchFiles } = collectWatchTargets(repoRoot);
959
964
 
@@ -1487,19 +1492,24 @@ export async function hatchDocker(params: HatchDockerParams): Promise<void> {
1487
1492
 
1488
1493
  emitProgress(6, 6, "Waiting for services...");
1489
1494
  const waitDetached = watch ? false : detached;
1490
- const { ready, guardianAccessToken } = await waitForGatewayAndLease({
1491
- bootstrapSecret: ownSecret,
1492
- containerName: res.assistantContainer,
1493
- detached: waitDetached,
1494
- instanceName,
1495
- logFd,
1496
- runtimeUrl,
1497
- containersUpAt,
1498
- analyze: params.analyze ?? false,
1499
- });
1495
+ const { ready, guardianAccessToken, notReadyReason } =
1496
+ await waitForGatewayAndLease({
1497
+ bootstrapSecret: ownSecret,
1498
+ containerName: res.assistantContainer,
1499
+ detached: waitDetached,
1500
+ instanceName,
1501
+ logFd,
1502
+ runtimeUrl,
1503
+ containersUpAt,
1504
+ analyze: params.analyze ?? false,
1505
+ });
1500
1506
 
1501
1507
  if (!ready && !(watch && repoRoot)) {
1502
- throw new Error("Timed out waiting for assistant to become ready");
1508
+ throw new Error(
1509
+ notReadyReason === "migrations_failed"
1510
+ ? "Assistant database migrations failed — the container is running but DB-backed routes are unavailable; check its logs and restore a backup or retry the migration"
1511
+ : "Timed out waiting for assistant to become ready",
1512
+ );
1503
1513
  }
1504
1514
 
1505
1515
  if (ready) {
@@ -1601,7 +1611,13 @@ async function waitForGatewayAndLease(opts: {
1601
1611
  runtimeUrl: string;
1602
1612
  containersUpAt: number;
1603
1613
  analyze: boolean;
1604
- }): Promise<{ ready: boolean; guardianAccessToken?: string }> {
1614
+ }): Promise<{
1615
+ ready: boolean;
1616
+ guardianAccessToken?: string;
1617
+ /** Present when readiness was not reached because migrations terminally
1618
+ * failed (returned in seconds, unlike an actual timeout). */
1619
+ notReadyReason?: "migrations_failed";
1620
+ }> {
1605
1621
  const {
1606
1622
  bootstrapSecret,
1607
1623
  containerName,
@@ -1675,24 +1691,34 @@ async function waitForGatewayAndLease(opts: {
1675
1691
  const readyUrl = `${runtimeUrl}/readyz`;
1676
1692
  const start = containersUpAt;
1677
1693
  let ready = false;
1694
+ let migrationsFailed = false;
1678
1695
 
1696
+ // Readiness is classified from the /readyz BODY: the assistant returns 200
1697
+ // with `ready: false` while DB migrations run (the k8s keep-the-pod
1698
+ // contract), so `resp.ok` alone would declare readiness mid-migration and
1699
+ // the guardian token lease below would burn its shared budget against the
1700
+ // gateway's still-closed traffic gate.
1679
1701
  while (Date.now() - start < DOCKER_READY_TIMEOUT_MS) {
1680
1702
  try {
1681
1703
  const resp = await loopbackSafeFetch(readyUrl, {
1682
1704
  signal: AbortSignal.timeout(5000),
1683
1705
  });
1684
- if (resp.ok) {
1706
+ const body = (await resp.json().catch(() => null)) as {
1707
+ status?: string;
1708
+ upstream?: number;
1709
+ } | null;
1710
+ const readiness = classifyReadyzResponse(resp.ok, body);
1711
+ if (readiness === "ready") {
1685
1712
  ready = true;
1686
1713
  break;
1687
1714
  }
1688
- const body = await resp.text();
1689
- let detail = "";
1690
- try {
1691
- const json = JSON.parse(body);
1692
- const parts = [json.status];
1693
- if (json.upstream != null) parts.push(`upstream=${json.upstream}`);
1694
- detail = ` — ${parts.join(", ")}`;
1695
- } catch {}
1715
+ if (readiness === "failed") {
1716
+ migrationsFailed = true;
1717
+ break;
1718
+ }
1719
+ const parts = [body?.status].filter(Boolean);
1720
+ if (body?.upstream != null) parts.push(`upstream=${body.upstream}`);
1721
+ const detail = parts.length > 0 ? ` — ${parts.join(", ")}` : "";
1696
1722
  log(`Readiness check: ${resp.status}${detail} (retrying...)`);
1697
1723
  } catch {
1698
1724
  // Connection refused / timeout — not up yet
@@ -1702,11 +1728,20 @@ async function waitForGatewayAndLease(opts: {
1702
1728
 
1703
1729
  if (!ready) {
1704
1730
  log("");
1705
- log(` \u26a0\ufe0f Timed out waiting for assistant to become ready.`);
1731
+ if (migrationsFailed) {
1732
+ log(` \u26a0\ufe0f Assistant database migrations FAILED.`);
1733
+ } else {
1734
+ log(` \u26a0\ufe0f Timed out waiting for assistant to become ready.`);
1735
+ }
1706
1736
  log(` The container is still running.`);
1707
1737
  log(` Check logs with: docker logs -f ${containerName}`);
1708
1738
  log("");
1709
- return { ready: false };
1739
+ return {
1740
+ ready: false,
1741
+ ...(migrationsFailed
1742
+ ? { notReadyReason: "migrations_failed" as const }
1743
+ : {}),
1744
+ };
1710
1745
  }
1711
1746
 
1712
1747
  const readyAt = Date.now();