@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.
- package/node_modules/@vellumai/environments/tsconfig.json +1 -1
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/package.json +18 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/__tests__/package-boundary.test.ts +95 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/index.ts +11 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/seeds.ts +70 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/types.ts +70 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/tsconfig.json +20 -0
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/README.md +18 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/locales/package.json +1 -2
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/mini/package.json +1 -2
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/package.json +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/all-errors.test.ts +3 -3
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/object.test.ts +5 -5
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/partials.test.ts +3 -3
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/errors.ts +2 -2
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/external.ts +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/from-json-schema.ts +23 -39
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/parse.ts +6 -6
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/schemas.ts +151 -414
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/assignability.test.ts +0 -6
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/catch.test.ts +0 -50
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/codec.test.ts +1 -142
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/continuability.test.ts +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/datetime.test.ts +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/default.test.ts +0 -44
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/discriminated-unions.test.ts +1 -34
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/error-utils.test.ts +2 -214
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/from-json-schema.test.ts +0 -161
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/function.test.ts +6 -6
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/index.test.ts +2 -2
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/number.test.ts +0 -55
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/object.test.ts +6 -83
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/optional.test.ts +4 -114
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/partial.test.ts +1 -24
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/prefault.test.ts +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/preprocess.test.ts +0 -69
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/record.test.ts +0 -85
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/recursive-types.test.ts +0 -49
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/refine.test.ts +0 -63
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/string.test.ts +1 -50
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/template-literal.test.ts +4 -4
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/to-json-schema.test.ts +15 -150
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/transform.test.ts +0 -17
- package/node_modules/@vellumai/local-mode/node_modules/zod/src/v4/classic/tests/tuple.test.ts +183 -0
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/union.test.ts +0 -54
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/api.ts +6 -31
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/checks.ts +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/core.ts +2 -17
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/errors.ts +24 -31
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/json-schema-processors.ts +18 -17
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/parse.ts +7 -7
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/regexes.ts +1 -8
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/schemas.ts +71 -263
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/uz.test.ts +0 -22
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/record-constructor.test.ts +0 -58
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/to-json-schema.ts +1 -10
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/util.ts +35 -52
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/versions.ts +2 -2
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/en.ts +0 -4
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/fr.ts +8 -24
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/index.ts +0 -3
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/it.ts +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ka.ts +8 -8
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/uz.ts +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/external.ts +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/schemas.ts +25 -56
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/codec.test.ts +0 -19
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/index.test.ts +2 -32
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/object.test.ts +9 -9
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/recursive-types.test.ts +1 -51
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/string.test.ts +0 -5
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/package.json +1 -2
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/errors.js +2 -2
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/external.d.cts +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/external.d.ts +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/from-json-schema.cjs +16 -31
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/from-json-schema.js +16 -31
- package/node_modules/@vellumai/local-mode/node_modules/zod/v4/classic/package.json +6 -0
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/schemas.cjs +119 -358
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/schemas.d.cts +14 -42
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/schemas.d.ts +14 -42
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/schemas.js +118 -356
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/api.cjs +2 -7
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/api.d.cts +5 -26
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/api.d.ts +5 -26
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/api.js +2 -7
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/checks.d.cts +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/checks.d.ts +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/core.cjs +1 -3
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/core.js +2 -4
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/errors.cjs +23 -26
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/errors.d.cts +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/errors.d.ts +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/errors.js +23 -26
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-processors.cjs +20 -16
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-processors.js +20 -16
- package/node_modules/@vellumai/local-mode/node_modules/zod/v4/core/package.json +6 -0
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/parse.cjs +7 -7
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/parse.js +7 -7
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/regexes.cjs +3 -9
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/regexes.d.cts +0 -6
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/regexes.d.ts +0 -6
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/regexes.js +1 -7
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/schemas.cjs +65 -211
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/schemas.d.cts +1 -39
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/schemas.d.ts +1 -39
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/schemas.js +64 -210
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/to-json-schema.cjs +1 -12
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/to-json-schema.js +1 -12
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/util.cjs +30 -54
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/util.d.cts +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/util.d.ts +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/util.js +32 -55
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/versions.cjs +2 -2
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/versions.d.cts +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/versions.d.ts +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/versions.js +2 -2
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/en.cjs +0 -4
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/en.js +0 -4
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr.cjs +7 -24
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr.js +7 -24
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/index.cjs +1 -8
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/index.d.cts +0 -3
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/index.d.ts +0 -3
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/index.js +0 -3
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/it.cjs +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/it.js +1 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ka.cjs +8 -8
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ka.js +8 -8
- package/node_modules/@vellumai/local-mode/node_modules/zod/v4/locales/package.json +6 -0
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uz.cjs +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uz.js +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/external.d.cts +0 -1
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/external.d.ts +0 -1
- package/node_modules/@vellumai/local-mode/node_modules/zod/v4/mini/package.json +6 -0
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/schemas.cjs +4 -41
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/schemas.d.cts +10 -28
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/schemas.d.ts +10 -28
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/schemas.js +4 -40
- package/node_modules/@vellumai/local-mode/node_modules/zod/v4/package.json +6 -0
- package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4-mini/package.json +1 -2
- package/node_modules/@vellumai/local-mode/src/status.ts +84 -7
- package/node_modules/@vellumai/local-mode/tsconfig.json +1 -1
- package/package.json +1 -2
- package/src/__tests__/daemon-readiness-probe.test.ts +158 -0
- package/src/__tests__/provider-inference-parity.test.ts +57 -0
- package/src/__tests__/recover.test.ts +5 -1
- package/src/__tests__/upgrade-local.test.ts +4 -0
- package/src/__tests__/upgrade-wait-for-ready.test.ts +103 -0
- package/src/commands/restore.ts +31 -8
- package/src/commands/upgrade.ts +33 -2
- package/src/commands/wake.ts +80 -2
- package/src/lib/__tests__/local-ces.test.ts +104 -0
- package/src/lib/backup-ops.ts +59 -36
- package/src/lib/docker.ts +60 -25
- package/src/lib/http-client.ts +107 -11
- package/src/lib/local.ts +157 -74
- package/src/lib/process.ts +70 -30
- package/src/lib/provider-secrets.ts +40 -7
- package/src/lib/upgrade-lifecycle.ts +129 -25
- package/src/shared/provider-env-vars.ts +1 -0
- package/tsconfig.json +1 -1
- package/bun.lock +0 -411
- package/bunfig.toml +0 -6
- package/node_modules/@vellumai/environments/bun.lock +0 -24
- package/node_modules/@vellumai/local-mode/bun.lock +0 -32
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -197
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -39
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -46
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -26
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -496
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -215
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
- package/node_modules/zod/src/v4/locales/el.ts +0 -121
- package/node_modules/zod/src/v4/locales/hr.ts +0 -131
- package/node_modules/zod/src/v4/locales/ro.ts +0 -129
- package/node_modules/zod/v4/classic/package.json +0 -7
- package/node_modules/zod/v4/core/package.json +0 -7
- package/node_modules/zod/v4/locales/el.cjs +0 -136
- package/node_modules/zod/v4/locales/el.d.cts +0 -5
- package/node_modules/zod/v4/locales/el.d.ts +0 -4
- package/node_modules/zod/v4/locales/el.js +0 -109
- package/node_modules/zod/v4/locales/hr.cjs +0 -149
- package/node_modules/zod/v4/locales/hr.d.cts +0 -5
- package/node_modules/zod/v4/locales/hr.d.ts +0 -4
- package/node_modules/zod/v4/locales/hr.js +0 -122
- package/node_modules/zod/v4/locales/package.json +0 -7
- package/node_modules/zod/v4/locales/ro.cjs +0 -146
- package/node_modules/zod/v4/locales/ro.d.cts +0 -5
- package/node_modules/zod/v4/locales/ro.d.ts +0 -4
- package/node_modules/zod/v4/locales/ro.js +0 -119
- package/node_modules/zod/v4/mini/package.json +0 -7
- package/node_modules/zod/v4/package.json +0 -7
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/LICENSE +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/index.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/index.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/index.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/index.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/locales/index.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/locales/index.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/locales/index.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/locales/index.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/mini/index.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/mini/index.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/mini/index.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/mini/index.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/index.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/locales/index.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/mini/index.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/ZodError.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/datetime.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/discriminatedUnion.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/index.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/ipv4.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/object.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/primitives.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/realworld.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/string.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/benchmarks/union.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/errors.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/external.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/enumUtil.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/errorUtil.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/parseUtil.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/partialUtil.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/typeAliases.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/helpers/util.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/index.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/locales/en.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/standard-schema.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/Mocker.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/anyunknown.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/array.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/async-parsing.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/async-refinements.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/base.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/bigint.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/branded.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/catch.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/coerce.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/complex.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/custom.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/date.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/deepmasking.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/default.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/description.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/discriminated-unions.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/enum.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/error.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/firstparty.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/firstpartyschematypes.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/function.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/generics.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/instanceof.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/intersection.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/language-server.source.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/language-server.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/literal.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/map.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/masking.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/mocker.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/nan.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/nativeEnum.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/nullable.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/number.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/object-augmentation.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/object-in-es5-env.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/optional.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/parseUtil.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/parser.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/pickomit.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/pipeline.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/preprocess.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/primitive.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/promise.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/readonly.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/record.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/recursive.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/refine.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/safeparse.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/set.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/standard-schema.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/string.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/transformer.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/tuple.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/unions.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/validations.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/tests/void.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v3/types.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/checks.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/coerce.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/compat.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/index.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/iso.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/anyunknown.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/apply.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/array.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/async-parsing.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/async-refinements.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/base.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/bigint.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/brand.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/coalesce.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/codec-examples.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/coerce.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/custom.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/date.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/describe-meta-checks.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/description.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/enum.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/error.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/file.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/firstparty.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/fix-json-issue.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/generics.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/hash.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/instanceof.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/intersection.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/json.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/lazy.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/literal.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/map.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/nan.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/nested-refine.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/nonoptional.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/nullable.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/pickomit.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/pipe.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/primitive.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/promise.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/prototypes.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/readonly.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/registries.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/set.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/standard-schema.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/string-formats.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/stringbool.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/url.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/validations.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/classic/tests/void.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/config.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/doc.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/index.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/json-schema-generator.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/json-schema.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/registries.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/standard-schema.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/extend.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/index.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/be.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/en.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/es.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/he.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/nl.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/ru.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/locales/tr.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/tests/recursive-tuples.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/core/zsf.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/index.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ar.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/az.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/be.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/bg.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ca.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/cs.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/da.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/de.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/eo.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/es.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/fa.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/fi.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/fr-CA.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/he.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/hu.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/hy.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/id.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/is.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ja.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/kh.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/km.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ko.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/lt.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/mk.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ms.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/nl.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/no.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ota.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/pl.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ps.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/pt.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ru.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/sl.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/sv.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ta.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/th.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/tr.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ua.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/uk.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/ur.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/vi.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/yo.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/zh-CN.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/locales/zh-TW.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/checks.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/coerce.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/index.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/iso.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/parse.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/apply.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/assignability.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/brand.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/checks.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/computed.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/error.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/functions.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/number.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/prototypes.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4/mini/tests/standard-schema.test.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/src/v4-mini/index.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/ZodError.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/ZodError.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/ZodError.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/ZodError.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/errors.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/errors.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/errors.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/errors.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/external.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/external.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/external.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/external.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/enumUtil.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/enumUtil.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/enumUtil.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/enumUtil.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/errorUtil.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/errorUtil.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/errorUtil.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/errorUtil.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/parseUtil.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/parseUtil.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/parseUtil.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/parseUtil.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/partialUtil.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/partialUtil.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/partialUtil.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/partialUtil.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/typeAliases.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/typeAliases.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/typeAliases.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/typeAliases.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/util.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/util.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/util.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/helpers/util.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/index.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/index.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/index.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/index.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/locales/en.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/locales/en.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/locales/en.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/locales/en.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/standard-schema.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/standard-schema.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/standard-schema.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/standard-schema.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/types.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/types.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/types.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v3/types.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/checks.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/checks.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/checks.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/checks.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/coerce.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/coerce.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/coerce.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/coerce.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/compat.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/compat.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/compat.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/compat.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/errors.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/errors.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/errors.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/external.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/external.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/from-json-schema.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/from-json-schema.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/index.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/index.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/index.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/index.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/iso.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/iso.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/iso.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/iso.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/parse.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/parse.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/parse.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/classic/parse.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/checks.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/checks.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/core.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/core.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/doc.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/doc.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/doc.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/doc.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/index.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/index.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/index.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/index.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-generator.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-generator.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-generator.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-generator.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-processors.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema-processors.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/json-schema.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/parse.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/parse.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/registries.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/registries.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/registries.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/registries.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/standard-schema.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/standard-schema.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/standard-schema.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/standard-schema.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/to-json-schema.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/core/to-json-schema.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/index.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/index.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/index.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/index.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ar.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ar.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ar.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ar.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/az.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/az.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/az.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/az.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/be.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/be.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/be.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/be.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/bg.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/bg.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/bg.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/bg.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ca.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ca.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ca.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ca.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/cs.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/cs.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/cs.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/cs.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/da.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/da.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/da.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/da.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/de.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/de.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/de.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/de.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/en.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/en.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/eo.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/eo.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/eo.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/eo.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/es.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/es.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/es.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/es.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fa.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fa.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fa.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fa.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fi.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fi.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fi.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fi.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr-CA.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr-CA.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr-CA.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr-CA.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/fr.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/he.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/he.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/he.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/he.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hu.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hu.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hu.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hu.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hy.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hy.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hy.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/hy.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/id.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/id.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/id.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/id.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/is.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/is.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/is.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/is.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/it.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/it.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ja.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ja.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ja.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ja.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ka.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ka.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/kh.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/kh.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/kh.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/kh.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/km.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/km.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/km.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/km.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ko.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ko.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ko.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ko.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/lt.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/lt.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/lt.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/lt.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/mk.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/mk.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/mk.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/mk.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ms.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ms.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ms.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ms.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/nl.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/nl.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/nl.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/nl.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/no.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/no.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/no.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/no.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ota.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ota.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ota.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ota.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pl.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pl.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pl.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pl.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ps.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ps.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ps.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ps.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pt.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pt.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pt.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/pt.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ru.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ru.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ru.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ru.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sl.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sl.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sl.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sl.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sv.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sv.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sv.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/sv.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ta.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ta.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ta.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ta.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/th.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/th.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/th.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/th.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/tr.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/tr.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/tr.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/tr.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ua.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ua.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ua.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ua.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uk.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uk.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uk.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uk.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ur.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ur.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ur.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/ur.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uz.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/uz.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/vi.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/vi.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/vi.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/vi.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/yo.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/yo.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/yo.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/yo.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-CN.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-CN.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-CN.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-CN.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-TW.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-TW.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-TW.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/locales/zh-TW.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/checks.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/checks.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/checks.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/checks.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/coerce.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/coerce.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/coerce.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/coerce.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/external.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/external.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/index.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/index.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/index.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/index.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/iso.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/iso.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/iso.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/iso.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/parse.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/parse.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/parse.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4/mini/parse.js +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4-mini/index.cjs +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4-mini/index.d.cts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4-mini/index.d.ts +0 -0
- /package/node_modules/{zod → @vellumai/local-mode/node_modules/zod}/v4-mini/index.js +0 -0
package/src/commands/wake.ts
CHANGED
|
@@ -12,7 +12,15 @@ import {
|
|
|
12
12
|
resetGuardianBootstrap,
|
|
13
13
|
seedGuardianTokenFromSiblingEnv,
|
|
14
14
|
} from "../lib/guardian-token.js";
|
|
15
|
-
import {
|
|
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
|
|
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
|
+
});
|
package/src/lib/backup-ops.ts
CHANGED
|
@@ -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(
|
|
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(
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
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
|
-
|
|
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(
|
|
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(
|
|
156
|
+
console.warn(
|
|
157
|
+
"Warning: restore skipped — no valid guardian token available",
|
|
158
|
+
);
|
|
153
159
|
return false;
|
|
154
160
|
}
|
|
155
161
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
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
|
|
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
|
-
|
|
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 {
|
|
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 } =
|
|
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 } =
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
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(
|
|
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<{
|
|
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
|
-
|
|
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
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
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
|
-
|
|
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 {
|
|
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();
|