@llm-dev-ops/agentics-cli 1.4.53 → 1.4.54
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/bundled-agents/connector-hub-agents/package-lock.json +11697 -0
- package/dist/bundled-agents/connector-hub-agents/package.json +75 -0
- package/dist/bundled-agents/connector-hub-agents/tsconfig.build.json +22 -0
- package/dist/bundled-agents/connector-hub-agents/tsconfig.json +57 -0
- package/dist/bundled-agents/copilot-agents/functions/.gcloudignore +17 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.d.ts +14 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js +35 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.d.ts +55 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js +40 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.d.ts +22 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js +38 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.d.ts +34 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js +186 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.d.ts +36 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js +121 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.d.ts +157 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js +948 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.d.ts +9 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js +27 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.d.ts +23 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js +50 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.d.ts +214 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js +91 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.d.ts +1166 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js +308 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.d.ts +59 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js +62 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.d.ts +400 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js +113 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.d.ts +250 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js +169 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.d.ts +17 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js +97 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.d.ts +1674 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js +246 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.d.ts +1085 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js +218 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.d.ts +949 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js +253 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.d.ts +657 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js +205 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.d.ts +285 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js +106 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.d.ts +581 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js +136 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.d.ts +791 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js +225 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.d.ts +120 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js +535 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.d.ts +9 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js +18 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.d.ts +4 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js +9 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.d.ts +123 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js +609 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.d.ts +10 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js +25 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +111 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js +686 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.d.ts +11 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js +25 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.d.ts +6 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js +15 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +126 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js +780 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.d.ts +49 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js +125 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.d.ts +73 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js +192 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.d.ts +11 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js +25 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.d.ts +127 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js +483 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.d.ts +49 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js +125 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.d.ts +73 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js +192 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.d.ts +11 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js +27 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.d.ts +122 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js +645 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.d.ts +59 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js +156 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.d.ts +88 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js +246 -0
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/index.js +4 -0
- package/dist/bundled-agents/copilot-agents/functions/jest.config.js +29 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.d.ts +14 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js +35 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.d.ts +27 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js +21 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.d.ts +22 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js +38 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.d.ts +34 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js +174 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.d.ts +27 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js +107 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.d.ts +157 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js +941 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.d.ts +9 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js +27 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.d.ts +23 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js +50 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.d.ts +185 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js +86 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.d.ts +1081 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js +305 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.d.ts +59 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js +62 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.d.ts +315 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js +110 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.d.ts +250 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js +169 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.d.ts +16 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js +88 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.d.ts +1674 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js +246 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.d.ts +1000 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js +215 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.d.ts +864 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js +250 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.d.ts +572 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js +202 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.d.ts +496 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js +133 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.d.ts +706 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js +222 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.d.ts +107 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js +360 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.d.ts +9 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js +18 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.d.ts +4 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js +9 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.d.ts +123 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js +609 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.d.ts +10 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js +25 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +111 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js +686 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.d.ts +11 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js +25 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.d.ts +6 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js +15 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +126 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js +780 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.d.ts +49 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js +125 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.d.ts +73 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js +192 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.d.ts +11 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js +25 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.d.ts +119 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js +421 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.d.ts +49 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js +125 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.d.ts +73 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js +192 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.d.ts +11 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js +27 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.d.ts +122 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js +645 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.d.ts +59 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js +156 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.d.ts +88 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js +246 -0
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/functions/package-lock.json +5473 -0
- package/dist/bundled-agents/copilot-agents/functions/package.json +40 -0
- package/dist/bundled-agents/copilot-agents/functions/src/claude.ts +71 -0
- package/dist/bundled-agents/copilot-agents/functions/src/cors.ts +36 -0
- package/dist/bundled-agents/copilot-agents/functions/src/envelope.ts +77 -0
- package/dist/bundled-agents/copilot-agents/functions/src/handler.test.ts +340 -0
- package/dist/bundled-agents/copilot-agents/functions/src/health.ts +53 -0
- package/dist/bundled-agents/copilot-agents/functions/src/index.ts +201 -0
- package/dist/bundled-agents/copilot-agents/functions/src/router.ts +148 -0
- package/dist/bundled-agents/copilot-agents/functions/tsconfig.json +31 -0
- package/dist/bundled-agents/copilot-agents/package-lock.json +11825 -0
- package/dist/bundled-agents/copilot-agents/package.json +5 -0
- package/dist/bundled-agents/governance-dashboard-agents/package-lock.json +8282 -0
- package/dist/bundled-agents/governance-dashboard-agents/package.json +13 -0
- package/dist/bundled-agents/orchestrator-agents/functions/contracts/index.js +590 -0
- package/dist/bundled-agents/orchestrator-agents/functions/index.js +442 -0
- package/dist/bundled-agents/orchestrator-agents/functions/test.js +325 -0
- package/dist/bundled-agents/orchestrator-agents/index.js +6 -0
- package/dist/bundled-agents/orchestrator-agents/package-lock.json +13254 -0
- package/dist/bundled-agents/orchestrator-agents/package.json +20 -0
- package/dist/bundled-agents/platform-agents/package-lock.json +1723 -0
- package/dist/bundled-agents/platform-agents/package.json +22 -0
- package/dist/bundled-agents/platform-agents/src/agents/decision-memo.ts +463 -0
- package/dist/bundled-agents/platform-agents/src/agents/decision.ts +234 -0
- package/dist/bundled-agents/platform-agents/src/agents/executive-summary.ts +229 -0
- package/dist/bundled-agents/platform-agents/src/agents/risk-score.ts +327 -0
- package/dist/bundled-agents/platform-agents/src/claude.ts +71 -0
- package/dist/bundled-agents/platform-agents/src/cors.ts +24 -0
- package/dist/bundled-agents/platform-agents/src/envelope.ts +37 -0
- package/dist/bundled-agents/platform-agents/src/health.ts +20 -0
- package/dist/bundled-agents/platform-agents/src/index.ts +171 -0
- package/dist/bundled-agents/platform-agents/src/router.ts +38 -0
- package/dist/bundled-agents/platform-agents/src/text-analysis.ts +238 -0
- package/dist/bundled-agents/platform-agents/tsconfig.json +19 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts +3 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js +43 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts +3 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js +30 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts +3 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js +53 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts +3 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js +51 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts +3 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js +36 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/index.d.ts +2 -0
- package/dist/bundled-agents/sentinel-agents/lib/index.d.ts.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/index.js +70 -0
- package/dist/bundled-agents/sentinel-agents/lib/index.js.map +1 -0
- package/dist/bundled-agents/sentinel-agents/package-lock.json +12591 -0
- package/dist/bundled-agents/sentinel-agents/package.json +62 -0
- package/dist/bundled-agents/sentinel-agents/src/agents/alert.ts +46 -0
- package/dist/bundled-agents/sentinel-agents/src/agents/anomaly.ts +33 -0
- package/dist/bundled-agents/sentinel-agents/src/agents/correlation.ts +56 -0
- package/dist/bundled-agents/sentinel-agents/src/agents/drift.ts +54 -0
- package/dist/bundled-agents/sentinel-agents/src/agents/rca.ts +38 -0
- package/dist/bundled-agents/sentinel-agents/src/claude.ts +71 -0
- package/dist/bundled-agents/sentinel-agents/src/index.ts +77 -0
- package/dist/bundled-agents/sentinel-agents/tsconfig.json +20 -0
- package/dist/pipeline/auto-chain.d.ts.map +1 -1
- package/dist/pipeline/auto-chain.js +52 -0
- package/dist/pipeline/auto-chain.js.map +1 -1
- package/dist/pipeline/phase2/phases/ddd-generator.d.ts.map +1 -1
- package/dist/pipeline/phase2/phases/ddd-generator.js +15 -1
- package/dist/pipeline/phase2/phases/ddd-generator.js.map +1 -1
- package/dist/pipeline/phase2/phases/sparc-specification.d.ts.map +1 -1
- package/dist/pipeline/phase2/phases/sparc-specification.js +9 -0
- package/dist/pipeline/phase2/phases/sparc-specification.js.map +1 -1
- package/dist/pipeline/phase3/phases/domain-codegen.d.ts.map +1 -1
- package/dist/pipeline/phase3/phases/domain-codegen.js +41 -0
- package/dist/pipeline/phase3/phases/domain-codegen.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Reflection Agent Schemas
|
|
4
|
+
*
|
|
5
|
+
* Purpose: Analyze DecisionEvents to extract learning and quality signals
|
|
6
|
+
* Classification: POST_EXECUTION_ANALYSIS, QUALITY_ASSESSMENT
|
|
7
|
+
* decision_type: reflection_analysis
|
|
8
|
+
*
|
|
9
|
+
* Scope:
|
|
10
|
+
* - Evaluate outcomes
|
|
11
|
+
* - Identify gaps and inefficiencies
|
|
12
|
+
* - Produce improvement insights
|
|
13
|
+
*
|
|
14
|
+
* Must Never:
|
|
15
|
+
* - Modify behavior
|
|
16
|
+
* - Trigger retries
|
|
17
|
+
* - Apply optimizations
|
|
18
|
+
*/
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
exports.ReflectionOutputSchema = exports.ReflectionInputSchema = exports.OutcomeEvaluationSchema = exports.GapAnalysisSchema = exports.LearningSignalSchema = exports.QualitySignalSchema = void 0;
|
|
21
|
+
const zod_1 = require("zod");
|
|
22
|
+
const decision_event_1 = require("./decision-event");
|
|
23
|
+
/**
|
|
24
|
+
* Quality Signal - extracted quality indicators
|
|
25
|
+
*/
|
|
26
|
+
exports.QualitySignalSchema = zod_1.z.object({
|
|
27
|
+
/** Unique identifier for this signal */
|
|
28
|
+
signal_id: zod_1.z.string().min(1),
|
|
29
|
+
/** Type of quality signal */
|
|
30
|
+
type: zod_1.z.enum([
|
|
31
|
+
'performance', // Execution performance signal
|
|
32
|
+
'accuracy', // Accuracy/correctness signal
|
|
33
|
+
'completeness', // Completeness of output signal
|
|
34
|
+
'consistency', // Consistency with prior decisions
|
|
35
|
+
'efficiency', // Resource efficiency signal
|
|
36
|
+
'reliability', // Reliability/stability signal
|
|
37
|
+
]),
|
|
38
|
+
/** Signal value (0.0 - 1.0 normalized score) */
|
|
39
|
+
value: zod_1.z.number().min(0).max(1),
|
|
40
|
+
/** Human-readable description of the signal */
|
|
41
|
+
description: zod_1.z.string().min(1),
|
|
42
|
+
/** Evidence supporting this signal */
|
|
43
|
+
evidence: zod_1.z.array(zod_1.z.string()).default([]),
|
|
44
|
+
/** Severity level for negative signals */
|
|
45
|
+
severity: zod_1.z.enum(['info', 'warning', 'error', 'critical']).optional(),
|
|
46
|
+
});
|
|
47
|
+
/**
|
|
48
|
+
* Learning Signal - extracted learning opportunities
|
|
49
|
+
*/
|
|
50
|
+
exports.LearningSignalSchema = zod_1.z.object({
|
|
51
|
+
/** Unique identifier for this learning */
|
|
52
|
+
learning_id: zod_1.z.string().min(1),
|
|
53
|
+
/** Category of learning */
|
|
54
|
+
category: zod_1.z.enum([
|
|
55
|
+
'pattern', // Identified pattern to replicate
|
|
56
|
+
'anti_pattern', // Pattern to avoid
|
|
57
|
+
'optimization', // Optimization opportunity
|
|
58
|
+
'edge_case', // Edge case discovered
|
|
59
|
+
'dependency', // Dependency relationship learned
|
|
60
|
+
'constraint', // Constraint discovered
|
|
61
|
+
]),
|
|
62
|
+
/** Brief title for the learning */
|
|
63
|
+
title: zod_1.z.string().min(1).max(200),
|
|
64
|
+
/** Detailed description of the learning */
|
|
65
|
+
description: zod_1.z.string().min(1),
|
|
66
|
+
/** Confidence in this learning (0.0 - 1.0) */
|
|
67
|
+
confidence: zod_1.z.number().min(0).max(1),
|
|
68
|
+
/** Affected agents or components */
|
|
69
|
+
affected_agents: zod_1.z.array(zod_1.z.string()).default([]),
|
|
70
|
+
/** Recommendations for applying this learning (informational only) */
|
|
71
|
+
recommendations: zod_1.z.array(zod_1.z.string()).default([]),
|
|
72
|
+
});
|
|
73
|
+
/**
|
|
74
|
+
* Gap Analysis - identified gaps or inefficiencies
|
|
75
|
+
*/
|
|
76
|
+
exports.GapAnalysisSchema = zod_1.z.object({
|
|
77
|
+
/** Unique identifier for this gap */
|
|
78
|
+
gap_id: zod_1.z.string().min(1),
|
|
79
|
+
/** Type of gap */
|
|
80
|
+
type: zod_1.z.enum([
|
|
81
|
+
'coverage', // Missing coverage
|
|
82
|
+
'capability', // Missing capability
|
|
83
|
+
'data', // Data quality or availability gap
|
|
84
|
+
'process', // Process gap
|
|
85
|
+
'integration', // Integration gap
|
|
86
|
+
'documentation', // Documentation gap
|
|
87
|
+
]),
|
|
88
|
+
/** Brief title for the gap */
|
|
89
|
+
title: zod_1.z.string().min(1).max(200),
|
|
90
|
+
/** Detailed description of the gap */
|
|
91
|
+
description: zod_1.z.string().min(1),
|
|
92
|
+
/** Impact assessment */
|
|
93
|
+
impact: zod_1.z.enum(['low', 'medium', 'high', 'critical']),
|
|
94
|
+
/** Steps involved where gap was identified */
|
|
95
|
+
affected_steps: zod_1.z.array(zod_1.z.string()).default([]),
|
|
96
|
+
/** Evidence supporting gap identification */
|
|
97
|
+
evidence: zod_1.z.array(zod_1.z.string()).default([]),
|
|
98
|
+
});
|
|
99
|
+
/**
|
|
100
|
+
* Outcome Evaluation - assessment of decision outcomes
|
|
101
|
+
*/
|
|
102
|
+
exports.OutcomeEvaluationSchema = zod_1.z.object({
|
|
103
|
+
/** Original decision event being evaluated */
|
|
104
|
+
decision_ref: zod_1.z.string().uuid(),
|
|
105
|
+
/** Agent that produced the decision */
|
|
106
|
+
agent_id: zod_1.z.string().min(1),
|
|
107
|
+
/** Decision type being evaluated */
|
|
108
|
+
decision_type: zod_1.z.string().min(1),
|
|
109
|
+
/** Overall outcome score (0.0 - 1.0) */
|
|
110
|
+
outcome_score: zod_1.z.number().min(0).max(1),
|
|
111
|
+
/** Assessment summary */
|
|
112
|
+
summary: zod_1.z.string().min(1),
|
|
113
|
+
/** Breakdown of outcome by dimension */
|
|
114
|
+
dimensions: zod_1.z.array(zod_1.z.object({
|
|
115
|
+
name: zod_1.z.string(),
|
|
116
|
+
score: zod_1.z.number().min(0).max(1),
|
|
117
|
+
notes: zod_1.z.string().optional(),
|
|
118
|
+
})).default([]),
|
|
119
|
+
/** Was the outcome as expected? */
|
|
120
|
+
met_expectations: zod_1.z.boolean(),
|
|
121
|
+
/** Deviation from expected outcome if any */
|
|
122
|
+
deviation_notes: zod_1.z.string().optional(),
|
|
123
|
+
});
|
|
124
|
+
/**
|
|
125
|
+
* Reflection Agent Input Schema
|
|
126
|
+
*/
|
|
127
|
+
exports.ReflectionInputSchema = zod_1.z.object({
|
|
128
|
+
/** DecisionEvents to analyze (1-100 events) */
|
|
129
|
+
decision_events: zod_1.z.array(decision_event_1.DecisionEventSchema).min(1).max(100),
|
|
130
|
+
/** Optional context about the analysis scope */
|
|
131
|
+
context: zod_1.z.object({
|
|
132
|
+
/** Focus areas for analysis */
|
|
133
|
+
focus_areas: zod_1.z.array(zod_1.z.enum([
|
|
134
|
+
'quality',
|
|
135
|
+
'learning',
|
|
136
|
+
'gaps',
|
|
137
|
+
'outcomes',
|
|
138
|
+
'all',
|
|
139
|
+
])).default(['all']),
|
|
140
|
+
/** Time range context */
|
|
141
|
+
time_range: zod_1.z.object({
|
|
142
|
+
from: zod_1.z.string().datetime().optional(),
|
|
143
|
+
to: zod_1.z.string().datetime().optional(),
|
|
144
|
+
}).optional(),
|
|
145
|
+
/** Specific agents to focus on */
|
|
146
|
+
target_agents: zod_1.z.array(zod_1.z.string()).optional(),
|
|
147
|
+
/** Prior reflections to build upon */
|
|
148
|
+
prior_reflection_refs: zod_1.z.array(zod_1.z.string().uuid()).optional(),
|
|
149
|
+
/** Domain-specific context */
|
|
150
|
+
domain_context: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional(),
|
|
151
|
+
}).optional(),
|
|
152
|
+
/** Analysis preferences */
|
|
153
|
+
preferences: zod_1.z.object({
|
|
154
|
+
/** Minimum confidence threshold for signals (0.0 - 1.0) */
|
|
155
|
+
min_confidence: zod_1.z.number().min(0).max(1).default(0.5),
|
|
156
|
+
/** Maximum number of signals to return per category */
|
|
157
|
+
max_signals_per_category: zod_1.z.number().int().positive().max(50).default(10),
|
|
158
|
+
/** Include detailed evidence */
|
|
159
|
+
include_evidence: zod_1.z.boolean().default(true),
|
|
160
|
+
/** Generate cross-event correlations */
|
|
161
|
+
correlate_events: zod_1.z.boolean().default(true),
|
|
162
|
+
}).optional(),
|
|
163
|
+
/** Request ID for tracing */
|
|
164
|
+
request_id: zod_1.z.string().uuid().optional(),
|
|
165
|
+
});
|
|
166
|
+
/**
|
|
167
|
+
* Reflection Agent Output Schema
|
|
168
|
+
*/
|
|
169
|
+
exports.ReflectionOutputSchema = zod_1.z.object({
|
|
170
|
+
/** Unique reflection identifier */
|
|
171
|
+
reflection_id: zod_1.z.string().uuid(),
|
|
172
|
+
/** Number of events analyzed */
|
|
173
|
+
events_analyzed: zod_1.z.number().int().nonnegative(),
|
|
174
|
+
/** Agents covered in analysis */
|
|
175
|
+
agents_analyzed: zod_1.z.array(zod_1.z.string()),
|
|
176
|
+
/** Time range of analyzed events */
|
|
177
|
+
analysis_time_range: zod_1.z.object({
|
|
178
|
+
earliest: zod_1.z.string().datetime(),
|
|
179
|
+
latest: zod_1.z.string().datetime(),
|
|
180
|
+
}),
|
|
181
|
+
/** Outcome evaluations for each analyzed event */
|
|
182
|
+
outcome_evaluations: zod_1.z.array(exports.OutcomeEvaluationSchema),
|
|
183
|
+
/** Extracted quality signals */
|
|
184
|
+
quality_signals: zod_1.z.array(exports.QualitySignalSchema),
|
|
185
|
+
/** Extracted learning signals */
|
|
186
|
+
learning_signals: zod_1.z.array(exports.LearningSignalSchema),
|
|
187
|
+
/** Identified gaps */
|
|
188
|
+
gap_analysis: zod_1.z.array(exports.GapAnalysisSchema),
|
|
189
|
+
/** Cross-event correlations found */
|
|
190
|
+
correlations: zod_1.z.array(zod_1.z.object({
|
|
191
|
+
/** Correlation identifier */
|
|
192
|
+
correlation_id: zod_1.z.string(),
|
|
193
|
+
/** Type of correlation */
|
|
194
|
+
type: zod_1.z.enum(['causal', 'temporal', 'similarity', 'dependency']),
|
|
195
|
+
/** Events involved */
|
|
196
|
+
event_refs: zod_1.z.array(zod_1.z.string().uuid()),
|
|
197
|
+
/** Description of the correlation */
|
|
198
|
+
description: zod_1.z.string(),
|
|
199
|
+
/** Correlation strength (0.0 - 1.0) */
|
|
200
|
+
strength: zod_1.z.number().min(0).max(1),
|
|
201
|
+
})).default([]),
|
|
202
|
+
/** Summary statistics */
|
|
203
|
+
summary: zod_1.z.object({
|
|
204
|
+
/** Overall quality score across all events (0.0 - 1.0) */
|
|
205
|
+
overall_quality_score: zod_1.z.number().min(0).max(1),
|
|
206
|
+
/** Total quality signals extracted */
|
|
207
|
+
total_quality_signals: zod_1.z.number().int().nonnegative(),
|
|
208
|
+
/** Total learning signals extracted */
|
|
209
|
+
total_learning_signals: zod_1.z.number().int().nonnegative(),
|
|
210
|
+
/** Total gaps identified */
|
|
211
|
+
total_gaps: zod_1.z.number().int().nonnegative(),
|
|
212
|
+
/** Events meeting expectations percentage */
|
|
213
|
+
expectations_met_rate: zod_1.z.number().min(0).max(1),
|
|
214
|
+
/** Key findings (informational summaries) */
|
|
215
|
+
key_findings: zod_1.z.array(zod_1.z.string()),
|
|
216
|
+
/** Improvement suggestions (informational only - NOT actionable by this agent) */
|
|
217
|
+
improvement_suggestions: zod_1.z.array(zod_1.z.string()),
|
|
218
|
+
}),
|
|
219
|
+
/** Reflection metadata */
|
|
220
|
+
version: zod_1.z.string().default('1.0.0'),
|
|
221
|
+
});
|
|
222
|
+
//# sourceMappingURL=reflection-schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reflection-schemas.js","sourceRoot":"","sources":["../../../../../services/agents/contracts/reflection-schemas.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAEH,6BAAwB;AACxB,qDAAuD;AAEvD;;GAEG;AACU,QAAA,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,wCAAwC;IACxC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAE5B,6BAA6B;IAC7B,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC;QACX,aAAa,EAAM,+BAA+B;QAClD,UAAU,EAAS,8BAA8B;QACjD,cAAc,EAAK,gCAAgC;QACnD,aAAa,EAAM,mCAAmC;QACtD,YAAY,EAAO,6BAA6B;QAChD,aAAa,EAAM,+BAA+B;KACnD,CAAC;IAEF,gDAAgD;IAChD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAE/B,+CAA+C;IAC/C,WAAW,EAAE,OAAC,CA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* Decomposer Agent
|
|
3
|
+
*
|
|
4
|
+
* Purpose: Decompose complex objectives into manageable sub-objectives
|
|
5
|
+
* Classification: DECOMPOSITION, STRUCTURAL_SYNTHESIS
|
|
6
|
+
* decision_type: objective_decomposition
|
|
7
|
+
*
|
|
8
|
+
* Scope:
|
|
9
|
+
* - Break complex objectives into sub-objectives
|
|
10
|
+
* - Identify sub-objective relationships
|
|
11
|
+
* - Assess decomposition completeness
|
|
12
|
+
*
|
|
13
|
+
* CONSTITUTION COMPLIANCE:
|
|
14
|
+
* ✓ Stateless at runtime
|
|
15
|
+
* ✓ Emits exactly ONE DecisionEvent per invocation
|
|
16
|
+
* ✓ Persists ONLY via ruvector-service
|
|
17
|
+
* ✓ NEVER connects directly to databases
|
|
18
|
+
* ✓ NEVER executes SQL
|
|
19
|
+
* ✓ NEVER modifies runtime behavior
|
|
20
|
+
* ✓ NEVER orchestrates other agents
|
|
21
|
+
* ✓ NEVER enforces policy
|
|
22
|
+
* ✓ NEVER intercepts execution paths
|
|
23
|
+
*
|
|
24
|
+
* Must Never:
|
|
25
|
+
* - Execute sub-objectives
|
|
26
|
+
* - Assign agents
|
|
27
|
+
* - Allocate resources
|
|
28
|
+
* - Schedule execution
|
|
29
|
+
*/
|
|
30
|
+
import { BaseAgent, AgentMetadata, AgentResult, DecomposerInput, DecomposerOutput } from '../contracts';
|
|
31
|
+
import { RuvectorPersistence } from '../planner/ruvector-persistence';
|
|
32
|
+
import { Telemetry } from '../planner/telemetry';
|
|
33
|
+
/**
|
|
34
|
+
* Decomposer Agent Implementation
|
|
35
|
+
*
|
|
36
|
+
* This agent analyzes complex objectives and produces structured sub-objectives.
|
|
37
|
+
* It is purely analytical - it NEVER executes, assigns, or schedules anything.
|
|
38
|
+
*/
|
|
39
|
+
export declare class DecomposerAgent implements BaseAgent<DecomposerInput, DecomposerOutput> {
|
|
40
|
+
readonly metadata: AgentMetadata;
|
|
41
|
+
private readonly persistence;
|
|
42
|
+
private readonly telemetry;
|
|
43
|
+
constructor(persistence: RuvectorPersistence, telemetry: Telemetry);
|
|
44
|
+
/**
|
|
45
|
+
* Validate input against DecomposerInputSchema
|
|
46
|
+
*/
|
|
47
|
+
validateInput(input: unknown): DecomposerInput;
|
|
48
|
+
/**
|
|
49
|
+
* Invoke the decomposer agent
|
|
50
|
+
*
|
|
51
|
+
* DETERMINISTIC: Same input always produces same output structure
|
|
52
|
+
* STATELESS: No internal state modified
|
|
53
|
+
* NON-BLOCKING: Fully async
|
|
54
|
+
*/
|
|
55
|
+
invoke(input: DecomposerInput, executionRef: string): Promise<AgentResult>;
|
|
56
|
+
/**
|
|
57
|
+
* Decompose objective into sub-objectives
|
|
58
|
+
*
|
|
59
|
+
* This is the core decomposition logic - purely analytical.
|
|
60
|
+
* NEVER executes, assigns agents, or schedules anything.
|
|
61
|
+
*/
|
|
62
|
+
private decompose;
|
|
63
|
+
/**
|
|
64
|
+
* Extract sub-objectives from the objective using pattern-based analysis
|
|
65
|
+
*/
|
|
66
|
+
private extractSubObjectives;
|
|
67
|
+
/**
|
|
68
|
+
* Build tree structure (parent -> children) from sub-objectives
|
|
69
|
+
*/
|
|
70
|
+
private buildTreeStructure;
|
|
71
|
+
/**
|
|
72
|
+
* Build dependency graph as adjacency list
|
|
73
|
+
*/
|
|
74
|
+
private buildDependencyGraph;
|
|
75
|
+
/**
|
|
76
|
+
* Calculate complexity distribution
|
|
77
|
+
*/
|
|
78
|
+
private calculateComplexityDistribution;
|
|
79
|
+
/**
|
|
80
|
+
* Assess how well the sub-objectives cover the original objective
|
|
81
|
+
*/
|
|
82
|
+
private assessCoverage;
|
|
83
|
+
/**
|
|
84
|
+
* Summarize objective for output
|
|
85
|
+
*/
|
|
86
|
+
private summarize;
|
|
87
|
+
/**
|
|
88
|
+
* Extract assumptions made during decomposition
|
|
89
|
+
*/
|
|
90
|
+
private extractAssumptions;
|
|
91
|
+
/**
|
|
92
|
+
* Calculate confidence score based on decomposition quality
|
|
93
|
+
*/
|
|
94
|
+
private calculateConfidence;
|
|
95
|
+
/**
|
|
96
|
+
* Get constraints applied during decomposition
|
|
97
|
+
*/
|
|
98
|
+
private getAppliedConstraints;
|
|
99
|
+
/**
|
|
100
|
+
* Classify error for proper error code
|
|
101
|
+
*/
|
|
102
|
+
private classifyError;
|
|
103
|
+
/**
|
|
104
|
+
* Helper: Check if text contains any of the keywords
|
|
105
|
+
*/
|
|
106
|
+
private containsAny;
|
|
107
|
+
}
|