@explyt/ai-agent 0.1.0-rc.1
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/LICENSE +19 -0
- package/README.md +24 -0
- package/THIRD-PARTY-NOTICES.md +321 -0
- package/dist/acp/index.js +62 -0
- package/dist/cli/engine.js +377 -0
- package/dist/cli/index.js +315 -0
- package/dist/extensions/hello.js +1 -0
- package/dist/extensions/policy.js +1 -0
- package/dist/extensions/tool-gradle.js +1 -0
- package/dist/extensions/usage.js +1 -0
- package/node_modules/@modelcontextprotocol/client/LICENSE +216 -0
- package/node_modules/@modelcontextprotocol/client/README.md +26 -0
- package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-1b6pVpkg.cjs +7531 -0
- package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-1b6pVpkg.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-97rDpkRx.mjs +7514 -0
- package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-97rDpkRx.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-FOQRM7up.d.cts +1071 -0
- package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-FOQRM7up.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-INpkxUi1.d.mts +1071 -0
- package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-INpkxUi1.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-B3ZJEoRM.d.mts +74 -0
- package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-B3ZJEoRM.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-B3dvjU3F.cjs +986 -0
- package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-B3dvjU3F.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-BylNJ1R5.mjs +981 -0
- package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-BylNJ1R5.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-doTkZbTr.d.cts +74 -0
- package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-doTkZbTr.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/chunk-Bnu9O96Y.cjs +60 -0
- package/node_modules/@modelcontextprotocol/client/dist/chunk-Br0eD_fh.mjs +42 -0
- package/node_modules/@modelcontextprotocol/client/dist/dialects-BGO_ZrYF.cjs +46 -0
- package/node_modules/@modelcontextprotocol/client/dist/dialects-BGO_ZrYF.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/dialects-BOhdv1Fc.mjs +34 -0
- package/node_modules/@modelcontextprotocol/client/dist/dialects-BOhdv1Fc.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/index-CHhhk6PQ.d.cts +2526 -0
- package/node_modules/@modelcontextprotocol/client/dist/index-CHhhk6PQ.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/index-D4xIIEF6.d.mts +2523 -0
- package/node_modules/@modelcontextprotocol/client/dist/index-D4xIIEF6.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/index.cjs +5690 -0
- package/node_modules/@modelcontextprotocol/client/dist/index.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/index.d.cts +3252 -0
- package/node_modules/@modelcontextprotocol/client/dist/index.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/index.d.mts +3252 -0
- package/node_modules/@modelcontextprotocol/client/dist/index.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/index.mjs +5481 -0
- package/node_modules/@modelcontextprotocol/client/dist/index.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.cjs +14 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.cts +13 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.mts +13 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.mjs +13 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsNode.cjs +14 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsNode.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.cts +13 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.mts +13 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsNode.mjs +13 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsNode.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.cjs +21 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.cts +13 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.mts +13 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.mjs +20 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/src-D_zzAWoS.mjs +7063 -0
- package/node_modules/@modelcontextprotocol/client/dist/src-D_zzAWoS.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/src-NAgB4Mp8.cjs +7431 -0
- package/node_modules/@modelcontextprotocol/client/dist/src-NAgB4Mp8.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/stdio.cjs +217 -0
- package/node_modules/@modelcontextprotocol/client/dist/stdio.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/stdio.d.cts +96 -0
- package/node_modules/@modelcontextprotocol/client/dist/stdio.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/stdio.d.mts +96 -0
- package/node_modules/@modelcontextprotocol/client/dist/stdio.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/stdio.mjs +212 -0
- package/node_modules/@modelcontextprotocol/client/dist/stdio.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/types-DsbMXNFL.d.cts +1099 -0
- package/node_modules/@modelcontextprotocol/client/dist/types-DsbMXNFL.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/types-mS0yxCL0.d.mts +1099 -0
- package/node_modules/@modelcontextprotocol/client/dist/types-mS0yxCL0.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.cjs +5 -0
- package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.d.cts +2 -0
- package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.d.mts +2 -0
- package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.mjs +3 -0
- package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.cjs +3 -0
- package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.d.cts +2 -0
- package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.d.mts +2 -0
- package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.mjs +3 -0
- package/node_modules/@modelcontextprotocol/client/package.json +166 -0
- package/node_modules/@modelcontextprotocol/core/LICENSE +216 -0
- package/node_modules/@modelcontextprotocol/core/README.md +40 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-BWdKR39I.d.mts +8501 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-BWdKR39I.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-CUe6YdwF.mjs +1678 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-CUe6YdwF.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-CfDMXiII.cjs +2899 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-CfDMXiII.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-hYtaIUZm.d.cts +8501 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-hYtaIUZm.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/index.cjs +175 -0
- package/node_modules/@modelcontextprotocol/core/dist/index.d.cts +2 -0
- package/node_modules/@modelcontextprotocol/core/dist/index.d.mts +2 -0
- package/node_modules/@modelcontextprotocol/core/dist/index.mjs +3 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.cjs +201 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts +99 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts +99 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.mjs +3 -0
- package/node_modules/@modelcontextprotocol/core/package.json +85 -0
- package/node_modules/@modelcontextprotocol/ext-apps/LICENSE +216 -0
- package/node_modules/@modelcontextprotocol/ext-apps/README.md +259 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/docs/patterns.d.ts +9 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app-bridge.d.ts +1320 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app-bridge.examples.d.ts +9 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app-bridge.js +39 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app-bridge.test.d.ts +1 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app-with-deps.js +78 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app.d.ts +1449 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app.examples.d.ts +9 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app.js +39 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/events.d.ts +130 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/generated/schema.d.ts +1041 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/generated/schema.json +6090 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/generated/schema.test.d.ts +41 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/message-transport.d.ts +127 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/message-transport.examples.d.ts +9 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/message-transport.test.d.ts +1 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/index.d.ts +37 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/index.examples.d.ts +6 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/index.js +39 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/react-with-deps.js +78 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useApp.d.ts +115 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useApp.examples.d.ts +6 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useAutoResize.d.ts +54 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useAutoResize.examples.d.ts +6 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useDocumentTheme.d.ts +44 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useDocumentTheme.examples.d.ts +6 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useHostStyles.d.ts +113 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useHostStyles.examples.d.ts +6 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/server/index.d.ts +361 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/server/index.examples.d.ts +9 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/server/index.js +39 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/server/index.test.d.ts +1 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/spec.types.d.ts +698 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/standard-schema.d.ts +35 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/styles.d.ts +184 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/styles.examples.d.ts +9 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/types.d.ts +43 -0
- package/node_modules/@modelcontextprotocol/ext-apps/package.json +133 -0
- package/node_modules/@napi-rs/keyring/LICENSE +21 -0
- package/node_modules/@napi-rs/keyring/README.md +19 -0
- package/node_modules/@napi-rs/keyring/index.d.ts +166 -0
- package/node_modules/@napi-rs/keyring/index.js +514 -0
- package/node_modules/@napi-rs/keyring/keytar.d.ts +53 -0
- package/node_modules/@napi-rs/keyring/keytar.js +26 -0
- package/node_modules/@napi-rs/keyring/package.json +125 -0
- package/node_modules/@pkgr/core/lib/constants.d.ts +3 -0
- package/node_modules/@pkgr/core/lib/constants.js +5 -0
- package/node_modules/@pkgr/core/lib/constants.js.map +1 -0
- package/node_modules/@pkgr/core/lib/helpers.d.ts +5 -0
- package/node_modules/@pkgr/core/lib/helpers.js +51 -0
- package/node_modules/@pkgr/core/lib/helpers.js.map +1 -0
- package/node_modules/@pkgr/core/lib/index.cjs +66 -0
- package/node_modules/@pkgr/core/lib/index.d.ts +2 -0
- package/node_modules/@pkgr/core/lib/index.js +3 -0
- package/node_modules/@pkgr/core/lib/index.js.map +1 -0
- package/node_modules/@pkgr/core/package.json +29 -0
- package/node_modules/@standard-schema/spec/LICENSE +21 -0
- package/node_modules/@standard-schema/spec/README.md +198 -0
- package/node_modules/@standard-schema/spec/dist/index.cjs +18 -0
- package/node_modules/@standard-schema/spec/dist/index.d.cts +119 -0
- package/node_modules/@standard-schema/spec/dist/index.d.ts +119 -0
- package/node_modules/@standard-schema/spec/dist/index.js +0 -0
- package/node_modules/@standard-schema/spec/package.json +52 -0
- package/node_modules/ajv/.runkit_example.js +23 -0
- package/node_modules/ajv/LICENSE +22 -0
- package/node_modules/ajv/README.md +207 -0
- package/node_modules/ajv/dist/2019.d.ts +19 -0
- package/node_modules/ajv/dist/2019.js +61 -0
- package/node_modules/ajv/dist/2019.js.map +1 -0
- package/node_modules/ajv/dist/2020.d.ts +19 -0
- package/node_modules/ajv/dist/2020.js +55 -0
- package/node_modules/ajv/dist/2020.js.map +1 -0
- package/node_modules/ajv/dist/ajv.d.ts +18 -0
- package/node_modules/ajv/dist/ajv.js +50 -0
- package/node_modules/ajv/dist/ajv.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
- package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/node_modules/ajv/dist/compile/errors.js +123 -0
- package/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/node_modules/ajv/dist/compile/index.js +242 -0
- package/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/node_modules/ajv/dist/compile/names.js +28 -0
- package/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
- package/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/node_modules/ajv/dist/compile/rules.js +26 -0
- package/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/node_modules/ajv/dist/compile/util.js +178 -0
- package/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/node_modules/ajv/dist/core.d.ts +174 -0
- package/node_modules/ajv/dist/core.js +618 -0
- package/node_modules/ajv/dist/core.js.map +1 -0
- package/node_modules/ajv/dist/jtd.d.ts +47 -0
- package/node_modules/ajv/dist/jtd.js +72 -0
- package/node_modules/ajv/dist/jtd.js.map +1 -0
- package/node_modules/ajv/dist/refs/data.json +13 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
- package/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/node_modules/ajv/dist/standalone/index.js +90 -0
- package/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/node_modules/ajv/dist/types/index.d.ts +183 -0
- package/node_modules/ajv/dist/types/index.js +3 -0
- package/node_modules/ajv/dist/types/index.js.map +1 -0
- package/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
- package/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
- package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/node_modules/ajv/lib/2019.ts +81 -0
- package/node_modules/ajv/lib/2020.ts +75 -0
- package/node_modules/ajv/lib/ajv.ts +70 -0
- package/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
- package/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
- package/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/node_modules/ajv/lib/compile/index.ts +324 -0
- package/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/node_modules/ajv/lib/compile/jtd/serialize.ts +277 -0
- package/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/node_modules/ajv/lib/compile/names.ts +27 -0
- package/node_modules/ajv/lib/compile/ref_error.ts +13 -0
- package/node_modules/ajv/lib/compile/resolve.ts +149 -0
- package/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/node_modules/ajv/lib/compile/util.ts +213 -0
- package/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
- package/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/node_modules/ajv/lib/compile/validate/index.ts +582 -0
- package/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/node_modules/ajv/lib/core.ts +892 -0
- package/node_modules/ajv/lib/jtd.ts +132 -0
- package/node_modules/ajv/lib/refs/data.json +13 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
- package/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/node_modules/ajv/lib/runtime/uri.ts +6 -0
- package/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/node_modules/ajv/lib/standalone/index.ts +100 -0
- package/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/node_modules/ajv/lib/types/index.ts +244 -0
- package/node_modules/ajv/lib/types/json-schema.ts +187 -0
- package/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
- package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
- package/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
- package/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
- package/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +39 -0
- package/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/node_modules/ajv/package.json +126 -0
- package/node_modules/ajv-formats/LICENSE +21 -0
- package/node_modules/ajv-formats/README.md +125 -0
- package/node_modules/ajv-formats/dist/formats.d.ts +9 -0
- package/node_modules/ajv-formats/dist/formats.js +208 -0
- package/node_modules/ajv-formats/dist/formats.js.map +1 -0
- package/node_modules/ajv-formats/dist/index.d.ts +15 -0
- package/node_modules/ajv-formats/dist/index.js +37 -0
- package/node_modules/ajv-formats/dist/index.js.map +1 -0
- package/node_modules/ajv-formats/dist/limit.d.ts +10 -0
- package/node_modules/ajv-formats/dist/limit.js +69 -0
- package/node_modules/ajv-formats/dist/limit.js.map +1 -0
- package/node_modules/ajv-formats/package.json +74 -0
- package/node_modules/ajv-formats/src/formats.ts +269 -0
- package/node_modules/ajv-formats/src/index.ts +62 -0
- package/node_modules/ajv-formats/src/limit.ts +99 -0
- package/node_modules/bundle-name/index.js +5 -0
- package/node_modules/bundle-name/license +9 -0
- package/node_modules/bundle-name/package.json +45 -0
- package/node_modules/bundle-name/readme.md +23 -0
- package/node_modules/cross-spawn/LICENSE +21 -0
- package/node_modules/cross-spawn/README.md +89 -0
- package/node_modules/cross-spawn/index.js +39 -0
- package/node_modules/cross-spawn/lib/enoent.js +59 -0
- package/node_modules/cross-spawn/lib/parse.js +91 -0
- package/node_modules/cross-spawn/lib/util/escape.js +47 -0
- package/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- package/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- package/node_modules/cross-spawn/package.json +73 -0
- package/node_modules/default-browser/index.d.ts +29 -0
- package/node_modules/default-browser/index.js +34 -0
- package/node_modules/default-browser/license +9 -0
- package/node_modules/default-browser/package.json +54 -0
- package/node_modules/default-browser/readme.md +24 -0
- package/node_modules/default-browser/windows.js +57 -0
- package/node_modules/default-browser-id/index.js +25 -0
- package/node_modules/default-browser-id/license +9 -0
- package/node_modules/default-browser-id/package.json +41 -0
- package/node_modules/default-browser-id/readme.md +19 -0
- package/node_modules/define-lazy-prop/index.d.ts +31 -0
- package/node_modules/define-lazy-prop/index.js +18 -0
- package/node_modules/define-lazy-prop/license +9 -0
- package/node_modules/define-lazy-prop/package.json +51 -0
- package/node_modules/define-lazy-prop/readme.md +55 -0
- package/node_modules/eventsource/LICENSE +22 -0
- package/node_modules/eventsource/README.md +167 -0
- package/node_modules/eventsource/dist/index.cjs +273 -0
- package/node_modules/eventsource/dist/index.cjs.map +1 -0
- package/node_modules/eventsource/dist/index.d.cts +332 -0
- package/node_modules/eventsource/dist/index.d.ts +332 -0
- package/node_modules/eventsource/dist/index.js +273 -0
- package/node_modules/eventsource/dist/index.js.map +1 -0
- package/node_modules/eventsource/package.json +130 -0
- package/node_modules/eventsource/src/EventSource.ts +596 -0
- package/node_modules/eventsource/src/errors.ts +141 -0
- package/node_modules/eventsource/src/index.ts +3 -0
- package/node_modules/eventsource/src/types.ts +152 -0
- package/node_modules/eventsource-parser/LICENSE +21 -0
- package/node_modules/eventsource-parser/README.md +157 -0
- package/node_modules/eventsource-parser/dist/index.cjs +177 -0
- package/node_modules/eventsource-parser/dist/index.cjs.map +1 -0
- package/node_modules/eventsource-parser/dist/index.d.cts +169 -0
- package/node_modules/eventsource-parser/dist/index.d.ts +169 -0
- package/node_modules/eventsource-parser/dist/index.js +177 -0
- package/node_modules/eventsource-parser/dist/index.js.map +1 -0
- package/node_modules/eventsource-parser/dist/stream.cjs +29 -0
- package/node_modules/eventsource-parser/dist/stream.cjs.map +1 -0
- package/node_modules/eventsource-parser/dist/stream.d.cts +134 -0
- package/node_modules/eventsource-parser/dist/stream.d.ts +134 -0
- package/node_modules/eventsource-parser/dist/stream.js +30 -0
- package/node_modules/eventsource-parser/dist/stream.js.map +1 -0
- package/node_modules/eventsource-parser/package.json +92 -0
- package/node_modules/eventsource-parser/src/errors.ts +44 -0
- package/node_modules/eventsource-parser/src/index.ts +8 -0
- package/node_modules/eventsource-parser/src/parse.ts +439 -0
- package/node_modules/eventsource-parser/src/stream.ts +107 -0
- package/node_modules/eventsource-parser/src/types.ts +122 -0
- package/node_modules/eventsource-parser/stream.js +2 -0
- package/node_modules/fast-deep-equal/LICENSE +21 -0
- package/node_modules/fast-deep-equal/README.md +96 -0
- package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/index.js +72 -0
- package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/react.js +79 -0
- package/node_modules/fast-deep-equal/index.d.ts +4 -0
- package/node_modules/fast-deep-equal/index.js +46 -0
- package/node_modules/fast-deep-equal/package.json +61 -0
- package/node_modules/fast-deep-equal/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/react.js +53 -0
- package/node_modules/fast-uri/.gitattributes +2 -0
- package/node_modules/fast-uri/.github/dependabot.yml +13 -0
- package/node_modules/fast-uri/.github/workflows/ci.yml +106 -0
- package/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
- package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
- package/node_modules/fast-uri/LICENSE +30 -0
- package/node_modules/fast-uri/README.md +152 -0
- package/node_modules/fast-uri/benchmark/benchmark.mjs +159 -0
- package/node_modules/fast-uri/benchmark/equal.mjs +51 -0
- package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +22 -0
- package/node_modules/fast-uri/benchmark/package.json +17 -0
- package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +24 -0
- package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +65 -0
- package/node_modules/fast-uri/eslint.config.js +6 -0
- package/node_modules/fast-uri/index.js +459 -0
- package/node_modules/fast-uri/lib/schemes.js +267 -0
- package/node_modules/fast-uri/lib/utils.js +443 -0
- package/node_modules/fast-uri/package.json +68 -0
- package/node_modules/fast-uri/test/ajv.test.js +43 -0
- package/node_modules/fast-uri/test/equal.test.js +117 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +501 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +120 -0
- package/node_modules/fast-uri/test/parse.test.js +323 -0
- package/node_modules/fast-uri/test/resolve.test.js +87 -0
- package/node_modules/fast-uri/test/rfc-3986.test.js +90 -0
- package/node_modules/fast-uri/test/security-normalization.test.js +39 -0
- package/node_modules/fast-uri/test/security.test.js +359 -0
- package/node_modules/fast-uri/test/serialize.test.js +151 -0
- package/node_modules/fast-uri/test/uri-js-compatibility.test.js +33 -0
- package/node_modules/fast-uri/test/uri-js.test.js +912 -0
- package/node_modules/fast-uri/test/util.test.js +38 -0
- package/node_modules/fast-uri/tsconfig.json +9 -0
- package/node_modules/fast-uri/types/index.d.ts +60 -0
- package/node_modules/fast-uri/types/index.test-d.ts +17 -0
- package/node_modules/is-docker/cli.js +5 -0
- package/node_modules/is-docker/index.d.ts +13 -0
- package/node_modules/is-docker/index.js +29 -0
- package/node_modules/is-docker/license +9 -0
- package/node_modules/is-docker/package.json +44 -0
- package/node_modules/is-docker/readme.md +27 -0
- package/node_modules/is-inside-container/cli.js +5 -0
- package/node_modules/is-inside-container/index.d.ts +13 -0
- package/node_modules/is-inside-container/index.js +23 -0
- package/node_modules/is-inside-container/license +9 -0
- package/node_modules/is-inside-container/package.json +51 -0
- package/node_modules/is-inside-container/readme.md +36 -0
- package/node_modules/is-wsl/index.d.ts +15 -0
- package/node_modules/is-wsl/index.js +36 -0
- package/node_modules/is-wsl/license +9 -0
- package/node_modules/is-wsl/package.json +58 -0
- package/node_modules/is-wsl/readme.md +21 -0
- package/node_modules/isexe/.npmignore +2 -0
- package/node_modules/isexe/LICENSE +15 -0
- package/node_modules/isexe/README.md +51 -0
- package/node_modules/isexe/index.js +57 -0
- package/node_modules/isexe/mode.js +41 -0
- package/node_modules/isexe/package.json +31 -0
- package/node_modules/isexe/test/basic.js +221 -0
- package/node_modules/isexe/windows.js +42 -0
- package/node_modules/jiti/LICENSE +21 -0
- package/node_modules/jiti/README.md +258 -0
- package/node_modules/jiti/dist/babel.cjs +257 -0
- package/node_modules/jiti/dist/jiti.cjs +1 -0
- package/node_modules/jiti/lib/jiti-cli.mjs +34 -0
- package/node_modules/jiti/lib/jiti-hooks.mjs +124 -0
- package/node_modules/jiti/lib/jiti-native.mjs +121 -0
- package/node_modules/jiti/lib/jiti-register.d.mts +1 -0
- package/node_modules/jiti/lib/jiti-register.mjs +4 -0
- package/node_modules/jiti/lib/jiti-static.mjs +23 -0
- package/node_modules/jiti/lib/jiti.cjs +30 -0
- package/node_modules/jiti/lib/jiti.d.cts +8 -0
- package/node_modules/jiti/lib/jiti.d.mts +8 -0
- package/node_modules/jiti/lib/jiti.mjs +29 -0
- package/node_modules/jiti/lib/types.d.ts +420 -0
- package/node_modules/jiti/package.json +146 -0
- package/node_modules/jose/LICENSE.md +21 -0
- package/node_modules/jose/README.md +150 -0
- package/node_modules/jose/dist/types/index.d.ts +56 -0
- package/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +37 -0
- package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +53 -0
- package/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +37 -0
- package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +71 -0
- package/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +43 -0
- package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +73 -0
- package/node_modules/jose/dist/types/jwk/embedded.d.ts +13 -0
- package/node_modules/jose/dist/types/jwk/thumbprint.d.ts +17 -0
- package/node_modules/jose/dist/types/jwks/local.d.ts +20 -0
- package/node_modules/jose/dist/types/jwks/remote.d.ts +106 -0
- package/node_modules/jose/dist/types/jws/compact/sign.d.ts +25 -0
- package/node_modules/jose/dist/types/jws/compact/verify.d.ts +37 -0
- package/node_modules/jose/dist/types/jws/flattened/sign.d.ts +31 -0
- package/node_modules/jose/dist/types/jws/flattened/verify.d.ts +37 -0
- package/node_modules/jose/dist/types/jws/general/sign.d.ts +52 -0
- package/node_modules/jose/dist/types/jws/general/verify.d.ts +44 -0
- package/node_modules/jose/dist/types/jwt/decrypt.d.ts +41 -0
- package/node_modules/jose/dist/types/jwt/encrypt.d.ts +67 -0
- package/node_modules/jose/dist/types/jwt/sign.d.ts +32 -0
- package/node_modules/jose/dist/types/jwt/unsecured.d.ts +34 -0
- package/node_modules/jose/dist/types/jwt/verify.d.ts +38 -0
- package/node_modules/jose/dist/types/key/export.d.ts +19 -0
- package/node_modules/jose/dist/types/key/generate_key_pair.d.ts +40 -0
- package/node_modules/jose/dist/types/key/generate_secret.d.ts +37 -0
- package/node_modules/jose/dist/types/key/import.d.ts +73 -0
- package/node_modules/jose/dist/types/types.d.ts +869 -0
- package/node_modules/jose/dist/types/util/base64url.d.ts +16 -0
- package/node_modules/jose/dist/types/util/decode_jwt.d.ts +10 -0
- package/node_modules/jose/dist/types/util/decode_protected_header.d.ts +9 -0
- package/node_modules/jose/dist/types/util/errors.d.ts +220 -0
- package/node_modules/jose/dist/webapi/index.js +32 -0
- package/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +9 -0
- package/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +27 -0
- package/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +11 -0
- package/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +72 -0
- package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +51 -0
- package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +166 -0
- package/node_modules/jose/dist/webapi/jwk/embedded.js +19 -0
- package/node_modules/jose/dist/webapi/jwk/thumbprint.js +68 -0
- package/node_modules/jose/dist/webapi/jwks/local.js +78 -0
- package/node_modules/jose/dist/webapi/jwks/remote.js +170 -0
- package/node_modules/jose/dist/webapi/jws/compact/sign.js +21 -0
- package/node_modules/jose/dist/webapi/jws/compact/verify.js +9 -0
- package/node_modules/jose/dist/webapi/jws/flattened/sign.js +31 -0
- package/node_modules/jose/dist/webapi/jws/flattened/verify.js +24 -0
- package/node_modules/jose/dist/webapi/jws/general/sign.js +74 -0
- package/node_modules/jose/dist/webapi/jws/general/verify.js +44 -0
- package/node_modules/jose/dist/webapi/jwt/decrypt.js +23 -0
- package/node_modules/jose/dist/webapi/jwt/encrypt.js +101 -0
- package/node_modules/jose/dist/webapi/jwt/sign.js +51 -0
- package/node_modules/jose/dist/webapi/jwt/unsecured.js +64 -0
- package/node_modules/jose/dist/webapi/jwt/verify.js +15 -0
- package/node_modules/jose/dist/webapi/key/export.js +44 -0
- package/node_modules/jose/dist/webapi/key/generate_key_pair.js +48 -0
- package/node_modules/jose/dist/webapi/key/generate_secret.js +40 -0
- package/node_modules/jose/dist/webapi/key/import.js +57 -0
- package/node_modules/jose/dist/webapi/lib/asn1.js +174 -0
- package/node_modules/jose/dist/webapi/lib/base64.js +22 -0
- package/node_modules/jose/dist/webapi/lib/buffer_utils.js +44 -0
- package/node_modules/jose/dist/webapi/lib/content_encryption.js +142 -0
- package/node_modules/jose/dist/webapi/lib/crypto_key.js +28 -0
- package/node_modules/jose/dist/webapi/lib/deflate.js +44 -0
- package/node_modules/jose/dist/webapi/lib/helpers.js +42 -0
- package/node_modules/jose/dist/webapi/lib/invalid_key_input.js +26 -0
- package/node_modules/jose/dist/webapi/lib/is_key_like.js +17 -0
- package/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +107 -0
- package/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +186 -0
- package/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +110 -0
- package/node_modules/jose/dist/webapi/lib/jwk_to_key.js +17 -0
- package/node_modules/jose/dist/webapi/lib/jws_algorithms.js +73 -0
- package/node_modules/jose/dist/webapi/lib/jws_sign.js +74 -0
- package/node_modules/jose/dist/webapi/lib/jws_verify.js +107 -0
- package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +197 -0
- package/node_modules/jose/dist/webapi/lib/key.js +132 -0
- package/node_modules/jose/dist/webapi/lib/key_algorithm.js +10 -0
- package/node_modules/jose/dist/webapi/lib/key_descriptor.js +7 -0
- package/node_modules/jose/dist/webapi/lib/key_management.js +256 -0
- package/node_modules/jose/dist/webapi/lib/options.js +48 -0
- package/node_modules/jose/dist/webapi/lib/signing.js +26 -0
- package/node_modules/jose/dist/webapi/lib/type_checks.js +35 -0
- package/node_modules/jose/dist/webapi/util/base64url.js +39 -0
- package/node_modules/jose/dist/webapi/util/decode_jwt.js +32 -0
- package/node_modules/jose/dist/webapi/util/decode_protected_header.js +24 -0
- package/node_modules/jose/dist/webapi/util/errors.js +99 -0
- package/node_modules/jose/package.json +198 -0
- package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
- package/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
- package/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
- package/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
- package/node_modules/json-schema-traverse/LICENSE +21 -0
- package/node_modules/json-schema-traverse/README.md +95 -0
- package/node_modules/json-schema-traverse/index.d.ts +40 -0
- package/node_modules/json-schema-traverse/index.js +93 -0
- package/node_modules/json-schema-traverse/package.json +43 -0
- package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
- package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
- package/node_modules/open/index.d.ts +158 -0
- package/node_modules/open/index.js +366 -0
- package/node_modules/open/license +9 -0
- package/node_modules/open/package.json +68 -0
- package/node_modules/open/readme.md +183 -0
- package/node_modules/open/xdg-open +1267 -0
- package/node_modules/path-key/index.d.ts +40 -0
- package/node_modules/path-key/index.js +16 -0
- package/node_modules/path-key/license +9 -0
- package/node_modules/path-key/package.json +39 -0
- package/node_modules/path-key/readme.md +61 -0
- package/node_modules/pi-mcp-adapter/CHANGELOG.md +635 -0
- package/node_modules/pi-mcp-adapter/LICENSE +21 -0
- package/node_modules/pi-mcp-adapter/README.md +702 -0
- package/node_modules/pi-mcp-adapter/abort.ts +34 -0
- package/node_modules/pi-mcp-adapter/agent-dir.ts +60 -0
- package/node_modules/pi-mcp-adapter/agent-plugin-loader.ts +377 -0
- package/node_modules/pi-mcp-adapter/app-bridge.bundle.js +67 -0
- package/node_modules/pi-mcp-adapter/banner.png +0 -0
- package/node_modules/pi-mcp-adapter/cli.js +209 -0
- package/node_modules/pi-mcp-adapter/commands.ts +619 -0
- package/node_modules/pi-mcp-adapter/config.ts +1226 -0
- package/node_modules/pi-mcp-adapter/consent-manager.ts +64 -0
- package/node_modules/pi-mcp-adapter/direct-tools.ts +557 -0
- package/node_modules/pi-mcp-adapter/elicitation-handler.ts +348 -0
- package/node_modules/pi-mcp-adapter/error-signal.ts +21 -0
- package/node_modules/pi-mcp-adapter/errors.ts +223 -0
- package/node_modules/pi-mcp-adapter/glimpse-ui.ts +80 -0
- package/node_modules/pi-mcp-adapter/host-html-template.ts +469 -0
- package/node_modules/pi-mcp-adapter/index.ts +893 -0
- package/node_modules/pi-mcp-adapter/init.ts +625 -0
- package/node_modules/pi-mcp-adapter/json-schema-validator.ts +69 -0
- package/node_modules/pi-mcp-adapter/lifecycle.ts +151 -0
- package/node_modules/pi-mcp-adapter/logger.ts +169 -0
- package/node_modules/pi-mcp-adapter/mcp-auth-flow.ts +994 -0
- package/node_modules/pi-mcp-adapter/mcp-auth.ts +942 -0
- package/node_modules/pi-mcp-adapter/mcp-callback-server.ts +510 -0
- package/node_modules/pi-mcp-adapter/mcp-code.ts +354 -0
- package/node_modules/pi-mcp-adapter/mcp-keyring-helper.cjs +89 -0
- package/node_modules/pi-mcp-adapter/mcp-oauth-provider.ts +616 -0
- package/node_modules/pi-mcp-adapter/mcp-output-guard.ts +408 -0
- package/node_modules/pi-mcp-adapter/mcp-panel.ts +979 -0
- package/node_modules/pi-mcp-adapter/mcp-probe.ts +187 -0
- package/node_modules/pi-mcp-adapter/mcp-script-worker.mjs +128 -0
- package/node_modules/pi-mcp-adapter/mcp-setup-panel.ts +666 -0
- package/node_modules/pi-mcp-adapter/mcp-status.ts +109 -0
- package/node_modules/pi-mcp-adapter/mcp-trace.ts +306 -0
- package/node_modules/pi-mcp-adapter/metadata-cache.ts +330 -0
- package/node_modules/pi-mcp-adapter/npx-resolver.ts +488 -0
- package/node_modules/pi-mcp-adapter/oauth-handler.ts +30 -0
- package/node_modules/pi-mcp-adapter/oauth.ts +48 -0
- package/node_modules/pi-mcp-adapter/onboarding-state.ts +76 -0
- package/node_modules/pi-mcp-adapter/package.json +178 -0
- package/node_modules/pi-mcp-adapter/panel-keys.ts +53 -0
- package/node_modules/pi-mcp-adapter/prompts.ts +353 -0
- package/node_modules/pi-mcp-adapter/proxy-modes.ts +1249 -0
- package/node_modules/pi-mcp-adapter/resource-tools.ts +17 -0
- package/node_modules/pi-mcp-adapter/runtime-owner.ts +91 -0
- package/node_modules/pi-mcp-adapter/sampling-handler.ts +284 -0
- package/node_modules/pi-mcp-adapter/search-ranking.ts +127 -0
- package/node_modules/pi-mcp-adapter/server-manager.ts +1095 -0
- package/node_modules/pi-mcp-adapter/session-recovery.ts +145 -0
- package/node_modules/pi-mcp-adapter/skills/mcp-scripting/SKILL.md +38 -0
- package/node_modules/pi-mcp-adapter/state.ts +62 -0
- package/node_modules/pi-mcp-adapter/tool-approval.ts +141 -0
- package/node_modules/pi-mcp-adapter/tool-metadata.ts +238 -0
- package/node_modules/pi-mcp-adapter/tool-registrar.ts +253 -0
- package/node_modules/pi-mcp-adapter/tool-result-renderer.ts +297 -0
- package/node_modules/pi-mcp-adapter/ts-shape.ts +149 -0
- package/node_modules/pi-mcp-adapter/types.ts +793 -0
- package/node_modules/pi-mcp-adapter/ui-app-bridge-helpers.ts +40 -0
- package/node_modules/pi-mcp-adapter/ui-resource-handler.ts +250 -0
- package/node_modules/pi-mcp-adapter/ui-server.ts +847 -0
- package/node_modules/pi-mcp-adapter/ui-session.ts +570 -0
- package/node_modules/pi-mcp-adapter/ui-stream-types.ts +89 -0
- package/node_modules/pi-mcp-adapter/ui-tool-visibility.ts +25 -0
- package/node_modules/pi-mcp-adapter/unix-socket-transport.ts +85 -0
- package/node_modules/pi-mcp-adapter/utils.ts +310 -0
- package/node_modules/pi-subagents/CHANGELOG.md +1700 -0
- package/node_modules/pi-subagents/LICENSE +21 -0
- package/node_modules/pi-subagents/README.md +120 -0
- package/node_modules/pi-subagents/agents/delegate.md +14 -0
- package/node_modules/pi-subagents/agents/oracle.md +74 -0
- package/node_modules/pi-subagents/agents/researcher.md +52 -0
- package/node_modules/pi-subagents/agents/reviewer.md +78 -0
- package/node_modules/pi-subagents/agents/scout.md +50 -0
- package/node_modules/pi-subagents/agents/worker.md +58 -0
- package/node_modules/pi-subagents/docs/agents.md +342 -0
- package/node_modules/pi-subagents/docs/configuration.md +328 -0
- package/node_modules/pi-subagents/docs/extension-api.md +308 -0
- package/node_modules/pi-subagents/docs/missions.md +119 -0
- package/node_modules/pi-subagents/docs/models.md +192 -0
- package/node_modules/pi-subagents/docs/observability.md +174 -0
- package/node_modules/pi-subagents/docs/tool-reference.md +343 -0
- package/node_modules/pi-subagents/docs/watchdog.md +176 -0
- package/node_modules/pi-subagents/docs/workflows.md +163 -0
- package/node_modules/pi-subagents/index.ts +1 -0
- package/node_modules/pi-subagents/inspector-runner.mjs +11 -0
- package/node_modules/pi-subagents/install.mjs +93 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/compile/code.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/compile/code.mjs +65 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/compile/compile.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/compile/compile.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/compile/index.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/compile/index.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/compile/validator.d.mts +43 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/compile/validator.mjs +121 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/error/errors.d.mts +214 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/error/errors.mjs +18 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/error/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/error/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/_idna.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/_idna.mjs +216 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/_puny.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/_puny.mjs +74 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/_registry.d.mts +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/_registry.mjs +96 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/date.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/date.mjs +19 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/date_time.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/date_time.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/duration.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/duration.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/email.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/email.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/format.d.mts +22 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/format.mjs +22 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/hostname.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/hostname.mjs +18 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/idn_email.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/idn_email.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/idn_hostname.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/idn_hostname.mjs +19 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/index.d.mts +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/index.mjs +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/ipv4.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/ipv4.mjs +38 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/ipv6.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/ipv6.mjs +67 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/iri.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/iri.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/iri_reference.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/iri_reference.mjs +60 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/json_pointer.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/json_pointer.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/json_pointer_uri_fragment.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/regex.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/regex.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/relative_json_pointer.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/relative_json_pointer.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/time.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/time.mjs +27 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/uri.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/uri.mjs +135 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/uri_reference.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/uri_reference.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/uri_template.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/uri_template.mjs +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/url.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/url.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/uuid.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/format/uuid.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/guard/emit.d.mts +58 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/guard/emit.mjs +194 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/guard/globals.d.mts +35 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/guard/globals.mjs +90 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/guard/guard.d.mts +69 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/guard/guard.mjs +217 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/guard/index.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/guard/index.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/guard/native.d.mts +20 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/guard/native.mjs +60 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/guard/string.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/guard/string.mjs +164 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/index.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/index.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/build.d.mts +39 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/build.mjs +118 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/check.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/check.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/compile.d.mts +22 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/compile.mjs +46 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_context.d.mts +35 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_context.mjs +129 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_exact_optional.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_exact_optional.mjs +20 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_externals.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_externals.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_functions.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_functions.mjs +47 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_guard.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_guard.mjs +26 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_reducer.d.mts +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_reducer.mjs +45 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_refine.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_refine.mjs +29 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_stack.d.mts +18 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_stack.mjs +107 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_unique.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/_unique.mjs +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/additionalItems.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/additionalItems.mjs +50 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/additionalProperties.mjs +110 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/allOf.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/allOf.mjs +47 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/anyOf.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/anyOf.mjs +52 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/boolean.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/boolean.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/const.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/const.mjs +30 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/contains.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/contains.mjs +42 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/dependencies.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/dependencies.mjs +45 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/dependentRequired.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/dependentRequired.mjs +40 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/dependentSchemas.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +38 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/dynamicRef.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/enum.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/enum.mjs +33 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/exclusiveMaximum.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/exclusiveMinimum.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/format.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/format.mjs +26 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/if.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/if.mjs +47 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/index.d.mts +49 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/index.mjs +55 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/items.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/items.mjs +68 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/maxContains.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/maxContains.mjs +42 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/maxItems.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/maxItems.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/maxLength.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/maxLength.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/maxProperties.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/maxProperties.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/maximum.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/maximum.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/minContains.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/minContains.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/minItems.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/minItems.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/minLength.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/minLength.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/minProperties.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/minProperties.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/minimum.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/minimum.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/multipleOf.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/multipleOf.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/not.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/not.mjs +37 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/oneOf.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/oneOf.mjs +58 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/pattern.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/pattern.mjs +28 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/patternProperties.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/patternProperties.mjs +44 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/prefixItems.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/prefixItems.mjs +35 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/properties.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/properties.mjs +75 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/propertyNames.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/propertyNames.mjs +39 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/recursiveRef.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/ref.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/ref.mjs +58 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/required.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/required.mjs +32 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/schema.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/schema.mjs +352 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/type.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/type.mjs +74 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/unevaluatedItems.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +51 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/unevaluatedProperties.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +51 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/uniqueItems.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/engine/uniqueItems.mjs +51 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/errors.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/errors.mjs +24 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/index.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/index.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/parse.d.mts +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/parse.mjs +27 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/pointer/index.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/pointer/index.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/pointer/pointer.d.mts +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/pointer/pointer.mjs +106 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/pointer/pointer_get.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/pointer/pointer_get.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/resolve/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/resolve/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/resolve/ref.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/resolve/ref.mjs +146 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/resolve/resolve.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/resolve/resolve.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/schema.d.mts +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/schema.mjs +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/_canonical.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/_canonical.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/_comparer.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/_comparer.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/_elements.d.mts +18 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/_elements.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/additionalProperties.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/additionalProperties.mjs +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/allOf.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/allOf.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/anyOf.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/anyOf.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/const.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/const.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/enum.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/enum.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/if.d.mts +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/if.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/items.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/items.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/oneOf.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/oneOf.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/patternProperties.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/patternProperties.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/prefixItems.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/prefixItems.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/properties.d.mts +32 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/properties.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/ref.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/ref.mjs +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/required.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/required.mjs +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/schema.d.mts +56 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/schema.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/static.d.mts +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/static.mjs +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/type.d.mts +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/type.mjs +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/unevaluatedProperties.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/static/unevaluatedProperties.mjs +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/_guard.d.mts +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/_guard.mjs +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/_refine.d.mts +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/_refine.mjs +18 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/additionalItems.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/additionalItems.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/additionalProperties.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/additionalProperties.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/allOf.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/allOf.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/anchor.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/anchor.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/anyOf.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/anyOf.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/const.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/const.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/contains.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/contains.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/contentEncoding.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/contentEncoding.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/contentMediaType.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/contentMediaType.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/default.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/default.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/defs.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/defs.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/dependencies.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/dependencies.mjs +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/dependentRequired.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/dependentRequired.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/dependentSchemas.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/dependentSchemas.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/dynamicAnchor.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/dynamicAnchor.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/dynamicRef.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/dynamicRef.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/else.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/else.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/enum.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/enum.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/exclusiveMaximum.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/exclusiveMinimum.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/format.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/format.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/id.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/id.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/if.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/if.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/index.d.mts +54 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/index.mjs +60 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/items.d.mts +19 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/items.mjs +26 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/maxContains.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/maxContains.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/maxItems.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/maxItems.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/maxLength.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/maxLength.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/maxProperties.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/maxProperties.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/maximum.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/maximum.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/minContains.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/minContains.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/minItems.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/minItems.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/minLength.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/minLength.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/minProperties.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/minProperties.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/minimum.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/minimum.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/multipleOf.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/multipleOf.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/not.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/not.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/oneOf.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/oneOf.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/pattern.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/pattern.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/patternProperties.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/patternProperties.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/prefixItems.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/prefixItems.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/properties.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/properties.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/propertyNames.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/propertyNames.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/recursiveAnchor.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/recursiveAnchor.mjs +19 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/recursiveRef.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/recursiveRef.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/ref.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/ref.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/required.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/required.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/schema.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/schema.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/then.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/then.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/type.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/type.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/unevaluatedItems.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/unevaluatedItems.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/unevaluatedProperties.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/uniqueItems.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/schema/types/uniqueItems.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/arguments/arguments.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/arguments/arguments.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/arguments/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/arguments/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/environment/environment.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/environment/environment.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/environment/evaluate.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/environment/evaluate.mjs +37 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/environment/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/environment/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/hashing/hash.d.mts +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/hashing/hash.mjs +232 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/hashing/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/hashing/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/index.d.mts +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/index.mjs +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/_config.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/_config.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/_locale.d.mts +40 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/_locale.mjs +40 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ar_001.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ar_001.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/bn_BD.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/bn_BD.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/cs_CZ.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/cs_CZ.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/de_DE.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/de_DE.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/el_GR.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/el_GR.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/en_US.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/en_US.mjs +40 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/es_419.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/es_419.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/es_AR.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/es_AR.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/es_ES.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/es_ES.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/es_MX.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/es_MX.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/fa_IR.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/fa_IR.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/fil_PH.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/fil_PH.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/fr_CA.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/fr_CA.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/fr_FR.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/fr_FR.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ha_NG.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ha_NG.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/hi_IN.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/hi_IN.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/hu_HU.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/hu_HU.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/id_ID.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/id_ID.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/it_IT.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/it_IT.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ja_JP.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ja_JP.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ko_KR.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ko_KR.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ms_MY.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ms_MY.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/nl_NL.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/nl_NL.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/pl_PL.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/pl_PL.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/pt_BR.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/pt_BR.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/pt_PT.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/pt_PT.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ro_RO.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ro_RO.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ru_RU.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ru_RU.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/sv_SE.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/sv_SE.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/sw_TZ.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/sw_TZ.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/th_TH.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/th_TH.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/tr_TR.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/tr_TR.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/uk_UA.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/uk_UA.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ur_PK.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/ur_PK.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/vi_VN.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/vi_VN.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/yo_NG.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/yo_NG.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/zh_Hans.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/zh_Hans.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/zh_Hant.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/locale/zh_Hant.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/assign.d.mts +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/assign.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/clone.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/clone.mjs +63 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/create.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/create.mjs +30 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/discard.d.mts +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/discard.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/memory.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/memory.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/metrics.d.mts +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/metrics.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/update.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/memory/update.mjs +32 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/settings/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/settings/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/settings/settings.d.mts +56 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/settings/settings.mjs +32 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/system.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/system.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/unreachable/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/unreachable/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/unreachable/unreachable.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/system/unreachable/unreachable.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/_optional.d.mts +19 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/_optional.mjs +40 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/_readonly.d.mts +19 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/_readonly.mjs +40 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/awaited.d.mts +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/awaited.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/capitalize.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/capitalize.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/conditional.d.mts +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/conditional.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/constructor_parameters.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/constructor_parameters.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/evaluate.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/evaluate.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/exclude.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/exclude.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/extract.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/extract.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/index.d.mts +27 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/index.mjs +27 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/indexed.d.mts +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/indexed.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/instance_type.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/instance_type.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/interface.d.mts +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/interface.mjs +22 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/keyof.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/keyof.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/lowercase.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/lowercase.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/mapped.d.mts +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/mapped.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/module.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/module.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/non_nullable.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/non_nullable.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/omit.d.mts +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/omit.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/options.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/options.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/parameters.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/parameters.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/partial.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/partial.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/pick.d.mts +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/pick.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/readonly_object.d.mts +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/readonly_object.mjs +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/required.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/required.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/return_type.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/return_type.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/uncapitalize.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/uncapitalize.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/uppercase.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/action/uppercase.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/awaited/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/awaited/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/awaited/instantiate.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/awaited/instantiate.mjs +20 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +53 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/call/instantiate.d.mts +23 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/call/instantiate.mjs +48 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/call/resolve_arguments.d.mts +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +33 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/call/resolve_target.d.mts +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/call/resolve_target.mjs +27 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/conditional/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/conditional/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/conditional/instantiate.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/conditional/instantiate.mjs +23 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/constructor_parameters/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/constructor_parameters/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +24 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +19 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/check.d.mts +24 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/check.mjs +51 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +53 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +31 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/extends.mjs +53 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/index.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/index.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +20 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +30 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/target.d.mts +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/cyclic/target.mjs +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/enum/enum_to_union.d.mts +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/enum/enum_to_union.mjs +24 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/enum/index.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/enum/index.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +47 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/compare.mjs +22 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +30 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/composite.mjs +63 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +27 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +45 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +27 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/index.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/index.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/instantiate.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/exclude/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/exclude/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/exclude/instantiate.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/exclude/instantiate.mjs +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/exclude/operation.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/exclude/operation.mjs +24 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/extract/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/extract/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/extract/instantiate.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/extract/instantiate.mjs +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/extract/operation.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/extract/operation.mjs +24 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/helpers/index.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/helpers/index.mjs +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/helpers/keys.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/helpers/keys.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/helpers/union.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/helpers/union.mjs +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/index.d.mts +31 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/index.mjs +37 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_cyclic.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_intersect.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_literal.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_literal.mjs +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_type.d.mts +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_type.mjs +22 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_union.d.mts +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/from_union.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/to_indexable.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.d.mts +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/array_indexer.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs +18 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/from_array.d.mts +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/from_array.mjs +35 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/from_object.d.mts +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/from_object.mjs +40 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/from_tuple.d.mts +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs +35 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/from_type.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/from_type.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/instance_type/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/instance_type/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/instance_type/instantiate.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs +21 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/instantiate.d.mts +165 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/instantiate.mjs +159 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/interface/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/interface/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +18 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/interface/instantiate.mjs +23 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/from_literal.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/from_type.d.mts +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/from_union.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/instantiate.d.mts +38 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs +52 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/mapping.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_any.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_any.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_array.d.mts +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_array.mjs +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_object.d.mts +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_object.mjs +20 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_record.d.mts +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_record.mjs +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_tuple.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_type.d.mts +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/from_type.mjs +23 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/mapped/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/mapped/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/mapped/instantiate.d.mts +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/mapped/instantiate.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts +22 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +42 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +34 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/module/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/module/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/module/instantiate.d.mts +21 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/module/instantiate.mjs +34 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/non_nullable/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/non_nullable/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/non_nullable/instantiate.d.mts +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs +22 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/collapse.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/collapse.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_cyclic.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_cyclic.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_intersect.d.mts +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_intersect.mjs +22 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_object.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_object.mjs +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_tuple.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_tuple.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_type.d.mts +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_type.mjs +20 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_union.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/from_union.mjs +19 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/object/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/omit/from_type.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/omit/from_type.mjs +18 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/omit/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/omit/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/omit/instantiate.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/omit/instantiate.mjs +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/options/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/options/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/options/instantiate.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/options/instantiate.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/parameters/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/parameters/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +24 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/from_cyclic.d.mts +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/from_object.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/from_object.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/from_type.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/from_type.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/from_union.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/from_union.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/instantiate.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/partial/instantiate.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/patterns/index.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/patterns/index.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/patterns/pattern.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/patterns/pattern.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/patterns/template.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/patterns/template.mjs +20 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/pick/from_type.d.mts +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/pick/from_type.mjs +20 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/pick/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/pick/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/pick/instantiate.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/pick/instantiate.mjs +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.d.mts +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +22 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_union.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/instantiate.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key.d.mts +24 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key.mjs +40 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_any.d.mts +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_any.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_boolean.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_integer.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_integer.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_intersect.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_literal.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_literal.mjs +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_number.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_number.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_string.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_string.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_union.d.mts +20 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/from_key_union.mjs +39 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/instantiate.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/instantiate.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/record_create.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/record/record_create.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/ref/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/ref/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/ref/instantiate.mjs +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/from_cyclic.d.mts +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/from_cyclic.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/from_intersect.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/from_intersect.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/from_object.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/from_object.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/from_type.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/from_type.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/from_union.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/from_union.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/instantiate.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/required/instantiate.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/rest/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/rest/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/rest/spread.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/rest/spread.mjs +19 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/return_type/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/return_type/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/return_type/instantiate.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/return_type/instantiate.mjs +21 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/create.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/create.mjs +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/decode.d.mts +30 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/decode.mjs +81 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/encode.d.mts +33 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/encode.mjs +81 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/index.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/index.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/instantiate.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/is_finite.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +26 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/is_pattern.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/static.d.mts +18 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/template_literal/static.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/this/expand_this.d.mts +19 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/this/expand_this.mjs +32 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/tuple/to_object.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/engine/tuple/to_object.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/any.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/any.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/array.d.mts +20 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/array.mjs +21 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/async_iterator.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/async_iterator.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/bigint.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/bigint.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/boolean.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/boolean.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/constructor.d.mts +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/constructor.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/enum.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/enum.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/extends.d.mts +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/extends.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/extends_left.d.mts +55 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/extends_left.mjs +83 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/extends_right.d.mts +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/extends_right.mjs +44 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/function.d.mts +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/function.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/index.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/index.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/inference.d.mts +34 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/inference.mjs +62 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/integer.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/integer.mjs +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/intersect.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/intersect.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/iterator.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/iterator.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/literal.d.mts +18 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/literal.mjs +44 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/never.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/never.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/null.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/null.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/number.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/number.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/object.d.mts +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/object.mjs +87 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/parameters.d.mts +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/parameters.mjs +28 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/promise.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/promise.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/result.d.mts +24 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/result.mjs +36 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/return_type.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/return_type.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/string.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/string.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/symbol.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/symbol.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/template_literal.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/template_literal.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/tuple.d.mts +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/tuple.mjs +60 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/undefined.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/undefined.mjs +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/union.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/union.mjs +24 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/unknown.d.mts +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/unknown.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/void.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/extends/void.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/index.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/index.mjs +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/mapping.d.mts +365 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/mapping.mjs +532 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/parser.d.mts +260 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/parser.mjs +135 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/script.d.mts +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/script.mjs +21 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/bigint.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/bigint.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/const.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/const.mjs +18 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/ident.d.mts +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/ident.mjs +26 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/index.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/index.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/integer.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/integer.mjs +19 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/char.d.mts +75 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/char.mjs +26 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/guard.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/guard.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/many.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/many.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/match.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/match.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/optional.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/optional.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/take.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/take.mjs +30 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/trim.d.mts +19 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/internal/trim.mjs +34 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/number.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/number.mjs +19 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/rest.d.mts +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/rest.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/span.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/span.mjs +24 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/string.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/string.mjs +20 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/unsigned_integer.d.mts +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/unsigned_integer.mjs +26 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/unsigned_number.d.mts +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/unsigned_number.mjs +38 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/until.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/until.mjs +21 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/until_1.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/script/token/until_1.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/_codec.d.mts +30 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/_codec.mjs +61 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/_immutable.d.mts +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/_immutable.mjs +26 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/_optional.d.mts +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/_optional.mjs +27 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/_readonly.d.mts +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/_readonly.mjs +26 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/_refine.d.mts +26 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/_refine.mjs +37 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/any.d.mts +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/any.mjs +18 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/array.d.mts +18 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/array.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/async_iterator.d.mts +20 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/async_iterator.mjs +28 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/base.d.mts +50 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/base.mjs +84 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/bigint.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/bigint.mjs +21 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/boolean.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/boolean.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/call.d.mts +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/call.mjs +22 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/constructor.d.mts +18 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/constructor.mjs +24 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/cyclic.d.mts +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/cyclic.mjs +29 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/deferred.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/deferred.mjs +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/enum.d.mts +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/enum.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/function.d.mts +21 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/function.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/generic.d.mts +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/generic.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/identifier.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/identifier.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/index.d.mts +48 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/index.mjs +54 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/infer.d.mts +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/infer.mjs +20 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/integer.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/integer.mjs +21 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/intersect.d.mts +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/intersect.mjs +24 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/iterator.d.mts +20 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/iterator.mjs +28 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/literal.d.mts +31 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/literal.mjs +62 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/never.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/never.mjs +22 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/null.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/null.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/number.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/number.mjs +21 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/object.d.mts +18 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/object.mjs +28 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/parameter.d.mts +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/parameter.mjs +21 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/promise.d.mts +21 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/promise.mjs +29 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/properties.d.mts +43 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/properties.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/record.d.mts +46 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/record.mjs +60 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/ref.d.mts +19 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/ref.mjs +18 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/rest.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/rest.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/schema.d.mts +176 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/schema.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/static.d.mts +48 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/static.mjs +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/string.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/string.mjs +22 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/symbol.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/symbol.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/template_literal.d.mts +28 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/template_literal.mjs +37 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/this.d.mts +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/this.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/tuple.d.mts +38 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/tuple.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/undefined.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/undefined.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/union.d.mts +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/union.mjs +24 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/unknown.d.mts +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/unknown.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/unsafe.d.mts +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/unsafe.mjs +20 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/void.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/type/types/void.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/typebox.d.mts +73 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/typebox.mjs +89 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/assert/assert.d.mts +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/assert/assert.mjs +28 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/assert/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/assert/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/check/check.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/check/check.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/check/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/check/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/additional.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/additional.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/clean.d.mts +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/clean.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_array.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_array.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_base.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_base.mjs +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_cyclic.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_cyclic.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_intersect.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_intersect.mjs +26 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_object.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_object.mjs +31 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_record.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_record.mjs +32 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_ref.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_ref.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_tuple.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_tuple.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_type.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_type.mjs +23 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_union.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/from_union.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clean/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clone/clone.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clone/clone.mjs +83 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clone/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/clone/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/callback.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/callback.mjs +25 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/decode.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/decode.mjs +50 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/encode.d.mts +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/encode.mjs +50 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_array.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_array.mjs +38 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_cyclic.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_cyclic.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_intersect.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_intersect.mjs +58 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_object.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_object.mjs +45 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_record.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_record.mjs +44 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_ref.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_ref.mjs +31 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_tuple.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_tuple.mjs +35 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_type.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_type.mjs +22 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_union.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/from_union.mjs +40 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/has.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/has.mjs +93 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/index.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/codec/index.mjs +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/convert.d.mts +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/convert.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_additional.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_additional.mjs +18 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_array.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_array.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_base.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_base.mjs +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_bigint.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_bigint.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_boolean.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_boolean.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_cyclic.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_cyclic.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_enum.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_enum.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_integer.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_integer.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_intersect.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_intersect.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_literal.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_literal.mjs +44 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_null.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_null.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_number.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_number.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_object.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_object.mjs +28 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_record.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_record.mjs +23 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_ref.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_ref.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_string.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_string.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_template_literal.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_template_literal.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_tuple.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_tuple.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_type.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_type.mjs +45 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_undefined.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_undefined.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_union.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_union.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_void.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/from_void.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_array.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_array.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_bigint.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_bigint.mjs +45 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_boolean.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_boolean.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_null.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_null.mjs +44 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_number.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_number.mjs +44 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_result.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_result.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_string.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_string.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_undefined.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/convert/try/try_undefined.mjs +44 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/create.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/create.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/error.d.mts +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/error.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_array.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_array.mjs +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_async_iterator.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_async_iterator.mjs +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_base.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_base.mjs +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_bigint.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_bigint.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_boolean.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_boolean.mjs +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_constructor.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_constructor.mjs +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_cyclic.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_cyclic.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_default.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_default.mjs +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_enum.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_enum.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_function.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_function.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_integer.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_integer.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_intersect.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_intersect.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_iterator.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_iterator.mjs +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_literal.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_literal.mjs +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_never.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_never.mjs +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_null.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_null.mjs +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_number.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_number.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_object.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_object.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_promise.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_promise.mjs +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_record.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_record.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_ref.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_ref.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_string.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_string.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_symbol.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_symbol.mjs +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_template_literal.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_template_literal.mjs +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_tuple.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_tuple.mjs +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_type.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_type.mjs +69 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_undefined.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_undefined.mjs +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_union.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_union.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_void.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/from_void.mjs +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/index.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/create/index.mjs +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/default.d.mts +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/default.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_array.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_array.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_base.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_base.mjs +5 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_cyclic.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_cyclic.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_default.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_default.mjs +13 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_intersect.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_intersect.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_object.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_object.mjs +32 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_record.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_record.mjs +26 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_ref.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_ref.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_tuple.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_tuple.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_type.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_type.mjs +27 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_union.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/from_union.mjs +14 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/default/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/delta/diff.d.mts +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/delta/diff.mjs +135 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/delta/edit.d.mts +24 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/delta/edit.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/delta/index.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/delta/index.mjs +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/delta/patch.d.mts +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/delta/patch.mjs +42 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/equal/equal.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/equal/equal.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/equal/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/equal/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/errors/errors.d.mts +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/errors/errors.mjs +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/errors/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/errors/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/hash/hash.d.mts +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/hash/hash.mjs +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/hash/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/hash/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/index.d.mts +21 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/index.mjs +30 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/error.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/error.mjs +6 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/from_array.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/from_array.mjs +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/from_object.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/from_object.mjs +40 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/from_unknown.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/from_unknown.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/from_value.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/from_value.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/mutate.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/mutate/mutate.mjs +41 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/parse/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/parse/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/parse/parse.d.mts +11 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/parse/parse.mjs +47 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/pipeline/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/pipeline/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/pipeline/pipeline.d.mts +10 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/pipeline/pipeline.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/pointer/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/pointer/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/error.d.mts +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/error.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_array.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_array.mjs +39 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_base.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_base.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_enum.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_enum.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_intersect.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_intersect.mjs +8 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_object.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_object.mjs +33 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_record.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_record.mjs +33 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_ref.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_ref.mjs +9 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_template_literal.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_template_literal.mjs +7 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_tuple.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_tuple.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_type.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_type.mjs +86 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_union.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_union.mjs +24 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_unknown.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/from_unknown.mjs +12 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/index.d.mts +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/index.mjs +1 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/repair.d.mts +17 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/repair/repair.mjs +20 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/shared/index.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/shared/index.mjs +4 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/shared/optional_undefined.d.mts +2 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/shared/optional_undefined.mjs +15 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/shared/union_priority_sort.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/shared/union_priority_sort.mjs +36 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/shared/union_score_select.d.mts +3 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/shared/union_score_select.mjs +51 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/value.d.mts +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/build/value/value.mjs +16 -0
- package/node_modules/pi-subagents/node_modules/typebox/license +23 -0
- package/node_modules/pi-subagents/node_modules/typebox/package.json +87 -0
- package/node_modules/pi-subagents/node_modules/typebox/readme.md +356 -0
- package/node_modules/pi-subagents/package.json +104 -0
- package/node_modules/pi-subagents/prompts/gather-context-and-clarify.md +13 -0
- package/node_modules/pi-subagents/prompts/parallel-cleanup.md +59 -0
- package/node_modules/pi-subagents/prompts/parallel-research.md +50 -0
- package/node_modules/pi-subagents/prompts/parallel-review.md +54 -0
- package/node_modules/pi-subagents/prompts/review-loop.md +43 -0
- package/node_modules/pi-subagents/skills/pi-subagents/SKILL.md +41 -0
- package/node_modules/pi-subagents/skills/pi-subagents/references/constraints-and-recipes.md +251 -0
- package/node_modules/pi-subagents/skills/pi-subagents/references/execution-controls.md +428 -0
- package/node_modules/pi-subagents/skills/pi-subagents/references/management-authoring-rpc.md +161 -0
- package/node_modules/pi-subagents/skills/pi-subagents/references/prompting-and-roles.md +242 -0
- package/node_modules/pi-subagents/src/agents/agent-management.ts +1256 -0
- package/node_modules/pi-subagents/src/agents/agent-memory.ts +254 -0
- package/node_modules/pi-subagents/src/agents/agent-refinements.ts +624 -0
- package/node_modules/pi-subagents/src/agents/agent-scope.ts +6 -0
- package/node_modules/pi-subagents/src/agents/agent-selection.ts +25 -0
- package/node_modules/pi-subagents/src/agents/agent-serializer.ts +163 -0
- package/node_modules/pi-subagents/src/agents/agents.ts +1898 -0
- package/node_modules/pi-subagents/src/agents/chain-serializer.ts +280 -0
- package/node_modules/pi-subagents/src/agents/frontmatter.ts +153 -0
- package/node_modules/pi-subagents/src/agents/identity.ts +30 -0
- package/node_modules/pi-subagents/src/agents/proactive-skills.ts +194 -0
- package/node_modules/pi-subagents/src/agents/skills.ts +754 -0
- package/node_modules/pi-subagents/src/api/background-work.ts +197 -0
- package/node_modules/pi-subagents/src/api/capability-ceiling.ts +17 -0
- package/node_modules/pi-subagents/src/api/control-channel.ts +4 -0
- package/node_modules/pi-subagents/src/api/delegation.ts +119 -0
- package/node_modules/pi-subagents/src/api/external-runs.ts +129 -0
- package/node_modules/pi-subagents/src/api/intercom-bridge.ts +3 -0
- package/node_modules/pi-subagents/src/api/pi-args.ts +5 -0
- package/node_modules/pi-subagents/src/api/preflight.ts +403 -0
- package/node_modules/pi-subagents/src/api/project-panes.ts +30 -0
- package/node_modules/pi-subagents/src/api/shared-types.ts +19 -0
- package/node_modules/pi-subagents/src/extension/config.ts +103 -0
- package/node_modules/pi-subagents/src/extension/control-notices.ts +58 -0
- package/node_modules/pi-subagents/src/extension/doctor.ts +230 -0
- package/node_modules/pi-subagents/src/extension/fanout-child.ts +202 -0
- package/node_modules/pi-subagents/src/extension/index.ts +850 -0
- package/node_modules/pi-subagents/src/extension/public-execution.ts +71 -0
- package/node_modules/pi-subagents/src/extension/rpc.ts +654 -0
- package/node_modules/pi-subagents/src/extension/schemas.ts +396 -0
- package/node_modules/pi-subagents/src/extension/steering-notices.ts +35 -0
- package/node_modules/pi-subagents/src/extension/subagent-guide.ts +39 -0
- package/node_modules/pi-subagents/src/extension/tool-description.ts +182 -0
- package/node_modules/pi-subagents/src/inspectors/herdr/actions.ts +229 -0
- package/node_modules/pi-subagents/src/inspectors/herdr/client.ts +130 -0
- package/node_modules/pi-subagents/src/inspectors/herdr/inspector-runner.ts +141 -0
- package/node_modules/pi-subagents/src/inspectors/herdr/project-panes.ts +550 -0
- package/node_modules/pi-subagents/src/integrations/herdr-status.ts +330 -0
- package/node_modules/pi-subagents/src/intercom/intercom-bridge.ts +187 -0
- package/node_modules/pi-subagents/src/intercom/native-supervisor-channel.ts +813 -0
- package/node_modules/pi-subagents/src/intercom/result-intercom.ts +421 -0
- package/node_modules/pi-subagents/src/missions/actions.ts +433 -0
- package/node_modules/pi-subagents/src/missions/goal-driver.ts +162 -0
- package/node_modules/pi-subagents/src/missions/lifecycle.ts +365 -0
- package/node_modules/pi-subagents/src/missions/store.ts +584 -0
- package/node_modules/pi-subagents/src/missions/types.ts +190 -0
- package/node_modules/pi-subagents/src/missions/workflow-state.ts +256 -0
- package/node_modules/pi-subagents/src/policy/authority.ts +46 -0
- package/node_modules/pi-subagents/src/profiles/profiles.ts +661 -0
- package/node_modules/pi-subagents/src/runs/background/active-run-index.ts +42 -0
- package/node_modules/pi-subagents/src/runs/background/async-execution.ts +1585 -0
- package/node_modules/pi-subagents/src/runs/background/async-job-tracker.ts +671 -0
- package/node_modules/pi-subagents/src/runs/background/async-resume.ts +555 -0
- package/node_modules/pi-subagents/src/runs/background/async-status.ts +570 -0
- package/node_modules/pi-subagents/src/runs/background/auto-drain.ts +67 -0
- package/node_modules/pi-subagents/src/runs/background/chain-append.ts +328 -0
- package/node_modules/pi-subagents/src/runs/background/chain-root-attachment.ts +199 -0
- package/node_modules/pi-subagents/src/runs/background/completion-batcher.ts +168 -0
- package/node_modules/pi-subagents/src/runs/background/completion-dedupe.ts +54 -0
- package/node_modules/pi-subagents/src/runs/background/completion-replay.ts +267 -0
- package/node_modules/pi-subagents/src/runs/background/control-channel.ts +733 -0
- package/node_modules/pi-subagents/src/runs/background/fleet-view.ts +540 -0
- package/node_modules/pi-subagents/src/runs/background/notify.ts +332 -0
- package/node_modules/pi-subagents/src/runs/background/parallel-groups.ts +45 -0
- package/node_modules/pi-subagents/src/runs/background/process-terminal.ts +280 -0
- package/node_modules/pi-subagents/src/runs/background/result-watcher.ts +517 -0
- package/node_modules/pi-subagents/src/runs/background/resume-guidance.ts +33 -0
- package/node_modules/pi-subagents/src/runs/background/retained-children.ts +68 -0
- package/node_modules/pi-subagents/src/runs/background/run-id-resolver.ts +167 -0
- package/node_modules/pi-subagents/src/runs/background/run-status.ts +522 -0
- package/node_modules/pi-subagents/src/runs/background/scheduled-runs.ts +777 -0
- package/node_modules/pi-subagents/src/runs/background/stale-run-reconciler.ts +384 -0
- package/node_modules/pi-subagents/src/runs/background/steering.ts +239 -0
- package/node_modules/pi-subagents/src/runs/background/subagent-runner.ts +4776 -0
- package/node_modules/pi-subagents/src/runs/background/subagent-wait.ts +664 -0
- package/node_modules/pi-subagents/src/runs/background/top-level-async.ts +14 -0
- package/node_modules/pi-subagents/src/runs/background/wait-completions.ts +146 -0
- package/node_modules/pi-subagents/src/runs/background/wait-config.ts +36 -0
- package/node_modules/pi-subagents/src/runs/background/wait-subscriptions.ts +269 -0
- package/node_modules/pi-subagents/src/runs/background/wait-tool.ts +34 -0
- package/node_modules/pi-subagents/src/runs/foreground/async-dismiss-action.ts +85 -0
- package/node_modules/pi-subagents/src/runs/foreground/async-steering-action.ts +255 -0
- package/node_modules/pi-subagents/src/runs/foreground/async-stop-action.ts +65 -0
- package/node_modules/pi-subagents/src/runs/foreground/chain-clarify.ts +1354 -0
- package/node_modules/pi-subagents/src/runs/foreground/chain-execution.ts +1530 -0
- package/node_modules/pi-subagents/src/runs/foreground/execution.ts +1875 -0
- package/node_modules/pi-subagents/src/runs/foreground/foreground-control.ts +132 -0
- package/node_modules/pi-subagents/src/runs/foreground/foreground-history.ts +137 -0
- package/node_modules/pi-subagents/src/runs/foreground/subagent-executor.ts +5937 -0
- package/node_modules/pi-subagents/src/runs/foreground/workflow-foreground-steering.ts +187 -0
- package/node_modules/pi-subagents/src/runs/shared/acceptance.ts +1365 -0
- package/node_modules/pi-subagents/src/runs/shared/agent-contract.ts +38 -0
- package/node_modules/pi-subagents/src/runs/shared/capability-ceiling.ts +209 -0
- package/node_modules/pi-subagents/src/runs/shared/chain-outputs.ts +118 -0
- package/node_modules/pi-subagents/src/runs/shared/child-protocol.ts +401 -0
- package/node_modules/pi-subagents/src/runs/shared/completion-guard.ts +95 -0
- package/node_modules/pi-subagents/src/runs/shared/context-mode.ts +44 -0
- package/node_modules/pi-subagents/src/runs/shared/dynamic-fanout.ts +297 -0
- package/node_modules/pi-subagents/src/runs/shared/external-cli-runner.ts +130 -0
- package/node_modules/pi-subagents/src/runs/shared/long-running-guard.ts +220 -0
- package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-allowlist.ts +406 -0
- package/node_modules/pi-subagents/src/runs/shared/model-fallback.ts +340 -0
- package/node_modules/pi-subagents/src/runs/shared/model-scope.ts +138 -0
- package/node_modules/pi-subagents/src/runs/shared/nested-events.ts +1076 -0
- package/node_modules/pi-subagents/src/runs/shared/nested-path.ts +52 -0
- package/node_modules/pi-subagents/src/runs/shared/nested-render.ts +123 -0
- package/node_modules/pi-subagents/src/runs/shared/parallel-handoff.ts +238 -0
- package/node_modules/pi-subagents/src/runs/shared/parallel-utils.ts +257 -0
- package/node_modules/pi-subagents/src/runs/shared/permissions.ts +95 -0
- package/node_modules/pi-subagents/src/runs/shared/pi-args.ts +798 -0
- package/node_modules/pi-subagents/src/runs/shared/pi-spawn.ts +163 -0
- package/node_modules/pi-subagents/src/runs/shared/process-signal.ts +19 -0
- package/node_modules/pi-subagents/src/runs/shared/run-history.ts +181 -0
- package/node_modules/pi-subagents/src/runs/shared/runtime-acknowledged-extensions.ts +71 -0
- package/node_modules/pi-subagents/src/runs/shared/session-lease.ts +299 -0
- package/node_modules/pi-subagents/src/runs/shared/single-output.ts +235 -0
- package/node_modules/pi-subagents/src/runs/shared/spawn-budget.ts +128 -0
- package/node_modules/pi-subagents/src/runs/shared/structured-output.ts +182 -0
- package/node_modules/pi-subagents/src/runs/shared/subagent-control.ts +231 -0
- package/node_modules/pi-subagents/src/runs/shared/subagent-prompt-runtime.ts +673 -0
- package/node_modules/pi-subagents/src/runs/shared/subagent-startup-retry.ts +104 -0
- package/node_modules/pi-subagents/src/runs/shared/task-intent.ts +181 -0
- package/node_modules/pi-subagents/src/runs/shared/tool-availability.ts +83 -0
- package/node_modules/pi-subagents/src/runs/shared/tool-budget.ts +80 -0
- package/node_modules/pi-subagents/src/runs/shared/turn-budget.ts +98 -0
- package/node_modules/pi-subagents/src/runs/shared/usage-budget.ts +65 -0
- package/node_modules/pi-subagents/src/runs/shared/workflow-graph.ts +231 -0
- package/node_modules/pi-subagents/src/runs/shared/worktree.ts +760 -0
- package/node_modules/pi-subagents/src/shared/accessible-dir.ts +47 -0
- package/node_modules/pi-subagents/src/shared/artifacts.ts +285 -0
- package/node_modules/pi-subagents/src/shared/atomic-json.ts +61 -0
- package/node_modules/pi-subagents/src/shared/child-transcript.ts +264 -0
- package/node_modules/pi-subagents/src/shared/display-text.ts +100 -0
- package/node_modules/pi-subagents/src/shared/file-coalescer.ts +49 -0
- package/node_modules/pi-subagents/src/shared/file-system-retry.ts +47 -0
- package/node_modules/pi-subagents/src/shared/fork-context.ts +226 -0
- package/node_modules/pi-subagents/src/shared/formatters.ts +131 -0
- package/node_modules/pi-subagents/src/shared/jsonl-writer.ts +81 -0
- package/node_modules/pi-subagents/src/shared/launch-contract.ts +124 -0
- package/node_modules/pi-subagents/src/shared/model-info.ts +81 -0
- package/node_modules/pi-subagents/src/shared/post-exit-stdio-guard.ts +85 -0
- package/node_modules/pi-subagents/src/shared/prompt-resources.ts +51 -0
- package/node_modules/pi-subagents/src/shared/session-identity.ts +10 -0
- package/node_modules/pi-subagents/src/shared/session-tokens.ts +44 -0
- package/node_modules/pi-subagents/src/shared/settings.ts +514 -0
- package/node_modules/pi-subagents/src/shared/status-format.ts +55 -0
- package/node_modules/pi-subagents/src/shared/types.ts +2112 -0
- package/node_modules/pi-subagents/src/shared/utf8.ts +11 -0
- package/node_modules/pi-subagents/src/shared/utils.ts +623 -0
- package/node_modules/pi-subagents/src/slash/delegation-adapters.ts +434 -0
- package/node_modules/pi-subagents/src/slash/delegation-json.ts +108 -0
- package/node_modules/pi-subagents/src/slash/delegation-request.ts +166 -0
- package/node_modules/pi-subagents/src/slash/prompt-template-bridge.ts +383 -0
- package/node_modules/pi-subagents/src/slash/prompt-workflows.ts +287 -0
- package/node_modules/pi-subagents/src/slash/selector.ts +147 -0
- package/node_modules/pi-subagents/src/slash/slash-bridge.ts +192 -0
- package/node_modules/pi-subagents/src/slash/slash-commands.ts +1014 -0
- package/node_modules/pi-subagents/src/slash/slash-live-state.ts +296 -0
- package/node_modules/pi-subagents/src/slash/subagents-admin.ts +432 -0
- package/node_modules/pi-subagents/src/tui/fleet-status.ts +574 -0
- package/node_modules/pi-subagents/src/tui/fleet-transcript.ts +577 -0
- package/node_modules/pi-subagents/src/tui/fleet.ts +989 -0
- package/node_modules/pi-subagents/src/tui/render-helpers.ts +80 -0
- package/node_modules/pi-subagents/src/tui/render.ts +2146 -0
- package/node_modules/pi-subagents/src/types/pi-runtime-compat.d.ts +8 -0
- package/node_modules/pi-subagents/src/watchdog/change-signature.ts +221 -0
- package/node_modules/pi-subagents/src/watchdog/child-status.ts +205 -0
- package/node_modules/pi-subagents/src/watchdog/emission-guard.ts +123 -0
- package/node_modules/pi-subagents/src/watchdog/lsp-diagnostics.ts +537 -0
- package/node_modules/pi-subagents/src/watchdog/model-selection.ts +167 -0
- package/node_modules/pi-subagents/src/watchdog/permission-arbiter.ts +145 -0
- package/node_modules/pi-subagents/src/watchdog/register-child.ts +117 -0
- package/node_modules/pi-subagents/src/watchdog/register-main.ts +440 -0
- package/node_modules/pi-subagents/src/watchdog/render.ts +54 -0
- package/node_modules/pi-subagents/src/watchdog/review.ts +302 -0
- package/node_modules/pi-subagents/src/watchdog/runtime.ts +868 -0
- package/node_modules/pi-subagents/src/watchdog/scope.ts +62 -0
- package/node_modules/pi-subagents/src/watchdog/settings.ts +568 -0
- package/node_modules/pi-subagents/src/watchdog/tool-actions.ts +155 -0
- package/node_modules/pi-subagents/src/watchdog/turn-delta.ts +161 -0
- package/node_modules/pi-subagents/src/watchdog/types.ts +198 -0
- package/node_modules/pi-subagents/src/watchdog/warning-format.ts +73 -0
- package/node_modules/pi-subagents/src/workflows/chat-progress.ts +140 -0
- package/node_modules/pi-subagents/src/workflows/scripted-workflow.ts +703 -0
- package/node_modules/pkce-challenge/CHANGELOG.md +114 -0
- package/node_modules/pkce-challenge/LICENSE +21 -0
- package/node_modules/pkce-challenge/README.md +55 -0
- package/node_modules/pkce-challenge/dist/index.browser.d.ts +19 -0
- package/node_modules/pkce-challenge/dist/index.browser.js +75 -0
- package/node_modules/pkce-challenge/dist/index.node.cjs +83 -0
- package/node_modules/pkce-challenge/dist/index.node.d.cts +19 -0
- package/node_modules/pkce-challenge/dist/index.node.d.ts +19 -0
- package/node_modules/pkce-challenge/dist/index.node.js +78 -0
- package/node_modules/pkce-challenge/package.json +59 -0
- package/node_modules/recheck/LICENSE +9 -0
- package/node_modules/recheck/README.md +5 -0
- package/node_modules/recheck/index.d.ts +400 -0
- package/node_modules/recheck/index.js +4 -0
- package/node_modules/recheck/lib/browser.js +124 -0
- package/node_modules/recheck/lib/main.js +127 -0
- package/node_modules/recheck/lib/synckit-worker.js +1 -0
- package/node_modules/recheck/package.json +62 -0
- package/node_modules/require-from-string/index.js +34 -0
- package/node_modules/require-from-string/license +21 -0
- package/node_modules/require-from-string/package.json +28 -0
- package/node_modules/require-from-string/readme.md +56 -0
- package/node_modules/run-applescript/index.d.ts +66 -0
- package/node_modules/run-applescript/index.js +37 -0
- package/node_modules/run-applescript/license +9 -0
- package/node_modules/run-applescript/package.json +42 -0
- package/node_modules/run-applescript/readme.md +78 -0
- package/node_modules/shebang-command/index.js +19 -0
- package/node_modules/shebang-command/license +9 -0
- package/node_modules/shebang-command/package.json +34 -0
- package/node_modules/shebang-command/readme.md +34 -0
- package/node_modules/shebang-regex/index.d.ts +22 -0
- package/node_modules/shebang-regex/index.js +2 -0
- package/node_modules/shebang-regex/license +9 -0
- package/node_modules/shebang-regex/package.json +35 -0
- package/node_modules/shebang-regex/readme.md +33 -0
- package/node_modules/smol-toml/LICENSE +24 -0
- package/node_modules/smol-toml/README.md +418 -0
- package/node_modules/smol-toml/dist/date.d.ts +41 -0
- package/node_modules/smol-toml/dist/date.js +127 -0
- package/node_modules/smol-toml/dist/error.d.ts +38 -0
- package/node_modules/smol-toml/dist/error.js +63 -0
- package/node_modules/smol-toml/dist/extract.js +69 -0
- package/node_modules/smol-toml/dist/index.cjs +734 -0
- package/node_modules/smol-toml/dist/index.d.ts +43 -0
- package/node_modules/smol-toml/dist/index.js +33 -0
- package/node_modules/smol-toml/dist/parse.d.ts +36 -0
- package/node_modules/smol-toml/dist/parse.js +149 -0
- package/node_modules/smol-toml/dist/primitive.js +238 -0
- package/node_modules/smol-toml/dist/stringify.d.ts +31 -0
- package/node_modules/smol-toml/dist/stringify.js +181 -0
- package/node_modules/smol-toml/dist/struct.js +179 -0
- package/node_modules/smol-toml/dist/util.d.ts +38 -0
- package/node_modules/smol-toml/dist/util.js +89 -0
- package/node_modules/smol-toml/package.json +68 -0
- package/node_modules/strip-json-comments/index.d.ts +41 -0
- package/node_modules/strip-json-comments/index.js +113 -0
- package/node_modules/strip-json-comments/license +9 -0
- package/node_modules/strip-json-comments/package.json +56 -0
- package/node_modules/strip-json-comments/readme.md +75 -0
- package/node_modules/synckit/LICENSE +21 -0
- package/node_modules/synckit/README.md +191 -0
- package/node_modules/synckit/lib/index.cjs +472 -0
- package/node_modules/synckit/lib/index.d.ts +32 -0
- package/node_modules/synckit/lib/index.js +380 -0
- package/node_modules/synckit/lib/index.js.map +1 -0
- package/node_modules/synckit/lib/types.d.ts +35 -0
- package/node_modules/synckit/lib/types.js +2 -0
- package/node_modules/synckit/lib/types.js.map +1 -0
- package/node_modules/synckit/package.json +40 -0
- package/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/tslib/README.md +164 -0
- package/node_modules/tslib/SECURITY.md +41 -0
- package/node_modules/tslib/modules/index.d.ts +38 -0
- package/node_modules/tslib/modules/index.js +70 -0
- package/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/tslib/package.json +47 -0
- package/node_modules/tslib/tslib.d.ts +460 -0
- package/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/tslib/tslib.es6.js +402 -0
- package/node_modules/tslib/tslib.es6.mjs +401 -0
- package/node_modules/tslib/tslib.html +1 -0
- package/node_modules/tslib/tslib.js +484 -0
- package/node_modules/which/LICENSE +15 -0
- package/node_modules/which/README.md +54 -0
- package/node_modules/which/bin/node-which +52 -0
- package/node_modules/which/package.json +43 -0
- package/node_modules/which/which.js +125 -0
- package/node_modules/wsl-utils/index.d.ts +21 -0
- package/node_modules/wsl-utils/index.js +57 -0
- package/node_modules/wsl-utils/license +9 -0
- package/node_modules/wsl-utils/package.json +46 -0
- package/node_modules/wsl-utils/readme.md +50 -0
- package/node_modules/yaml/LICENSE +13 -0
- package/node_modules/yaml/README.md +172 -0
- package/node_modules/yaml/bin.mjs +11 -0
- package/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
- package/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
- package/node_modules/yaml/browser/dist/compose/compose-node.js +109 -0
- package/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
- package/node_modules/yaml/browser/dist/compose/composer.js +217 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
- package/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +223 -0
- package/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
- package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
- package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
- package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
- package/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
- package/node_modules/yaml/browser/dist/doc/Document.js +335 -0
- package/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
- package/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
- package/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
- package/node_modules/yaml/browser/dist/doc/directives.js +176 -0
- package/node_modules/yaml/browser/dist/errors.js +57 -0
- package/node_modules/yaml/browser/dist/index.js +17 -0
- package/node_modules/yaml/browser/dist/log.js +11 -0
- package/node_modules/yaml/browser/dist/nodes/Alias.js +114 -0
- package/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
- package/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
- package/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
- package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
- package/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
- package/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
- package/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
- package/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
- package/node_modules/yaml/browser/dist/parse/cst.js +98 -0
- package/node_modules/yaml/browser/dist/parse/lexer.js +717 -0
- package/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
- package/node_modules/yaml/browser/dist/parse/parser.js +967 -0
- package/node_modules/yaml/browser/dist/public-api.js +102 -0
- package/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
- package/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
- package/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
- package/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
- package/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
- package/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
- package/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
- package/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
- package/node_modules/yaml/browser/dist/schema/tags.js +96 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +64 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
- package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
- package/node_modules/yaml/browser/dist/stringify/stringify.js +129 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +153 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +24 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
- package/node_modules/yaml/browser/dist/util.js +11 -0
- package/node_modules/yaml/browser/dist/visit.js +233 -0
- package/node_modules/yaml/browser/index.js +5 -0
- package/node_modules/yaml/browser/package.json +3 -0
- package/node_modules/yaml/dist/cli.d.ts +8 -0
- package/node_modules/yaml/dist/cli.mjs +201 -0
- package/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
- package/node_modules/yaml/dist/compose/compose-collection.js +90 -0
- package/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
- package/node_modules/yaml/dist/compose/compose-doc.js +45 -0
- package/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
- package/node_modules/yaml/dist/compose/compose-node.js +112 -0
- package/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
- package/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
- package/node_modules/yaml/dist/compose/composer.d.ts +63 -0
- package/node_modules/yaml/dist/compose/composer.js +222 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
- package/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-end.js +39 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +225 -0
- package/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
- package/node_modules/yaml/dist/compose/resolve-props.js +148 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
- package/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
- package/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
- package/node_modules/yaml/dist/doc/Document.d.ts +141 -0
- package/node_modules/yaml/dist/doc/Document.js +337 -0
- package/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
- package/node_modules/yaml/dist/doc/anchors.js +76 -0
- package/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
- package/node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
- package/node_modules/yaml/dist/doc/createNode.js +90 -0
- package/node_modules/yaml/dist/doc/directives.d.ts +49 -0
- package/node_modules/yaml/dist/doc/directives.js +178 -0
- package/node_modules/yaml/dist/errors.d.ts +21 -0
- package/node_modules/yaml/dist/errors.js +62 -0
- package/node_modules/yaml/dist/index.d.ts +25 -0
- package/node_modules/yaml/dist/index.js +50 -0
- package/node_modules/yaml/dist/log.d.ts +3 -0
- package/node_modules/yaml/dist/log.js +19 -0
- package/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/Alias.js +116 -0
- package/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
- package/node_modules/yaml/dist/nodes/Collection.js +151 -0
- package/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/Node.js +40 -0
- package/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
- package/node_modules/yaml/dist/nodes/Pair.js +39 -0
- package/node_modules/yaml/dist/nodes/Scalar.d.ts +43 -0
- package/node_modules/yaml/dist/nodes/Scalar.js +27 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
- package/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
- package/node_modules/yaml/dist/nodes/identity.js +53 -0
- package/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/toJS.js +39 -0
- package/node_modules/yaml/dist/options.d.ts +350 -0
- package/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
- package/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
- package/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
- package/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
- package/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
- package/node_modules/yaml/dist/parse/cst-visit.js +99 -0
- package/node_modules/yaml/dist/parse/cst.d.ts +109 -0
- package/node_modules/yaml/dist/parse/cst.js +112 -0
- package/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
- package/node_modules/yaml/dist/parse/lexer.js +719 -0
- package/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
- package/node_modules/yaml/dist/parse/line-counter.js +41 -0
- package/node_modules/yaml/dist/parse/parser.d.ts +84 -0
- package/node_modules/yaml/dist/parse/parser.js +972 -0
- package/node_modules/yaml/dist/public-api.d.ts +44 -0
- package/node_modules/yaml/dist/public-api.js +107 -0
- package/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
- package/node_modules/yaml/dist/schema/Schema.js +39 -0
- package/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/map.js +19 -0
- package/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
- package/node_modules/yaml/dist/schema/common/null.js +17 -0
- package/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/seq.js +19 -0
- package/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/string.js +16 -0
- package/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/bool.js +21 -0
- package/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/float.js +47 -0
- package/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/int.js +42 -0
- package/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/core/schema.js +25 -0
- package/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
- package/node_modules/yaml/dist/schema/json/schema.js +64 -0
- package/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
- package/node_modules/yaml/dist/schema/tags.d.ts +48 -0
- package/node_modules/yaml/dist/schema/tags.js +99 -0
- package/node_modules/yaml/dist/schema/types.d.ts +92 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +68 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
- package/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
- package/node_modules/yaml/dist/stringify/stringify.js +132 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.js +155 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.js +26 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
- package/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
- package/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
- package/node_modules/yaml/dist/test-events.d.ts +4 -0
- package/node_modules/yaml/dist/test-events.js +134 -0
- package/node_modules/yaml/dist/util.d.ts +16 -0
- package/node_modules/yaml/dist/util.js +28 -0
- package/node_modules/yaml/dist/visit.d.ts +102 -0
- package/node_modules/yaml/dist/visit.js +236 -0
- package/node_modules/yaml/package.json +97 -0
- package/node_modules/yaml/util.js +2 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +191 -0
- package/node_modules/zod/index.cjs +33 -0
- package/node_modules/zod/index.d.cts +4 -0
- package/node_modules/zod/index.d.ts +4 -0
- package/node_modules/zod/index.js +4 -0
- package/node_modules/zod/locales/index.cjs +17 -0
- package/node_modules/zod/locales/index.d.cts +1 -0
- package/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +7 -0
- package/node_modules/zod/mini/index.cjs +32 -0
- package/node_modules/zod/mini/index.d.cts +3 -0
- package/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +7 -0
- package/node_modules/zod/package.json +135 -0
- package/node_modules/zod/src/index.ts +4 -0
- package/node_modules/zod/src/locales/index.ts +1 -0
- package/node_modules/zod/src/mini/index.ts +3 -0
- package/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/zod/src/v3/types.ts +5138 -0
- package/node_modules/zod/src/v4/classic/checks.ts +32 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +70 -0
- package/node_modules/zod/src/v4/classic/errors.ts +82 -0
- package/node_modules/zod/src/v4/classic/external.ts +52 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/node_modules/zod/src/v4/classic/parse.ts +82 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/zod/src/v4/core/api.ts +1823 -0
- package/node_modules/zod/src/v4/core/checks.ts +1293 -0
- package/node_modules/zod/src/v4/core/config.ts +15 -0
- package/node_modules/zod/src/v4/core/core.ts +153 -0
- package/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/node_modules/zod/src/v4/core/errors.ts +455 -0
- package/node_modules/zod/src/v4/core/index.ts +16 -0
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
- package/node_modules/zod/src/v4/core/parse.ts +195 -0
- package/node_modules/zod/src/v4/core/regexes.ts +190 -0
- package/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/node_modules/zod/src/v4/core/schemas.ts +4730 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
- package/node_modules/zod/src/v4/core/util.ts +983 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/zod/src/v4/locales/ar.ts +115 -0
- package/node_modules/zod/src/v4/locales/az.ts +111 -0
- package/node_modules/zod/src/v4/locales/be.ts +176 -0
- package/node_modules/zod/src/v4/locales/bg.ts +128 -0
- package/node_modules/zod/src/v4/locales/ca.ts +116 -0
- package/node_modules/zod/src/v4/locales/cs.ts +118 -0
- package/node_modules/zod/src/v4/locales/da.ts +123 -0
- package/node_modules/zod/src/v4/locales/de.ts +116 -0
- package/node_modules/zod/src/v4/locales/el.ts +121 -0
- package/node_modules/zod/src/v4/locales/en.ts +123 -0
- package/node_modules/zod/src/v4/locales/eo.ts +118 -0
- package/node_modules/zod/src/v4/locales/es.ts +141 -0
- package/node_modules/zod/src/v4/locales/fa.ts +126 -0
- package/node_modules/zod/src/v4/locales/fi.ts +121 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
- package/node_modules/zod/src/v4/locales/fr.ts +132 -0
- package/node_modules/zod/src/v4/locales/he.ts +246 -0
- package/node_modules/zod/src/v4/locales/hr.ts +131 -0
- package/node_modules/zod/src/v4/locales/hu.ts +117 -0
- package/node_modules/zod/src/v4/locales/hy.ts +164 -0
- package/node_modules/zod/src/v4/locales/id.ts +115 -0
- package/node_modules/zod/src/v4/locales/index.ts +52 -0
- package/node_modules/zod/src/v4/locales/is.ts +119 -0
- package/node_modules/zod/src/v4/locales/it.ts +116 -0
- package/node_modules/zod/src/v4/locales/ja.ts +114 -0
- package/node_modules/zod/src/v4/locales/ka.ts +123 -0
- package/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/node_modules/zod/src/v4/locales/km.ts +119 -0
- package/node_modules/zod/src/v4/locales/ko.ts +121 -0
- package/node_modules/zod/src/v4/locales/lt.ts +239 -0
- package/node_modules/zod/src/v4/locales/mk.ts +118 -0
- package/node_modules/zod/src/v4/locales/ms.ts +115 -0
- package/node_modules/zod/src/v4/locales/nl.ts +121 -0
- package/node_modules/zod/src/v4/locales/no.ts +116 -0
- package/node_modules/zod/src/v4/locales/ota.ts +117 -0
- package/node_modules/zod/src/v4/locales/pl.ts +118 -0
- package/node_modules/zod/src/v4/locales/ps.ts +126 -0
- package/node_modules/zod/src/v4/locales/pt.ts +116 -0
- package/node_modules/zod/src/v4/locales/ro.ts +129 -0
- package/node_modules/zod/src/v4/locales/ru.ts +176 -0
- package/node_modules/zod/src/v4/locales/sl.ts +118 -0
- package/node_modules/zod/src/v4/locales/sv.ts +119 -0
- package/node_modules/zod/src/v4/locales/ta.ts +118 -0
- package/node_modules/zod/src/v4/locales/th.ts +119 -0
- package/node_modules/zod/src/v4/locales/tr.ts +111 -0
- package/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/node_modules/zod/src/v4/locales/uk.ts +117 -0
- package/node_modules/zod/src/v4/locales/ur.ts +119 -0
- package/node_modules/zod/src/v4/locales/uz.ts +117 -0
- package/node_modules/zod/src/v4/locales/vi.ts +117 -0
- package/node_modules/zod/src/v4/locales/yo.ts +124 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
- package/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/node_modules/zod/src/v4/mini/external.ts +41 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/node_modules/zod/src/v4/mini/parse.ts +14 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
- package/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/node_modules/zod/v3/ZodError.cjs +138 -0
- package/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/zod/v3/ZodError.js +133 -0
- package/node_modules/zod/v3/errors.cjs +17 -0
- package/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +22 -0
- package/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +33 -0
- package/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +112 -0
- package/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/package.json +7 -0
- package/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3777 -0
- package/node_modules/zod/v3/types.d.cts +1034 -0
- package/node_modules/zod/v3/types.d.ts +1034 -0
- package/node_modules/zod/v3/types.js +3695 -0
- package/node_modules/zod/v4/classic/checks.cjs +33 -0
- package/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +61 -0
- package/node_modules/zod/v4/classic/compat.d.cts +50 -0
- package/node_modules/zod/v4/classic/compat.d.ts +50 -0
- package/node_modules/zod/v4/classic/compat.js +31 -0
- package/node_modules/zod/v4/classic/errors.cjs +74 -0
- package/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/node_modules/zod/v4/classic/errors.js +48 -0
- package/node_modules/zod/v4/classic/external.cjs +73 -0
- package/node_modules/zod/v4/classic/external.d.cts +16 -0
- package/node_modules/zod/v4/classic/external.d.ts +16 -0
- package/node_modules/zod/v4/classic/external.js +20 -0
- package/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.js +599 -0
- package/node_modules/zod/v4/classic/index.cjs +33 -0
- package/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/node_modules/zod/v4/classic/iso.js +30 -0
- package/node_modules/zod/v4/classic/package.json +7 -0
- package/node_modules/zod/v4/classic/parse.cjs +41 -0
- package/node_modules/zod/v4/classic/parse.d.cts +31 -0
- package/node_modules/zod/v4/classic/parse.d.ts +31 -0
- package/node_modules/zod/v4/classic/parse.js +15 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1511 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +767 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +767 -0
- package/node_modules/zod/v4/classic/schemas.js +1395 -0
- package/node_modules/zod/v4/core/api.cjs +1227 -0
- package/node_modules/zod/v4/core/api.d.cts +325 -0
- package/node_modules/zod/v4/core/api.d.ts +325 -0
- package/node_modules/zod/v4/core/api.js +1087 -0
- package/node_modules/zod/v4/core/checks.cjs +601 -0
- package/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/node_modules/zod/v4/core/checks.js +575 -0
- package/node_modules/zod/v4/core/core.cjs +85 -0
- package/node_modules/zod/v4/core/core.d.cts +70 -0
- package/node_modules/zod/v4/core/core.d.ts +70 -0
- package/node_modules/zod/v4/core/core.js +78 -0
- package/node_modules/zod/v4/core/doc.cjs +39 -0
- package/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/node_modules/zod/v4/core/doc.js +35 -0
- package/node_modules/zod/v4/core/errors.cjs +216 -0
- package/node_modules/zod/v4/core/errors.d.cts +221 -0
- package/node_modules/zod/v4/core/errors.d.ts +221 -0
- package/node_modules/zod/v4/core/errors.js +185 -0
- package/node_modules/zod/v4/core/index.cjs +47 -0
- package/node_modules/zod/v4/core/index.d.cts +16 -0
- package/node_modules/zod/v4/core/index.d.ts +16 -0
- package/node_modules/zod/v4/core/index.js +16 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +601 -0
- package/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/package.json +7 -0
- package/node_modules/zod/v4/core/parse.cjs +131 -0
- package/node_modules/zod/v4/core/parse.d.cts +49 -0
- package/node_modules/zod/v4/core/parse.d.ts +49 -0
- package/node_modules/zod/v4/core/parse.js +93 -0
- package/node_modules/zod/v4/core/regexes.cjs +172 -0
- package/node_modules/zod/v4/core/regexes.d.cts +85 -0
- package/node_modules/zod/v4/core/regexes.d.ts +85 -0
- package/node_modules/zod/v4/core/regexes.js +139 -0
- package/node_modules/zod/v4/core/registries.cjs +56 -0
- package/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +2270 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1184 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1184 -0
- package/node_modules/zod/v4/core/schemas.js +2239 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
- package/node_modules/zod/v4/core/to-json-schema.js +448 -0
- package/node_modules/zod/v4/core/util.cjs +734 -0
- package/node_modules/zod/v4/core/util.d.cts +200 -0
- package/node_modules/zod/v4/core/util.d.ts +200 -0
- package/node_modules/zod/v4/core/util.js +674 -0
- package/node_modules/zod/v4/core/versions.cjs +8 -0
- package/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/index.cjs +22 -0
- package/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/zod/v4/index.js +3 -0
- package/node_modules/zod/v4/locales/ar.cjs +133 -0
- package/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/zod/v4/locales/ar.js +106 -0
- package/node_modules/zod/v4/locales/az.cjs +132 -0
- package/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/zod/v4/locales/az.js +105 -0
- package/node_modules/zod/v4/locales/be.cjs +183 -0
- package/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/zod/v4/locales/be.js +156 -0
- package/node_modules/zod/v4/locales/bg.cjs +147 -0
- package/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/node_modules/zod/v4/locales/bg.js +120 -0
- package/node_modules/zod/v4/locales/ca.cjs +134 -0
- package/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/zod/v4/locales/ca.js +107 -0
- package/node_modules/zod/v4/locales/cs.cjs +138 -0
- package/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/zod/v4/locales/cs.js +111 -0
- package/node_modules/zod/v4/locales/da.cjs +142 -0
- package/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/node_modules/zod/v4/locales/da.js +115 -0
- package/node_modules/zod/v4/locales/de.cjs +135 -0
- package/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +108 -0
- package/node_modules/zod/v4/locales/el.cjs +136 -0
- package/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/node_modules/zod/v4/locales/el.js +109 -0
- package/node_modules/zod/v4/locales/en.cjs +140 -0
- package/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/node_modules/zod/v4/locales/en.js +113 -0
- package/node_modules/zod/v4/locales/eo.cjs +136 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/node_modules/zod/v4/locales/eo.js +109 -0
- package/node_modules/zod/v4/locales/es.cjs +159 -0
- package/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/zod/v4/locales/es.js +132 -0
- package/node_modules/zod/v4/locales/fa.cjs +141 -0
- package/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/zod/v4/locales/fa.js +114 -0
- package/node_modules/zod/v4/locales/fi.cjs +139 -0
- package/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/zod/v4/locales/fi.js +112 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
- package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/node_modules/zod/v4/locales/fr.cjs +152 -0
- package/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr.js +125 -0
- package/node_modules/zod/v4/locales/he.cjs +241 -0
- package/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +214 -0
- package/node_modules/zod/v4/locales/hr.cjs +149 -0
- package/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/node_modules/zod/v4/locales/hr.js +122 -0
- package/node_modules/zod/v4/locales/hu.cjs +135 -0
- package/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/zod/v4/locales/hu.js +108 -0
- package/node_modules/zod/v4/locales/hy.cjs +174 -0
- package/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/node_modules/zod/v4/locales/hy.js +147 -0
- package/node_modules/zod/v4/locales/id.cjs +133 -0
- package/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +106 -0
- package/node_modules/zod/v4/locales/index.cjs +111 -0
- package/node_modules/zod/v4/locales/index.d.cts +52 -0
- package/node_modules/zod/v4/locales/index.d.ts +52 -0
- package/node_modules/zod/v4/locales/index.js +52 -0
- package/node_modules/zod/v4/locales/is.cjs +136 -0
- package/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/node_modules/zod/v4/locales/is.js +109 -0
- package/node_modules/zod/v4/locales/it.cjs +135 -0
- package/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/zod/v4/locales/it.js +108 -0
- package/node_modules/zod/v4/locales/ja.cjs +134 -0
- package/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/zod/v4/locales/ja.js +107 -0
- package/node_modules/zod/v4/locales/ka.cjs +139 -0
- package/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/node_modules/zod/v4/locales/ka.js +112 -0
- package/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/node_modules/zod/v4/locales/kh.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +137 -0
- package/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/node_modules/zod/v4/locales/km.js +110 -0
- package/node_modules/zod/v4/locales/ko.cjs +138 -0
- package/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/zod/v4/locales/ko.js +111 -0
- package/node_modules/zod/v4/locales/lt.cjs +230 -0
- package/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/node_modules/zod/v4/locales/lt.js +203 -0
- package/node_modules/zod/v4/locales/mk.cjs +136 -0
- package/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/zod/v4/locales/mk.js +109 -0
- package/node_modules/zod/v4/locales/ms.cjs +134 -0
- package/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/zod/v4/locales/ms.js +107 -0
- package/node_modules/zod/v4/locales/nl.cjs +137 -0
- package/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/zod/v4/locales/nl.js +110 -0
- package/node_modules/zod/v4/locales/no.cjs +135 -0
- package/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/zod/v4/locales/no.js +108 -0
- package/node_modules/zod/v4/locales/ota.cjs +136 -0
- package/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +109 -0
- package/node_modules/zod/v4/locales/package.json +7 -0
- package/node_modules/zod/v4/locales/pl.cjs +136 -0
- package/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/zod/v4/locales/pl.js +109 -0
- package/node_modules/zod/v4/locales/ps.cjs +141 -0
- package/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/zod/v4/locales/ps.js +114 -0
- package/node_modules/zod/v4/locales/pt.cjs +135 -0
- package/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +108 -0
- package/node_modules/zod/v4/locales/ro.cjs +146 -0
- package/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/node_modules/zod/v4/locales/ro.js +119 -0
- package/node_modules/zod/v4/locales/ru.cjs +183 -0
- package/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/zod/v4/locales/ru.js +156 -0
- package/node_modules/zod/v4/locales/sl.cjs +136 -0
- package/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/zod/v4/locales/sl.js +109 -0
- package/node_modules/zod/v4/locales/sv.cjs +137 -0
- package/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/zod/v4/locales/sv.js +110 -0
- package/node_modules/zod/v4/locales/ta.cjs +137 -0
- package/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/zod/v4/locales/ta.js +110 -0
- package/node_modules/zod/v4/locales/th.cjs +137 -0
- package/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/zod/v4/locales/th.js +110 -0
- package/node_modules/zod/v4/locales/tr.cjs +132 -0
- package/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/node_modules/zod/v4/locales/tr.js +105 -0
- package/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/node_modules/zod/v4/locales/ua.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +135 -0
- package/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/node_modules/zod/v4/locales/uk.js +108 -0
- package/node_modules/zod/v4/locales/ur.cjs +137 -0
- package/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +110 -0
- package/node_modules/zod/v4/locales/uz.cjs +137 -0
- package/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/node_modules/zod/v4/locales/uz.js +110 -0
- package/node_modules/zod/v4/locales/vi.cjs +135 -0
- package/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/zod/v4/locales/vi.js +108 -0
- package/node_modules/zod/v4/locales/yo.cjs +134 -0
- package/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/zod/v4/locales/yo.js +107 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +52 -0
- package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/zod/v4/mini/coerce.js +22 -0
- package/node_modules/zod/v4/mini/external.cjs +63 -0
- package/node_modules/zod/v4/mini/external.d.cts +13 -0
- package/node_modules/zod/v4/mini/external.d.ts +13 -0
- package/node_modules/zod/v4/mini/external.js +14 -0
- package/node_modules/zod/v4/mini/index.cjs +32 -0
- package/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +64 -0
- package/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/zod/v4/mini/package.json +7 -0
- package/node_modules/zod/v4/mini/parse.cjs +16 -0
- package/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +1083 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +445 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +445 -0
- package/node_modules/zod/v4/mini/schemas.js +961 -0
- package/node_modules/zod/v4/package.json +7 -0
- package/node_modules/zod/v4-mini/index.cjs +32 -0
- package/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/zod/v4-mini/package.json +7 -0
- package/package.json +67 -0
|
@@ -0,0 +1,1256 @@
|
|
|
1
|
+
import * as fs from "node:fs";
|
|
2
|
+
import * as path from "node:path";
|
|
3
|
+
import type { AgentToolResult } from "@earendil-works/pi-agent-core";
|
|
4
|
+
import type { ExtensionContext } from "@earendil-works/pi-coding-agent";
|
|
5
|
+
import {
|
|
6
|
+
type AgentConfig,
|
|
7
|
+
type AgentScope,
|
|
8
|
+
type AgentSource,
|
|
9
|
+
type ChainConfig,
|
|
10
|
+
type ChainStepConfig,
|
|
11
|
+
BUILTIN_AGENT_NAMES,
|
|
12
|
+
defaultInheritProjectContext,
|
|
13
|
+
defaultInheritSkills,
|
|
14
|
+
defaultSystemPromptMode,
|
|
15
|
+
discoverAgentsAll,
|
|
16
|
+
buildRuntimeName,
|
|
17
|
+
frontmatterNameForConfig,
|
|
18
|
+
parsePackageName,
|
|
19
|
+
mergeBuiltinAgentOverride,
|
|
20
|
+
removeBuiltinAgentOverride,
|
|
21
|
+
removeBuiltinAgentOverrideFields,
|
|
22
|
+
resolveAgentName,
|
|
23
|
+
} from "./agents.ts";
|
|
24
|
+
import { serializeAgent } from "./agent-serializer.ts";
|
|
25
|
+
import { mergeAgentsForScope } from "./agent-selection.ts";
|
|
26
|
+
import { serializeChain, serializeJsonChain } from "./chain-serializer.ts";
|
|
27
|
+
import { discoverAvailableSkills, resolveSkills } from "./skills.ts";
|
|
28
|
+
import {
|
|
29
|
+
buildProactiveSkillSubagentRecommendationLines,
|
|
30
|
+
} from "./proactive-skills.ts";
|
|
31
|
+
import { parseFrontmatter } from "./frontmatter.ts";
|
|
32
|
+
import { toModelInfo } from "../shared/model-info.ts";
|
|
33
|
+
import { resolveSubagentModelOverride, type ParentModel } from "../runs/shared/model-fallback.ts";
|
|
34
|
+
import { validateToolBudgetConfig } from "../runs/shared/tool-budget.ts";
|
|
35
|
+
import { resolveTurnBudgetConfig } from "../runs/shared/turn-budget.ts";
|
|
36
|
+
import { validateAcceptanceInput } from "../runs/shared/acceptance.ts";
|
|
37
|
+
import type { AcceptanceInput, Details, ExtensionConfig, ToolBudgetConfig } from "../shared/types.ts";
|
|
38
|
+
import { getProjectConfigDir } from "../shared/utils.ts";
|
|
39
|
+
import { capabilityCeilingAgentRestrictionSources, isAgentAllowedByCapabilityCeiling, resolveCurrentSubagentCapabilityCeiling } from "../runs/shared/capability-ceiling.ts";
|
|
40
|
+
|
|
41
|
+
type ManagementAction = "list" | "get" | "models" | "create" | "update" | "delete" | "eject" | "disable" | "enable" | "reset";
|
|
42
|
+
type ManagementScope = "user" | "project";
|
|
43
|
+
type ManagementContext = Pick<ExtensionContext, "cwd" | "modelRegistry"> & { model?: ExtensionContext["model"]; config?: ExtensionConfig; currentSessionId?: string };
|
|
44
|
+
|
|
45
|
+
interface ManagementParams {
|
|
46
|
+
action?: string;
|
|
47
|
+
agent?: string;
|
|
48
|
+
chainName?: string;
|
|
49
|
+
agentScope?: unknown;
|
|
50
|
+
config?: unknown;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function result(text: string, isError = false): AgentToolResult<Details> {
|
|
54
|
+
return { content: [{ type: "text", text }], isError, details: { mode: "management", results: [] } };
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
function parseCsv(value: string): string[] {
|
|
58
|
+
return [...new Set(value.split(",").map((v) => v.trim()).filter(Boolean))];
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
function configObject(config: unknown): { value?: Record<string, unknown>; error?: string } {
|
|
62
|
+
let val = config;
|
|
63
|
+
if (typeof val === "string") {
|
|
64
|
+
try {
|
|
65
|
+
val = JSON.parse(val);
|
|
66
|
+
} catch (error) {
|
|
67
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
68
|
+
return { error: `config must be valid JSON: ${message}` };
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
if (!val || typeof val !== "object" || Array.isArray(val)) return {};
|
|
72
|
+
return { value: val as Record<string, unknown> };
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
function hasKey(obj: Record<string, unknown>, key: string): boolean {
|
|
76
|
+
return Object.prototype.hasOwnProperty.call(obj, key);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
function asDisambiguationScope(scope: unknown): ManagementScope | undefined {
|
|
80
|
+
if (scope === "user" || scope === "project") return scope;
|
|
81
|
+
return undefined;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
function actionScope(scope: unknown, action: ManagementAction): { scope?: ManagementScope; error?: AgentToolResult<Details> } {
|
|
85
|
+
if (scope === undefined) return { scope: "user" };
|
|
86
|
+
const parsed = asDisambiguationScope(scope);
|
|
87
|
+
return parsed ? { scope: parsed } : { error: result(`agentScope must be 'user' or 'project' for ${action}.`, true) };
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
function normalizeListScope(scope: unknown): AgentScope | undefined {
|
|
91
|
+
if (scope === undefined) return "both";
|
|
92
|
+
if (scope === "user" || scope === "project" || scope === "both") return scope;
|
|
93
|
+
return undefined;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
function sanitizeName(name: string): string {
|
|
97
|
+
return name.toLowerCase().trim().replace(/\s+/g, "-").replace(/[^a-z0-9-]/g, "").replace(/-+/g, "-").replace(/^-+|-+$/g, "");
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
function parsePackageConfig(value: unknown): { packageName?: string; error?: string } {
|
|
101
|
+
return parsePackageName(value, "config.package");
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
function allAgents(d: { builtin: AgentConfig[]; package: AgentConfig[]; user: AgentConfig[]; project: AgentConfig[] }): AgentConfig[] {
|
|
105
|
+
return [...d.builtin, ...d.package, ...d.user, ...d.project];
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
function availableNames(cwd: string, kind: "agent" | "chain"): string[] {
|
|
109
|
+
const d = discoverAgentsAll(cwd);
|
|
110
|
+
const items = kind === "agent" ? allAgents(d) : d.chains;
|
|
111
|
+
return [...new Set(items.map((x) => x.name))].sort((a, b) => a.localeCompare(b));
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
function findAgents(name: string, cwd: string, scope: AgentScope = "both"): AgentConfig[] {
|
|
115
|
+
const d = discoverAgentsAll(cwd);
|
|
116
|
+
const raw = name.trim();
|
|
117
|
+
const sanitized = sanitizeName(raw);
|
|
118
|
+
const scoped = mergeAgentsForScope(scope, d.user, d.project, d.builtin, d.package);
|
|
119
|
+
let resolved = resolveAgentName(raw, scoped);
|
|
120
|
+
if (!resolved.agent && !resolved.error && sanitized !== raw) resolved = resolveAgentName(sanitized, scoped);
|
|
121
|
+
if (resolved.agent) return scoped.filter((agent) => agent.name === resolved.agent!.name).sort((a, b) => a.source.localeCompare(b.source));
|
|
122
|
+
return scoped
|
|
123
|
+
.filter((agent) => Boolean(resolveAgentName(raw, [agent]).agent)
|
|
124
|
+
|| (sanitized !== raw && Boolean(resolveAgentName(sanitized, [agent]).agent)))
|
|
125
|
+
.sort((a, b) => a.source.localeCompare(b.source));
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
function findChains(name: string, cwd: string, scope: AgentScope = "both"): ChainConfig[] {
|
|
129
|
+
const raw = name.trim();
|
|
130
|
+
const sanitized = sanitizeName(raw);
|
|
131
|
+
return discoverAgentsAll(cwd).chains
|
|
132
|
+
.filter((c) => (scope === "both" || c.source === "package" || c.source === scope) && (c.name === raw || c.name === sanitized))
|
|
133
|
+
.sort((a, b) => a.source.localeCompare(b.source));
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
const AGENT_SOURCE_PRECEDENCE: Record<AgentSource, number> = { builtin: 0, package: 1, user: 2, project: 3 };
|
|
137
|
+
|
|
138
|
+
// Returns the highest-precedence definition for a resolved canonical name (project > user > package > builtin),
|
|
139
|
+
// matching mergeAgentsForScope for "both", including disabled agents so disable/enable can locate hidden targets.
|
|
140
|
+
function resolveEffectiveAgent(d: ReturnType<typeof discoverAgentsAll>, name: string): { agent?: AgentConfig; error?: string } {
|
|
141
|
+
const raw = name.trim();
|
|
142
|
+
const candidates = allAgents(d);
|
|
143
|
+
let resolved = resolveAgentName(raw, candidates);
|
|
144
|
+
if (!resolved.agent && !resolved.error) {
|
|
145
|
+
const sanitized = sanitizeName(raw);
|
|
146
|
+
if (sanitized !== raw) resolved = resolveAgentName(sanitized, candidates);
|
|
147
|
+
}
|
|
148
|
+
if (resolved.error) return { error: resolved.error };
|
|
149
|
+
if (!resolved.agent) return {};
|
|
150
|
+
const matches = candidates.filter((agent) => agent.name === resolved.agent!.name);
|
|
151
|
+
return { agent: matches.reduce((best, agent) => (AGENT_SOURCE_PRECEDENCE[agent.source] > AGENT_SOURCE_PRECEDENCE[best.source] ? agent : best)) };
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
function nameExistsInScope(cwd: string, scope: ManagementScope, name: string, excludePath?: string): boolean {
|
|
155
|
+
const d = discoverAgentsAll(cwd);
|
|
156
|
+
for (const a of scope === "user" ? d.user : d.project) {
|
|
157
|
+
if (a.name === name && a.filePath !== excludePath) return true;
|
|
158
|
+
}
|
|
159
|
+
for (const c of d.chains) {
|
|
160
|
+
if (c.source === scope && c.name === name && c.filePath !== excludePath) return true;
|
|
161
|
+
}
|
|
162
|
+
return false;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
function isMutableSource(source: AgentSource): source is ManagementScope {
|
|
166
|
+
return source === "user" || source === "project";
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
function unknownChainAgents(cwd: string, steps: ChainStepConfig[]): string[] {
|
|
170
|
+
const d = discoverAgentsAll(cwd);
|
|
171
|
+
const agents = allAgents(d);
|
|
172
|
+
return [...new Set(steps.map((s) => s.agent).filter((agentName): agentName is string => typeof agentName === "string" && !resolveAgentName(agentName, agents).agent))]
|
|
173
|
+
.sort((a, b) => a.localeCompare(b));
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
function chainStepWarnings(ctx: ManagementContext, steps: ChainStepConfig[]): string[] {
|
|
177
|
+
const warnings: string[] = [];
|
|
178
|
+
const available = new Set(discoverAvailableSkills(ctx.cwd).map((s) => s.name));
|
|
179
|
+
for (let i = 0; i < steps.length; i++) {
|
|
180
|
+
const s = steps[i]!;
|
|
181
|
+
if (s.model) {
|
|
182
|
+
const found = ctx.modelRegistry.getAvailable().some((m) => `${m.provider}/${m.id}` === s.model || m.id === s.model);
|
|
183
|
+
if (!found) warnings.push(`Warning: step ${i + 1} (${s.agent}): model '${s.model}' is not in the current model registry.`);
|
|
184
|
+
}
|
|
185
|
+
if (Array.isArray(s.skills) && s.skills.length > 0) {
|
|
186
|
+
const missing = s.skills.filter((sk) => !available.has(sk));
|
|
187
|
+
if (missing.length) warnings.push(`Warning: step ${i + 1} (${s.agent}): skills not found: ${missing.join(", ")}.`);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
return warnings;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
function modelWarning(ctx: ManagementContext, model: string | undefined): string | undefined {
|
|
194
|
+
if (!model) return undefined;
|
|
195
|
+
const found = ctx.modelRegistry.getAvailable().some((m) => `${m.provider}/${m.id}` === model || m.id === model);
|
|
196
|
+
return found ? undefined : `Warning: model '${model}' is not in the current model registry.`;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
function fallbackModelsWarning(ctx: ManagementContext, fallbackModels: string[] | undefined): string | undefined {
|
|
200
|
+
if (!fallbackModels || fallbackModels.length === 0) return undefined;
|
|
201
|
+
const available = new Set(ctx.modelRegistry.getAvailable().flatMap((m) => [`${m.provider}/${m.id}`, m.id]));
|
|
202
|
+
const missing = fallbackModels.filter((model) => !available.has(model));
|
|
203
|
+
return missing.length ? `Warning: fallback models not in the current model registry: ${missing.join(", ")}.` : undefined;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
function skillsWarning(cwd: string, agent: Pick<AgentConfig, "skills" | "skillPath" | "filePath">): string | undefined {
|
|
207
|
+
if (!agent.skills?.length) return undefined;
|
|
208
|
+
const { missing } = resolveSkills(
|
|
209
|
+
agent.skills,
|
|
210
|
+
cwd,
|
|
211
|
+
agent.skillPath,
|
|
212
|
+
agent.filePath ? path.dirname(agent.filePath) : cwd,
|
|
213
|
+
);
|
|
214
|
+
return missing.length ? `Warning: skills not found: ${missing.join(", ")}.` : undefined;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
export function editableAgentConfig(agent: AgentConfig): AgentConfig {
|
|
218
|
+
const { extensions: _extensions, ...withoutExtensions } = agent;
|
|
219
|
+
const base = agent.override?.base;
|
|
220
|
+
const {
|
|
221
|
+
override: _override,
|
|
222
|
+
model: _model,
|
|
223
|
+
fallbackModels: _fallbackModels,
|
|
224
|
+
thinking: _thinking,
|
|
225
|
+
systemPromptMode: _systemPromptMode,
|
|
226
|
+
inheritProjectContext: _inheritProjectContext,
|
|
227
|
+
inheritSkills: _inheritSkills,
|
|
228
|
+
defaultContext: _defaultContext,
|
|
229
|
+
acceptanceRole: _acceptanceRole,
|
|
230
|
+
disabled: _disabled,
|
|
231
|
+
systemPrompt: _systemPrompt,
|
|
232
|
+
skills: _skills,
|
|
233
|
+
skillPath: _skillPath,
|
|
234
|
+
tools: _tools,
|
|
235
|
+
mcpDirectTools: _mcpDirectTools,
|
|
236
|
+
subagentOnlyExtensions: _subagentOnlyExtensions,
|
|
237
|
+
completionGuard: _completionGuard,
|
|
238
|
+
...editable
|
|
239
|
+
} = withoutExtensions;
|
|
240
|
+
if (!base) {
|
|
241
|
+
return {
|
|
242
|
+
...withoutExtensions,
|
|
243
|
+
...(agent.extensionsFromDefault ? {} : agent.extensions !== undefined ? { extensions: [...agent.extensions] } : {}),
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
return {
|
|
248
|
+
...editable,
|
|
249
|
+
...(base.model !== undefined ? { model: base.model } : {}),
|
|
250
|
+
...(base.fallbackModels !== undefined ? { fallbackModels: [...base.fallbackModels] } : {}),
|
|
251
|
+
...(base.thinking !== undefined ? { thinking: base.thinking } : {}),
|
|
252
|
+
systemPromptMode: base.systemPromptMode,
|
|
253
|
+
inheritProjectContext: base.inheritProjectContext,
|
|
254
|
+
inheritSkills: base.inheritSkills,
|
|
255
|
+
...(base.defaultContext !== undefined ? { defaultContext: base.defaultContext } : {}),
|
|
256
|
+
...(base.acceptanceRole !== undefined ? { acceptanceRole: base.acceptanceRole } : {}),
|
|
257
|
+
...(base.disabled !== undefined ? { disabled: base.disabled } : {}),
|
|
258
|
+
systemPrompt: base.systemPrompt,
|
|
259
|
+
...(base.skills !== undefined ? { skills: [...base.skills] } : {}),
|
|
260
|
+
...(base.skillPath !== undefined ? { skillPath: [...base.skillPath] } : {}),
|
|
261
|
+
...(base.tools !== undefined ? { tools: [...base.tools] } : {}),
|
|
262
|
+
...(base.mcpDirectTools !== undefined ? { mcpDirectTools: [...base.mcpDirectTools] } : {}),
|
|
263
|
+
...(base.extensions !== undefined ? { extensions: [...base.extensions] } : {}),
|
|
264
|
+
...(base.subagentOnlyExtensions !== undefined ? { subagentOnlyExtensions: [...base.subagentOnlyExtensions] } : {}),
|
|
265
|
+
...(base.completionGuard !== undefined ? { completionGuard: base.completionGuard } : {}),
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
function readAgentFrontmatterFields(filePath: string): Set<string> {
|
|
270
|
+
try {
|
|
271
|
+
const { frontmatter } = parseFrontmatter(fs.readFileSync(filePath, "utf-8"));
|
|
272
|
+
return new Set(Object.keys(frontmatter));
|
|
273
|
+
} catch {
|
|
274
|
+
return new Set();
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export function preservedAgentFrontmatterFields(agent: AgentConfig, cfg: Record<string, unknown>): Set<string> {
|
|
279
|
+
const fields = readAgentFrontmatterFields(agent.filePath);
|
|
280
|
+
const changed = (...names: string[]) => {
|
|
281
|
+
for (const name of names) fields.delete(name);
|
|
282
|
+
};
|
|
283
|
+
|
|
284
|
+
if (hasKey(cfg, "name")) changed("name");
|
|
285
|
+
if (hasKey(cfg, "package")) changed("package");
|
|
286
|
+
if (hasKey(cfg, "description")) changed("description");
|
|
287
|
+
if (hasKey(cfg, "aliases")) changed("alias", "aliases");
|
|
288
|
+
if (hasKey(cfg, "systemPrompt")) changed("systemPrompt");
|
|
289
|
+
if (hasKey(cfg, "runner")) changed("runner");
|
|
290
|
+
if (hasKey(cfg, "model")) changed("model");
|
|
291
|
+
if (hasKey(cfg, "fallbackModels")) changed("fallbackModels");
|
|
292
|
+
if (hasKey(cfg, "tools")) changed("tools");
|
|
293
|
+
if (hasKey(cfg, "skills")) changed("skill", "skills");
|
|
294
|
+
if (hasKey(cfg, "skillPath")) changed("skillPath");
|
|
295
|
+
if (hasKey(cfg, "extensions")) changed("extensions");
|
|
296
|
+
if (hasKey(cfg, "subagentOnlyExtensions")) changed("subagentOnlyExtensions");
|
|
297
|
+
if (hasKey(cfg, "thinking")) {
|
|
298
|
+
changed("thinking");
|
|
299
|
+
if (cfg.thinking === "off") fields.add("thinking");
|
|
300
|
+
}
|
|
301
|
+
if (hasKey(cfg, "systemPromptMode")) {
|
|
302
|
+
changed("systemPromptMode");
|
|
303
|
+
fields.add("systemPromptMode");
|
|
304
|
+
}
|
|
305
|
+
if (hasKey(cfg, "inheritProjectContext")) {
|
|
306
|
+
changed("inheritProjectContext");
|
|
307
|
+
fields.add("inheritProjectContext");
|
|
308
|
+
}
|
|
309
|
+
if (hasKey(cfg, "inheritSkills")) {
|
|
310
|
+
changed("inheritSkills");
|
|
311
|
+
fields.add("inheritSkills");
|
|
312
|
+
}
|
|
313
|
+
if (hasKey(cfg, "defaultContext")) changed("defaultContext");
|
|
314
|
+
if (hasKey(cfg, "async")) changed("async");
|
|
315
|
+
if (hasKey(cfg, "timeoutMs")) changed("timeoutMs");
|
|
316
|
+
if (hasKey(cfg, "turnBudget")) changed("turnBudget");
|
|
317
|
+
if (hasKey(cfg, "acceptance")) changed("acceptance");
|
|
318
|
+
if (hasKey(cfg, "acceptanceRole")) changed("acceptanceRole");
|
|
319
|
+
if (hasKey(cfg, "output")) changed("output");
|
|
320
|
+
if (hasKey(cfg, "reads")) changed("defaultReads");
|
|
321
|
+
if (hasKey(cfg, "progress")) changed("defaultProgress");
|
|
322
|
+
if (hasKey(cfg, "maxSubagentDepth")) changed("maxSubagentDepth");
|
|
323
|
+
if (hasKey(cfg, "completionGuard")) {
|
|
324
|
+
changed("completionGuard");
|
|
325
|
+
if (cfg.completionGuard === true) fields.add("completionGuard");
|
|
326
|
+
}
|
|
327
|
+
if (hasKey(cfg, "toolBudget")) changed("toolBudget");
|
|
328
|
+
|
|
329
|
+
return fields;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
function parseStepList(raw: unknown): { steps?: ChainStepConfig[]; error?: string } {
|
|
333
|
+
if (!Array.isArray(raw)) return { error: "config.steps must be an array." };
|
|
334
|
+
if (raw.length === 0) return { error: "config.steps must include at least one step." };
|
|
335
|
+
const steps: ChainStepConfig[] = [];
|
|
336
|
+
for (let i = 0; i < raw.length; i++) {
|
|
337
|
+
const item = raw[i];
|
|
338
|
+
if (!item || typeof item !== "object" || Array.isArray(item)) return { error: `config.steps[${i}] must be an object.` };
|
|
339
|
+
const s = item as Record<string, unknown>;
|
|
340
|
+
if (typeof s.agent !== "string" || !s.agent.trim()) return { error: `config.steps[${i}].agent must be a non-empty string.` };
|
|
341
|
+
const step: ChainStepConfig = { agent: s.agent.trim(), task: typeof s.task === "string" ? s.task : "" };
|
|
342
|
+
if (hasKey(s, "phase")) {
|
|
343
|
+
if (typeof s.phase === "string") step.phase = s.phase;
|
|
344
|
+
else return { error: `config.steps[${i}].phase must be a string.` };
|
|
345
|
+
}
|
|
346
|
+
if (hasKey(s, "label")) {
|
|
347
|
+
if (typeof s.label === "string") step.label = s.label;
|
|
348
|
+
else return { error: `config.steps[${i}].label must be a string.` };
|
|
349
|
+
}
|
|
350
|
+
if (hasKey(s, "as")) {
|
|
351
|
+
if (typeof s.as === "string") step.as = s.as;
|
|
352
|
+
else return { error: `config.steps[${i}].as must be a string.` };
|
|
353
|
+
}
|
|
354
|
+
if (hasKey(s, "outputSchema")) {
|
|
355
|
+
if (typeof s.outputSchema === "string") step.outputSchema = s.outputSchema;
|
|
356
|
+
else return { error: `config.steps[${i}].outputSchema must be a schema file path string for saved chains.` };
|
|
357
|
+
}
|
|
358
|
+
if (hasKey(s, "output")) {
|
|
359
|
+
if (s.output === false) step.output = false;
|
|
360
|
+
else if (typeof s.output === "string") step.output = s.output;
|
|
361
|
+
else return { error: `config.steps[${i}].output must be a string or false.` };
|
|
362
|
+
}
|
|
363
|
+
if (hasKey(s, "outputMode")) {
|
|
364
|
+
if (s.outputMode === "inline" || s.outputMode === "file-only") step.outputMode = s.outputMode;
|
|
365
|
+
else return { error: `config.steps[${i}].outputMode must be 'inline' or 'file-only'.` };
|
|
366
|
+
}
|
|
367
|
+
if (hasKey(s, "reads")) {
|
|
368
|
+
if (s.reads === false) step.reads = false;
|
|
369
|
+
else if (Array.isArray(s.reads)) step.reads = s.reads.filter((v): v is string => typeof v === "string").map((v) => v.trim()).filter(Boolean);
|
|
370
|
+
else return { error: `config.steps[${i}].reads must be an array or false.` };
|
|
371
|
+
}
|
|
372
|
+
if (hasKey(s, "model")) {
|
|
373
|
+
if (typeof s.model === "string") step.model = s.model;
|
|
374
|
+
else return { error: `config.steps[${i}].model must be a string.` };
|
|
375
|
+
}
|
|
376
|
+
if (hasKey(s, "skills")) {
|
|
377
|
+
if (s.skills === false) step.skills = false;
|
|
378
|
+
else if (Array.isArray(s.skills)) step.skills = s.skills.filter((v): v is string => typeof v === "string").map((v) => v.trim()).filter(Boolean);
|
|
379
|
+
else return { error: `config.steps[${i}].skills must be an array or false.` };
|
|
380
|
+
}
|
|
381
|
+
if (hasKey(s, "progress")) {
|
|
382
|
+
if (typeof s.progress === "boolean") step.progress = s.progress;
|
|
383
|
+
else return { error: `config.steps[${i}].progress must be a boolean.` };
|
|
384
|
+
}
|
|
385
|
+
if (hasKey(s, "toolBudget")) {
|
|
386
|
+
const validation = validateToolBudgetConfig(s.toolBudget, `config.steps[${i}].toolBudget`);
|
|
387
|
+
if (validation.error) return { error: validation.error };
|
|
388
|
+
if (s.toolBudget !== undefined) step.toolBudget = s.toolBudget as ToolBudgetConfig;
|
|
389
|
+
}
|
|
390
|
+
steps.push(step);
|
|
391
|
+
}
|
|
392
|
+
return { steps };
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
function parseTools(raw: string): { tools?: string[]; mcpDirectTools?: string[] } {
|
|
396
|
+
const tools: string[] = [];
|
|
397
|
+
const mcpDirectTools: string[] = [];
|
|
398
|
+
for (const item of parseCsv(raw)) {
|
|
399
|
+
if (item.startsWith("mcp:")) {
|
|
400
|
+
const direct = item.slice(4).trim();
|
|
401
|
+
if (direct) mcpDirectTools.push(direct);
|
|
402
|
+
} else tools.push(item);
|
|
403
|
+
}
|
|
404
|
+
return {
|
|
405
|
+
...(tools.length ? { tools } : {}),
|
|
406
|
+
...(mcpDirectTools.length ? { mcpDirectTools } : {}),
|
|
407
|
+
};
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
function applyAgentConfig(target: AgentConfig, cfg: Record<string, unknown>): string | undefined {
|
|
411
|
+
if (hasKey(cfg, "aliases")) {
|
|
412
|
+
if (cfg.aliases === false || cfg.aliases === "") delete target.aliases;
|
|
413
|
+
else if (typeof cfg.aliases === "string") {
|
|
414
|
+
const aliases = parseCsv(cfg.aliases).filter((alias) => alias !== target.name);
|
|
415
|
+
if (aliases.length) target.aliases = aliases;
|
|
416
|
+
else delete target.aliases;
|
|
417
|
+
} else if (Array.isArray(cfg.aliases) && cfg.aliases.every((entry) => typeof entry === "string")) {
|
|
418
|
+
const aliases = [...new Set(cfg.aliases.map((entry) => entry.trim()).filter(Boolean).filter((alias) => alias !== target.name))];
|
|
419
|
+
if (aliases.length) target.aliases = aliases;
|
|
420
|
+
else delete target.aliases;
|
|
421
|
+
} else return "config.aliases must be a comma-separated string, string array, or false when provided.";
|
|
422
|
+
}
|
|
423
|
+
if (hasKey(cfg, "systemPrompt")) {
|
|
424
|
+
if (cfg.systemPrompt === false || cfg.systemPrompt === "") target.systemPrompt = "";
|
|
425
|
+
else if (typeof cfg.systemPrompt === "string") target.systemPrompt = cfg.systemPrompt;
|
|
426
|
+
else return "config.systemPrompt must be a string or false when provided.";
|
|
427
|
+
}
|
|
428
|
+
if (hasKey(cfg, "runner")) {
|
|
429
|
+
if (cfg.runner === false || cfg.runner === "") delete target.runner;
|
|
430
|
+
else if (cfg.runner && typeof cfg.runner === "object" && !Array.isArray(cfg.runner)) {
|
|
431
|
+
const runner = cfg.runner as Record<string, unknown>;
|
|
432
|
+
if (runner.type === "pi" && Object.keys(runner).every((key) => key === "type")) target.runner = { type: "pi" };
|
|
433
|
+
else if (runner.type === "external-cli" && typeof runner.command === "string" && runner.command.trim()
|
|
434
|
+
&& (runner.args === undefined || (Array.isArray(runner.args) && runner.args.every((arg) => typeof arg === "string")))
|
|
435
|
+
&& (runner.promptDelivery === undefined || runner.promptDelivery === "stdin")
|
|
436
|
+
&& Object.keys(runner).every((key) => ["type", "command", "args", "promptDelivery"].includes(key))) {
|
|
437
|
+
const runnerArgs = Array.isArray(runner.args) ? runner.args.filter((arg): arg is string => typeof arg === "string") : undefined;
|
|
438
|
+
target.runner = { type: "external-cli", command: runner.command.trim(), ...(runnerArgs?.length ? { args: runnerArgs } : {}), ...(runner.promptDelivery ? { promptDelivery: "stdin" } : {}) };
|
|
439
|
+
} else return "config.runner must be { type: 'pi' } or { type: 'external-cli', command: string, args?: string[], promptDelivery?: 'stdin' }.";
|
|
440
|
+
} else return "config.runner must be an object, false, or empty string when provided.";
|
|
441
|
+
}
|
|
442
|
+
if (hasKey(cfg, "model")) {
|
|
443
|
+
if (cfg.model === false || cfg.model === "") delete target.model;
|
|
444
|
+
else if (typeof cfg.model === "string") {
|
|
445
|
+
const model = cfg.model.trim();
|
|
446
|
+
if (model) target.model = model;
|
|
447
|
+
else delete target.model;
|
|
448
|
+
} else return "config.model must be a string or false when provided.";
|
|
449
|
+
}
|
|
450
|
+
if (hasKey(cfg, "fallbackModels")) {
|
|
451
|
+
if (cfg.fallbackModels === false || cfg.fallbackModels === "") delete target.fallbackModels;
|
|
452
|
+
else if (typeof cfg.fallbackModels === "string") {
|
|
453
|
+
const models = parseCsv(cfg.fallbackModels);
|
|
454
|
+
if (models.length) target.fallbackModels = models;
|
|
455
|
+
else delete target.fallbackModels;
|
|
456
|
+
} else if (Array.isArray(cfg.fallbackModels)) {
|
|
457
|
+
const models = cfg.fallbackModels
|
|
458
|
+
.filter((value): value is string => typeof value === "string")
|
|
459
|
+
.map((value) => value.trim())
|
|
460
|
+
.filter(Boolean);
|
|
461
|
+
if (models.length) target.fallbackModels = [...new Set(models)];
|
|
462
|
+
else delete target.fallbackModels;
|
|
463
|
+
} else return "config.fallbackModels must be a comma-separated string, string array, or false when provided.";
|
|
464
|
+
}
|
|
465
|
+
if (hasKey(cfg, "tools")) {
|
|
466
|
+
if (cfg.tools === false || cfg.tools === "") { delete target.tools; delete target.mcpDirectTools; }
|
|
467
|
+
else if (typeof cfg.tools === "string") {
|
|
468
|
+
const parsed = parseTools(cfg.tools);
|
|
469
|
+
if (parsed.tools) target.tools = parsed.tools;
|
|
470
|
+
else delete target.tools;
|
|
471
|
+
if (parsed.mcpDirectTools) target.mcpDirectTools = parsed.mcpDirectTools;
|
|
472
|
+
else delete target.mcpDirectTools;
|
|
473
|
+
} else return "config.tools must be a comma-separated string or false when provided.";
|
|
474
|
+
}
|
|
475
|
+
if (hasKey(cfg, "skills")) {
|
|
476
|
+
if (cfg.skills === false || cfg.skills === "") delete target.skills;
|
|
477
|
+
else if (typeof cfg.skills === "string") {
|
|
478
|
+
const skills = parseCsv(cfg.skills);
|
|
479
|
+
if (skills.length) target.skills = skills;
|
|
480
|
+
else delete target.skills;
|
|
481
|
+
} else return "config.skills must be a comma-separated string or false when provided.";
|
|
482
|
+
}
|
|
483
|
+
if (hasKey(cfg, "skillPath")) {
|
|
484
|
+
if (cfg.skillPath === false || cfg.skillPath === "") delete target.skillPath;
|
|
485
|
+
else if (typeof cfg.skillPath === "string") {
|
|
486
|
+
const skillPath = parseCsv(cfg.skillPath);
|
|
487
|
+
if (skillPath.length) target.skillPath = skillPath;
|
|
488
|
+
else delete target.skillPath;
|
|
489
|
+
} else if (Array.isArray(cfg.skillPath) && cfg.skillPath.every((entry) => typeof entry === "string")) {
|
|
490
|
+
const skillPath = [...new Set(cfg.skillPath.map((entry) => entry.trim()).filter(Boolean))];
|
|
491
|
+
if (skillPath.length) target.skillPath = skillPath;
|
|
492
|
+
else delete target.skillPath;
|
|
493
|
+
} else return "config.skillPath must be a comma-separated string, string array, or false when provided.";
|
|
494
|
+
}
|
|
495
|
+
if (hasKey(cfg, "extensions")) {
|
|
496
|
+
if (cfg.extensions === false) delete target.extensions;
|
|
497
|
+
else if (cfg.extensions === "") target.extensions = [];
|
|
498
|
+
else if (typeof cfg.extensions === "string") target.extensions = parseCsv(cfg.extensions);
|
|
499
|
+
else return "config.extensions must be a comma-separated string, empty string, or false when provided.";
|
|
500
|
+
}
|
|
501
|
+
if (hasKey(cfg, "subagentOnlyExtensions")) {
|
|
502
|
+
if (cfg.subagentOnlyExtensions === false) delete target.subagentOnlyExtensions;
|
|
503
|
+
else if (cfg.subagentOnlyExtensions === "") target.subagentOnlyExtensions = [];
|
|
504
|
+
else if (typeof cfg.subagentOnlyExtensions === "string") target.subagentOnlyExtensions = parseCsv(cfg.subagentOnlyExtensions);
|
|
505
|
+
else return "config.subagentOnlyExtensions must be a comma-separated string, empty string, or false when provided.";
|
|
506
|
+
}
|
|
507
|
+
if (hasKey(cfg, "thinking")) {
|
|
508
|
+
if (cfg.thinking === false || cfg.thinking === "") delete target.thinking;
|
|
509
|
+
else if (typeof cfg.thinking === "string") {
|
|
510
|
+
const thinking = cfg.thinking.trim();
|
|
511
|
+
if (thinking) target.thinking = thinking;
|
|
512
|
+
else delete target.thinking;
|
|
513
|
+
} else return "config.thinking must be a string or false when provided.";
|
|
514
|
+
}
|
|
515
|
+
if (hasKey(cfg, "systemPromptMode")) {
|
|
516
|
+
if (cfg.systemPromptMode === "append" || cfg.systemPromptMode === "replace") target.systemPromptMode = cfg.systemPromptMode;
|
|
517
|
+
else return "config.systemPromptMode must be 'append' or 'replace' when provided.";
|
|
518
|
+
}
|
|
519
|
+
if (hasKey(cfg, "inheritProjectContext")) {
|
|
520
|
+
if (typeof cfg.inheritProjectContext !== "boolean") return "config.inheritProjectContext must be a boolean when provided.";
|
|
521
|
+
target.inheritProjectContext = cfg.inheritProjectContext;
|
|
522
|
+
}
|
|
523
|
+
if (hasKey(cfg, "inheritSkills")) {
|
|
524
|
+
if (typeof cfg.inheritSkills !== "boolean") return "config.inheritSkills must be a boolean when provided.";
|
|
525
|
+
target.inheritSkills = cfg.inheritSkills;
|
|
526
|
+
}
|
|
527
|
+
if (hasKey(cfg, "defaultContext")) {
|
|
528
|
+
if (cfg.defaultContext === false || cfg.defaultContext === "") delete target.defaultContext;
|
|
529
|
+
else if (cfg.defaultContext === "fresh" || cfg.defaultContext === "fork") target.defaultContext = cfg.defaultContext;
|
|
530
|
+
else return "config.defaultContext must be 'fresh', 'fork', or false when provided.";
|
|
531
|
+
}
|
|
532
|
+
if (hasKey(cfg, "async")) {
|
|
533
|
+
if (cfg.async === "") delete target.defaultAsync;
|
|
534
|
+
else if (typeof cfg.async === "boolean") target.defaultAsync = cfg.async;
|
|
535
|
+
else return "config.async must be a boolean or empty string when provided.";
|
|
536
|
+
}
|
|
537
|
+
if (hasKey(cfg, "timeoutMs")) {
|
|
538
|
+
if (cfg.timeoutMs === false || cfg.timeoutMs === "") delete target.defaultTimeoutMs;
|
|
539
|
+
else if (typeof cfg.timeoutMs === "number" && Number.isInteger(cfg.timeoutMs) && cfg.timeoutMs > 0) target.defaultTimeoutMs = cfg.timeoutMs;
|
|
540
|
+
else return "config.timeoutMs must be a positive integer or false when provided.";
|
|
541
|
+
}
|
|
542
|
+
if (hasKey(cfg, "turnBudget")) {
|
|
543
|
+
if (cfg.turnBudget === false || cfg.turnBudget === "") delete target.defaultTurnBudget;
|
|
544
|
+
else {
|
|
545
|
+
const resolved = resolveTurnBudgetConfig(cfg.turnBudget, "config.turnBudget");
|
|
546
|
+
if (resolved.error) return resolved.error;
|
|
547
|
+
if (resolved.turnBudget !== undefined) target.defaultTurnBudget = resolved.turnBudget;
|
|
548
|
+
else delete target.defaultTurnBudget;
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
if (hasKey(cfg, "acceptance")) {
|
|
552
|
+
if (cfg.acceptance === "") delete target.defaultAcceptance;
|
|
553
|
+
else {
|
|
554
|
+
const errors = validateAcceptanceInput(cfg.acceptance, "config.acceptance");
|
|
555
|
+
if (errors.length > 0) return errors.join(" ");
|
|
556
|
+
target.defaultAcceptance = cfg.acceptance as AcceptanceInput;
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
if (hasKey(cfg, "acceptanceRole")) {
|
|
560
|
+
if (cfg.acceptanceRole === false || cfg.acceptanceRole === "") delete target.acceptanceRole;
|
|
561
|
+
else if (cfg.acceptanceRole === "read-only" || cfg.acceptanceRole === "writer") target.acceptanceRole = cfg.acceptanceRole;
|
|
562
|
+
else return "config.acceptanceRole must be 'read-only', 'writer', or false when provided.";
|
|
563
|
+
}
|
|
564
|
+
if (hasKey(cfg, "output")) {
|
|
565
|
+
if (cfg.output === false || cfg.output === "") delete target.output;
|
|
566
|
+
else if (typeof cfg.output === "string") target.output = cfg.output;
|
|
567
|
+
else return "config.output must be a string or false when provided.";
|
|
568
|
+
}
|
|
569
|
+
if (hasKey(cfg, "reads")) {
|
|
570
|
+
if (cfg.reads === false || cfg.reads === "") delete target.defaultReads;
|
|
571
|
+
else if (typeof cfg.reads === "string") {
|
|
572
|
+
const reads = parseCsv(cfg.reads);
|
|
573
|
+
if (reads.length) target.defaultReads = reads;
|
|
574
|
+
else delete target.defaultReads;
|
|
575
|
+
} else return "config.reads must be a comma-separated string or false when provided.";
|
|
576
|
+
}
|
|
577
|
+
if (hasKey(cfg, "progress")) {
|
|
578
|
+
if (typeof cfg.progress !== "boolean") return "config.progress must be a boolean when provided.";
|
|
579
|
+
target.defaultProgress = cfg.progress;
|
|
580
|
+
}
|
|
581
|
+
if (hasKey(cfg, "maxSubagentDepth")) {
|
|
582
|
+
if (cfg.maxSubagentDepth === false || cfg.maxSubagentDepth === "") delete target.maxSubagentDepth;
|
|
583
|
+
else if (typeof cfg.maxSubagentDepth === "number" && Number.isInteger(cfg.maxSubagentDepth) && cfg.maxSubagentDepth >= 0) {
|
|
584
|
+
target.maxSubagentDepth = cfg.maxSubagentDepth;
|
|
585
|
+
} else return "config.maxSubagentDepth must be an integer >= 0 or false when provided.";
|
|
586
|
+
}
|
|
587
|
+
if (hasKey(cfg, "completionGuard")) {
|
|
588
|
+
if (typeof cfg.completionGuard !== "boolean") return "config.completionGuard must be a boolean when provided.";
|
|
589
|
+
target.completionGuard = cfg.completionGuard;
|
|
590
|
+
}
|
|
591
|
+
if (hasKey(cfg, "toolBudget")) {
|
|
592
|
+
if (cfg.toolBudget === false || cfg.toolBudget === "") delete target.toolBudget;
|
|
593
|
+
else {
|
|
594
|
+
const validation = validateToolBudgetConfig(cfg.toolBudget, "config.toolBudget");
|
|
595
|
+
if (validation.error) return validation.error;
|
|
596
|
+
target.toolBudget = cfg.toolBudget as ToolBudgetConfig;
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
if (target.runner?.type === "external-cli") {
|
|
600
|
+
const unsupported = [
|
|
601
|
+
target.tools?.length || target.mcpDirectTools?.length ? "tools" : undefined,
|
|
602
|
+
target.model ? "model" : undefined,
|
|
603
|
+
target.fallbackModels?.length ? "fallbackModels" : undefined,
|
|
604
|
+
target.thinking ? "thinking" : undefined,
|
|
605
|
+
target.extensions?.length ? "extensions" : undefined,
|
|
606
|
+
target.subagentOnlyExtensions?.length ? "subagentOnlyExtensions" : undefined,
|
|
607
|
+
target.skills?.length || target.skillPath?.length ? "skills" : undefined,
|
|
608
|
+
target.maxSubagentDepth !== undefined ? "maxSubagentDepth" : undefined,
|
|
609
|
+
target.completionGuard !== undefined ? "completionGuard" : undefined,
|
|
610
|
+
target.toolBudget ? "toolBudget" : undefined,
|
|
611
|
+
].filter((field): field is string => Boolean(field));
|
|
612
|
+
if (unsupported.length > 0) return `config.runner type 'external-cli' does not support Pi-only fields: ${unsupported.join(", ")}.`;
|
|
613
|
+
}
|
|
614
|
+
return undefined;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
function resolveTarget<T extends { name: string; source: AgentSource; filePath: string }>(
|
|
618
|
+
kind: "agent" | "chain",
|
|
619
|
+
name: string,
|
|
620
|
+
matches: T[],
|
|
621
|
+
cwd: string,
|
|
622
|
+
scopeHint?: string,
|
|
623
|
+
): T | AgentToolResult<Details> {
|
|
624
|
+
const distinctNames = [...new Set(matches.map((m) => m.name))];
|
|
625
|
+
if (distinctNames.length > 1) {
|
|
626
|
+
return result(`Ambiguous ${kind} alias or name '${name}': ${distinctNames.sort((a, b) => a.localeCompare(b)).join(", ")}`, true);
|
|
627
|
+
}
|
|
628
|
+
const mutable = matches.filter((m): m is T & { source: ManagementScope } => isMutableSource(m.source));
|
|
629
|
+
if (mutable.length === 0) {
|
|
630
|
+
if (matches.length > 0) {
|
|
631
|
+
return result(`${kind === "agent" ? "Agent" : "Chain"} '${name}' is read-only and cannot be modified. Create a same-named ${kind} in user or project scope to override it.`, true);
|
|
632
|
+
}
|
|
633
|
+
const available = availableNames(cwd, kind);
|
|
634
|
+
return result(`${kind === "agent" ? "Agent" : "Chain"} '${name}' not found. Available: ${available.join(", ") || "none"}.`, true);
|
|
635
|
+
}
|
|
636
|
+
if (mutable.length === 1) return mutable[0]!;
|
|
637
|
+
const scope = asDisambiguationScope(scopeHint);
|
|
638
|
+
if (!scope) {
|
|
639
|
+
const paths = mutable.map((m) => `${m.source}: ${m.filePath}`).join("\n");
|
|
640
|
+
return result(`${kind === "agent" ? "Agent" : "Chain"} '${name}' exists in both scopes. Specify agentScope: 'user' or 'project'.\n${paths}`, true);
|
|
641
|
+
}
|
|
642
|
+
const scoped = mutable.filter((m) => m.source === scope);
|
|
643
|
+
if (scoped.length === 0) return result(`${kind === "agent" ? "Agent" : "Chain"} '${name}' not found in scope '${scope}'.`, true);
|
|
644
|
+
if (scoped.length > 1) return result(`Multiple ${kind}s named '${name}' found in scope '${scope}': ${scoped.map((m) => m.filePath).join(", ")}`, true);
|
|
645
|
+
return scoped[0]!;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
function renamePath(
|
|
649
|
+
kind: "agent" | "chain",
|
|
650
|
+
currentPath: string,
|
|
651
|
+
newName: string,
|
|
652
|
+
scope: ManagementScope,
|
|
653
|
+
cwd: string,
|
|
654
|
+
): { filePath?: string; error?: string } {
|
|
655
|
+
if (nameExistsInScope(cwd, scope, newName, currentPath)) return { error: `Name '${newName}' already exists in ${scope} scope.` };
|
|
656
|
+
const ext = kind === "agent" ? ".md" : currentPath.endsWith(".chain.json") ? ".chain.json" : ".chain.md";
|
|
657
|
+
const filePath = path.join(path.dirname(currentPath), `${newName}${ext}`);
|
|
658
|
+
if (fs.existsSync(filePath) && filePath !== currentPath) {
|
|
659
|
+
return { error: `File already exists at ${filePath} but is not a valid ${kind} definition. Remove or rename it first.` };
|
|
660
|
+
}
|
|
661
|
+
fs.renameSync(currentPath, filePath);
|
|
662
|
+
return { filePath };
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
function formatAgentDetail(agent: AgentConfig): string {
|
|
666
|
+
const tools = [...(agent.tools ?? []), ...(agent.mcpDirectTools ?? []).map((t) => `mcp:${t}`)];
|
|
667
|
+
const lines: string[] = [`Agent: ${agent.name} (${agent.source})`, `Path: ${agent.filePath}`, `Description: ${agent.description}`];
|
|
668
|
+
if (agent.packageName) {
|
|
669
|
+
lines.push(`Local name: ${frontmatterNameForConfig(agent)}`);
|
|
670
|
+
lines.push(`Package: ${agent.packageName}`);
|
|
671
|
+
}
|
|
672
|
+
if (agent.aliases?.length) lines.push(`Aliases: ${agent.aliases.join(", ")}`);
|
|
673
|
+
if (agent.model) lines.push(`Model: ${agent.model}`);
|
|
674
|
+
if (agent.fallbackModels?.length) lines.push(`Fallback models: ${agent.fallbackModels.join(", ")}`);
|
|
675
|
+
if (tools.length) lines.push(`Tools: ${tools.join(", ")}`);
|
|
676
|
+
if (agent.skills?.length) lines.push(`Skills: ${agent.skills.join(", ")}`);
|
|
677
|
+
if (agent.skillPath?.length) lines.push(`Skill paths: ${agent.skillPath.join(", ")}`);
|
|
678
|
+
lines.push(`System prompt mode: ${agent.systemPromptMode}`);
|
|
679
|
+
if (agent.runner) lines.push(`Runner: ${JSON.stringify(agent.runner)}`);
|
|
680
|
+
lines.push(`Inherit project context: ${agent.inheritProjectContext ? "true" : "false"}`);
|
|
681
|
+
lines.push(`Inherit skills: ${agent.inheritSkills ? "true" : "false"}`);
|
|
682
|
+
if (agent.defaultContext) lines.push(`Default context: ${agent.defaultContext}`);
|
|
683
|
+
if (agent.defaultAsync !== undefined) lines.push(`Async: ${agent.defaultAsync ? "true" : "false"}`);
|
|
684
|
+
if (agent.defaultTimeoutMs !== undefined) lines.push(`Timeout: ${agent.defaultTimeoutMs}ms`);
|
|
685
|
+
if (agent.defaultTurnBudget) lines.push(`Turn budget: ${JSON.stringify(agent.defaultTurnBudget)}`);
|
|
686
|
+
if (agent.defaultAcceptance !== undefined) lines.push(`Acceptance: ${typeof agent.defaultAcceptance === "object" ? JSON.stringify(agent.defaultAcceptance) : String(agent.defaultAcceptance)}`);
|
|
687
|
+
if (agent.acceptanceRole) lines.push(`Acceptance role: ${agent.acceptanceRole}`);
|
|
688
|
+
if (agent.source === "builtin") lines.push(`Disabled: ${agent.disabled ? "true" : "false"}`);
|
|
689
|
+
if (agent.extensions !== undefined) lines.push(`Extensions: ${agent.extensions.length ? agent.extensions.join(", ") : "(none)"}`);
|
|
690
|
+
if (agent.subagentOnlyExtensions !== undefined) lines.push(`Subagent-only extensions: ${agent.subagentOnlyExtensions.length ? agent.subagentOnlyExtensions.join(", ") : "(none)"}`);
|
|
691
|
+
if (agent.thinking) lines.push(`Thinking: ${agent.thinking}`);
|
|
692
|
+
if (agent.output) lines.push(`Output: ${agent.output}`);
|
|
693
|
+
if (agent.defaultReads?.length) lines.push(`Reads: ${agent.defaultReads.join(", ")}`);
|
|
694
|
+
if (agent.defaultProgress) lines.push("Progress: true");
|
|
695
|
+
if (agent.maxSubagentDepth !== undefined) lines.push(`Max subagent depth: ${agent.maxSubagentDepth}`);
|
|
696
|
+
if (agent.completionGuard === false) lines.push("Completion guard: false");
|
|
697
|
+
if (agent.toolBudget) lines.push(`Tool budget: ${JSON.stringify(agent.toolBudget)}`);
|
|
698
|
+
if (agent.memory) lines.push(`Memory: ${agent.memory.scope} scope, path: ${agent.memory.path}`);
|
|
699
|
+
if (agent.systemPrompt.trim()) lines.push("", "System Prompt:", agent.systemPrompt);
|
|
700
|
+
return lines.join("\n");
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
function formatChainStepDetail(step: ChainStepConfig, index: number): string[] {
|
|
704
|
+
const lines: string[] = [];
|
|
705
|
+
if (step.expand || step.collect) {
|
|
706
|
+
const parallel = step.parallel && !Array.isArray(step.parallel) && typeof step.parallel === "object" ? step.parallel as { agent?: unknown; task?: unknown; label?: unknown; outputSchema?: unknown } : undefined;
|
|
707
|
+
const expand = step.expand && typeof step.expand === "object" ? step.expand as { from?: { output?: unknown; path?: unknown }; item?: unknown; key?: unknown; maxItems?: unknown; onEmpty?: unknown } : undefined;
|
|
708
|
+
const collect = step.collect && typeof step.collect === "object" ? step.collect as { as?: unknown; outputSchema?: unknown } : undefined;
|
|
709
|
+
lines.push(`${index + 1}. Dynamic fanout${typeof collect?.as === "string" ? ` -> ${collect.as}` : ""}`);
|
|
710
|
+
if (expand?.from) lines.push(` Expand: ${String(expand.from.output ?? "?")}${String(expand.from.path ?? "")}`);
|
|
711
|
+
if (typeof expand?.item === "string") lines.push(` Item variable: ${expand.item}`);
|
|
712
|
+
if (typeof expand?.key === "string") lines.push(` Key: ${expand.key}`);
|
|
713
|
+
if (typeof expand?.maxItems === "number") lines.push(` Max items: ${expand.maxItems}`);
|
|
714
|
+
if (typeof expand?.onEmpty === "string") lines.push(` On empty: ${expand.onEmpty}`);
|
|
715
|
+
if (parallel?.agent) lines.push(` Agent: ${String(parallel.agent)}`);
|
|
716
|
+
if (typeof parallel?.label === "string") lines.push(` Label: ${parallel.label}`);
|
|
717
|
+
if (typeof parallel?.task === "string" && parallel.task.trim()) lines.push(` Task: ${parallel.task}`);
|
|
718
|
+
if (parallel?.outputSchema) lines.push(" Structured output: true");
|
|
719
|
+
if (parallel && "toolBudget" in parallel) lines.push(` Tool budget: ${JSON.stringify((parallel as { toolBudget?: unknown }).toolBudget)}`);
|
|
720
|
+
if (collect?.outputSchema) lines.push(" Collect schema: true");
|
|
721
|
+
if (step.concurrency !== undefined) lines.push(` Concurrency: ${step.concurrency}`);
|
|
722
|
+
if (step.failFast !== undefined) lines.push(` Fail fast: ${step.failFast ? "true" : "false"}`);
|
|
723
|
+
return lines;
|
|
724
|
+
}
|
|
725
|
+
lines.push(`${index + 1}. ${step.agent}`);
|
|
726
|
+
if (step.task?.trim()) lines.push(` Task: ${step.task}`);
|
|
727
|
+
if (step.output === false) lines.push(" Output: false");
|
|
728
|
+
else if (step.output) lines.push(` Output: ${step.output}`);
|
|
729
|
+
if (step.outputMode) lines.push(` Output mode: ${step.outputMode}`);
|
|
730
|
+
if (step.toolBudget) lines.push(` Tool budget: ${JSON.stringify(step.toolBudget)}`);
|
|
731
|
+
if (step.reads === false) lines.push(" Reads: false");
|
|
732
|
+
else if (Array.isArray(step.reads) && step.reads.length > 0) lines.push(` Reads: ${step.reads.join(", ")}`);
|
|
733
|
+
if (step.model) lines.push(` Model: ${step.model}`);
|
|
734
|
+
if (step.skills === false) lines.push(" Skills: false");
|
|
735
|
+
else if (Array.isArray(step.skills) && step.skills.length > 0) lines.push(` Skills: ${step.skills.join(", ")}`);
|
|
736
|
+
if (step.progress !== undefined) lines.push(` Progress: ${step.progress ? "true" : "false"}`);
|
|
737
|
+
return lines;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
function formatChainDetail(chain: ChainConfig): string {
|
|
741
|
+
const lines: string[] = [`Chain: ${chain.name} (${chain.source})`, `Path: ${chain.filePath}`, `Description: ${chain.description}`];
|
|
742
|
+
if (chain.packageName) {
|
|
743
|
+
lines.push(`Local name: ${frontmatterNameForConfig(chain)}`);
|
|
744
|
+
lines.push(`Package: ${chain.packageName}`);
|
|
745
|
+
}
|
|
746
|
+
lines.push("", "Steps:");
|
|
747
|
+
for (let i = 0; i < chain.steps.length; i++) {
|
|
748
|
+
lines.push(...formatChainStepDetail(chain.steps[i]!, i));
|
|
749
|
+
}
|
|
750
|
+
return lines.join("\n");
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
export function handleList(params: ManagementParams, ctx: ManagementContext): AgentToolResult<Details> {
|
|
754
|
+
const scope = normalizeListScope(params.agentScope) ?? "both";
|
|
755
|
+
const d = discoverAgentsAll(ctx.cwd);
|
|
756
|
+
const scopedAgents = mergeAgentsForScope(scope, d.user, d.project, d.builtin, d.package)
|
|
757
|
+
.sort((a, b) => a.name.localeCompare(b.name));
|
|
758
|
+
const capabilityCeiling = resolveCurrentSubagentCapabilityCeiling(ctx.currentSessionId);
|
|
759
|
+
const visibleAgents = scopedAgents.filter((a) => !a.disabled);
|
|
760
|
+
const agents = visibleAgents.filter((a) => isAgentAllowedByCapabilityCeiling(a.name, capabilityCeiling));
|
|
761
|
+
const restrictedAgents = visibleAgents.filter((a) => !isAgentAllowedByCapabilityCeiling(a.name, capabilityCeiling));
|
|
762
|
+
const restrictedSources = capabilityCeilingAgentRestrictionSources(capabilityCeiling);
|
|
763
|
+
const chains = d.chains.filter((c) => scope === "both" || c.source === "package" || c.source === scope).sort((a, b) => a.name.localeCompare(b.name));
|
|
764
|
+
const diagnostics = d.chainDiagnostics.filter((entry) => scope === "both" || entry.source === scope);
|
|
765
|
+
const proactiveSuggestions = buildProactiveSkillSubagentRecommendationLines({
|
|
766
|
+
agents,
|
|
767
|
+
chains,
|
|
768
|
+
...(ctx.config?.proactiveSkillSubagents !== undefined ? { config: ctx.config.proactiveSkillSubagents } : {}),
|
|
769
|
+
discoverAvailableSkills: () => discoverAvailableSkills(ctx.cwd),
|
|
770
|
+
});
|
|
771
|
+
const lines = [
|
|
772
|
+
"Executable agents:",
|
|
773
|
+
...(agents.length
|
|
774
|
+
? agents.map((a) => `- ${a.name} (${a.source}${a.defaultContext ? `, context: ${a.defaultContext}` : ""}${a.aliases?.length ? `, aliases: ${a.aliases.join(", ")}` : ""}): ${a.description}`)
|
|
775
|
+
: ["- (none)"]),
|
|
776
|
+
...(restrictedAgents.length ? [
|
|
777
|
+
"",
|
|
778
|
+
`Restricted agents (not executable in this session${restrictedSources?.length ? `; capability ceiling: ${restrictedSources.join(", ")}` : ""}):`,
|
|
779
|
+
...restrictedAgents.map((a) => `- ${a.name} (${a.source}${a.aliases?.length ? `, aliases: ${a.aliases.join(", ")}` : ""}): ${a.description}`),
|
|
780
|
+
] : []),
|
|
781
|
+
"",
|
|
782
|
+
"Chains:",
|
|
783
|
+
...(chains.length ? chains.map((c) => `- ${c.name} (${c.source}): ${c.description}`) : ["- (none)"]),
|
|
784
|
+
...(proactiveSuggestions.length ? ["", ...proactiveSuggestions] : []),
|
|
785
|
+
...(diagnostics.length ? ["", "Chain diagnostics:", ...diagnostics.map((entry) => `- ${entry.filePath}: ${entry.error}`)] : []),
|
|
786
|
+
];
|
|
787
|
+
return result(lines.join("\n"));
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
function formatModelSource(agent: AgentConfig, currentModel: ParentModel | undefined): string {
|
|
791
|
+
if (agent.override && agent.model !== agent.override.base.model) {
|
|
792
|
+
return `${agent.override.scope} override`;
|
|
793
|
+
}
|
|
794
|
+
if (agent.modelSource?.type === "subagents.defaultModel" && agent.model === agent.modelSource.model) {
|
|
795
|
+
return `${agent.modelSource.scope} defaultModel`;
|
|
796
|
+
}
|
|
797
|
+
if (agent.model) return "builtin agent config";
|
|
798
|
+
if (currentModel) return "inherits current session model";
|
|
799
|
+
return "inherit requested, but no current session model is available";
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
function handleModels(params: ManagementParams, ctx: ManagementContext): AgentToolResult<Details> {
|
|
803
|
+
const requestedAgent = params.agent?.trim();
|
|
804
|
+
if (requestedAgent && !(BUILTIN_AGENT_NAMES as readonly string[]).includes(requestedAgent)) {
|
|
805
|
+
return result(`Builtin agent '${requestedAgent}' not found. Available: ${BUILTIN_AGENT_NAMES.join(", ")}.`, true);
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
const discovered = discoverAgentsAll(ctx.cwd);
|
|
809
|
+
const builtinByName = new Map(discovered.builtin.map((agent) => [agent.name, agent]));
|
|
810
|
+
const availableModels = ctx.modelRegistry.getAvailable().map(toModelInfo);
|
|
811
|
+
const currentModel = ctx.model ? { provider: ctx.model.provider, id: ctx.model.id } : undefined;
|
|
812
|
+
const preferredProvider = ctx.model?.provider;
|
|
813
|
+
const names = requestedAgent ? [requestedAgent] : [...BUILTIN_AGENT_NAMES];
|
|
814
|
+
|
|
815
|
+
if (requestedAgent) {
|
|
816
|
+
const agent = builtinByName.get(requestedAgent);
|
|
817
|
+
if (!agent) return result(`Builtin agent '${requestedAgent}' not found.`, true);
|
|
818
|
+
const resolvedModel = resolveSubagentModelOverride(agent.model, currentModel, availableModels, preferredProvider);
|
|
819
|
+
const lines = [
|
|
820
|
+
"Builtin subagent model",
|
|
821
|
+
"",
|
|
822
|
+
`Agent: ${requestedAgent}`,
|
|
823
|
+
"Effective model:",
|
|
824
|
+
` ${resolvedModel ?? "(unresolved)"}`,
|
|
825
|
+
`Source: ${formatModelSource(agent, currentModel)}`,
|
|
826
|
+
];
|
|
827
|
+
if (agent.override) {
|
|
828
|
+
lines.push("Override file:");
|
|
829
|
+
lines.push(` ${agent.override.path}`);
|
|
830
|
+
}
|
|
831
|
+
if (agent.model && resolvedModel && agent.model !== resolvedModel) {
|
|
832
|
+
lines.push("Requested model setting:");
|
|
833
|
+
lines.push(` ${agent.model}`);
|
|
834
|
+
}
|
|
835
|
+
if (agent.disabled) lines.push("Disabled: true");
|
|
836
|
+
lines.push("Current session model:");
|
|
837
|
+
lines.push(` ${currentModel ? `${currentModel.provider}/${currentModel.id}` : "(unavailable)"}`);
|
|
838
|
+
return result(lines.join("\n"));
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
const lines = [
|
|
842
|
+
"Builtin subagent models",
|
|
843
|
+
"",
|
|
844
|
+
"Current session model:",
|
|
845
|
+
` ${currentModel ? `${currentModel.provider}/${currentModel.id}` : "(unavailable)"}`,
|
|
846
|
+
"",
|
|
847
|
+
];
|
|
848
|
+
|
|
849
|
+
for (const name of names) {
|
|
850
|
+
const agent = builtinByName.get(name);
|
|
851
|
+
if (!agent) {
|
|
852
|
+
lines.push(name);
|
|
853
|
+
lines.push(" model:");
|
|
854
|
+
lines.push(" (builtin definition not found)");
|
|
855
|
+
lines.push(" source: missing");
|
|
856
|
+
lines.push("");
|
|
857
|
+
continue;
|
|
858
|
+
}
|
|
859
|
+
const resolvedModel = resolveSubagentModelOverride(agent.model, currentModel, availableModels, preferredProvider);
|
|
860
|
+
const source = `${formatModelSource(agent, currentModel)}${agent.disabled ? "; disabled" : ""}`;
|
|
861
|
+
lines.push(name);
|
|
862
|
+
lines.push(" model:");
|
|
863
|
+
lines.push(` ${resolvedModel ?? "(unresolved)"}`);
|
|
864
|
+
lines.push(` source: ${source}`);
|
|
865
|
+
lines.push("");
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
return result(lines.join("\n"));
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
function handleGet(params: ManagementParams, ctx: ManagementContext): AgentToolResult<Details> {
|
|
872
|
+
if (!params.agent && !params.chainName) return result("Specify 'agent' or 'chainName' for get.", true);
|
|
873
|
+
const scope = normalizeListScope(params.agentScope);
|
|
874
|
+
if (!scope) return result("agentScope must be 'user', 'project', or 'both' for get.", true);
|
|
875
|
+
const hasBoth = Boolean(params.agent && params.chainName);
|
|
876
|
+
const blocks: string[] = [];
|
|
877
|
+
let anyFound = false;
|
|
878
|
+
if (params.agent) {
|
|
879
|
+
const matches = findAgents(params.agent, ctx.cwd, scope);
|
|
880
|
+
const distinctNames = [...new Set(matches.map((agent) => agent.name))];
|
|
881
|
+
if (distinctNames.length > 1) {
|
|
882
|
+
const msg = `Ambiguous agent alias or name '${params.agent}': ${distinctNames.sort((a, b) => a.localeCompare(b)).join(", ")}`;
|
|
883
|
+
if (!hasBoth) return result(msg, true);
|
|
884
|
+
blocks.push(msg);
|
|
885
|
+
} else if (!matches.length) {
|
|
886
|
+
const msg = `Agent '${params.agent}' not found. Available: ${availableNames(ctx.cwd, "agent").join(", ") || "none"}.`;
|
|
887
|
+
if (!hasBoth) return result(msg, true);
|
|
888
|
+
blocks.push(msg);
|
|
889
|
+
} else {
|
|
890
|
+
anyFound = true;
|
|
891
|
+
blocks.push(...matches.map(formatAgentDetail));
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
if (params.chainName) {
|
|
895
|
+
const matches = findChains(params.chainName, ctx.cwd, scope);
|
|
896
|
+
if (!matches.length) {
|
|
897
|
+
const msg = `Chain '${params.chainName}' not found. Available: ${availableNames(ctx.cwd, "chain").join(", ") || "none"}.`;
|
|
898
|
+
if (!hasBoth) return result(msg, true);
|
|
899
|
+
blocks.push(msg);
|
|
900
|
+
} else {
|
|
901
|
+
anyFound = true;
|
|
902
|
+
blocks.push(...matches.map(formatChainDetail));
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
return result(blocks.join("\n\n"), !anyFound);
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
export function handleCreate(params: ManagementParams, ctx: ManagementContext): AgentToolResult<Details> {
|
|
909
|
+
const parsedConfig = configObject(params.config);
|
|
910
|
+
if (parsedConfig.error) return result(parsedConfig.error, true);
|
|
911
|
+
const cfg = parsedConfig.value;
|
|
912
|
+
if (!cfg) return result("config required for create.", true);
|
|
913
|
+
if (typeof cfg.name !== "string" || !cfg.name.trim()) return result("config.name is required and must be a non-empty string.", true);
|
|
914
|
+
if (typeof cfg.description !== "string" || !cfg.description.trim()) return result("config.description is required and must be a non-empty string.", true);
|
|
915
|
+
const name = sanitizeName(cfg.name);
|
|
916
|
+
if (!name) return result("config.name is invalid after sanitization. Use letters, numbers, spaces, or hyphens.", true);
|
|
917
|
+
const parsedPackage = parsePackageConfig(cfg.package);
|
|
918
|
+
if (parsedPackage.error) return result(parsedPackage.error, true);
|
|
919
|
+
const runtimeName = buildRuntimeName(name, parsedPackage.packageName);
|
|
920
|
+
const scopeRaw = cfg.scope ?? "user";
|
|
921
|
+
if (scopeRaw !== "user" && scopeRaw !== "project") return result("config.scope must be 'user' or 'project'.", true);
|
|
922
|
+
const scope = scopeRaw as ManagementScope;
|
|
923
|
+
const isChain = hasKey(cfg, "steps");
|
|
924
|
+
const d = discoverAgentsAll(ctx.cwd);
|
|
925
|
+
const projectConfigDir = getProjectConfigDir(ctx.cwd);
|
|
926
|
+
const targetDir = isChain
|
|
927
|
+
? scope === "user" ? d.userChainDir : d.projectChainDir ?? path.join(projectConfigDir, "chains")
|
|
928
|
+
: scope === "user" ? d.userDir : d.projectDir ?? path.join(projectConfigDir, "agents");
|
|
929
|
+
fs.mkdirSync(targetDir, { recursive: true });
|
|
930
|
+
if (nameExistsInScope(ctx.cwd, scope, runtimeName)) return result(`Name '${runtimeName}' already exists in ${scope} scope. Use update instead.`, true);
|
|
931
|
+
const targetPath = path.join(targetDir, isChain ? `${runtimeName}.chain.md` : `${runtimeName}.md`);
|
|
932
|
+
if (fs.existsSync(targetPath)) return result(`File already exists at ${targetPath} but is not a valid ${isChain ? "chain" : "agent"} definition. Remove or rename it first.`, true);
|
|
933
|
+
const warnings: string[] = [];
|
|
934
|
+
if (!isChain && d.builtin.some((a) => a.name === runtimeName)) warnings.push(`Note: this shadows the builtin agent '${runtimeName}'.`);
|
|
935
|
+
if (isChain) {
|
|
936
|
+
const parsed = parseStepList(cfg.steps);
|
|
937
|
+
if (parsed.error) return result(parsed.error, true);
|
|
938
|
+
const chain: ChainConfig = {
|
|
939
|
+
name: runtimeName,
|
|
940
|
+
localName: name,
|
|
941
|
+
...(parsedPackage.packageName !== undefined ? { packageName: parsedPackage.packageName } : {}),
|
|
942
|
+
description: cfg.description.trim(),
|
|
943
|
+
source: scope,
|
|
944
|
+
filePath: targetPath,
|
|
945
|
+
steps: parsed.steps!,
|
|
946
|
+
};
|
|
947
|
+
fs.writeFileSync(targetPath, serializeChain(chain), "utf-8");
|
|
948
|
+
const missing = unknownChainAgents(ctx.cwd, chain.steps);
|
|
949
|
+
if (missing.length) warnings.push(`Warning: chain steps reference unknown agents: ${missing.join(", ")}.`);
|
|
950
|
+
warnings.push(...chainStepWarnings(ctx, chain.steps));
|
|
951
|
+
return result([`Created chain '${runtimeName}' at ${targetPath}.`, ...warnings].join("\n"));
|
|
952
|
+
}
|
|
953
|
+
const agent: AgentConfig = {
|
|
954
|
+
name: runtimeName,
|
|
955
|
+
localName: name,
|
|
956
|
+
...(parsedPackage.packageName !== undefined ? { packageName: parsedPackage.packageName } : {}),
|
|
957
|
+
description: cfg.description.trim(),
|
|
958
|
+
source: scope,
|
|
959
|
+
filePath: targetPath,
|
|
960
|
+
systemPrompt: "",
|
|
961
|
+
systemPromptMode: defaultSystemPromptMode(name),
|
|
962
|
+
inheritProjectContext: defaultInheritProjectContext(name),
|
|
963
|
+
inheritSkills: defaultInheritSkills(),
|
|
964
|
+
};
|
|
965
|
+
const applyError = applyAgentConfig(agent, cfg);
|
|
966
|
+
if (applyError) return result(applyError, true);
|
|
967
|
+
const mw = modelWarning(ctx, agent.model);
|
|
968
|
+
if (mw) warnings.push(mw);
|
|
969
|
+
const fmw = fallbackModelsWarning(ctx, agent.fallbackModels);
|
|
970
|
+
if (fmw) warnings.push(fmw);
|
|
971
|
+
const sw = skillsWarning(ctx.cwd, agent);
|
|
972
|
+
if (sw) warnings.push(sw);
|
|
973
|
+
fs.writeFileSync(targetPath, serializeAgent(agent), "utf-8");
|
|
974
|
+
return result([`Created agent '${runtimeName}' at ${targetPath}.`, ...warnings].join("\n"));
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
export function handleUpdate(params: ManagementParams, ctx: ManagementContext): AgentToolResult<Details> {
|
|
978
|
+
if (!params.agent && !params.chainName) return result("Specify 'agent' or 'chainName' for update.", true);
|
|
979
|
+
if (params.agent && params.chainName) return result("Specify either 'agent' or 'chainName', not both.", true);
|
|
980
|
+
const parsedConfig = configObject(params.config);
|
|
981
|
+
if (parsedConfig.error) return result(parsedConfig.error, true);
|
|
982
|
+
const cfg = parsedConfig.value;
|
|
983
|
+
if (!cfg) return result("config required for update.", true);
|
|
984
|
+
const warnings: string[] = [];
|
|
985
|
+
if (params.agent) {
|
|
986
|
+
const scopeHint = asDisambiguationScope(params.agentScope);
|
|
987
|
+
const targetOrError = resolveTarget("agent", params.agent, findAgents(params.agent, ctx.cwd, scopeHint ?? "both"), ctx.cwd, scopeHint);
|
|
988
|
+
if ("content" in targetOrError) return targetOrError;
|
|
989
|
+
const target = targetOrError;
|
|
990
|
+
if (target.source !== "user" && target.source !== "project") return result(`Cannot update ${target.source} agent '${target.name}'. Eject it to user or project scope first.`, true);
|
|
991
|
+
const updated = editableAgentConfig(target);
|
|
992
|
+
const oldName = target.name;
|
|
993
|
+
if (hasKey(cfg, "name") && (typeof cfg.name !== "string" || !cfg.name.trim())) return result("config.name must be a non-empty string when provided.", true);
|
|
994
|
+
if (hasKey(cfg, "description") && (typeof cfg.description !== "string" || !cfg.description.trim())) return result("config.description must be a non-empty string when provided.", true);
|
|
995
|
+
let newLocalName = target.localName ?? frontmatterNameForConfig(target);
|
|
996
|
+
if (hasKey(cfg, "name")) {
|
|
997
|
+
newLocalName = sanitizeName(cfg.name as string);
|
|
998
|
+
if (!newLocalName) return result("config.name is invalid after sanitization.", true);
|
|
999
|
+
}
|
|
1000
|
+
let newPackageName = target.packageName;
|
|
1001
|
+
if (hasKey(cfg, "package")) {
|
|
1002
|
+
const parsedPackage = parsePackageConfig(cfg.package);
|
|
1003
|
+
if (parsedPackage.error) return result(parsedPackage.error, true);
|
|
1004
|
+
newPackageName = parsedPackage.packageName;
|
|
1005
|
+
}
|
|
1006
|
+
const applyError = applyAgentConfig(updated, cfg);
|
|
1007
|
+
if (applyError) return result(applyError, true);
|
|
1008
|
+
const preserveFrontmatterFields = preservedAgentFrontmatterFields(target, cfg);
|
|
1009
|
+
updated.localName = newLocalName;
|
|
1010
|
+
if (newPackageName !== undefined) updated.packageName = newPackageName;
|
|
1011
|
+
else delete updated.packageName;
|
|
1012
|
+
updated.name = buildRuntimeName(newLocalName, newPackageName);
|
|
1013
|
+
if (hasKey(cfg, "description")) updated.description = (cfg.description as string).trim();
|
|
1014
|
+
if (hasKey(cfg, "model")) {
|
|
1015
|
+
const mw = modelWarning(ctx, updated.model);
|
|
1016
|
+
if (mw) warnings.push(mw);
|
|
1017
|
+
}
|
|
1018
|
+
if (hasKey(cfg, "fallbackModels")) {
|
|
1019
|
+
const fmw = fallbackModelsWarning(ctx, updated.fallbackModels);
|
|
1020
|
+
if (fmw) warnings.push(fmw);
|
|
1021
|
+
}
|
|
1022
|
+
if (hasKey(cfg, "skills") || hasKey(cfg, "skillPath")) {
|
|
1023
|
+
const sw = skillsWarning(ctx.cwd, updated);
|
|
1024
|
+
if (sw) warnings.push(sw);
|
|
1025
|
+
}
|
|
1026
|
+
if (updated.name !== oldName) {
|
|
1027
|
+
const renamed = renamePath("agent", target.filePath, updated.name, target.source, ctx.cwd);
|
|
1028
|
+
if (renamed.error) return result(renamed.error, true);
|
|
1029
|
+
updated.filePath = renamed.filePath!;
|
|
1030
|
+
}
|
|
1031
|
+
fs.writeFileSync(updated.filePath, serializeAgent(updated, { preserveFrontmatterFields }), "utf-8");
|
|
1032
|
+
if (updated.name !== oldName) {
|
|
1033
|
+
const refs = discoverAgentsAll(ctx.cwd).chains.filter((c) => c.steps.some((s) => s.agent === oldName)).map((c) => `${c.name} (${c.source})`);
|
|
1034
|
+
if (refs.length) warnings.push(`Warning: chains still reference '${oldName}': ${refs.join(", ")}.`);
|
|
1035
|
+
}
|
|
1036
|
+
const headline = updated.name === oldName
|
|
1037
|
+
? `Updated agent '${updated.name}' at ${updated.filePath}.`
|
|
1038
|
+
: `Updated agent '${oldName}' to '${updated.name}' at ${updated.filePath}.`;
|
|
1039
|
+
return result([headline, ...warnings].join("\n"));
|
|
1040
|
+
}
|
|
1041
|
+
const scopeHint = asDisambiguationScope(params.agentScope);
|
|
1042
|
+
const targetOrError = resolveTarget("chain", params.chainName!, findChains(params.chainName!, ctx.cwd, scopeHint ?? "both"), ctx.cwd, scopeHint);
|
|
1043
|
+
if ("content" in targetOrError) return targetOrError;
|
|
1044
|
+
const target = targetOrError;
|
|
1045
|
+
if (target.source !== "user" && target.source !== "project") return result(`Cannot update ${target.source} chain '${target.name}'. Eject it to user or project scope first.`, true);
|
|
1046
|
+
const updated: ChainConfig = { ...target, steps: [...target.steps] };
|
|
1047
|
+
const oldName = target.name;
|
|
1048
|
+
if (hasKey(cfg, "name") && (typeof cfg.name !== "string" || !cfg.name.trim())) return result("config.name must be a non-empty string when provided.", true);
|
|
1049
|
+
if (hasKey(cfg, "description") && (typeof cfg.description !== "string" || !cfg.description.trim())) return result("config.description must be a non-empty string when provided.", true);
|
|
1050
|
+
let newLocalName = target.localName ?? frontmatterNameForConfig(target);
|
|
1051
|
+
if (hasKey(cfg, "name")) {
|
|
1052
|
+
newLocalName = sanitizeName(cfg.name as string);
|
|
1053
|
+
if (!newLocalName) return result("config.name is invalid after sanitization.", true);
|
|
1054
|
+
}
|
|
1055
|
+
let newPackageName = target.packageName;
|
|
1056
|
+
if (hasKey(cfg, "package")) {
|
|
1057
|
+
const parsedPackage = parsePackageConfig(cfg.package);
|
|
1058
|
+
if (parsedPackage.error) return result(parsedPackage.error, true);
|
|
1059
|
+
newPackageName = parsedPackage.packageName;
|
|
1060
|
+
}
|
|
1061
|
+
let parsedSteps: ChainStepConfig[] | undefined;
|
|
1062
|
+
if (hasKey(cfg, "steps")) {
|
|
1063
|
+
const parsed = parseStepList(cfg.steps);
|
|
1064
|
+
if (parsed.error) return result(parsed.error, true);
|
|
1065
|
+
parsedSteps = parsed.steps!;
|
|
1066
|
+
}
|
|
1067
|
+
updated.localName = newLocalName;
|
|
1068
|
+
if (newPackageName !== undefined) updated.packageName = newPackageName;
|
|
1069
|
+
else delete updated.packageName;
|
|
1070
|
+
updated.name = buildRuntimeName(newLocalName, newPackageName);
|
|
1071
|
+
if (hasKey(cfg, "description")) updated.description = (cfg.description as string).trim();
|
|
1072
|
+
if (parsedSteps) {
|
|
1073
|
+
updated.steps = parsedSteps;
|
|
1074
|
+
const missing = unknownChainAgents(ctx.cwd, updated.steps);
|
|
1075
|
+
if (missing.length) warnings.push(`Warning: chain steps reference unknown agents: ${missing.join(", ")}.`);
|
|
1076
|
+
warnings.push(...chainStepWarnings(ctx, updated.steps));
|
|
1077
|
+
}
|
|
1078
|
+
if (updated.name !== oldName) {
|
|
1079
|
+
const renamed = renamePath("chain", target.filePath, updated.name, target.source, ctx.cwd);
|
|
1080
|
+
if (renamed.error) return result(renamed.error, true);
|
|
1081
|
+
updated.filePath = renamed.filePath!;
|
|
1082
|
+
}
|
|
1083
|
+
fs.writeFileSync(updated.filePath, updated.filePath.endsWith(".chain.json") ? serializeJsonChain(updated) : serializeChain(updated), "utf-8");
|
|
1084
|
+
const headline = updated.name === oldName
|
|
1085
|
+
? `Updated chain '${updated.name}' at ${updated.filePath}.`
|
|
1086
|
+
: `Updated chain '${oldName}' to '${updated.name}' at ${updated.filePath}.`;
|
|
1087
|
+
return result([headline, ...warnings].join("\n"));
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
function handleDelete(params: ManagementParams, ctx: ManagementContext): AgentToolResult<Details> {
|
|
1091
|
+
if (!params.agent && !params.chainName) return result("Specify 'agent' or 'chainName' for delete.", true);
|
|
1092
|
+
if (params.agent && params.chainName) return result("Specify either 'agent' or 'chainName', not both.", true);
|
|
1093
|
+
const scopeHint = asDisambiguationScope(params.agentScope);
|
|
1094
|
+
if (params.agent) {
|
|
1095
|
+
const targetOrError = resolveTarget("agent", params.agent, findAgents(params.agent, ctx.cwd, scopeHint ?? "both"), ctx.cwd, scopeHint);
|
|
1096
|
+
if ("content" in targetOrError) return targetOrError;
|
|
1097
|
+
const target = targetOrError;
|
|
1098
|
+
fs.unlinkSync(target.filePath);
|
|
1099
|
+
const refs = discoverAgentsAll(ctx.cwd).chains.filter((c) => c.steps.some((s) => s.agent === target.name)).map((c) => `${c.name} (${c.source})`);
|
|
1100
|
+
const lines = [`Deleted agent '${target.name}' at ${target.filePath}.`];
|
|
1101
|
+
if (refs.length) lines.push(`Warning: chains reference deleted agent '${target.name}': ${refs.join(", ")}.`);
|
|
1102
|
+
return result(lines.join("\n"));
|
|
1103
|
+
}
|
|
1104
|
+
const targetOrError = resolveTarget("chain", params.chainName!, findChains(params.chainName!, ctx.cwd, scopeHint ?? "both"), ctx.cwd, scopeHint);
|
|
1105
|
+
if ("content" in targetOrError) return targetOrError;
|
|
1106
|
+
const target = targetOrError;
|
|
1107
|
+
fs.unlinkSync(target.filePath);
|
|
1108
|
+
return result(`Deleted chain '${target.name}' at ${target.filePath}.`);
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
function handleEject(params: ManagementParams, ctx: ManagementContext): AgentToolResult<Details> {
|
|
1112
|
+
if (!params.agent) return result("Specify 'agent' for eject.", true);
|
|
1113
|
+
const raw = params.agent.trim();
|
|
1114
|
+
const sanitized = sanitizeName(raw);
|
|
1115
|
+
const parsedScope = actionScope(params.agentScope, "eject");
|
|
1116
|
+
if (parsedScope.error) return parsedScope.error;
|
|
1117
|
+
const scope = parsedScope.scope!;
|
|
1118
|
+
const d = discoverAgentsAll(ctx.cwd);
|
|
1119
|
+
const source = [...d.package, ...d.builtin].find((a) => a.name === raw || a.name === sanitized);
|
|
1120
|
+
if (!source) {
|
|
1121
|
+
return result(`Agent '${raw}' not found or is not a bundled/package agent. eject copies a builtin or package agent to ${scope} scope so it can be customized. Available: ${availableNames(ctx.cwd, "agent").join(", ") || "none"}.`, true);
|
|
1122
|
+
}
|
|
1123
|
+
const runtimeName = source.name;
|
|
1124
|
+
const existingCustom = (scope === "user" ? d.user : d.project).find((a) => a.name === runtimeName);
|
|
1125
|
+
if (existingCustom) {
|
|
1126
|
+
return result(`Agent '${runtimeName}' is already a custom ${scope} agent at ${existingCustom.filePath}. Edit it with { action: "update", agent: "${runtimeName}" } or delete it first.`, true);
|
|
1127
|
+
}
|
|
1128
|
+
if (nameExistsInScope(ctx.cwd, scope, runtimeName)) {
|
|
1129
|
+
return result(`An agent or chain named '${runtimeName}' already exists in ${scope} scope. Remove or rename it first.`, true);
|
|
1130
|
+
}
|
|
1131
|
+
const projectConfigDir = getProjectConfigDir(ctx.cwd);
|
|
1132
|
+
const targetDir = scope === "user" ? d.userDir : d.projectDir ?? path.join(projectConfigDir, "agents");
|
|
1133
|
+
fs.mkdirSync(targetDir, { recursive: true });
|
|
1134
|
+
const targetPath = path.join(targetDir, `${runtimeName}.md`);
|
|
1135
|
+
if (fs.existsSync(targetPath)) {
|
|
1136
|
+
return result(`File already exists at ${targetPath} but is not a valid agent definition. Remove or rename it first.`, true);
|
|
1137
|
+
}
|
|
1138
|
+
let content: string;
|
|
1139
|
+
try {
|
|
1140
|
+
content = fs.readFileSync(source.filePath, "utf-8");
|
|
1141
|
+
} catch (error) {
|
|
1142
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
1143
|
+
return result(`Failed to read source agent at ${source.filePath}: ${message}`, true);
|
|
1144
|
+
}
|
|
1145
|
+
fs.writeFileSync(targetPath, content, "utf-8");
|
|
1146
|
+
return result(`Ejected agent '${runtimeName}' from ${source.source} to ${scope} scope at ${targetPath}. Edit it there to customize; it shadows the bundled ${source.source} agent of the same name.`);
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
function handleDisable(params: ManagementParams, ctx: ManagementContext): AgentToolResult<Details> {
|
|
1150
|
+
if (!params.agent) return result("Specify 'agent' for disable.", true);
|
|
1151
|
+
const raw = params.agent.trim();
|
|
1152
|
+
const parsedScope = actionScope(params.agentScope, "disable");
|
|
1153
|
+
if (parsedScope.error) return parsedScope.error;
|
|
1154
|
+
const scope = parsedScope.scope!;
|
|
1155
|
+
const d = discoverAgentsAll(ctx.cwd);
|
|
1156
|
+
if (scope === "project" && d.projectSettingsPath === null) {
|
|
1157
|
+
return result("Project override is not available here: no project config root (.pi or .agents) was found above the cwd. Use agentScope: 'user' or run from inside a project.", true);
|
|
1158
|
+
}
|
|
1159
|
+
const effective = resolveEffectiveAgent(d, raw);
|
|
1160
|
+
if (effective.error) return result(effective.error, true);
|
|
1161
|
+
if (!effective.agent) {
|
|
1162
|
+
return result(`Agent '${raw}' not found. Available: ${availableNames(ctx.cwd, "agent").join(", ") || "none"}.`, true);
|
|
1163
|
+
}
|
|
1164
|
+
const runtimeName = effective.agent.name;
|
|
1165
|
+
const settingsPath = mergeBuiltinAgentOverride(ctx.cwd, runtimeName, scope, { disabled: true });
|
|
1166
|
+
const after = resolveEffectiveAgent(discoverAgentsAll(ctx.cwd), raw).agent;
|
|
1167
|
+
if (after?.disabled === true) {
|
|
1168
|
+
return result(`Disabled agent '${runtimeName}' via ${scope} settings override at ${settingsPath}. It is now hidden from runtime discovery and { action: "list" }.`);
|
|
1169
|
+
}
|
|
1170
|
+
return result(`Wrote a disabled override for '${runtimeName}' at ${settingsPath}, but the agent is still enabled. A higher-precedence ${after?.override?.scope ?? "project"} override is likely winning. Try agentScope: '${after?.override?.scope ?? "project"}'.`, true);
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
function handleEnable(params: ManagementParams, ctx: ManagementContext): AgentToolResult<Details> {
|
|
1174
|
+
if (!params.agent) return result("Specify 'agent' for enable.", true);
|
|
1175
|
+
const raw = params.agent.trim();
|
|
1176
|
+
const parsedScope = actionScope(params.agentScope, "enable");
|
|
1177
|
+
if (parsedScope.error) return parsedScope.error;
|
|
1178
|
+
const scope = parsedScope.scope!;
|
|
1179
|
+
const d = discoverAgentsAll(ctx.cwd);
|
|
1180
|
+
if (scope === "project" && d.projectSettingsPath === null) {
|
|
1181
|
+
return result("Project override is not available here: no project config root (.pi or .agents) was found above the cwd. Use agentScope: 'user' or run from inside a project.", true);
|
|
1182
|
+
}
|
|
1183
|
+
const effective = resolveEffectiveAgent(d, raw);
|
|
1184
|
+
if (effective.error) return result(effective.error, true);
|
|
1185
|
+
if (!effective.agent) {
|
|
1186
|
+
return result(`Agent '${raw}' not found. Available: ${availableNames(ctx.cwd, "agent").join(", ") || "none"}.`, true);
|
|
1187
|
+
}
|
|
1188
|
+
const runtimeName = effective.agent.name;
|
|
1189
|
+
const { path: settingsPath, removed } = removeBuiltinAgentOverrideFields(ctx.cwd, runtimeName, scope, ["disabled"]);
|
|
1190
|
+
const after = resolveEffectiveAgent(discoverAgentsAll(ctx.cwd), raw).agent;
|
|
1191
|
+
if (after && after.disabled !== true) {
|
|
1192
|
+
if (removed) return result(`Enabled agent '${runtimeName}' (removed disabled override at ${settingsPath}).`);
|
|
1193
|
+
return result(`Agent '${runtimeName}' is already enabled.`);
|
|
1194
|
+
}
|
|
1195
|
+
if (after?.override?.scope && after.override.scope !== scope) {
|
|
1196
|
+
return result(`Agent '${runtimeName}' is still disabled via a ${after.override.scope} scope override at ${after.override.path}. Specify agentScope: '${after.override.scope}' to enable it.`, true);
|
|
1197
|
+
}
|
|
1198
|
+
return result(`Agent '${runtimeName}' is still disabled after removing the ${scope} disabled override. It may be hidden via subagents.disableBuiltins in ${after?.override?.scope ?? scope} settings at ${after?.override?.path ?? settingsPath}.`, true);
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
function handleReset(params: ManagementParams, ctx: ManagementContext): AgentToolResult<Details> {
|
|
1202
|
+
if (!params.agent) return result("Specify 'agent' for reset.", true);
|
|
1203
|
+
const raw = params.agent.trim();
|
|
1204
|
+
const sanitized = sanitizeName(raw);
|
|
1205
|
+
const parsedScope = actionScope(params.agentScope, "reset");
|
|
1206
|
+
if (parsedScope.error) return parsedScope.error;
|
|
1207
|
+
const scope = parsedScope.scope!;
|
|
1208
|
+
const d = discoverAgentsAll(ctx.cwd);
|
|
1209
|
+
if (scope === "project" && d.projectSettingsPath === null) {
|
|
1210
|
+
return result("Project override is not available here: no project config root (.pi or .agents) was found above the cwd. Use agentScope: 'user' or run from inside a project.", true);
|
|
1211
|
+
}
|
|
1212
|
+
const bundled = [...d.package, ...d.builtin].find((a) => a.name === raw || a.name === sanitized);
|
|
1213
|
+
if (!bundled) {
|
|
1214
|
+
const custom = [...d.user, ...d.project].find((a) => a.name === raw || a.name === sanitized);
|
|
1215
|
+
if (custom) {
|
|
1216
|
+
return result(`Agent '${raw}' has no bundled default to reset to. Use { action: "delete", agent: "${custom.name}" } to remove the custom ${custom.source} agent.`, true);
|
|
1217
|
+
}
|
|
1218
|
+
return result(`Agent '${raw}' not found. Available: ${availableNames(ctx.cwd, "agent").join(", ") || "none"}.`, true);
|
|
1219
|
+
}
|
|
1220
|
+
const runtimeName = bundled.name;
|
|
1221
|
+
const custom = (scope === "user" ? d.user : d.project).find((a) => a.name === raw || a.name === sanitized);
|
|
1222
|
+
const lines: string[] = [];
|
|
1223
|
+
if (custom) {
|
|
1224
|
+
fs.unlinkSync(custom.filePath);
|
|
1225
|
+
lines.push(`Deleted custom ${scope} agent file at ${custom.filePath}.`);
|
|
1226
|
+
}
|
|
1227
|
+
const overrideRemoval = removeBuiltinAgentOverride(ctx.cwd, runtimeName, scope);
|
|
1228
|
+
if (overrideRemoval.removed) lines.push(`Removed ${scope} settings override at ${overrideRemoval.path}.`);
|
|
1229
|
+
if (lines.length === 0) {
|
|
1230
|
+
const otherScope = scope === "user" ? "project" : "user";
|
|
1231
|
+
const otherCustom = (otherScope === "user" ? d.user : d.project).find((a) => a.name === raw || a.name === sanitized);
|
|
1232
|
+
const hasOtherOverride = bundled.override?.scope === otherScope;
|
|
1233
|
+
const note = (otherCustom || hasOtherOverride)
|
|
1234
|
+
? ` Customization exists in ${otherScope} scope; specify agentScope: '${otherScope}' to reset it.`
|
|
1235
|
+
: "";
|
|
1236
|
+
return result(`Agent '${runtimeName}' has no ${scope} customization to reset.${note} It is at its bundled ${bundled.source} default.`);
|
|
1237
|
+
}
|
|
1238
|
+
lines.push(`Reset agent '${runtimeName}' to its bundled ${bundled.source} default.`);
|
|
1239
|
+
return result(lines.join("\n"));
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
export function handleManagementAction(action: string, params: ManagementParams, ctx: ManagementContext): AgentToolResult<Details> {
|
|
1243
|
+
switch (action as ManagementAction) {
|
|
1244
|
+
case "list": return handleList(params, ctx);
|
|
1245
|
+
case "get": return handleGet(params, ctx);
|
|
1246
|
+
case "models": return handleModels(params, ctx);
|
|
1247
|
+
case "create": return handleCreate(params, ctx);
|
|
1248
|
+
case "update": return handleUpdate(params, ctx);
|
|
1249
|
+
case "delete": return handleDelete(params, ctx);
|
|
1250
|
+
case "eject": return handleEject(params, ctx);
|
|
1251
|
+
case "disable": return handleDisable(params, ctx);
|
|
1252
|
+
case "enable": return handleEnable(params, ctx);
|
|
1253
|
+
case "reset": return handleReset(params, ctx);
|
|
1254
|
+
default: return result(`Unknown action: ${action}`, true);
|
|
1255
|
+
}
|
|
1256
|
+
}
|