plugin-agent-orchestrator 1.0.0 → 1.0.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/dist/client/index.js +1 -8
- package/dist/externalVersion.js +13 -0
- package/dist/index.js +39 -0
- package/dist/node_modules/zod/LICENSE +21 -0
- package/dist/node_modules/zod/index.cjs +1 -0
- package/dist/node_modules/zod/index.d.cts +4 -0
- package/dist/node_modules/zod/index.d.ts +4 -0
- package/dist/node_modules/zod/index.js +4 -0
- package/dist/node_modules/zod/package.json +1 -0
- package/dist/node_modules/zod/src/index.ts +4 -0
- package/dist/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/dist/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/dist/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/dist/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/dist/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/dist/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/dist/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/dist/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/dist/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/dist/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/dist/node_modules/zod/src/v3/errors.ts +13 -0
- package/dist/node_modules/zod/src/v3/external.ts +6 -0
- package/dist/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/dist/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/dist/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/dist/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/dist/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/dist/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/dist/node_modules/zod/src/v3/index.ts +4 -0
- package/dist/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/dist/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/dist/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/dist/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/dist/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/dist/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/dist/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/dist/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/dist/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/dist/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/dist/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/dist/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/dist/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/dist/node_modules/zod/src/v3/tests/complex.test.ts +56 -0
- package/dist/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/dist/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/dist/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/dist/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/dist/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/dist/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/dist/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/dist/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/dist/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/dist/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/dist/node_modules/zod/src/v3/tests/function.test.ts +257 -0
- package/dist/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/dist/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/dist/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/dist/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/dist/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/dist/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/dist/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/dist/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/dist/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/dist/node_modules/zod/src/v3/tests/nan.test.ts +21 -0
- package/dist/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/dist/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/dist/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/dist/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/dist/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/dist/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/dist/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/dist/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/dist/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/dist/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/dist/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/dist/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/dist/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/dist/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/dist/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/dist/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/dist/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/dist/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/dist/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/dist/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/dist/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/dist/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/dist/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/dist/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/dist/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/dist/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/dist/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/dist/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/dist/node_modules/zod/src/v3/types.ts +5136 -0
- package/dist/node_modules/zod/src/v4/classic/checks.ts +30 -0
- package/dist/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/dist/node_modules/zod/src/v4/classic/compat.ts +66 -0
- package/dist/node_modules/zod/src/v4/classic/errors.ts +75 -0
- package/dist/node_modules/zod/src/v4/classic/external.ts +50 -0
- package/dist/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/dist/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/dist/node_modules/zod/src/v4/classic/parse.ts +33 -0
- package/dist/node_modules/zod/src/v4/classic/schemas.ts +2054 -0
- package/dist/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/dist/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/dist/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
- package/dist/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/dist/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/dist/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/dist/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/dist/node_modules/zod/src/v4/classic/tests/brand.test.ts +63 -0
- package/dist/node_modules/zod/src/v4/classic/tests/catch.test.ts +252 -0
- package/dist/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/dist/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/dist/node_modules/zod/src/v4/classic/tests/continuability.test.ts +352 -0
- package/dist/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/dist/node_modules/zod/src/v4/classic/tests/date.test.ts +31 -0
- package/dist/node_modules/zod/src/v4/classic/tests/datetime.test.ts +296 -0
- package/dist/node_modules/zod/src/v4/classic/tests/default.test.ts +313 -0
- package/dist/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/dist/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +619 -0
- package/dist/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/dist/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +527 -0
- package/dist/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/dist/node_modules/zod/src/v4/classic/tests/file.test.ts +91 -0
- package/dist/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +175 -0
- package/dist/node_modules/zod/src/v4/classic/tests/function.test.ts +268 -0
- package/dist/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/dist/node_modules/zod/src/v4/classic/tests/index.test.ts +829 -0
- package/dist/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +34 -0
- package/dist/node_modules/zod/src/v4/classic/tests/intersection.test.ts +171 -0
- package/dist/node_modules/zod/src/v4/classic/tests/json.test.ts +108 -0
- package/dist/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/dist/node_modules/zod/src/v4/classic/tests/literal.test.ts +92 -0
- package/dist/node_modules/zod/src/v4/classic/tests/map.test.ts +196 -0
- package/dist/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/dist/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/dist/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +86 -0
- package/dist/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/dist/node_modules/zod/src/v4/classic/tests/number.test.ts +247 -0
- package/dist/node_modules/zod/src/v4/classic/tests/object.test.ts +563 -0
- package/dist/node_modules/zod/src/v4/classic/tests/optional.test.ts +123 -0
- package/dist/node_modules/zod/src/v4/classic/tests/partial.test.ts +147 -0
- package/dist/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +127 -0
- package/dist/node_modules/zod/src/v4/classic/tests/pipe.test.ts +81 -0
- package/dist/node_modules/zod/src/v4/classic/tests/prefault.test.ts +37 -0
- package/dist/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +298 -0
- package/dist/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/dist/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/dist/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/dist/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/dist/node_modules/zod/src/v4/classic/tests/record.test.ts +342 -0
- package/dist/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +356 -0
- package/dist/node_modules/zod/src/v4/classic/tests/refine.test.ts +532 -0
- package/dist/node_modules/zod/src/v4/classic/tests/registries.test.ts +204 -0
- package/dist/node_modules/zod/src/v4/classic/tests/set.test.ts +179 -0
- package/dist/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +57 -0
- package/dist/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +109 -0
- package/dist/node_modules/zod/src/v4/classic/tests/string.test.ts +881 -0
- package/dist/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +66 -0
- package/dist/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +758 -0
- package/dist/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2314 -0
- package/dist/node_modules/zod/src/v4/classic/tests/transform.test.ts +250 -0
- package/dist/node_modules/zod/src/v4/classic/tests/tuple.test.ts +163 -0
- package/dist/node_modules/zod/src/v4/classic/tests/union.test.ts +94 -0
- package/dist/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/dist/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/dist/node_modules/zod/src/v4/core/api.ts +1594 -0
- package/dist/node_modules/zod/src/v4/core/checks.ts +1283 -0
- package/dist/node_modules/zod/src/v4/core/config.ts +15 -0
- package/dist/node_modules/zod/src/v4/core/core.ts +134 -0
- package/dist/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/dist/node_modules/zod/src/v4/core/errors.ts +424 -0
- package/dist/node_modules/zod/src/v4/core/function.ts +176 -0
- package/dist/node_modules/zod/src/v4/core/index.ts +15 -0
- package/dist/node_modules/zod/src/v4/core/json-schema.ts +143 -0
- package/dist/node_modules/zod/src/v4/core/parse.ts +94 -0
- package/dist/node_modules/zod/src/v4/core/regexes.ts +135 -0
- package/dist/node_modules/zod/src/v4/core/registries.ts +96 -0
- package/dist/node_modules/zod/src/v4/core/schemas.ts +3842 -0
- package/dist/node_modules/zod/src/v4/core/standard-schema.ts +64 -0
- package/dist/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/dist/node_modules/zod/src/v4/core/to-json-schema.ts +977 -0
- package/dist/node_modules/zod/src/v4/core/util.ts +775 -0
- package/dist/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/dist/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/dist/node_modules/zod/src/v4/index.ts +4 -0
- package/dist/node_modules/zod/src/v4/locales/ar.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/az.ts +121 -0
- package/dist/node_modules/zod/src/v4/locales/be.ts +184 -0
- package/dist/node_modules/zod/src/v4/locales/ca.ts +127 -0
- package/dist/node_modules/zod/src/v4/locales/cs.ts +142 -0
- package/dist/node_modules/zod/src/v4/locales/de.ts +124 -0
- package/dist/node_modules/zod/src/v4/locales/en.ts +127 -0
- package/dist/node_modules/zod/src/v4/locales/eo.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/es.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/fa.ts +134 -0
- package/dist/node_modules/zod/src/v4/locales/fi.ts +131 -0
- package/dist/node_modules/zod/src/v4/locales/fr-CA.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/fr.ts +124 -0
- package/dist/node_modules/zod/src/v4/locales/he.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/hu.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/id.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/index.ts +39 -0
- package/dist/node_modules/zod/src/v4/locales/it.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/ja.ts +122 -0
- package/dist/node_modules/zod/src/v4/locales/kh.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/ko.ts +131 -0
- package/dist/node_modules/zod/src/v4/locales/mk.ts +127 -0
- package/dist/node_modules/zod/src/v4/locales/ms.ts +124 -0
- package/dist/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/no.ts +124 -0
- package/dist/node_modules/zod/src/v4/locales/ota.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/pl.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/ps.ts +133 -0
- package/dist/node_modules/zod/src/v4/locales/pt.ts +123 -0
- package/dist/node_modules/zod/src/v4/locales/ru.ts +184 -0
- package/dist/node_modules/zod/src/v4/locales/sl.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/sv.ts +127 -0
- package/dist/node_modules/zod/src/v4/locales/ta.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/th.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/tr.ts +121 -0
- package/dist/node_modules/zod/src/v4/locales/ua.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/ur.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/vi.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/zh-CN.ts +123 -0
- package/dist/node_modules/zod/src/v4/locales/zh-TW.ts +125 -0
- package/dist/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/dist/node_modules/zod/src/v4/mini/coerce.ts +22 -0
- package/dist/node_modules/zod/src/v4/mini/external.ts +40 -0
- package/dist/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/dist/node_modules/zod/src/v4/mini/iso.ts +62 -0
- package/dist/node_modules/zod/src/v4/mini/parse.ts +1 -0
- package/dist/node_modules/zod/src/v4/mini/schemas.ts +1579 -0
- package/dist/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/dist/node_modules/zod/src/v4/mini/tests/brand.test.ts +51 -0
- package/dist/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/dist/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/dist/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/dist/node_modules/zod/src/v4/mini/tests/functions.test.ts +43 -0
- package/dist/node_modules/zod/src/v4/mini/tests/index.test.ts +871 -0
- package/dist/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/dist/node_modules/zod/src/v4/mini/tests/object.test.ts +185 -0
- package/dist/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/dist/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
- package/dist/node_modules/zod/src/v4/mini/tests/string.test.ts +299 -0
- package/dist/node_modules/zod/src/v4-mini/index.ts +1 -0
- package/dist/node_modules/zod/v3/ZodError.cjs +138 -0
- package/dist/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/dist/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/dist/node_modules/zod/v3/ZodError.js +133 -0
- package/dist/node_modules/zod/v3/errors.cjs +17 -0
- package/dist/node_modules/zod/v3/errors.d.cts +5 -0
- package/dist/node_modules/zod/v3/errors.d.ts +5 -0
- package/dist/node_modules/zod/v3/errors.js +9 -0
- package/dist/node_modules/zod/v3/external.cjs +22 -0
- package/dist/node_modules/zod/v3/external.d.cts +6 -0
- package/dist/node_modules/zod/v3/external.d.ts +6 -0
- package/dist/node_modules/zod/v3/external.js +6 -0
- package/dist/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/dist/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/dist/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/dist/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/dist/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/dist/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/dist/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/dist/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/dist/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/dist/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/dist/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/dist/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/dist/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/dist/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/dist/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/dist/node_modules/zod/v3/helpers/util.js +133 -0
- package/dist/node_modules/zod/v3/index.cjs +33 -0
- package/dist/node_modules/zod/v3/index.d.cts +4 -0
- package/dist/node_modules/zod/v3/index.d.ts +4 -0
- package/dist/node_modules/zod/v3/index.js +4 -0
- package/dist/node_modules/zod/v3/locales/en.cjs +111 -0
- package/dist/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/dist/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/dist/node_modules/zod/v3/locales/en.js +109 -0
- package/dist/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/dist/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/dist/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/dist/node_modules/zod/v3/standard-schema.js +1 -0
- package/dist/node_modules/zod/v3/types.cjs +3775 -0
- package/dist/node_modules/zod/v3/types.d.cts +1031 -0
- package/dist/node_modules/zod/v3/types.d.ts +1031 -0
- package/dist/node_modules/zod/v3/types.js +3693 -0
- package/dist/node_modules/zod/v4/classic/checks.cjs +32 -0
- package/dist/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/dist/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/dist/node_modules/zod/v4/classic/checks.js +1 -0
- package/dist/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/dist/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/dist/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/dist/node_modules/zod/v4/classic/coerce.js +17 -0
- package/dist/node_modules/zod/v4/classic/compat.cjs +57 -0
- package/dist/node_modules/zod/v4/classic/compat.d.cts +46 -0
- package/dist/node_modules/zod/v4/classic/compat.d.ts +46 -0
- package/dist/node_modules/zod/v4/classic/compat.js +27 -0
- package/dist/node_modules/zod/v4/classic/errors.cjs +67 -0
- package/dist/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/dist/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/dist/node_modules/zod/v4/classic/errors.js +41 -0
- package/dist/node_modules/zod/v4/classic/external.cjs +70 -0
- package/dist/node_modules/zod/v4/classic/external.d.cts +13 -0
- package/dist/node_modules/zod/v4/classic/external.d.ts +13 -0
- package/dist/node_modules/zod/v4/classic/external.js +18 -0
- package/dist/node_modules/zod/v4/classic/index.cjs +33 -0
- package/dist/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/dist/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/dist/node_modules/zod/v4/classic/index.js +4 -0
- package/dist/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/dist/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/dist/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/dist/node_modules/zod/v4/classic/iso.js +30 -0
- package/dist/node_modules/zod/v4/classic/parse.cjs +32 -0
- package/dist/node_modules/zod/v4/classic/parse.d.cts +23 -0
- package/dist/node_modules/zod/v4/classic/parse.d.ts +23 -0
- package/dist/node_modules/zod/v4/classic/parse.js +6 -0
- package/dist/node_modules/zod/v4/classic/schemas.cjs +1109 -0
- package/dist/node_modules/zod/v4/classic/schemas.d.cts +630 -0
- package/dist/node_modules/zod/v4/classic/schemas.d.ts +630 -0
- package/dist/node_modules/zod/v4/classic/schemas.js +1006 -0
- package/dist/node_modules/zod/v4/core/api.cjs +1039 -0
- package/dist/node_modules/zod/v4/core/api.d.cts +284 -0
- package/dist/node_modules/zod/v4/core/api.d.ts +284 -0
- package/dist/node_modules/zod/v4/core/api.js +906 -0
- package/dist/node_modules/zod/v4/core/checks.cjs +591 -0
- package/dist/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/dist/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/dist/node_modules/zod/v4/core/checks.js +565 -0
- package/dist/node_modules/zod/v4/core/core.cjs +67 -0
- package/dist/node_modules/zod/v4/core/core.d.cts +49 -0
- package/dist/node_modules/zod/v4/core/core.d.ts +49 -0
- package/dist/node_modules/zod/v4/core/core.js +61 -0
- package/dist/node_modules/zod/v4/core/doc.cjs +39 -0
- package/dist/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/dist/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/dist/node_modules/zod/v4/core/doc.js +35 -0
- package/dist/node_modules/zod/v4/core/errors.cjs +226 -0
- package/dist/node_modules/zod/v4/core/errors.d.cts +208 -0
- package/dist/node_modules/zod/v4/core/errors.d.ts +208 -0
- package/dist/node_modules/zod/v4/core/errors.js +195 -0
- package/dist/node_modules/zod/v4/core/function.cjs +102 -0
- package/dist/node_modules/zod/v4/core/function.d.cts +52 -0
- package/dist/node_modules/zod/v4/core/function.d.ts +52 -0
- package/dist/node_modules/zod/v4/core/function.js +75 -0
- package/dist/node_modules/zod/v4/core/index.cjs +44 -0
- package/dist/node_modules/zod/v4/core/index.d.cts +15 -0
- package/dist/node_modules/zod/v4/core/index.d.ts +15 -0
- package/dist/node_modules/zod/v4/core/index.js +15 -0
- package/dist/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/dist/node_modules/zod/v4/core/json-schema.d.cts +87 -0
- package/dist/node_modules/zod/v4/core/json-schema.d.ts +87 -0
- package/dist/node_modules/zod/v4/core/json-schema.js +1 -0
- package/dist/node_modules/zod/v4/core/parse.cjs +87 -0
- package/dist/node_modules/zod/v4/core/parse.d.cts +25 -0
- package/dist/node_modules/zod/v4/core/parse.d.ts +25 -0
- package/dist/node_modules/zod/v4/core/parse.js +57 -0
- package/dist/node_modules/zod/v4/core/regexes.cjs +103 -0
- package/dist/node_modules/zod/v4/core/regexes.d.cts +62 -0
- package/dist/node_modules/zod/v4/core/regexes.d.ts +62 -0
- package/dist/node_modules/zod/v4/core/regexes.js +95 -0
- package/dist/node_modules/zod/v4/core/registries.cjs +56 -0
- package/dist/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/dist/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/dist/node_modules/zod/v4/core/registries.js +51 -0
- package/dist/node_modules/zod/v4/core/schemas.cjs +1748 -0
- package/dist/node_modules/zod/v4/core/schemas.d.cts +1041 -0
- package/dist/node_modules/zod/v4/core/schemas.d.ts +1041 -0
- package/dist/node_modules/zod/v4/core/schemas.js +1717 -0
- package/dist/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/dist/node_modules/zod/v4/core/standard-schema.d.cts +55 -0
- package/dist/node_modules/zod/v4/core/standard-schema.d.ts +55 -0
- package/dist/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.cjs +854 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.d.cts +88 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.d.ts +88 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.js +849 -0
- package/dist/node_modules/zod/v4/core/util.cjs +539 -0
- package/dist/node_modules/zod/v4/core/util.d.cts +183 -0
- package/dist/node_modules/zod/v4/core/util.d.ts +183 -0
- package/dist/node_modules/zod/v4/core/util.js +493 -0
- package/dist/node_modules/zod/v4/core/versions.cjs +8 -0
- package/dist/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/dist/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/dist/node_modules/zod/v4/core/versions.js +5 -0
- package/dist/node_modules/zod/v4/index.cjs +22 -0
- package/dist/node_modules/zod/v4/index.d.cts +3 -0
- package/dist/node_modules/zod/v4/index.d.ts +3 -0
- package/dist/node_modules/zod/v4/index.js +3 -0
- package/dist/node_modules/zod/v4/locales/ar.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/ar.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ar.js +116 -0
- package/dist/node_modules/zod/v4/locales/az.cjs +141 -0
- package/dist/node_modules/zod/v4/locales/az.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/az.js +115 -0
- package/dist/node_modules/zod/v4/locales/be.cjs +190 -0
- package/dist/node_modules/zod/v4/locales/be.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/be.js +164 -0
- package/dist/node_modules/zod/v4/locales/ca.cjs +144 -0
- package/dist/node_modules/zod/v4/locales/ca.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ca.js +118 -0
- package/dist/node_modules/zod/v4/locales/cs.cjs +161 -0
- package/dist/node_modules/zod/v4/locales/cs.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/cs.js +135 -0
- package/dist/node_modules/zod/v4/locales/de.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/de.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/de.js +116 -0
- package/dist/node_modules/zod/v4/locales/en.cjs +145 -0
- package/dist/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/en.d.ts +5 -0
- package/dist/node_modules/zod/v4/locales/en.js +117 -0
- package/dist/node_modules/zod/v4/locales/eo.cjs +144 -0
- package/dist/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/eo.d.ts +5 -0
- package/dist/node_modules/zod/v4/locales/eo.js +116 -0
- package/dist/node_modules/zod/v4/locales/es.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/es.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/es.js +117 -0
- package/dist/node_modules/zod/v4/locales/fa.cjs +148 -0
- package/dist/node_modules/zod/v4/locales/fa.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/fa.js +122 -0
- package/dist/node_modules/zod/v4/locales/fi.cjs +148 -0
- package/dist/node_modules/zod/v4/locales/fi.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/fi.js +122 -0
- package/dist/node_modules/zod/v4/locales/fr-CA.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/fr-CA.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/fr-CA.js +117 -0
- package/dist/node_modules/zod/v4/locales/fr.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/fr.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/fr.js +116 -0
- package/dist/node_modules/zod/v4/locales/he.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/he.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/he.js +117 -0
- package/dist/node_modules/zod/v4/locales/hu.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/hu.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/hu.js +117 -0
- package/dist/node_modules/zod/v4/locales/id.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/id.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/id.js +116 -0
- package/dist/node_modules/zod/v4/locales/index.cjs +84 -0
- package/dist/node_modules/zod/v4/locales/index.d.cts +39 -0
- package/dist/node_modules/zod/v4/locales/index.d.ts +39 -0
- package/dist/node_modules/zod/v4/locales/index.js +39 -0
- package/dist/node_modules/zod/v4/locales/it.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/it.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/it.js +117 -0
- package/dist/node_modules/zod/v4/locales/ja.cjs +141 -0
- package/dist/node_modules/zod/v4/locales/ja.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ja.js +115 -0
- package/dist/node_modules/zod/v4/locales/kh.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/kh.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/kh.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/kh.js +117 -0
- package/dist/node_modules/zod/v4/locales/ko.cjs +147 -0
- package/dist/node_modules/zod/v4/locales/ko.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ko.js +121 -0
- package/dist/node_modules/zod/v4/locales/mk.cjs +144 -0
- package/dist/node_modules/zod/v4/locales/mk.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/mk.js +118 -0
- package/dist/node_modules/zod/v4/locales/ms.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/ms.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ms.js +116 -0
- package/dist/node_modules/zod/v4/locales/nl.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/nl.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/nl.js +117 -0
- package/dist/node_modules/zod/v4/locales/no.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/no.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/no.js +116 -0
- package/dist/node_modules/zod/v4/locales/ota.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/ota.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ota.js +117 -0
- package/dist/node_modules/zod/v4/locales/pl.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/pl.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/pl.js +117 -0
- package/dist/node_modules/zod/v4/locales/ps.cjs +148 -0
- package/dist/node_modules/zod/v4/locales/ps.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ps.js +122 -0
- package/dist/node_modules/zod/v4/locales/pt.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/pt.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/pt.js +116 -0
- package/dist/node_modules/zod/v4/locales/ru.cjs +190 -0
- package/dist/node_modules/zod/v4/locales/ru.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ru.js +164 -0
- package/dist/node_modules/zod/v4/locales/sl.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/sl.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/sl.js +117 -0
- package/dist/node_modules/zod/v4/locales/sv.cjs +144 -0
- package/dist/node_modules/zod/v4/locales/sv.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/sv.js +118 -0
- package/dist/node_modules/zod/v4/locales/ta.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/ta.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ta.js +117 -0
- package/dist/node_modules/zod/v4/locales/th.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/th.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/th.js +117 -0
- package/dist/node_modules/zod/v4/locales/tr.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/tr.d.ts +5 -0
- package/dist/node_modules/zod/v4/locales/tr.js +115 -0
- package/dist/node_modules/zod/v4/locales/ua.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/ua.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ua.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ua.js +117 -0
- package/dist/node_modules/zod/v4/locales/ur.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/ur.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ur.js +117 -0
- package/dist/node_modules/zod/v4/locales/vi.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/vi.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/vi.js +116 -0
- package/dist/node_modules/zod/v4/locales/zh-CN.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/zh-CN.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/zh-CN.js +116 -0
- package/dist/node_modules/zod/v4/locales/zh-TW.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/zh-TW.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/zh-TW.js +117 -0
- package/dist/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/dist/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/dist/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/dist/node_modules/zod/v4/mini/checks.js +1 -0
- package/dist/node_modules/zod/v4/mini/coerce.cjs +47 -0
- package/dist/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/dist/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/dist/node_modules/zod/v4/mini/coerce.js +17 -0
- package/dist/node_modules/zod/v4/mini/external.cjs +62 -0
- package/dist/node_modules/zod/v4/mini/external.d.cts +11 -0
- package/dist/node_modules/zod/v4/mini/external.d.ts +11 -0
- package/dist/node_modules/zod/v4/mini/external.js +13 -0
- package/dist/node_modules/zod/v4/mini/index.cjs +32 -0
- package/dist/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/dist/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/dist/node_modules/zod/v4/mini/index.js +3 -0
- package/dist/node_modules/zod/v4/mini/iso.cjs +60 -0
- package/dist/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/dist/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/dist/node_modules/zod/v4/mini/iso.js +30 -0
- package/dist/node_modules/zod/v4/mini/parse.cjs +8 -0
- package/dist/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/dist/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/dist/node_modules/zod/v4/mini/parse.js +1 -0
- package/dist/node_modules/zod/v4/mini/schemas.cjs +839 -0
- package/dist/node_modules/zod/v4/mini/schemas.d.cts +356 -0
- package/dist/node_modules/zod/v4/mini/schemas.d.ts +356 -0
- package/dist/node_modules/zod/v4/mini/schemas.js +732 -0
- package/dist/node_modules/zod/v4-mini/index.cjs +17 -0
- package/dist/node_modules/zod/v4-mini/index.d.cts +1 -0
- package/dist/node_modules/zod/v4-mini/index.d.ts +1 -0
- package/dist/node_modules/zod/v4-mini/index.js +1 -0
- package/dist/server/collections/orchestrator-config.js +70 -0
- package/dist/server/collections/orchestrator-logs.js +114 -0
- package/dist/server/index.js +32 -7
- package/dist/server/plugin.js +64 -42
- package/dist/server/resources/tracing.js +97 -83
- package/dist/server/tools/delegate-task.js +244 -301
- package/package.json +1 -1
- package/dist/client/AIEmployeeSelect.js +0 -29
- package/dist/client/AIEmployeesContext.js +0 -64
- package/dist/client/OrchestratorSettings.js +0 -32
- package/dist/client/RulesTab.js +0 -144
- package/dist/client/TracingTab.js +0 -88
- package/dist/client/plugin.js +0 -17
- /package/dist/{client/locale → locale}/en-US.json +0 -0
- /package/dist/{client/locale → locale}/vi-VN.json +0 -0
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.useAIEmployees = exports.AIEmployeesProvider = void 0;
|
|
27
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
const react_1 = __importStar(require("react"));
|
|
29
|
-
const client_1 = require("@nocobase/client");
|
|
30
|
-
const AIEmployeesContext = (0, react_1.createContext)({
|
|
31
|
-
employees: [],
|
|
32
|
-
employeeMap: new Map(),
|
|
33
|
-
loading: false,
|
|
34
|
-
});
|
|
35
|
-
/**
|
|
36
|
-
* P3 FIX: Shared context provider that fetches aiEmployees once
|
|
37
|
-
* and shares the data across RulesTab, TracingTab, and AIEmployeeSelect.
|
|
38
|
-
*/
|
|
39
|
-
const AIEmployeesProvider = ({ children }) => {
|
|
40
|
-
const { data, loading } = (0, client_1.useRequest)({
|
|
41
|
-
url: 'aiEmployees:list',
|
|
42
|
-
params: { pageSize: 200 },
|
|
43
|
-
});
|
|
44
|
-
const value = react_1.default.useMemo(() => {
|
|
45
|
-
const rawEmployees = data?.data || [];
|
|
46
|
-
const employees = rawEmployees.map((emp) => ({
|
|
47
|
-
username: emp.username,
|
|
48
|
-
nickname: emp.nickname || emp.username,
|
|
49
|
-
about: emp.about?.substring(0, 80),
|
|
50
|
-
}));
|
|
51
|
-
const employeeMap = new Map();
|
|
52
|
-
for (const emp of employees) {
|
|
53
|
-
employeeMap.set(emp.username, emp.nickname);
|
|
54
|
-
}
|
|
55
|
-
return { employees, employeeMap, loading };
|
|
56
|
-
}, [data, loading]);
|
|
57
|
-
return ((0, jsx_runtime_1.jsx)(AIEmployeesContext.Provider, { value: value, children: children }));
|
|
58
|
-
};
|
|
59
|
-
exports.AIEmployeesProvider = AIEmployeesProvider;
|
|
60
|
-
/**
|
|
61
|
-
* Hook to access shared AI employees data.
|
|
62
|
-
*/
|
|
63
|
-
const useAIEmployees = () => (0, react_1.useContext)(AIEmployeesContext);
|
|
64
|
-
exports.useAIEmployees = useAIEmployees;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OrchestratorSettings = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const antd_1 = require("antd");
|
|
6
|
-
const icons_1 = require("@ant-design/icons");
|
|
7
|
-
const RulesTab_1 = require("./RulesTab");
|
|
8
|
-
const TracingTab_1 = require("./TracingTab");
|
|
9
|
-
const AIEmployeesContext_1 = require("./AIEmployeesContext");
|
|
10
|
-
/**
|
|
11
|
-
* Main settings page for the Agent Orchestrator plugin.
|
|
12
|
-
* Contains two tabs:
|
|
13
|
-
* - Rules: Configure which AI Employees can delegate tasks to others
|
|
14
|
-
* - Tracing: View and debug delegation execution logs
|
|
15
|
-
*
|
|
16
|
-
* P3 FIX: Wraps with AIEmployeesProvider so both tabs share one API call.
|
|
17
|
-
*/
|
|
18
|
-
const OrchestratorSettings = () => {
|
|
19
|
-
return ((0, jsx_runtime_1.jsx)(AIEmployeesContext_1.AIEmployeesProvider, { children: (0, jsx_runtime_1.jsx)("div", { style: { padding: '0 24px 24px' }, children: (0, jsx_runtime_1.jsx)(antd_1.Tabs, { defaultActiveKey: "rules", items: [
|
|
20
|
-
{
|
|
21
|
-
key: 'rules',
|
|
22
|
-
label: ((0, jsx_runtime_1.jsxs)("span", { children: [(0, jsx_runtime_1.jsx)(icons_1.ApartmentOutlined, {}), " Orchestration Rules"] })),
|
|
23
|
-
children: (0, jsx_runtime_1.jsx)(RulesTab_1.RulesTab, {}),
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
key: 'tracing',
|
|
27
|
-
label: ((0, jsx_runtime_1.jsxs)("span", { children: [(0, jsx_runtime_1.jsx)(icons_1.MonitorOutlined, {}), " Swarm Tracing"] })),
|
|
28
|
-
children: (0, jsx_runtime_1.jsx)(TracingTab_1.TracingTab, {}),
|
|
29
|
-
},
|
|
30
|
-
] }) }) }));
|
|
31
|
-
};
|
|
32
|
-
exports.OrchestratorSettings = OrchestratorSettings;
|
package/dist/client/RulesTab.js
DELETED
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RulesTab = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const react_1 = require("react");
|
|
6
|
-
const antd_1 = require("antd");
|
|
7
|
-
const icons_1 = require("@ant-design/icons");
|
|
8
|
-
const client_1 = require("@nocobase/client");
|
|
9
|
-
const AIEmployeeSelect_1 = require("./AIEmployeeSelect");
|
|
10
|
-
const AIEmployeesContext_1 = require("./AIEmployeesContext");
|
|
11
|
-
const { Text } = antd_1.Typography;
|
|
12
|
-
const RulesTab = () => {
|
|
13
|
-
const api = (0, client_1.useAPIClient)();
|
|
14
|
-
const [visible, setVisible] = (0, react_1.useState)(false);
|
|
15
|
-
const [editingRecord, setEditingRecord] = (0, react_1.useState)(null);
|
|
16
|
-
const [form] = antd_1.Form.useForm();
|
|
17
|
-
const { data, loading, refresh } = (0, client_1.useRequest)({
|
|
18
|
-
url: 'orchestratorConfig:list',
|
|
19
|
-
params: {
|
|
20
|
-
sort: ['-createdAt'],
|
|
21
|
-
},
|
|
22
|
-
});
|
|
23
|
-
// P3 FIX: Use shared context instead of duplicate API call
|
|
24
|
-
const { employeeMap } = (0, AIEmployeesContext_1.useAIEmployees)();
|
|
25
|
-
const handleOpen = (record) => {
|
|
26
|
-
setEditingRecord(record);
|
|
27
|
-
if (record) {
|
|
28
|
-
form.setFieldsValue(record);
|
|
29
|
-
}
|
|
30
|
-
else {
|
|
31
|
-
form.resetFields();
|
|
32
|
-
form.setFieldsValue({ enabled: true, maxDepth: 1, timeout: 120000 });
|
|
33
|
-
}
|
|
34
|
-
setVisible(true);
|
|
35
|
-
};
|
|
36
|
-
const handleClose = () => {
|
|
37
|
-
setVisible(false);
|
|
38
|
-
setEditingRecord(null);
|
|
39
|
-
};
|
|
40
|
-
const handleSave = async (values) => {
|
|
41
|
-
// Validate: leader !== subAgent
|
|
42
|
-
if (values.leaderUsername === values.subAgentUsername) {
|
|
43
|
-
antd_1.message.error('Leader and Sub-Agent cannot be the same employee.');
|
|
44
|
-
return;
|
|
45
|
-
}
|
|
46
|
-
try {
|
|
47
|
-
if (editingRecord) {
|
|
48
|
-
await api.request({
|
|
49
|
-
url: 'orchestratorConfig:update',
|
|
50
|
-
method: 'put',
|
|
51
|
-
params: { filterByTk: editingRecord.id },
|
|
52
|
-
data: values,
|
|
53
|
-
});
|
|
54
|
-
antd_1.message.success('Rule updated');
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
await api.request({
|
|
58
|
-
url: 'orchestratorConfig:create',
|
|
59
|
-
method: 'post',
|
|
60
|
-
data: values,
|
|
61
|
-
});
|
|
62
|
-
antd_1.message.success('Rule created');
|
|
63
|
-
}
|
|
64
|
-
handleClose();
|
|
65
|
-
refresh();
|
|
66
|
-
}
|
|
67
|
-
catch (e) {
|
|
68
|
-
const msg = e?.response?.data?.errors?.[0]?.message || e.message;
|
|
69
|
-
antd_1.message.error(`Save failed: ${msg}`);
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
const handleDelete = async (id) => {
|
|
73
|
-
try {
|
|
74
|
-
await api.request({
|
|
75
|
-
url: 'orchestratorConfig:destroy',
|
|
76
|
-
method: 'delete',
|
|
77
|
-
params: { filterByTk: id },
|
|
78
|
-
});
|
|
79
|
-
antd_1.message.success('Rule deleted');
|
|
80
|
-
refresh();
|
|
81
|
-
}
|
|
82
|
-
catch (e) {
|
|
83
|
-
antd_1.message.error(`Delete failed: ${e.message}`);
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
const columns = [
|
|
87
|
-
{
|
|
88
|
-
title: 'Leader (Orchestrator)',
|
|
89
|
-
dataIndex: 'leaderUsername',
|
|
90
|
-
key: 'leaderUsername',
|
|
91
|
-
render: (username) => ((0, jsx_runtime_1.jsx)(antd_1.Tag, { color: "blue", children: employeeMap.get(username) || username })),
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
title: '',
|
|
95
|
-
key: 'arrow',
|
|
96
|
-
width: 50,
|
|
97
|
-
render: () => (0, jsx_runtime_1.jsx)(icons_1.SwapRightOutlined, { style: { color: '#999', fontSize: 18 } }),
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
title: 'Sub-Agent',
|
|
101
|
-
dataIndex: 'subAgentUsername',
|
|
102
|
-
key: 'subAgentUsername',
|
|
103
|
-
render: (username) => ((0, jsx_runtime_1.jsx)(antd_1.Tag, { color: "green", children: employeeMap.get(username) || username })),
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
title: 'Max Depth',
|
|
107
|
-
dataIndex: 'maxDepth',
|
|
108
|
-
key: 'maxDepth',
|
|
109
|
-
width: 100,
|
|
110
|
-
render: (v) => v ?? 1,
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
title: 'Timeout',
|
|
114
|
-
dataIndex: 'timeout',
|
|
115
|
-
key: 'timeout',
|
|
116
|
-
width: 100,
|
|
117
|
-
render: (v) => `${((v ?? 120000) / 1000).toFixed(0)}s`,
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
title: 'Enabled',
|
|
121
|
-
dataIndex: 'enabled',
|
|
122
|
-
key: 'enabled',
|
|
123
|
-
width: 80,
|
|
124
|
-
render: (enabled, record) => ((0, jsx_runtime_1.jsx)(antd_1.Switch, { checked: enabled, size: "small", onChange: async (checked) => {
|
|
125
|
-
await api.request({
|
|
126
|
-
url: 'orchestratorConfig:update',
|
|
127
|
-
method: 'put',
|
|
128
|
-
params: { filterByTk: record.id },
|
|
129
|
-
data: { enabled: checked },
|
|
130
|
-
});
|
|
131
|
-
refresh();
|
|
132
|
-
} })),
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
title: 'Actions',
|
|
136
|
-
key: 'actions',
|
|
137
|
-
width: 160,
|
|
138
|
-
render: (_, record) => ((0, jsx_runtime_1.jsxs)(antd_1.Space, { children: [(0, jsx_runtime_1.jsx)(antd_1.Button, { type: "link", size: "small", icon: (0, jsx_runtime_1.jsx)(icons_1.EditOutlined, {}), onClick: () => handleOpen(record), children: "Edit" }), (0, jsx_runtime_1.jsx)(antd_1.Popconfirm, { title: "Delete this rule?", onConfirm: () => handleDelete(record.id), children: (0, jsx_runtime_1.jsx)(antd_1.Button, { type: "link", size: "small", danger: true, icon: (0, jsx_runtime_1.jsx)(icons_1.DeleteOutlined, {}), children: "Delete" }) })] })),
|
|
139
|
-
},
|
|
140
|
-
];
|
|
141
|
-
const leaderUsername = antd_1.Form.useWatch('leaderUsername', form);
|
|
142
|
-
return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(antd_1.Alert, { type: "info", showIcon: true, style: { marginBottom: 16 }, message: "Orchestration Rules", description: (0, jsx_runtime_1.jsx)(Text, { type: "secondary", children: "Configure which AI Employees can act as Leaders (Orchestrators) and which ones they can delegate tasks to. Each rule creates a callable tool for the Leader to invoke the Sub-Agent." }) }), (0, jsx_runtime_1.jsxs)(antd_1.Card, { bordered: false, children: [(0, jsx_runtime_1.jsx)("div", { style: { marginBottom: 16, display: 'flex', justifyContent: 'flex-end' }, children: (0, jsx_runtime_1.jsx)(antd_1.Button, { type: "primary", icon: (0, jsx_runtime_1.jsx)(icons_1.PlusOutlined, {}), onClick: () => handleOpen(), children: "New Rule" }) }), (0, jsx_runtime_1.jsx)(antd_1.Table, { rowKey: "id", loading: loading, dataSource: data?.data || [], columns: columns, pagination: { hideOnSinglePage: true, pageSize: 20 }, size: "middle" })] }), (0, jsx_runtime_1.jsx)(antd_1.Drawer, { title: editingRecord ? 'Edit Orchestration Rule' : 'New Orchestration Rule', width: 480, onClose: handleClose, open: visible, styles: { body: { paddingBottom: 80 } }, extra: (0, jsx_runtime_1.jsxs)(antd_1.Space, { children: [(0, jsx_runtime_1.jsx)(antd_1.Button, { onClick: handleClose, children: "Cancel" }), (0, jsx_runtime_1.jsx)(antd_1.Button, { onClick: () => form.submit(), type: "primary", children: "Save" })] }), children: (0, jsx_runtime_1.jsxs)(antd_1.Form, { form: form, layout: "vertical", onFinish: handleSave, children: [(0, jsx_runtime_1.jsx)(antd_1.Form.Item, { name: "leaderUsername", label: "Leader (Orchestrator)", rules: [{ required: true, message: 'Please select a Leader' }], tooltip: "The AI Employee that will be able to delegate tasks to the Sub-Agent", children: (0, jsx_runtime_1.jsx)(AIEmployeeSelect_1.AIEmployeeSelect, { placeholder: "Select Leader AI Employee..." }) }), (0, jsx_runtime_1.jsx)(antd_1.Form.Item, { name: "subAgentUsername", label: "Sub-Agent", rules: [{ required: true, message: 'Please select a Sub-Agent' }], tooltip: "The AI Employee that will receive delegated tasks", children: (0, jsx_runtime_1.jsx)(AIEmployeeSelect_1.AIEmployeeSelect, { placeholder: "Select Sub-Agent AI Employee...", exclude: leaderUsername }) }), (0, jsx_runtime_1.jsx)(antd_1.Form.Item, { name: "maxDepth", label: "Max Delegation Depth", tooltip: "How many layers of delegation are allowed (1 = leader calls sub-agent, sub-agent cannot delegate further)", children: (0, jsx_runtime_1.jsx)(antd_1.InputNumber, { min: 1, max: 3, style: { width: '100%' } }) }), (0, jsx_runtime_1.jsx)(antd_1.Form.Item, { name: "timeout", label: "Timeout (ms)", tooltip: "Maximum time in milliseconds for the sub-agent to complete its task", children: (0, jsx_runtime_1.jsx)(antd_1.InputNumber, { min: 10000, max: 600000, step: 10000, style: { width: '100%' } }) }), (0, jsx_runtime_1.jsx)(antd_1.Form.Item, { name: "enabled", label: "Enabled", valuePropName: "checked", children: (0, jsx_runtime_1.jsx)(antd_1.Switch, {}) })] }) })] }));
|
|
143
|
-
};
|
|
144
|
-
exports.RulesTab = RulesTab;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TracingTab = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const react_1 = require("react");
|
|
6
|
-
const antd_1 = require("antd");
|
|
7
|
-
const icons_1 = require("@ant-design/icons");
|
|
8
|
-
const client_1 = require("@nocobase/client");
|
|
9
|
-
const AIEmployeesContext_1 = require("./AIEmployeesContext");
|
|
10
|
-
const { Text, Paragraph } = antd_1.Typography;
|
|
11
|
-
/**
|
|
12
|
-
* Phase 5: Swarm Tracing page.
|
|
13
|
-
* Displays delegation execution logs from the orchestratorLogs collection.
|
|
14
|
-
*/
|
|
15
|
-
const TracingTab = () => {
|
|
16
|
-
const [selectedLog, setSelectedLog] = (0, react_1.useState)(null);
|
|
17
|
-
// Fetch delegation logs
|
|
18
|
-
const { data, loading, refresh } = (0, client_1.useRequest)({
|
|
19
|
-
url: 'orchestratorTracing:list',
|
|
20
|
-
params: {
|
|
21
|
-
sort: ['-createdAt'],
|
|
22
|
-
pageSize: 50,
|
|
23
|
-
},
|
|
24
|
-
});
|
|
25
|
-
// P3 FIX: Use shared context instead of duplicate API call
|
|
26
|
-
const { employeeMap } = (0, AIEmployeesContext_1.useAIEmployees)();
|
|
27
|
-
const columns = [
|
|
28
|
-
{
|
|
29
|
-
title: 'Time',
|
|
30
|
-
dataIndex: 'createdAt',
|
|
31
|
-
key: 'createdAt',
|
|
32
|
-
width: 170,
|
|
33
|
-
render: (v) => v ? new Date(v).toLocaleString() : '-',
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
title: 'Sub-Agent',
|
|
37
|
-
dataIndex: 'subAgentUsername',
|
|
38
|
-
key: 'subAgentUsername',
|
|
39
|
-
render: (username) => ((0, jsx_runtime_1.jsx)(antd_1.Tag, { color: "green", children: employeeMap.get(username) || username })),
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
title: 'Task',
|
|
43
|
-
dataIndex: 'task',
|
|
44
|
-
key: 'task',
|
|
45
|
-
render: (task) => ((0, jsx_runtime_1.jsx)(Text, { ellipsis: true, style: { maxWidth: 280 }, children: task?.substring(0, 100) || '-' })),
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
title: 'Status',
|
|
49
|
-
dataIndex: 'status',
|
|
50
|
-
key: 'status',
|
|
51
|
-
width: 90,
|
|
52
|
-
render: (status) => ((0, jsx_runtime_1.jsx)(antd_1.Tag, { icon: status === 'success' ? (0, jsx_runtime_1.jsx)(icons_1.CheckCircleOutlined, {}) : (0, jsx_runtime_1.jsx)(icons_1.CloseCircleOutlined, {}), color: status === 'success' ? 'success' : 'error', children: status })),
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
title: 'Duration',
|
|
56
|
-
dataIndex: 'durationMs',
|
|
57
|
-
key: 'durationMs',
|
|
58
|
-
width: 90,
|
|
59
|
-
render: (ms) => {
|
|
60
|
-
if (!ms)
|
|
61
|
-
return '-';
|
|
62
|
-
return ms >= 1000 ? `${(ms / 1000).toFixed(1)}s` : `${ms}ms`;
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
title: 'Depth',
|
|
67
|
-
dataIndex: 'depth',
|
|
68
|
-
key: 'depth',
|
|
69
|
-
width: 60,
|
|
70
|
-
render: (v) => v ?? 0,
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
title: '',
|
|
74
|
-
key: 'actions',
|
|
75
|
-
width: 80,
|
|
76
|
-
render: (_, record) => ((0, jsx_runtime_1.jsx)(antd_1.Button, { type: "link", size: "small", icon: (0, jsx_runtime_1.jsx)(icons_1.EyeOutlined, {}), onClick: () => setSelectedLog(record), children: "Detail" })),
|
|
77
|
-
},
|
|
78
|
-
];
|
|
79
|
-
return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(antd_1.Alert, { type: "info", showIcon: true, style: { marginBottom: 16 }, message: "Swarm Tracing", description: (0, jsx_runtime_1.jsx)(Text, { type: "secondary", children: "View delegation execution logs. Each row represents one sub-agent invocation triggered by a Leader's tool call." }) }), (0, jsx_runtime_1.jsxs)(antd_1.Card, { bordered: false, children: [(0, jsx_runtime_1.jsx)("div", { style: { marginBottom: 16, display: 'flex', justifyContent: 'flex-end' }, children: (0, jsx_runtime_1.jsx)(antd_1.Button, { onClick: refresh, children: "Refresh" }) }), (0, jsx_runtime_1.jsx)(antd_1.Table, { rowKey: "id", loading: loading, dataSource: data?.data || [], columns: columns, pagination: { hideOnSinglePage: true, pageSize: 20 }, size: "middle", locale: { emptyText: (0, jsx_runtime_1.jsx)(antd_1.Empty, { description: "No delegation executions yet" }) } })] }), (0, jsx_runtime_1.jsx)(antd_1.Drawer, { title: "Delegation Detail", width: 640, onClose: () => setSelectedLog(null), open: !!selectedLog, children: selectedLog && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(antd_1.Descriptions, { column: 1, bordered: true, size: "small", style: { marginBottom: 16 }, children: [(0, jsx_runtime_1.jsx)(antd_1.Descriptions.Item, { label: "Status", children: (0, jsx_runtime_1.jsx)(antd_1.Tag, { icon: selectedLog.status === 'success' ? (0, jsx_runtime_1.jsx)(icons_1.CheckCircleOutlined, {}) : (0, jsx_runtime_1.jsx)(icons_1.CloseCircleOutlined, {}), color: selectedLog.status === 'success' ? 'success' : 'error', children: selectedLog.status }) }), (0, jsx_runtime_1.jsx)(antd_1.Descriptions.Item, { label: "Sub-Agent", children: (0, jsx_runtime_1.jsx)(antd_1.Tag, { color: "green", children: employeeMap.get(selectedLog.subAgentUsername) || selectedLog.subAgentUsername }) }), (0, jsx_runtime_1.jsx)(antd_1.Descriptions.Item, { label: "Tool", children: (0, jsx_runtime_1.jsx)(Text, { code: true, children: selectedLog.toolName }) }), (0, jsx_runtime_1.jsx)(antd_1.Descriptions.Item, { label: "Depth", children: selectedLog.depth ?? 0 }), (0, jsx_runtime_1.jsx)(antd_1.Descriptions.Item, { label: "Duration", children: selectedLog.durationMs
|
|
80
|
-
? selectedLog.durationMs >= 1000
|
|
81
|
-
? `${(selectedLog.durationMs / 1000).toFixed(1)}s`
|
|
82
|
-
: `${selectedLog.durationMs}ms`
|
|
83
|
-
: '-' }), (0, jsx_runtime_1.jsx)(antd_1.Descriptions.Item, { label: "Time", children: selectedLog.createdAt ? new Date(selectedLog.createdAt).toLocaleString() : '-' })] }), (0, jsx_runtime_1.jsx)(antd_1.Card, { title: "Task", size: "small", style: { marginBottom: 16 }, children: (0, jsx_runtime_1.jsx)(Paragraph, { style: { whiteSpace: 'pre-wrap', margin: 0, fontSize: 13 }, children: selectedLog.task || 'No task description' }) }), (0, jsx_runtime_1.jsx)(antd_1.Card, { title: "Result", size: "small", style: {
|
|
84
|
-
marginBottom: 16,
|
|
85
|
-
borderColor: selectedLog.status === 'success' ? '#b7eb8f' : '#ffa39e',
|
|
86
|
-
}, children: (0, jsx_runtime_1.jsx)(Paragraph, { style: { whiteSpace: 'pre-wrap', margin: 0, fontSize: 13 }, ellipsis: { rows: 20, expandable: true }, children: selectedLog.result || selectedLog.error || 'No result' }) }), selectedLog.error && ((0, jsx_runtime_1.jsx)(antd_1.Card, { title: "Error", size: "small", style: { borderColor: '#ffa39e' }, children: (0, jsx_runtime_1.jsx)(Paragraph, { type: "danger", style: { whiteSpace: 'pre-wrap', margin: 0, fontSize: 13 }, children: selectedLog.error }) }))] })) })] }));
|
|
87
|
-
};
|
|
88
|
-
exports.TracingTab = TracingTab;
|
package/dist/client/plugin.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PluginAgentOrchestratorClient = void 0;
|
|
4
|
-
const client_1 = require("@nocobase/client");
|
|
5
|
-
const OrchestratorSettings_1 = require("./OrchestratorSettings");
|
|
6
|
-
class PluginAgentOrchestratorClient extends client_1.Plugin {
|
|
7
|
-
async load() {
|
|
8
|
-
// Register under the "AI" settings group for consistency with other AI plugins
|
|
9
|
-
this.app.pluginSettingsManager.add('ai.orchestrator', {
|
|
10
|
-
title: 'Agent Orchestrator',
|
|
11
|
-
icon: 'ApartmentOutlined',
|
|
12
|
-
Component: OrchestratorSettings_1.OrchestratorSettings,
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
exports.PluginAgentOrchestratorClient = PluginAgentOrchestratorClient;
|
|
17
|
-
exports.default = PluginAgentOrchestratorClient;
|
|
File without changes
|
|
File without changes
|