@llm-dev-ops/agentics-cli 1.4.47 → 1.4.48
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/cli/index.js +43 -67
- package/dist/cli/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/bundled-agents/connector-hub-agents/package-lock.json +0 -11697
- package/dist/bundled-agents/connector-hub-agents/package.json +0 -75
- package/dist/bundled-agents/connector-hub-agents/tsconfig.build.json +0 -22
- package/dist/bundled-agents/connector-hub-agents/tsconfig.json +0 -57
- package/dist/bundled-agents/copilot-agents/functions/.gcloudignore +0 -17
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.d.ts +0 -14
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js +0 -35
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/cors.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.d.ts +0 -55
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js +0 -40
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/envelope.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.d.ts +0 -22
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js +0 -38
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/health.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.d.ts +0 -34
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js +0 -186
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.d.ts +0 -36
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js +0 -121
- package/dist/bundled-agents/copilot-agents/functions/dist/functions/src/router.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.d.ts +0 -157
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js +0 -948
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/config-validation-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.d.ts +0 -9
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js +0 -27
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/config-validation/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.d.ts +0 -23
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js +0 -50
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/agent-span-wrapper.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.d.ts +0 -214
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js +0 -91
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/base-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.d.ts +0 -1166
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js +0 -308
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/config-validation-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.d.ts +0 -59
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js +0 -62
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decision-event.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.d.ts +0 -400
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js +0 -113
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/decomposer-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.d.ts +0 -250
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js +0 -169
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/execution-graph.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.d.ts +0 -17
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js +0 -97
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.d.ts +0 -1674
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js +0 -246
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intelligence-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.d.ts +0 -1085
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js +0 -218
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/intent-classifier-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.d.ts +0 -949
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js +0 -253
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/meta-reasoner-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.d.ts +0 -657
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js +0 -205
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/objective-clarifier-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.d.ts +0 -285
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js +0 -106
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/pipeline-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.d.ts +0 -581
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js +0 -136
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/planner-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.d.ts +0 -791
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js +0 -225
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/contracts/reflection-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.d.ts +0 -120
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js +0 -535
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/decomposer-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.d.ts +0 -9
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js +0 -18
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/decomposer/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.d.ts +0 -4
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js +0 -9
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.d.ts +0 -123
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js +0 -609
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/intent-classifier/intent-classifier-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.d.ts +0 -10
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js +0 -25
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +0 -111
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js +0 -686
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/meta-reasoner-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.d.ts +0 -11
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js +0 -25
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/meta-reasoner/telemetry.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.d.ts +0 -6
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js +0 -15
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +0 -126
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js +0 -780
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/objective-clarifier-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.d.ts +0 -49
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js +0 -125
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/ruvector-persistence.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.d.ts +0 -73
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js +0 -192
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/objective-clarifier/telemetry.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.d.ts +0 -11
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js +0 -25
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.d.ts +0 -127
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js +0 -483
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/planner-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.d.ts +0 -49
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js +0 -125
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/ruvector-persistence.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.d.ts +0 -73
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js +0 -192
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/planner/telemetry.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.d.ts +0 -11
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js +0 -27
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.d.ts +0 -122
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js +0 -645
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/reflection-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.d.ts +0 -59
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js +0 -156
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/ruvector-persistence.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.d.ts +0 -88
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js +0 -246
- package/dist/bundled-agents/copilot-agents/functions/dist/services/agents/reflection/telemetry.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/index.js +0 -4
- package/dist/bundled-agents/copilot-agents/functions/jest.config.js +0 -29
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.d.ts +0 -14
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js +0 -35
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/cors.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.d.ts +0 -27
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js +0 -21
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/envelope.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.d.ts +0 -22
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js +0 -38
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/health.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.d.ts +0 -34
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js +0 -174
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.d.ts +0 -27
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js +0 -107
- package/dist/bundled-agents/copilot-agents/functions/lib/functions/src/router.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.d.ts +0 -157
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js +0 -941
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/config-validation-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.d.ts +0 -9
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js +0 -27
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/config-validation/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.d.ts +0 -23
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js +0 -50
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/agent-span-wrapper.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.d.ts +0 -185
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js +0 -86
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/base-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.d.ts +0 -1081
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js +0 -305
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/config-validation-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.d.ts +0 -59
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js +0 -62
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decision-event.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.d.ts +0 -315
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js +0 -110
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/decomposer-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.d.ts +0 -250
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js +0 -169
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/execution-graph.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.d.ts +0 -16
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js +0 -88
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.d.ts +0 -1674
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js +0 -246
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intelligence-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.d.ts +0 -1000
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js +0 -215
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/intent-classifier-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.d.ts +0 -864
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js +0 -250
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/meta-reasoner-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.d.ts +0 -572
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js +0 -202
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/objective-clarifier-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.d.ts +0 -496
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js +0 -133
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/planner-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.d.ts +0 -706
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js +0 -222
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/contracts/reflection-schemas.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.d.ts +0 -107
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js +0 -360
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/decomposer-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.d.ts +0 -9
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js +0 -18
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/decomposer/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.d.ts +0 -4
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js +0 -9
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.d.ts +0 -123
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js +0 -609
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/intent-classifier/intent-classifier-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.d.ts +0 -10
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js +0 -25
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +0 -111
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js +0 -686
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/meta-reasoner-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.d.ts +0 -11
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js +0 -25
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/meta-reasoner/telemetry.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.d.ts +0 -6
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js +0 -15
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +0 -126
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js +0 -780
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/objective-clarifier-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.d.ts +0 -49
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js +0 -125
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/ruvector-persistence.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.d.ts +0 -73
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js +0 -192
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/objective-clarifier/telemetry.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.d.ts +0 -11
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js +0 -25
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.d.ts +0 -119
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js +0 -421
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/planner-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.d.ts +0 -49
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js +0 -125
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/ruvector-persistence.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.d.ts +0 -73
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js +0 -192
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/planner/telemetry.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.d.ts +0 -11
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js +0 -27
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/index.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.d.ts +0 -122
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js +0 -645
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/reflection-agent.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.d.ts +0 -59
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js +0 -156
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/ruvector-persistence.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.d.ts +0 -88
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js +0 -246
- package/dist/bundled-agents/copilot-agents/functions/lib/services/agents/reflection/telemetry.js.map +0 -1
- package/dist/bundled-agents/copilot-agents/functions/package-lock.json +0 -5473
- package/dist/bundled-agents/copilot-agents/functions/package.json +0 -40
- package/dist/bundled-agents/copilot-agents/functions/src/claude.ts +0 -71
- package/dist/bundled-agents/copilot-agents/functions/src/cors.ts +0 -36
- package/dist/bundled-agents/copilot-agents/functions/src/envelope.ts +0 -77
- package/dist/bundled-agents/copilot-agents/functions/src/handler.test.ts +0 -340
- package/dist/bundled-agents/copilot-agents/functions/src/health.ts +0 -53
- package/dist/bundled-agents/copilot-agents/functions/src/index.ts +0 -201
- package/dist/bundled-agents/copilot-agents/functions/src/router.ts +0 -148
- package/dist/bundled-agents/copilot-agents/functions/tsconfig.json +0 -31
- package/dist/bundled-agents/copilot-agents/package-lock.json +0 -11825
- package/dist/bundled-agents/copilot-agents/package.json +0 -5
- package/dist/bundled-agents/governance-dashboard-agents/package-lock.json +0 -8282
- package/dist/bundled-agents/governance-dashboard-agents/package.json +0 -13
- package/dist/bundled-agents/orchestrator-agents/functions/contracts/index.js +0 -590
- package/dist/bundled-agents/orchestrator-agents/functions/index.js +0 -442
- package/dist/bundled-agents/orchestrator-agents/functions/test.js +0 -325
- package/dist/bundled-agents/orchestrator-agents/index.js +0 -6
- package/dist/bundled-agents/orchestrator-agents/package-lock.json +0 -13254
- package/dist/bundled-agents/orchestrator-agents/package.json +0 -20
- package/dist/bundled-agents/platform-agents/package-lock.json +0 -1723
- package/dist/bundled-agents/platform-agents/package.json +0 -22
- package/dist/bundled-agents/platform-agents/src/agents/decision-memo.ts +0 -463
- package/dist/bundled-agents/platform-agents/src/agents/decision.ts +0 -234
- package/dist/bundled-agents/platform-agents/src/agents/executive-summary.ts +0 -229
- package/dist/bundled-agents/platform-agents/src/agents/risk-score.ts +0 -327
- package/dist/bundled-agents/platform-agents/src/claude.ts +0 -71
- package/dist/bundled-agents/platform-agents/src/cors.ts +0 -24
- package/dist/bundled-agents/platform-agents/src/envelope.ts +0 -37
- package/dist/bundled-agents/platform-agents/src/health.ts +0 -20
- package/dist/bundled-agents/platform-agents/src/index.ts +0 -171
- package/dist/bundled-agents/platform-agents/src/router.ts +0 -38
- package/dist/bundled-agents/platform-agents/src/text-analysis.ts +0 -238
- package/dist/bundled-agents/platform-agents/tsconfig.json +0 -19
- package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts +0 -3
- package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js +0 -43
- package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts +0 -3
- package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js +0 -30
- package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts +0 -3
- package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js +0 -53
- package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts +0 -3
- package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js +0 -51
- package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts +0 -3
- package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js +0 -36
- package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/index.d.ts +0 -2
- package/dist/bundled-agents/sentinel-agents/lib/index.d.ts.map +0 -1
- package/dist/bundled-agents/sentinel-agents/lib/index.js +0 -70
- package/dist/bundled-agents/sentinel-agents/lib/index.js.map +0 -1
- package/dist/bundled-agents/sentinel-agents/package-lock.json +0 -12591
- package/dist/bundled-agents/sentinel-agents/package.json +0 -62
- package/dist/bundled-agents/sentinel-agents/src/agents/alert.ts +0 -46
- package/dist/bundled-agents/sentinel-agents/src/agents/anomaly.ts +0 -33
- package/dist/bundled-agents/sentinel-agents/src/agents/correlation.ts +0 -56
- package/dist/bundled-agents/sentinel-agents/src/agents/drift.ts +0 -54
- package/dist/bundled-agents/sentinel-agents/src/agents/rca.ts +0 -38
- package/dist/bundled-agents/sentinel-agents/src/claude.ts +0 -71
- package/dist/bundled-agents/sentinel-agents/src/index.ts +0 -77
- package/dist/bundled-agents/sentinel-agents/tsconfig.json +0 -20
|
@@ -1,791 +0,0 @@
|
|
|
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>;
|