@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,2146 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Rendering functions for subagent results
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as path from "node:path";
|
|
6
|
+
import type { AgentToolResult } from "@earendil-works/pi-agent-core";
|
|
7
|
+
import { getMarkdownTheme, keyText, type ExtensionContext } from "@earendil-works/pi-coding-agent";
|
|
8
|
+
import { Container, Markdown, Spacer, Text, visibleWidth, type Component } from "@earendil-works/pi-tui";
|
|
9
|
+
import {
|
|
10
|
+
type AgentProgress,
|
|
11
|
+
type AsyncJobState,
|
|
12
|
+
type AsyncJobStep,
|
|
13
|
+
type AsyncParallelGroupStatus,
|
|
14
|
+
type Details,
|
|
15
|
+
type NestedRunSummary,
|
|
16
|
+
type NestedStepSummary,
|
|
17
|
+
type WorkflowNodeStatus,
|
|
18
|
+
MAX_WIDGET_JOBS,
|
|
19
|
+
POLL_INTERVAL_MS,
|
|
20
|
+
WIDGET_KEY,
|
|
21
|
+
} from "../shared/types.ts";
|
|
22
|
+
import { sanitizeDisplayText, truncateDisplayText } from "../shared/display-text.ts";
|
|
23
|
+
import { formatTokens, formatUsage, formatDuration, formatModelThinking, formatToolCall, shortenPath } from "../shared/formatters.ts";
|
|
24
|
+
import { getDisplayItems, getSingleResultOutput } from "../shared/utils.ts";
|
|
25
|
+
import { flatToLogicalStepIndex } from "../runs/background/parallel-groups.ts";
|
|
26
|
+
import { formatNestedAggregate } from "../runs/shared/nested-render.ts";
|
|
27
|
+
import { aggregateStepStatus, formatActivityLabel, formatAgentRunningLabel, formatParallelOutcome } from "../shared/status-format.ts";
|
|
28
|
+
import { contextModeBadge, contextModePrefix } from "../runs/shared/context-mode.ts";
|
|
29
|
+
import { buildWorkflowChatProgressRows, type WorkflowChatProgressRow } from "../workflows/chat-progress.ts";
|
|
30
|
+
|
|
31
|
+
type Theme = ExtensionContext["ui"]["theme"];
|
|
32
|
+
|
|
33
|
+
function liveDetailKeyText(): string {
|
|
34
|
+
return keyText("app.tools.expand");
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function liveDetailHintText(): string {
|
|
38
|
+
return `Press ${liveDetailKeyText()} for live detail`;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function getTermWidth(): number {
|
|
42
|
+
return process.stdout.columns || 120;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
const segmenter = new Intl.Segmenter(undefined, { granularity: "grapheme" });
|
|
46
|
+
const ansiStylePattern = /\x1b\[[0-9;]*m/y;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Truncate a line to maxWidth, preserving ANSI styling through the ellipsis.
|
|
50
|
+
*
|
|
51
|
+
* pi-tui's truncateToWidth adds \x1b[0m before ellipsis which resets all styling,
|
|
52
|
+
* causing background color bleed in the TUI. This implementation tracks active
|
|
53
|
+
* ANSI styles and re-applies them before the ellipsis.
|
|
54
|
+
*
|
|
55
|
+
* Uses Intl.Segmenter for proper Unicode/emoji handling (not char-by-char).
|
|
56
|
+
*/
|
|
57
|
+
export function truncLine(text: string, maxWidth: number): string {
|
|
58
|
+
if (maxWidth <= 0) return "";
|
|
59
|
+
if (visibleWidth(text) <= maxWidth) return text;
|
|
60
|
+
|
|
61
|
+
const targetWidth = maxWidth - 1;
|
|
62
|
+
let result = "";
|
|
63
|
+
let currentWidth = 0;
|
|
64
|
+
let activeStyles: string[] = [];
|
|
65
|
+
let i = 0;
|
|
66
|
+
|
|
67
|
+
while (i < text.length) {
|
|
68
|
+
ansiStylePattern.lastIndex = i;
|
|
69
|
+
const ansiMatch = ansiStylePattern.exec(text);
|
|
70
|
+
if (ansiMatch) {
|
|
71
|
+
const code = ansiMatch[0];
|
|
72
|
+
result += code;
|
|
73
|
+
|
|
74
|
+
if (code === "\x1b[0m" || code === "\x1b[m") {
|
|
75
|
+
activeStyles = [];
|
|
76
|
+
} else {
|
|
77
|
+
activeStyles.push(code);
|
|
78
|
+
}
|
|
79
|
+
i += code.length;
|
|
80
|
+
continue;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
let end = text.indexOf("\x1b[", i);
|
|
84
|
+
if (end === i) end = text.indexOf("\x1b[", i + 2);
|
|
85
|
+
if (end === -1) end = text.length;
|
|
86
|
+
const textPortion = text.slice(i, end);
|
|
87
|
+
for (const seg of segmenter.segment(textPortion)) {
|
|
88
|
+
const grapheme = seg.segment;
|
|
89
|
+
const graphemeWidth = grapheme === "\x1b" ? 0 : visibleWidth(grapheme);
|
|
90
|
+
|
|
91
|
+
if (currentWidth + graphemeWidth > targetWidth) {
|
|
92
|
+
return result + activeStyles.join("") + "…";
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
result += grapheme;
|
|
96
|
+
currentWidth += graphemeWidth;
|
|
97
|
+
}
|
|
98
|
+
i = end;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return result + activeStyles.join("") + "…";
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
function wrapPlainText(text: string, maxWidth: number): string[] {
|
|
105
|
+
if (maxWidth <= 0) return [""];
|
|
106
|
+
const lines: string[] = [];
|
|
107
|
+
for (const rawLine of text.split("\n")) {
|
|
108
|
+
if (rawLine.length === 0) {
|
|
109
|
+
lines.push("");
|
|
110
|
+
continue;
|
|
111
|
+
}
|
|
112
|
+
let current = "";
|
|
113
|
+
let currentWidth = 0;
|
|
114
|
+
for (const seg of segmenter.segment(rawLine)) {
|
|
115
|
+
const grapheme = seg.segment;
|
|
116
|
+
const graphemeWidth = visibleWidth(grapheme);
|
|
117
|
+
if (graphemeWidth > maxWidth) continue;
|
|
118
|
+
if (currentWidth > 0 && currentWidth + graphemeWidth > maxWidth) {
|
|
119
|
+
lines.push(current);
|
|
120
|
+
current = grapheme;
|
|
121
|
+
currentWidth = graphemeWidth;
|
|
122
|
+
continue;
|
|
123
|
+
}
|
|
124
|
+
current += grapheme;
|
|
125
|
+
currentWidth += graphemeWidth;
|
|
126
|
+
}
|
|
127
|
+
lines.push(current);
|
|
128
|
+
}
|
|
129
|
+
return lines;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
const RUNNING_FRAMES = ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"];
|
|
133
|
+
const STATIC_RUNNING_GLYPH = "●";
|
|
134
|
+
|
|
135
|
+
type ProgressSeedSource = Partial<Pick<AgentProgress, "index" | "toolCount" | "tokens" | "durationMs" | "lastActivityAt" | "currentToolStartedAt" | "turnCount">>;
|
|
136
|
+
|
|
137
|
+
function runningSeed(...values: Array<number | undefined>): number | undefined {
|
|
138
|
+
let seed: number | undefined;
|
|
139
|
+
for (const value of values) {
|
|
140
|
+
if (value === undefined || !Number.isFinite(value)) continue;
|
|
141
|
+
seed = (seed ?? 0) + Math.trunc(value);
|
|
142
|
+
}
|
|
143
|
+
return seed;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
function runningGlyph(seed?: number): string {
|
|
147
|
+
if (seed === undefined) return STATIC_RUNNING_GLYPH;
|
|
148
|
+
return RUNNING_FRAMES[Math.abs(seed) % RUNNING_FRAMES.length]!;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
function animatedSeed(seed: number | undefined, frame: number | undefined): number | undefined {
|
|
152
|
+
if (frame === undefined) return seed;
|
|
153
|
+
return (seed ?? 0) + frame;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
function progressRunningSeed(progress: ProgressSeedSource | undefined): number | undefined {
|
|
157
|
+
if (!progress) return undefined;
|
|
158
|
+
return runningSeed(
|
|
159
|
+
progress.index,
|
|
160
|
+
progress.toolCount,
|
|
161
|
+
progress.tokens,
|
|
162
|
+
progress.durationMs,
|
|
163
|
+
progress.lastActivityAt,
|
|
164
|
+
progress.currentToolStartedAt,
|
|
165
|
+
progress.turnCount,
|
|
166
|
+
);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
interface LegacyResultAnimationContext {
|
|
170
|
+
state: { subagentResultAnimationTimer?: ReturnType<typeof setInterval> };
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export function clearLegacyResultAnimationTimer(context: LegacyResultAnimationContext): void {
|
|
174
|
+
const timer = context.state.subagentResultAnimationTimer;
|
|
175
|
+
if (!timer) return;
|
|
176
|
+
clearInterval(timer);
|
|
177
|
+
context.state.subagentResultAnimationTimer = undefined;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
function extractOutputTarget(task: string): string | undefined {
|
|
181
|
+
const writeToMatch = task.match(/\[Write to:\s*([^\]\n]+)\]/i);
|
|
182
|
+
if (writeToMatch?.[1]?.trim()) return writeToMatch[1].trim();
|
|
183
|
+
const findingsMatch = task.match(/Write your findings to(?: exactly this path)?:\s*([^\r\n]+)/i);
|
|
184
|
+
if (findingsMatch?.[1]?.trim()) return findingsMatch[1].trim();
|
|
185
|
+
const outputMatch = task.match(/[Oo]utput(?:\s+to)?\s*:\s*(\S+)/i);
|
|
186
|
+
if (outputMatch?.[1]?.trim()) return outputMatch[1].trim();
|
|
187
|
+
return undefined;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
function hasEmptyTextOutputWithoutOutputTarget(task: string, output: string): boolean {
|
|
191
|
+
if (output.trim()) return false;
|
|
192
|
+
return !extractOutputTarget(task);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
function getToolCallLines(
|
|
196
|
+
result: Pick<Details["results"][number], "messages" | "toolCalls">,
|
|
197
|
+
expanded: boolean,
|
|
198
|
+
): string[] {
|
|
199
|
+
if (result.messages) {
|
|
200
|
+
return getDisplayItems(result.messages)
|
|
201
|
+
.filter((item): item is { type: "tool"; name: string; args: Record<string, unknown> } => item.type === "tool")
|
|
202
|
+
.map((item) => formatToolCall(item.name, item.args, expanded));
|
|
203
|
+
}
|
|
204
|
+
return result.toolCalls?.map((toolCall) => expanded ? toolCall.expandedText : toolCall.text) ?? [];
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
const ansiEscapePattern = /\x1b\[[0-9;]*m/g;
|
|
208
|
+
const noisyStatusPatterns = [
|
|
209
|
+
/^(?:i|we)\s+(?:will|need|can|should|am|are)\b/i,
|
|
210
|
+
/^i(?:'m|’m| am)\b/i,
|
|
211
|
+
/\bso i (?:will|need|can)\b/i,
|
|
212
|
+
/^(?:checking|fetching|reading|inspecting|verifying|collecting|confirming|polling)\b/i,
|
|
213
|
+
/^(?:async\s+subagent\s+)?[\w.-]+\s*·\s*(?:step|agent)\s+\d+\/\d+\s*·/i,
|
|
214
|
+
/^(?:Step|Agent)\s+\d+\/\d+:\s+[\w.-]+\s*·\s*(?:running|queued|pending|complete|completed)\b/i,
|
|
215
|
+
/^Press\s+\S+\s+for\s+live\s+detail$/i,
|
|
216
|
+
/^output:\s+.+\/async-subagent-runs\//i,
|
|
217
|
+
];
|
|
218
|
+
const liveOutputWordSignalPattern = /\b(?:access denied|denied|error|exception|fail(?:ed|ure)?|fatal|panic|rejected|timeout|timed out|unable|warning)\b/i;
|
|
219
|
+
const liveOutputCodeSignalPattern = /\bE[A-Z0-9_]{2,}\b/;
|
|
220
|
+
|
|
221
|
+
function oneLine(text: string): string {
|
|
222
|
+
return text.replace(ansiEscapePattern, "").replace(/\s+/g, " ").trim();
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
function hasLiveOutputSignal(line: string): boolean {
|
|
226
|
+
const clean = oneLine(line);
|
|
227
|
+
return liveOutputWordSignalPattern.test(clean) || liveOutputCodeSignalPattern.test(clean);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
function isNoisyStatusLine(line: string): boolean {
|
|
231
|
+
const clean = oneLine(line);
|
|
232
|
+
return clean.length > 0
|
|
233
|
+
&& clean.length <= 240
|
|
234
|
+
&& !hasLiveOutputSignal(clean)
|
|
235
|
+
&& noisyStatusPatterns.some((pattern) => pattern.test(clean));
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
function latestActivityText(line: string): string {
|
|
239
|
+
return oneLine(line)
|
|
240
|
+
.replace(/^i (?:will|can|need to|am going to)\s+/i, "")
|
|
241
|
+
.replace(/^i(?:'m|’m| am)\s+/i, "");
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
function progressUpdateSummary(lines: string[]): string {
|
|
245
|
+
const counts = new Map<string, number>();
|
|
246
|
+
for (const line of lines) counts.set(line.toLowerCase(), (counts.get(line.toLowerCase()) ?? 0) + 1);
|
|
247
|
+
const exactRepeatCount = Math.max(...counts.values());
|
|
248
|
+
const latest = latestActivityText(lines[lines.length - 1]!);
|
|
249
|
+
const repeat = exactRepeatCount > 1 ? ` · repeated ${exactRepeatCount}×` : "";
|
|
250
|
+
return `↻ ${lines.length} progress updates${repeat} · latest: ${latest}`;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
function compactRecentOutputLines(recentOutput: string[] | undefined): string[] {
|
|
254
|
+
const lines: string[] = [];
|
|
255
|
+
const noisyLines: string[] = [];
|
|
256
|
+
const otherLines: string[] = [];
|
|
257
|
+
for (const rawLine of recentOutput ?? []) {
|
|
258
|
+
const line = oneLine(rawLine);
|
|
259
|
+
if (!line || line === "(running...)") continue;
|
|
260
|
+
lines.push(line);
|
|
261
|
+
(isNoisyStatusLine(line) ? noisyLines : otherLines).push(line);
|
|
262
|
+
}
|
|
263
|
+
if (noisyLines.length >= 4 && !otherLines.some(hasLiveOutputSignal)) {
|
|
264
|
+
if (otherLines.length === 0) {
|
|
265
|
+
return [
|
|
266
|
+
progressUpdateSummary(noisyLines),
|
|
267
|
+
"pattern: repeated short status lines",
|
|
268
|
+
];
|
|
269
|
+
}
|
|
270
|
+
const visibleTail = otherLines.slice(-3);
|
|
271
|
+
const hiddenSignals = otherLines.slice(0, -3).filter(hasLiveOutputSignal);
|
|
272
|
+
return [
|
|
273
|
+
progressUpdateSummary(noisyLines),
|
|
274
|
+
...(hiddenSignals.length > 0 ? [`… ${hiddenSignals.length} older signal ${hiddenSignals.length === 1 ? "line" : "lines"}: ${hiddenSignals.at(-1)}`] : []),
|
|
275
|
+
...visibleTail,
|
|
276
|
+
].slice(0, 5);
|
|
277
|
+
}
|
|
278
|
+
if (lines.length <= 5) return lines;
|
|
279
|
+
|
|
280
|
+
const tail = lines.slice(-5);
|
|
281
|
+
const hiddenSignals = lines.slice(0, -5).filter(hasLiveOutputSignal);
|
|
282
|
+
if (hiddenSignals.length === 0) return tail;
|
|
283
|
+
return [
|
|
284
|
+
`… ${hiddenSignals.length} older signal ${hiddenSignals.length === 1 ? "line" : "lines"}: ${hiddenSignals.at(-1)}`,
|
|
285
|
+
...lines.slice(-4),
|
|
286
|
+
];
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
function compactWorkflowError(error: string): string {
|
|
290
|
+
const outputMatch = error.match(/(?:^|\n)Output:\s*([\s\S]+)/);
|
|
291
|
+
if (!outputMatch) return oneLine(error);
|
|
292
|
+
const prefix = oneLine(error.slice(0, outputMatch.index)).replace(/:$/, "") || "Failed";
|
|
293
|
+
const outputLines = outputMatch[1]!.split(/\r?\n/).map(oneLine).filter(Boolean);
|
|
294
|
+
const allOutputLinesAreNoisy = outputLines.length > 0 && outputLines.every(isNoisyStatusLine);
|
|
295
|
+
const latest = outputLines.at(-1);
|
|
296
|
+
return allOutputLinesAreNoisy && latest
|
|
297
|
+
? `${prefix} · latest: ${latestActivityText(latest)}`
|
|
298
|
+
: `${prefix} · ${oneLine(outputMatch[1] ?? "")}`;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
const WORKFLOW_LIVE_ROW_LIMIT = 8;
|
|
302
|
+
|
|
303
|
+
function visibleWorkflowRows(rows: WorkflowChatProgressRow[]): { rows: WorkflowChatProgressRow[]; hiddenRows: number } {
|
|
304
|
+
if (rows.length <= WORKFLOW_LIVE_ROW_LIMIT) return { rows, hiddenRows: 0 };
|
|
305
|
+
const selected = new Set<string>();
|
|
306
|
+
const add = (row: WorkflowChatProgressRow): void => {
|
|
307
|
+
if (selected.size >= WORKFLOW_LIVE_ROW_LIMIT || selected.has(row.key)) return;
|
|
308
|
+
selected.add(row.key);
|
|
309
|
+
};
|
|
310
|
+
for (const row of [...rows].reverse()) {
|
|
311
|
+
if (row.state === "failed") add(row);
|
|
312
|
+
}
|
|
313
|
+
for (const row of [...rows].reverse()) add(row);
|
|
314
|
+
return {
|
|
315
|
+
rows: rows.filter((row) => selected.has(row.key)),
|
|
316
|
+
hiddenRows: rows.length - selected.size,
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
function snapshotNowForProgress(progress: Pick<AgentProgress, "currentToolStartedAt" | "durationMs" | "lastActivityAt">): number | undefined {
|
|
321
|
+
if (progress.currentToolStartedAt !== undefined && progress.durationMs !== undefined) return progress.currentToolStartedAt + progress.durationMs;
|
|
322
|
+
return progress.lastActivityAt;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
function renderToolArgsPreview(value: string, maxLength: number, expanded: boolean): string {
|
|
326
|
+
const normalized = sanitizeDisplayText(value);
|
|
327
|
+
if (expanded || normalized.length <= maxLength) return normalized;
|
|
328
|
+
return `${truncateDisplayText(normalized, maxLength)}...`;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
function formatCurrentToolLine(
|
|
332
|
+
progress: Pick<AgentProgress, "currentTool" | "currentToolArgs" | "currentToolStartedAt">,
|
|
333
|
+
availableWidth: number,
|
|
334
|
+
expanded: boolean,
|
|
335
|
+
snapshotNow?: number,
|
|
336
|
+
): string | undefined {
|
|
337
|
+
if (!progress.currentTool) return undefined;
|
|
338
|
+
const maxToolArgsLen = Math.max(50, availableWidth - 20);
|
|
339
|
+
const toolArgsPreview = progress.currentToolArgs
|
|
340
|
+
? renderToolArgsPreview(progress.currentToolArgs, maxToolArgsLen, expanded)
|
|
341
|
+
: "";
|
|
342
|
+
const durationSuffix = progress.currentToolStartedAt !== undefined && snapshotNow !== undefined
|
|
343
|
+
? ` | ${formatDuration(Math.max(0, snapshotNow - progress.currentToolStartedAt))}`
|
|
344
|
+
: "";
|
|
345
|
+
return toolArgsPreview
|
|
346
|
+
? `${progress.currentTool}: ${toolArgsPreview}${durationSuffix}`
|
|
347
|
+
: `${progress.currentTool}${durationSuffix}`;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
function buildLiveStatusLine(progress: Pick<AgentProgress, "activityState" | "lastActivityAt">, snapshotNow?: number): string | undefined {
|
|
351
|
+
if (progress.lastActivityAt !== undefined && snapshotNow !== undefined) return formatActivityLabel(progress.lastActivityAt, progress.activityState, snapshotNow);
|
|
352
|
+
if (progress.activityState === "needs_attention") return "needs attention";
|
|
353
|
+
if (progress.activityState === "active_long_running") return "active but long-running";
|
|
354
|
+
if (progress.lastActivityAt !== undefined) return "active";
|
|
355
|
+
return undefined;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
function themeBold(theme: Theme, text: string): string {
|
|
359
|
+
return ((theme as { bold?: (value: string) => string }).bold?.(text)) ?? text;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
function statJoin(theme: Theme, parts: string[]): string {
|
|
363
|
+
return parts.filter(Boolean).map((part) => theme.fg("dim", part)).join(` ${theme.fg("dim", "·")} `);
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
function formatTokenStat(tokens: number): string {
|
|
367
|
+
return `${formatTokens(tokens)} token`;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
function formatToolUseStat(count: number): string {
|
|
371
|
+
return `${count} tool use${count === 1 ? "" : "s"}`;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
function formatTotalCostStat(totalCost: Details["totalCost"] | undefined): string {
|
|
375
|
+
if (!totalCost || (totalCost.inputTokens === 0 && totalCost.outputTokens === 0 && totalCost.costUsd === 0)) return "";
|
|
376
|
+
const parts: string[] = [];
|
|
377
|
+
if (totalCost.inputTokens) parts.push(`in:${formatTokens(totalCost.inputTokens)}`);
|
|
378
|
+
if (totalCost.outputTokens) parts.push(`out:${formatTokens(totalCost.outputTokens)}`);
|
|
379
|
+
if (totalCost.costUsd) parts.push(`$${totalCost.costUsd.toFixed(4)}`);
|
|
380
|
+
return parts.join(" ");
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
function formatProgressStats(theme: Theme, progress: Pick<AgentProgress, "toolCount" | "tokens" | "durationMs"> | undefined, includeDuration = true): string {
|
|
384
|
+
if (!progress) return "";
|
|
385
|
+
const parts: string[] = [];
|
|
386
|
+
if (progress.toolCount > 0) parts.push(formatToolUseStat(progress.toolCount));
|
|
387
|
+
if (progress.tokens > 0) parts.push(formatTokenStat(progress.tokens));
|
|
388
|
+
if (includeDuration && progress.durationMs > 0) parts.push(formatDuration(progress.durationMs));
|
|
389
|
+
return statJoin(theme, parts);
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
function firstOutputLine(text: string): string {
|
|
393
|
+
return text.split("\n").find((line) => line.trim())?.trim() ?? "";
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
function resultStatusLine(result: Details["results"][number], output: string): string {
|
|
397
|
+
if (result.detached) return result.detachedReason ? `Detached: ${result.detachedReason}` : "Detached";
|
|
398
|
+
if (result.stopped) return "Stopped";
|
|
399
|
+
if (result.interrupted) return "Paused";
|
|
400
|
+
if (result.exitCode !== 0) return `Error: ${result.error ?? (firstOutputLine(output) || `exit ${result.exitCode}`)}`;
|
|
401
|
+
if (result.acceptance?.status && result.acceptance.status !== "not-required") return `Done · acceptance: ${result.acceptance.status}`;
|
|
402
|
+
if (hasEmptyTextOutputWithoutOutputTarget(result.task, output)) return "Done (no text output)";
|
|
403
|
+
return "Done";
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
type ResultPresentation = {
|
|
407
|
+
glyph: string;
|
|
408
|
+
label: "running" | "detached" | "stopped" | "paused" | "failed" | "completed";
|
|
409
|
+
tone: "accent" | "warning" | "error" | "success";
|
|
410
|
+
};
|
|
411
|
+
|
|
412
|
+
function semanticResultPresentation(input: {
|
|
413
|
+
running?: boolean;
|
|
414
|
+
detached?: boolean;
|
|
415
|
+
stopped?: boolean;
|
|
416
|
+
interrupted?: boolean;
|
|
417
|
+
failed?: boolean;
|
|
418
|
+
completedWithoutOutput?: boolean;
|
|
419
|
+
seed?: number;
|
|
420
|
+
frame?: number;
|
|
421
|
+
}): ResultPresentation {
|
|
422
|
+
if (input.running) {
|
|
423
|
+
const glyph = input.frame !== undefined ? runningGlyph((input.seed ?? 0) + input.frame) : runningGlyph(input.seed);
|
|
424
|
+
return { glyph, label: "running", tone: "accent" };
|
|
425
|
+
}
|
|
426
|
+
if (input.detached) return { glyph: "■", label: "detached", tone: "warning" };
|
|
427
|
+
if (input.stopped) return { glyph: "■", label: "stopped", tone: "warning" };
|
|
428
|
+
if (input.interrupted) return { glyph: "■", label: "paused", tone: "warning" };
|
|
429
|
+
if (input.failed) return { glyph: "✗", label: "failed", tone: "error" };
|
|
430
|
+
return { glyph: "✓", label: "completed", tone: input.completedWithoutOutput ? "warning" : "success" };
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
function hasTerminalResultFlag(result: Details["results"][number]): boolean {
|
|
434
|
+
return Boolean(result.detached || result.stopped || result.interrupted);
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
function hasTerminalResult(result: Details["results"][number]): boolean {
|
|
438
|
+
if (hasTerminalResultFlag(result)) return true;
|
|
439
|
+
const status = result.progress?.status;
|
|
440
|
+
if (status === "running" || status === "pending") return false;
|
|
441
|
+
return result.exitCode !== undefined;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
function isResultRunning(result: Details["results"][number], status = result.progress?.status): boolean {
|
|
445
|
+
return status === "running" && !hasTerminalResultFlag(result);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
function detailsHaveRunningResult(details: Details): boolean {
|
|
449
|
+
return details.progress?.some((progress) => {
|
|
450
|
+
if (progress.status !== "running") return false;
|
|
451
|
+
const result = details.results.find((entry) => entry.progress?.index === progress.index) ?? details.results[progress.index];
|
|
452
|
+
return !result || !hasTerminalResultFlag(result);
|
|
453
|
+
})
|
|
454
|
+
|| details.results.some((result) => isResultRunning(result))
|
|
455
|
+
|| workflowGraphHasStatus(details, ["running"]);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
function resultPresentation(result: Details["results"][number], output: string, running = isResultRunning(result), seed = progressRunningSeed(result.progress ?? result.progressSummary), frame?: number): ResultPresentation {
|
|
459
|
+
return semanticResultPresentation({
|
|
460
|
+
running,
|
|
461
|
+
detached: result.detached,
|
|
462
|
+
stopped: result.stopped,
|
|
463
|
+
interrupted: result.interrupted,
|
|
464
|
+
failed: result.exitCode !== 0,
|
|
465
|
+
completedWithoutOutput: hasEmptyTextOutputWithoutOutputTarget(result.task, output),
|
|
466
|
+
seed,
|
|
467
|
+
frame,
|
|
468
|
+
});
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
function resultGlyph(result: Details["results"][number], output: string, theme: Theme, running = isResultRunning(result), seed = progressRunningSeed(result.progress ?? result.progressSummary), frame?: number): string {
|
|
472
|
+
const presentation = resultPresentation(result, output, running, seed, frame);
|
|
473
|
+
return theme.fg(presentation.tone, presentation.glyph);
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
function styledResultPresentation(presentation: ResultPresentation, theme: Theme): { glyph: string; label: string } {
|
|
477
|
+
return {
|
|
478
|
+
glyph: theme.fg(presentation.tone, presentation.glyph),
|
|
479
|
+
label: theme.fg(presentation.tone, presentation.label),
|
|
480
|
+
};
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
function compactCurrentActivity(progress: AgentProgress): string {
|
|
484
|
+
const snapshotNow = snapshotNowForProgress(progress);
|
|
485
|
+
return formatCurrentToolLine(progress, getTermWidth() - 4, false, snapshotNow) ?? buildLiveStatusLine(progress, snapshotNow) ?? "thinking…";
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
export function widgetRenderKey(job: AsyncJobState): string {
|
|
489
|
+
return JSON.stringify({
|
|
490
|
+
asyncDir: job.asyncDir,
|
|
491
|
+
status: job.status,
|
|
492
|
+
activityState: job.activityState,
|
|
493
|
+
lastActivityAt: job.lastActivityAt,
|
|
494
|
+
currentTool: job.currentTool,
|
|
495
|
+
currentToolStartedAt: job.currentToolStartedAt,
|
|
496
|
+
currentPath: job.currentPath,
|
|
497
|
+
turnCount: job.turnCount,
|
|
498
|
+
toolCount: job.toolCount,
|
|
499
|
+
mode: job.mode,
|
|
500
|
+
agents: job.agents,
|
|
501
|
+
currentStep: job.currentStep,
|
|
502
|
+
chainStepCount: job.chainStepCount,
|
|
503
|
+
parallelGroups: job.parallelGroups,
|
|
504
|
+
steps: job.steps,
|
|
505
|
+
nestedChildren: job.nestedChildren,
|
|
506
|
+
stepsTotal: job.stepsTotal,
|
|
507
|
+
runningSteps: job.runningSteps,
|
|
508
|
+
completedSteps: job.completedSteps,
|
|
509
|
+
activeParallelGroup: job.activeParallelGroup,
|
|
510
|
+
startedAt: job.startedAt,
|
|
511
|
+
updatedAt: job.updatedAt,
|
|
512
|
+
totalTokens: job.totalTokens,
|
|
513
|
+
});
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
function formatWidgetAgents(agents: string[]): string {
|
|
517
|
+
const distinct = [...new Set(agents)];
|
|
518
|
+
if (distinct.length === 1 && agents.length > 1) return `${distinct[0]} ×${agents.length}`;
|
|
519
|
+
if (agents.length > 3) return `${agents.slice(0, 2).join(", ")} +${agents.length - 2} more`;
|
|
520
|
+
return agents.join(", ");
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
function widgetJobName(job: AsyncJobState): string {
|
|
524
|
+
if (job.mode === "parallel") return "parallel";
|
|
525
|
+
if (job.mode === "chain") return "chain";
|
|
526
|
+
if (job.mode === "single" && job.agents?.length === 1) return job.agents[0]!;
|
|
527
|
+
if (job.agents?.length) return formatWidgetAgents(job.agents);
|
|
528
|
+
return job.mode ?? "subagent";
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
function widgetActivity(job: AsyncJobState): string {
|
|
532
|
+
const facts: string[] = [];
|
|
533
|
+
if (job.currentTool && job.currentToolStartedAt !== undefined && job.updatedAt !== undefined) facts.push(`${job.currentTool} ${formatDuration(Math.max(0, job.updatedAt - job.currentToolStartedAt))}`);
|
|
534
|
+
else if (job.currentTool) facts.push(job.currentTool);
|
|
535
|
+
if (job.currentPath) facts.push(shortenPath(job.currentPath));
|
|
536
|
+
if (job.turnCount !== undefined) facts.push(`${job.turnCount} turns`);
|
|
537
|
+
if (job.toolCount !== undefined) facts.push(`${job.toolCount} tools`);
|
|
538
|
+
const activity = buildLiveStatusLine(job, job.updatedAt);
|
|
539
|
+
if (activity && facts.length) return `${activity} · ${facts.join(" · ")}`;
|
|
540
|
+
if (activity) return activity;
|
|
541
|
+
if (facts.length) return facts.join(" · ");
|
|
542
|
+
if (job.status === "running") return "thinking…";
|
|
543
|
+
if (job.status === "queued") return "queued…";
|
|
544
|
+
if (job.status === "paused") return "Paused";
|
|
545
|
+
if (job.status === "stopped") return "Stopped";
|
|
546
|
+
if (job.status === "failed") return "Failed";
|
|
547
|
+
return "Done";
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
function widgetStepRunningSeed(step: NonNullable<AsyncJobState["steps"]>[number], fallbackIndex?: number): number | undefined {
|
|
551
|
+
return runningSeed(
|
|
552
|
+
fallbackIndex,
|
|
553
|
+
step.index,
|
|
554
|
+
step.toolCount,
|
|
555
|
+
step.turnCount,
|
|
556
|
+
step.tokens?.total,
|
|
557
|
+
step.lastActivityAt,
|
|
558
|
+
step.currentToolStartedAt,
|
|
559
|
+
step.durationMs,
|
|
560
|
+
);
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
function widgetStepsRunningSeed(steps: Array<NonNullable<AsyncJobState["steps"]>[number]> | undefined): number | undefined {
|
|
564
|
+
let seed: number | undefined;
|
|
565
|
+
for (const [index, step] of (steps ?? []).entries()) seed = runningSeed(seed, widgetStepRunningSeed(step, index));
|
|
566
|
+
return seed;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
function widgetJobRunningSeed(job: AsyncJobState): number | undefined {
|
|
570
|
+
return runningSeed(
|
|
571
|
+
job.updatedAt,
|
|
572
|
+
job.lastActivityAt,
|
|
573
|
+
job.toolCount,
|
|
574
|
+
job.turnCount,
|
|
575
|
+
job.totalTokens?.total,
|
|
576
|
+
job.currentStep,
|
|
577
|
+
job.runningSteps,
|
|
578
|
+
job.completedSteps,
|
|
579
|
+
widgetStepsRunningSeed(job.steps),
|
|
580
|
+
);
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
function widgetJobsRunningSeed(jobs: AsyncJobState[]): number | undefined {
|
|
584
|
+
let seed: number | undefined;
|
|
585
|
+
for (const job of jobs) seed = runningSeed(seed, widgetJobRunningSeed(job));
|
|
586
|
+
return seed;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
function widgetStatusGlyph(job: AsyncJobState, theme: Theme, frame?: number): string {
|
|
590
|
+
if (job.status === "running") return theme.fg("accent", runningGlyph(animatedSeed(widgetJobRunningSeed(job), frame)));
|
|
591
|
+
if (job.status === "queued") return theme.fg("muted", "◦");
|
|
592
|
+
if (job.status === "complete") return theme.fg("success", "✓");
|
|
593
|
+
if (job.status === "paused") return theme.fg("warning", "■");
|
|
594
|
+
if (job.status === "stopped") return theme.fg("warning", "■");
|
|
595
|
+
return theme.fg("error", "✗");
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
function widgetStepGlyph(status: AsyncJobStep["status"], theme: Theme, seed?: number, frame?: number): string {
|
|
599
|
+
if (status === "running") return theme.fg("accent", runningGlyph(animatedSeed(seed, frame)));
|
|
600
|
+
if (status === "complete" || status === "completed") return theme.fg("success", "✓");
|
|
601
|
+
if (status === "failed") return theme.fg("error", "✗");
|
|
602
|
+
if (status === "paused") return theme.fg("warning", "■");
|
|
603
|
+
if (status === "stopped") return theme.fg("warning", "■");
|
|
604
|
+
return theme.fg("muted", "◦");
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
function widgetStepStatus(status: AsyncJobStep["status"], theme: Theme): string {
|
|
608
|
+
if (status === "running") return theme.fg("accent", "running");
|
|
609
|
+
if (status === "complete" || status === "completed") return theme.fg("success", "complete");
|
|
610
|
+
if (status === "failed") return theme.fg("error", "failed");
|
|
611
|
+
if (status === "paused") return theme.fg("warning", "paused");
|
|
612
|
+
if (status === "stopped") return theme.fg("warning", "stopped");
|
|
613
|
+
return theme.fg("dim", status);
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
function widgetStepActivity(step: NonNullable<AsyncJobState["steps"]>[number], snapshotNow?: number): string {
|
|
617
|
+
const facts: string[] = [];
|
|
618
|
+
if (step.currentTool && step.currentToolStartedAt !== undefined && snapshotNow !== undefined) facts.push(`${step.currentTool} ${formatDuration(Math.max(0, snapshotNow - step.currentToolStartedAt))}`);
|
|
619
|
+
else if (step.currentTool) facts.push(step.currentTool);
|
|
620
|
+
if (step.currentPath) facts.push(shortenPath(step.currentPath));
|
|
621
|
+
if (step.turnCount !== undefined) facts.push(`${step.turnCount} turns`);
|
|
622
|
+
if (step.toolCount !== undefined) facts.push(`${step.toolCount} tools`);
|
|
623
|
+
if (step.tokens?.total) facts.push(formatTokenStat(step.tokens.total));
|
|
624
|
+
const activity = buildLiveStatusLine(step, snapshotNow);
|
|
625
|
+
if (activity && facts.length) return `${activity} · ${facts.join(" · ")}`;
|
|
626
|
+
if (activity) return activity;
|
|
627
|
+
return facts.join(" · ");
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
function widgetChainDetails(job: AsyncJobState, theme: Theme, expanded = false, width = getTermWidth(), frame?: number): string[] {
|
|
632
|
+
if (!job.steps?.length) return [];
|
|
633
|
+
const total = job.chainStepCount ?? job.steps.length;
|
|
634
|
+
const lines: string[] = [];
|
|
635
|
+
for (const span of buildAsyncChainStepSpans(total, job.steps.length, job.parallelGroups)) {
|
|
636
|
+
const steps = job.steps.slice(span.start, span.start + span.count);
|
|
637
|
+
if (span.isParallel) {
|
|
638
|
+
const status = aggregateStepStatus(steps);
|
|
639
|
+
lines.push(` ${widgetStepGlyph(status, theme, widgetStepsRunningSeed(steps), frame)} Step ${span.stepIndex + 1}/${total}: ${themeBold(theme, "parallel group")} ${theme.fg("dim", "·")} ${theme.fg("dim", formatParallelOutcome(steps, span.count))}`);
|
|
640
|
+
continue;
|
|
641
|
+
}
|
|
642
|
+
const step = steps[0];
|
|
643
|
+
if (!step) {
|
|
644
|
+
lines.push(` ${theme.fg("dim", `◦ Step ${span.stepIndex + 1}/${total}: pending`)}`);
|
|
645
|
+
continue;
|
|
646
|
+
}
|
|
647
|
+
lines.push(...foregroundStyleWidgetStepLines(job, theme, step, "Step", span.stepIndex + 1, total, expanded, width, frame));
|
|
648
|
+
}
|
|
649
|
+
return lines;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
function widgetParallelAgentDetails(job: AsyncJobState, theme: Theme, expanded = false, width = getTermWidth(), frame?: number): string[] {
|
|
653
|
+
if (!job.steps?.length) return [];
|
|
654
|
+
if (job.mode !== "parallel" && job.mode !== "chain") return [];
|
|
655
|
+
if (job.mode === "chain" && !job.activeParallelGroup && job.parallelGroups?.length) return widgetChainDetails(job, theme, expanded, width, frame);
|
|
656
|
+
const total = job.stepsTotal ?? job.steps.length;
|
|
657
|
+
const lines: string[] = [];
|
|
658
|
+
for (const [index, step] of job.steps.entries()) {
|
|
659
|
+
const marker = index === job.steps.length - 1 ? "└" : "├";
|
|
660
|
+
const activity = widgetStepActivity(step, job.updatedAt);
|
|
661
|
+
const itemTitle = job.mode === "parallel" || job.activeParallelGroup ? "Agent" : "Step";
|
|
662
|
+
const modelDisplay = modelThinkingBadge(theme, step.model, step.thinking);
|
|
663
|
+
lines.push(` ${theme.fg("dim", `${marker} ${widgetStepGlyph(step.status, theme, widgetStepRunningSeed(step, index), frame)} ${itemTitle} ${index + 1}/${total}: ${step.agent} · ${widgetStepStatus(step.status, theme)}${modelDisplay}${activity ? ` · ${activity}` : ""}`)}`);
|
|
664
|
+
for (const nestedLine of formatNestedWidgetLines(step.children, theme, width, expanded, job.updatedAt, expanded ? 8 : 6)) lines.push(` ${nestedLine}`);
|
|
665
|
+
}
|
|
666
|
+
return lines;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
function parseParallelGroupAgentCount(label: string | undefined): number | undefined {
|
|
670
|
+
if (!label || !label.startsWith("[") || !label.endsWith("]")) return undefined;
|
|
671
|
+
const inner = label.slice(1, -1).trim();
|
|
672
|
+
if (!inner) return 0;
|
|
673
|
+
return inner.split("+").map((part) => part.trim()).filter(Boolean).length;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
interface ChainStepSpan {
|
|
677
|
+
stepIndex: number;
|
|
678
|
+
start: number;
|
|
679
|
+
count: number;
|
|
680
|
+
isParallel: boolean;
|
|
681
|
+
status?: WorkflowNodeStatus;
|
|
682
|
+
label?: string;
|
|
683
|
+
error?: string;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
function buildChainStepSpans(details: Pick<Details, "chainAgents" | "workflowGraph">): ChainStepSpan[] {
|
|
687
|
+
if (details.workflowGraph?.nodes?.length) {
|
|
688
|
+
const spans: ChainStepSpan[] = [];
|
|
689
|
+
let flatCursor = 0;
|
|
690
|
+
for (const node of details.workflowGraph.nodes) {
|
|
691
|
+
if (node.stepIndex === undefined) continue;
|
|
692
|
+
if (node.kind === "parallel-group" || node.kind === "dynamic-parallel-group") {
|
|
693
|
+
const childFlatIndexes = (node.children ?? [])
|
|
694
|
+
.map((child) => child.flatIndex)
|
|
695
|
+
.filter((value): value is number => typeof value === "number");
|
|
696
|
+
const start = childFlatIndexes.length ? Math.min(...childFlatIndexes) : flatCursor;
|
|
697
|
+
const count = node.children?.length ?? 0;
|
|
698
|
+
spans.push({ stepIndex: node.stepIndex, start, count, isParallel: true, status: node.status, label: node.label, error: node.error });
|
|
699
|
+
flatCursor = Math.max(flatCursor, start + count);
|
|
700
|
+
continue;
|
|
701
|
+
}
|
|
702
|
+
const start = node.flatIndex ?? flatCursor;
|
|
703
|
+
spans.push({ stepIndex: node.stepIndex, start, count: 1, isParallel: false, status: node.status, label: node.label, error: node.error });
|
|
704
|
+
flatCursor = Math.max(flatCursor, start + 1);
|
|
705
|
+
}
|
|
706
|
+
if (spans.length) return spans.sort((left, right) => left.stepIndex - right.stepIndex);
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
if (!details.chainAgents?.length) return [];
|
|
710
|
+
const spans: ChainStepSpan[] = [];
|
|
711
|
+
let start = 0;
|
|
712
|
+
for (let stepIndex = 0; stepIndex < details.chainAgents.length; stepIndex++) {
|
|
713
|
+
const label = details.chainAgents[stepIndex]!;
|
|
714
|
+
const parsedCount = parseParallelGroupAgentCount(label);
|
|
715
|
+
const count = parsedCount ?? 1;
|
|
716
|
+
spans.push({ stepIndex, start, count, isParallel: parsedCount !== undefined });
|
|
717
|
+
start += count;
|
|
718
|
+
}
|
|
719
|
+
return spans;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
function buildAsyncChainStepSpans(total: number, stepCount: number, parallelGroups: AsyncParallelGroupStatus[] = []): ChainStepSpan[] {
|
|
723
|
+
const groupsByStep = new Map<number, AsyncParallelGroupStatus>();
|
|
724
|
+
for (const group of parallelGroups) {
|
|
725
|
+
if (!groupsByStep.has(group.stepIndex)) groupsByStep.set(group.stepIndex, group);
|
|
726
|
+
}
|
|
727
|
+
const spans: ChainStepSpan[] = [];
|
|
728
|
+
let flatIndex = 0;
|
|
729
|
+
for (let stepIndex = 0; stepIndex < total; stepIndex++) {
|
|
730
|
+
const group = groupsByStep.get(stepIndex);
|
|
731
|
+
if (group) {
|
|
732
|
+
spans.push({ stepIndex, start: group.start, count: group.count, isParallel: true });
|
|
733
|
+
flatIndex = Math.max(flatIndex, group.start + group.count);
|
|
734
|
+
continue;
|
|
735
|
+
}
|
|
736
|
+
spans.push({ stepIndex, start: flatIndex, count: flatIndex < stepCount ? 1 : 0, isParallel: false });
|
|
737
|
+
flatIndex++;
|
|
738
|
+
}
|
|
739
|
+
return spans;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
function isDoneResult(result: Details["results"][number]): boolean {
|
|
743
|
+
const status = result.progress?.status;
|
|
744
|
+
if (status === "completed") return true;
|
|
745
|
+
if (status === "running" || status === "pending") return false;
|
|
746
|
+
if (result.interrupted || result.detached) return false;
|
|
747
|
+
return result.exitCode === 0;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
function workflowGraphHasStatus(details: Pick<Details, "workflowGraph">, statuses: WorkflowNodeStatus[]): boolean {
|
|
751
|
+
return details.workflowGraph?.nodes.some((node) => statuses.includes(node.status)) ?? false;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
interface ChainRenderResultEntry {
|
|
755
|
+
kind: "result";
|
|
756
|
+
resultIndex: number;
|
|
757
|
+
rowNumber: number;
|
|
758
|
+
rowLabel?: string;
|
|
759
|
+
agentName: string;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
interface ChainRenderPlaceholderEntry {
|
|
763
|
+
kind: "placeholder";
|
|
764
|
+
rowNumber: number;
|
|
765
|
+
stepLabel: string;
|
|
766
|
+
agentName: string;
|
|
767
|
+
status: WorkflowNodeStatus;
|
|
768
|
+
error?: string;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
type ChainRenderEntry = ChainRenderResultEntry | ChainRenderPlaceholderEntry;
|
|
772
|
+
|
|
773
|
+
function buildChainRenderEntries(details: Details, label: MultiProgressLabel): ChainRenderEntry[] | undefined {
|
|
774
|
+
if (details.mode !== "chain" || !label.hasParallelInChain || label.showActiveGroupOnly) return undefined;
|
|
775
|
+
const entries: ChainRenderEntry[] = [];
|
|
776
|
+
for (const span of buildChainStepSpans(details)) {
|
|
777
|
+
if (span.isParallel && span.count === 0) {
|
|
778
|
+
entries.push({
|
|
779
|
+
kind: "placeholder",
|
|
780
|
+
rowNumber: span.stepIndex + 1,
|
|
781
|
+
stepLabel: `Step ${span.stepIndex + 1}`,
|
|
782
|
+
agentName: span.label ?? details.chainAgents?.[span.stepIndex] ?? `step-${span.stepIndex + 1}`,
|
|
783
|
+
status: span.status ?? "pending",
|
|
784
|
+
error: span.error,
|
|
785
|
+
});
|
|
786
|
+
continue;
|
|
787
|
+
}
|
|
788
|
+
for (let index = span.start; index < span.start + span.count; index++) {
|
|
789
|
+
entries.push({
|
|
790
|
+
kind: "result",
|
|
791
|
+
resultIndex: index,
|
|
792
|
+
rowNumber: index + 1,
|
|
793
|
+
rowLabel: span.isParallel ? `Agent ${index - span.start + 1}/${span.count}` : `Step ${span.stepIndex + 1}`,
|
|
794
|
+
agentName: details.results[index]?.agent ?? details.chainAgents?.[span.stepIndex] ?? `step-${span.stepIndex + 1}`,
|
|
795
|
+
});
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
return entries;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
interface MultiProgressLabel {
|
|
802
|
+
headerLabel: string;
|
|
803
|
+
itemTitle: "Step" | "Agent";
|
|
804
|
+
totalCount: number;
|
|
805
|
+
hasParallelInChain: boolean;
|
|
806
|
+
activeParallelGroup: boolean;
|
|
807
|
+
groupStartIndex: number;
|
|
808
|
+
groupEndIndex: number;
|
|
809
|
+
showActiveGroupOnly: boolean;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
function buildMultiProgressLabel(details: Pick<Details, "mode" | "results" | "progress" | "totalSteps" | "currentStepIndex" | "chainAgents" | "workflowGraph">, hasRunning: boolean): MultiProgressLabel {
|
|
813
|
+
const stepSpans = buildChainStepSpans(details);
|
|
814
|
+
const hasParallelInChain = details.mode === "chain" && stepSpans.some((span) => span.isParallel);
|
|
815
|
+
const activeParallelGroup = details.mode === "chain"
|
|
816
|
+
&& details.currentStepIndex !== undefined
|
|
817
|
+
&& stepSpans.some((span) => span.stepIndex === details.currentStepIndex && span.isParallel);
|
|
818
|
+
const itemTitle: "Step" | "Agent" = details.mode === "parallel" || activeParallelGroup ? "Agent" : "Step";
|
|
819
|
+
|
|
820
|
+
if (details.mode === "parallel") {
|
|
821
|
+
const totalCount = details.totalSteps ?? details.results.length;
|
|
822
|
+
const statuses = new Array(totalCount).fill("pending") as Array<"pending" | "running" | "completed" | "failed" | "stopped" | "detached">;
|
|
823
|
+
for (const progress of details.progress ?? []) {
|
|
824
|
+
if (progress.index >= 0 && progress.index < totalCount) statuses[progress.index] = progress.status;
|
|
825
|
+
}
|
|
826
|
+
for (let i = 0; i < details.results.length; i++) {
|
|
827
|
+
const result = details.results[i]!;
|
|
828
|
+
const progressFromArray = details.progress?.find((progress) => progress.index === i)
|
|
829
|
+
|| details.progress?.find((progress) => progress.agent === result.agent && progress.status === "running");
|
|
830
|
+
const index = result.progress?.index ?? progressFromArray?.index ?? i;
|
|
831
|
+
if (index < 0 || index >= totalCount) continue;
|
|
832
|
+
const status = result.stopped
|
|
833
|
+
? "stopped"
|
|
834
|
+
: result.interrupted || result.detached
|
|
835
|
+
? "detached"
|
|
836
|
+
: result.progress?.status
|
|
837
|
+
?? (result.exitCode === 0 ? "completed" : "failed");
|
|
838
|
+
statuses[index] = status;
|
|
839
|
+
}
|
|
840
|
+
const running = statuses.filter((status) => status === "running").length;
|
|
841
|
+
const done = statuses.filter((status) => status === "completed").length;
|
|
842
|
+
const headerLabel = hasRunning
|
|
843
|
+
? `${formatAgentRunningLabel(running)} · ${done}/${totalCount} done`
|
|
844
|
+
: `${done}/${totalCount} done`;
|
|
845
|
+
return { headerLabel, itemTitle, totalCount, hasParallelInChain, activeParallelGroup, groupStartIndex: 0, groupEndIndex: totalCount, showActiveGroupOnly: false };
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
if (activeParallelGroup) {
|
|
849
|
+
const currentStepIndex = details.currentStepIndex!;
|
|
850
|
+
const span = stepSpans[currentStepIndex];
|
|
851
|
+
const groupSize = span?.count ?? 1;
|
|
852
|
+
const groupStart = span?.start ?? 0;
|
|
853
|
+
const groupEnd = groupStart + groupSize;
|
|
854
|
+
let running = 0;
|
|
855
|
+
let done = 0;
|
|
856
|
+
for (let index = groupStart; index < groupEnd; index++) {
|
|
857
|
+
const progressEntry = details.progress?.find((progress) => progress.index === index);
|
|
858
|
+
const resultEntry = details.results.find((result) => result.progress?.index === index) ?? details.results[index];
|
|
859
|
+
if (progressEntry?.status === "running" && (!resultEntry || !hasTerminalResultFlag(resultEntry))) {
|
|
860
|
+
running++;
|
|
861
|
+
continue;
|
|
862
|
+
}
|
|
863
|
+
if (progressEntry?.status === "completed") {
|
|
864
|
+
done++;
|
|
865
|
+
continue;
|
|
866
|
+
}
|
|
867
|
+
if (resultEntry && isDoneResult(resultEntry)) done++;
|
|
868
|
+
}
|
|
869
|
+
const totalSteps = details.totalSteps ?? details.chainAgents?.length ?? 1;
|
|
870
|
+
const headerLabel = hasRunning
|
|
871
|
+
? `step ${currentStepIndex + 1}/${totalSteps} · parallel group: ${formatAgentRunningLabel(running)} · ${done}/${groupSize} done`
|
|
872
|
+
: `step ${currentStepIndex + 1}/${totalSteps} · parallel group: ${done}/${groupSize} done`;
|
|
873
|
+
return { headerLabel, itemTitle, totalCount: groupSize, hasParallelInChain, activeParallelGroup, groupStartIndex: groupStart, groupEndIndex: groupEnd, showActiveGroupOnly: true };
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
if (details.mode === "chain" && details.chainAgents?.length) {
|
|
877
|
+
const totalCount = details.totalSteps ?? details.chainAgents.length;
|
|
878
|
+
const doneLogical = stepSpans.filter((span) => {
|
|
879
|
+
if (span.status && span.status !== "completed") return false;
|
|
880
|
+
if (span.count === 0) return span.status === "completed";
|
|
881
|
+
for (let index = span.start; index < span.start + span.count; index++) {
|
|
882
|
+
const progressEntry = details.progress?.find((progress) => progress.index === index);
|
|
883
|
+
const resultEntry = details.results.find((result) => result.progress?.index === index) ?? details.results[index];
|
|
884
|
+
if (progressEntry?.status === "running" || progressEntry?.status === "pending" || progressEntry?.status === "failed") return false;
|
|
885
|
+
if (!resultEntry || !isDoneResult(resultEntry)) return false;
|
|
886
|
+
}
|
|
887
|
+
return true;
|
|
888
|
+
}).length;
|
|
889
|
+
const currentStep = details.currentStepIndex !== undefined ? details.currentStepIndex + 1 : Math.min(totalCount, doneLogical + (hasRunning ? 1 : 0));
|
|
890
|
+
const headerLabel = hasRunning ? `step ${currentStep}/${totalCount}` : `step ${doneLogical}/${totalCount}`;
|
|
891
|
+
return { headerLabel, itemTitle, totalCount, hasParallelInChain, activeParallelGroup, groupStartIndex: 0, groupEndIndex: details.results.length, showActiveGroupOnly: false };
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
const totalCount = details.totalSteps ?? details.results.length;
|
|
895
|
+
const currentStep = details.currentStepIndex !== undefined ? details.currentStepIndex + 1 : Math.min(totalCount, details.results.filter(isDoneResult).length + (hasRunning ? 1 : 0));
|
|
896
|
+
const done = details.results.filter(isDoneResult).length;
|
|
897
|
+
const headerLabel = hasRunning ? `step ${currentStep}/${totalCount}` : `step ${done}/${totalCount}`;
|
|
898
|
+
return { headerLabel, itemTitle, totalCount, hasParallelInChain, activeParallelGroup, groupStartIndex: 0, groupEndIndex: details.results.length, showActiveGroupOnly: false };
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
function resultRowLabel(label: MultiProgressLabel, resultIndex: number, stepNumber: number): string {
|
|
902
|
+
if (label.itemTitle === "Agent") {
|
|
903
|
+
const localStepNumber = label.activeParallelGroup
|
|
904
|
+
? resultIndex - label.groupStartIndex + 1
|
|
905
|
+
: stepNumber;
|
|
906
|
+
return `Agent ${localStepNumber}/${label.totalCount}`;
|
|
907
|
+
}
|
|
908
|
+
return `Step ${stepNumber}`;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
function widgetStats(job: AsyncJobState, theme: Theme): string {
|
|
912
|
+
const parts: string[] = [];
|
|
913
|
+
const stepsTotal = job.stepsTotal ?? (job.agents?.length ?? 1);
|
|
914
|
+
if (job.activeParallelGroup) {
|
|
915
|
+
const running = job.runningSteps ?? (job.status === "running" ? 1 : 0);
|
|
916
|
+
const done = job.completedSteps ?? (job.status === "complete" ? stepsTotal : 0);
|
|
917
|
+
if (job.mode === "parallel") {
|
|
918
|
+
if (job.status === "running" && running > 0) parts.push(formatAgentRunningLabel(running));
|
|
919
|
+
if (stepsTotal > 0) parts.push(`${done}/${stepsTotal} done`);
|
|
920
|
+
} else {
|
|
921
|
+
const activeGroup = job.currentStep !== undefined
|
|
922
|
+
? job.parallelGroups?.find((group) => job.currentStep! >= group.start && job.currentStep! < group.start + group.count)
|
|
923
|
+
: job.parallelGroups?.find((group) => group.start === 0);
|
|
924
|
+
const logicalStep = activeGroup?.stepIndex ?? job.currentStep ?? 0;
|
|
925
|
+
const total = job.chainStepCount ?? stepsTotal;
|
|
926
|
+
const groupParts = [`${done}/${stepsTotal} done`];
|
|
927
|
+
if (job.status === "running" && running > 0) groupParts.unshift(formatAgentRunningLabel(running));
|
|
928
|
+
parts.push(`step ${logicalStep + 1}/${total} · parallel group: ${groupParts.join(" · ")}`);
|
|
929
|
+
}
|
|
930
|
+
} else if (job.currentStep !== undefined) {
|
|
931
|
+
if (job.mode === "chain" && job.parallelGroups?.length) {
|
|
932
|
+
const total = job.chainStepCount ?? stepsTotal;
|
|
933
|
+
parts.push(`step ${flatToLogicalStepIndex(job.currentStep, total, job.parallelGroups) + 1}/${total}`);
|
|
934
|
+
} else {
|
|
935
|
+
parts.push(`step ${job.currentStep + 1}/${stepsTotal}`);
|
|
936
|
+
}
|
|
937
|
+
} else if (stepsTotal > 1) {
|
|
938
|
+
parts.push(`steps ${stepsTotal}`);
|
|
939
|
+
}
|
|
940
|
+
if (job.toolCount !== undefined) parts.push(formatToolUseStat(job.toolCount));
|
|
941
|
+
if (job.totalTokens?.total) parts.push(formatTokenStat(job.totalTokens.total));
|
|
942
|
+
if (job.startedAt !== undefined && job.updatedAt !== undefined) parts.push(formatDuration(Math.max(0, job.updatedAt - job.startedAt)));
|
|
943
|
+
return statJoin(theme, parts);
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
function widgetStepStats(theme: Theme, step: NonNullable<AsyncJobState["steps"]>[number]): string {
|
|
947
|
+
return statJoin(theme, [
|
|
948
|
+
step.turnCount !== undefined ? `${step.turnCount} turns` : "",
|
|
949
|
+
step.toolCount !== undefined ? formatToolUseStat(step.toolCount) : "",
|
|
950
|
+
step.tokens?.total ? formatTokenStat(step.tokens.total) : "",
|
|
951
|
+
step.durationMs !== undefined ? formatDuration(step.durationMs) : "",
|
|
952
|
+
]);
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
function modelThinkingBadge(theme: Theme, model?: string, thinking?: string): string {
|
|
956
|
+
const label = formatModelThinking(model, thinking);
|
|
957
|
+
return label ? theme.fg("dim", ` (${label})`) : "";
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
function widgetStepActivityLine(step: NonNullable<AsyncJobState["steps"]>[number], width: number, expanded: boolean, snapshotNow?: number): string {
|
|
961
|
+
const toolLine = formatCurrentToolLine(step, width, expanded, snapshotNow);
|
|
962
|
+
if (toolLine) return toolLine;
|
|
963
|
+
const activity = buildLiveStatusLine(step, snapshotNow);
|
|
964
|
+
if (activity) return activity;
|
|
965
|
+
if (step.status === "running") return "thinking…";
|
|
966
|
+
return "";
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
function widgetOutputPath(job: AsyncJobState, step: NonNullable<AsyncJobState["steps"]>[number]): string | undefined {
|
|
970
|
+
if (typeof step.index !== "number") return undefined;
|
|
971
|
+
return path.join(job.asyncDir, `output-${step.index}.log`);
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
function nestedRunName(run: NestedRunSummary): string {
|
|
975
|
+
if (run.agent) return run.agent;
|
|
976
|
+
if (run.agents?.length) return formatWidgetAgents(run.agents);
|
|
977
|
+
return run.id;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
function nestedStatusGlyph(state: NestedRunSummary["state"] | NestedStepSummary["status"], theme: Theme, seed?: number): string {
|
|
981
|
+
if (state === "running") return theme.fg("accent", runningGlyph(seed));
|
|
982
|
+
if (state === "complete" || state === "completed") return theme.fg("success", "✓");
|
|
983
|
+
if (state === "failed") return theme.fg("error", "✗");
|
|
984
|
+
if (state === "paused") return theme.fg("warning", "■");
|
|
985
|
+
if (state === "stopped") return theme.fg("warning", "■");
|
|
986
|
+
return theme.fg("muted", "◦");
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
function nestedRunSeed(run: NestedRunSummary): number | undefined {
|
|
990
|
+
return runningSeed(run.lastUpdate, run.lastActivityAt, run.currentStep, run.toolCount, run.turnCount, run.totalTokens?.total, run.currentToolStartedAt);
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
function formatClockTime(ms: number | undefined): string | undefined {
|
|
994
|
+
if (ms === undefined || !Number.isFinite(ms)) return undefined;
|
|
995
|
+
const date = new Date(ms);
|
|
996
|
+
const pad = (value: number) => value.toString().padStart(2, "0");
|
|
997
|
+
return `${pad(date.getHours())}:${pad(date.getMinutes())}:${pad(date.getSeconds())}`;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
function nestedRunEventTime(run: NestedRunSummary): number | undefined {
|
|
1001
|
+
return run.state === "running"
|
|
1002
|
+
? (run.lastActivityAt ?? run.currentToolStartedAt ?? run.lastUpdate ?? run.startedAt)
|
|
1003
|
+
: (run.endedAt ?? run.lastUpdate ?? run.lastActivityAt ?? run.startedAt);
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
function nestedStepTimestamp(step: NestedStepSummary, fallback?: number): string | undefined {
|
|
1007
|
+
return formatClockTime(step.status === "running"
|
|
1008
|
+
? (step.lastActivityAt ?? step.currentToolStartedAt ?? fallback ?? step.startedAt)
|
|
1009
|
+
: (step.endedAt ?? step.lastActivityAt ?? fallback ?? step.startedAt));
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
function nestedTimestampPrefix(timestamp: string | undefined): string {
|
|
1013
|
+
return timestamp ? `[${timestamp}] ` : "";
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
function nestedActivity(input: Pick<NestedRunSummary | NestedStepSummary, "activityState" | "lastActivityAt" | "currentTool" | "currentToolStartedAt" | "currentPath" | "turnCount" | "toolCount">, state: NestedRunSummary["state"] | NestedStepSummary["status"], snapshotNow?: number): string {
|
|
1017
|
+
const facts: string[] = [];
|
|
1018
|
+
if (input.currentTool && input.currentToolStartedAt !== undefined && snapshotNow !== undefined) facts.push(`${input.currentTool} ${formatDuration(Math.max(0, snapshotNow - input.currentToolStartedAt))}`);
|
|
1019
|
+
else if (input.currentTool) facts.push(input.currentTool);
|
|
1020
|
+
if (input.currentPath) facts.push(shortenPath(input.currentPath));
|
|
1021
|
+
if (input.turnCount !== undefined) facts.push(`${input.turnCount} turns`);
|
|
1022
|
+
if (input.toolCount !== undefined) facts.push(`${input.toolCount} tools`);
|
|
1023
|
+
const activity = buildLiveStatusLine(input, snapshotNow);
|
|
1024
|
+
if (activity && facts.length) return `${activity} · ${facts.join(" · ")}`;
|
|
1025
|
+
if (activity) return activity;
|
|
1026
|
+
if (facts.length) return facts.join(" · ");
|
|
1027
|
+
if (state === "running") return "thinking…";
|
|
1028
|
+
if (state === "queued" || state === "pending") return "queued…";
|
|
1029
|
+
if (state === "paused") return "Paused";
|
|
1030
|
+
if (state === "stopped") return "Stopped";
|
|
1031
|
+
if (state === "failed") return "Failed";
|
|
1032
|
+
return "Done";
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
function formatNestedWidgetLines(children: NestedRunSummary[] | undefined, theme: Theme, width: number, expanded: boolean, snapshotNow?: number, lineBudget = expanded ? 12 : 1): string[] {
|
|
1036
|
+
if (!children?.length || lineBudget <= 0) return [];
|
|
1037
|
+
if (!expanded) {
|
|
1038
|
+
type CollapsedRow = { text: string; prefix: string };
|
|
1039
|
+
const rows: CollapsedRow[] = [];
|
|
1040
|
+
const maxLeaves = 4;
|
|
1041
|
+
const maxLines = Math.min(6, lineBudget);
|
|
1042
|
+
let leaves = 0;
|
|
1043
|
+
let overflow = 0;
|
|
1044
|
+
const appendLeaf = (step: NestedStepSummary | NestedRunSummary, prefix: string, fallback?: number): void => {
|
|
1045
|
+
if (leaves >= maxLeaves) {
|
|
1046
|
+
overflow++;
|
|
1047
|
+
return;
|
|
1048
|
+
}
|
|
1049
|
+
leaves++;
|
|
1050
|
+
const state = "status" in step ? step.status : step.state;
|
|
1051
|
+
const modelThinking = formatModelThinking(step.model, step.thinking);
|
|
1052
|
+
const activity = nestedActivity(step, state, snapshotNow ?? fallback);
|
|
1053
|
+
const timestamp = "status" in step ? nestedStepTimestamp(step, fallback) : formatClockTime(nestedRunEventTime(step));
|
|
1054
|
+
const error = step.error ? ` · ${step.error}` : "";
|
|
1055
|
+
const name = "status" in step ? step.agent : nestedRunName(step);
|
|
1056
|
+
rows.push({
|
|
1057
|
+
prefix,
|
|
1058
|
+
text: `${nestedTimestampPrefix(timestamp)}${nestedStatusGlyph(state, theme)} ${name} · ${state}${modelThinking ? ` · ${modelThinking}` : ""}${activity ? ` · ${activity}` : ""}${error}`,
|
|
1059
|
+
});
|
|
1060
|
+
};
|
|
1061
|
+
for (const child of children) {
|
|
1062
|
+
const steps = (child.mode === "parallel" || child.mode === "chain") ? child.steps ?? [] : [];
|
|
1063
|
+
if (steps.length > 0) {
|
|
1064
|
+
const ownerModelThinking = formatModelThinking(child.model, child.thinking);
|
|
1065
|
+
const ownerActivity = nestedActivity(child, child.state, snapshotNow ?? child.lastUpdate);
|
|
1066
|
+
const ownerError = child.error ? ` · ${child.error}` : "";
|
|
1067
|
+
rows.push({
|
|
1068
|
+
prefix: "↳ ",
|
|
1069
|
+
text: `OWNER ${nestedStatusGlyph(child.state, theme, nestedRunSeed(child))} ${nestedRunName(child)} · ${child.state}${ownerModelThinking ? ` · ${ownerModelThinking}` : ""}${ownerActivity ? ` · ${ownerActivity}` : ""}${ownerError}`,
|
|
1070
|
+
});
|
|
1071
|
+
for (const step of steps) appendLeaf(step, "↳ │ ", child.lastUpdate);
|
|
1072
|
+
} else {
|
|
1073
|
+
appendLeaf(child, "↳ ", child.lastUpdate);
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
if (overflow > 0) rows.push({ prefix: "↳ ", text: `… +${overflow} more nested leaves` });
|
|
1077
|
+
const visibleRows = rows.length <= maxLines
|
|
1078
|
+
? rows
|
|
1079
|
+
: overflow > 0
|
|
1080
|
+
? [...rows.slice(0, Math.max(0, maxLines - 1)), rows.at(-1)!]
|
|
1081
|
+
: rows.slice(0, maxLines);
|
|
1082
|
+
return visibleRows.map((row, index) => {
|
|
1083
|
+
const marker = index === visibleRows.length - 1 ? "└─" : "├─";
|
|
1084
|
+
const prefix = row.prefix;
|
|
1085
|
+
const text = row.text.startsWith("OWNER ") ? row.text.slice("OWNER ".length) : row.text;
|
|
1086
|
+
return truncLine(theme.fg("dim", `${prefix}${marker} ${text}`), width);
|
|
1087
|
+
});
|
|
1088
|
+
}
|
|
1089
|
+
const lines: string[] = [];
|
|
1090
|
+
const maxDepth = 2;
|
|
1091
|
+
const append = (items: NestedRunSummary[] | undefined, depth: number, prefix: string): void => {
|
|
1092
|
+
if (!items?.length || lines.length >= lineBudget) return;
|
|
1093
|
+
if (depth > maxDepth) {
|
|
1094
|
+
const aggregate = formatNestedAggregate(items);
|
|
1095
|
+
if (aggregate && lines.length < lineBudget) lines.push(theme.fg("dim", `${prefix}↳ ${aggregate}`));
|
|
1096
|
+
return;
|
|
1097
|
+
}
|
|
1098
|
+
for (let index = 0; index < items.length; index++) {
|
|
1099
|
+
const child = items[index]!;
|
|
1100
|
+
if (lines.length >= lineBudget) {
|
|
1101
|
+
const aggregate = formatNestedAggregate(items.slice(index));
|
|
1102
|
+
if (aggregate) lines[lines.length - 1] = theme.fg("dim", `${prefix}↳ ${aggregate}`);
|
|
1103
|
+
return;
|
|
1104
|
+
}
|
|
1105
|
+
const activity = nestedActivity(child, child.state, snapshotNow ?? child.lastUpdate);
|
|
1106
|
+
const error = child.error ? ` · ${child.error}` : "";
|
|
1107
|
+
const modelThinking = formatModelThinking(child.model, child.thinking);
|
|
1108
|
+
lines.push(theme.fg("dim", `${prefix}↳ ${nestedTimestampPrefix(formatClockTime(nestedRunEventTime(child)))}${nestedStatusGlyph(child.state, theme, nestedRunSeed(child))} ${nestedRunName(child)} · ${child.state}${modelThinking ? ` · ${modelThinking}` : ""} · ${activity}${error}`));
|
|
1109
|
+
if (depth === maxDepth) {
|
|
1110
|
+
const aggregate = formatNestedAggregate([...(child.steps?.flatMap((step) => step.children ?? []) ?? []), ...(child.children ?? [])]);
|
|
1111
|
+
if (aggregate && lines.length < lineBudget) lines.push(theme.fg("dim", `${prefix} ↳ ${aggregate}`));
|
|
1112
|
+
continue;
|
|
1113
|
+
}
|
|
1114
|
+
for (const step of child.steps ?? []) {
|
|
1115
|
+
if (lines.length >= lineBudget) return;
|
|
1116
|
+
const modelThinking = formatModelThinking(step.model, step.thinking);
|
|
1117
|
+
lines.push(theme.fg("dim", `${prefix} ↳ ${nestedTimestampPrefix(nestedStepTimestamp(step, child.lastUpdate))}${nestedStatusGlyph(step.status, theme)} ${step.agent} · ${step.status}${modelThinking ? ` · ${modelThinking}` : ""} · ${nestedActivity(step, step.status, snapshotNow ?? child.lastUpdate)}`));
|
|
1118
|
+
append(step.children, depth + 1, `${prefix} `);
|
|
1119
|
+
}
|
|
1120
|
+
append(child.children, depth + 1, `${prefix} `);
|
|
1121
|
+
}
|
|
1122
|
+
};
|
|
1123
|
+
append(children, 0, "");
|
|
1124
|
+
return lines.map((line) => truncLine(line, width));
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
function foregroundStyleWidgetStepLines(
|
|
1128
|
+
job: AsyncJobState,
|
|
1129
|
+
theme: Theme,
|
|
1130
|
+
step: NonNullable<AsyncJobState["steps"]>[number],
|
|
1131
|
+
itemTitle: "Agent" | "Step",
|
|
1132
|
+
index: number,
|
|
1133
|
+
total: number,
|
|
1134
|
+
expanded: boolean,
|
|
1135
|
+
width: number,
|
|
1136
|
+
frame?: number,
|
|
1137
|
+
): string[] {
|
|
1138
|
+
const status = widgetStepStatus(step.status, theme);
|
|
1139
|
+
const stats = widgetStepStats(theme, step);
|
|
1140
|
+
const modelDisplay = modelThinkingBadge(theme, step.model, step.thinking);
|
|
1141
|
+
const lines = [` ${widgetStepGlyph(step.status, theme, widgetStepRunningSeed(step, index - 1), frame)} ${itemTitle} ${index}/${total}: ${themeBold(theme, step.agent)}${contextModeBadge(theme, step.context)} ${theme.fg("dim", "·")} ${status}${modelDisplay}${stats ? ` ${theme.fg("dim", "·")} ${stats}` : ""}`];
|
|
1142
|
+
const activity = widgetStepActivityLine(step, width, expanded, job.updatedAt);
|
|
1143
|
+
if (activity) lines.push(` ${theme.fg("dim", `⎿ ${activity}`)}`);
|
|
1144
|
+
for (const nestedLine of formatNestedWidgetLines(step.children, theme, width, expanded, job.updatedAt, expanded ? 12 : 6)) {
|
|
1145
|
+
lines.push(` ${nestedLine}`);
|
|
1146
|
+
}
|
|
1147
|
+
if (step.status === "running") {
|
|
1148
|
+
if (!expanded) lines.push(` ${theme.fg("accent", liveDetailHintText())}`);
|
|
1149
|
+
const output = widgetOutputPath(job, step);
|
|
1150
|
+
if (output) lines.push(` ${theme.fg("dim", `output: ${shortenPath(output)}`)}`);
|
|
1151
|
+
if (expanded) {
|
|
1152
|
+
const liveStatus = buildLiveStatusLine(step, job.updatedAt);
|
|
1153
|
+
if (liveStatus && liveStatus !== activity) lines.push(` ${theme.fg("accent", liveStatus)}`);
|
|
1154
|
+
for (const tool of step.recentTools?.slice(-3) ?? []) {
|
|
1155
|
+
const maxArgsLen = Math.max(40, width - 30);
|
|
1156
|
+
const argsPreview = renderToolArgsPreview(tool.args, maxArgsLen, expanded);
|
|
1157
|
+
lines.push(` ${theme.fg("dim", `${tool.tool}${argsPreview ? `: ${argsPreview}` : ""}`)}`);
|
|
1158
|
+
}
|
|
1159
|
+
for (const line of compactRecentOutputLines(step.recentOutput)) {
|
|
1160
|
+
lines.push(` ${theme.fg("dim", line)}`);
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
return lines;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
function foregroundStyleWidgetDetails(job: AsyncJobState, theme: Theme, expanded: boolean, width: number, frame?: number): string[] {
|
|
1168
|
+
if (!job.steps?.length) return [
|
|
1169
|
+
` ${theme.fg("dim", `⎿ ${widgetActivity(job)}`)}`,
|
|
1170
|
+
...formatNestedWidgetLines(job.nestedChildren, theme, width, expanded, job.updatedAt, expanded ? 12 : 6).map((line) => ` ${line}`),
|
|
1171
|
+
];
|
|
1172
|
+
if (job.mode === "chain" && !job.activeParallelGroup && job.parallelGroups?.length) return widgetChainDetails(job, theme, expanded, width, frame);
|
|
1173
|
+
const total = job.stepsTotal ?? job.steps.length;
|
|
1174
|
+
const itemTitle = job.mode === "parallel" || job.activeParallelGroup ? "Agent" : "Step";
|
|
1175
|
+
const lines: string[] = [];
|
|
1176
|
+
for (const [index, step] of job.steps.entries()) {
|
|
1177
|
+
lines.push(...foregroundStyleWidgetStepLines(job, theme, step, itemTitle, index + 1, total, expanded, width, frame));
|
|
1178
|
+
}
|
|
1179
|
+
const attached = new Set(job.steps.flatMap((step) => step.children?.map((child) => child.id) ?? []));
|
|
1180
|
+
const unattached = job.nestedChildren?.filter((child) => !attached.has(child.id)) ?? [];
|
|
1181
|
+
for (const nestedLine of formatNestedWidgetLines(unattached, theme, width, expanded, job.updatedAt, expanded ? 12 : 6)) {
|
|
1182
|
+
lines.push(` ${nestedLine}`);
|
|
1183
|
+
}
|
|
1184
|
+
return lines;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
function buildSingleWidgetLines(job: AsyncJobState, theme: Theme, width: number, expanded: boolean, frame?: number): string[] {
|
|
1188
|
+
const stats = widgetStats(job, theme);
|
|
1189
|
+
const count = job.mode === "chain" ? job.chainStepCount : job.stepsTotal ?? job.agents?.length ?? job.steps?.length;
|
|
1190
|
+
const mode = widgetJobName(job);
|
|
1191
|
+
const title = `async subagent ${mode}${count && count > 1 ? ` (${count})` : ""}`;
|
|
1192
|
+
return [
|
|
1193
|
+
`${theme.fg("toolTitle", themeBold(theme, title))} ${theme.fg("dim", "· background")}`,
|
|
1194
|
+
`${widgetStatusGlyph(job, theme, frame)} ${themeBold(theme, mode)}${contextModeBadge(theme, job.context)}${stats ? ` ${theme.fg("dim", "·")} ${stats}` : ""}`,
|
|
1195
|
+
...foregroundStyleWidgetDetails(job, theme, expanded, width, frame),
|
|
1196
|
+
].map((line) => truncLine(line, width));
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
function compactSingleWidgetLines(job: AsyncJobState, theme: Theme, width: number, frame?: number): string[] {
|
|
1200
|
+
const fullLines = buildSingleWidgetLines(job, theme, width, false, frame);
|
|
1201
|
+
if (fullLines.length <= 10 || !job.steps?.length || (job.mode !== "parallel" && !job.activeParallelGroup)) return fullLines;
|
|
1202
|
+
|
|
1203
|
+
const total = job.stepsTotal ?? job.steps.length;
|
|
1204
|
+
const itemTitle = job.mode === "parallel" || job.activeParallelGroup ? "Agent" : "Step";
|
|
1205
|
+
const lines = fullLines.slice(0, 2);
|
|
1206
|
+
for (const [index, step] of job.steps.entries()) {
|
|
1207
|
+
const status = widgetStepStatus(step.status, theme);
|
|
1208
|
+
const activity = widgetStepActivityLine(step, width, false, job.updatedAt);
|
|
1209
|
+
const stepStats = widgetStepStats(theme, step);
|
|
1210
|
+
const activitySuffix = activity ? ` ${theme.fg("dim", "·")} ${theme.fg("dim", activity)}` : "";
|
|
1211
|
+
const modelDisplay = modelThinkingBadge(theme, step.model, step.thinking);
|
|
1212
|
+
lines.push(` ${widgetStepGlyph(step.status, theme, widgetStepRunningSeed(step, index), frame)} ${itemTitle} ${index + 1}/${total}: ${themeBold(theme, step.agent)}${contextModeBadge(theme, step.context)} ${theme.fg("dim", "·")} ${status}${modelDisplay}${activitySuffix}${stepStats ? ` ${theme.fg("dim", "·")} ${stepStats}` : ""}`);
|
|
1213
|
+
for (const nestedLine of formatNestedWidgetLines(step.children, theme, width, false, job.updatedAt, 6)) lines.push(` ${nestedLine}`);
|
|
1214
|
+
}
|
|
1215
|
+
if (job.steps.some((step) => step.status === "running")) lines.push(theme.fg("accent", ` ${liveDetailHintText()}`));
|
|
1216
|
+
return lines.map((line) => truncLine(line, width));
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
type WidgetRenderTier = "full" | "single-line" | "progressive";
|
|
1220
|
+
|
|
1221
|
+
interface WidgetLayoutSession {
|
|
1222
|
+
expanded: boolean;
|
|
1223
|
+
rows: number;
|
|
1224
|
+
columns: number;
|
|
1225
|
+
tier: WidgetRenderTier;
|
|
1226
|
+
lockedRows?: number;
|
|
1227
|
+
visibleJobKeys: string[];
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
const RESERVED_NON_WIDGET_ROWS = 19;
|
|
1231
|
+
|
|
1232
|
+
let widgetLayoutSession: WidgetLayoutSession | undefined;
|
|
1233
|
+
|
|
1234
|
+
function resetWidgetLayoutSession(): void {
|
|
1235
|
+
widgetLayoutSession = undefined;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
function estimateAvailableWidgetRows(): number {
|
|
1239
|
+
const rows = process.stdout.rows || 30;
|
|
1240
|
+
return Math.max(1, rows - RESERVED_NON_WIDGET_ROWS);
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
function currentTerminalRows(): number {
|
|
1244
|
+
return process.stdout.rows || 30;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
function currentTerminalColumns(): number {
|
|
1248
|
+
return process.stdout.columns || 120;
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
function widgetSessionMatches(expanded: boolean): boolean {
|
|
1252
|
+
return widgetLayoutSession?.expanded === expanded
|
|
1253
|
+
&& widgetLayoutSession.rows === currentTerminalRows()
|
|
1254
|
+
&& widgetLayoutSession.columns === currentTerminalColumns();
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
function widgetHeaderCounts(jobs: AsyncJobState[]): { running: AsyncJobState[]; queued: AsyncJobState[]; complete: AsyncJobState[]; failed: AsyncJobState[]; paused: AsyncJobState[]; stopped: AsyncJobState[] } {
|
|
1258
|
+
return {
|
|
1259
|
+
running: jobs.filter((job) => job.status === "running"),
|
|
1260
|
+
queued: jobs.filter((job) => job.status === "queued"),
|
|
1261
|
+
complete: jobs.filter((job) => job.status === "complete"),
|
|
1262
|
+
failed: jobs.filter((job) => job.status === "failed"),
|
|
1263
|
+
paused: jobs.filter((job) => job.status === "paused"),
|
|
1264
|
+
stopped: jobs.filter((job) => job.status === "stopped"),
|
|
1265
|
+
};
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
function buildSingleLineWidgetLines(jobs: AsyncJobState[], theme: Theme, width: number, frame?: number): string[] {
|
|
1269
|
+
const counts = widgetHeaderCounts(jobs);
|
|
1270
|
+
const hasActive = counts.running.length > 0 || counts.queued.length > 0;
|
|
1271
|
+
const glyph = counts.running.length > 0 ? runningGlyph(animatedSeed(widgetJobsRunningSeed(counts.running), frame)) : hasActive ? "●" : "○";
|
|
1272
|
+
const parts: string[] = [];
|
|
1273
|
+
if (counts.running.length > 0) parts.push(`${counts.running.length}/${jobs.length} running`);
|
|
1274
|
+
if (counts.queued.length > 0) parts.push(`${counts.queued.length} queued`);
|
|
1275
|
+
if (counts.failed.length > 0) parts.push(`${counts.failed.length} failed`);
|
|
1276
|
+
if (counts.stopped.length > 0) parts.push(`${counts.stopped.length} stopped`);
|
|
1277
|
+
if (counts.paused.length > 0) parts.push(`${counts.paused.length} paused`);
|
|
1278
|
+
if (!hasActive && counts.complete.length > 0) parts.push(`${counts.complete.length}/${jobs.length} done`);
|
|
1279
|
+
return [truncLine(`${theme.fg(hasActive ? "accent" : "dim", glyph)} ${theme.fg(hasActive ? "accent" : "dim", "subagents")} (${parts.join(", ") || `${jobs.length} total`})`, width)];
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
function orderedWidgetJobs(jobs: AsyncJobState[]): AsyncJobState[] {
|
|
1283
|
+
return [
|
|
1284
|
+
...jobs.filter((job) => job.status === "running"),
|
|
1285
|
+
...jobs.filter((job) => job.status === "queued"),
|
|
1286
|
+
...jobs.filter((job) => job.status !== "running" && job.status !== "queued"),
|
|
1287
|
+
];
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
function progressiveJobKey(job: AsyncJobState): string {
|
|
1291
|
+
return job.asyncId;
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
function isProgressiveActiveJob(job: AsyncJobState | undefined): boolean {
|
|
1295
|
+
return job?.status === "running" || job?.status === "queued";
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
function selectProgressiveJobKeys(jobs: AsyncJobState[], previousKeys: string[], bodyRows: number): string[] {
|
|
1299
|
+
if (bodyRows <= 0) return [];
|
|
1300
|
+
const jobsByKey = new Map(jobs.map((job) => [progressiveJobKey(job), job]));
|
|
1301
|
+
const selected: string[] = [];
|
|
1302
|
+
const append = (key: string): void => {
|
|
1303
|
+
if (selected.includes(key) || !jobsByKey.has(key)) return;
|
|
1304
|
+
selected.push(key);
|
|
1305
|
+
};
|
|
1306
|
+
for (const key of previousKeys) {
|
|
1307
|
+
if (!isProgressiveActiveJob(jobsByKey.get(key))) continue;
|
|
1308
|
+
append(key);
|
|
1309
|
+
if (selected.length >= bodyRows) return selected;
|
|
1310
|
+
}
|
|
1311
|
+
for (const job of orderedWidgetJobs(jobs)) {
|
|
1312
|
+
if (!isProgressiveActiveJob(job)) continue;
|
|
1313
|
+
const key = progressiveJobKey(job);
|
|
1314
|
+
append(key);
|
|
1315
|
+
if (selected.length >= bodyRows) break;
|
|
1316
|
+
}
|
|
1317
|
+
if (selected.length >= bodyRows) return selected;
|
|
1318
|
+
for (const key of previousKeys) {
|
|
1319
|
+
if (isProgressiveActiveJob(jobsByKey.get(key))) continue;
|
|
1320
|
+
append(key);
|
|
1321
|
+
if (selected.length >= bodyRows) return selected;
|
|
1322
|
+
}
|
|
1323
|
+
for (const job of orderedWidgetJobs(jobs)) {
|
|
1324
|
+
const key = progressiveJobKey(job);
|
|
1325
|
+
append(key);
|
|
1326
|
+
if (selected.length >= bodyRows) break;
|
|
1327
|
+
}
|
|
1328
|
+
return selected;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
function progressiveHeaderLine(jobs: AsyncJobState[], theme: Theme, width: number, frame?: number): string {
|
|
1332
|
+
const counts = widgetHeaderCounts(jobs);
|
|
1333
|
+
const hasActive = counts.running.length > 0 || counts.queued.length > 0;
|
|
1334
|
+
const glyph = counts.running.length > 0 ? runningGlyph(animatedSeed(widgetJobsRunningSeed(counts.running), frame)) : hasActive ? "●" : "○";
|
|
1335
|
+
const parts: string[] = [];
|
|
1336
|
+
if (counts.running.length > 0) parts.push(formatAgentRunningLabel(counts.running.length));
|
|
1337
|
+
if (counts.queued.length > 0) parts.push(`${counts.queued.length} queued`);
|
|
1338
|
+
if (!hasActive) {
|
|
1339
|
+
if (counts.failed.length > 0) parts.push(`${counts.failed.length} failed`);
|
|
1340
|
+
if (counts.stopped.length > 0) parts.push(`${counts.stopped.length} stopped`);
|
|
1341
|
+
if (counts.paused.length > 0) parts.push(`${counts.paused.length} paused`);
|
|
1342
|
+
if (counts.complete.length > 0) parts.push(`${counts.complete.length}/${jobs.length} done`);
|
|
1343
|
+
}
|
|
1344
|
+
return truncLine(`${theme.fg(hasActive ? "accent" : "dim", glyph)} ${theme.fg(hasActive ? "accent" : "dim", "Async agents")} ${theme.fg("dim", "·")} ${theme.fg("dim", parts.join(", ") || `${jobs.length} total`)}`, width);
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
function progressiveJobLine(job: AsyncJobState, theme: Theme, width: number, frame?: number): string {
|
|
1348
|
+
const stats = widgetStats(job, theme);
|
|
1349
|
+
const activity = widgetActivity(job);
|
|
1350
|
+
const status = job.status === "complete" ? "done" : job.status;
|
|
1351
|
+
const parts = [
|
|
1352
|
+
`${themeBold(theme, widgetJobName(job))}${contextModeBadge(theme, job.context)}`,
|
|
1353
|
+
theme.fg("dim", status),
|
|
1354
|
+
stats,
|
|
1355
|
+
activity && activity.toLowerCase() !== status ? theme.fg("dim", activity) : "",
|
|
1356
|
+
].filter(Boolean);
|
|
1357
|
+
return truncLine(` ${widgetStatusGlyph(job, theme, frame)} ${parts.join(` ${theme.fg("dim", "·")} `)}`, width);
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
function progressiveHiddenLine(hiddenJobs: AsyncJobState[], theme: Theme, width: number): string {
|
|
1361
|
+
const counts = widgetHeaderCounts(hiddenJobs);
|
|
1362
|
+
const parts: string[] = [];
|
|
1363
|
+
if (counts.running.length > 0) parts.push(`${counts.running.length} running`);
|
|
1364
|
+
if (counts.queued.length > 0) parts.push(`${counts.queued.length} queued`);
|
|
1365
|
+
const finished = counts.complete.length + counts.failed.length + counts.paused.length + counts.stopped.length;
|
|
1366
|
+
if (finished > 0) parts.push(`${finished} finished`);
|
|
1367
|
+
return truncLine(theme.fg("dim", ` +${hiddenJobs.length} more${parts.length ? ` (${parts.join(", ")})` : ""}`), width);
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
function buildProgressiveWidgetLines(jobs: AsyncJobState[], theme: Theme, width: number, lockedRows: number, previousKeys: string[], frame?: number): { lines: string[]; visibleJobKeys: string[] } {
|
|
1371
|
+
const rowCount = Math.max(1, lockedRows);
|
|
1372
|
+
if (rowCount === 1) return { lines: buildSingleLineWidgetLines(jobs, theme, width, frame), visibleJobKeys: [] };
|
|
1373
|
+
|
|
1374
|
+
const bodyRows = rowCount - 1;
|
|
1375
|
+
let visibleJobKeys = selectProgressiveJobKeys(jobs, previousKeys, bodyRows);
|
|
1376
|
+
const jobsByKey = new Map(jobs.map((job) => [progressiveJobKey(job), job]));
|
|
1377
|
+
let visibleJobs = visibleJobKeys.map((key) => jobsByKey.get(key)).filter((job): job is AsyncJobState => Boolean(job));
|
|
1378
|
+
let hiddenJobs = jobs.filter((job) => !visibleJobKeys.includes(progressiveJobKey(job)));
|
|
1379
|
+
const needsHiddenLine = hiddenJobs.length > 0;
|
|
1380
|
+
|
|
1381
|
+
if (needsHiddenLine && visibleJobs.length >= bodyRows && bodyRows > 0) {
|
|
1382
|
+
visibleJobs = visibleJobs.slice(0, bodyRows - 1);
|
|
1383
|
+
visibleJobKeys = visibleJobs.map(progressiveJobKey);
|
|
1384
|
+
hiddenJobs = jobs.filter((job) => !visibleJobKeys.includes(progressiveJobKey(job)));
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
const lines = [
|
|
1388
|
+
progressiveHeaderLine(jobs, theme, width, frame),
|
|
1389
|
+
...visibleJobs.map((job) => progressiveJobLine(job, theme, width, frame)),
|
|
1390
|
+
];
|
|
1391
|
+
if (hiddenJobs.length > 0 && lines.length < rowCount) lines.push(progressiveHiddenLine(hiddenJobs, theme, width));
|
|
1392
|
+
while (lines.length < rowCount) lines.push(" ");
|
|
1393
|
+
return { lines: lines.slice(0, rowCount), visibleJobKeys };
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
function collapsedWidgetLineBudget(rows: number): number {
|
|
1397
|
+
return Math.max(10, Math.min(14, Math.floor(rows * 0.35)));
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
function paddedWidgetLine(line: string, width: number): string {
|
|
1401
|
+
if (width <= 2) return " ".repeat(Math.max(0, width));
|
|
1402
|
+
const text = ` ${truncLine(line, width - 2)} `;
|
|
1403
|
+
return `${text}${" ".repeat(Math.max(0, width - visibleWidth(text)))}`;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
function fitWidgetLineBudget(lines: string[], theme: Theme, width: number, expanded: boolean): string[] {
|
|
1407
|
+
const rows = process.stdout.rows || 30;
|
|
1408
|
+
const budget = expanded
|
|
1409
|
+
? Math.max(12, Math.min(24, Math.floor(rows * 0.55)))
|
|
1410
|
+
: collapsedWidgetLineBudget(rows);
|
|
1411
|
+
if (lines.length <= budget) return lines;
|
|
1412
|
+
const visibleLines = Math.max(1, budget - 1);
|
|
1413
|
+
const hiddenCount = lines.length - visibleLines;
|
|
1414
|
+
const hint = expanded
|
|
1415
|
+
? `… ${hiddenCount} live-detail lines hidden`
|
|
1416
|
+
: `… ${hiddenCount} lines hidden · ${liveDetailKeyText()} expands`;
|
|
1417
|
+
return [...lines.slice(0, visibleLines), truncLine(theme.fg("dim", hint), width)];
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
function fitAdaptiveWidgetLines(jobs: AsyncJobState[], buildLines: () => string[], theme: Theme, width: number, expanded: boolean, frame?: number): string[] {
|
|
1421
|
+
if (expanded) {
|
|
1422
|
+
resetWidgetLayoutSession();
|
|
1423
|
+
return fitWidgetLineBudget(buildLines(), theme, width, true);
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
const hasMatchingSession = widgetSessionMatches(expanded);
|
|
1427
|
+
const rows = currentTerminalRows();
|
|
1428
|
+
const columns = currentTerminalColumns();
|
|
1429
|
+
const availableRows = estimateAvailableWidgetRows();
|
|
1430
|
+
|
|
1431
|
+
if (hasMatchingSession && widgetLayoutSession?.tier === "single-line") {
|
|
1432
|
+
return buildSingleLineWidgetLines(jobs, theme, width, frame);
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
if (hasMatchingSession && widgetLayoutSession?.tier === "progressive" && widgetLayoutSession.lockedRows !== undefined) {
|
|
1436
|
+
const rendered = buildProgressiveWidgetLines(jobs, theme, width, widgetLayoutSession.lockedRows, widgetLayoutSession.visibleJobKeys, frame);
|
|
1437
|
+
widgetLayoutSession.visibleJobKeys = rendered.visibleJobKeys;
|
|
1438
|
+
return rendered.lines;
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
const lines = buildLines();
|
|
1442
|
+
if (lines.length <= availableRows) {
|
|
1443
|
+
widgetLayoutSession = { expanded, rows, columns, tier: "full", visibleJobKeys: [] };
|
|
1444
|
+
return fitWidgetLineBudget(lines, theme, width, false);
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1447
|
+
if (availableRows <= 2) {
|
|
1448
|
+
widgetLayoutSession = { expanded, rows, columns, tier: "single-line", visibleJobKeys: [] };
|
|
1449
|
+
return buildSingleLineWidgetLines(jobs, theme, width, frame);
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
const lockedRows = Math.min(availableRows, collapsedWidgetLineBudget(rows));
|
|
1453
|
+
const rendered = buildProgressiveWidgetLines(jobs, theme, width, lockedRows, [], frame);
|
|
1454
|
+
widgetLayoutSession = { expanded, rows, columns, tier: "progressive", lockedRows, visibleJobKeys: rendered.visibleJobKeys };
|
|
1455
|
+
return rendered.lines;
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
function buildWidgetComponent(jobs: AsyncJobState[], expanded: boolean): (_tui: unknown, theme: Theme) => Component {
|
|
1459
|
+
return (_tui, theme) => {
|
|
1460
|
+
const container = new Container();
|
|
1461
|
+
container.render = (renderWidth: number): string[] => {
|
|
1462
|
+
const width = Math.max(0, renderWidth - 2);
|
|
1463
|
+
const frame = Math.floor(Date.now() / POLL_INTERVAL_MS);
|
|
1464
|
+
const buildLines = (): string[] => expanded
|
|
1465
|
+
? buildWidgetLines(jobs, theme, width, true, frame)
|
|
1466
|
+
: jobs.length === 1
|
|
1467
|
+
? compactSingleWidgetLines(jobs[0]!, theme, width, frame)
|
|
1468
|
+
: buildWidgetLines(jobs, theme, width, false, frame);
|
|
1469
|
+
return fitAdaptiveWidgetLines(jobs, buildLines, theme, width, expanded, frame).map((line) => paddedWidgetLine(line, renderWidth));
|
|
1470
|
+
};
|
|
1471
|
+
return container;
|
|
1472
|
+
};
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
export function buildWidgetLines(jobs: AsyncJobState[], theme: Theme, width = getTermWidth(), expanded = false, frame?: number): string[] {
|
|
1476
|
+
if (jobs.length === 0) return [];
|
|
1477
|
+
if (jobs.length === 1) return buildSingleWidgetLines(jobs[0]!, theme, width, expanded, frame);
|
|
1478
|
+
const running = jobs.filter((job) => job.status === "running");
|
|
1479
|
+
const queued = jobs.filter((job) => job.status === "queued");
|
|
1480
|
+
const finished = jobs.filter((job) => job.status !== "running" && job.status !== "queued");
|
|
1481
|
+
|
|
1482
|
+
const lines: string[] = [];
|
|
1483
|
+
const hasActive = running.length > 0 || queued.length > 0;
|
|
1484
|
+
const headerGlyph = running.length > 0 ? runningGlyph(animatedSeed(widgetJobsRunningSeed(running), frame)) : hasActive ? "●" : "○";
|
|
1485
|
+
lines.push(truncLine(`${theme.fg(hasActive ? "accent" : "dim", headerGlyph)} ${theme.fg(hasActive ? "accent" : "dim", "Async agents")} ${theme.fg("dim", "· background")}`, width));
|
|
1486
|
+
|
|
1487
|
+
const items: string[][] = [];
|
|
1488
|
+
let hiddenRunning = 0;
|
|
1489
|
+
let hiddenFinished = 0;
|
|
1490
|
+
let queuedSummaryShown = false;
|
|
1491
|
+
let slots = MAX_WIDGET_JOBS;
|
|
1492
|
+
|
|
1493
|
+
for (const job of running) {
|
|
1494
|
+
if (slots <= 0) { hiddenRunning++; continue; }
|
|
1495
|
+
const stats = widgetStats(job, theme);
|
|
1496
|
+
items.push([
|
|
1497
|
+
`${widgetStatusGlyph(job, theme, frame)} ${themeBold(theme, widgetJobName(job))}${contextModeBadge(theme, job.context)}${stats ? ` ${theme.fg("dim", "·")} ${stats}` : ""}`,
|
|
1498
|
+
` ${theme.fg("dim", `⎿ ${widgetActivity(job)}`)}`,
|
|
1499
|
+
...widgetParallelAgentDetails(job, theme, expanded, width, frame),
|
|
1500
|
+
]);
|
|
1501
|
+
slots--;
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
if (queued.length > 0 && slots > 0) {
|
|
1505
|
+
items.push([`${theme.fg("muted", "◦")} ${theme.fg("dim", `${queued.length} queued`)}`]);
|
|
1506
|
+
queuedSummaryShown = true;
|
|
1507
|
+
slots--;
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
for (const job of finished) {
|
|
1511
|
+
if (slots <= 0) { hiddenFinished++; continue; }
|
|
1512
|
+
const stats = widgetStats(job, theme);
|
|
1513
|
+
items.push([
|
|
1514
|
+
`${widgetStatusGlyph(job, theme, frame)} ${themeBold(theme, widgetJobName(job))}${contextModeBadge(theme, job.context)}${stats ? ` ${theme.fg("dim", "·")} ${stats}` : ""}`,
|
|
1515
|
+
` ${theme.fg("dim", `⎿ ${widgetActivity(job)}`)}`,
|
|
1516
|
+
...widgetParallelAgentDetails(job, theme, expanded, width, frame),
|
|
1517
|
+
]);
|
|
1518
|
+
slots--;
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
const hiddenQueued = queued.length > 0 && !queuedSummaryShown ? queued.length : 0;
|
|
1522
|
+
const hiddenTotal = hiddenRunning + hiddenFinished + hiddenQueued;
|
|
1523
|
+
if (hiddenTotal > 0) {
|
|
1524
|
+
const parts: string[] = [];
|
|
1525
|
+
if (hiddenRunning > 0) parts.push(`${hiddenRunning} running`);
|
|
1526
|
+
if (hiddenQueued > 0) parts.push(`${hiddenQueued} queued`);
|
|
1527
|
+
if (hiddenFinished > 0) parts.push(`${hiddenFinished} finished`);
|
|
1528
|
+
items.push([theme.fg("dim", `+${hiddenTotal} more (${parts.join(", ")})`)]);
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
for (let i = 0; i < items.length; i++) {
|
|
1532
|
+
const item = items[i]!;
|
|
1533
|
+
const last = i === items.length - 1;
|
|
1534
|
+
const branch = last ? "└─" : "├─";
|
|
1535
|
+
const continuation = last ? " " : "│ ";
|
|
1536
|
+
lines.push(truncLine(`${theme.fg("dim", branch)} ${item[0]}`, width));
|
|
1537
|
+
for (const detail of item.slice(1)) {
|
|
1538
|
+
lines.push(truncLine(`${theme.fg("dim", continuation)} ${detail}`, width));
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
return lines;
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
/**
|
|
1546
|
+
* Render the async jobs widget
|
|
1547
|
+
*/
|
|
1548
|
+
export function renderWidget(ctx: ExtensionContext, jobs: AsyncJobState[]): void {
|
|
1549
|
+
if (jobs.length === 0) {
|
|
1550
|
+
resetWidgetLayoutSession();
|
|
1551
|
+
if (ctx.hasUI) ctx.ui.setWidget(WIDGET_KEY, undefined);
|
|
1552
|
+
return;
|
|
1553
|
+
}
|
|
1554
|
+
if (!ctx.hasUI) return;
|
|
1555
|
+
ctx.ui.setWidget(WIDGET_KEY, buildWidgetComponent(jobs, ctx.ui.getToolsExpanded?.() ?? false));
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
function renderSingleCompact(d: Details, r: Details["results"][number], theme: Theme, frame?: number): Component {
|
|
1559
|
+
const output = r.truncation?.text || getSingleResultOutput(r);
|
|
1560
|
+
const progress = r.progress || r.progressSummary;
|
|
1561
|
+
const isRunning = isResultRunning(r);
|
|
1562
|
+
const contextBadge = contextModeBadge(theme, r.context ?? d.context);
|
|
1563
|
+
const stats = statJoin(theme, [
|
|
1564
|
+
r.usage?.turns ? `⟳ ${r.usage.turns}` : "",
|
|
1565
|
+
formatProgressStats(theme, progress),
|
|
1566
|
+
]);
|
|
1567
|
+
const c = new Container();
|
|
1568
|
+
const width = getTermWidth() - 4;
|
|
1569
|
+
const modelDisplay = modelThinkingBadge(theme, r.model ?? r.progress?.model, r.thinking ?? r.progress?.thinking);
|
|
1570
|
+
c.addChild(new Text(truncLine(`${resultGlyph(r, output, theme, isRunning, undefined, frame)} ${theme.fg("toolTitle", theme.bold(r.agent))}${modelDisplay}${contextBadge}${stats ? ` ${theme.fg("dim", "·")} ${stats}` : ""}`, width), 0, 0));
|
|
1571
|
+
|
|
1572
|
+
if (isRunning && r.progress) {
|
|
1573
|
+
const progressSnapshotNow = snapshotNowForProgress(r.progress);
|
|
1574
|
+
const activity = compactCurrentActivity(r.progress);
|
|
1575
|
+
c.addChild(new Text(truncLine(theme.fg("dim", ` ⎿ ${activity}`), width), 0, 0));
|
|
1576
|
+
const liveStatus = buildLiveStatusLine(r.progress, progressSnapshotNow);
|
|
1577
|
+
if (liveStatus && liveStatus !== activity) c.addChild(new Text(truncLine(theme.fg("dim", ` ${liveStatus}`), width), 0, 0));
|
|
1578
|
+
for (const nestedLine of formatNestedWidgetLines(r.children, theme, width, false, progressSnapshotNow)) {
|
|
1579
|
+
c.addChild(new Text(truncLine(` ${nestedLine}`, width), 0, 0));
|
|
1580
|
+
}
|
|
1581
|
+
c.addChild(new Text(truncLine(theme.fg("accent", ` ${liveDetailHintText()}`), width), 0, 0));
|
|
1582
|
+
if (r.artifactPaths) c.addChild(new Text(truncLine(theme.fg("dim", ` output: ${shortenPath(r.artifactPaths.outputPath)}`), width), 0, 0));
|
|
1583
|
+
return c;
|
|
1584
|
+
}
|
|
1585
|
+
|
|
1586
|
+
for (const nestedLine of formatNestedWidgetLines(r.children, theme, width, false, r.progress?.lastActivityAt)) {
|
|
1587
|
+
c.addChild(new Text(truncLine(` ${nestedLine}`, width), 0, 0));
|
|
1588
|
+
}
|
|
1589
|
+
c.addChild(new Text(truncLine(theme.fg("dim", ` ⎿ ${resultStatusLine(r, output)}`), width), 0, 0));
|
|
1590
|
+
const preview = firstOutputLine(output);
|
|
1591
|
+
if (preview && r.exitCode === 0 && !hasEmptyTextOutputWithoutOutputTarget(r.task, output)) {
|
|
1592
|
+
c.addChild(new Text(truncLine(theme.fg("dim", ` ${preview}`), width), 0, 0));
|
|
1593
|
+
}
|
|
1594
|
+
if (r.sessionFile) c.addChild(new Text(truncLine(theme.fg("dim", ` session: ${shortenPath(r.sessionFile)}`), width), 0, 0));
|
|
1595
|
+
if (r.artifactPaths) c.addChild(new Text(truncLine(theme.fg("dim", ` output: ${shortenPath(r.artifactPaths.outputPath)}`), width), 0, 0));
|
|
1596
|
+
if (r.truncation?.artifactPath) c.addChild(new Text(truncLine(theme.fg("dim", ` full output: ${shortenPath(r.truncation.artifactPath)}`), width), 0, 0));
|
|
1597
|
+
return c;
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
function workflowRowGlyph(row: WorkflowChatProgressRow, theme: Theme, frame?: number): string {
|
|
1601
|
+
if (row.state === "running") return theme.fg("accent", runningGlyph(frame));
|
|
1602
|
+
if (row.state === "complete") return theme.fg("success", "✓");
|
|
1603
|
+
return theme.fg("error", "✗");
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1606
|
+
function workflowRowStateLabel(row: WorkflowChatProgressRow, theme: Theme): string {
|
|
1607
|
+
const label = (row.state === "complete" ? "complete" : row.state).padEnd(8);
|
|
1608
|
+
if (row.state === "running") return theme.fg("accent", label);
|
|
1609
|
+
if (row.state === "complete") return theme.fg("success", label);
|
|
1610
|
+
return theme.fg("error", label);
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
function workflowOverallState(rows: WorkflowChatProgressRow[], hasTerminalValue: boolean, isError?: boolean): "running" | "complete" | "failed" {
|
|
1614
|
+
if (isError || rows.some((row) => row.state === "failed")) return "failed";
|
|
1615
|
+
if ((rows.length > 0 && rows.every((row) => row.state === "complete")) || hasTerminalValue) return "complete";
|
|
1616
|
+
return "running";
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
function renderWorkflowChatProgress(d: Details, result: AgentToolResult<Details>, theme: Theme, frame?: number): Component {
|
|
1620
|
+
const workflow = d.workflow;
|
|
1621
|
+
const rows = workflow ? buildWorkflowChatProgressRows(workflow.trace) : [];
|
|
1622
|
+
const state = workflowOverallState(rows, workflow?.value !== undefined, result.isError);
|
|
1623
|
+
const glyph = state === "running" ? theme.fg("accent", runningGlyph(frame)) : state === "complete" ? theme.fg("success", "✓") : theme.fg("error", "✗");
|
|
1624
|
+
const width = getTermWidth() - 4;
|
|
1625
|
+
const runId = d.runId ? d.runId.slice(0, 12) : "workflow";
|
|
1626
|
+
const repoLabel = d.chatProgress?.repoLabel ?? (d.chatProgress?.repoRelation === "same" ? "same repo" : "other repo");
|
|
1627
|
+
const phase = rows.find((row) => row.state === "running" && row.phase)?.phase ?? [...rows].reverse().find((row) => row.phase)?.phase;
|
|
1628
|
+
const c = new Container();
|
|
1629
|
+
c.addChild(new Text(truncLine(`${glyph} ${theme.fg("toolTitle", theme.bold("workflow"))} ${runId} ${theme.fg("dim", "·")} ${d.chatProgress?.repoRelation === "same" ? "same repo" : "other repo"} ${theme.fg("dim", "·")} ${state}`, width), 0, 0));
|
|
1630
|
+
c.addChild(new Text(truncLine(theme.fg("dim", ` Repo ${repoLabel}`), width), 0, 0));
|
|
1631
|
+
if (phase) c.addChild(new Text(truncLine(theme.fg("dim", ` Phase ${phase}`), width), 0, 0));
|
|
1632
|
+
if (rows.length === 0) {
|
|
1633
|
+
c.addChild(new Text(truncLine(theme.fg("dim", " ◦ waiting for workflow child launches"), width), 0, 0));
|
|
1634
|
+
return c;
|
|
1635
|
+
}
|
|
1636
|
+
const visible = visibleWorkflowRows(rows);
|
|
1637
|
+
if (visible.hiddenRows > 0) c.addChild(new Text(truncLine(theme.fg("dim", ` … ${visible.hiddenRows} older workflow rows hidden`), width), 0, 0));
|
|
1638
|
+
for (const row of visible.rows) {
|
|
1639
|
+
const status = workflowRowStateLabel(row, theme);
|
|
1640
|
+
const label = row.label && row.label !== row.key ? ` ${oneLine(row.label)}` : "";
|
|
1641
|
+
const duration = row.durationMs !== undefined ? ` ${theme.fg("dim", `· ${formatDuration(row.durationMs)}`)}` : "";
|
|
1642
|
+
const run = row.runId ? ` ${theme.fg("dim", `[${row.runId.slice(0, 8)}]`)}` : "";
|
|
1643
|
+
const error = row.error ? ` ${theme.fg("error", `· ${compactWorkflowError(row.error)}`)}` : "";
|
|
1644
|
+
c.addChild(new Text(truncLine(` ${workflowRowGlyph(row, theme, frame)} ${status} ${theme.bold(row.key)}${label}${run}${duration}${error}`, width), 0, 0));
|
|
1645
|
+
}
|
|
1646
|
+
if (workflow?.emits.length) c.addChild(new Text(truncLine(theme.fg("dim", ` Emits ${workflow.emits.length}`), width), 0, 0));
|
|
1647
|
+
return c;
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
function renderMultiCompact(d: Details, theme: Theme, frame?: number): Component {
|
|
1651
|
+
const hasRunning = detailsHaveRunningResult(d);
|
|
1652
|
+
const detached = d.results.some((r) => r.detached)
|
|
1653
|
+
|| workflowGraphHasStatus(d, ["detached"]);
|
|
1654
|
+
const stopped = d.results.some((r) => r.stopped)
|
|
1655
|
+
|| workflowGraphHasStatus(d, ["stopped"]);
|
|
1656
|
+
const failed = d.results.some((r) => !hasTerminalResultFlag(r) && r.exitCode !== 0 && !isResultRunning(r))
|
|
1657
|
+
|| workflowGraphHasStatus(d, ["failed"]);
|
|
1658
|
+
const paused = d.results.some((r) => r.interrupted)
|
|
1659
|
+
|| workflowGraphHasStatus(d, ["paused"]);
|
|
1660
|
+
let totalSummary = d.progressSummary;
|
|
1661
|
+
if (!totalSummary) {
|
|
1662
|
+
let sawProgress = false;
|
|
1663
|
+
const summary = { toolCount: 0, tokens: 0, durationMs: 0 };
|
|
1664
|
+
for (const r of d.results) {
|
|
1665
|
+
const prog = r.progress || r.progressSummary;
|
|
1666
|
+
if (!prog) continue;
|
|
1667
|
+
sawProgress = true;
|
|
1668
|
+
summary.toolCount += prog.toolCount;
|
|
1669
|
+
summary.tokens += prog.tokens;
|
|
1670
|
+
summary.durationMs = d.mode === "chain" ? summary.durationMs + prog.durationMs : Math.max(summary.durationMs, prog.durationMs);
|
|
1671
|
+
}
|
|
1672
|
+
if (sawProgress) totalSummary = summary;
|
|
1673
|
+
}
|
|
1674
|
+
const multiLabel = buildMultiProgressLabel(d, hasRunning);
|
|
1675
|
+
const itemTitle = multiLabel.itemTitle;
|
|
1676
|
+
const stats = statJoin(theme, [multiLabel.headerLabel, formatProgressStats(theme, totalSummary), formatTotalCostStat(d.totalCost)]);
|
|
1677
|
+
const aggregatePresentation = semanticResultPresentation({
|
|
1678
|
+
running: hasRunning,
|
|
1679
|
+
detached,
|
|
1680
|
+
stopped,
|
|
1681
|
+
interrupted: paused,
|
|
1682
|
+
failed,
|
|
1683
|
+
seed: runningSeed(progressRunningSeed(totalSummary), d.currentStepIndex),
|
|
1684
|
+
frame,
|
|
1685
|
+
});
|
|
1686
|
+
const glyph = theme.fg(aggregatePresentation.tone, aggregatePresentation.glyph);
|
|
1687
|
+
const contextBadge = contextModeBadge(theme, d.context);
|
|
1688
|
+
const c = new Container();
|
|
1689
|
+
const width = getTermWidth() - 4;
|
|
1690
|
+
c.addChild(new Text(truncLine(`${glyph} ${theme.fg("toolTitle", theme.bold(d.mode))}${contextBadge}${stats ? ` ${theme.fg("dim", "·")} ${stats}` : ""}`, width), 0, 0));
|
|
1691
|
+
|
|
1692
|
+
const useResultsDirectly = multiLabel.hasParallelInChain || !d.chainAgents?.length;
|
|
1693
|
+
const displayStart = multiLabel.showActiveGroupOnly ? multiLabel.groupStartIndex : 0;
|
|
1694
|
+
const displayEnd = multiLabel.showActiveGroupOnly ? multiLabel.groupEndIndex : (useResultsDirectly ? d.results.length : d.chainAgents!.length);
|
|
1695
|
+
const chainEntries = buildChainRenderEntries(d, multiLabel);
|
|
1696
|
+
const renderEntries = chainEntries ?? Array.from({ length: displayEnd - displayStart }, (_, offset): ChainRenderEntry => {
|
|
1697
|
+
const i = displayStart + offset;
|
|
1698
|
+
const r = d.results[i];
|
|
1699
|
+
const fallbackLabel = itemTitle.toLowerCase();
|
|
1700
|
+
const rowNumber = multiLabel.showActiveGroupOnly ? (i - multiLabel.groupStartIndex + 1) : (i + 1);
|
|
1701
|
+
return { kind: "result", resultIndex: i, rowNumber, agentName: useResultsDirectly ? (r?.agent || `${fallbackLabel}-${rowNumber}`) : (d.chainAgents![i] || r?.agent || `${fallbackLabel}-${rowNumber}`) };
|
|
1702
|
+
});
|
|
1703
|
+
for (const entry of renderEntries) {
|
|
1704
|
+
if (entry.kind === "placeholder") {
|
|
1705
|
+
const glyph = widgetStepGlyph(entry.status as AsyncJobStep["status"], theme);
|
|
1706
|
+
const statusLabel = widgetStepStatus(entry.status as AsyncJobStep["status"], theme);
|
|
1707
|
+
c.addChild(new Text(truncLine(` ${glyph} ${entry.stepLabel}: ${themeBold(theme, entry.agentName)} ${theme.fg("dim", "·")} ${statusLabel}`, width), 0, 0));
|
|
1708
|
+
if (entry.error) c.addChild(new Text(truncLine(theme.fg("error", ` ⎿ Error: ${entry.error}`), width), 0, 0));
|
|
1709
|
+
continue;
|
|
1710
|
+
}
|
|
1711
|
+
const i = entry.resultIndex;
|
|
1712
|
+
const r = d.results[i];
|
|
1713
|
+
const rowNumber = entry.rowNumber;
|
|
1714
|
+
const agentName = entry.agentName;
|
|
1715
|
+
if (!r) {
|
|
1716
|
+
const pendingLabel = entry.rowLabel ?? `${itemTitle} ${rowNumber}`;
|
|
1717
|
+
c.addChild(new Text(truncLine(theme.fg("dim", ` ◦ ${pendingLabel}: ${agentName} · pending`), width), 0, 0));
|
|
1718
|
+
continue;
|
|
1719
|
+
}
|
|
1720
|
+
const output = getSingleResultOutput(r);
|
|
1721
|
+
const progressFromArray = d.progress?.find((p) => p.index === i) || d.progress?.find((p) => p.agent === r.agent && p.status === "running");
|
|
1722
|
+
const rProg = r.progress || progressFromArray || r.progressSummary;
|
|
1723
|
+
const rRunning = rProg && "status" in rProg && isResultRunning(r, rProg.status);
|
|
1724
|
+
const rPending = rProg && "status" in rProg && rProg.status === "pending";
|
|
1725
|
+
const stepNumber = r.progress?.index !== undefined ? r.progress.index + 1 : progressFromArray?.index !== undefined ? progressFromArray.index + 1 : i + 1;
|
|
1726
|
+
const stepStats = formatProgressStats(theme, rProg);
|
|
1727
|
+
const glyph = rPending ? theme.fg("dim", "◦") : resultGlyph(r, output, theme, rRunning, progressRunningSeed(rProg), frame);
|
|
1728
|
+
const pendingLabel = rPending ? ` ${theme.fg("dim", "· pending")}` : "";
|
|
1729
|
+
const stepLabel = entry.rowLabel ?? resultRowLabel(multiLabel, i, stepNumber);
|
|
1730
|
+
const rowProgressModel = rProg && "status" in rProg ? rProg : undefined;
|
|
1731
|
+
const rowModelDisplay = modelThinkingBadge(theme, r.model ?? rowProgressModel?.model, r.thinking ?? rowProgressModel?.thinking);
|
|
1732
|
+
const line = `${glyph} ${stepLabel}: ${themeBold(theme, agentName)}${contextModeBadge(theme, r.context)}${rowModelDisplay}${stepStats ? ` ${theme.fg("dim", "·")} ${stepStats}` : ""}${pendingLabel}`;
|
|
1733
|
+
c.addChild(new Text(truncLine(` ${line}`, width), 0, 0));
|
|
1734
|
+
if (rRunning && rProg && "status" in rProg) {
|
|
1735
|
+
const liveProgress = rProg as AgentProgress;
|
|
1736
|
+
const activity = compactCurrentActivity(liveProgress);
|
|
1737
|
+
c.addChild(new Text(truncLine(theme.fg("dim", ` ⎿ ${activity}`), width), 0, 0));
|
|
1738
|
+
for (const nestedLine of formatNestedWidgetLines(r.children, theme, width, false, snapshotNowForProgress(liveProgress))) {
|
|
1739
|
+
c.addChild(new Text(truncLine(` ${nestedLine}`, width), 0, 0));
|
|
1740
|
+
}
|
|
1741
|
+
c.addChild(new Text(truncLine(theme.fg("accent", ` ${liveDetailHintText()}`), width), 0, 0));
|
|
1742
|
+
} else if (!rPending && (r.exitCode !== 0 || r.interrupted || r.detached || hasEmptyTextOutputWithoutOutputTarget(r.task, output))) {
|
|
1743
|
+
c.addChild(new Text(truncLine(theme.fg(r.exitCode !== 0 ? "error" : "dim", ` ⎿ ${resultStatusLine(r, output)}`), width), 0, 0));
|
|
1744
|
+
}
|
|
1745
|
+
if (!rRunning && !rPending) {
|
|
1746
|
+
for (const nestedLine of formatNestedWidgetLines(r.children, theme, width, false, r.progress?.lastActivityAt)) {
|
|
1747
|
+
c.addChild(new Text(truncLine(` ${nestedLine}`, width), 0, 0));
|
|
1748
|
+
}
|
|
1749
|
+
}
|
|
1750
|
+
const outputTarget = extractOutputTarget(r.task);
|
|
1751
|
+
if (outputTarget) c.addChild(new Text(truncLine(theme.fg("dim", ` output: ${outputTarget}`), width), 0, 0));
|
|
1752
|
+
if (r.artifactPaths) c.addChild(new Text(truncLine(theme.fg("dim", ` output: ${shortenPath(r.artifactPaths.outputPath)}`), width), 0, 0));
|
|
1753
|
+
}
|
|
1754
|
+
if (d.artifacts) c.addChild(new Text(truncLine(theme.fg("dim", ` artifacts: ${shortenPath(d.artifacts.dir)}`), width), 0, 0));
|
|
1755
|
+
return c;
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
export function renderSubagentSummary(
|
|
1759
|
+
result: AgentToolResult<Details>,
|
|
1760
|
+
options: { isPartial?: boolean },
|
|
1761
|
+
theme: Theme,
|
|
1762
|
+
): Component {
|
|
1763
|
+
const details = result.details;
|
|
1764
|
+
const results = details?.results ?? [];
|
|
1765
|
+
const hasSingleTerminalResult = results.length === 1 && hasTerminalResult(results[0]!);
|
|
1766
|
+
const hasOnlyTerminalResults = results.length > 0 && results.every(hasTerminalResult);
|
|
1767
|
+
const running = !hasSingleTerminalResult && !hasOnlyTerminalResults && (
|
|
1768
|
+
options.isPartial === true
|
|
1769
|
+
|| Boolean(details?.asyncId && details.mode !== "management")
|
|
1770
|
+
|| Boolean(details && detailsHaveRunningResult(details))
|
|
1771
|
+
);
|
|
1772
|
+
const stopped = results.some((entry) => entry.stopped)
|
|
1773
|
+
|| Boolean(details && workflowGraphHasStatus(details, ["stopped"]));
|
|
1774
|
+
const paused = results.some((entry) => entry.interrupted || entry.detached)
|
|
1775
|
+
|| Boolean(details && workflowGraphHasStatus(details, ["paused", "detached"]));
|
|
1776
|
+
const failed = result.isError === true
|
|
1777
|
+
|| results.some((entry) => !hasTerminalResultFlag(entry) && entry.exitCode !== 0 && !isResultRunning(entry))
|
|
1778
|
+
|| Boolean(details && workflowGraphHasStatus(details, ["failed"]));
|
|
1779
|
+
const state = running ? "running" : failed ? "failed" : stopped ? "stopped" : paused ? "paused" : "completed";
|
|
1780
|
+
const glyph = state === "running"
|
|
1781
|
+
? theme.fg("accent", STATIC_RUNNING_GLYPH)
|
|
1782
|
+
: state === "completed"
|
|
1783
|
+
? theme.fg("success", "✓")
|
|
1784
|
+
: state === "failed"
|
|
1785
|
+
? theme.fg("error", "✗")
|
|
1786
|
+
: theme.fg("warning", "■");
|
|
1787
|
+
const label = details?.mode === "single" && results.length === 1
|
|
1788
|
+
? results[0]?.agent || "subagent"
|
|
1789
|
+
: details?.mode || "subagent";
|
|
1790
|
+
return new Text(
|
|
1791
|
+
truncLine(`${glyph} ${theme.fg("toolTitle", theme.bold(label))} ${theme.fg("dim", "·")} ${theme.fg(state === "failed" ? "error" : state === "completed" ? "success" : state === "running" ? "accent" : "warning", state)}`, getTermWidth() - 4),
|
|
1792
|
+
0,
|
|
1793
|
+
0,
|
|
1794
|
+
);
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1797
|
+
/**
|
|
1798
|
+
* Render a subagent result
|
|
1799
|
+
*/
|
|
1800
|
+
export function renderSubagentResult(
|
|
1801
|
+
result: AgentToolResult<Details>,
|
|
1802
|
+
options: { expanded: boolean },
|
|
1803
|
+
theme: Theme,
|
|
1804
|
+
frame?: number,
|
|
1805
|
+
): Component {
|
|
1806
|
+
const d = result.details;
|
|
1807
|
+
if (d?.mode === "workflow" && d.chatProgress?.mode === "live-card" && !result.isError && d.workflow?.value === undefined) return renderWorkflowChatProgress(d, result, theme, frame);
|
|
1808
|
+
if (!d || !d.results.length) {
|
|
1809
|
+
const t = result.content[0];
|
|
1810
|
+
const text = t?.type === "text" ? t.text : "(no output)";
|
|
1811
|
+
const contextPrefix = contextModePrefix(theme, d?.context);
|
|
1812
|
+
const width = getTermWidth() - 4;
|
|
1813
|
+
if (!text.includes("\n")) return new Text(truncLine(`${contextPrefix}${text}`, width), 0, 0);
|
|
1814
|
+
if (d && !options.expanded && !result.isError) {
|
|
1815
|
+
const lines = text.split(/\r?\n/);
|
|
1816
|
+
const firstNonEmptyLine = lines.find((line) => line.trim())?.trim() || "(no output)";
|
|
1817
|
+
const c = new Container();
|
|
1818
|
+
c.addChild(new Text(truncLine(`${contextPrefix}${firstNonEmptyLine} · ${lines.length} lines`, width), 0, 0));
|
|
1819
|
+
c.addChild(new Text(truncLine(theme.fg("accent", ` Press ${liveDetailKeyText()} for full output`), width), 0, 0));
|
|
1820
|
+
return c;
|
|
1821
|
+
}
|
|
1822
|
+
const c = new Container();
|
|
1823
|
+
const wrapped = wrapPlainText(`${contextPrefix}${text}`, width);
|
|
1824
|
+
for (const line of wrapped) c.addChild(new Text(line, 0, 0));
|
|
1825
|
+
return c;
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
const expanded = options.expanded;
|
|
1829
|
+
const mdTheme = getMarkdownTheme();
|
|
1830
|
+
|
|
1831
|
+
if (d.mode === "single" && d.results.length === 1) {
|
|
1832
|
+
const r = d.results[0];
|
|
1833
|
+
if (!r) return renderMultiCompact(d, theme, frame);
|
|
1834
|
+
if (!expanded) return renderSingleCompact(d, r, theme, frame);
|
|
1835
|
+
const isRunning = isResultRunning(r);
|
|
1836
|
+
const contextBadge = contextModeBadge(theme, r.context ?? d.context);
|
|
1837
|
+
const output = r.truncation?.text || getSingleResultOutput(r);
|
|
1838
|
+
const presentation = styledResultPresentation(resultPresentation(r, output, isRunning, undefined, frame), theme);
|
|
1839
|
+
|
|
1840
|
+
const progressInfo = isRunning && r.progress
|
|
1841
|
+
? ` | ${r.progress.toolCount} tools, ${formatTokens(r.progress.tokens)} tok, ${formatDuration(r.progress.durationMs)}`
|
|
1842
|
+
: r.progressSummary
|
|
1843
|
+
? ` | ${r.progressSummary.toolCount} tools, ${formatTokens(r.progressSummary.tokens)} tok, ${formatDuration(r.progressSummary.durationMs)}`
|
|
1844
|
+
: "";
|
|
1845
|
+
|
|
1846
|
+
const w = getTermWidth() - 4;
|
|
1847
|
+
const fit = (text: string) => expanded ? text : truncLine(text, w);
|
|
1848
|
+
const toolCallLines = getToolCallLines(r, expanded);
|
|
1849
|
+
const c = new Container();
|
|
1850
|
+
c.addChild(new Text(fit(`${presentation.glyph} ${theme.fg("toolTitle", theme.bold(r.agent))}${contextBadge}${progressInfo} ${theme.fg("dim", "·")} ${presentation.label}`), 0, 0));
|
|
1851
|
+
c.addChild(new Spacer(1));
|
|
1852
|
+
const taskMaxLen = Math.max(20, w - 8);
|
|
1853
|
+
const taskPreview = expanded || r.task.length <= taskMaxLen
|
|
1854
|
+
? r.task
|
|
1855
|
+
: `${r.task.slice(0, taskMaxLen)}...`;
|
|
1856
|
+
c.addChild(
|
|
1857
|
+
new Text(fit(theme.fg("dim", `Task: ${taskPreview}`)), 0, 0),
|
|
1858
|
+
);
|
|
1859
|
+
c.addChild(new Spacer(1));
|
|
1860
|
+
|
|
1861
|
+
if (isRunning && r.progress) {
|
|
1862
|
+
const progressSnapshotNow = snapshotNowForProgress(r.progress);
|
|
1863
|
+
for (const nestedLine of formatNestedWidgetLines(r.children, theme, w, true, progressSnapshotNow, 12)) {
|
|
1864
|
+
c.addChild(new Text(fit(` ${nestedLine}`), 0, 0));
|
|
1865
|
+
}
|
|
1866
|
+
const toolLine = formatCurrentToolLine(r.progress, w, expanded, progressSnapshotNow);
|
|
1867
|
+
if (toolLine) {
|
|
1868
|
+
c.addChild(new Text(fit(theme.fg("warning", `> ${toolLine}`)), 0, 0));
|
|
1869
|
+
}
|
|
1870
|
+
const liveStatusLine = buildLiveStatusLine(r.progress, progressSnapshotNow);
|
|
1871
|
+
if (liveStatusLine) {
|
|
1872
|
+
c.addChild(new Text(fit(theme.fg("accent", liveStatusLine)), 0, 0));
|
|
1873
|
+
}
|
|
1874
|
+
c.addChild(new Text(fit(theme.fg("accent", liveDetailHintText())), 0, 0));
|
|
1875
|
+
if (r.artifactPaths) {
|
|
1876
|
+
c.addChild(new Text(fit(theme.fg("dim", `Artifacts: ${shortenPath(r.artifactPaths.outputPath)}`)), 0, 0));
|
|
1877
|
+
}
|
|
1878
|
+
if (r.progress.recentTools?.length) {
|
|
1879
|
+
for (const t of r.progress.recentTools.slice(-3)) {
|
|
1880
|
+
const maxArgsLen = Math.max(40, w - 24);
|
|
1881
|
+
const argsPreview = renderToolArgsPreview(t.args, maxArgsLen, expanded);
|
|
1882
|
+
c.addChild(new Text(fit(theme.fg("dim", `${t.tool}: ${argsPreview}`)), 0, 0));
|
|
1883
|
+
}
|
|
1884
|
+
}
|
|
1885
|
+
for (const line of compactRecentOutputLines(r.progress.recentOutput)) {
|
|
1886
|
+
c.addChild(new Text(fit(theme.fg("dim", ` ${line}`)), 0, 0));
|
|
1887
|
+
}
|
|
1888
|
+
if (toolLine || liveStatusLine || r.progress.recentTools?.length || r.progress.recentOutput?.length || r.artifactPaths) {
|
|
1889
|
+
c.addChild(new Spacer(1));
|
|
1890
|
+
}
|
|
1891
|
+
} else {
|
|
1892
|
+
for (const nestedLine of formatNestedWidgetLines(r.children, theme, w, true, r.progress?.lastActivityAt, 8)) {
|
|
1893
|
+
c.addChild(new Text(fit(` ${nestedLine}`), 0, 0));
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
if (expanded) {
|
|
1898
|
+
for (const line of toolCallLines) {
|
|
1899
|
+
c.addChild(new Text(fit(theme.fg("muted", line)), 0, 0));
|
|
1900
|
+
}
|
|
1901
|
+
if (toolCallLines.length) c.addChild(new Spacer(1));
|
|
1902
|
+
}
|
|
1903
|
+
|
|
1904
|
+
if (output) c.addChild(new Markdown(output, 0, 0, mdTheme));
|
|
1905
|
+
c.addChild(new Spacer(1));
|
|
1906
|
+
if (r.skills?.length) {
|
|
1907
|
+
c.addChild(new Text(fit(theme.fg("dim", `Skills: ${r.skills.join(", ")}`)), 0, 0));
|
|
1908
|
+
}
|
|
1909
|
+
if (r.skillsWarning) {
|
|
1910
|
+
c.addChild(new Text(fit(theme.fg("warning", `Warning: ${r.skillsWarning}`)), 0, 0));
|
|
1911
|
+
}
|
|
1912
|
+
if (r.attemptedModels && r.attemptedModels.length > 1) {
|
|
1913
|
+
c.addChild(new Text(fit(theme.fg("dim", `Fallbacks: ${r.attemptedModels.join(" → ")}`)), 0, 0));
|
|
1914
|
+
}
|
|
1915
|
+
c.addChild(new Text(fit(theme.fg("dim", formatUsage(r.usage, r.model))), 0, 0));
|
|
1916
|
+
if (r.sessionFile) {
|
|
1917
|
+
c.addChild(new Text(fit(theme.fg("dim", `Session: ${shortenPath(r.sessionFile)}`)), 0, 0));
|
|
1918
|
+
}
|
|
1919
|
+
|
|
1920
|
+
if (!isRunning && r.artifactPaths) {
|
|
1921
|
+
c.addChild(new Spacer(1));
|
|
1922
|
+
c.addChild(new Text(fit(theme.fg("dim", `Artifacts: ${shortenPath(r.artifactPaths.outputPath)}`)), 0, 0));
|
|
1923
|
+
}
|
|
1924
|
+
return c;
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
if (!expanded) return renderMultiCompact(d, theme, frame);
|
|
1928
|
+
|
|
1929
|
+
const hasRunning = detailsHaveRunningResult(d);
|
|
1930
|
+
const detached = d.results.some((r) => r.detached)
|
|
1931
|
+
|| workflowGraphHasStatus(d, ["detached"]);
|
|
1932
|
+
const stopped = d.results.some((r) => r.stopped)
|
|
1933
|
+
|| workflowGraphHasStatus(d, ["stopped"]);
|
|
1934
|
+
const failed = d.results.some((r) => !hasTerminalResultFlag(r) && r.exitCode !== 0 && !isResultRunning(r))
|
|
1935
|
+
|| workflowGraphHasStatus(d, ["failed"]);
|
|
1936
|
+
const paused = d.results.some((r) => r.interrupted)
|
|
1937
|
+
|| workflowGraphHasStatus(d, ["paused"]);
|
|
1938
|
+
const completedWithoutOutput = d.results.some((r) =>
|
|
1939
|
+
!hasTerminalResultFlag(r)
|
|
1940
|
+
&& r.exitCode === 0
|
|
1941
|
+
&& !isResultRunning(r)
|
|
1942
|
+
&& hasEmptyTextOutputWithoutOutputTarget(r.task, getSingleResultOutput(r)),
|
|
1943
|
+
);
|
|
1944
|
+
const presentation = styledResultPresentation(semanticResultPresentation({
|
|
1945
|
+
running: hasRunning,
|
|
1946
|
+
detached,
|
|
1947
|
+
stopped,
|
|
1948
|
+
interrupted: paused,
|
|
1949
|
+
failed,
|
|
1950
|
+
completedWithoutOutput,
|
|
1951
|
+
frame,
|
|
1952
|
+
}), theme);
|
|
1953
|
+
|
|
1954
|
+
const totalSummary =
|
|
1955
|
+
d.progressSummary ||
|
|
1956
|
+
d.results.reduce(
|
|
1957
|
+
(acc, r) => {
|
|
1958
|
+
const prog = r.progress || r.progressSummary;
|
|
1959
|
+
if (prog) {
|
|
1960
|
+
acc.toolCount += prog.toolCount;
|
|
1961
|
+
acc.tokens += prog.tokens;
|
|
1962
|
+
acc.durationMs =
|
|
1963
|
+
d.mode === "chain"
|
|
1964
|
+
? acc.durationMs + prog.durationMs
|
|
1965
|
+
: Math.max(acc.durationMs, prog.durationMs);
|
|
1966
|
+
}
|
|
1967
|
+
return acc;
|
|
1968
|
+
},
|
|
1969
|
+
{ toolCount: 0, tokens: 0, durationMs: 0 },
|
|
1970
|
+
);
|
|
1971
|
+
|
|
1972
|
+
const summaryParts = [
|
|
1973
|
+
totalSummary.toolCount || totalSummary.tokens
|
|
1974
|
+
? `${totalSummary.toolCount} tools, ${formatTokens(totalSummary.tokens)} tok, ${formatDuration(totalSummary.durationMs)}`
|
|
1975
|
+
: "",
|
|
1976
|
+
formatTotalCostStat(d.totalCost),
|
|
1977
|
+
].filter(Boolean);
|
|
1978
|
+
const summaryStr = summaryParts.length ? ` | ${summaryParts.join(", ")}` : "";
|
|
1979
|
+
|
|
1980
|
+
const modeLabel = d.mode;
|
|
1981
|
+
const contextBadge = contextModeBadge(theme, d.context);
|
|
1982
|
+
const multiLabel = buildMultiProgressLabel(d, hasRunning);
|
|
1983
|
+
const itemTitle = multiLabel.itemTitle;
|
|
1984
|
+
|
|
1985
|
+
const chainVis = d.chainAgents?.length && !multiLabel.hasParallelInChain
|
|
1986
|
+
? d.chainAgents
|
|
1987
|
+
.map((agent, i) => {
|
|
1988
|
+
const result = d.results[i];
|
|
1989
|
+
const isCurrent = i === (d.currentStepIndex ?? d.results.length);
|
|
1990
|
+
const stepPresentation = result
|
|
1991
|
+
? styledResultPresentation(resultPresentation(result, getSingleResultOutput(result), isCurrent && hasRunning && !hasTerminalResultFlag(result)), theme)
|
|
1992
|
+
: undefined;
|
|
1993
|
+
const stepStatus = stepPresentation
|
|
1994
|
+
? `${stepPresentation.glyph} ${stepPresentation.label}`
|
|
1995
|
+
: theme.fg("dim", "◦ pending");
|
|
1996
|
+
return `${stepStatus} ${agent}${contextModeBadge(theme, result?.context)}`;
|
|
1997
|
+
})
|
|
1998
|
+
.join(theme.fg("dim", " → "))
|
|
1999
|
+
: null;
|
|
2000
|
+
|
|
2001
|
+
const w = getTermWidth() - 4;
|
|
2002
|
+
const fit = (text: string) => expanded ? text : truncLine(text, w);
|
|
2003
|
+
const c = new Container();
|
|
2004
|
+
c.addChild(
|
|
2005
|
+
new Text(
|
|
2006
|
+
fit(`${presentation.glyph} ${theme.fg("toolTitle", theme.bold(modeLabel))}${contextBadge} · ${multiLabel.headerLabel}${summaryStr} ${theme.fg("dim", "·")} ${presentation.label}`),
|
|
2007
|
+
0,
|
|
2008
|
+
0,
|
|
2009
|
+
),
|
|
2010
|
+
);
|
|
2011
|
+
if (chainVis) {
|
|
2012
|
+
c.addChild(new Text(fit(` ${chainVis}`), 0, 0));
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
const useResultsDirectly = multiLabel.hasParallelInChain || !d.chainAgents?.length;
|
|
2016
|
+
const displayStart = multiLabel.showActiveGroupOnly ? multiLabel.groupStartIndex : 0;
|
|
2017
|
+
const displayEnd = multiLabel.showActiveGroupOnly ? multiLabel.groupEndIndex : (useResultsDirectly ? d.results.length : d.chainAgents!.length);
|
|
2018
|
+
const chainEntries = buildChainRenderEntries(d, multiLabel);
|
|
2019
|
+
const renderEntries = chainEntries ?? Array.from({ length: displayEnd - displayStart }, (_, offset): ChainRenderEntry => {
|
|
2020
|
+
const i = displayStart + offset;
|
|
2021
|
+
const r = d.results[i];
|
|
2022
|
+
const rowNumber = multiLabel.showActiveGroupOnly ? (i - multiLabel.groupStartIndex + 1) : (i + 1);
|
|
2023
|
+
return { kind: "result", resultIndex: i, rowNumber, agentName: useResultsDirectly ? (r?.agent || `step-${rowNumber}`) : (d.chainAgents![i] || r?.agent || `step-${rowNumber}`) };
|
|
2024
|
+
});
|
|
2025
|
+
|
|
2026
|
+
c.addChild(new Spacer(1));
|
|
2027
|
+
|
|
2028
|
+
for (const entry of renderEntries) {
|
|
2029
|
+
if (entry.kind === "placeholder") {
|
|
2030
|
+
const statusLabel = widgetStepStatus(entry.status as AsyncJobStep["status"], theme);
|
|
2031
|
+
c.addChild(new Text(fit(` ${statusLabel} ${entry.stepLabel}: ${theme.bold(entry.agentName)}`), 0, 0));
|
|
2032
|
+
c.addChild(new Text(theme.fg(entry.status === "failed" ? "error" : "dim", ` status: ${entry.status}`), 0, 0));
|
|
2033
|
+
if (entry.error) c.addChild(new Text(theme.fg("error", ` error: ${entry.error}`), 0, 0));
|
|
2034
|
+
c.addChild(new Spacer(1));
|
|
2035
|
+
continue;
|
|
2036
|
+
}
|
|
2037
|
+
const i = entry.resultIndex;
|
|
2038
|
+
const r = d.results[i];
|
|
2039
|
+
const rowNumber = entry.rowNumber;
|
|
2040
|
+
const agentName = entry.agentName;
|
|
2041
|
+
|
|
2042
|
+
if (!r) {
|
|
2043
|
+
const pendingLabel = entry.rowLabel ?? `${itemTitle} ${rowNumber}`;
|
|
2044
|
+
c.addChild(new Text(fit(theme.fg("dim", ` ${pendingLabel}: ${agentName}`)), 0, 0));
|
|
2045
|
+
c.addChild(new Text(theme.fg("dim", ` status: pending`), 0, 0));
|
|
2046
|
+
c.addChild(new Spacer(1));
|
|
2047
|
+
continue;
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
const progressFromArray = d.progress?.find((p) => p.index === i)
|
|
2051
|
+
|| d.progress?.find((p) => p.agent === r.agent && p.status === "running");
|
|
2052
|
+
const rProg = r.progress || progressFromArray || r.progressSummary;
|
|
2053
|
+
const rRunning = isResultRunning(r, rProg?.status);
|
|
2054
|
+
const stepNumber = typeof rProg?.index === "number" ? rProg.index + 1 : i + 1;
|
|
2055
|
+
|
|
2056
|
+
const resultOutput = getSingleResultOutput(r);
|
|
2057
|
+
const rowPresentation = styledResultPresentation(resultPresentation(r, resultOutput, rRunning, progressRunningSeed(rProg), frame), theme);
|
|
2058
|
+
const stats = rProg ? ` | ${rProg.toolCount} tools, ${formatDuration(rProg.durationMs)}` : "";
|
|
2059
|
+
const modelDisplay = modelThinkingBadge(theme, r.model ?? rProg?.model, r.thinking ?? rProg?.thinking);
|
|
2060
|
+
const stepLabel = entry.rowLabel ?? resultRowLabel(multiLabel, i, stepNumber);
|
|
2061
|
+
const contextBadge = contextModeBadge(theme, r.context);
|
|
2062
|
+
const stepHeader = rRunning
|
|
2063
|
+
? `${rowPresentation.glyph} ${stepLabel}: ${theme.bold(theme.fg("warning", r.agent))}${contextBadge}${modelDisplay}${stats} ${theme.fg("dim", "·")} ${rowPresentation.label}`
|
|
2064
|
+
: `${rowPresentation.glyph} ${stepLabel}: ${theme.bold(r.agent)}${contextBadge}${modelDisplay}${stats} ${theme.fg("dim", "·")} ${rowPresentation.label}`;
|
|
2065
|
+
const toolCallLines = getToolCallLines(r, expanded);
|
|
2066
|
+
c.addChild(new Text(fit(stepHeader), 0, 0));
|
|
2067
|
+
|
|
2068
|
+
const taskMaxLen = Math.max(20, w - 12);
|
|
2069
|
+
const taskPreview = expanded || r.task.length <= taskMaxLen
|
|
2070
|
+
? r.task
|
|
2071
|
+
: `${r.task.slice(0, taskMaxLen)}...`;
|
|
2072
|
+
c.addChild(new Text(fit(theme.fg("dim", ` task: ${taskPreview}`)), 0, 0));
|
|
2073
|
+
|
|
2074
|
+
const outputTarget = extractOutputTarget(r.task);
|
|
2075
|
+
if (outputTarget) {
|
|
2076
|
+
c.addChild(new Text(fit(theme.fg("dim", ` output: ${outputTarget}`)), 0, 0));
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2079
|
+
if (r.skills?.length) {
|
|
2080
|
+
c.addChild(new Text(fit(theme.fg("dim", ` skills: ${r.skills.join(", ")}`)), 0, 0));
|
|
2081
|
+
}
|
|
2082
|
+
if (r.skillsWarning) {
|
|
2083
|
+
c.addChild(new Text(fit(theme.fg("warning", ` Warning: ${r.skillsWarning}`)), 0, 0));
|
|
2084
|
+
}
|
|
2085
|
+
if (r.attemptedModels && r.attemptedModels.length > 1) {
|
|
2086
|
+
c.addChild(new Text(fit(theme.fg("dim", ` fallbacks: ${r.attemptedModels.join(" → ")}`)), 0, 0));
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2089
|
+
if (rRunning && rProg) {
|
|
2090
|
+
if (rProg.skills?.length) {
|
|
2091
|
+
c.addChild(new Text(fit(theme.fg("accent", ` skills: ${rProg.skills.join(", ")}`)), 0, 0));
|
|
2092
|
+
}
|
|
2093
|
+
const progressSnapshotNow = snapshotNowForProgress(rProg);
|
|
2094
|
+
const toolLine = formatCurrentToolLine(rProg, w, expanded, progressSnapshotNow);
|
|
2095
|
+
if (toolLine) {
|
|
2096
|
+
c.addChild(new Text(fit(theme.fg("warning", ` > ${toolLine}`)), 0, 0));
|
|
2097
|
+
}
|
|
2098
|
+
const liveStatusLine = buildLiveStatusLine(rProg, progressSnapshotNow);
|
|
2099
|
+
if (liveStatusLine) {
|
|
2100
|
+
c.addChild(new Text(fit(theme.fg("accent", ` ${liveStatusLine}`)), 0, 0));
|
|
2101
|
+
}
|
|
2102
|
+
for (const nestedLine of formatNestedWidgetLines(r.children, theme, w, true, progressSnapshotNow, 8)) {
|
|
2103
|
+
c.addChild(new Text(fit(` ${nestedLine}`), 0, 0));
|
|
2104
|
+
}
|
|
2105
|
+
c.addChild(new Text(fit(theme.fg("accent", ` ${liveDetailHintText()}`)), 0, 0));
|
|
2106
|
+
if (r.artifactPaths) {
|
|
2107
|
+
c.addChild(new Text(fit(theme.fg("dim", ` artifacts: ${shortenPath(r.artifactPaths.outputPath)}`)), 0, 0));
|
|
2108
|
+
}
|
|
2109
|
+
if (rProg.recentTools?.length) {
|
|
2110
|
+
for (const t of rProg.recentTools.slice(-3)) {
|
|
2111
|
+
const maxArgsLen = Math.max(40, w - 30);
|
|
2112
|
+
const argsPreview = renderToolArgsPreview(t.args, maxArgsLen, expanded);
|
|
2113
|
+
c.addChild(new Text(fit(theme.fg("dim", ` ${t.tool}: ${argsPreview}`)), 0, 0));
|
|
2114
|
+
}
|
|
2115
|
+
}
|
|
2116
|
+
for (const line of compactRecentOutputLines(rProg.recentOutput)) {
|
|
2117
|
+
c.addChild(new Text(fit(theme.fg("dim", ` ${line}`)), 0, 0));
|
|
2118
|
+
}
|
|
2119
|
+
}
|
|
2120
|
+
|
|
2121
|
+
if (!rRunning) {
|
|
2122
|
+
for (const nestedLine of formatNestedWidgetLines(r.children, theme, w, true, r.progress?.lastActivityAt, 8)) {
|
|
2123
|
+
c.addChild(new Text(fit(` ${nestedLine}`), 0, 0));
|
|
2124
|
+
}
|
|
2125
|
+
}
|
|
2126
|
+
|
|
2127
|
+
if (!rRunning && r.artifactPaths) {
|
|
2128
|
+
c.addChild(new Text(fit(theme.fg("dim", ` artifacts: ${shortenPath(r.artifactPaths.outputPath)}`)), 0, 0));
|
|
2129
|
+
}
|
|
2130
|
+
|
|
2131
|
+
if (expanded && !rRunning) {
|
|
2132
|
+
for (const line of toolCallLines) {
|
|
2133
|
+
c.addChild(new Text(fit(theme.fg("muted", ` ${line}`)), 0, 0));
|
|
2134
|
+
}
|
|
2135
|
+
if (toolCallLines.length) c.addChild(new Spacer(1));
|
|
2136
|
+
}
|
|
2137
|
+
|
|
2138
|
+
c.addChild(new Spacer(1));
|
|
2139
|
+
}
|
|
2140
|
+
|
|
2141
|
+
if (d.artifacts) {
|
|
2142
|
+
c.addChild(new Spacer(1));
|
|
2143
|
+
c.addChild(new Text(fit(theme.fg("dim", `Artifacts dir: ${shortenPath(d.artifacts.dir)}`)), 0, 0));
|
|
2144
|
+
}
|
|
2145
|
+
return c;
|
|
2146
|
+
}
|