@harrylabsj/kiwi-merchant-cloud 0.12.6 → 0.12.8
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/app/a2a/access/workbuddy-address.d.ts +45 -0
- package/app/a2a/access/workbuddy-address.js +88 -0
- package/app/a2a/access/workbuddy-address.js.map +1 -0
- package/app/a2a/client/client.d.ts +6 -0
- package/app/a2a/client/client.js +27 -2
- package/app/a2a/client/client.js.map +1 -1
- package/app/a2a/client/types.d.ts +5 -0
- package/app/a2a/server/server.d.ts +5 -0
- package/app/a2a/server/server.js +10 -2
- package/app/a2a/server/server.js.map +1 -1
- package/app/agent/merchant/merchant-client.js +2 -1
- package/app/agent/merchant/merchant-client.js.map +1 -1
- package/app/buyer-core/a2a-knp.d.ts +18 -1
- package/app/buyer-core/a2a-knp.js +29 -5
- package/app/buyer-core/a2a-knp.js.map +1 -1
- package/app/buyer-core/a2a-negotiator.d.ts +4 -0
- package/app/buyer-core/a2a-negotiator.js +3 -0
- package/app/buyer-core/a2a-negotiator.js.map +1 -1
- package/app/buyer-core/a2a-quote-fetcher.d.ts +47 -0
- package/app/buyer-core/a2a-quote-fetcher.js +109 -11
- package/app/buyer-core/a2a-quote-fetcher.js.map +1 -1
- package/app/buyer-core/build-service.d.ts +7 -0
- package/app/buyer-core/build-service.js +67 -0
- package/app/buyer-core/build-service.js.map +1 -1
- package/app/buyer-core/merchant-index.js +3 -0
- package/app/buyer-core/merchant-index.js.map +1 -1
- package/app/buyer-core/protocol-recovery.js +7 -0
- package/app/buyer-core/protocol-recovery.js.map +1 -1
- package/app/buyer-core/service.d.ts +14 -0
- package/app/buyer-core/service.js.map +1 -1
- package/app/cloud/access/workbuddy-share-link.d.ts +92 -0
- package/app/cloud/access/workbuddy-share-link.js +150 -0
- package/app/cloud/access/workbuddy-share-link.js.map +1 -0
- package/app/cloud/bootstrap.js +33 -0
- package/app/cloud/bootstrap.js.map +1 -1
- package/app/cloud/catalog-client.d.ts +66 -0
- package/app/cloud/catalog-client.js +155 -0
- package/app/cloud/catalog-client.js.map +1 -1
- package/app/cloud/config.d.ts +6 -0
- package/app/cloud/config.js +4 -0
- package/app/cloud/config.js.map +1 -1
- package/app/cloud/connect-service.d.ts +68 -0
- package/app/cloud/connect-service.js +198 -0
- package/app/cloud/connect-service.js.map +1 -1
- package/app/cloud/http-router.d.ts +5 -0
- package/app/cloud/http-router.js +7 -0
- package/app/cloud/http-router.js.map +1 -1
- package/app/cloud-sample/products.json +3 -3
- package/app/discovery/catalog-source/kiwi-record.d.ts +10 -0
- package/app/discovery/catalog-source/kiwi-record.js.map +1 -1
- package/app/discovery/catalog-source/merchant-access.d.ts +77 -0
- package/app/discovery/catalog-source/merchant-access.js +279 -0
- package/app/discovery/catalog-source/merchant-access.js.map +1 -0
- package/app/http/merchant-management/api.d.ts +21 -0
- package/app/http/merchant-management/api.js +79 -0
- package/app/http/merchant-management/api.js.map +1 -1
- package/app/http/merchant-management/page.js +81 -1
- package/app/http/merchant-management/page.js.map +1 -1
- package/app/merchant-runtime/manager.d.ts +13 -1
- package/app/merchant-runtime/manager.js +19 -3
- package/app/merchant-runtime/manager.js.map +1 -1
- package/app/tools/trusted-buyer-keys.d.ts +31 -0
- package/app/tools/trusted-buyer-keys.js +98 -0
- package/app/tools/trusted-buyer-keys.js.map +1 -0
- package/app/tools/workbuddy-echo.d.ts +69 -0
- package/app/tools/workbuddy-echo.js +132 -0
- package/app/tools/workbuddy-echo.js.map +1 -0
- package/build-manifest.json +42782 -41752
- package/contracts/kiwi-catalog/1.0/agent-record.schema.json +21 -0
- package/contracts/kiwi-contracts.lock.json +2 -2
- package/contracts/manifest.json +2 -2
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/README.md +356 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/cloudflare.d.ts +53 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/cloudflare.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/cloudflare.js +64 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/cloudflare.js.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/declarations.d.ts +43 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/declarations.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/declarations.js +320 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/declarations.js.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/identifier.d.ts +6 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/identifier.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/identifier.js +13 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/identifier.js.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/index.d.ts +11 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/index.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/index.js +10 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/index.js.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/portable.d.ts +15 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/portable.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/portable.js +12 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/portable.js.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/execution.d.ts +66 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/execution.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/execution.js +494 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/execution.js.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/host.d.ts +13 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/host.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/host.js +72 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/host.js.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/inline.d.ts +63 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/inline.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/inline.js +80 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/inline.js.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/prelude-source.d.ts +45 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/prelude-source.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/prelude-source.js +520 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/prelude-source.js.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/protocol.d.ts +110 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/protocol.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/protocol.js +15 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/protocol.js.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/remote.d.ts +102 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/remote.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/remote.js +175 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/remote.js.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/vm.d.ts +24 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/vm.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/vm.js +293 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/vm.js.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/worker.d.ts +2 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/worker.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/worker.js +38 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/runtime/worker.js.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/source.d.ts +36 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/source.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/source.js +98 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/source.js.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/types.d.ts +232 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/types.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/types.js +2 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/types.js.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/wasm.d.ts +12 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/wasm.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/wasm.js +24 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/dist/wasm.js.map +1 -0
- package/node_modules/@earendil-works/pi-durable/node_modules/@earendil-works/pi-codemode/package.json +76 -0
- package/node_modules/body-parser/README.md +17 -13
- package/node_modules/body-parser/lib/read.js +74 -57
- package/node_modules/body-parser/lib/types/json.js +11 -11
- package/node_modules/body-parser/lib/types/urlencoded.js +5 -5
- package/node_modules/body-parser/lib/utils.js +0 -15
- package/node_modules/body-parser/package.json +7 -12
- package/node_modules/fast-uri/.github/workflows/release.yml +35 -0
- package/node_modules/fast-uri/README.md +8 -0
- package/node_modules/fast-uri/index.js +98 -18
- package/node_modules/fast-uri/lib/utils.js +52 -0
- package/node_modules/fast-uri/package.json +1 -1
- package/node_modules/fast-uri/test/host-delimiter-security.test.js +94 -0
- package/node_modules/fast-uri/test/relative-normalization-security.test.js +156 -0
- package/node_modules/fast-uri/test/reserved-path-normalization.test.js +32 -4
- package/node_modules/fast-uri/test/scheme-validation.test.js +53 -14
- package/node_modules/ip-address/README.md +104 -104
- package/node_modules/ip-address/dist/common.js +2 -2
- package/node_modules/ip-address/dist/common.js.map +1 -1
- package/node_modules/ip-address/dist/ipv4.js +7 -0
- package/node_modules/ip-address/dist/ipv4.js.map +1 -1
- package/node_modules/ip-address/dist/ipv6.js +7 -4
- package/node_modules/ip-address/dist/ipv6.js.map +1 -1
- package/node_modules/ip-address/dist/v6/constants.d.ts +3 -0
- package/node_modules/ip-address/dist/v6/constants.js +3 -0
- package/node_modules/ip-address/dist/v6/constants.js.map +1 -1
- package/node_modules/ip-address/package.json +3 -2
- package/node_modules/qs/.editorconfig +1 -1
- package/node_modules/qs/.github/THREAT_MODEL.md +4 -2
- package/node_modules/qs/CHANGELOG.md +61 -14
- package/node_modules/qs/README.md +57 -4
- package/node_modules/qs/dist/qs.js +19 -19
- package/node_modules/qs/eslint.config.mjs +61 -50
- package/node_modules/qs/lib/formats.js +7 -2
- package/node_modules/qs/lib/parse.js +105 -8
- package/node_modules/qs/lib/stringify.js +9 -7
- package/node_modules/qs/lib/utils.js +145 -13
- package/node_modules/qs/package.json +8 -8
- package/node_modules/qs/test/parse.js +440 -2
- package/node_modules/qs/test/stringify.js +485 -33
- package/node_modules/qs/test/utils.js +245 -3
- package/node_modules/zod/README.md +29 -2
- package/node_modules/zod/compile.cjs +96 -0
- package/node_modules/zod/compile.d.cts +1 -0
- package/node_modules/zod/compile.d.ts +1 -0
- package/node_modules/zod/compile.js +52 -0
- package/node_modules/zod/index.cjs +21 -2
- package/node_modules/zod/index.d.cts +1 -2
- package/node_modules/zod/index.d.ts +1 -2
- package/node_modules/zod/index.js +5 -2
- package/node_modules/zod/locales/index.cjs +19 -0
- package/node_modules/zod/mini/index.cjs +19 -0
- package/node_modules/zod/package.json +20 -8
- package/node_modules/zod/src/compile.ts +56 -0
- package/node_modules/zod/src/index.ts +5 -2
- package/node_modules/zod/src/v3/ZodError.ts +22 -12
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +1 -1
- package/node_modules/zod/src/v3/tests/error.test.ts +35 -0
- package/node_modules/zod/src/v3/tests/intersection.test.ts +18 -0
- package/node_modules/zod/src/v3/tests/language-server.test.ts +1 -2
- package/node_modules/zod/src/v3/tests/object.test.ts +3 -6
- package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -80
- package/node_modules/zod/src/v3/tests/string.test.ts +6 -0
- package/node_modules/zod/src/v3/types.ts +5 -5
- package/node_modules/zod/src/v4/classic/checks.ts +1 -0
- package/node_modules/zod/src/v4/classic/compat.ts +26 -18
- package/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
- package/node_modules/zod/src/v4/classic/errors.ts +59 -44
- package/node_modules/zod/src/v4/classic/external.ts +14 -9
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +363 -78
- package/node_modules/zod/src/v4/classic/in-out.ts +45 -0
- package/node_modules/zod/src/v4/classic/index.ts +2 -2
- package/node_modules/zod/src/v4/classic/iso.ts +2 -72
- package/node_modules/zod/src/v4/classic/parse.ts +10 -4
- package/node_modules/zod/src/v4/classic/schemas.ts +640 -375
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +29 -2
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +186 -0
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +36 -1
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +278 -0
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +1 -2
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +2 -1
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +3 -3
- package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
- package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +985 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +30 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +32 -18
- package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
- package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +46 -0
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +31 -7
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +261 -13
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +20 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +112 -2
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +403 -6
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +582 -10
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +31 -0
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +2 -9
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +1 -2
- package/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +21 -2
- package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +319 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +67 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +136 -0
- package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +215 -0
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +3 -10
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +36 -1
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +12 -1
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +19 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +85 -9
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +301 -12
- package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +235 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +49 -16
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +51 -4
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +70 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +20 -2
- package/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -68
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +186 -18
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +79 -3
- package/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +60 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +15 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +19 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +222 -6
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +18 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +44 -3
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +1812 -204
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +45 -30
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +39 -2
- package/node_modules/zod/src/v4/classic/tests/validate.test.ts +645 -0
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +2 -2
- package/node_modules/zod/src/v4/core/api.ts +87 -35
- package/node_modules/zod/src/v4/core/checks.ts +119 -146
- package/node_modules/zod/src/v4/core/compile.ts +2322 -0
- package/node_modules/zod/src/v4/core/core.ts +99 -22
- package/node_modules/zod/src/v4/core/doc.ts +17 -9
- package/node_modules/zod/src/v4/core/errors.ts +113 -25
- package/node_modules/zod/src/v4/core/index.ts +3 -0
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +8 -3
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +424 -156
- package/node_modules/zod/src/v4/core/json-schema.ts +2 -1
- package/node_modules/zod/src/v4/core/memoizer.ts +331 -0
- package/node_modules/zod/src/v4/core/parse.ts +164 -50
- package/node_modules/zod/src/v4/core/regexes.ts +42 -15
- package/node_modules/zod/src/v4/core/registries.ts +2 -2
- package/node_modules/zod/src/v4/core/schemas.ts +1035 -539
- package/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
- package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +1004 -0
- package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
- package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
- package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
- package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
- package/node_modules/zod/src/v4/core/tests/compile.test.ts +2036 -0
- package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +1 -2
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +1 -2
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +3 -3
- package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
- package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
- package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
- package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +133 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +283 -48
- package/node_modules/zod/src/v4/core/util.ts +467 -157
- package/node_modules/zod/src/v4/core/versions.ts +2 -2
- package/node_modules/zod/src/v4/core/visit.ts +193 -0
- package/node_modules/zod/src/v4/index.ts +3 -3
- package/node_modules/zod/src/v4/locales/ar.ts +5 -0
- package/node_modules/zod/src/v4/locales/az.ts +5 -0
- package/node_modules/zod/src/v4/locales/be.ts +12 -0
- package/node_modules/zod/src/v4/locales/bg.ts +5 -0
- package/node_modules/zod/src/v4/locales/bn.ts +123 -0
- package/node_modules/zod/src/v4/locales/ca.ts +5 -0
- package/node_modules/zod/src/v4/locales/ckb.ts +140 -0
- package/node_modules/zod/src/v4/locales/cs.ts +5 -0
- package/node_modules/zod/src/v4/locales/da.ts +7 -2
- package/node_modules/zod/src/v4/locales/de.ts +5 -0
- package/node_modules/zod/src/v4/locales/el.ts +3 -0
- package/node_modules/zod/src/v4/locales/en.ts +17 -4
- package/node_modules/zod/src/v4/locales/eo.ts +5 -0
- package/node_modules/zod/src/v4/locales/es.ts +4 -0
- package/node_modules/zod/src/v4/locales/fa.ts +5 -0
- package/node_modules/zod/src/v4/locales/fi.ts +5 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +5 -0
- package/node_modules/zod/src/v4/locales/fr.ts +21 -14
- package/node_modules/zod/src/v4/locales/gu.ts +123 -0
- package/node_modules/zod/src/v4/locales/he.ts +8 -1
- package/node_modules/zod/src/v4/locales/hi.ts +126 -0
- package/node_modules/zod/src/v4/locales/hr.ts +4 -0
- package/node_modules/zod/src/v4/locales/hu.ts +5 -0
- package/node_modules/zod/src/v4/locales/hy.ts +11 -0
- package/node_modules/zod/src/v4/locales/id.ts +5 -0
- package/node_modules/zod/src/v4/locales/index.ts +11 -0
- package/node_modules/zod/src/v4/locales/is.ts +5 -0
- package/node_modules/zod/src/v4/locales/it.ts +5 -0
- package/node_modules/zod/src/v4/locales/ja.ts +5 -0
- package/node_modules/zod/src/v4/locales/ka.ts +5 -0
- package/node_modules/zod/src/v4/locales/km.ts +5 -0
- package/node_modules/zod/src/v4/locales/kn.ts +126 -0
- package/node_modules/zod/src/v4/locales/ko.ts +5 -0
- package/node_modules/zod/src/v4/locales/lt.ts +4 -0
- package/node_modules/zod/src/v4/locales/mk.ts +5 -0
- package/node_modules/zod/src/v4/locales/ms.ts +5 -0
- package/node_modules/zod/src/v4/locales/ne.ts +128 -0
- package/node_modules/zod/src/v4/locales/nl.ts +5 -0
- package/node_modules/zod/src/v4/locales/nn.ts +121 -0
- package/node_modules/zod/src/v4/locales/no.ts +7 -2
- package/node_modules/zod/src/v4/locales/ota.ts +5 -0
- package/node_modules/zod/src/v4/locales/pl.ts +5 -0
- package/node_modules/zod/src/v4/locales/ps.ts +5 -0
- package/node_modules/zod/src/v4/locales/pt-BR.ts +161 -0
- package/node_modules/zod/src/v4/locales/pt.ts +101 -58
- package/node_modules/zod/src/v4/locales/ro.ts +3 -0
- package/node_modules/zod/src/v4/locales/ru.ts +12 -0
- package/node_modules/zod/src/v4/locales/sk.ts +123 -0
- package/node_modules/zod/src/v4/locales/sl.ts +5 -0
- package/node_modules/zod/src/v4/locales/sv.ts +7 -2
- package/node_modules/zod/src/v4/locales/ta.ts +5 -0
- package/node_modules/zod/src/v4/locales/tg.ts +135 -0
- package/node_modules/zod/src/v4/locales/th.ts +5 -0
- package/node_modules/zod/src/v4/locales/tk.ts +113 -0
- package/node_modules/zod/src/v4/locales/tr.ts +5 -0
- package/node_modules/zod/src/v4/locales/uk.ts +5 -0
- package/node_modules/zod/src/v4/locales/ur.ts +5 -0
- package/node_modules/zod/src/v4/locales/uz.ts +3 -0
- package/node_modules/zod/src/v4/locales/vi.ts +5 -0
- package/node_modules/zod/src/v4/locales/yo.ts +5 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +5 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +5 -0
- package/node_modules/zod/src/v4/mini/checks.ts +1 -0
- package/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
- package/node_modules/zod/src/v4/mini/external.ts +12 -1
- package/node_modules/zod/src/v4/mini/in-out.ts +45 -0
- package/node_modules/zod/src/v4/mini/parse.ts +2 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +167 -63
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +33 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +62 -1
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +14 -0
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +35 -1
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +11 -17
- package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
- package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +23 -4
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +9 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +158 -5
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +14 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +65 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +16 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +44 -0
- package/node_modules/zod/v3/ZodError.cjs +41 -12
- package/node_modules/zod/v3/ZodError.d.cts +1 -1
- package/node_modules/zod/v3/ZodError.d.ts +1 -1
- package/node_modules/zod/v3/ZodError.js +22 -12
- package/node_modules/zod/v3/errors.cjs +19 -0
- package/node_modules/zod/v3/external.cjs +19 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +19 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +20 -1
- package/node_modules/zod/v3/helpers/errorUtil.js +1 -1
- package/node_modules/zod/v3/helpers/parseUtil.cjs +19 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +19 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +19 -0
- package/node_modules/zod/v3/helpers/util.cjs +19 -0
- package/node_modules/zod/v3/index.cjs +19 -0
- package/node_modules/zod/v3/standard-schema.cjs +19 -0
- package/node_modules/zod/v3/types.cjs +26 -5
- package/node_modules/zod/v3/types.js +7 -5
- package/node_modules/zod/v4/classic/checks.cjs +21 -1
- package/node_modules/zod/v4/classic/checks.d.cts +1 -1
- package/node_modules/zod/v4/classic/checks.d.ts +1 -1
- package/node_modules/zod/v4/classic/checks.js +1 -1
- package/node_modules/zod/v4/classic/coerce.cjs +19 -0
- package/node_modules/zod/v4/classic/compat.cjs +19 -0
- package/node_modules/zod/v4/classic/compat.d.cts +9 -11
- package/node_modules/zod/v4/classic/compat.d.ts +9 -11
- package/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
- package/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
- package/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
- package/node_modules/zod/v4/classic/deep-partial.js +13 -0
- package/node_modules/zod/v4/classic/errors.cjs +62 -34
- package/node_modules/zod/v4/classic/errors.d.cts +3 -4
- package/node_modules/zod/v4/classic/errors.d.ts +3 -4
- package/node_modules/zod/v4/classic/errors.js +43 -34
- package/node_modules/zod/v4/classic/external.cjs +51 -27
- package/node_modules/zod/v4/classic/external.d.cts +5 -2
- package/node_modules/zod/v4/classic/external.d.ts +5 -2
- package/node_modules/zod/v4/classic/external.js +5 -8
- package/node_modules/zod/v4/classic/from-json-schema.cjs +376 -75
- package/node_modules/zod/v4/classic/from-json-schema.js +357 -75
- package/node_modules/zod/v4/classic/in-out.cjs +82 -0
- package/node_modules/zod/v4/classic/in-out.d.cts +8 -0
- package/node_modules/zod/v4/classic/in-out.d.ts +8 -0
- package/node_modules/zod/v4/classic/in-out.js +36 -0
- package/node_modules/zod/v4/classic/index.cjs +21 -2
- package/node_modules/zod/v4/classic/index.d.cts +1 -2
- package/node_modules/zod/v4/classic/index.d.ts +1 -2
- package/node_modules/zod/v4/classic/index.js +2 -2
- package/node_modules/zod/v4/classic/iso.cjs +30 -22
- package/node_modules/zod/v4/classic/iso.d.cts +2 -17
- package/node_modules/zod/v4/classic/iso.d.ts +2 -17
- package/node_modules/zod/v4/classic/iso.js +2 -17
- package/node_modules/zod/v4/classic/parse.cjs +23 -1
- package/node_modules/zod/v4/classic/parse.d.cts +17 -4
- package/node_modules/zod/v4/classic/parse.d.ts +17 -4
- package/node_modules/zod/v4/classic/parse.js +1 -0
- package/node_modules/zod/v4/classic/schemas.cjs +591 -426
- package/node_modules/zod/v4/classic/schemas.d.cts +68 -19
- package/node_modules/zod/v4/classic/schemas.d.ts +68 -19
- package/node_modules/zod/v4/classic/schemas.js +564 -424
- package/node_modules/zod/v4/core/api.cjs +66 -24
- package/node_modules/zod/v4/core/api.d.cts +22 -12
- package/node_modules/zod/v4/core/api.d.ts +22 -12
- package/node_modules/zod/v4/core/api.js +44 -24
- package/node_modules/zod/v4/core/checks.cjs +88 -128
- package/node_modules/zod/v4/core/checks.d.cts +29 -13
- package/node_modules/zod/v4/core/checks.d.ts +29 -13
- package/node_modules/zod/v4/core/checks.js +68 -127
- package/node_modules/zod/v4/core/compile.cjs +1916 -0
- package/node_modules/zod/v4/core/compile.d.cts +65 -0
- package/node_modules/zod/v4/core/compile.d.ts +65 -0
- package/node_modules/zod/v4/core/compile.js +1866 -0
- package/node_modules/zod/v4/core/core.cjs +101 -19
- package/node_modules/zod/v4/core/core.d.cts +16 -4
- package/node_modules/zod/v4/core/core.d.ts +16 -4
- package/node_modules/zod/v4/core/core.js +83 -20
- package/node_modules/zod/v4/core/doc.cjs +31 -9
- package/node_modules/zod/v4/core/doc.d.cts +3 -1
- package/node_modules/zod/v4/core/doc.d.ts +3 -1
- package/node_modules/zod/v4/core/doc.js +12 -9
- package/node_modules/zod/v4/core/errors.cjs +126 -25
- package/node_modules/zod/v4/core/errors.d.cts +4 -0
- package/node_modules/zod/v4/core/errors.d.ts +4 -0
- package/node_modules/zod/v4/core/errors.js +107 -25
- package/node_modules/zod/v4/core/index.cjs +24 -1
- package/node_modules/zod/v4/core/index.d.cts +3 -0
- package/node_modules/zod/v4/core/index.d.ts +3 -0
- package/node_modules/zod/v4/core/index.js +3 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +24 -1
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +2 -2
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +2 -2
- package/node_modules/zod/v4/core/json-schema-generator.js +6 -2
- package/node_modules/zod/v4/core/json-schema-processors.cjs +441 -156
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +16 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +16 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +400 -158
- package/node_modules/zod/v4/core/json-schema.cjs +19 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +2 -1
- package/node_modules/zod/v4/core/json-schema.d.ts +2 -1
- package/node_modules/zod/v4/core/memoizer.cjs +360 -0
- package/node_modules/zod/v4/core/memoizer.d.cts +15 -0
- package/node_modules/zod/v4/core/memoizer.d.ts +15 -0
- package/node_modules/zod/v4/core/memoizer.js +311 -0
- package/node_modules/zod/v4/core/parse.cjs +148 -46
- package/node_modules/zod/v4/core/parse.d.cts +14 -11
- package/node_modules/zod/v4/core/parse.d.ts +14 -11
- package/node_modules/zod/v4/core/parse.js +127 -45
- package/node_modules/zod/v4/core/regexes.cjs +54 -17
- package/node_modules/zod/v4/core/regexes.d.cts +5 -0
- package/node_modules/zod/v4/core/regexes.d.ts +5 -0
- package/node_modules/zod/v4/core/regexes.js +32 -15
- package/node_modules/zod/v4/core/registries.cjs +19 -0
- package/node_modules/zod/v4/core/registries.js +2 -2
- package/node_modules/zod/v4/core/schemas.cjs +815 -386
- package/node_modules/zod/v4/core/schemas.d.cts +126 -35
- package/node_modules/zod/v4/core/schemas.d.ts +126 -35
- package/node_modules/zod/v4/core/schemas.js +783 -386
- package/node_modules/zod/v4/core/standard-schema.cjs +19 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +269 -45
- package/node_modules/zod/v4/core/to-json-schema.d.cts +45 -5
- package/node_modules/zod/v4/core/to-json-schema.d.ts +45 -5
- package/node_modules/zod/v4/core/to-json-schema.js +247 -44
- package/node_modules/zod/v4/core/util.cjs +387 -157
- package/node_modules/zod/v4/core/util.d.cts +81 -1
- package/node_modules/zod/v4/core/util.d.ts +81 -1
- package/node_modules/zod/v4/core/util.js +355 -156
- package/node_modules/zod/v4/core/versions.cjs +21 -2
- package/node_modules/zod/v4/core/versions.d.cts +1 -1
- package/node_modules/zod/v4/core/versions.d.ts +1 -1
- package/node_modules/zod/v4/core/versions.js +2 -2
- package/node_modules/zod/v4/core/visit.cjs +214 -0
- package/node_modules/zod/v4/core/visit.d.cts +30 -0
- package/node_modules/zod/v4/core/visit.d.ts +30 -0
- package/node_modules/zod/v4/core/visit.js +169 -0
- package/node_modules/zod/v4/index.cjs +34 -5
- package/node_modules/zod/v4/index.d.cts +2 -2
- package/node_modules/zod/v4/index.d.ts +2 -2
- package/node_modules/zod/v4/index.js +3 -2
- package/node_modules/zod/v4/locales/ar.cjs +5 -0
- package/node_modules/zod/v4/locales/ar.js +5 -0
- package/node_modules/zod/v4/locales/az.cjs +5 -0
- package/node_modules/zod/v4/locales/az.js +5 -0
- package/node_modules/zod/v4/locales/be.cjs +12 -0
- package/node_modules/zod/v4/locales/be.js +12 -0
- package/node_modules/zod/v4/locales/bg.cjs +5 -0
- package/node_modules/zod/v4/locales/bg.js +5 -0
- package/node_modules/zod/v4/locales/bn.cjs +140 -0
- package/node_modules/zod/v4/locales/bn.d.cts +5 -0
- package/node_modules/zod/v4/locales/bn.d.ts +4 -0
- package/node_modules/zod/v4/locales/bn.js +113 -0
- package/node_modules/zod/v4/locales/ca.cjs +5 -0
- package/node_modules/zod/v4/locales/ca.js +5 -0
- package/node_modules/zod/v4/locales/ckb.cjs +160 -0
- package/node_modules/zod/v4/locales/ckb.d.cts +5 -0
- package/node_modules/zod/v4/locales/ckb.d.ts +4 -0
- package/node_modules/zod/v4/locales/ckb.js +133 -0
- package/node_modules/zod/v4/locales/cs.cjs +5 -0
- package/node_modules/zod/v4/locales/cs.js +5 -0
- package/node_modules/zod/v4/locales/da.cjs +7 -2
- package/node_modules/zod/v4/locales/da.js +7 -2
- package/node_modules/zod/v4/locales/de.cjs +5 -0
- package/node_modules/zod/v4/locales/de.js +5 -0
- package/node_modules/zod/v4/locales/el.cjs +3 -0
- package/node_modules/zod/v4/locales/el.js +3 -0
- package/node_modules/zod/v4/locales/en.cjs +16 -4
- package/node_modules/zod/v4/locales/en.js +16 -4
- package/node_modules/zod/v4/locales/eo.cjs +5 -0
- package/node_modules/zod/v4/locales/eo.js +5 -0
- package/node_modules/zod/v4/locales/es.cjs +4 -0
- package/node_modules/zod/v4/locales/es.js +4 -0
- package/node_modules/zod/v4/locales/fa.cjs +5 -0
- package/node_modules/zod/v4/locales/fa.js +5 -0
- package/node_modules/zod/v4/locales/fi.cjs +5 -0
- package/node_modules/zod/v4/locales/fi.js +5 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +5 -0
- package/node_modules/zod/v4/locales/fr-CA.js +5 -0
- package/node_modules/zod/v4/locales/fr.cjs +18 -14
- package/node_modules/zod/v4/locales/fr.js +18 -14
- package/node_modules/zod/v4/locales/gu.cjs +140 -0
- package/node_modules/zod/v4/locales/gu.d.cts +5 -0
- package/node_modules/zod/v4/locales/gu.d.ts +4 -0
- package/node_modules/zod/v4/locales/gu.js +113 -0
- package/node_modules/zod/v4/locales/he.cjs +7 -0
- package/node_modules/zod/v4/locales/he.js +7 -0
- package/node_modules/zod/v4/locales/hi.cjs +138 -0
- package/node_modules/zod/v4/locales/hi.d.cts +5 -0
- package/node_modules/zod/v4/locales/hi.d.ts +4 -0
- package/node_modules/zod/v4/locales/hi.js +111 -0
- package/node_modules/zod/v4/locales/hr.cjs +4 -0
- package/node_modules/zod/v4/locales/hr.js +4 -0
- package/node_modules/zod/v4/locales/hu.cjs +5 -0
- package/node_modules/zod/v4/locales/hu.js +5 -0
- package/node_modules/zod/v4/locales/hy.cjs +11 -0
- package/node_modules/zod/v4/locales/hy.js +11 -0
- package/node_modules/zod/v4/locales/id.cjs +5 -0
- package/node_modules/zod/v4/locales/id.js +5 -0
- package/node_modules/zod/v4/locales/index.cjs +43 -2
- package/node_modules/zod/v4/locales/index.d.cts +11 -0
- package/node_modules/zod/v4/locales/index.d.ts +11 -0
- package/node_modules/zod/v4/locales/index.js +11 -0
- package/node_modules/zod/v4/locales/is.cjs +5 -0
- package/node_modules/zod/v4/locales/is.js +5 -0
- package/node_modules/zod/v4/locales/it.cjs +5 -0
- package/node_modules/zod/v4/locales/it.js +5 -0
- package/node_modules/zod/v4/locales/ja.cjs +5 -0
- package/node_modules/zod/v4/locales/ja.js +5 -0
- package/node_modules/zod/v4/locales/ka.cjs +5 -0
- package/node_modules/zod/v4/locales/ka.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +5 -0
- package/node_modules/zod/v4/locales/km.js +5 -0
- package/node_modules/zod/v4/locales/kn.cjs +143 -0
- package/node_modules/zod/v4/locales/kn.d.cts +5 -0
- package/node_modules/zod/v4/locales/kn.d.ts +4 -0
- package/node_modules/zod/v4/locales/kn.js +116 -0
- package/node_modules/zod/v4/locales/ko.cjs +5 -0
- package/node_modules/zod/v4/locales/ko.js +5 -0
- package/node_modules/zod/v4/locales/lt.cjs +4 -0
- package/node_modules/zod/v4/locales/lt.js +4 -0
- package/node_modules/zod/v4/locales/mk.cjs +5 -0
- package/node_modules/zod/v4/locales/mk.js +5 -0
- package/node_modules/zod/v4/locales/ms.cjs +5 -0
- package/node_modules/zod/v4/locales/ms.js +5 -0
- package/node_modules/zod/v4/locales/ne.cjs +138 -0
- package/node_modules/zod/v4/locales/ne.d.cts +5 -0
- package/node_modules/zod/v4/locales/ne.d.ts +4 -0
- package/node_modules/zod/v4/locales/ne.js +111 -0
- package/node_modules/zod/v4/locales/nl.cjs +5 -0
- package/node_modules/zod/v4/locales/nl.js +5 -0
- package/node_modules/zod/v4/locales/nn.cjs +140 -0
- package/node_modules/zod/v4/locales/nn.d.cts +5 -0
- package/node_modules/zod/v4/locales/nn.d.ts +4 -0
- package/node_modules/zod/v4/locales/nn.js +113 -0
- package/node_modules/zod/v4/locales/no.cjs +7 -2
- package/node_modules/zod/v4/locales/no.js +7 -2
- package/node_modules/zod/v4/locales/ota.cjs +5 -0
- package/node_modules/zod/v4/locales/ota.js +5 -0
- package/node_modules/zod/v4/locales/pl.cjs +5 -0
- package/node_modules/zod/v4/locales/pl.js +5 -0
- package/node_modules/zod/v4/locales/ps.cjs +5 -0
- package/node_modules/zod/v4/locales/ps.js +5 -0
- package/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
- package/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt-BR.js +143 -0
- package/node_modules/zod/v4/locales/pt.cjs +89 -55
- package/node_modules/zod/v4/locales/pt.js +89 -55
- package/node_modules/zod/v4/locales/ro.cjs +3 -0
- package/node_modules/zod/v4/locales/ro.js +3 -0
- package/node_modules/zod/v4/locales/ru.cjs +12 -0
- package/node_modules/zod/v4/locales/ru.js +12 -0
- package/node_modules/zod/v4/locales/sk.cjs +143 -0
- package/node_modules/zod/v4/locales/sk.d.cts +5 -0
- package/node_modules/zod/v4/locales/sk.d.ts +4 -0
- package/node_modules/zod/v4/locales/sk.js +116 -0
- package/node_modules/zod/v4/locales/sl.cjs +5 -0
- package/node_modules/zod/v4/locales/sl.js +5 -0
- package/node_modules/zod/v4/locales/sv.cjs +7 -2
- package/node_modules/zod/v4/locales/sv.js +7 -2
- package/node_modules/zod/v4/locales/ta.cjs +5 -0
- package/node_modules/zod/v4/locales/ta.js +5 -0
- package/node_modules/zod/v4/locales/tg.cjs +144 -0
- package/node_modules/zod/v4/locales/tg.d.cts +5 -0
- package/node_modules/zod/v4/locales/tg.d.ts +4 -0
- package/node_modules/zod/v4/locales/tg.js +117 -0
- package/node_modules/zod/v4/locales/th.cjs +5 -0
- package/node_modules/zod/v4/locales/th.js +5 -0
- package/node_modules/zod/v4/locales/tk.cjs +134 -0
- package/node_modules/zod/v4/locales/tk.d.cts +5 -0
- package/node_modules/zod/v4/locales/tk.d.ts +4 -0
- package/node_modules/zod/v4/locales/tk.js +107 -0
- package/node_modules/zod/v4/locales/tr.cjs +5 -0
- package/node_modules/zod/v4/locales/tr.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +5 -0
- package/node_modules/zod/v4/locales/uk.js +5 -0
- package/node_modules/zod/v4/locales/ur.cjs +5 -0
- package/node_modules/zod/v4/locales/ur.js +5 -0
- package/node_modules/zod/v4/locales/uz.cjs +3 -0
- package/node_modules/zod/v4/locales/uz.js +3 -0
- package/node_modules/zod/v4/locales/vi.cjs +5 -0
- package/node_modules/zod/v4/locales/vi.js +5 -0
- package/node_modules/zod/v4/locales/yo.cjs +5 -0
- package/node_modules/zod/v4/locales/yo.js +5 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +5 -0
- package/node_modules/zod/v4/locales/zh-CN.js +5 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +5 -0
- package/node_modules/zod/v4/locales/zh-TW.js +5 -0
- package/node_modules/zod/v4/mini/checks.cjs +21 -1
- package/node_modules/zod/v4/mini/checks.d.cts +1 -1
- package/node_modules/zod/v4/mini/checks.d.ts +1 -1
- package/node_modules/zod/v4/mini/checks.js +1 -1
- package/node_modules/zod/v4/mini/coerce.cjs +19 -0
- package/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
- package/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
- package/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
- package/node_modules/zod/v4/mini/deep-partial.js +13 -0
- package/node_modules/zod/v4/mini/external.cjs +33 -1
- package/node_modules/zod/v4/mini/external.d.cts +5 -2
- package/node_modules/zod/v4/mini/external.d.ts +5 -2
- package/node_modules/zod/v4/mini/external.js +3 -1
- package/node_modules/zod/v4/mini/in-out.cjs +82 -0
- package/node_modules/zod/v4/mini/in-out.d.cts +8 -0
- package/node_modules/zod/v4/mini/in-out.d.ts +8 -0
- package/node_modules/zod/v4/mini/in-out.js +36 -0
- package/node_modules/zod/v4/mini/index.cjs +19 -0
- package/node_modules/zod/v4/mini/iso.cjs +19 -0
- package/node_modules/zod/v4/mini/parse.cjs +22 -1
- package/node_modules/zod/v4/mini/parse.d.cts +1 -1
- package/node_modules/zod/v4/mini/parse.d.ts +1 -1
- package/node_modules/zod/v4/mini/parse.js +1 -1
- package/node_modules/zod/v4/mini/schemas.cjs +117 -53
- package/node_modules/zod/v4/mini/schemas.d.cts +49 -14
- package/node_modules/zod/v4/mini/schemas.d.ts +49 -14
- package/node_modules/zod/v4/mini/schemas.js +92 -51
- package/node_modules/zod/v4-mini/index.cjs +19 -0
- package/package.json +7 -7
- package/runtime-package.json +13 -8
- package/shipping-sbom.cdx.json +159 -160
- package/shipping-source.json +12 -12
- package/node_modules/zod/src/v4/core/config.ts +0 -15
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/README.md +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/index.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/index.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/index.js +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/index.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/memory.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/memory.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/memory.js +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/memory.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/noop.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/noop.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/noop.js +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/noop.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/conformance.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/conformance.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/conformance.js +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/conformance.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/index.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/index.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/index.js +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/index.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/types.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/types.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode/dist → pi-ai/node_modules/@earendil-works/pi-telemetry/dist/testing}/types.js +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/dist/testing/types.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry → pi-ai/node_modules/@earendil-works/pi-telemetry}/package.json +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/README.md +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/cloudflare.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/cloudflare.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/cloudflare.js +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/cloudflare.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/declarations.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/declarations.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/declarations.js +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/declarations.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/identifier.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/identifier.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/identifier.js +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/identifier.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/index.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/index.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/index.js +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/index.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/portable.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/portable.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/portable.js +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/portable.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/execution.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/execution.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/execution.js +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/execution.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/host.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/host.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/host.js +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/host.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/inline.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/inline.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/inline.js +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/inline.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/prelude-source.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/prelude-source.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/prelude-source.js +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/prelude-source.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/protocol.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/protocol.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/protocol.js +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/protocol.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/remote.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/remote.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/remote.js +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/remote.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/vm.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/vm.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/vm.js +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/vm.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/worker.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/worker.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/worker.js +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/runtime/worker.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/source.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/source.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/source.js +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/source.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/types.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/types.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-telemetry/dist/testing → pi-coding-agent/node_modules/@earendil-works/pi-codemode/dist}/types.js +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/types.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/wasm.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/wasm.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/wasm.js +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/dist/wasm.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-codemode → pi-coding-agent/node_modules/@earendil-works/pi-codemode}/package.json +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/CHANGELOG.md +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/LICENSES/modelcontextprotocol-typescript-sdk.txt +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/README.md +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/auth-provider.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/auth-provider.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/auth-provider.js +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/auth-provider.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/client.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/client.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/client.js +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/client.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/index.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/index.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/index.js +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/index.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/callback.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/callback.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/callback.js +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/callback.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/discovery.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/discovery.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/discovery.js +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/discovery.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/errors.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/errors.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/errors.js +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/errors.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/flow.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/flow.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/flow.js +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/flow.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/index.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/index.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/index.js +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/index.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/provider.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/provider.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/provider.js +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/provider.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/types.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/types.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/types.js +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/oauth/types.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/content.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/content.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/content.js +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/content.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/jsonrpc.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/jsonrpc.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/jsonrpc.js +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/jsonrpc.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/types.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/types.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/types.js +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/protocol/types.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/testing/index.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/testing/index.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/testing/index.js +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/testing/index.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/in-memory.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/in-memory.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/in-memory.js +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/in-memory.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/stdio.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/stdio.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/stdio.js +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/stdio.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/streamable-http.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/streamable-http.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/streamable-http.js +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/streamable-http.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/transport.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/transport.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/transport.js +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/dist/transports/transport.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-mcp → pi-coding-agent/node_modules/@earendil-works/pi-mcp}/package.json +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/README.md +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/alt-screen-search.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/alt-screen-search.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/alt-screen-search.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/alt-screen-search.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/autocomplete.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/autocomplete.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/autocomplete.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/autocomplete.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/colors.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/colors.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/colors.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/colors.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/alt-screen-flash.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/alt-screen-flash.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/alt-screen-flash.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/alt-screen-flash.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/box.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/box.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/box.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/box.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/cancellable-loader.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/cancellable-loader.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/cancellable-loader.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/cancellable-loader.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/editor.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/editor.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/editor.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/editor.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/h-stack.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/h-stack.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/h-stack.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/h-stack.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/image.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/image.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/image.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/image.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/input.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/input.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/input.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/input.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/loader.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/loader.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/loader.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/loader.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/markdown.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/markdown.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/markdown.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/markdown.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/mouse-region.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/mouse-region.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/mouse-region.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/mouse-region.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/scroll-view.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/scroll-view.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/scroll-view.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/scroll-view.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/select-list.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/select-list.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/select-list.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/select-list.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/settings-list.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/settings-list.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/settings-list.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/settings-list.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/spacer.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/spacer.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/spacer.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/spacer.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/stack.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/stack.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/stack.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/stack.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/text.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/text.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/text.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/text.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/truncated-text.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/truncated-text.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/truncated-text.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/truncated-text.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/v-stack.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/v-stack.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/v-stack.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/components/v-stack.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/editor-component.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/editor-component.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/editor-component.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/editor-component.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/fuzzy.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/fuzzy.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/fuzzy.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/fuzzy.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/index.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/index.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/index.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/index.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/keybindings.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/keybindings.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/keybindings.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/keybindings.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/keys.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/keys.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/keys.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/keys.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/kill-ring.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/kill-ring.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/kill-ring.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/kill-ring.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/latex.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/latex.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/latex.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/latex.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/layout-node.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/layout-node.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/layout-node.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/layout-node.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/layout.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/layout.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/layout.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/layout.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-modifiers.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-modifiers.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-modifiers.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-modifiers.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-module-path.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-module-path.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-module-path.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-module-path.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-platform.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-platform.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-platform.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/native-platform.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/oklab.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/oklab.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/oklab.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/oklab.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/program-status.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/program-status.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/program-status.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/program-status.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/stdin-buffer.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/stdin-buffer.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/stdin-buffer.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/stdin-buffer.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal-colors.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal-colors.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal-colors.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal-colors.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal-image.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal-image.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal-image.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal-image.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/terminal.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui-alt-screen.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui-alt-screen.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui-alt-screen.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui-alt-screen.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui-main-screen.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui-main-screen.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui-main-screen.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui-main-screen.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/tui.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/undo-stack.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/undo-stack.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/undo-stack.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/undo-stack.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/utils.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/utils.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/utils.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/utils.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/wheel-scroll.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/wheel-scroll.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/wheel-scroll.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/wheel-scroll.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/word-navigation.d.ts +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/word-navigation.d.ts.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/word-navigation.js +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/dist/word-navigation.js.map +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/clipboard.h +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/darwin/README.md +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/darwin/build.sh +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/darwin/prebuilds/darwin-arm64/darwin-platform.node +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/darwin/prebuilds/darwin-x64/darwin-platform.node +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/darwin/src/darwin-platform.m +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/linux/README.md +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/linux/build.sh +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/linux/prebuilds/linux-arm64/linux-platform-x11.node +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/linux/prebuilds/linux-x64/linux-platform-x11.node +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/linux/src/clipboard-worker.h +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/linux/src/linux-platform-x11.c +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/napi.h +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/win32/README.md +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/win32/build.mjs +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/win32/prebuilds/win32-arm64/win32-platform.node +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/win32/prebuilds/win32-x64/win32-platform.node +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/native/win32/src/win32-platform.c +0 -0
- /package/node_modules/@earendil-works/{pi-tui → pi-coding-agent/node_modules/@earendil-works/pi-tui}/package.json +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/LICENSE +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/README.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Agent.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/BalancedPool.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/CacheStorage.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/CacheStore.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Client.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/ClientStats.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Connector.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/ContentType.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Cookies.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Debug.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/DiagnosticsChannel.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Dispatcher.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/EnvHttpProxyAgent.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Errors.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/EventSource.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Fetch.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/GlobalInstallation.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/H2CClient.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Interceptors.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/MockAgent.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/MockCallHistory.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/MockCallHistoryLog.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/MockClient.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/MockErrors.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/MockPool.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Pool.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/PoolStats.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/ProxyAgent.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/RedirectHandler.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/RetryAgent.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/RetryHandler.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/RoundRobinPool.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/SnapshotAgent.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Socks5ProxyAgent.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/Util.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/WebSocket.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/api/api-lifecycle.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/best-practices/client-certificate.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/best-practices/crawling.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/best-practices/migrating-from-v7-to-v8.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/best-practices/mocking-request.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/best-practices/proxy.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/best-practices/undici-vs-builtin-fetch.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/best-practices/writing-tests.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/getting-started.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/index.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/site.json +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/docs/docs/type-map.json +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/index-fetch.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/index.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/index.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/api/abort-signal.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/api/api-connect.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/api/api-pipeline.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/api/api-request.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/api/api-stream.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/api/api-upgrade.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/api/index.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/api/readable.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/cache/memory-cache-store.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/cache/sqlite-cache-store.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/core/connect.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/core/constants.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/core/diagnostics.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/core/errors.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/core/request.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/core/socks5-client.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/core/socks5-utils.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/core/symbols.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/core/tree.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/core/util.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/agent.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/balanced-pool.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/client-h1.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/client-h2.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/client.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/dispatcher-base.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/dispatcher.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/dispatcher1-wrapper.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/env-http-proxy-agent.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/fixed-queue.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/h2c-client.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/pool-base.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/pool.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/proxy-agent.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/retry-agent.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/round-robin-pool.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/dispatcher/socks5-proxy-agent.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/encoding/index.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/global.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/handler/cache-handler.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/handler/cache-revalidation-handler.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/handler/decorator-handler.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/handler/deduplication-handler.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/handler/redirect-handler.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/handler/retry-handler.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/interceptor/cache.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/interceptor/decompress.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/interceptor/deduplicate.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/interceptor/dns.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/interceptor/dump.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/interceptor/redirect.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/interceptor/response-error.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/interceptor/retry.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/llhttp/constants.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/llhttp/constants.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/llhttp/llhttp-wasm.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/llhttp/llhttp_simd-wasm.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/llhttp/utils.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/llhttp/utils.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/mock-agent.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/mock-call-history.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/mock-client.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/mock-errors.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/mock-interceptor.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/mock-pool.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/mock-symbols.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/mock-utils.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/pending-interceptors-formatter.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/snapshot-agent.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/snapshot-recorder.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/mock/snapshot-utils.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/util/cache.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/util/date.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/util/runtime-features.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/util/stats.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/util/timers.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/cache/cache.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/cache/cachestorage.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/cache/util.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/cookies/constants.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/cookies/index.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/cookies/parse.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/cookies/util.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/eventsource/eventsource-stream.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/eventsource/eventsource.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/eventsource/util.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/LICENSE +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/body.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/constants.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/data-url.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/formdata-parser.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/formdata.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/global.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/headers.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/index.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/request.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/response.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/fetch/util.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/infra/index.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/subresource-integrity/Readme.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/subresource-integrity/subresource-integrity.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/webidl/index.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/connection.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/constants.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/events.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/frame.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/permessage-deflate.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/receiver.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/sender.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/stream/websocketerror.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/stream/websocketstream.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/util.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/lib/web/websocket/websocket.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/package.json +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/scripts/strip-comments.js +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/README.md +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/agent.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/api.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/balanced-pool.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/cache-interceptor.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/cache.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/client-stats.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/client.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/connector.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/content-type.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/cookies.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/diagnostics-channel.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/dispatcher.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/dispatcher1-wrapper.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/env-http-proxy-agent.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/errors.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/eventsource.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/fetch.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/formdata.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/global-dispatcher.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/global-origin.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/h2c-client.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/handlers.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/header.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/index.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/interceptors.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/mock-agent.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/mock-call-history.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/mock-client.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/mock-errors.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/mock-interceptor.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/mock-pool.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/patch.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/pool-stats.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/pool.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/proxy-agent.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/readable.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/retry-agent.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/retry-handler.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/round-robin-pool.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/snapshot-agent.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/socks5-proxy-agent.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/util.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/utility.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/webidl.d.ts +0 -0
- /package/node_modules/{undici → @earendil-works/pi-coding-agent/node_modules/undici}/types/websocket.d.ts +0 -0
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
import { toCodemodeIdentifier } from "./identifier.js";
|
|
2
|
+
export { toCodemodeIdentifier };
|
|
3
|
+
const IDENTIFIER = /^[A-Za-z_$][A-Za-z0-9_$]*$/;
|
|
4
|
+
const INDENT = " ";
|
|
5
|
+
/** Largest rendered input type, in characters, before it becomes `unknown`. */
|
|
6
|
+
export const DEFAULT_INPUT_SCHEMA_MAX_CHARS = 16_000;
|
|
7
|
+
/** Local `$ref` expansions per rendered schema, so shared definitions cannot blow up the output. */
|
|
8
|
+
const MAX_REF_EXPANSIONS = 32;
|
|
9
|
+
/** JSON Schema keywords with a number or string value shown as `@keyword value` property tags. */
|
|
10
|
+
const TAG_KEYWORDS = [
|
|
11
|
+
"minimum",
|
|
12
|
+
"exclusiveMinimum",
|
|
13
|
+
"maximum",
|
|
14
|
+
"exclusiveMaximum",
|
|
15
|
+
"multipleOf",
|
|
16
|
+
"minLength",
|
|
17
|
+
"maxLength",
|
|
18
|
+
"pattern",
|
|
19
|
+
"format",
|
|
20
|
+
"minItems",
|
|
21
|
+
"maxItems",
|
|
22
|
+
];
|
|
23
|
+
/** Tag keywords whose values all hold at once, so only the largest (lower) or smallest (upper) matters. */
|
|
24
|
+
const LOWER_BOUNDS = new Set(["minimum", "exclusiveMinimum", "minLength", "minItems"]);
|
|
25
|
+
const UPPER_BOUNDS = new Set(["maximum", "exclusiveMaximum", "maxLength", "maxItems"]);
|
|
26
|
+
/** Longest property tag; longer ones (large defaults, long patterns) are left out. */
|
|
27
|
+
const MAX_TAG_CHARS = 80;
|
|
28
|
+
/** Characters that end a `//` comment. */
|
|
29
|
+
const LINE_TERMINATORS = /[\r\n\u2028\u2029]/g;
|
|
30
|
+
/**
|
|
31
|
+
* Render TypeScript declarations for the script-visible API. Tools become members of
|
|
32
|
+
* `declare const tools`, globals become `declare function` statements, and `ns.member` globals
|
|
33
|
+
* members of `declare const ns`. Descriptions become doc comments; schemas become types.
|
|
34
|
+
*/
|
|
35
|
+
export function renderDeclarations(options) {
|
|
36
|
+
const sections = [];
|
|
37
|
+
const tools = options.tools ?? [];
|
|
38
|
+
if (tools.length > 0) {
|
|
39
|
+
const members = tools.map((tool) => `${docComment(tool.description, INDENT)}${INDENT}${renderToolSignature(tool)}`);
|
|
40
|
+
sections.push(`declare const tools: {\n${members.join("\n")}\n};`);
|
|
41
|
+
}
|
|
42
|
+
const namespaces = new Map();
|
|
43
|
+
for (const global of options.globals ?? []) {
|
|
44
|
+
const dot = global.name.indexOf(".");
|
|
45
|
+
if (dot === -1) {
|
|
46
|
+
sections.push(renderGlobal(`declare function ${global.name}`, global, ""));
|
|
47
|
+
continue;
|
|
48
|
+
}
|
|
49
|
+
const namespace = global.name.slice(0, dot);
|
|
50
|
+
const members = namespaces.get(namespace) ?? [];
|
|
51
|
+
if (members.length === 0)
|
|
52
|
+
namespaces.set(namespace, members);
|
|
53
|
+
members.push(renderGlobal(global.name.slice(dot + 1), global, INDENT));
|
|
54
|
+
}
|
|
55
|
+
for (const [namespace, members] of namespaces) {
|
|
56
|
+
sections.push(`declare const ${namespace}: {\n${members.join("\n")}\n};`);
|
|
57
|
+
}
|
|
58
|
+
return sections.join("\n\n");
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* One tool as a member of the `tools` object: `name(args: T): Promise<R>;` with the
|
|
62
|
+
* name as the identifier scripts use. Input types longer than `inputMaxChars` render as `unknown`.
|
|
63
|
+
*/
|
|
64
|
+
export function renderToolSignature(tool, options = {}) {
|
|
65
|
+
const input = tool.inputSchema === undefined
|
|
66
|
+
? "unknown"
|
|
67
|
+
: schemaToType(tool.inputSchema, { maxChars: options.inputMaxChars ?? DEFAULT_INPUT_SCHEMA_MAX_CHARS });
|
|
68
|
+
return `${toCodemodeIdentifier(tool.name)}(args: ${input}): Promise<${renderToolOutputType(tool.outputSchema)}>;`;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* A tool's sample: the description followed by the tool's declaration. Used for tool
|
|
72
|
+
* listings and `ALL_TOOLS` entries.
|
|
73
|
+
*/
|
|
74
|
+
export function renderToolSample(tool, options = {}) {
|
|
75
|
+
const declaration = `declare const tools: { ${renderToolSignature(tool, options)} };`;
|
|
76
|
+
return `${tool.description?.trim() ?? ""}\n\ncodemode tool declaration:\n\`\`\`ts\n${declaration}\n\`\`\``;
|
|
77
|
+
}
|
|
78
|
+
/** The type a tool call resolves to: the output schema's type, and `unknown` without a schema. */
|
|
79
|
+
export function renderToolOutputType(schema) {
|
|
80
|
+
return schema === undefined ? "unknown" : schemaToType(schema);
|
|
81
|
+
}
|
|
82
|
+
function renderGlobal(head, global, indent) {
|
|
83
|
+
if (global.signature !== undefined) {
|
|
84
|
+
return `${docComment(global.description, indent)}${indent}${head}${global.signature};`;
|
|
85
|
+
}
|
|
86
|
+
const input = global.inputSchema === undefined ? "unknown" : schemaToType(global.inputSchema);
|
|
87
|
+
const output = global.outputSchema === undefined ? "unknown" : schemaToType(global.outputSchema);
|
|
88
|
+
return `${docComment(global.description, indent)}${indent}${head}(args: ${input}): Promise<${output}>;`;
|
|
89
|
+
}
|
|
90
|
+
function docComment(description, indent) {
|
|
91
|
+
const text = description?.trim();
|
|
92
|
+
if (!text)
|
|
93
|
+
return "";
|
|
94
|
+
const lines = text.replaceAll("*/", "*\\/").split(/\r?\n/);
|
|
95
|
+
if (lines.length === 1)
|
|
96
|
+
return `${indent}/** ${lines[0]} */\n`;
|
|
97
|
+
return `${indent}/**\n${lines.map((line) => `${indent} *${line ? ` ${line}` : ""}`).join("\n")}\n${indent} */\n`;
|
|
98
|
+
}
|
|
99
|
+
function propertyKey(name) {
|
|
100
|
+
return IDENTIFIER.test(name) ? name : JSON.stringify(name);
|
|
101
|
+
}
|
|
102
|
+
function union(types) {
|
|
103
|
+
const unique = [...new Set(types)];
|
|
104
|
+
if (unique.includes("unknown"))
|
|
105
|
+
return "unknown";
|
|
106
|
+
return unique.length === 0 ? "never" : unique.join(" | ");
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Convert a JSON Schema to a TypeScript type expression: objects on one line (`{ a: string; b?: number; }`) with properties sorted by name,
|
|
110
|
+
* or one property per line with `//` comments when a property has a description or constraints the
|
|
111
|
+
* type cannot express (`// @integer @minimum 1 @default 20`); `Array<T>` for arrays. Local references
|
|
112
|
+
* (`#/$defs/...`, `#/definitions/...`) resolve against `schema`; recursive and remote references
|
|
113
|
+
* render as `unknown`. A result longer than `maxChars` is rendered again without the constraint tags,
|
|
114
|
+
* and renders as `unknown` if it is still too long.
|
|
115
|
+
*/
|
|
116
|
+
export function schemaToType(schema, options = {}) {
|
|
117
|
+
const render = (tags) => toType(schema, { root: schema, resolving: new Set(), expansions: 0, tags });
|
|
118
|
+
const type = render(true);
|
|
119
|
+
if (options.maxChars === undefined || type.length <= options.maxChars)
|
|
120
|
+
return type;
|
|
121
|
+
const untagged = render(false);
|
|
122
|
+
return untagged.length <= options.maxChars ? untagged : "unknown";
|
|
123
|
+
}
|
|
124
|
+
function resolveRef(ref, root) {
|
|
125
|
+
if (ref !== "#" && !ref.startsWith("#/"))
|
|
126
|
+
return undefined;
|
|
127
|
+
let current = root;
|
|
128
|
+
for (const segment of ref.slice(2).split("/").filter(Boolean)) {
|
|
129
|
+
const key = decodeURIComponent(segment).replaceAll("~1", "/").replaceAll("~0", "~");
|
|
130
|
+
if (typeof current !== "object" || current === null || Array.isArray(current) || !(key in current)) {
|
|
131
|
+
return undefined;
|
|
132
|
+
}
|
|
133
|
+
current = current[key];
|
|
134
|
+
}
|
|
135
|
+
if (typeof current === "boolean")
|
|
136
|
+
return current;
|
|
137
|
+
return typeof current === "object" && current !== null && !Array.isArray(current)
|
|
138
|
+
? current
|
|
139
|
+
: undefined;
|
|
140
|
+
}
|
|
141
|
+
function toType(schema, context) {
|
|
142
|
+
if (schema === true)
|
|
143
|
+
return "unknown";
|
|
144
|
+
if (schema === false)
|
|
145
|
+
return "never";
|
|
146
|
+
if (typeof schema !== "object" || schema === null || Array.isArray(schema))
|
|
147
|
+
return "unknown";
|
|
148
|
+
if (typeof schema.$ref === "string") {
|
|
149
|
+
const ref = schema.$ref;
|
|
150
|
+
if (context.resolving.has(ref) || context.expansions >= MAX_REF_EXPANSIONS)
|
|
151
|
+
return "unknown";
|
|
152
|
+
const target = resolveRef(ref, context.root);
|
|
153
|
+
if (target === undefined)
|
|
154
|
+
return "unknown";
|
|
155
|
+
context.expansions++;
|
|
156
|
+
context.resolving.add(ref);
|
|
157
|
+
try {
|
|
158
|
+
return toType(target, context);
|
|
159
|
+
}
|
|
160
|
+
finally {
|
|
161
|
+
context.resolving.delete(ref);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
if ("const" in schema)
|
|
165
|
+
return JSON.stringify(schema.const) ?? "unknown";
|
|
166
|
+
if (Array.isArray(schema.enum))
|
|
167
|
+
return union(schema.enum.map((value) => JSON.stringify(value) ?? "unknown"));
|
|
168
|
+
const variants = Array.isArray(schema.anyOf) ? schema.anyOf : Array.isArray(schema.oneOf) ? schema.oneOf : undefined;
|
|
169
|
+
if (variants)
|
|
170
|
+
return union(variants.map((variant) => toType(variant, context)));
|
|
171
|
+
if (Array.isArray(schema.allOf)) {
|
|
172
|
+
const parts = schema.allOf
|
|
173
|
+
.map((part) => toType(part, context))
|
|
174
|
+
.filter((part) => part !== "unknown");
|
|
175
|
+
return parts.length === 0
|
|
176
|
+
? "unknown"
|
|
177
|
+
: parts.map((part) => (part.includes(" | ") ? `(${part})` : part)).join(" & ");
|
|
178
|
+
}
|
|
179
|
+
const type = schema.type;
|
|
180
|
+
if (Array.isArray(type))
|
|
181
|
+
return union(type.map((entry) => toType({ ...schema, type: entry }, context)));
|
|
182
|
+
switch (type) {
|
|
183
|
+
case "string":
|
|
184
|
+
return "string";
|
|
185
|
+
case "number":
|
|
186
|
+
case "integer":
|
|
187
|
+
return "number";
|
|
188
|
+
case "boolean":
|
|
189
|
+
return "boolean";
|
|
190
|
+
case "null":
|
|
191
|
+
return "null";
|
|
192
|
+
case "array":
|
|
193
|
+
return arrayType(schema, context);
|
|
194
|
+
case "object":
|
|
195
|
+
return objectType(schema, context);
|
|
196
|
+
case undefined:
|
|
197
|
+
if ("properties" in schema || "additionalProperties" in schema || "required" in schema) {
|
|
198
|
+
return objectType(schema, context);
|
|
199
|
+
}
|
|
200
|
+
if ("items" in schema || "prefixItems" in schema)
|
|
201
|
+
return arrayType(schema, context);
|
|
202
|
+
return "unknown";
|
|
203
|
+
default:
|
|
204
|
+
return "unknown";
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
function arrayType(schema, context) {
|
|
208
|
+
if (schema.items !== undefined && !Array.isArray(schema.items)) {
|
|
209
|
+
return `Array<${toType(schema.items, context)}>`;
|
|
210
|
+
}
|
|
211
|
+
const tuple = Array.isArray(schema.prefixItems)
|
|
212
|
+
? schema.prefixItems
|
|
213
|
+
: Array.isArray(schema.items)
|
|
214
|
+
? schema.items
|
|
215
|
+
: [];
|
|
216
|
+
if (tuple.length > 0)
|
|
217
|
+
return `[${tuple.map((item) => toType(item, context)).join(", ")}]`;
|
|
218
|
+
return "unknown[]";
|
|
219
|
+
}
|
|
220
|
+
function descriptionOf(property) {
|
|
221
|
+
const description = property?.description;
|
|
222
|
+
return typeof description === "string" ? description.trim() : "";
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Constraints of a property that its TypeScript type cannot express, as JSDoc-style tags:
|
|
226
|
+
* `@integer @minimum 1 @maximum 100 @default 20`. Empty when there are none.
|
|
227
|
+
*/
|
|
228
|
+
function constraintTags(schema) {
|
|
229
|
+
if (typeof schema !== "object" || schema === null || Array.isArray(schema))
|
|
230
|
+
return "";
|
|
231
|
+
const property = schema;
|
|
232
|
+
// Optional fields such as Pydantic's `int | None` keep their constraints in the non-null branch.
|
|
233
|
+
// The branch's constraints apply together with the property's, so both are read.
|
|
234
|
+
const variants = Array.isArray(property.anyOf) ? property.anyOf : property.oneOf;
|
|
235
|
+
const nonNull = Array.isArray(variants)
|
|
236
|
+
? variants.filter((variant) => variant?.type !== "null")
|
|
237
|
+
: [];
|
|
238
|
+
const branch = nonNull.length === 1 ? nonNull[0] : undefined;
|
|
239
|
+
const branches = typeof branch === "object" && branch !== null && !Array.isArray(branch)
|
|
240
|
+
? [property, branch]
|
|
241
|
+
: [property];
|
|
242
|
+
// Draft-04 and OpenAPI 3.0 make `minimum`/`maximum` exclusive with a boolean `exclusiveMinimum`/`exclusiveMaximum`.
|
|
243
|
+
const schemas = branches.map((schema) => ({
|
|
244
|
+
...schema,
|
|
245
|
+
...(schema.exclusiveMinimum === true ? { minimum: undefined, exclusiveMinimum: schema.minimum } : {}),
|
|
246
|
+
...(schema.exclusiveMaximum === true ? { maximum: undefined, exclusiveMaximum: schema.maximum } : {}),
|
|
247
|
+
}));
|
|
248
|
+
const tags = [];
|
|
249
|
+
const isInteger = (type) => type === "integer" || (Array.isArray(type) && type.includes("integer"));
|
|
250
|
+
if (schemas.some((schema) => isInteger(schema.type)))
|
|
251
|
+
tags.push("@integer");
|
|
252
|
+
for (const keyword of TAG_KEYWORDS) {
|
|
253
|
+
const values = schemas.map((schema) => schema[keyword]);
|
|
254
|
+
if (LOWER_BOUNDS.has(keyword) || UPPER_BOUNDS.has(keyword)) {
|
|
255
|
+
const numbers = values.filter((value) => typeof value === "number");
|
|
256
|
+
if (numbers.length === 0)
|
|
257
|
+
continue;
|
|
258
|
+
tags.push(`@${keyword} ${LOWER_BOUNDS.has(keyword) ? Math.max(...numbers) : Math.min(...numbers)}`);
|
|
259
|
+
continue;
|
|
260
|
+
}
|
|
261
|
+
for (const value of new Set(values)) {
|
|
262
|
+
if (typeof value === "number" || typeof value === "string")
|
|
263
|
+
tags.push(`@${keyword} ${value}`);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
if (schemas.some((schema) => schema.uniqueItems === true))
|
|
267
|
+
tags.push("@uniqueItems");
|
|
268
|
+
// Annotations, unlike constraints, come from the property itself.
|
|
269
|
+
if (property.default !== undefined && property.default !== null) {
|
|
270
|
+
tags.push(`@default ${JSON.stringify(property.default)}`);
|
|
271
|
+
}
|
|
272
|
+
if (property.deprecated === true)
|
|
273
|
+
tags.push("@deprecated");
|
|
274
|
+
return tags
|
|
275
|
+
.filter((tag) => tag.length <= MAX_TAG_CHARS)
|
|
276
|
+
.map((tag) => tag.replace(LINE_TERMINATORS, (char) => `\\u${char.charCodeAt(0).toString(16).padStart(4, "0")}`))
|
|
277
|
+
.join(" ");
|
|
278
|
+
}
|
|
279
|
+
function objectType(schema, context) {
|
|
280
|
+
const properties = typeof schema.properties === "object" && schema.properties !== null && !Array.isArray(schema.properties)
|
|
281
|
+
? schema.properties
|
|
282
|
+
: {};
|
|
283
|
+
const required = new Set(Array.isArray(schema.required) ? schema.required : []);
|
|
284
|
+
const names = Object.keys(properties).sort();
|
|
285
|
+
const members = names.map((name) => {
|
|
286
|
+
const optional = required.has(name) ? "" : "?";
|
|
287
|
+
return `${propertyKey(name)}${optional}: ${toType(properties[name], context)};`;
|
|
288
|
+
});
|
|
289
|
+
const additional = schema.additionalProperties;
|
|
290
|
+
if (additional !== undefined && additional !== false) {
|
|
291
|
+
const type = additional === true ? "unknown" : toType(additional, context);
|
|
292
|
+
members.push(`[key: string]: ${type};`);
|
|
293
|
+
}
|
|
294
|
+
else if (additional === undefined && names.length === 0) {
|
|
295
|
+
members.push("[key: string]: unknown;");
|
|
296
|
+
}
|
|
297
|
+
if (members.length === 0)
|
|
298
|
+
return "{}";
|
|
299
|
+
const comments = names.map((name) => {
|
|
300
|
+
const lines = descriptionOf(properties[name])
|
|
301
|
+
.split(LINE_TERMINATORS)
|
|
302
|
+
.map((line) => line.trim())
|
|
303
|
+
.filter(Boolean);
|
|
304
|
+
const tags = context.tags ? constraintTags(properties[name]) : "";
|
|
305
|
+
return tags ? [...lines, tags] : lines;
|
|
306
|
+
});
|
|
307
|
+
if (!comments.some((comment) => comment.length > 0))
|
|
308
|
+
return `{ ${members.join(" ")} }`;
|
|
309
|
+
const lines = ["{"];
|
|
310
|
+
comments.forEach((comment, index) => {
|
|
311
|
+
for (const line of comment)
|
|
312
|
+
lines.push(`${INDENT}// ${line}`);
|
|
313
|
+
lines.push(`${INDENT}${members[index].replaceAll("\n", `\n${INDENT}`)}`);
|
|
314
|
+
});
|
|
315
|
+
for (const member of members.slice(names.length))
|
|
316
|
+
lines.push(`${INDENT}${member}`);
|
|
317
|
+
lines.push("}");
|
|
318
|
+
return lines.join("\n");
|
|
319
|
+
}
|
|
320
|
+
//# sourceMappingURL=declarations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"declarations.js","sourceRoot":"","sources":["../src/declarations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAIhC,MAAM,UAAU,GAAG,4BAA4B,CAAC;AAChD,MAAM,MAAM,GAAG,IAAI,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,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IACxC,CAAC,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC;QAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;IAEvF,MAAM,KAAK,GAAG,CAAC,GAAG,CAAC,CAAC;IACpB,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE;QACnC,KAAK,MAAM,IAAI,IAAI,OAAO;YAAE,KAAK,CAAC,IAAI,CAAC,GAAG,MAAM,MAAM,IAAI,EAAE,CAAC,CAAC;QAC9D,KAAK,CAAC,IAAI,CAAC,GAAG,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;IAC1E,CAAC,CAAC,CAAC;IACH,KAAK,MAAM,MAAM,IAAI,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC;QAAE,KAAK,CAAC,IAAI,CAAC,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC;IACnF,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAChB,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACzB,CAAC","sourcesContent":["import { toCodemodeIdentifier } from \"./identifier.ts\";\n\nexport { toCodemodeIdentifier };\n\nimport type { CodemodeJsonSchema, CodemodeTool } from \"./types.ts\";\n\nconst IDENTIFIER = /^[A-Za-z_$][A-Za-z0-9_$]*$/;\nconst INDENT = \" \";\n/** Largest rendered input type, in characters, before it becomes `unknown`. */\nexport const DEFAULT_INPUT_SCHEMA_MAX_CHARS = 16_000;\n/** Local `$ref` expansions per rendered schema, so shared definitions cannot blow up the output. */\nconst MAX_REF_EXPANSIONS = 32;\n/** JSON Schema keywords with a number or string value shown as `@keyword value` property tags. */\nconst TAG_KEYWORDS = [\n\t\"minimum\",\n\t\"exclusiveMinimum\",\n\t\"maximum\",\n\t\"exclusiveMaximum\",\n\t\"multipleOf\",\n\t\"minLength\",\n\t\"maxLength\",\n\t\"pattern\",\n\t\"format\",\n\t\"minItems\",\n\t\"maxItems\",\n];\n/** Tag keywords whose values all hold at once, so only the largest (lower) or smallest (upper) matters. */\nconst LOWER_BOUNDS = new Set([\"minimum\", \"exclusiveMinimum\", \"minLength\", \"minItems\"]);\nconst UPPER_BOUNDS = new Set([\"maximum\", \"exclusiveMaximum\", \"maxLength\", \"maxItems\"]);\n/** Longest property tag; longer ones (large defaults, long patterns) are left out. */\nconst MAX_TAG_CHARS = 80;\n/** Characters that end a `//` comment. */\nconst LINE_TERMINATORS = /[\\r\\n\\u2028\\u2029]/g;\n\nexport interface RenderDeclarationsOptions {\n\ttools?: readonly CodemodeTool[];\n\tglobals?: readonly CodemodeTool[];\n}\n\n/**\n * Render TypeScript declarations for the script-visible API. Tools become members of\n * `declare const tools`, globals become `declare function` statements, and `ns.member` globals\n * members of `declare const ns`. Descriptions become doc comments; schemas become types.\n */\nexport function renderDeclarations(options: RenderDeclarationsOptions): string {\n\tconst sections: string[] = [];\n\tconst tools = options.tools ?? [];\n\tif (tools.length > 0) {\n\t\tconst members = tools.map(\n\t\t\t(tool) => `${docComment(tool.description, INDENT)}${INDENT}${renderToolSignature(tool)}`,\n\t\t);\n\t\tsections.push(`declare const tools: {\\n${members.join(\"\\n\")}\\n};`);\n\t}\n\tconst namespaces = new Map<string, string[]>();\n\tfor (const global of options.globals ?? []) {\n\t\tconst dot = global.name.indexOf(\".\");\n\t\tif (dot === -1) {\n\t\t\tsections.push(renderGlobal(`declare function ${global.name}`, global, \"\"));\n\t\t\tcontinue;\n\t\t}\n\t\tconst namespace = global.name.slice(0, dot);\n\t\tconst members = namespaces.get(namespace) ?? [];\n\t\tif (members.length === 0) namespaces.set(namespace, members);\n\t\tmembers.push(renderGlobal(global.name.slice(dot + 1), global, INDENT));\n\t}\n\tfor (const [namespace, members] of namespaces) {\n\t\tsections.push(`declare const ${namespace}: {\\n${members.join(\"\\n\")}\\n};`);\n\t}\n\treturn sections.join(\"\\n\\n\");\n}\n\n/**\n * One tool as a member of the `tools` object: `name(args: T): Promise<R>;` with the\n * name as the identifier scripts use. Input types longer than `inputMaxChars` render as `unknown`.\n */\nexport function renderToolSignature(\n\ttool: Pick<CodemodeTool, \"name\" | \"inputSchema\" | \"outputSchema\">,\n\toptions: { inputMaxChars?: number } = {},\n): string {\n\tconst input =\n\t\ttool.inputSchema === undefined\n\t\t\t? \"unknown\"\n\t\t\t: schemaToType(tool.inputSchema, { maxChars: options.inputMaxChars ?? DEFAULT_INPUT_SCHEMA_MAX_CHARS });\n\treturn `${toCodemodeIdentifier(tool.name)}(args: ${input}): Promise<${renderToolOutputType(tool.outputSchema)}>;`;\n}\n\n/**\n * A tool's sample: the description followed by the tool's declaration. Used for tool\n * listings and `ALL_TOOLS` entries.\n */\nexport function renderToolSample(\n\ttool: Pick<CodemodeTool, \"name\" | \"description\" | \"inputSchema\" | \"outputSchema\">,\n\toptions: { inputMaxChars?: number } = {},\n): string {\n\tconst declaration = `declare const tools: { ${renderToolSignature(tool, options)} };`;\n\treturn `${tool.description?.trim() ?? \"\"}\\n\\ncodemode tool declaration:\\n\\`\\`\\`ts\\n${declaration}\\n\\`\\`\\``;\n}\n\n/** The type a tool call resolves to: the output schema's type, and `unknown` without a schema. */\nexport function renderToolOutputType(schema: CodemodeJsonSchema | undefined): string {\n\treturn schema === undefined ? \"unknown\" : schemaToType(schema);\n}\n\nfunction renderGlobal(head: string, global: CodemodeTool, indent: string): string {\n\tif (global.signature !== undefined) {\n\t\treturn `${docComment(global.description, indent)}${indent}${head}${global.signature};`;\n\t}\n\tconst input = global.inputSchema === undefined ? \"unknown\" : schemaToType(global.inputSchema);\n\tconst output = global.outputSchema === undefined ? \"unknown\" : schemaToType(global.outputSchema);\n\treturn `${docComment(global.description, indent)}${indent}${head}(args: ${input}): Promise<${output}>;`;\n}\n\nfunction docComment(description: string | undefined, indent: string): string {\n\tconst text = description?.trim();\n\tif (!text) return \"\";\n\tconst lines = text.replaceAll(\"*/\", \"*\\\\/\").split(/\\r?\\n/);\n\tif (lines.length === 1) return `${indent}/** ${lines[0]} */\\n`;\n\treturn `${indent}/**\\n${lines.map((line) => `${indent} *${line ? ` ${line}` : \"\"}`).join(\"\\n\")}\\n${indent} */\\n`;\n}\n\nfunction propertyKey(name: string): string {\n\treturn IDENTIFIER.test(name) ? name : JSON.stringify(name);\n}\n\nfunction union(types: string[]): string {\n\tconst unique = [...new Set(types)];\n\tif (unique.includes(\"unknown\")) return \"unknown\";\n\treturn unique.length === 0 ? \"never\" : unique.join(\" | \");\n}\n\n/**\n * Convert a JSON Schema to a TypeScript type expression: objects on one line (`{ a: string; b?: number; }`) with properties sorted by name,\n * or one property per line with `//` comments when a property has a description or constraints the\n * type cannot express (`// @integer @minimum 1 @default 20`); `Array<T>` for arrays. Local references\n * (`#/$defs/...`, `#/definitions/...`) resolve against `schema`; recursive and remote references\n * render as `unknown`. A result longer than `maxChars` is rendered again without the constraint tags,\n * and renders as `unknown` if it is still too long.\n */\nexport function schemaToType(schema: CodemodeJsonSchema, options: { maxChars?: number } = {}): string {\n\tconst render = (tags: boolean) => toType(schema, { root: schema, resolving: new Set(), expansions: 0, tags });\n\tconst type = render(true);\n\tif (options.maxChars === undefined || type.length <= options.maxChars) return type;\n\tconst untagged = render(false);\n\treturn untagged.length <= options.maxChars ? untagged : \"unknown\";\n}\n\ninterface SchemaContext {\n\troot: CodemodeJsonSchema;\n\t/** References being expanded on the current path, to stop at recursive types. */\n\tresolving: Set<string>;\n\texpansions: number;\n\t/** Whether property comments include constraint tags. */\n\ttags: boolean;\n}\n\nfunction resolveRef(ref: string, root: CodemodeJsonSchema): CodemodeJsonSchema | undefined {\n\tif (ref !== \"#\" && !ref.startsWith(\"#/\")) return undefined;\n\tlet current: unknown = root;\n\tfor (const segment of ref.slice(2).split(\"/\").filter(Boolean)) {\n\t\tconst key = decodeURIComponent(segment).replaceAll(\"~1\", \"/\").replaceAll(\"~0\", \"~\");\n\t\tif (typeof current !== \"object\" || current === null || Array.isArray(current) || !(key in current)) {\n\t\t\treturn undefined;\n\t\t}\n\t\tcurrent = (current as Record<string, unknown>)[key];\n\t}\n\tif (typeof current === \"boolean\") return current;\n\treturn typeof current === \"object\" && current !== null && !Array.isArray(current)\n\t\t? (current as Record<string, unknown>)\n\t\t: undefined;\n}\n\nfunction toType(schema: CodemodeJsonSchema, context: SchemaContext): string {\n\tif (schema === true) return \"unknown\";\n\tif (schema === false) return \"never\";\n\tif (typeof schema !== \"object\" || schema === null || Array.isArray(schema)) return \"unknown\";\n\tif (typeof schema.$ref === \"string\") {\n\t\tconst ref = schema.$ref;\n\t\tif (context.resolving.has(ref) || context.expansions >= MAX_REF_EXPANSIONS) return \"unknown\";\n\t\tconst target = resolveRef(ref, context.root);\n\t\tif (target === undefined) return \"unknown\";\n\t\tcontext.expansions++;\n\t\tcontext.resolving.add(ref);\n\t\ttry {\n\t\t\treturn toType(target, context);\n\t\t} finally {\n\t\t\tcontext.resolving.delete(ref);\n\t\t}\n\t}\n\n\tif (\"const\" in schema) return JSON.stringify(schema.const) ?? \"unknown\";\n\tif (Array.isArray(schema.enum)) return union(schema.enum.map((value) => JSON.stringify(value) ?? \"unknown\"));\n\n\tconst variants = Array.isArray(schema.anyOf) ? schema.anyOf : Array.isArray(schema.oneOf) ? schema.oneOf : undefined;\n\tif (variants) return union(variants.map((variant) => toType(variant as CodemodeJsonSchema, context)));\n\tif (Array.isArray(schema.allOf)) {\n\t\tconst parts = schema.allOf\n\t\t\t.map((part) => toType(part as CodemodeJsonSchema, context))\n\t\t\t.filter((part) => part !== \"unknown\");\n\t\treturn parts.length === 0\n\t\t\t? \"unknown\"\n\t\t\t: parts.map((part) => (part.includes(\" | \") ? `(${part})` : part)).join(\" & \");\n\t}\n\n\tconst type = schema.type;\n\tif (Array.isArray(type)) return union(type.map((entry) => toType({ ...schema, type: entry }, context)));\n\tswitch (type) {\n\t\tcase \"string\":\n\t\t\treturn \"string\";\n\t\tcase \"number\":\n\t\tcase \"integer\":\n\t\t\treturn \"number\";\n\t\tcase \"boolean\":\n\t\t\treturn \"boolean\";\n\t\tcase \"null\":\n\t\t\treturn \"null\";\n\t\tcase \"array\":\n\t\t\treturn arrayType(schema, context);\n\t\tcase \"object\":\n\t\t\treturn objectType(schema, context);\n\t\tcase undefined:\n\t\t\tif (\"properties\" in schema || \"additionalProperties\" in schema || \"required\" in schema) {\n\t\t\t\treturn objectType(schema, context);\n\t\t\t}\n\t\t\tif (\"items\" in schema || \"prefixItems\" in schema) return arrayType(schema, context);\n\t\t\treturn \"unknown\";\n\t\tdefault:\n\t\t\treturn \"unknown\";\n\t}\n}\n\nfunction arrayType(schema: Record<string, unknown>, context: SchemaContext): string {\n\tif (schema.items !== undefined && !Array.isArray(schema.items)) {\n\t\treturn `Array<${toType(schema.items as CodemodeJsonSchema, context)}>`;\n\t}\n\tconst tuple = Array.isArray(schema.prefixItems)\n\t\t? schema.prefixItems\n\t\t: Array.isArray(schema.items)\n\t\t\t? schema.items\n\t\t\t: [];\n\tif (tuple.length > 0) return `[${tuple.map((item) => toType(item as CodemodeJsonSchema, context)).join(\", \")}]`;\n\treturn \"unknown[]\";\n}\n\nfunction descriptionOf(property: unknown): string {\n\tconst description = (property as { description?: unknown } | null | undefined)?.description;\n\treturn typeof description === \"string\" ? description.trim() : \"\";\n}\n\n/**\n * Constraints of a property that its TypeScript type cannot express, as JSDoc-style tags:\n * `@integer @minimum 1 @maximum 100 @default 20`. Empty when there are none.\n */\nfunction constraintTags(schema: unknown): string {\n\tif (typeof schema !== \"object\" || schema === null || Array.isArray(schema)) return \"\";\n\tconst property = schema as Record<string, unknown>;\n\t// Optional fields such as Pydantic's `int | None` keep their constraints in the non-null branch.\n\t// The branch's constraints apply together with the property's, so both are read.\n\tconst variants = Array.isArray(property.anyOf) ? property.anyOf : property.oneOf;\n\tconst nonNull: unknown[] = Array.isArray(variants)\n\t\t? variants.filter((variant) => (variant as { type?: unknown } | null)?.type !== \"null\")\n\t\t: [];\n\tconst branch = nonNull.length === 1 ? nonNull[0] : undefined;\n\tconst branches =\n\t\ttypeof branch === \"object\" && branch !== null && !Array.isArray(branch)\n\t\t\t? [property, branch as Record<string, unknown>]\n\t\t\t: [property];\n\t// Draft-04 and OpenAPI 3.0 make `minimum`/`maximum` exclusive with a boolean `exclusiveMinimum`/`exclusiveMaximum`.\n\tconst schemas = branches.map(\n\t\t(schema): Record<string, unknown> => ({\n\t\t\t...schema,\n\t\t\t...(schema.exclusiveMinimum === true ? { minimum: undefined, exclusiveMinimum: schema.minimum } : {}),\n\t\t\t...(schema.exclusiveMaximum === true ? { maximum: undefined, exclusiveMaximum: schema.maximum } : {}),\n\t\t}),\n\t);\n\n\tconst tags: string[] = [];\n\tconst isInteger = (type: unknown) => type === \"integer\" || (Array.isArray(type) && type.includes(\"integer\"));\n\tif (schemas.some((schema) => isInteger(schema.type))) tags.push(\"@integer\");\n\tfor (const keyword of TAG_KEYWORDS) {\n\t\tconst values = schemas.map((schema) => schema[keyword]);\n\t\tif (LOWER_BOUNDS.has(keyword) || UPPER_BOUNDS.has(keyword)) {\n\t\t\tconst numbers = values.filter((value) => typeof value === \"number\");\n\t\t\tif (numbers.length === 0) continue;\n\t\t\ttags.push(`@${keyword} ${LOWER_BOUNDS.has(keyword) ? Math.max(...numbers) : Math.min(...numbers)}`);\n\t\t\tcontinue;\n\t\t}\n\t\tfor (const value of new Set(values)) {\n\t\t\tif (typeof value === \"number\" || typeof value === \"string\") tags.push(`@${keyword} ${value}`);\n\t\t}\n\t}\n\tif (schemas.some((schema) => schema.uniqueItems === true)) tags.push(\"@uniqueItems\");\n\t// Annotations, unlike constraints, come from the property itself.\n\tif (property.default !== undefined && property.default !== null) {\n\t\ttags.push(`@default ${JSON.stringify(property.default)}`);\n\t}\n\tif (property.deprecated === true) tags.push(\"@deprecated\");\n\treturn tags\n\t\t.filter((tag) => tag.length <= MAX_TAG_CHARS)\n\t\t.map((tag) => tag.replace(LINE_TERMINATORS, (char) => `\\\\u${char.charCodeAt(0).toString(16).padStart(4, \"0\")}`))\n\t\t.join(\" \");\n}\n\nfunction objectType(schema: Record<string, unknown>, context: SchemaContext): string {\n\tconst properties =\n\t\ttypeof schema.properties === \"object\" && schema.properties !== null && !Array.isArray(schema.properties)\n\t\t\t? (schema.properties as Record<string, unknown>)\n\t\t\t: {};\n\tconst required = new Set(Array.isArray(schema.required) ? schema.required : []);\n\tconst names = Object.keys(properties).sort();\n\tconst members = names.map((name) => {\n\t\tconst optional = required.has(name) ? \"\" : \"?\";\n\t\treturn `${propertyKey(name)}${optional}: ${toType(properties[name] as CodemodeJsonSchema, context)};`;\n\t});\n\tconst additional = schema.additionalProperties;\n\tif (additional !== undefined && additional !== false) {\n\t\tconst type = additional === true ? \"unknown\" : toType(additional as CodemodeJsonSchema, context);\n\t\tmembers.push(`[key: string]: ${type};`);\n\t} else if (additional === undefined && names.length === 0) {\n\t\tmembers.push(\"[key: string]: unknown;\");\n\t}\n\tif (members.length === 0) return \"{}\";\n\tconst comments = names.map((name) => {\n\t\tconst lines = descriptionOf(properties[name])\n\t\t\t.split(LINE_TERMINATORS)\n\t\t\t.map((line) => line.trim())\n\t\t\t.filter(Boolean);\n\t\tconst tags = context.tags ? constraintTags(properties[name]) : \"\";\n\t\treturn tags ? [...lines, tags] : lines;\n\t});\n\tif (!comments.some((comment) => comment.length > 0)) return `{ ${members.join(\" \")} }`;\n\n\tconst lines = [\"{\"];\n\tcomments.forEach((comment, index) => {\n\t\tfor (const line of comment) lines.push(`${INDENT}// ${line}`);\n\t\tlines.push(`${INDENT}${members[index].replaceAll(\"\\n\", `\\n${INDENT}`)}`);\n\t});\n\tfor (const member of members.slice(names.length)) lines.push(`${INDENT}${member}`);\n\tlines.push(\"}\");\n\treturn lines.join(\"\\n\");\n}\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The identifier a script uses for a tool: characters that are not valid in a JavaScript
|
|
3
|
+
* identifier become `_`. `mcp__docs__search` stays as is, `my-tool` becomes `my_tool`.
|
|
4
|
+
*/
|
|
5
|
+
export declare function toCodemodeIdentifier(name: string): string;
|
|
6
|
+
//# sourceMappingURL=identifier.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identifier.d.ts","sourceRoot":"","sources":["../src/identifier.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAOzD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The identifier a script uses for a tool: characters that are not valid in a JavaScript
|
|
3
|
+
* identifier become `_`. `mcp__docs__search` stays as is, `my-tool` becomes `my_tool`.
|
|
4
|
+
*/
|
|
5
|
+
export function toCodemodeIdentifier(name) {
|
|
6
|
+
let identifier = "";
|
|
7
|
+
for (const char of name) {
|
|
8
|
+
const valid = identifier === "" ? /^[A-Za-z_$]$/.test(char) : /^[A-Za-z0-9_$]$/.test(char);
|
|
9
|
+
identifier += valid ? char : "_";
|
|
10
|
+
}
|
|
11
|
+
return identifier === "" ? "_" : identifier;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=identifier.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identifier.js","sourceRoot":"","sources":["../src/identifier.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAY;IAChD,IAAI,UAAU,GAAG,EAAE,CAAC;IACpB,KAAK,MAAM,IAAI,IAAI,IAAI,EAAE,CAAC;QACzB,MAAM,KAAK,GAAG,UAAU,KAAK,EAAE,CAAC,CAAC,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC3F,UAAU,IAAI,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC;IAClC,CAAC;IACD,OAAO,UAAU,KAAK,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC;AAC7C,CAAC","sourcesContent":["/**\n * The identifier a script uses for a tool: characters that are not valid in a JavaScript\n * identifier become `_`. `mcp__docs__search` stays as is, `my-tool` becomes `my_tool`.\n */\nexport function toCodemodeIdentifier(name: string): string {\n\tlet identifier = \"\";\n\tfor (const char of name) {\n\t\tconst valid = identifier === \"\" ? /^[A-Za-z_$]$/.test(char) : /^[A-Za-z0-9_$]$/.test(char);\n\t\tidentifier += valid ? char : \"_\";\n\t}\n\treturn identifier === \"\" ? \"_\" : identifier;\n}\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { DEFAULT_INPUT_SCHEMA_MAX_CHARS, type RenderDeclarationsOptions, renderDeclarations, renderToolOutputType, renderToolSample, renderToolSignature, schemaToType, } from "./declarations.ts";
|
|
2
|
+
export { toCodemodeIdentifier } from "./identifier.ts";
|
|
3
|
+
export { CodemodeSandboxBase } from "./runtime/execution.ts";
|
|
4
|
+
export { CodemodeSandbox } from "./runtime/host.ts";
|
|
5
|
+
export { DEFAULT_INTERRUPT_BUDGET, InlineCodemodeSandbox, type InlineCodemodeSandboxOptions, } from "./runtime/inline.ts";
|
|
6
|
+
export { MAX_OUTPUT_CHARS, MAX_OUTPUT_ITEMS, MAX_STORE_TOTAL_CHARS, MAX_STORE_VALUE_CHARS, } from "./runtime/prelude-source.ts";
|
|
7
|
+
export { type CodemodeRemote, type CodemodeRemoteExchange, type CodemodeRemoteMessage, type CodemodeRemoteReply, type CodemodeRemoteRequest, type CodemodeServeOptions, RemoteCodemodeSandbox, type RemoteCodemodeSandboxOptions, serveCodemodeRemote, } from "./runtime/remote.ts";
|
|
8
|
+
export { CODEMODE_OPTIONS_PREFIX, CODEMODE_SOURCE_GRAMMAR, CodemodeSourceError, type CodemodeSourceOptions, type ParsedCodemodeSource, parseCodemodeSource, } from "./source.ts";
|
|
9
|
+
export type { CodemodeCall, CodemodeCallStatus, CodemodeDeclaredGlobal, CodemodeDeclaredTool, CodemodeDuring, CodemodeError, CodemodeErrorKind, CodemodeExecuteOptions, CodemodeHostCall, CodemodeJsonSchema, CodemodeOutcome, CodemodeOutputItem, CodemodeResult, CodemodeRun, CodemodeRunOptions, CodemodeSandboxBaseOptions, CodemodeSandboxOptions, CodemodeStoreWrites, CodemodeTool, CodemodeToolContext, } from "./types.ts";
|
|
10
|
+
export { type CodemodeWasmModule, loadQuickJSWasm } from "./wasm.ts";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,8BAA8B,EAC9B,KAAK,yBAAyB,EAC9B,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,mBAAmB,EACnB,YAAY,GACZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EACN,wBAAwB,EACxB,qBAAqB,EACrB,KAAK,4BAA4B,GACjC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACN,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,qBAAqB,GACrB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACN,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,qBAAqB,EACrB,KAAK,4BAA4B,EACjC,mBAAmB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACN,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,EACnB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,mBAAmB,GACnB,MAAM,aAAa,CAAC;AACrB,YAAY,EACX,YAAY,EACZ,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB,EACpB,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,WAAW,EACX,kBAAkB,EAClB,0BAA0B,EAC1B,sBAAsB,EACtB,mBAAmB,EACnB,YAAY,EACZ,mBAAmB,GACnB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,KAAK,kBAAkB,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { DEFAULT_INPUT_SCHEMA_MAX_CHARS, renderDeclarations, renderToolOutputType, renderToolSample, renderToolSignature, schemaToType, } from "./declarations.js";
|
|
2
|
+
export { toCodemodeIdentifier } from "./identifier.js";
|
|
3
|
+
export { CodemodeSandboxBase } from "./runtime/execution.js";
|
|
4
|
+
export { CodemodeSandbox } from "./runtime/host.js";
|
|
5
|
+
export { DEFAULT_INTERRUPT_BUDGET, InlineCodemodeSandbox, } from "./runtime/inline.js";
|
|
6
|
+
export { MAX_OUTPUT_CHARS, MAX_OUTPUT_ITEMS, MAX_STORE_TOTAL_CHARS, MAX_STORE_VALUE_CHARS, } from "./runtime/prelude-source.js";
|
|
7
|
+
export { RemoteCodemodeSandbox, serveCodemodeRemote, } from "./runtime/remote.js";
|
|
8
|
+
export { CODEMODE_OPTIONS_PREFIX, CODEMODE_SOURCE_GRAMMAR, CodemodeSourceError, parseCodemodeSource, } from "./source.js";
|
|
9
|
+
export { loadQuickJSWasm } from "./wasm.js";
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,8BAA8B,EAE9B,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,mBAAmB,EACnB,YAAY,GACZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EACN,wBAAwB,EACxB,qBAAqB,GAErB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACN,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,qBAAqB,GACrB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAON,qBAAqB,EAErB,mBAAmB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACN,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,EAGnB,mBAAmB,GACnB,MAAM,aAAa,CAAC;AAuBrB,OAAO,EAA2B,eAAe,EAAE,MAAM,WAAW,CAAC","sourcesContent":["export {\n\tDEFAULT_INPUT_SCHEMA_MAX_CHARS,\n\ttype RenderDeclarationsOptions,\n\trenderDeclarations,\n\trenderToolOutputType,\n\trenderToolSample,\n\trenderToolSignature,\n\tschemaToType,\n} from \"./declarations.ts\";\nexport { toCodemodeIdentifier } from \"./identifier.ts\";\nexport { CodemodeSandboxBase } from \"./runtime/execution.ts\";\nexport { CodemodeSandbox } from \"./runtime/host.ts\";\nexport {\n\tDEFAULT_INTERRUPT_BUDGET,\n\tInlineCodemodeSandbox,\n\ttype InlineCodemodeSandboxOptions,\n} from \"./runtime/inline.ts\";\nexport {\n\tMAX_OUTPUT_CHARS,\n\tMAX_OUTPUT_ITEMS,\n\tMAX_STORE_TOTAL_CHARS,\n\tMAX_STORE_VALUE_CHARS,\n} from \"./runtime/prelude-source.ts\";\nexport {\n\ttype CodemodeRemote,\n\ttype CodemodeRemoteExchange,\n\ttype CodemodeRemoteMessage,\n\ttype CodemodeRemoteReply,\n\ttype CodemodeRemoteRequest,\n\ttype CodemodeServeOptions,\n\tRemoteCodemodeSandbox,\n\ttype RemoteCodemodeSandboxOptions,\n\tserveCodemodeRemote,\n} from \"./runtime/remote.ts\";\nexport {\n\tCODEMODE_OPTIONS_PREFIX,\n\tCODEMODE_SOURCE_GRAMMAR,\n\tCodemodeSourceError,\n\ttype CodemodeSourceOptions,\n\ttype ParsedCodemodeSource,\n\tparseCodemodeSource,\n} from \"./source.ts\";\nexport type {\n\tCodemodeCall,\n\tCodemodeCallStatus,\n\tCodemodeDeclaredGlobal,\n\tCodemodeDeclaredTool,\n\tCodemodeDuring,\n\tCodemodeError,\n\tCodemodeErrorKind,\n\tCodemodeExecuteOptions,\n\tCodemodeHostCall,\n\tCodemodeJsonSchema,\n\tCodemodeOutcome,\n\tCodemodeOutputItem,\n\tCodemodeResult,\n\tCodemodeRun,\n\tCodemodeRunOptions,\n\tCodemodeSandboxBaseOptions,\n\tCodemodeSandboxOptions,\n\tCodemodeStoreWrites,\n\tCodemodeTool,\n\tCodemodeToolContext,\n} from \"./types.ts\";\nexport { type CodemodeWasmModule, loadQuickJSWasm } from \"./wasm.ts\";\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandboxes that need no Node built-ins: `InlineCodemodeSandbox` runs the VM on the calling thread
|
|
3
|
+
* and `RemoteCodemodeSandbox` runs it in another isolate. Neither imports `node:*` modules, so this
|
|
4
|
+
* entry works in Cloudflare Workers, Durable Objects, and browsers. `CodemodeSandbox`, which uses
|
|
5
|
+
* worker threads, stays in the main entry.
|
|
6
|
+
*/
|
|
7
|
+
export { toCodemodeIdentifier } from "./identifier.ts";
|
|
8
|
+
export { CodemodeSandboxBase } from "./runtime/execution.ts";
|
|
9
|
+
export { DEFAULT_INTERRUPT_BUDGET, InlineCodemodeSandbox, type InlineCodemodeSandboxOptions, } from "./runtime/inline.ts";
|
|
10
|
+
export { MAX_OUTPUT_CHARS, MAX_OUTPUT_ITEMS, MAX_STORE_TOTAL_CHARS, MAX_STORE_VALUE_CHARS, } from "./runtime/prelude-source.ts";
|
|
11
|
+
export type { HostToWorkerMessage, VmStartData, WorkerToHostMessage } from "./runtime/protocol.ts";
|
|
12
|
+
export { type CodemodeRemote, type CodemodeRemoteExchange, type CodemodeRemoteMessage, type CodemodeRemoteReply, type CodemodeRemoteRequest, type CodemodeServeOptions, RemoteCodemodeSandbox, type RemoteCodemodeSandboxOptions, serveCodemodeRemote, } from "./runtime/remote.ts";
|
|
13
|
+
export type { CodemodeCall, CodemodeCallStatus, CodemodeDeclaredGlobal, CodemodeDeclaredTool, CodemodeDuring, CodemodeError, CodemodeErrorKind, CodemodeExecuteOptions, CodemodeHostCall, CodemodeJsonSchema, CodemodeOutcome, CodemodeOutputItem, CodemodeResult, CodemodeRun, CodemodeRunOptions, CodemodeSandboxBaseOptions, CodemodeStoreWrites, CodemodeTool, CodemodeToolContext, } from "./types.ts";
|
|
14
|
+
export type { CodemodeWasmModule } from "./wasm.ts";
|
|
15
|
+
//# sourceMappingURL=portable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"portable.d.ts","sourceRoot":"","sources":["../src/portable.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EACN,wBAAwB,EACxB,qBAAqB,EACrB,KAAK,4BAA4B,GACjC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACN,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,qBAAqB,GACrB,MAAM,6BAA6B,CAAC;AACrC,YAAY,EAAE,mBAAmB,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACnG,OAAO,EACN,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,qBAAqB,EACrB,KAAK,4BAA4B,EACjC,mBAAmB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACX,YAAY,EACZ,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB,EACpB,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,WAAW,EACX,kBAAkB,EAClB,0BAA0B,EAC1B,mBAAmB,EACnB,YAAY,EACZ,mBAAmB,GACnB,MAAM,YAAY,CAAC;AACpB,YAAY,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandboxes that need no Node built-ins: `InlineCodemodeSandbox` runs the VM on the calling thread
|
|
3
|
+
* and `RemoteCodemodeSandbox` runs it in another isolate. Neither imports `node:*` modules, so this
|
|
4
|
+
* entry works in Cloudflare Workers, Durable Objects, and browsers. `CodemodeSandbox`, which uses
|
|
5
|
+
* worker threads, stays in the main entry.
|
|
6
|
+
*/
|
|
7
|
+
export { toCodemodeIdentifier } from "./identifier.js";
|
|
8
|
+
export { CodemodeSandboxBase } from "./runtime/execution.js";
|
|
9
|
+
export { DEFAULT_INTERRUPT_BUDGET, InlineCodemodeSandbox, } from "./runtime/inline.js";
|
|
10
|
+
export { MAX_OUTPUT_CHARS, MAX_OUTPUT_ITEMS, MAX_STORE_TOTAL_CHARS, MAX_STORE_VALUE_CHARS, } from "./runtime/prelude-source.js";
|
|
11
|
+
export { RemoteCodemodeSandbox, serveCodemodeRemote, } from "./runtime/remote.js";
|
|
12
|
+
//# sourceMappingURL=portable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"portable.js","sourceRoot":"","sources":["../src/portable.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EACN,wBAAwB,EACxB,qBAAqB,GAErB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACN,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,qBAAqB,GACrB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAON,qBAAqB,EAErB,mBAAmB,GACnB,MAAM,qBAAqB,CAAC","sourcesContent":["/**\n * Sandboxes that need no Node built-ins: `InlineCodemodeSandbox` runs the VM on the calling thread\n * and `RemoteCodemodeSandbox` runs it in another isolate. Neither imports `node:*` modules, so this\n * entry works in Cloudflare Workers, Durable Objects, and browsers. `CodemodeSandbox`, which uses\n * worker threads, stays in the main entry.\n */\nexport { toCodemodeIdentifier } from \"./identifier.ts\";\nexport { CodemodeSandboxBase } from \"./runtime/execution.ts\";\nexport {\n\tDEFAULT_INTERRUPT_BUDGET,\n\tInlineCodemodeSandbox,\n\ttype InlineCodemodeSandboxOptions,\n} from \"./runtime/inline.ts\";\nexport {\n\tMAX_OUTPUT_CHARS,\n\tMAX_OUTPUT_ITEMS,\n\tMAX_STORE_TOTAL_CHARS,\n\tMAX_STORE_VALUE_CHARS,\n} from \"./runtime/prelude-source.ts\";\nexport type { HostToWorkerMessage, VmStartData, WorkerToHostMessage } from \"./runtime/protocol.ts\";\nexport {\n\ttype CodemodeRemote,\n\ttype CodemodeRemoteExchange,\n\ttype CodemodeRemoteMessage,\n\ttype CodemodeRemoteReply,\n\ttype CodemodeRemoteRequest,\n\ttype CodemodeServeOptions,\n\tRemoteCodemodeSandbox,\n\ttype RemoteCodemodeSandboxOptions,\n\tserveCodemodeRemote,\n} from \"./runtime/remote.ts\";\nexport type {\n\tCodemodeCall,\n\tCodemodeCallStatus,\n\tCodemodeDeclaredGlobal,\n\tCodemodeDeclaredTool,\n\tCodemodeDuring,\n\tCodemodeError,\n\tCodemodeErrorKind,\n\tCodemodeExecuteOptions,\n\tCodemodeHostCall,\n\tCodemodeJsonSchema,\n\tCodemodeOutcome,\n\tCodemodeOutputItem,\n\tCodemodeResult,\n\tCodemodeRun,\n\tCodemodeRunOptions,\n\tCodemodeSandboxBaseOptions,\n\tCodemodeStoreWrites,\n\tCodemodeTool,\n\tCodemodeToolContext,\n} from \"./types.ts\";\nexport type { CodemodeWasmModule } from \"./wasm.ts\";\n"]}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { CodemodeError, CodemodeExecuteOptions, CodemodeResult, CodemodeRun, CodemodeRunOptions, CodemodeSandboxBaseOptions, CodemodeTool } from "../types.ts";
|
|
2
|
+
import { type HostToWorkerMessage, type VmStartData } from "./protocol.ts";
|
|
3
|
+
/** Callbacks a launcher uses to report what its VM does. */
|
|
4
|
+
export interface VmEvents {
|
|
5
|
+
/** A message from the VM. Validated here, so launchers can pass through anything they receive. */
|
|
6
|
+
message(message: unknown): void;
|
|
7
|
+
/** The VM failed or stopped outside the bridge, for example a worker exit or a remote error. */
|
|
8
|
+
failure(error: CodemodeError): void;
|
|
9
|
+
}
|
|
10
|
+
/** The host's handle on a running VM. */
|
|
11
|
+
export interface VmChannel {
|
|
12
|
+
post(message: HostToWorkerMessage): void;
|
|
13
|
+
/** Stops the VM. Called once, after the execution has its result. */
|
|
14
|
+
stop(): Promise<void>;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Starts a VM for one execution. Rejections become `sandbox` errors with the rejection's message.
|
|
18
|
+
* The VM may start reporting messages before the returned promise settles.
|
|
19
|
+
*/
|
|
20
|
+
export type VmLauncher = (data: VmStartData, events: VmEvents) => VmChannel | Promise<VmChannel>;
|
|
21
|
+
export declare function errorMessage(error: unknown): string;
|
|
22
|
+
/**
|
|
23
|
+
* Tool table, defaults, and in-flight executions; the behavior every sandbox shares. Subclasses
|
|
24
|
+
* only choose where the VM runs by passing a {@link VmLauncher}.
|
|
25
|
+
*
|
|
26
|
+
* The script sees `tools.<name>(args)` for every registered tool, `ALL_TOOLS`, the output helpers
|
|
27
|
+
* `text`, `image`, `exit`, and `console.*`, `store`/`load`, and the configured globals; nothing
|
|
28
|
+
* else (no timers, `fetch`, `process`, `require`, modules). Each `execute()` gets its own VM; the
|
|
29
|
+
* sandbox only holds the tool table and defaults. `close()` aborts in-flight executions.
|
|
30
|
+
*/
|
|
31
|
+
export declare class CodemodeSandboxBase {
|
|
32
|
+
private readonly toolsByName;
|
|
33
|
+
private readonly globalsByName;
|
|
34
|
+
private readonly timeoutMs;
|
|
35
|
+
private readonly memoryLimitBytes;
|
|
36
|
+
private readonly launch;
|
|
37
|
+
private readonly running;
|
|
38
|
+
private closed;
|
|
39
|
+
constructor(options: CodemodeSandboxBaseOptions, launch: VmLauncher);
|
|
40
|
+
/** Throws if a tool with the same name is already registered. */
|
|
41
|
+
registerTool(tool: CodemodeTool): void;
|
|
42
|
+
unregisterTool(name: string): boolean;
|
|
43
|
+
get tools(): CodemodeTool[];
|
|
44
|
+
get globals(): CodemodeTool[];
|
|
45
|
+
/**
|
|
46
|
+
* `code` is an async function body: `return` and top-level `await` work.
|
|
47
|
+
* Never rejects for script failures; those come back as `{ ok: false }`.
|
|
48
|
+
* The script can use `store(key, value)` and `load(key)` on `options.store`.
|
|
49
|
+
*/
|
|
50
|
+
execute(code: string, options?: CodemodeExecuteOptions): Promise<CodemodeResult>;
|
|
51
|
+
/**
|
|
52
|
+
* Run `code` deterministically, with the caller answering its calls: the same script, start time, seed, tools,
|
|
53
|
+
* globals, and store, answered with the same results in the same `seq` order, makes the same calls with the same
|
|
54
|
+
* arguments and produces the same output, on any VM with the same fingerprint. A host can therefore replay it
|
|
55
|
+
* after a restart. The VM runs in UTC, its clock reads `startedAt` and then the `now` of the result being
|
|
56
|
+
* processed, its randomness comes from `seed`, and `WeakRef` and `FinalizationRegistry` do not exist.
|
|
57
|
+
*
|
|
58
|
+
* The sandbox's own tools and globals are not used: the run declares its own, and every call goes to
|
|
59
|
+
* `options.onCall`. Never rejects for script failures; abort through `options.signal` to end the run with an
|
|
60
|
+
* error the script cannot catch.
|
|
61
|
+
*/
|
|
62
|
+
start(code: string, options: CodemodeRunOptions): CodemodeRun;
|
|
63
|
+
/** Aborts in-flight executions (they resolve with `kind: "aborted"`) and rejects new ones. */
|
|
64
|
+
close(): Promise<void>;
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=execution.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execution.d.ts","sourceRoot":"","sources":["../../src/runtime/execution.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAMX,aAAa,EACb,sBAAsB,EAGtB,cAAc,EACd,WAAW,EACX,kBAAkB,EAClB,0BAA0B,EAE1B,YAAY,EACZ,MAAM,aAAa,CAAC;AACrB,OAAO,EACN,KAAK,mBAAmB,EAExB,KAAK,WAAW,EAEhB,MAAM,eAAe,CAAC;AAgBvB,4DAA4D;AAC5D,MAAM,WAAW,QAAQ;IACxB,kGAAkG;IAClG,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IAChC,gGAAgG;IAChG,OAAO,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI,CAAC;CACpC;AAED,yCAAyC;AACzC,MAAM,WAAW,SAAS;IACzB,IAAI,CAAC,OAAO,EAAE,mBAAmB,GAAG,IAAI,CAAC;IACzC,qEAAqE;IACrE,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,KAAK,SAAS,GAAG,OAAO,CAAC,SAA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