@llm-dev-ops/agentics-cli 1.4.52 → 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/dist/pipeline/ruflo-phase-executor.d.ts.map +1 -1
- package/dist/pipeline/ruflo-phase-executor.js +109 -19
- package/dist/pipeline/ruflo-phase-executor.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,791 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reflection Agent Schemas
|
|
3
|
+
*
|
|
4
|
+
* Purpose: Analyze DecisionEvents to extract learning and quality signals
|
|
5
|
+
* Classification: POST_EXECUTION_ANALYSIS, QUALITY_ASSESSMENT
|
|
6
|
+
* decision_type: reflection_analysis
|
|
7
|
+
*
|
|
8
|
+
* Scope:
|
|
9
|
+
* - Evaluate outcomes
|
|
10
|
+
* - Identify gaps and inefficiencies
|
|
11
|
+
* - Produce improvement insights
|
|
12
|
+
*
|
|
13
|
+
* Must Never:
|
|
14
|
+
* - Modify behavior
|
|
15
|
+
* - Trigger retries
|
|
16
|
+
* - Apply optimizations
|
|
17
|
+
*/
|
|
18
|
+
import { z } from 'zod';
|
|
19
|
+
/**
|
|
20
|
+
* Quality Signal - extracted quality indicators
|
|
21
|
+
*/
|
|
22
|
+
export declare const QualitySignalSchema: z.ZodObject<{
|
|
23
|
+
/** Unique identifier for this signal */
|
|
24
|
+
signal_id: z.ZodString;
|
|
25
|
+
/** Type of quality signal */
|
|
26
|
+
type: z.ZodEnum<["performance", "accuracy", "completeness", "consistency", "efficiency", "reliability"]>;
|
|
27
|
+
/** Signal value (0.0 - 1.0 normalized score) */
|
|
28
|
+
value: z.ZodNumber;
|
|
29
|
+
/** Human-readable description of the signal */
|
|
30
|
+
description: z.ZodString;
|
|
31
|
+
/** Evidence supporting this signal */
|
|
32
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
33
|
+
/** Severity level for negative signals */
|
|
34
|
+
severity: z.ZodOptional<z.ZodEnum<["info", "warning", "error", "critical"]>>;
|
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
|
36
|
+
value: number;
|
|
37
|
+
type: "performance" | "accuracy" | "completeness" | "consistency" | "efficiency" | "reliability";
|
|
38
|
+
description: string;
|
|
39
|
+
signal_id: string;
|
|
40
|
+
evidence: string[];
|
|
41
|
+
severity?: "error" | "critical" | "info" | "warning" | undefined;
|
|
42
|
+
}, {
|
|
43
|
+
value: number;
|
|
44
|
+
type: "performance" | "accuracy" | "completeness" | "consistency" | "efficiency" | "reliability";
|
|
45
|
+
description: string;
|
|
46
|
+
signal_id: string;
|
|
47
|
+
severity?: "error" | "critical" | "info" | "warning" | undefined;
|
|
48
|
+
evidence?: string[] | undefined;
|
|
49
|
+
}>;
|
|
50
|
+
export type QualitySignal = z.infer<typeof QualitySignalSchema>;
|
|
51
|
+
/**
|
|
52
|
+
* Learning Signal - extracted learning opportunities
|
|
53
|
+
*/
|
|
54
|
+
export declare const LearningSignalSchema: z.ZodObject<{
|
|
55
|
+
/** Unique identifier for this learning */
|
|
56
|
+
learning_id: z.ZodString;
|
|
57
|
+
/** Category of learning */
|
|
58
|
+
category: z.ZodEnum<["pattern", "anti_pattern", "optimization", "edge_case", "dependency", "constraint"]>;
|
|
59
|
+
/** Brief title for the learning */
|
|
60
|
+
title: z.ZodString;
|
|
61
|
+
/** Detailed description of the learning */
|
|
62
|
+
description: z.ZodString;
|
|
63
|
+
/** Confidence in this learning (0.0 - 1.0) */
|
|
64
|
+
confidence: z.ZodNumber;
|
|
65
|
+
/** Affected agents or components */
|
|
66
|
+
affected_agents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
67
|
+
/** Recommendations for applying this learning (informational only) */
|
|
68
|
+
recommendations: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
|
70
|
+
confidence: number;
|
|
71
|
+
description: string;
|
|
72
|
+
learning_id: string;
|
|
73
|
+
category: "pattern" | "anti_pattern" | "optimization" | "edge_case" | "dependency" | "constraint";
|
|
74
|
+
title: string;
|
|
75
|
+
affected_agents: string[];
|
|
76
|
+
recommendations: string[];
|
|
77
|
+
}, {
|
|
78
|
+
confidence: number;
|
|
79
|
+
description: string;
|
|
80
|
+
learning_id: string;
|
|
81
|
+
category: "pattern" | "anti_pattern" | "optimization" | "edge_case" | "dependency" | "constraint";
|
|
82
|
+
title: string;
|
|
83
|
+
affected_agents?: string[] | undefined;
|
|
84
|
+
recommendations?: string[] | undefined;
|
|
85
|
+
}>;
|
|
86
|
+
export type LearningSignal = z.infer<typeof LearningSignalSchema>;
|
|
87
|
+
/**
|
|
88
|
+
* Gap Analysis - identified gaps or inefficiencies
|
|
89
|
+
*/
|
|
90
|
+
export declare const GapAnalysisSchema: z.ZodObject<{
|
|
91
|
+
/** Unique identifier for this gap */
|
|
92
|
+
gap_id: z.ZodString;
|
|
93
|
+
/** Type of gap */
|
|
94
|
+
type: z.ZodEnum<["coverage", "capability", "data", "process", "integration", "documentation"]>;
|
|
95
|
+
/** Brief title for the gap */
|
|
96
|
+
title: z.ZodString;
|
|
97
|
+
/** Detailed description of the gap */
|
|
98
|
+
description: z.ZodString;
|
|
99
|
+
/** Impact assessment */
|
|
100
|
+
impact: z.ZodEnum<["low", "medium", "high", "critical"]>;
|
|
101
|
+
/** Steps involved where gap was identified */
|
|
102
|
+
affected_steps: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
103
|
+
/** Evidence supporting gap identification */
|
|
104
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
|
106
|
+
type: "integration" | "data" | "coverage" | "capability" | "process" | "documentation";
|
|
107
|
+
description: string;
|
|
108
|
+
affected_steps: string[];
|
|
109
|
+
evidence: string[];
|
|
110
|
+
title: string;
|
|
111
|
+
gap_id: string;
|
|
112
|
+
impact: "low" | "medium" | "high" | "critical";
|
|
113
|
+
}, {
|
|
114
|
+
type: "integration" | "data" | "coverage" | "capability" | "process" | "documentation";
|
|
115
|
+
description: string;
|
|
116
|
+
title: string;
|
|
117
|
+
gap_id: string;
|
|
118
|
+
impact: "low" | "medium" | "high" | "critical";
|
|
119
|
+
affected_steps?: string[] | undefined;
|
|
120
|
+
evidence?: string[] | undefined;
|
|
121
|
+
}>;
|
|
122
|
+
export type GapAnalysis = z.infer<typeof GapAnalysisSchema>;
|
|
123
|
+
/**
|
|
124
|
+
* Outcome Evaluation - assessment of decision outcomes
|
|
125
|
+
*/
|
|
126
|
+
export declare const OutcomeEvaluationSchema: z.ZodObject<{
|
|
127
|
+
/** Original decision event being evaluated */
|
|
128
|
+
decision_ref: z.ZodString;
|
|
129
|
+
/** Agent that produced the decision */
|
|
130
|
+
agent_id: z.ZodString;
|
|
131
|
+
/** Decision type being evaluated */
|
|
132
|
+
decision_type: z.ZodString;
|
|
133
|
+
/** Overall outcome score (0.0 - 1.0) */
|
|
134
|
+
outcome_score: z.ZodNumber;
|
|
135
|
+
/** Assessment summary */
|
|
136
|
+
summary: z.ZodString;
|
|
137
|
+
/** Breakdown of outcome by dimension */
|
|
138
|
+
dimensions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
139
|
+
name: z.ZodString;
|
|
140
|
+
score: z.ZodNumber;
|
|
141
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
142
|
+
}, "strip", z.ZodTypeAny, {
|
|
143
|
+
name: string;
|
|
144
|
+
score: number;
|
|
145
|
+
notes?: string | undefined;
|
|
146
|
+
}, {
|
|
147
|
+
name: string;
|
|
148
|
+
score: number;
|
|
149
|
+
notes?: string | undefined;
|
|
150
|
+
}>, "many">>;
|
|
151
|
+
/** Was the outcome as expected? */
|
|
152
|
+
met_expectations: z.ZodBoolean;
|
|
153
|
+
/** Deviation from expected outcome if any */
|
|
154
|
+
deviation_notes: z.ZodOptional<z.ZodString>;
|
|
155
|
+
}, "strip", z.ZodTypeAny, {
|
|
156
|
+
agent_id: string;
|
|
157
|
+
decision_type: string;
|
|
158
|
+
decision_ref: string;
|
|
159
|
+
outcome_score: number;
|
|
160
|
+
summary: string;
|
|
161
|
+
dimensions: {
|
|
162
|
+
name: string;
|
|
163
|
+
score: number;
|
|
164
|
+
notes?: string | undefined;
|
|
165
|
+
}[];
|
|
166
|
+
met_expectations: boolean;
|
|
167
|
+
deviation_notes?: string | undefined;
|
|
168
|
+
}, {
|
|
169
|
+
agent_id: string;
|
|
170
|
+
decision_type: string;
|
|
171
|
+
decision_ref: string;
|
|
172
|
+
outcome_score: number;
|
|
173
|
+
summary: string;
|
|
174
|
+
met_expectations: boolean;
|
|
175
|
+
dimensions?: {
|
|
176
|
+
name: string;
|
|
177
|
+
score: number;
|
|
178
|
+
notes?: string | undefined;
|
|
179
|
+
}[] | undefined;
|
|
180
|
+
deviation_notes?: string | undefined;
|
|
181
|
+
}>;
|
|
182
|
+
export type OutcomeEvaluation = z.infer<typeof OutcomeEvaluationSchema>;
|
|
183
|
+
/**
|
|
184
|
+
* Reflection Agent Input Schema
|
|
185
|
+
*/
|
|
186
|
+
export declare const ReflectionInputSchema: z.ZodObject<{
|
|
187
|
+
/** DecisionEvents to analyze (1-100 events) */
|
|
188
|
+
decision_events: z.ZodArray<z.ZodObject<{
|
|
189
|
+
agent_id: z.ZodString;
|
|
190
|
+
agent_version: z.ZodString;
|
|
191
|
+
decision_type: z.ZodString;
|
|
192
|
+
inputs_hash: z.ZodString;
|
|
193
|
+
outputs: z.ZodUnknown;
|
|
194
|
+
confidence: z.ZodNumber;
|
|
195
|
+
constraints_applied: z.ZodArray<z.ZodString, "many">;
|
|
196
|
+
execution_ref: z.ZodString;
|
|
197
|
+
timestamp: z.ZodString;
|
|
198
|
+
}, "strip", z.ZodTypeAny, {
|
|
199
|
+
agent_id: string;
|
|
200
|
+
agent_version: string;
|
|
201
|
+
decision_type: string;
|
|
202
|
+
inputs_hash: string;
|
|
203
|
+
confidence: number;
|
|
204
|
+
constraints_applied: string[];
|
|
205
|
+
execution_ref: string;
|
|
206
|
+
timestamp: string;
|
|
207
|
+
outputs?: unknown;
|
|
208
|
+
}, {
|
|
209
|
+
agent_id: string;
|
|
210
|
+
agent_version: string;
|
|
211
|
+
decision_type: string;
|
|
212
|
+
inputs_hash: string;
|
|
213
|
+
confidence: number;
|
|
214
|
+
constraints_applied: string[];
|
|
215
|
+
execution_ref: string;
|
|
216
|
+
timestamp: string;
|
|
217
|
+
outputs?: unknown;
|
|
218
|
+
}>, "many">;
|
|
219
|
+
/** Optional context about the analysis scope */
|
|
220
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
221
|
+
/** Focus areas for analysis */
|
|
222
|
+
focus_areas: z.ZodDefault<z.ZodArray<z.ZodEnum<["quality", "learning", "gaps", "outcomes", "all"]>, "many">>;
|
|
223
|
+
/** Time range context */
|
|
224
|
+
time_range: z.ZodOptional<z.ZodObject<{
|
|
225
|
+
from: z.ZodOptional<z.ZodString>;
|
|
226
|
+
to: z.ZodOptional<z.ZodString>;
|
|
227
|
+
}, "strip", z.ZodTypeAny, {
|
|
228
|
+
from?: string | undefined;
|
|
229
|
+
to?: string | undefined;
|
|
230
|
+
}, {
|
|
231
|
+
from?: string | undefined;
|
|
232
|
+
to?: string | undefined;
|
|
233
|
+
}>>;
|
|
234
|
+
/** Specific agents to focus on */
|
|
235
|
+
target_agents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
236
|
+
/** Prior reflections to build upon */
|
|
237
|
+
prior_reflection_refs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
238
|
+
/** Domain-specific context */
|
|
239
|
+
domain_context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
240
|
+
}, "strip", z.ZodTypeAny, {
|
|
241
|
+
focus_areas: ("quality" | "learning" | "gaps" | "outcomes" | "all")[];
|
|
242
|
+
time_range?: {
|
|
243
|
+
from?: string | undefined;
|
|
244
|
+
to?: string | undefined;
|
|
245
|
+
} | undefined;
|
|
246
|
+
target_agents?: string[] | undefined;
|
|
247
|
+
prior_reflection_refs?: string[] | undefined;
|
|
248
|
+
domain_context?: Record<string, string> | undefined;
|
|
249
|
+
}, {
|
|
250
|
+
focus_areas?: ("quality" | "learning" | "gaps" | "outcomes" | "all")[] | undefined;
|
|
251
|
+
time_range?: {
|
|
252
|
+
from?: string | undefined;
|
|
253
|
+
to?: string | undefined;
|
|
254
|
+
} | undefined;
|
|
255
|
+
target_agents?: string[] | undefined;
|
|
256
|
+
prior_reflection_refs?: string[] | undefined;
|
|
257
|
+
domain_context?: Record<string, string> | undefined;
|
|
258
|
+
}>>;
|
|
259
|
+
/** Analysis preferences */
|
|
260
|
+
preferences: z.ZodOptional<z.ZodObject<{
|
|
261
|
+
/** Minimum confidence threshold for signals (0.0 - 1.0) */
|
|
262
|
+
min_confidence: z.ZodDefault<z.ZodNumber>;
|
|
263
|
+
/** Maximum number of signals to return per category */
|
|
264
|
+
max_signals_per_category: z.ZodDefault<z.ZodNumber>;
|
|
265
|
+
/** Include detailed evidence */
|
|
266
|
+
include_evidence: z.ZodDefault<z.ZodBoolean>;
|
|
267
|
+
/** Generate cross-event correlations */
|
|
268
|
+
correlate_events: z.ZodDefault<z.ZodBoolean>;
|
|
269
|
+
}, "strip", z.ZodTypeAny, {
|
|
270
|
+
min_confidence: number;
|
|
271
|
+
max_signals_per_category: number;
|
|
272
|
+
include_evidence: boolean;
|
|
273
|
+
correlate_events: boolean;
|
|
274
|
+
}, {
|
|
275
|
+
min_confidence?: number | undefined;
|
|
276
|
+
max_signals_per_category?: number | undefined;
|
|
277
|
+
include_evidence?: boolean | undefined;
|
|
278
|
+
correlate_events?: boolean | undefined;
|
|
279
|
+
}>>;
|
|
280
|
+
/** Request ID for tracing */
|
|
281
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
282
|
+
/** Optional pipeline context for multi-agent orchestration */
|
|
283
|
+
pipeline_context: z.ZodOptional<z.ZodObject<{
|
|
284
|
+
plan_id: z.ZodString;
|
|
285
|
+
step_id: z.ZodString;
|
|
286
|
+
previous_steps: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
287
|
+
step_id: z.ZodString;
|
|
288
|
+
domain: z.ZodString;
|
|
289
|
+
agent: z.ZodString;
|
|
290
|
+
output: z.ZodOptional<z.ZodUnknown>;
|
|
291
|
+
}, "strip", z.ZodTypeAny, {
|
|
292
|
+
step_id: string;
|
|
293
|
+
domain: string;
|
|
294
|
+
agent: string;
|
|
295
|
+
output?: unknown;
|
|
296
|
+
}, {
|
|
297
|
+
step_id: string;
|
|
298
|
+
domain: string;
|
|
299
|
+
agent: string;
|
|
300
|
+
output?: unknown;
|
|
301
|
+
}>, "many">>;
|
|
302
|
+
execution_metadata: z.ZodOptional<z.ZodObject<{
|
|
303
|
+
trace_id: z.ZodString;
|
|
304
|
+
initiated_by: z.ZodString;
|
|
305
|
+
}, "strip", z.ZodTypeAny, {
|
|
306
|
+
trace_id: string;
|
|
307
|
+
initiated_by: string;
|
|
308
|
+
}, {
|
|
309
|
+
trace_id: string;
|
|
310
|
+
initiated_by: string;
|
|
311
|
+
}>>;
|
|
312
|
+
}, "strip", z.ZodTypeAny, {
|
|
313
|
+
step_id: string;
|
|
314
|
+
plan_id: string;
|
|
315
|
+
previous_steps: {
|
|
316
|
+
step_id: string;
|
|
317
|
+
domain: string;
|
|
318
|
+
agent: string;
|
|
319
|
+
output?: unknown;
|
|
320
|
+
}[];
|
|
321
|
+
execution_metadata?: {
|
|
322
|
+
trace_id: string;
|
|
323
|
+
initiated_by: string;
|
|
324
|
+
} | undefined;
|
|
325
|
+
}, {
|
|
326
|
+
step_id: string;
|
|
327
|
+
plan_id: string;
|
|
328
|
+
previous_steps?: {
|
|
329
|
+
step_id: string;
|
|
330
|
+
domain: string;
|
|
331
|
+
agent: string;
|
|
332
|
+
output?: unknown;
|
|
333
|
+
}[] | undefined;
|
|
334
|
+
execution_metadata?: {
|
|
335
|
+
trace_id: string;
|
|
336
|
+
initiated_by: string;
|
|
337
|
+
} | undefined;
|
|
338
|
+
}>>;
|
|
339
|
+
}, "strip", z.ZodTypeAny, {
|
|
340
|
+
decision_events: {
|
|
341
|
+
agent_id: string;
|
|
342
|
+
agent_version: string;
|
|
343
|
+
decision_type: string;
|
|
344
|
+
inputs_hash: string;
|
|
345
|
+
confidence: number;
|
|
346
|
+
constraints_applied: string[];
|
|
347
|
+
execution_ref: string;
|
|
348
|
+
timestamp: string;
|
|
349
|
+
outputs?: unknown;
|
|
350
|
+
}[];
|
|
351
|
+
preferences?: {
|
|
352
|
+
min_confidence: number;
|
|
353
|
+
max_signals_per_category: number;
|
|
354
|
+
include_evidence: boolean;
|
|
355
|
+
correlate_events: boolean;
|
|
356
|
+
} | undefined;
|
|
357
|
+
context?: {
|
|
358
|
+
focus_areas: ("quality" | "learning" | "gaps" | "outcomes" | "all")[];
|
|
359
|
+
time_range?: {
|
|
360
|
+
from?: string | undefined;
|
|
361
|
+
to?: string | undefined;
|
|
362
|
+
} | undefined;
|
|
363
|
+
target_agents?: string[] | undefined;
|
|
364
|
+
prior_reflection_refs?: string[] | undefined;
|
|
365
|
+
domain_context?: Record<string, string> | undefined;
|
|
366
|
+
} | undefined;
|
|
367
|
+
request_id?: string | undefined;
|
|
368
|
+
pipeline_context?: {
|
|
369
|
+
step_id: string;
|
|
370
|
+
plan_id: string;
|
|
371
|
+
previous_steps: {
|
|
372
|
+
step_id: string;
|
|
373
|
+
domain: string;
|
|
374
|
+
agent: string;
|
|
375
|
+
output?: unknown;
|
|
376
|
+
}[];
|
|
377
|
+
execution_metadata?: {
|
|
378
|
+
trace_id: string;
|
|
379
|
+
initiated_by: string;
|
|
380
|
+
} | undefined;
|
|
381
|
+
} | undefined;
|
|
382
|
+
}, {
|
|
383
|
+
decision_events: {
|
|
384
|
+
agent_id: string;
|
|
385
|
+
agent_version: string;
|
|
386
|
+
decision_type: string;
|
|
387
|
+
inputs_hash: string;
|
|
388
|
+
confidence: number;
|
|
389
|
+
constraints_applied: string[];
|
|
390
|
+
execution_ref: string;
|
|
391
|
+
timestamp: string;
|
|
392
|
+
outputs?: unknown;
|
|
393
|
+
}[];
|
|
394
|
+
preferences?: {
|
|
395
|
+
min_confidence?: number | undefined;
|
|
396
|
+
max_signals_per_category?: number | undefined;
|
|
397
|
+
include_evidence?: boolean | undefined;
|
|
398
|
+
correlate_events?: boolean | undefined;
|
|
399
|
+
} | undefined;
|
|
400
|
+
context?: {
|
|
401
|
+
focus_areas?: ("quality" | "learning" | "gaps" | "outcomes" | "all")[] | undefined;
|
|
402
|
+
time_range?: {
|
|
403
|
+
from?: string | undefined;
|
|
404
|
+
to?: string | undefined;
|
|
405
|
+
} | undefined;
|
|
406
|
+
target_agents?: string[] | undefined;
|
|
407
|
+
prior_reflection_refs?: string[] | undefined;
|
|
408
|
+
domain_context?: Record<string, string> | undefined;
|
|
409
|
+
} | undefined;
|
|
410
|
+
request_id?: string | undefined;
|
|
411
|
+
pipeline_context?: {
|
|
412
|
+
step_id: string;
|
|
413
|
+
plan_id: string;
|
|
414
|
+
previous_steps?: {
|
|
415
|
+
step_id: string;
|
|
416
|
+
domain: string;
|
|
417
|
+
agent: string;
|
|
418
|
+
output?: unknown;
|
|
419
|
+
}[] | undefined;
|
|
420
|
+
execution_metadata?: {
|
|
421
|
+
trace_id: string;
|
|
422
|
+
initiated_by: string;
|
|
423
|
+
} | undefined;
|
|
424
|
+
} | undefined;
|
|
425
|
+
}>;
|
|
426
|
+
export type ReflectionInput = z.infer<typeof ReflectionInputSchema>;
|
|
427
|
+
/**
|
|
428
|
+
* Reflection Agent Output Schema
|
|
429
|
+
*/
|
|
430
|
+
export declare const ReflectionOutputSchema: z.ZodObject<{
|
|
431
|
+
/** Unique reflection identifier */
|
|
432
|
+
reflection_id: z.ZodString;
|
|
433
|
+
/** Number of events analyzed */
|
|
434
|
+
events_analyzed: z.ZodNumber;
|
|
435
|
+
/** Agents covered in analysis */
|
|
436
|
+
agents_analyzed: z.ZodArray<z.ZodString, "many">;
|
|
437
|
+
/** Time range of analyzed events */
|
|
438
|
+
analysis_time_range: z.ZodObject<{
|
|
439
|
+
earliest: z.ZodString;
|
|
440
|
+
latest: z.ZodString;
|
|
441
|
+
}, "strip", z.ZodTypeAny, {
|
|
442
|
+
earliest: string;
|
|
443
|
+
latest: string;
|
|
444
|
+
}, {
|
|
445
|
+
earliest: string;
|
|
446
|
+
latest: string;
|
|
447
|
+
}>;
|
|
448
|
+
/** Outcome evaluations for each analyzed event */
|
|
449
|
+
outcome_evaluations: z.ZodArray<z.ZodObject<{
|
|
450
|
+
/** Original decision event being evaluated */
|
|
451
|
+
decision_ref: z.ZodString;
|
|
452
|
+
/** Agent that produced the decision */
|
|
453
|
+
agent_id: z.ZodString;
|
|
454
|
+
/** Decision type being evaluated */
|
|
455
|
+
decision_type: z.ZodString;
|
|
456
|
+
/** Overall outcome score (0.0 - 1.0) */
|
|
457
|
+
outcome_score: z.ZodNumber;
|
|
458
|
+
/** Assessment summary */
|
|
459
|
+
summary: z.ZodString;
|
|
460
|
+
/** Breakdown of outcome by dimension */
|
|
461
|
+
dimensions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
462
|
+
name: z.ZodString;
|
|
463
|
+
score: z.ZodNumber;
|
|
464
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
465
|
+
}, "strip", z.ZodTypeAny, {
|
|
466
|
+
name: string;
|
|
467
|
+
score: number;
|
|
468
|
+
notes?: string | undefined;
|
|
469
|
+
}, {
|
|
470
|
+
name: string;
|
|
471
|
+
score: number;
|
|
472
|
+
notes?: string | undefined;
|
|
473
|
+
}>, "many">>;
|
|
474
|
+
/** Was the outcome as expected? */
|
|
475
|
+
met_expectations: z.ZodBoolean;
|
|
476
|
+
/** Deviation from expected outcome if any */
|
|
477
|
+
deviation_notes: z.ZodOptional<z.ZodString>;
|
|
478
|
+
}, "strip", z.ZodTypeAny, {
|
|
479
|
+
agent_id: string;
|
|
480
|
+
decision_type: string;
|
|
481
|
+
decision_ref: string;
|
|
482
|
+
outcome_score: number;
|
|
483
|
+
summary: string;
|
|
484
|
+
dimensions: {
|
|
485
|
+
name: string;
|
|
486
|
+
score: number;
|
|
487
|
+
notes?: string | undefined;
|
|
488
|
+
}[];
|
|
489
|
+
met_expectations: boolean;
|
|
490
|
+
deviation_notes?: string | undefined;
|
|
491
|
+
}, {
|
|
492
|
+
agent_id: string;
|
|
493
|
+
decision_type: string;
|
|
494
|
+
decision_ref: string;
|
|
495
|
+
outcome_score: number;
|
|
496
|
+
summary: string;
|
|
497
|
+
met_expectations: boolean;
|
|
498
|
+
dimensions?: {
|
|
499
|
+
name: string;
|
|
500
|
+
score: number;
|
|
501
|
+
notes?: string | undefined;
|
|
502
|
+
}[] | undefined;
|
|
503
|
+
deviation_notes?: string | undefined;
|
|
504
|
+
}>, "many">;
|
|
505
|
+
/** Extracted quality signals */
|
|
506
|
+
quality_signals: z.ZodArray<z.ZodObject<{
|
|
507
|
+
/** Unique identifier for this signal */
|
|
508
|
+
signal_id: z.ZodString;
|
|
509
|
+
/** Type of quality signal */
|
|
510
|
+
type: z.ZodEnum<["performance", "accuracy", "completeness", "consistency", "efficiency", "reliability"]>;
|
|
511
|
+
/** Signal value (0.0 - 1.0 normalized score) */
|
|
512
|
+
value: z.ZodNumber;
|
|
513
|
+
/** Human-readable description of the signal */
|
|
514
|
+
description: z.ZodString;
|
|
515
|
+
/** Evidence supporting this signal */
|
|
516
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
517
|
+
/** Severity level for negative signals */
|
|
518
|
+
severity: z.ZodOptional<z.ZodEnum<["info", "warning", "error", "critical"]>>;
|
|
519
|
+
}, "strip", z.ZodTypeAny, {
|
|
520
|
+
value: number;
|
|
521
|
+
type: "performance" | "accuracy" | "completeness" | "consistency" | "efficiency" | "reliability";
|
|
522
|
+
description: string;
|
|
523
|
+
signal_id: string;
|
|
524
|
+
evidence: string[];
|
|
525
|
+
severity?: "error" | "critical" | "info" | "warning" | undefined;
|
|
526
|
+
}, {
|
|
527
|
+
value: number;
|
|
528
|
+
type: "performance" | "accuracy" | "completeness" | "consistency" | "efficiency" | "reliability";
|
|
529
|
+
description: string;
|
|
530
|
+
signal_id: string;
|
|
531
|
+
severity?: "error" | "critical" | "info" | "warning" | undefined;
|
|
532
|
+
evidence?: string[] | undefined;
|
|
533
|
+
}>, "many">;
|
|
534
|
+
/** Extracted learning signals */
|
|
535
|
+
learning_signals: z.ZodArray<z.ZodObject<{
|
|
536
|
+
/** Unique identifier for this learning */
|
|
537
|
+
learning_id: z.ZodString;
|
|
538
|
+
/** Category of learning */
|
|
539
|
+
category: z.ZodEnum<["pattern", "anti_pattern", "optimization", "edge_case", "dependency", "constraint"]>;
|
|
540
|
+
/** Brief title for the learning */
|
|
541
|
+
title: z.ZodString;
|
|
542
|
+
/** Detailed description of the learning */
|
|
543
|
+
description: z.ZodString;
|
|
544
|
+
/** Confidence in this learning (0.0 - 1.0) */
|
|
545
|
+
confidence: z.ZodNumber;
|
|
546
|
+
/** Affected agents or components */
|
|
547
|
+
affected_agents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
548
|
+
/** Recommendations for applying this learning (informational only) */
|
|
549
|
+
recommendations: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
550
|
+
}, "strip", z.ZodTypeAny, {
|
|
551
|
+
confidence: number;
|
|
552
|
+
description: string;
|
|
553
|
+
learning_id: string;
|
|
554
|
+
category: "pattern" | "anti_pattern" | "optimization" | "edge_case" | "dependency" | "constraint";
|
|
555
|
+
title: string;
|
|
556
|
+
affected_agents: string[];
|
|
557
|
+
recommendations: string[];
|
|
558
|
+
}, {
|
|
559
|
+
confidence: number;
|
|
560
|
+
description: string;
|
|
561
|
+
learning_id: string;
|
|
562
|
+
category: "pattern" | "anti_pattern" | "optimization" | "edge_case" | "dependency" | "constraint";
|
|
563
|
+
title: string;
|
|
564
|
+
affected_agents?: string[] | undefined;
|
|
565
|
+
recommendations?: string[] | undefined;
|
|
566
|
+
}>, "many">;
|
|
567
|
+
/** Identified gaps */
|
|
568
|
+
gap_analysis: z.ZodArray<z.ZodObject<{
|
|
569
|
+
/** Unique identifier for this gap */
|
|
570
|
+
gap_id: z.ZodString;
|
|
571
|
+
/** Type of gap */
|
|
572
|
+
type: z.ZodEnum<["coverage", "capability", "data", "process", "integration", "documentation"]>;
|
|
573
|
+
/** Brief title for the gap */
|
|
574
|
+
title: z.ZodString;
|
|
575
|
+
/** Detailed description of the gap */
|
|
576
|
+
description: z.ZodString;
|
|
577
|
+
/** Impact assessment */
|
|
578
|
+
impact: z.ZodEnum<["low", "medium", "high", "critical"]>;
|
|
579
|
+
/** Steps involved where gap was identified */
|
|
580
|
+
affected_steps: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
581
|
+
/** Evidence supporting gap identification */
|
|
582
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
583
|
+
}, "strip", z.ZodTypeAny, {
|
|
584
|
+
type: "integration" | "data" | "coverage" | "capability" | "process" | "documentation";
|
|
585
|
+
description: string;
|
|
586
|
+
affected_steps: string[];
|
|
587
|
+
evidence: string[];
|
|
588
|
+
title: string;
|
|
589
|
+
gap_id: string;
|
|
590
|
+
impact: "low" | "medium" | "high" | "critical";
|
|
591
|
+
}, {
|
|
592
|
+
type: "integration" | "data" | "coverage" | "capability" | "process" | "documentation";
|
|
593
|
+
description: string;
|
|
594
|
+
title: string;
|
|
595
|
+
gap_id: string;
|
|
596
|
+
impact: "low" | "medium" | "high" | "critical";
|
|
597
|
+
affected_steps?: string[] | undefined;
|
|
598
|
+
evidence?: string[] | undefined;
|
|
599
|
+
}>, "many">;
|
|
600
|
+
/** Cross-event correlations found */
|
|
601
|
+
correlations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
602
|
+
/** Correlation identifier */
|
|
603
|
+
correlation_id: z.ZodString;
|
|
604
|
+
/** Type of correlation */
|
|
605
|
+
type: z.ZodEnum<["causal", "temporal", "similarity", "dependency"]>;
|
|
606
|
+
/** Events involved */
|
|
607
|
+
event_refs: z.ZodArray<z.ZodString, "many">;
|
|
608
|
+
/** Description of the correlation */
|
|
609
|
+
description: z.ZodString;
|
|
610
|
+
/** Correlation strength (0.0 - 1.0) */
|
|
611
|
+
strength: z.ZodNumber;
|
|
612
|
+
}, "strip", z.ZodTypeAny, {
|
|
613
|
+
type: "dependency" | "causal" | "temporal" | "similarity";
|
|
614
|
+
description: string;
|
|
615
|
+
correlation_id: string;
|
|
616
|
+
event_refs: string[];
|
|
617
|
+
strength: number;
|
|
618
|
+
}, {
|
|
619
|
+
type: "dependency" | "causal" | "temporal" | "similarity";
|
|
620
|
+
description: string;
|
|
621
|
+
correlation_id: string;
|
|
622
|
+
event_refs: string[];
|
|
623
|
+
strength: number;
|
|
624
|
+
}>, "many">>;
|
|
625
|
+
/** Summary statistics */
|
|
626
|
+
summary: z.ZodObject<{
|
|
627
|
+
/** Overall quality score across all events (0.0 - 1.0) */
|
|
628
|
+
overall_quality_score: z.ZodNumber;
|
|
629
|
+
/** Total quality signals extracted */
|
|
630
|
+
total_quality_signals: z.ZodNumber;
|
|
631
|
+
/** Total learning signals extracted */
|
|
632
|
+
total_learning_signals: z.ZodNumber;
|
|
633
|
+
/** Total gaps identified */
|
|
634
|
+
total_gaps: z.ZodNumber;
|
|
635
|
+
/** Events meeting expectations percentage */
|
|
636
|
+
expectations_met_rate: z.ZodNumber;
|
|
637
|
+
/** Key findings (informational summaries) */
|
|
638
|
+
key_findings: z.ZodArray<z.ZodString, "many">;
|
|
639
|
+
/** Improvement suggestions (informational only - NOT actionable by this agent) */
|
|
640
|
+
improvement_suggestions: z.ZodArray<z.ZodString, "many">;
|
|
641
|
+
}, "strip", z.ZodTypeAny, {
|
|
642
|
+
overall_quality_score: number;
|
|
643
|
+
total_quality_signals: number;
|
|
644
|
+
total_learning_signals: number;
|
|
645
|
+
total_gaps: number;
|
|
646
|
+
expectations_met_rate: number;
|
|
647
|
+
key_findings: string[];
|
|
648
|
+
improvement_suggestions: string[];
|
|
649
|
+
}, {
|
|
650
|
+
overall_quality_score: number;
|
|
651
|
+
total_quality_signals: number;
|
|
652
|
+
total_learning_signals: number;
|
|
653
|
+
total_gaps: number;
|
|
654
|
+
expectations_met_rate: number;
|
|
655
|
+
key_findings: string[];
|
|
656
|
+
improvement_suggestions: string[];
|
|
657
|
+
}>;
|
|
658
|
+
/** Reflection metadata */
|
|
659
|
+
version: z.ZodDefault<z.ZodString>;
|
|
660
|
+
}, "strip", z.ZodTypeAny, {
|
|
661
|
+
version: string;
|
|
662
|
+
summary: {
|
|
663
|
+
overall_quality_score: number;
|
|
664
|
+
total_quality_signals: number;
|
|
665
|
+
total_learning_signals: number;
|
|
666
|
+
total_gaps: number;
|
|
667
|
+
expectations_met_rate: number;
|
|
668
|
+
key_findings: string[];
|
|
669
|
+
improvement_suggestions: string[];
|
|
670
|
+
};
|
|
671
|
+
reflection_id: string;
|
|
672
|
+
events_analyzed: number;
|
|
673
|
+
agents_analyzed: string[];
|
|
674
|
+
analysis_time_range: {
|
|
675
|
+
earliest: string;
|
|
676
|
+
latest: string;
|
|
677
|
+
};
|
|
678
|
+
outcome_evaluations: {
|
|
679
|
+
agent_id: string;
|
|
680
|
+
decision_type: string;
|
|
681
|
+
decision_ref: string;
|
|
682
|
+
outcome_score: number;
|
|
683
|
+
summary: string;
|
|
684
|
+
dimensions: {
|
|
685
|
+
name: string;
|
|
686
|
+
score: number;
|
|
687
|
+
notes?: string | undefined;
|
|
688
|
+
}[];
|
|
689
|
+
met_expectations: boolean;
|
|
690
|
+
deviation_notes?: string | undefined;
|
|
691
|
+
}[];
|
|
692
|
+
quality_signals: {
|
|
693
|
+
value: number;
|
|
694
|
+
type: "performance" | "accuracy" | "completeness" | "consistency" | "efficiency" | "reliability";
|
|
695
|
+
description: string;
|
|
696
|
+
signal_id: string;
|
|
697
|
+
evidence: string[];
|
|
698
|
+
severity?: "error" | "critical" | "info" | "warning" | undefined;
|
|
699
|
+
}[];
|
|
700
|
+
learning_signals: {
|
|
701
|
+
confidence: number;
|
|
702
|
+
description: string;
|
|
703
|
+
learning_id: string;
|
|
704
|
+
category: "pattern" | "anti_pattern" | "optimization" | "edge_case" | "dependency" | "constraint";
|
|
705
|
+
title: string;
|
|
706
|
+
affected_agents: string[];
|
|
707
|
+
recommendations: string[];
|
|
708
|
+
}[];
|
|
709
|
+
gap_analysis: {
|
|
710
|
+
type: "integration" | "data" | "coverage" | "capability" | "process" | "documentation";
|
|
711
|
+
description: string;
|
|
712
|
+
affected_steps: string[];
|
|
713
|
+
evidence: string[];
|
|
714
|
+
title: string;
|
|
715
|
+
gap_id: string;
|
|
716
|
+
impact: "low" | "medium" | "high" | "critical";
|
|
717
|
+
}[];
|
|
718
|
+
correlations: {
|
|
719
|
+
type: "dependency" | "causal" | "temporal" | "similarity";
|
|
720
|
+
description: string;
|
|
721
|
+
correlation_id: string;
|
|
722
|
+
event_refs: string[];
|
|
723
|
+
strength: number;
|
|
724
|
+
}[];
|
|
725
|
+
}, {
|
|
726
|
+
summary: {
|
|
727
|
+
overall_quality_score: number;
|
|
728
|
+
total_quality_signals: number;
|
|
729
|
+
total_learning_signals: number;
|
|
730
|
+
total_gaps: number;
|
|
731
|
+
expectations_met_rate: number;
|
|
732
|
+
key_findings: string[];
|
|
733
|
+
improvement_suggestions: string[];
|
|
734
|
+
};
|
|
735
|
+
reflection_id: string;
|
|
736
|
+
events_analyzed: number;
|
|
737
|
+
agents_analyzed: string[];
|
|
738
|
+
analysis_time_range: {
|
|
739
|
+
earliest: string;
|
|
740
|
+
latest: string;
|
|
741
|
+
};
|
|
742
|
+
outcome_evaluations: {
|
|
743
|
+
agent_id: string;
|
|
744
|
+
decision_type: string;
|
|
745
|
+
decision_ref: string;
|
|
746
|
+
outcome_score: number;
|
|
747
|
+
summary: string;
|
|
748
|
+
met_expectations: boolean;
|
|
749
|
+
dimensions?: {
|
|
750
|
+
name: string;
|
|
751
|
+
score: number;
|
|
752
|
+
notes?: string | undefined;
|
|
753
|
+
}[] | undefined;
|
|
754
|
+
deviation_notes?: string | undefined;
|
|
755
|
+
}[];
|
|
756
|
+
quality_signals: {
|
|
757
|
+
value: number;
|
|
758
|
+
type: "performance" | "accuracy" | "completeness" | "consistency" | "efficiency" | "reliability";
|
|
759
|
+
description: string;
|
|
760
|
+
signal_id: string;
|
|
761
|
+
severity?: "error" | "critical" | "info" | "warning" | undefined;
|
|
762
|
+
evidence?: string[] | undefined;
|
|
763
|
+
}[];
|
|
764
|
+
learning_signals: {
|
|
765
|
+
confidence: number;
|
|
766
|
+
description: string;
|
|
767
|
+
learning_id: string;
|
|
768
|
+
category: "pattern" | "anti_pattern" | "optimization" | "edge_case" | "dependency" | "constraint";
|
|
769
|
+
title: string;
|
|
770
|
+
affected_agents?: string[] | undefined;
|
|
771
|
+
recommendations?: string[] | undefined;
|
|
772
|
+
}[];
|
|
773
|
+
gap_analysis: {
|
|
774
|
+
type: "integration" | "data" | "coverage" | "capability" | "process" | "documentation";
|
|
775
|
+
description: string;
|
|
776
|
+
title: string;
|
|
777
|
+
gap_id: string;
|
|
778
|
+
impact: "low" | "medium" | "high" | "critical";
|
|
779
|
+
affected_steps?: string[] | undefined;
|
|
780
|
+
evidence?: string[] | undefined;
|
|
781
|
+
}[];
|
|
782
|
+
version?: string | undefined;
|
|
783
|
+
correlations?: {
|
|
784
|
+
type: "dependency" | "causal" | "temporal" | "similarity";
|
|
785
|
+
description: string;
|
|
786
|
+
correlation_id: string;
|
|
787
|
+
event_refs: string[];
|
|
788
|
+
strength: number;
|
|
789
|
+
}[] | undefined;
|
|
790
|
+
}>;
|
|
791
|
+
export type ReflectionOutput = z.infer<typeof ReflectionOutputSchema>;
|