@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,246 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Phase 7: Intelligence & Expansion (Layer 2) - Signal Schemas
|
|
4
|
+
*
|
|
5
|
+
* DecisionEvent rules - Agents MUST emit:
|
|
6
|
+
* - hypothesis_signal
|
|
7
|
+
* - simulation_outcome_signal
|
|
8
|
+
* - confidence_delta_signal
|
|
9
|
+
*
|
|
10
|
+
* Role clarity:
|
|
11
|
+
* - Agents MAY: reason, simulate, explore
|
|
12
|
+
* - Agents MUST: emit signals, avoid final decisions
|
|
13
|
+
*
|
|
14
|
+
* Performance budgets:
|
|
15
|
+
* - MAX_TOKENS=2500
|
|
16
|
+
* - MAX_LATENCY_MS=5000
|
|
17
|
+
*/
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.IntelligenceLayerOutputSchema = exports.IntelligenceLayerInputSchema = exports.ConfidenceDeltaSignalSchema = exports.SimulationOutcomeSignalSchema = exports.HypothesisSignalSchema = exports.PHASE7_PERFORMANCE_BUDGETS = void 0;
|
|
20
|
+
const zod_1 = require("zod");
|
|
21
|
+
/**
|
|
22
|
+
* Performance budget constants for Phase 7
|
|
23
|
+
*/
|
|
24
|
+
exports.PHASE7_PERFORMANCE_BUDGETS = {
|
|
25
|
+
MAX_TOKENS: 2500,
|
|
26
|
+
MAX_LATENCY_MS: 5000,
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Hypothesis Signal Schema
|
|
30
|
+
*
|
|
31
|
+
* Emitted when the agent forms a hypothesis during reasoning.
|
|
32
|
+
* Hypotheses are exploratory - they NEVER constitute final decisions.
|
|
33
|
+
*/
|
|
34
|
+
exports.HypothesisSignalSchema = zod_1.z.object({
|
|
35
|
+
signal_type: zod_1.z.literal('hypothesis_signal'),
|
|
36
|
+
hypothesis_id: zod_1.z.string().uuid(),
|
|
37
|
+
/** The hypothesis statement */
|
|
38
|
+
statement: zod_1.z.string().min(1).max(500),
|
|
39
|
+
/** Domain/area the hypothesis relates to */
|
|
40
|
+
domain: zod_1.z.string().min(1),
|
|
41
|
+
/** Supporting evidence or reasoning */
|
|
42
|
+
supporting_evidence: zod_1.z.array(zod_1.z.object({
|
|
43
|
+
evidence_id: zod_1.z.string(),
|
|
44
|
+
description: zod_1.z.string(),
|
|
45
|
+
weight: zod_1.z.number().min(0).max(1),
|
|
46
|
+
source: zod_1.z.string().optional(),
|
|
47
|
+
})),
|
|
48
|
+
/** Counter-evidence or alternative explanations */
|
|
49
|
+
counter_evidence: zod_1.z.array(zod_1.z.object({
|
|
50
|
+
evidence_id: zod_1.z.string(),
|
|
51
|
+
description: zod_1.z.string(),
|
|
52
|
+
weight: zod_1.z.number().min(0).max(1),
|
|
53
|
+
source: zod_1.z.string().optional(),
|
|
54
|
+
})),
|
|
55
|
+
/** Initial confidence before simulation */
|
|
56
|
+
initial_confidence: zod_1.z.number().min(0).max(1),
|
|
57
|
+
/** Conditions that would strengthen the hypothesis */
|
|
58
|
+
strengthening_conditions: zod_1.z.array(zod_1.z.string()),
|
|
59
|
+
/** Conditions that would weaken the hypothesis */
|
|
60
|
+
weakening_conditions: zod_1.z.array(zod_1.z.string()),
|
|
61
|
+
/** Related hypotheses (if exploring multiple paths) */
|
|
62
|
+
related_hypothesis_ids: zod_1.z.array(zod_1.z.string().uuid()),
|
|
63
|
+
/** Timestamp of hypothesis formation */
|
|
64
|
+
formed_at: zod_1.z.string().datetime(),
|
|
65
|
+
});
|
|
66
|
+
/**
|
|
67
|
+
* Simulation Outcome Signal Schema
|
|
68
|
+
*
|
|
69
|
+
* Emitted after simulating a scenario or testing a hypothesis.
|
|
70
|
+
* Simulations explore possibilities - they NEVER trigger actions.
|
|
71
|
+
*/
|
|
72
|
+
exports.SimulationOutcomeSignalSchema = zod_1.z.object({
|
|
73
|
+
signal_type: zod_1.z.literal('simulation_outcome_signal'),
|
|
74
|
+
simulation_id: zod_1.z.string().uuid(),
|
|
75
|
+
/** The hypothesis being tested (if applicable) */
|
|
76
|
+
hypothesis_id: zod_1.z.string().uuid().optional(),
|
|
77
|
+
/** What scenario was simulated */
|
|
78
|
+
scenario: zod_1.z.object({
|
|
79
|
+
name: zod_1.z.string(),
|
|
80
|
+
description: zod_1.z.string(),
|
|
81
|
+
initial_conditions: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()),
|
|
82
|
+
parameters: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()),
|
|
83
|
+
}),
|
|
84
|
+
/** Simulation outcome classification */
|
|
85
|
+
outcome: zod_1.z.enum([
|
|
86
|
+
'hypothesis_supported',
|
|
87
|
+
'hypothesis_weakened',
|
|
88
|
+
'hypothesis_refuted',
|
|
89
|
+
'inconclusive',
|
|
90
|
+
'unexpected_result',
|
|
91
|
+
'simulation_error',
|
|
92
|
+
]),
|
|
93
|
+
/** Detailed results from the simulation */
|
|
94
|
+
results: zod_1.z.object({
|
|
95
|
+
primary_finding: zod_1.z.string(),
|
|
96
|
+
secondary_findings: zod_1.z.array(zod_1.z.string()),
|
|
97
|
+
metrics: zod_1.z.record(zod_1.z.string(), zod_1.z.number()).optional(),
|
|
98
|
+
artifacts: zod_1.z.array(zod_1.z.object({
|
|
99
|
+
artifact_id: zod_1.z.string(),
|
|
100
|
+
type: zod_1.z.string(),
|
|
101
|
+
description: zod_1.z.string(),
|
|
102
|
+
})).optional(),
|
|
103
|
+
}),
|
|
104
|
+
/** Confidence in the simulation outcome */
|
|
105
|
+
outcome_confidence: zod_1.z.number().min(0).max(1),
|
|
106
|
+
/** Resource usage during simulation */
|
|
107
|
+
resource_usage: zod_1.z.object({
|
|
108
|
+
tokens_used: zod_1.z.number().int().min(0),
|
|
109
|
+
latency_ms: zod_1.z.number().min(0),
|
|
110
|
+
within_budget: zod_1.z.boolean(),
|
|
111
|
+
}),
|
|
112
|
+
/** Recommendations for further exploration (NOT actions) */
|
|
113
|
+
exploration_recommendations: zod_1.z.array(zod_1.z.object({
|
|
114
|
+
recommendation_id: zod_1.z.string(),
|
|
115
|
+
type: zod_1.z.enum(['additional_simulation', 'hypothesis_refinement', 'data_collection', 'domain_expansion']),
|
|
116
|
+
description: zod_1.z.string(),
|
|
117
|
+
priority: zod_1.z.number().min(1).max(5),
|
|
118
|
+
})),
|
|
119
|
+
/** Simulation completed timestamp */
|
|
120
|
+
completed_at: zod_1.z.string().datetime(),
|
|
121
|
+
});
|
|
122
|
+
/**
|
|
123
|
+
* Confidence Delta Signal Schema
|
|
124
|
+
*
|
|
125
|
+
* Emitted when confidence in a hypothesis changes.
|
|
126
|
+
* Tracks reasoning progression - NEVER triggers final decisions.
|
|
127
|
+
*/
|
|
128
|
+
exports.ConfidenceDeltaSignalSchema = zod_1.z.object({
|
|
129
|
+
signal_type: zod_1.z.literal('confidence_delta_signal'),
|
|
130
|
+
delta_id: zod_1.z.string().uuid(),
|
|
131
|
+
/** The hypothesis whose confidence changed */
|
|
132
|
+
hypothesis_id: zod_1.z.string().uuid(),
|
|
133
|
+
/** Simulation that caused the change (if applicable) */
|
|
134
|
+
simulation_id: zod_1.z.string().uuid().optional(),
|
|
135
|
+
/** Previous confidence value */
|
|
136
|
+
previous_confidence: zod_1.z.number().min(0).max(1),
|
|
137
|
+
/** New confidence value */
|
|
138
|
+
new_confidence: zod_1.z.number().min(0).max(1),
|
|
139
|
+
/** The actual delta (can be positive or negative) */
|
|
140
|
+
delta: zod_1.z.number().min(-1).max(1),
|
|
141
|
+
/** Reason for the confidence change */
|
|
142
|
+
reason: zod_1.z.object({
|
|
143
|
+
category: zod_1.z.enum([
|
|
144
|
+
'new_evidence',
|
|
145
|
+
'contradicting_evidence',
|
|
146
|
+
'simulation_result',
|
|
147
|
+
'reasoning_refinement',
|
|
148
|
+
'assumption_invalidated',
|
|
149
|
+
'scope_change',
|
|
150
|
+
'uncertainty_quantification',
|
|
151
|
+
]),
|
|
152
|
+
description: zod_1.z.string(),
|
|
153
|
+
contributing_factors: zod_1.z.array(zod_1.z.object({
|
|
154
|
+
factor: zod_1.z.string(),
|
|
155
|
+
impact: zod_1.z.number().min(-1).max(1),
|
|
156
|
+
})),
|
|
157
|
+
}),
|
|
158
|
+
/** Whether confidence is still within actionable thresholds */
|
|
159
|
+
thresholds: zod_1.z.object({
|
|
160
|
+
/** Confidence required for recommendation */
|
|
161
|
+
recommendation_threshold: zod_1.z.number().min(0).max(1),
|
|
162
|
+
/** Current distance from threshold */
|
|
163
|
+
distance_from_threshold: zod_1.z.number(),
|
|
164
|
+
/** Trend direction over recent deltas */
|
|
165
|
+
trend: zod_1.z.enum(['increasing', 'decreasing', 'stable', 'oscillating']),
|
|
166
|
+
}),
|
|
167
|
+
/** Timestamp of confidence change */
|
|
168
|
+
changed_at: zod_1.z.string().datetime(),
|
|
169
|
+
});
|
|
170
|
+
/**
|
|
171
|
+
* Intelligence Layer Input Schema
|
|
172
|
+
*
|
|
173
|
+
* Input for the intelligence layer agent to perform reasoning,
|
|
174
|
+
* simulation, and exploration tasks.
|
|
175
|
+
*/
|
|
176
|
+
exports.IntelligenceLayerInputSchema = zod_1.z.object({
|
|
177
|
+
/** Execution mode */
|
|
178
|
+
mode: zod_1.z.enum(['reason', 'simulate', 'explore']),
|
|
179
|
+
/** The objective or question to investigate */
|
|
180
|
+
objective: zod_1.z.object({
|
|
181
|
+
statement: zod_1.z.string().min(1),
|
|
182
|
+
domain: zod_1.z.string(),
|
|
183
|
+
constraints: zod_1.z.array(zod_1.z.string()),
|
|
184
|
+
context: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional(),
|
|
185
|
+
}),
|
|
186
|
+
/** Previous hypotheses to build upon (if any) */
|
|
187
|
+
prior_hypotheses: zod_1.z.array(exports.HypothesisSignalSchema).optional(),
|
|
188
|
+
/** Previous simulation outcomes (if any) */
|
|
189
|
+
prior_simulations: zod_1.z.array(exports.SimulationOutcomeSignalSchema).optional(),
|
|
190
|
+
/** Confidence history for tracking deltas */
|
|
191
|
+
confidence_history: zod_1.z.array(exports.ConfidenceDeltaSignalSchema).optional(),
|
|
192
|
+
/** Performance constraints */
|
|
193
|
+
performance_limits: zod_1.z.object({
|
|
194
|
+
max_tokens: zod_1.z.number().int().max(exports.PHASE7_PERFORMANCE_BUDGETS.MAX_TOKENS).default(exports.PHASE7_PERFORMANCE_BUDGETS.MAX_TOKENS),
|
|
195
|
+
max_latency_ms: zod_1.z.number().max(exports.PHASE7_PERFORMANCE_BUDGETS.MAX_LATENCY_MS).default(exports.PHASE7_PERFORMANCE_BUDGETS.MAX_LATENCY_MS),
|
|
196
|
+
}).optional(),
|
|
197
|
+
/** Optional correlation ID for multi-step reasoning chains */
|
|
198
|
+
reasoning_chain_id: zod_1.z.string().uuid().optional(),
|
|
199
|
+
});
|
|
200
|
+
/**
|
|
201
|
+
* Intelligence Layer Output Schema
|
|
202
|
+
*
|
|
203
|
+
* Output containing all signals emitted during intelligence operations.
|
|
204
|
+
* Contains signals ONLY - no final decisions or actions.
|
|
205
|
+
*/
|
|
206
|
+
exports.IntelligenceLayerOutputSchema = zod_1.z.object({
|
|
207
|
+
/** Unique output identifier */
|
|
208
|
+
output_id: zod_1.z.string().uuid(),
|
|
209
|
+
/** Mode that was executed */
|
|
210
|
+
mode_executed: zod_1.z.enum(['reason', 'simulate', 'explore']),
|
|
211
|
+
/** All hypothesis signals generated */
|
|
212
|
+
hypothesis_signals: zod_1.z.array(exports.HypothesisSignalSchema),
|
|
213
|
+
/** All simulation outcome signals generated */
|
|
214
|
+
simulation_outcome_signals: zod_1.z.array(exports.SimulationOutcomeSignalSchema),
|
|
215
|
+
/** All confidence delta signals generated */
|
|
216
|
+
confidence_delta_signals: zod_1.z.array(exports.ConfidenceDeltaSignalSchema),
|
|
217
|
+
/** Summary of intelligence operations */
|
|
218
|
+
summary: zod_1.z.object({
|
|
219
|
+
hypotheses_formed: zod_1.z.number().int().min(0),
|
|
220
|
+
simulations_run: zod_1.z.number().int().min(0),
|
|
221
|
+
confidence_updates: zod_1.z.number().int().min(0),
|
|
222
|
+
highest_confidence_hypothesis: zod_1.z.string().uuid().optional(),
|
|
223
|
+
highest_confidence_value: zod_1.z.number().min(0).max(1).optional(),
|
|
224
|
+
/** Explicit statement that no final decisions were made */
|
|
225
|
+
final_decision_status: zod_1.z.literal('no_final_decision'),
|
|
226
|
+
}),
|
|
227
|
+
/** Resource consumption tracking */
|
|
228
|
+
resource_consumption: zod_1.z.object({
|
|
229
|
+
total_tokens_used: zod_1.z.number().int().min(0),
|
|
230
|
+
total_latency_ms: zod_1.z.number().min(0),
|
|
231
|
+
budget_tokens_remaining: zod_1.z.number().int(),
|
|
232
|
+
budget_latency_remaining_ms: zod_1.z.number(),
|
|
233
|
+
within_budget: zod_1.z.boolean(),
|
|
234
|
+
}),
|
|
235
|
+
/** Suggestions for human decision-makers (NOT agent decisions) */
|
|
236
|
+
human_decision_suggestions: zod_1.z.array(zod_1.z.object({
|
|
237
|
+
suggestion_id: zod_1.z.string(),
|
|
238
|
+
hypothesis_id: zod_1.z.string().uuid(),
|
|
239
|
+
confidence: zod_1.z.number().min(0).max(1),
|
|
240
|
+
rationale: zod_1.z.string(),
|
|
241
|
+
caveats: zod_1.z.array(zod_1.z.string()),
|
|
242
|
+
})),
|
|
243
|
+
/** Completion timestamp */
|
|
244
|
+
completed_at: zod_1.z.string().datetime(),
|
|
245
|
+
});
|
|
246
|
+
//# sourceMappingURL=intelligence-schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intelligence-schemas.js","sourceRoot":"","sources":["../../../../../services/agents/contracts/intelligence-schemas.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,6BAAwB;AAExB;;GAEG;AACU,QAAA,0BAA0B,GAAG;IACxC,UAAU,EAAE,IAAI;IAChB,cAAc,EAAE,IAAI;CACZ,CAAC;AAEX;;;;;GAKG;AACU,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,WAAW,EAAE,OAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC;IAC3C,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,+BAA+B;IAC/B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IACrC,4CAA4C;IAC5C,MAAM,EA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