@vellumai/cli 0.11.6 → 0.11.7-staging.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +3 -1
- package/knip.json +1 -0
- package/node_modules/@vellumai/avatar-manifest/package.json +18 -0
- package/node_modules/@vellumai/avatar-manifest/src/__tests__/manifest.test.ts +173 -0
- package/node_modules/@vellumai/avatar-manifest/src/__tests__/read.test.ts +114 -0
- package/node_modules/@vellumai/avatar-manifest/src/index.ts +29 -0
- package/node_modules/@vellumai/avatar-manifest/src/layout.ts +18 -0
- package/node_modules/@vellumai/avatar-manifest/src/manifest.ts +156 -0
- package/node_modules/@vellumai/avatar-manifest/src/read.ts +109 -0
- package/node_modules/@vellumai/avatar-manifest/tsconfig.json +20 -0
- package/node_modules/@vellumai/environments/package.json +2 -1
- package/node_modules/@vellumai/environments/src/shell.test.ts +56 -0
- package/node_modules/@vellumai/environments/src/shell.ts +65 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/avatar-manifest/package.json +18 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/avatar-manifest/src/__tests__/manifest.test.ts +173 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/avatar-manifest/src/__tests__/read.test.ts +114 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/avatar-manifest/src/index.ts +29 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/avatar-manifest/src/layout.ts +18 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/avatar-manifest/src/manifest.ts +156 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/avatar-manifest/src/read.ts +109 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/avatar-manifest/tsconfig.json +20 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/package.json +2 -1
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/shell.test.ts +56 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/environments/src/shell.ts +65 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/LICENSE +21 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/README.md +208 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/index.cjs +33 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/index.d.cts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/index.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/index.js +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/locales/index.cjs +17 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/locales/index.d.cts +1 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/locales/index.js +1 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/locales/package.json +6 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/mini/index.cjs +32 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/mini/index.d.cts +3 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/mini/index.js +3 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/mini/package.json +6 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/package.json +135 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/index.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/locales/index.ts +1 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/mini/index.ts +3 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v3/types.ts +5138 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/checks.ts +32 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/compat.ts +70 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/errors.ts +82 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/external.ts +51 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/from-json-schema.ts +643 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/parse.ts +82 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/schemas.ts +2409 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/catch.test.ts +276 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/codec.test.ts +562 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/default.test.ts +365 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +661 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +595 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +734 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/number.test.ts +270 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/object.test.ts +640 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/optional.test.ts +223 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/partial.test.ts +427 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +282 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/record.test.ts +632 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +582 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/refine.test.ts +570 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/string.test.ts +1175 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2990 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/transform.test.ts +361 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/tuple.test.ts +183 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/union.test.ts +219 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/api.ts +1798 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/checks.ts +1293 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/config.ts +15 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/core.ts +138 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/errors.ts +448 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/index.ts +16 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/json-schema-processors.ts +667 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/json-schema.ts +147 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/parse.ts +195 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/regexes.ts +183 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/schemas.ts +4538 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +83 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +67 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/to-json-schema.ts +613 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/util.ts +966 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/ar.ts +115 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/az.ts +111 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/be.ts +176 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/bg.ts +128 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/ca.ts +116 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/cs.ts +118 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/da.ts +123 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/de.ts +116 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/en.ts +119 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/eo.ts +118 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/es.ts +141 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/fa.ts +126 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/fi.ts +121 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/fr.ts +116 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/he.ts +246 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/hu.ts +117 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/hy.ts +164 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/id.ts +115 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/index.ts +49 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/is.ts +119 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/it.ts +116 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/ja.ts +114 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/ka.ts +123 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/km.ts +119 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/ko.ts +121 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/lt.ts +239 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/mk.ts +118 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/ms.ts +115 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/nl.ts +121 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/no.ts +116 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/ota.ts +117 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/pl.ts +118 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/ps.ts +126 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/pt.ts +116 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/ru.ts +176 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/sl.ts +118 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/sv.ts +119 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/ta.ts +118 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/th.ts +119 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/tr.ts +111 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/uk.ts +117 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/ur.ts +119 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/uz.ts +116 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/vi.ts +117 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/yo.ts +124 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/external.ts +40 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/parse.ts +14 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/schemas.ts +1916 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/tests/codec.test.ts +529 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/tests/index.test.ts +963 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4/mini/tests/string.test.ts +347 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/ZodError.cjs +138 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/ZodError.js +133 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/errors.cjs +17 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/external.cjs +22 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/external.js +6 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/index.cjs +33 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/index.js +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/locales/en.cjs +112 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/package.json +6 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/types.cjs +3777 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/types.d.cts +1034 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/types.d.ts +1034 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v3/types.js +3695 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/checks.cjs +33 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/compat.cjs +61 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/compat.d.cts +50 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/compat.d.ts +50 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/compat.js +31 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/errors.cjs +74 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/errors.js +48 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/external.cjs +73 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/external.d.cts +15 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/external.d.ts +15 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/external.js +20 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/from-json-schema.cjs +610 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/from-json-schema.js +584 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/index.cjs +33 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/iso.js +30 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/package.json +6 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/parse.cjs +41 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/parse.d.cts +31 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/parse.d.ts +31 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/parse.js +15 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/schemas.cjs +1272 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/schemas.d.cts +739 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/schemas.d.ts +739 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/classic/schemas.js +1157 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/api.cjs +1222 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/api.d.cts +304 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/api.d.ts +304 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/api.js +1082 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/checks.cjs +601 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/checks.js +575 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/core.cjs +83 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/core.d.cts +70 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/core.d.ts +70 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/core.js +76 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/doc.cjs +39 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/doc.js +35 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/errors.cjs +213 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/errors.d.cts +220 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/errors.d.ts +220 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/errors.js +182 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/index.cjs +47 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/index.d.cts +16 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/index.d.ts +16 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/index.js +16 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/json-schema-processors.cjs +648 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/json-schema-processors.js +605 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/json-schema.d.cts +88 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/json-schema.d.ts +88 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/package.json +6 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/parse.cjs +131 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/parse.d.cts +49 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/parse.d.ts +49 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/parse.js +93 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/regexes.cjs +166 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/regexes.d.cts +79 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/regexes.d.ts +79 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/regexes.js +133 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/registries.cjs +56 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/schemas.cjs +2124 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/schemas.d.cts +1146 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/schemas.d.ts +1146 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/schemas.js +2093 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/to-json-schema.cjs +446 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/to-json-schema.js +437 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/util.cjs +710 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/util.d.cts +199 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/util.d.ts +199 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/util.js +651 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/versions.cjs +8 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/index.cjs +22 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/index.js +3 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ar.cjs +133 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ar.js +106 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/az.cjs +132 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/az.js +105 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/be.cjs +183 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/be.js +156 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/bg.cjs +147 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/bg.js +120 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ca.cjs +134 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ca.js +107 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/cs.cjs +138 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/cs.js +111 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/da.cjs +142 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/da.js +115 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/de.cjs +135 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/de.js +108 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/en.cjs +136 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/en.js +109 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/eo.cjs +136 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/eo.js +109 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/es.cjs +159 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/es.js +132 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/fa.cjs +141 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/fa.js +114 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/fi.cjs +139 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/fi.js +112 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/fr.cjs +135 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/fr.js +108 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/he.cjs +241 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/he.js +214 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/hu.cjs +135 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/hu.js +108 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/hy.cjs +174 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/hy.js +147 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/id.cjs +133 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/id.js +106 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/index.cjs +104 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/index.d.cts +49 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/index.d.ts +49 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/index.js +49 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/is.cjs +136 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/is.js +109 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/it.cjs +135 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/it.js +108 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ja.cjs +134 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ja.js +107 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ka.cjs +139 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ka.js +112 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/kh.js +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/km.cjs +137 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/km.js +110 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ko.cjs +138 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ko.js +111 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/lt.cjs +230 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/lt.js +203 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/mk.cjs +136 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/mk.js +109 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ms.cjs +134 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ms.js +107 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/nl.cjs +137 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/nl.js +110 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/no.cjs +135 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/no.js +108 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ota.cjs +136 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ota.js +109 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/package.json +6 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/pl.cjs +136 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/pl.js +109 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ps.cjs +141 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ps.js +114 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/pt.cjs +135 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/pt.js +108 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ru.cjs +183 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ru.js +156 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/sl.cjs +136 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/sl.js +109 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/sv.cjs +137 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/sv.js +110 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ta.cjs +137 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ta.js +110 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/th.cjs +137 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/th.js +110 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/tr.cjs +132 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/tr.js +105 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ua.js +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/uk.cjs +135 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/uk.js +108 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ur.cjs +137 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/ur.js +110 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/uz.cjs +136 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/uz.js +109 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/vi.cjs +135 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/vi.js +108 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/yo.cjs +134 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/yo.js +107 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/coerce.cjs +52 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/coerce.js +22 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/external.cjs +63 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/external.d.cts +12 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/external.d.ts +12 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/external.js +14 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/index.cjs +32 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/iso.cjs +64 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/package.json +6 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/parse.cjs +16 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/schemas.cjs +1046 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/schemas.d.cts +427 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/schemas.d.ts +427 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/mini/schemas.js +925 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4/package.json +6 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4-mini/index.cjs +32 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/node_modules/zod/v4-mini/package.json +6 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/package.json +37 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/__tests__/attachment-naming.test.ts +104 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/__tests__/channels.test.ts +36 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/__tests__/contracts.test.ts +299 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/__tests__/conversation-handle.test.ts +316 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/__tests__/ingress.test.ts +280 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/__tests__/package-boundary.test.ts +151 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/__tests__/redacted-credential.test.ts +200 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/__tests__/remote-web-pairing.test.ts +389 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/__tests__/secret-detection.test.ts +449 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/__tests__/stripe-currency.test.ts +37 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/__tests__/url-normalization.test.ts +135 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/attachment-naming.ts +118 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/channels.ts +92 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/client-metadata.ts +46 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/conversation-handle.ts +246 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/credential-rpc.ts +21 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/error.ts +26 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/handles.ts +212 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/index.ts +32 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/ingress.ts +175 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/redacted-credential.ts +226 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/remote-web-pairing.ts +816 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/rpc.ts +408 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/secret-detection.ts +468 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/stripe-currency.ts +55 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/transport.ts +133 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/trust-rules.ts +116 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/twilio-ingress.ts +73 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/src/url-normalization.ts +107 -0
- package/node_modules/@vellumai/local-mode/node_modules/@vellumai/service-contracts/tsconfig.json +20 -0
- package/node_modules/@vellumai/local-mode/package.json +3 -1
- package/node_modules/@vellumai/local-mode/src/__tests__/guardian-token.test.ts +45 -0
- package/node_modules/@vellumai/local-mode/src/__tests__/package-boundary.test.ts +32 -14
- package/node_modules/@vellumai/local-mode/src/__tests__/pair.test.ts +1535 -155
- package/node_modules/@vellumai/local-mode/src/__tests__/status.test.ts +71 -1
- package/node_modules/@vellumai/local-mode/src/avatar.test.ts +404 -0
- package/node_modules/@vellumai/local-mode/src/avatar.ts +151 -0
- package/node_modules/@vellumai/local-mode/src/devices.test.ts +62 -0
- package/node_modules/@vellumai/local-mode/src/devices.ts +12 -0
- package/node_modules/@vellumai/local-mode/src/guardian-token.ts +27 -34
- package/node_modules/@vellumai/local-mode/src/index.ts +26 -3
- package/node_modules/@vellumai/local-mode/src/lockfile-contract.ts +1 -1
- package/node_modules/@vellumai/local-mode/src/lockfile.test.ts +1 -0
- package/node_modules/@vellumai/local-mode/src/lockfile.ts +6 -3
- package/node_modules/@vellumai/local-mode/src/pair.ts +1099 -129
- package/node_modules/@vellumai/local-mode/src/status.ts +67 -22
- package/node_modules/@vellumai/service-contracts/src/__tests__/ingress.test.ts +37 -0
- package/node_modules/@vellumai/service-contracts/src/__tests__/remote-web-pairing.test.ts +389 -0
- package/node_modules/@vellumai/service-contracts/src/ingress.ts +22 -0
- package/node_modules/@vellumai/service-contracts/src/remote-web-pairing.ts +508 -18
- package/node_modules/@vellumai/service-contracts/src/rpc.ts +174 -0
- package/package.json +3 -1
- package/src/__tests__/connect-import.test.ts +512 -172
- package/src/__tests__/detached-process.test.ts +152 -0
- package/src/__tests__/devices.test.ts +12 -0
- package/src/__tests__/hatch-provider-secrets.test.ts +95 -0
- package/src/__tests__/pair.test.ts +319 -305
- package/src/__tests__/provider-secrets.test.ts +158 -0
- package/src/__tests__/tunnel.test.ts +200 -23
- package/src/__tests__/wake.test.ts +51 -1
- package/src/adapters/install.sh +2 -1
- package/src/adapters/openclaw.ts +2 -1
- package/src/commands/client.ts +81 -58
- package/src/commands/connect/import.ts +248 -52
- package/src/commands/connect.ts +1 -1
- package/src/commands/devices.ts +4 -0
- package/src/commands/pair.ts +173 -298
- package/src/commands/tunnel.ts +162 -54
- package/src/commands/voice.ts +370 -0
- package/src/components/DefaultMainScreen.tsx +0 -144
- package/src/index.ts +5 -2
- package/src/lib/detached-process.ts +81 -0
- package/src/lib/docker.ts +21 -4
- package/src/lib/guardian-token.ts +19 -2
- package/src/lib/hatch-local.ts +23 -5
- package/src/lib/live-voice/client.test.ts +316 -0
- package/src/lib/live-voice/client.ts +363 -0
- package/src/lib/live-voice/connection.ts +133 -0
- package/src/lib/live-voice/pcm-player.test.ts +101 -0
- package/src/lib/live-voice/pcm-player.ts +356 -0
- package/src/lib/live-voice/protocol.test.ts +53 -0
- package/src/lib/live-voice/protocol.ts +193 -0
- package/src/lib/local.ts +2 -1
- package/src/lib/provider-secrets.ts +195 -0
- package/src/lib/shell-arg.test.ts +24 -0
- package/src/lib/shell-arg.ts +17 -0
- package/src/lib/tunnel-edge.ts +31 -2
- package/src/shared/provider-env-vars.ts +1 -0
|
@@ -24,6 +24,48 @@ import { buildAppConnectUrl, pair } from "../commands/pair.js";
|
|
|
24
24
|
// Distinct loopback (mint) vs reachable (advertised) URLs to verify the split.
|
|
25
25
|
const LOCAL_URL = "http://127.0.0.1:7830";
|
|
26
26
|
const RUNTIME_URL = "http://192.168.1.50:7830";
|
|
27
|
+
const PUBLIC_URL = "https://pair.example.ts.net";
|
|
28
|
+
|
|
29
|
+
function challengeResponse(baseUrl = PUBLIC_URL): Response {
|
|
30
|
+
return new Response(
|
|
31
|
+
JSON.stringify({
|
|
32
|
+
deviceCode: "device-code",
|
|
33
|
+
userCode: "ABCD-EFGH",
|
|
34
|
+
verificationUri: `${baseUrl}/assistant/pair`,
|
|
35
|
+
expiresAt: "2026-06-04T00:10:00.000Z",
|
|
36
|
+
expiresInSeconds: 600,
|
|
37
|
+
}),
|
|
38
|
+
{ status: 200, headers: { "content-type": "application/json" } },
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function approvalResponse(baseUrl = PUBLIC_URL): Response {
|
|
43
|
+
return new Response(
|
|
44
|
+
JSON.stringify({
|
|
45
|
+
status: "approved",
|
|
46
|
+
verificationUri: `${baseUrl}/assistant/pair`,
|
|
47
|
+
expiresAt: "2026-06-04T00:10:00.000Z",
|
|
48
|
+
}),
|
|
49
|
+
{ status: 200, headers: { "content-type": "application/json" } },
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/** Answer the challenge + verification pair minted over loopback. */
|
|
54
|
+
function stubPairingGateway(
|
|
55
|
+
calls: Array<[string, RequestInit | undefined]>,
|
|
56
|
+
baseUrl = PUBLIC_URL,
|
|
57
|
+
): void {
|
|
58
|
+
globalThis.fetch = (async (url: string, init?: RequestInit) => {
|
|
59
|
+
calls.push([url, init]);
|
|
60
|
+
if (url === `${LOCAL_URL}/v1/remote-web/pairing-challenge`) {
|
|
61
|
+
return challengeResponse(baseUrl);
|
|
62
|
+
}
|
|
63
|
+
if (url === `${LOCAL_URL}/v1/remote-web/pairing-verification`) {
|
|
64
|
+
return approvalResponse(baseUrl);
|
|
65
|
+
}
|
|
66
|
+
return new Response("not found", { status: 404 });
|
|
67
|
+
}) as unknown as typeof fetch;
|
|
68
|
+
}
|
|
27
69
|
|
|
28
70
|
function writeLockfile(): void {
|
|
29
71
|
writeFileSync(
|
|
@@ -66,21 +108,10 @@ describe("pair command", () => {
|
|
|
66
108
|
}
|
|
67
109
|
});
|
|
68
110
|
|
|
69
|
-
test("
|
|
70
|
-
const calls: Array<[string, RequestInit]> = [];
|
|
111
|
+
test("mints a challenge, approves it locally, and prints the link plus a QR", async () => {
|
|
112
|
+
const calls: Array<[string, RequestInit | undefined]> = [];
|
|
71
113
|
const origFetch = globalThis.fetch;
|
|
72
|
-
|
|
73
|
-
calls.push([url, init]);
|
|
74
|
-
return new Response(
|
|
75
|
-
JSON.stringify({
|
|
76
|
-
token: "test-access-token",
|
|
77
|
-
expiresAt: "2026-06-04T00:00:00.000Z",
|
|
78
|
-
guardianId: "guardian-001",
|
|
79
|
-
assistantId: "self",
|
|
80
|
-
}),
|
|
81
|
-
{ status: 200, headers: { "content-type": "application/json" } },
|
|
82
|
-
);
|
|
83
|
-
}) as unknown as typeof fetch;
|
|
114
|
+
stubPairingGateway(calls);
|
|
84
115
|
|
|
85
116
|
const logs: string[] = [];
|
|
86
117
|
const logSpy = spyOn(console, "log").mockImplementation(
|
|
@@ -89,7 +120,7 @@ describe("pair command", () => {
|
|
|
89
120
|
},
|
|
90
121
|
);
|
|
91
122
|
|
|
92
|
-
process.argv = ["bun", "vellum", "pair", "--
|
|
123
|
+
process.argv = ["bun", "vellum", "pair", "--url", PUBLIC_URL];
|
|
93
124
|
try {
|
|
94
125
|
await pair();
|
|
95
126
|
} finally {
|
|
@@ -97,29 +128,224 @@ describe("pair command", () => {
|
|
|
97
128
|
globalThis.fetch = origFetch;
|
|
98
129
|
}
|
|
99
130
|
|
|
100
|
-
// Mint over the loopback
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
131
|
+
// Mint over the loopback gateway, then approve: running this command on
|
|
132
|
+
// the host IS the approval, so the link alone completes the pairing.
|
|
133
|
+
expect(calls.map((c) => c[0])).toEqual([
|
|
134
|
+
`${LOCAL_URL}/v1/remote-web/pairing-challenge`,
|
|
135
|
+
`${LOCAL_URL}/v1/remote-web/pairing-verification`,
|
|
136
|
+
]);
|
|
137
|
+
expect(JSON.parse(calls[0][1]?.body as string)).toEqual({
|
|
138
|
+
publicBaseUrl: PUBLIC_URL,
|
|
139
|
+
});
|
|
140
|
+
expect(JSON.parse(calls[1][1]?.body as string)).toEqual({
|
|
141
|
+
userCode: "ABCD-EFGH",
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
const output = logs.join("\n");
|
|
145
|
+
// One artifact, two renderings: the link and the same link as a QR.
|
|
146
|
+
expect(output).toContain(
|
|
147
|
+
`${PUBLIC_URL}/assistant/pair#device_code=device-code`,
|
|
110
148
|
);
|
|
111
|
-
expect(
|
|
112
|
-
|
|
113
|
-
expect(
|
|
114
|
-
|
|
115
|
-
expect(
|
|
149
|
+
expect(output).toContain("\u2588");
|
|
150
|
+
expect(output).toContain("vellum connect import");
|
|
151
|
+
expect(output).toContain("Expires: 2026-06-04T00:10:00.000Z");
|
|
152
|
+
// The base64 bundle is gone: no blob, and no hand-this-over copy.
|
|
153
|
+
expect(output).not.toContain("Hand this to the other machine");
|
|
154
|
+
expect(output).not.toMatch(/eyJ[A-Za-z0-9+/=]{20,}/);
|
|
155
|
+
});
|
|
156
|
+
|
|
157
|
+
test("--json emits the pairing link, device code, and expiry", async () => {
|
|
158
|
+
const calls: Array<[string, RequestInit | undefined]> = [];
|
|
159
|
+
const origFetch = globalThis.fetch;
|
|
160
|
+
stubPairingGateway(calls);
|
|
161
|
+
|
|
162
|
+
const logs: string[] = [];
|
|
163
|
+
const logSpy = spyOn(console, "log").mockImplementation(
|
|
164
|
+
(...a: unknown[]) => {
|
|
165
|
+
logs.push(a.join(" "));
|
|
166
|
+
},
|
|
167
|
+
);
|
|
168
|
+
|
|
169
|
+
process.argv = ["bun", "vellum", "pair", "--url", PUBLIC_URL, "--json"];
|
|
170
|
+
try {
|
|
171
|
+
await pair();
|
|
172
|
+
} finally {
|
|
173
|
+
logSpy.mockRestore();
|
|
174
|
+
globalThis.fetch = origFetch;
|
|
175
|
+
}
|
|
116
176
|
|
|
117
|
-
// The bundle advertises the REACHABLE runtime URL, not loopback.
|
|
118
177
|
const out = JSON.parse(logs.join("\n"));
|
|
119
|
-
expect(out
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
178
|
+
expect(out).toEqual({
|
|
179
|
+
pairUrl: `${PUBLIC_URL}/assistant/pair#device_code=device-code`,
|
|
180
|
+
deviceCode: "device-code",
|
|
181
|
+
expiresAt: "2026-06-04T00:10:00.000Z",
|
|
182
|
+
expiresInSeconds: 600,
|
|
183
|
+
});
|
|
184
|
+
// The device code rides the fragment only, never the path or query.
|
|
185
|
+
const parsed = new URL(out.pairUrl);
|
|
186
|
+
expect(parsed.search).toBe("");
|
|
187
|
+
expect(parsed.hash).toBe("#device_code=device-code");
|
|
188
|
+
// No credential ever reaches the output.
|
|
189
|
+
expect(logs.join("\n")).not.toContain("token");
|
|
190
|
+
});
|
|
191
|
+
|
|
192
|
+
test("--qr is a silent no-op, identical to a flagless run", async () => {
|
|
193
|
+
// Shipped iOS builds tell users to run `vellum pair --qr` (see
|
|
194
|
+
// clients/ios/App/App/Settings.bundle/Root.plist), copy those installs can
|
|
195
|
+
// never receive an update for, so the flag stays accepted and ignored.
|
|
196
|
+
const origFetch = globalThis.fetch;
|
|
197
|
+
|
|
198
|
+
async function runPair(argv: string[]): Promise<{
|
|
199
|
+
urls: string[];
|
|
200
|
+
output: string;
|
|
201
|
+
}> {
|
|
202
|
+
const calls: Array<[string, RequestInit | undefined]> = [];
|
|
203
|
+
stubPairingGateway(calls);
|
|
204
|
+
const logs: string[] = [];
|
|
205
|
+
const logSpy = spyOn(console, "log").mockImplementation(
|
|
206
|
+
(...a: unknown[]) => {
|
|
207
|
+
logs.push(a.join(" "));
|
|
208
|
+
},
|
|
209
|
+
);
|
|
210
|
+
const errSpy = spyOn(console, "error").mockImplementation(
|
|
211
|
+
(...a: unknown[]) => {
|
|
212
|
+
logs.push(`ERROR ${a.join(" ")}`);
|
|
213
|
+
},
|
|
214
|
+
);
|
|
215
|
+
process.argv = argv;
|
|
216
|
+
try {
|
|
217
|
+
await pair();
|
|
218
|
+
} finally {
|
|
219
|
+
logSpy.mockRestore();
|
|
220
|
+
errSpy.mockRestore();
|
|
221
|
+
}
|
|
222
|
+
return { urls: calls.map((c) => c[0]), output: logs.join("\n") };
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
let plain: { urls: string[]; output: string };
|
|
226
|
+
let withQr: { urls: string[]; output: string };
|
|
227
|
+
try {
|
|
228
|
+
plain = await runPair(["bun", "vellum", "pair", "--url", PUBLIC_URL]);
|
|
229
|
+
withQr = await runPair([
|
|
230
|
+
"bun",
|
|
231
|
+
"vellum",
|
|
232
|
+
"pair",
|
|
233
|
+
"--qr",
|
|
234
|
+
"--url",
|
|
235
|
+
PUBLIC_URL,
|
|
236
|
+
]);
|
|
237
|
+
} finally {
|
|
238
|
+
globalThis.fetch = origFetch;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
expect(withQr.urls).toEqual(plain.urls);
|
|
242
|
+
expect(withQr.output).toBe(plain.output);
|
|
243
|
+
// Accepted, not retired: no migration error, and the QR still prints.
|
|
244
|
+
expect(withQr.output).not.toContain("no longer an option");
|
|
245
|
+
expect(withQr.output).toContain("\u2588");
|
|
246
|
+
});
|
|
247
|
+
|
|
248
|
+
test("--qr is not advertised in the help output", async () => {
|
|
249
|
+
const logs: string[] = [];
|
|
250
|
+
const logSpy = spyOn(console, "log").mockImplementation(
|
|
251
|
+
(...a: unknown[]) => {
|
|
252
|
+
logs.push(a.join(" "));
|
|
253
|
+
},
|
|
254
|
+
);
|
|
255
|
+
process.argv = ["bun", "vellum", "pair", "--help"];
|
|
256
|
+
try {
|
|
257
|
+
await pair();
|
|
258
|
+
} finally {
|
|
259
|
+
logSpy.mockRestore();
|
|
260
|
+
}
|
|
261
|
+
expect(logs.join("\n")).not.toContain("--qr");
|
|
262
|
+
});
|
|
263
|
+
|
|
264
|
+
test("--app-scheme without --app is refused rather than ignored", async () => {
|
|
265
|
+
// A scheme only names the app link, so accepting it alone would print the
|
|
266
|
+
// https QR and drop the scheme silently.
|
|
267
|
+
let fetchCalled = false;
|
|
268
|
+
const origFetch = globalThis.fetch;
|
|
269
|
+
globalThis.fetch = (async () => {
|
|
270
|
+
fetchCalled = true;
|
|
271
|
+
return new Response("{}", { status: 200 });
|
|
272
|
+
}) as unknown as typeof fetch;
|
|
273
|
+
const errors: string[] = [];
|
|
274
|
+
const errSpy = spyOn(console, "error").mockImplementation(
|
|
275
|
+
(...a: unknown[]) => {
|
|
276
|
+
errors.push(a.join(" "));
|
|
277
|
+
},
|
|
278
|
+
);
|
|
279
|
+
const exitSpy = spyOn(process, "exit").mockImplementation(((
|
|
280
|
+
code?: number,
|
|
281
|
+
) => {
|
|
282
|
+
throw new Error(`exit:${code}`);
|
|
283
|
+
}) as never);
|
|
284
|
+
|
|
285
|
+
process.argv = [
|
|
286
|
+
"bun",
|
|
287
|
+
"vellum",
|
|
288
|
+
"pair",
|
|
289
|
+
"--app-scheme",
|
|
290
|
+
"vellum-assistant-dev",
|
|
291
|
+
"--url",
|
|
292
|
+
PUBLIC_URL,
|
|
293
|
+
];
|
|
294
|
+
let exited = false;
|
|
295
|
+
try {
|
|
296
|
+
await pair();
|
|
297
|
+
} catch (e) {
|
|
298
|
+
exited = (e as Error).message === "exit:1";
|
|
299
|
+
} finally {
|
|
300
|
+
errSpy.mockRestore();
|
|
301
|
+
exitSpy.mockRestore();
|
|
302
|
+
globalThis.fetch = origFetch;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
expect(exited).toBe(true);
|
|
306
|
+
expect(errors.join("\n")).toContain("--app-scheme");
|
|
307
|
+
expect(errors.join("\n")).toContain("--app");
|
|
308
|
+
// Refused before anything is minted.
|
|
309
|
+
expect(fetchCalled).toBe(false);
|
|
310
|
+
});
|
|
311
|
+
|
|
312
|
+
test("--web is refused, pointing at connect import on the other device", async () => {
|
|
313
|
+
let fetchCalled = false;
|
|
314
|
+
const origFetch = globalThis.fetch;
|
|
315
|
+
globalThis.fetch = (async () => {
|
|
316
|
+
fetchCalled = true;
|
|
317
|
+
return new Response("{}", { status: 200 });
|
|
318
|
+
}) as unknown as typeof fetch;
|
|
319
|
+
const errors: string[] = [];
|
|
320
|
+
const errSpy = spyOn(console, "error").mockImplementation(
|
|
321
|
+
(...a: unknown[]) => {
|
|
322
|
+
errors.push(a.join(" "));
|
|
323
|
+
},
|
|
324
|
+
);
|
|
325
|
+
const exitSpy = spyOn(process, "exit").mockImplementation(((
|
|
326
|
+
code?: number,
|
|
327
|
+
) => {
|
|
328
|
+
throw new Error(`exit:${code}`);
|
|
329
|
+
}) as never);
|
|
330
|
+
|
|
331
|
+
process.argv = ["bun", "vellum", "pair", "--web", "--url", PUBLIC_URL];
|
|
332
|
+
let exited = false;
|
|
333
|
+
try {
|
|
334
|
+
await pair();
|
|
335
|
+
} catch (e) {
|
|
336
|
+
exited = (e as Error).message === "exit:1";
|
|
337
|
+
} finally {
|
|
338
|
+
errSpy.mockRestore();
|
|
339
|
+
exitSpy.mockRestore();
|
|
340
|
+
globalThis.fetch = origFetch;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
expect(exited).toBe(true);
|
|
344
|
+
const joined = errors.join("\n");
|
|
345
|
+
expect(joined).toContain("--web is no longer an option");
|
|
346
|
+
expect(joined).toContain("vellum connect import");
|
|
347
|
+
expect(joined).toContain("--web-approve");
|
|
348
|
+
expect(fetchCalled).toBe(false);
|
|
123
349
|
});
|
|
124
350
|
|
|
125
351
|
test("resolves an unquoted multi-word display name", async () => {
|
|
@@ -140,23 +366,21 @@ describe("pair command", () => {
|
|
|
140
366
|
}),
|
|
141
367
|
);
|
|
142
368
|
|
|
143
|
-
|
|
369
|
+
const calls: Array<[string, RequestInit | undefined]> = [];
|
|
144
370
|
const origFetch = globalThis.fetch;
|
|
145
|
-
|
|
146
|
-
fetchCalled = true;
|
|
147
|
-
return new Response(
|
|
148
|
-
JSON.stringify({
|
|
149
|
-
token: "t",
|
|
150
|
-
expiresAt: "2026-06-04T00:00:00.000Z",
|
|
151
|
-
guardianId: "g",
|
|
152
|
-
assistantId: "self",
|
|
153
|
-
}),
|
|
154
|
-
{ status: 200, headers: { "content-type": "application/json" } },
|
|
155
|
-
);
|
|
156
|
-
}) as unknown as typeof fetch;
|
|
371
|
+
stubPairingGateway(calls);
|
|
157
372
|
const logSpy = spyOn(console, "log").mockImplementation(() => {});
|
|
158
373
|
|
|
159
|
-
process.argv = [
|
|
374
|
+
process.argv = [
|
|
375
|
+
"bun",
|
|
376
|
+
"vellum",
|
|
377
|
+
"pair",
|
|
378
|
+
"My",
|
|
379
|
+
"Assistant",
|
|
380
|
+
"--url",
|
|
381
|
+
PUBLIC_URL,
|
|
382
|
+
"--json",
|
|
383
|
+
];
|
|
160
384
|
try {
|
|
161
385
|
await pair();
|
|
162
386
|
} finally {
|
|
@@ -164,8 +388,11 @@ describe("pair command", () => {
|
|
|
164
388
|
globalThis.fetch = origFetch;
|
|
165
389
|
}
|
|
166
390
|
|
|
167
|
-
// Resolution succeeded (no exit), so the
|
|
168
|
-
expect(
|
|
391
|
+
// Resolution succeeded (no exit), so the challenge was minted.
|
|
392
|
+
expect(calls.map((c) => c[0])).toEqual([
|
|
393
|
+
`${LOCAL_URL}/v1/remote-web/pairing-challenge`,
|
|
394
|
+
`${LOCAL_URL}/v1/remote-web/pairing-verification`,
|
|
395
|
+
]);
|
|
169
396
|
});
|
|
170
397
|
|
|
171
398
|
test("rejects an unknown --flag before any network call", async () => {
|
|
@@ -262,7 +489,7 @@ describe("pair command", () => {
|
|
|
262
489
|
expect(fetchCalled).toBe(false);
|
|
263
490
|
});
|
|
264
491
|
|
|
265
|
-
test("refuses
|
|
492
|
+
test("refuses a loopback runtime URL without --url, before minting", async () => {
|
|
266
493
|
// Local hatch on a NON-default gateway port (e.g. a 2nd instance).
|
|
267
494
|
const LOOPBACK_CUSTOM = "http://127.0.0.1:7842";
|
|
268
495
|
writeFileSync(
|
|
@@ -310,21 +537,20 @@ describe("pair command", () => {
|
|
|
310
537
|
globalThis.fetch = origFetch;
|
|
311
538
|
}
|
|
312
539
|
|
|
313
|
-
// The
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
expect(
|
|
320
|
-
expect(errors.join("\n")).toContain("vellum tunnel --provider tailscale");
|
|
540
|
+
// The refusal names the address it refused and both ways forward: an
|
|
541
|
+
// explicit --url, or a tunnel when there is no public address yet.
|
|
542
|
+
const joined = errors.join("\n");
|
|
543
|
+
expect(joined).toContain(LOOPBACK_CUSTOM);
|
|
544
|
+
expect(joined).toContain("loopback");
|
|
545
|
+
expect(joined).toContain("vellum pair --url");
|
|
546
|
+
expect(joined).toContain("vellum tunnel --provider tailscale");
|
|
321
547
|
|
|
322
|
-
// Exited
|
|
548
|
+
// Exited before minting, so no challenge exists for a dead link.
|
|
323
549
|
expect(exited).toBe(true);
|
|
324
550
|
expect(fetchCalled).toBe(false);
|
|
325
551
|
});
|
|
326
552
|
|
|
327
|
-
test("--url override
|
|
553
|
+
test("--url override wins over a loopback runtime URL", async () => {
|
|
328
554
|
writeFileSync(
|
|
329
555
|
join(testDir, ".vellum.lock.json"),
|
|
330
556
|
JSON.stringify({
|
|
@@ -340,65 +566,10 @@ describe("pair command", () => {
|
|
|
340
566
|
}),
|
|
341
567
|
);
|
|
342
568
|
|
|
343
|
-
const calls: Array<[string, RequestInit]> = [];
|
|
344
|
-
const origFetch = globalThis.fetch;
|
|
345
|
-
globalThis.fetch = (async (url: string, init: RequestInit) => {
|
|
346
|
-
calls.push([url, init]);
|
|
347
|
-
return new Response(
|
|
348
|
-
JSON.stringify({
|
|
349
|
-
token: "t",
|
|
350
|
-
expiresAt: "2026-06-04T00:00:00.000Z",
|
|
351
|
-
guardianId: "g",
|
|
352
|
-
assistantId: "self",
|
|
353
|
-
}),
|
|
354
|
-
{ status: 200, headers: { "content-type": "application/json" } },
|
|
355
|
-
);
|
|
356
|
-
}) as unknown as typeof fetch;
|
|
357
|
-
const logs: string[] = [];
|
|
358
|
-
const logSpy = spyOn(console, "log").mockImplementation(
|
|
359
|
-
(...a: unknown[]) => {
|
|
360
|
-
logs.push(a.join(" "));
|
|
361
|
-
},
|
|
362
|
-
);
|
|
363
|
-
|
|
364
569
|
const OVERRIDE = "https://abc123.ngrok.app";
|
|
365
|
-
process.argv = ["bun", "vellum", "pair", "--url", OVERRIDE, "--json"];
|
|
366
|
-
try {
|
|
367
|
-
await pair();
|
|
368
|
-
} finally {
|
|
369
|
-
logSpy.mockRestore();
|
|
370
|
-
globalThis.fetch = origFetch;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
// Mint still over loopback; bundle advertises the override.
|
|
374
|
-
expect(calls).toHaveLength(1);
|
|
375
|
-
expect(calls[0][0]).toBe(`${LOCAL_URL}/v1/pair`);
|
|
376
|
-
const out = JSON.parse(logs.join("\n"));
|
|
377
|
-
expect(out.gatewayUrl).toBe(OVERRIDE);
|
|
378
|
-
});
|
|
379
|
-
|
|
380
|
-
test("--web creates a browser pairing URL without printing tokens", async () => {
|
|
381
570
|
const calls: Array<[string, RequestInit | undefined]> = [];
|
|
382
571
|
const origFetch = globalThis.fetch;
|
|
383
|
-
|
|
384
|
-
calls.push([url, init]);
|
|
385
|
-
if (url === `${LOCAL_URL}/v1/remote-web/pairing-challenge`) {
|
|
386
|
-
return new Response(
|
|
387
|
-
JSON.stringify({
|
|
388
|
-
deviceCode: "device-code",
|
|
389
|
-
userCode: "ABCD-EFGH",
|
|
390
|
-
verificationUri:
|
|
391
|
-
"https://abc123.ngrok.app/assistant-123/assistant/pair",
|
|
392
|
-
expiresAt: "2026-06-04T00:10:00.000Z",
|
|
393
|
-
expiresInSeconds: 600,
|
|
394
|
-
intervalSeconds: 5,
|
|
395
|
-
}),
|
|
396
|
-
{ status: 200, headers: { "content-type": "application/json" } },
|
|
397
|
-
);
|
|
398
|
-
}
|
|
399
|
-
return new Response("not found", { status: 404 });
|
|
400
|
-
}) as unknown as typeof fetch;
|
|
401
|
-
|
|
572
|
+
stubPairingGateway(calls, OVERRIDE);
|
|
402
573
|
const logs: string[] = [];
|
|
403
574
|
const logSpy = spyOn(console, "log").mockImplementation(
|
|
404
575
|
(...a: unknown[]) => {
|
|
@@ -406,15 +577,7 @@ describe("pair command", () => {
|
|
|
406
577
|
},
|
|
407
578
|
);
|
|
408
579
|
|
|
409
|
-
process.argv = [
|
|
410
|
-
"bun",
|
|
411
|
-
"vellum",
|
|
412
|
-
"pair",
|
|
413
|
-
"--web",
|
|
414
|
-
"--url",
|
|
415
|
-
"https://abc123.ngrok.app/assistant-123/assistant/",
|
|
416
|
-
"--json",
|
|
417
|
-
];
|
|
580
|
+
process.argv = ["bun", "vellum", "pair", "--url", OVERRIDE, "--json"];
|
|
418
581
|
try {
|
|
419
582
|
await pair();
|
|
420
583
|
} finally {
|
|
@@ -422,23 +585,14 @@ describe("pair command", () => {
|
|
|
422
585
|
globalThis.fetch = origFetch;
|
|
423
586
|
}
|
|
424
587
|
|
|
425
|
-
|
|
588
|
+
// Mint still over loopback; the link advertises the override.
|
|
426
589
|
expect(calls[0][0]).toBe(`${LOCAL_URL}/v1/remote-web/pairing-challenge`);
|
|
427
590
|
expect(JSON.parse(calls[0][1]?.body as string)).toEqual({
|
|
428
|
-
publicBaseUrl:
|
|
429
|
-
});
|
|
430
|
-
|
|
431
|
-
const out = JSON.parse(logs.join("\n"));
|
|
432
|
-
expect(out).toEqual({
|
|
433
|
-
pairUrl:
|
|
434
|
-
"https://abc123.ngrok.app/assistant-123/assistant/pair#device_code=device-code",
|
|
435
|
-
userCode: "ABCD-EFGH",
|
|
436
|
-
verificationUri: "https://abc123.ngrok.app/assistant-123/assistant/pair",
|
|
437
|
-
expiresAt: "2026-06-04T00:10:00.000Z",
|
|
438
|
-
expiresInSeconds: 600,
|
|
591
|
+
publicBaseUrl: OVERRIDE,
|
|
439
592
|
});
|
|
440
|
-
expect(logs.join("\n")).
|
|
441
|
-
|
|
593
|
+
expect(JSON.parse(logs.join("\n")).pairUrl).toBe(
|
|
594
|
+
`${OVERRIDE}/assistant/pair#device_code=device-code`,
|
|
595
|
+
);
|
|
442
596
|
});
|
|
443
597
|
|
|
444
598
|
test("--web-approve approves a browser pairing code over loopback", async () => {
|
|
@@ -508,142 +662,7 @@ describe("pair command", () => {
|
|
|
508
662
|
});
|
|
509
663
|
});
|
|
510
664
|
|
|
511
|
-
test("
|
|
512
|
-
const calls: Array<[string, RequestInit | undefined]> = [];
|
|
513
|
-
const origFetch = globalThis.fetch;
|
|
514
|
-
globalThis.fetch = (async (url: string, init?: RequestInit) => {
|
|
515
|
-
calls.push([url, init]);
|
|
516
|
-
if (url === `${LOCAL_URL}/v1/remote-web/pairing-challenge`) {
|
|
517
|
-
return new Response(
|
|
518
|
-
JSON.stringify({
|
|
519
|
-
deviceCode: "device-code",
|
|
520
|
-
userCode: "ABCD-EFGH",
|
|
521
|
-
verificationUri: "https://pair.example.ts.net/assistant/pair",
|
|
522
|
-
expiresAt: "2026-06-04T00:10:00.000Z",
|
|
523
|
-
expiresInSeconds: 600,
|
|
524
|
-
}),
|
|
525
|
-
{ status: 200, headers: { "content-type": "application/json" } },
|
|
526
|
-
);
|
|
527
|
-
}
|
|
528
|
-
if (url === `${LOCAL_URL}/v1/remote-web/pairing-verification`) {
|
|
529
|
-
return new Response(
|
|
530
|
-
JSON.stringify({
|
|
531
|
-
status: "approved",
|
|
532
|
-
verificationUri: "https://pair.example.ts.net/assistant/pair",
|
|
533
|
-
expiresAt: "2026-06-04T00:10:00.000Z",
|
|
534
|
-
}),
|
|
535
|
-
{ status: 200, headers: { "content-type": "application/json" } },
|
|
536
|
-
);
|
|
537
|
-
}
|
|
538
|
-
return new Response("not found", { status: 404 });
|
|
539
|
-
}) as unknown as typeof fetch;
|
|
540
|
-
|
|
541
|
-
const logs: string[] = [];
|
|
542
|
-
const logSpy = spyOn(console, "log").mockImplementation(
|
|
543
|
-
(...a: unknown[]) => {
|
|
544
|
-
logs.push(a.join(" "));
|
|
545
|
-
},
|
|
546
|
-
);
|
|
547
|
-
|
|
548
|
-
process.argv = [
|
|
549
|
-
"bun",
|
|
550
|
-
"vellum",
|
|
551
|
-
"pair",
|
|
552
|
-
"--qr",
|
|
553
|
-
"--url",
|
|
554
|
-
"https://pair.example.ts.net",
|
|
555
|
-
"--json",
|
|
556
|
-
];
|
|
557
|
-
try {
|
|
558
|
-
await pair();
|
|
559
|
-
} finally {
|
|
560
|
-
logSpy.mockRestore();
|
|
561
|
-
globalThis.fetch = origFetch;
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
// Create challenge → approve it, all over loopback. The
|
|
565
|
-
// approval is the whole point: running the CLI on the host IS the approval,
|
|
566
|
-
// so the scan alone completes pairing.
|
|
567
|
-
expect(calls.map((c) => c[0])).toEqual([
|
|
568
|
-
`${LOCAL_URL}/v1/remote-web/pairing-challenge`,
|
|
569
|
-
`${LOCAL_URL}/v1/remote-web/pairing-verification`,
|
|
570
|
-
]);
|
|
571
|
-
expect(JSON.parse(calls[0][1]?.body as string)).toEqual({
|
|
572
|
-
publicBaseUrl: "https://pair.example.ts.net",
|
|
573
|
-
});
|
|
574
|
-
expect(JSON.parse(calls[1][1]?.body as string)).toEqual({
|
|
575
|
-
userCode: "ABCD-EFGH",
|
|
576
|
-
});
|
|
577
|
-
|
|
578
|
-
const out = JSON.parse(logs.join("\n"));
|
|
579
|
-
expect(out).toEqual({
|
|
580
|
-
pairUrl:
|
|
581
|
-
"https://pair.example.ts.net/assistant/pair#device_code=device-code",
|
|
582
|
-
deviceCode: "device-code",
|
|
583
|
-
expiresAt: "2026-06-04T00:10:00.000Z",
|
|
584
|
-
expiresInSeconds: 600,
|
|
585
|
-
});
|
|
586
|
-
// The device code rides the fragment only — never the path or query.
|
|
587
|
-
const parsed = new URL(out.pairUrl);
|
|
588
|
-
expect(parsed.search).toBe("");
|
|
589
|
-
expect(parsed.hash).toBe("#device_code=device-code");
|
|
590
|
-
});
|
|
591
|
-
|
|
592
|
-
test("--qr renders a QR and prints the fallback URL and expiry", async () => {
|
|
593
|
-
const origFetch = globalThis.fetch;
|
|
594
|
-
globalThis.fetch = (async (url: string) => {
|
|
595
|
-
if (url === `${LOCAL_URL}/v1/remote-web/pairing-challenge`) {
|
|
596
|
-
return new Response(
|
|
597
|
-
JSON.stringify({
|
|
598
|
-
deviceCode: "device-code",
|
|
599
|
-
userCode: "ABCD-EFGH",
|
|
600
|
-
verificationUri: "https://pair.example.ts.net/assistant/pair",
|
|
601
|
-
expiresAt: "2026-06-04T00:10:00.000Z",
|
|
602
|
-
expiresInSeconds: 600,
|
|
603
|
-
}),
|
|
604
|
-
{ status: 200, headers: { "content-type": "application/json" } },
|
|
605
|
-
);
|
|
606
|
-
}
|
|
607
|
-
return new Response(
|
|
608
|
-
JSON.stringify({
|
|
609
|
-
status: "approved",
|
|
610
|
-
verificationUri: "https://pair.example.ts.net/assistant/pair",
|
|
611
|
-
expiresAt: "2026-06-04T00:10:00.000Z",
|
|
612
|
-
}),
|
|
613
|
-
{ status: 200, headers: { "content-type": "application/json" } },
|
|
614
|
-
);
|
|
615
|
-
}) as unknown as typeof fetch;
|
|
616
|
-
|
|
617
|
-
const logs: string[] = [];
|
|
618
|
-
const logSpy = spyOn(console, "log").mockImplementation(
|
|
619
|
-
(...a: unknown[]) => {
|
|
620
|
-
logs.push(a.join(" "));
|
|
621
|
-
},
|
|
622
|
-
);
|
|
623
|
-
|
|
624
|
-
process.argv = [
|
|
625
|
-
"bun",
|
|
626
|
-
"vellum",
|
|
627
|
-
"pair",
|
|
628
|
-
"--qr",
|
|
629
|
-
"--url",
|
|
630
|
-
"https://pair.example.ts.net",
|
|
631
|
-
];
|
|
632
|
-
try {
|
|
633
|
-
await pair();
|
|
634
|
-
} finally {
|
|
635
|
-
logSpy.mockRestore();
|
|
636
|
-
globalThis.fetch = origFetch;
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
const output = logs.join("\n");
|
|
640
|
-
expect(output).toContain(
|
|
641
|
-
"https://pair.example.ts.net/assistant/pair#device_code=device-code",
|
|
642
|
-
);
|
|
643
|
-
expect(output).toContain("Expires: 2026-06-04T00:10:00.000Z");
|
|
644
|
-
});
|
|
645
|
-
|
|
646
|
-
test("--qr refuses a non-https --url without minting", async () => {
|
|
665
|
+
test("refuses a non-https --url without minting", async () => {
|
|
647
666
|
let fetchCalled = false;
|
|
648
667
|
const origFetch = globalThis.fetch;
|
|
649
668
|
globalThis.fetch = (async () => {
|
|
@@ -666,7 +685,6 @@ describe("pair command", () => {
|
|
|
666
685
|
"bun",
|
|
667
686
|
"vellum",
|
|
668
687
|
"pair",
|
|
669
|
-
"--qr",
|
|
670
688
|
"--url",
|
|
671
689
|
"http://pair.example.com",
|
|
672
690
|
];
|
|
@@ -687,7 +705,7 @@ describe("pair command", () => {
|
|
|
687
705
|
expect(fetchCalled).toBe(false);
|
|
688
706
|
});
|
|
689
707
|
|
|
690
|
-
test("
|
|
708
|
+
test("refuses a loopback --url without minting", async () => {
|
|
691
709
|
let fetchCalled = false;
|
|
692
710
|
const origFetch = globalThis.fetch;
|
|
693
711
|
globalThis.fetch = (async () => {
|
|
@@ -706,14 +724,7 @@ describe("pair command", () => {
|
|
|
706
724
|
throw new Error(`exit:${code}`);
|
|
707
725
|
}) as never);
|
|
708
726
|
|
|
709
|
-
process.argv = [
|
|
710
|
-
"bun",
|
|
711
|
-
"vellum",
|
|
712
|
-
"pair",
|
|
713
|
-
"--qr",
|
|
714
|
-
"--url",
|
|
715
|
-
"http://127.0.0.1:7830",
|
|
716
|
-
];
|
|
727
|
+
process.argv = ["bun", "vellum", "pair", "--url", "http://127.0.0.1:7830"];
|
|
717
728
|
let exited = false;
|
|
718
729
|
try {
|
|
719
730
|
await pair();
|
|
@@ -730,7 +741,7 @@ describe("pair command", () => {
|
|
|
730
741
|
expect(fetchCalled).toBe(false);
|
|
731
742
|
});
|
|
732
743
|
|
|
733
|
-
test("
|
|
744
|
+
test("refuses an unparseable --url with an accurate error, not a non-https mislabel", async () => {
|
|
734
745
|
let fetchCalled = false;
|
|
735
746
|
const origFetch = globalThis.fetch;
|
|
736
747
|
globalThis.fetch = (async () => {
|
|
@@ -749,7 +760,7 @@ describe("pair command", () => {
|
|
|
749
760
|
throw new Error(`exit:${code}`);
|
|
750
761
|
}) as never);
|
|
751
762
|
|
|
752
|
-
process.argv = ["bun", "vellum", "pair", "--
|
|
763
|
+
process.argv = ["bun", "vellum", "pair", "--url", "not-a-url"];
|
|
753
764
|
let exited = false;
|
|
754
765
|
try {
|
|
755
766
|
await pair();
|
|
@@ -771,7 +782,7 @@ describe("pair command", () => {
|
|
|
771
782
|
expect(fetchCalled).toBe(false);
|
|
772
783
|
});
|
|
773
784
|
|
|
774
|
-
test("
|
|
785
|
+
test("refuses a tunnel-provider website URL (Tailscale admin invite) without minting", async () => {
|
|
775
786
|
let fetchCalled = false;
|
|
776
787
|
const origFetch = globalThis.fetch;
|
|
777
788
|
globalThis.fetch = (async () => {
|
|
@@ -794,7 +805,6 @@ describe("pair command", () => {
|
|
|
794
805
|
"bun",
|
|
795
806
|
"vellum",
|
|
796
807
|
"pair",
|
|
797
|
-
"--qr",
|
|
798
808
|
"--url",
|
|
799
809
|
"https://login.tailscale.com/admin/invite/abc123",
|
|
800
810
|
];
|
|
@@ -863,7 +873,7 @@ describe("pair command", () => {
|
|
|
863
873
|
);
|
|
864
874
|
});
|
|
865
875
|
|
|
866
|
-
test("--
|
|
876
|
+
test("--app emits an app connect URL alongside the browser URL", async () => {
|
|
867
877
|
const origFetch = globalThis.fetch;
|
|
868
878
|
globalThis.fetch = (async (url: string) => {
|
|
869
879
|
if (url === `${LOCAL_URL}/v1/remote-web/pairing-challenge`) {
|
|
@@ -902,7 +912,6 @@ describe("pair command", () => {
|
|
|
902
912
|
"bun",
|
|
903
913
|
"vellum",
|
|
904
914
|
"pair",
|
|
905
|
-
"--qr",
|
|
906
915
|
"--app",
|
|
907
916
|
"--app-scheme",
|
|
908
917
|
"vellum-assistant-dev",
|
|
@@ -930,7 +939,7 @@ describe("pair command", () => {
|
|
|
930
939
|
expect(out.deviceCode).toBe("device-code");
|
|
931
940
|
});
|
|
932
941
|
|
|
933
|
-
test("--
|
|
942
|
+
test("--app --label overrides the assistant name in the connect link", async () => {
|
|
934
943
|
const origFetch = globalThis.fetch;
|
|
935
944
|
globalThis.fetch = (async (url: string) => {
|
|
936
945
|
if (url === `${LOCAL_URL}/v1/remote-web/pairing-challenge`) {
|
|
@@ -969,7 +978,6 @@ describe("pair command", () => {
|
|
|
969
978
|
"bun",
|
|
970
979
|
"vellum",
|
|
971
980
|
"pair",
|
|
972
|
-
"--qr",
|
|
973
981
|
"--app",
|
|
974
982
|
"--label",
|
|
975
983
|
"Homelab",
|
|
@@ -990,7 +998,7 @@ describe("pair command", () => {
|
|
|
990
998
|
);
|
|
991
999
|
});
|
|
992
1000
|
|
|
993
|
-
test("--app
|
|
1001
|
+
test("--app is refused alongside --web-approve", async () => {
|
|
994
1002
|
let fetchCalled = false;
|
|
995
1003
|
const origFetch = globalThis.fetch;
|
|
996
1004
|
globalThis.fetch = (async () => {
|
|
@@ -1009,7 +1017,14 @@ describe("pair command", () => {
|
|
|
1009
1017
|
throw new Error(`exit:${code}`);
|
|
1010
1018
|
}) as never);
|
|
1011
1019
|
|
|
1012
|
-
process.argv = [
|
|
1020
|
+
process.argv = [
|
|
1021
|
+
"bun",
|
|
1022
|
+
"vellum",
|
|
1023
|
+
"pair",
|
|
1024
|
+
"--app",
|
|
1025
|
+
"--web-approve",
|
|
1026
|
+
"ABCD-EFGH",
|
|
1027
|
+
];
|
|
1013
1028
|
let exited = false;
|
|
1014
1029
|
try {
|
|
1015
1030
|
await pair();
|
|
@@ -1022,7 +1037,7 @@ describe("pair command", () => {
|
|
|
1022
1037
|
}
|
|
1023
1038
|
|
|
1024
1039
|
expect(exited).toBe(true);
|
|
1025
|
-
expect(errors.join("\n")).toContain("--
|
|
1040
|
+
expect(errors.join("\n")).toContain("--web-approve");
|
|
1026
1041
|
expect(fetchCalled).toBe(false);
|
|
1027
1042
|
});
|
|
1028
1043
|
|
|
@@ -1044,7 +1059,7 @@ describe("pair command", () => {
|
|
|
1044
1059
|
);
|
|
1045
1060
|
}
|
|
1046
1061
|
|
|
1047
|
-
test("
|
|
1062
|
+
test("with no --url, the entry's tunnel-recorded ingress URL is used", async () => {
|
|
1048
1063
|
writeLockfileWithIngress("https://saved.example.ts.net");
|
|
1049
1064
|
|
|
1050
1065
|
const calls: string[] = [];
|
|
@@ -1087,7 +1102,7 @@ describe("pair command", () => {
|
|
|
1087
1102
|
},
|
|
1088
1103
|
);
|
|
1089
1104
|
|
|
1090
|
-
process.argv = ["bun", "vellum", "pair"
|
|
1105
|
+
process.argv = ["bun", "vellum", "pair"];
|
|
1091
1106
|
try {
|
|
1092
1107
|
await pair();
|
|
1093
1108
|
} finally {
|
|
@@ -1149,7 +1164,6 @@ describe("pair command", () => {
|
|
|
1149
1164
|
"bun",
|
|
1150
1165
|
"vellum",
|
|
1151
1166
|
"pair",
|
|
1152
|
-
"--qr",
|
|
1153
1167
|
"--url",
|
|
1154
1168
|
"https://explicit.example.ts.net",
|
|
1155
1169
|
];
|
|
@@ -1185,7 +1199,7 @@ describe("pair command", () => {
|
|
|
1185
1199
|
throw new Error(`exit:${code}`);
|
|
1186
1200
|
}) as never);
|
|
1187
1201
|
|
|
1188
|
-
process.argv = ["bun", "vellum", "pair"
|
|
1202
|
+
process.argv = ["bun", "vellum", "pair"];
|
|
1189
1203
|
let exited = false;
|
|
1190
1204
|
try {
|
|
1191
1205
|
await pair();
|
|
@@ -1197,8 +1211,8 @@ describe("pair command", () => {
|
|
|
1197
1211
|
globalThis.fetch = origFetch;
|
|
1198
1212
|
}
|
|
1199
1213
|
|
|
1200
|
-
// The recorded http URL is skipped, so
|
|
1201
|
-
// (non-https) runtime URL and refuses
|
|
1214
|
+
// The recorded http URL is skipped, so the flow falls through to the
|
|
1215
|
+
// (non-https) runtime URL and refuses, proving it was not advertised.
|
|
1202
1216
|
expect(exited).toBe(true);
|
|
1203
1217
|
expect(errors.join("\n")).toContain(RUNTIME_URL);
|
|
1204
1218
|
expect(minted).toBe(false);
|
|
@@ -1226,7 +1240,7 @@ describe("pair command", () => {
|
|
|
1226
1240
|
throw new Error(`exit:${code}`);
|
|
1227
1241
|
}) as never);
|
|
1228
1242
|
|
|
1229
|
-
process.argv = ["bun", "vellum", "pair"
|
|
1243
|
+
process.argv = ["bun", "vellum", "pair"];
|
|
1230
1244
|
let exited = false;
|
|
1231
1245
|
try {
|
|
1232
1246
|
await pair();
|