@llm-dev-ops/agentics-cli 1.4.47 → 1.4.49
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/dist/pipeline/phase2/phases/ddd-generator.d.ts.map +1 -1
- package/dist/pipeline/phase2/phases/ddd-generator.js +59 -30
- package/dist/pipeline/phase2/phases/ddd-generator.js.map +1 -1
- package/dist/pipeline/phase3/phases/domain-codegen.d.ts.map +1 -1
- package/dist/pipeline/phase3/phases/domain-codegen.js +93 -2
- package/dist/pipeline/phase3/phases/domain-codegen.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,315 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Decomposer Agent Schemas
|
|
3
|
-
*
|
|
4
|
-
* Purpose: Decompose complex objectives into manageable sub-objectives
|
|
5
|
-
* Classification: DECOMPOSITION, STRUCTURAL_SYNTHESIS
|
|
6
|
-
* decision_type: objective_decomposition
|
|
7
|
-
*
|
|
8
|
-
* Scope:
|
|
9
|
-
* - Break complex objectives into sub-objectives
|
|
10
|
-
* - Identify sub-objective relationships
|
|
11
|
-
* - Assess decomposition completeness
|
|
12
|
-
*
|
|
13
|
-
* Must Never:
|
|
14
|
-
* - Execute sub-objectives
|
|
15
|
-
* - Assign agents
|
|
16
|
-
* - Allocate resources
|
|
17
|
-
* - Schedule execution
|
|
18
|
-
*/
|
|
19
|
-
import { z } from 'zod';
|
|
20
|
-
/**
|
|
21
|
-
* A single sub-objective produced by decomposition
|
|
22
|
-
*/
|
|
23
|
-
export declare const SubObjectiveSchema: z.ZodObject<{
|
|
24
|
-
/** Unique identifier for this sub-objective */
|
|
25
|
-
sub_objective_id: z.ZodString;
|
|
26
|
-
/** Human-readable title */
|
|
27
|
-
title: z.ZodString;
|
|
28
|
-
/** Detailed description of the sub-objective */
|
|
29
|
-
description: z.ZodString;
|
|
30
|
-
/** Parent sub-objective ID (null for top-level) */
|
|
31
|
-
parent_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
/** Depth level in the decomposition tree (0 = top-level) */
|
|
33
|
-
depth: z.ZodNumber;
|
|
34
|
-
/** Dependencies on other sub-objectives */
|
|
35
|
-
dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
36
|
-
depends_on: z.ZodString;
|
|
37
|
-
type: z.ZodEnum<["blocking", "data", "sequential"]>;
|
|
38
|
-
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
type: "blocking" | "data" | "sequential";
|
|
40
|
-
depends_on: string;
|
|
41
|
-
}, {
|
|
42
|
-
type: "blocking" | "data" | "sequential";
|
|
43
|
-
depends_on: string;
|
|
44
|
-
}>, "many">>;
|
|
45
|
-
/** Classification tags */
|
|
46
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
47
|
-
/** Estimated complexity */
|
|
48
|
-
complexity: z.ZodDefault<z.ZodEnum<["trivial", "simple", "moderate", "complex", "very_complex"]>>;
|
|
49
|
-
/** Whether this sub-objective can be further decomposed */
|
|
50
|
-
is_atomic: z.ZodDefault<z.ZodBoolean>;
|
|
51
|
-
/** Acceptance criteria for this sub-objective */
|
|
52
|
-
acceptance_criteria: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
53
|
-
}, "strip", z.ZodTypeAny, {
|
|
54
|
-
description: string;
|
|
55
|
-
dependencies: {
|
|
56
|
-
type: "blocking" | "data" | "sequential";
|
|
57
|
-
depends_on: string;
|
|
58
|
-
}[];
|
|
59
|
-
tags: string[];
|
|
60
|
-
title: string;
|
|
61
|
-
complexity: "simple" | "moderate" | "complex" | "very_complex" | "trivial";
|
|
62
|
-
sub_objective_id: string;
|
|
63
|
-
parent_id: string | null;
|
|
64
|
-
depth: number;
|
|
65
|
-
is_atomic: boolean;
|
|
66
|
-
acceptance_criteria: string[];
|
|
67
|
-
}, {
|
|
68
|
-
description: string;
|
|
69
|
-
title: string;
|
|
70
|
-
sub_objective_id: string;
|
|
71
|
-
depth: number;
|
|
72
|
-
dependencies?: {
|
|
73
|
-
type: "blocking" | "data" | "sequential";
|
|
74
|
-
depends_on: string;
|
|
75
|
-
}[] | undefined;
|
|
76
|
-
tags?: string[] | undefined;
|
|
77
|
-
complexity?: "simple" | "moderate" | "complex" | "very_complex" | "trivial" | undefined;
|
|
78
|
-
parent_id?: string | null | undefined;
|
|
79
|
-
is_atomic?: boolean | undefined;
|
|
80
|
-
acceptance_criteria?: string[] | undefined;
|
|
81
|
-
}>;
|
|
82
|
-
export type SubObjective = z.infer<typeof SubObjectiveSchema>;
|
|
83
|
-
/**
|
|
84
|
-
* Decomposer Agent Input Schema
|
|
85
|
-
*/
|
|
86
|
-
export declare const DecomposerInputSchema: z.ZodObject<{
|
|
87
|
-
/** The complex objective to decompose */
|
|
88
|
-
objective: z.ZodString;
|
|
89
|
-
/** Optional context to aid decomposition */
|
|
90
|
-
context: z.ZodOptional<z.ZodObject<{
|
|
91
|
-
/** Domain/industry context */
|
|
92
|
-
domain: z.ZodOptional<z.ZodString>;
|
|
93
|
-
/** Existing components or systems */
|
|
94
|
-
existing_components: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
95
|
-
/** Known constraints */
|
|
96
|
-
constraints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
97
|
-
/** Maximum decomposition depth */
|
|
98
|
-
max_depth: z.ZodOptional<z.ZodNumber>;
|
|
99
|
-
}, "strip", z.ZodTypeAny, {
|
|
100
|
-
constraints?: string[] | undefined;
|
|
101
|
-
domain?: string | undefined;
|
|
102
|
-
existing_components?: string[] | undefined;
|
|
103
|
-
max_depth?: number | undefined;
|
|
104
|
-
}, {
|
|
105
|
-
constraints?: string[] | undefined;
|
|
106
|
-
domain?: string | undefined;
|
|
107
|
-
existing_components?: string[] | undefined;
|
|
108
|
-
max_depth?: number | undefined;
|
|
109
|
-
}>>;
|
|
110
|
-
/** Configuration for decomposition */
|
|
111
|
-
config: z.ZodOptional<z.ZodObject<{
|
|
112
|
-
/** Target granularity for leaf sub-objectives */
|
|
113
|
-
target_granularity: z.ZodOptional<z.ZodEnum<["coarse", "medium", "fine"]>>;
|
|
114
|
-
/** Maximum number of sub-objectives to produce */
|
|
115
|
-
max_sub_objectives: z.ZodOptional<z.ZodNumber>;
|
|
116
|
-
}, "strip", z.ZodTypeAny, {
|
|
117
|
-
target_granularity?: "medium" | "coarse" | "fine" | undefined;
|
|
118
|
-
max_sub_objectives?: number | undefined;
|
|
119
|
-
}, {
|
|
120
|
-
target_granularity?: "medium" | "coarse" | "fine" | undefined;
|
|
121
|
-
max_sub_objectives?: number | undefined;
|
|
122
|
-
}>>;
|
|
123
|
-
/** Request ID for tracing */
|
|
124
|
-
request_id: z.ZodOptional<z.ZodString>;
|
|
125
|
-
}, "strip", z.ZodTypeAny, {
|
|
126
|
-
objective: string;
|
|
127
|
-
context?: {
|
|
128
|
-
constraints?: string[] | undefined;
|
|
129
|
-
domain?: string | undefined;
|
|
130
|
-
existing_components?: string[] | undefined;
|
|
131
|
-
max_depth?: number | undefined;
|
|
132
|
-
} | undefined;
|
|
133
|
-
request_id?: string | undefined;
|
|
134
|
-
config?: {
|
|
135
|
-
target_granularity?: "medium" | "coarse" | "fine" | undefined;
|
|
136
|
-
max_sub_objectives?: number | undefined;
|
|
137
|
-
} | undefined;
|
|
138
|
-
}, {
|
|
139
|
-
objective: string;
|
|
140
|
-
context?: {
|
|
141
|
-
constraints?: string[] | undefined;
|
|
142
|
-
domain?: string | undefined;
|
|
143
|
-
existing_components?: string[] | undefined;
|
|
144
|
-
max_depth?: number | undefined;
|
|
145
|
-
} | undefined;
|
|
146
|
-
request_id?: string | undefined;
|
|
147
|
-
config?: {
|
|
148
|
-
target_granularity?: "medium" | "coarse" | "fine" | undefined;
|
|
149
|
-
max_sub_objectives?: number | undefined;
|
|
150
|
-
} | undefined;
|
|
151
|
-
}>;
|
|
152
|
-
export type DecomposerInput = z.infer<typeof DecomposerInputSchema>;
|
|
153
|
-
/**
|
|
154
|
-
* Decomposer Agent Output Schema
|
|
155
|
-
*/
|
|
156
|
-
export declare const DecomposerOutputSchema: z.ZodObject<{
|
|
157
|
-
/** Unique decomposition identifier */
|
|
158
|
-
decomposition_id: z.ZodString;
|
|
159
|
-
/** Original objective (echoed for verification) */
|
|
160
|
-
original_objective: z.ZodString;
|
|
161
|
-
/** List of sub-objectives produced */
|
|
162
|
-
sub_objectives: z.ZodArray<z.ZodObject<{
|
|
163
|
-
/** Unique identifier for this sub-objective */
|
|
164
|
-
sub_objective_id: z.ZodString;
|
|
165
|
-
/** Human-readable title */
|
|
166
|
-
title: z.ZodString;
|
|
167
|
-
/** Detailed description of the sub-objective */
|
|
168
|
-
description: z.ZodString;
|
|
169
|
-
/** Parent sub-objective ID (null for top-level) */
|
|
170
|
-
parent_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
171
|
-
/** Depth level in the decomposition tree (0 = top-level) */
|
|
172
|
-
depth: z.ZodNumber;
|
|
173
|
-
/** Dependencies on other sub-objectives */
|
|
174
|
-
dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
175
|
-
depends_on: z.ZodString;
|
|
176
|
-
type: z.ZodEnum<["blocking", "data", "sequential"]>;
|
|
177
|
-
}, "strip", z.ZodTypeAny, {
|
|
178
|
-
type: "blocking" | "data" | "sequential";
|
|
179
|
-
depends_on: string;
|
|
180
|
-
}, {
|
|
181
|
-
type: "blocking" | "data" | "sequential";
|
|
182
|
-
depends_on: string;
|
|
183
|
-
}>, "many">>;
|
|
184
|
-
/** Classification tags */
|
|
185
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
186
|
-
/** Estimated complexity */
|
|
187
|
-
complexity: z.ZodDefault<z.ZodEnum<["trivial", "simple", "moderate", "complex", "very_complex"]>>;
|
|
188
|
-
/** Whether this sub-objective can be further decomposed */
|
|
189
|
-
is_atomic: z.ZodDefault<z.ZodBoolean>;
|
|
190
|
-
/** Acceptance criteria for this sub-objective */
|
|
191
|
-
acceptance_criteria: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
192
|
-
}, "strip", z.ZodTypeAny, {
|
|
193
|
-
description: string;
|
|
194
|
-
dependencies: {
|
|
195
|
-
type: "blocking" | "data" | "sequential";
|
|
196
|
-
depends_on: string;
|
|
197
|
-
}[];
|
|
198
|
-
tags: string[];
|
|
199
|
-
title: string;
|
|
200
|
-
complexity: "simple" | "moderate" | "complex" | "very_complex" | "trivial";
|
|
201
|
-
sub_objective_id: string;
|
|
202
|
-
parent_id: string | null;
|
|
203
|
-
depth: number;
|
|
204
|
-
is_atomic: boolean;
|
|
205
|
-
acceptance_criteria: string[];
|
|
206
|
-
}, {
|
|
207
|
-
description: string;
|
|
208
|
-
title: string;
|
|
209
|
-
sub_objective_id: string;
|
|
210
|
-
depth: number;
|
|
211
|
-
dependencies?: {
|
|
212
|
-
type: "blocking" | "data" | "sequential";
|
|
213
|
-
depends_on: string;
|
|
214
|
-
}[] | undefined;
|
|
215
|
-
tags?: string[] | undefined;
|
|
216
|
-
complexity?: "simple" | "moderate" | "complex" | "very_complex" | "trivial" | undefined;
|
|
217
|
-
parent_id?: string | null | undefined;
|
|
218
|
-
is_atomic?: boolean | undefined;
|
|
219
|
-
acceptance_criteria?: string[] | undefined;
|
|
220
|
-
}>, "many">;
|
|
221
|
-
/** Tree structure as adjacency list (parent -> children) */
|
|
222
|
-
tree_structure: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
|
|
223
|
-
/** Dependency graph as adjacency list */
|
|
224
|
-
dependency_graph: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
|
|
225
|
-
/** Analysis metadata */
|
|
226
|
-
analysis: z.ZodObject<{
|
|
227
|
-
/** Total number of sub-objectives */
|
|
228
|
-
total_sub_objectives: z.ZodNumber;
|
|
229
|
-
/** Maximum decomposition depth reached */
|
|
230
|
-
max_depth_reached: z.ZodNumber;
|
|
231
|
-
/** Number of atomic (leaf) sub-objectives */
|
|
232
|
-
atomic_count: z.ZodNumber;
|
|
233
|
-
/** Coverage assessment */
|
|
234
|
-
coverage_score: z.ZodNumber;
|
|
235
|
-
/** Complexity distribution */
|
|
236
|
-
complexity_distribution: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
237
|
-
/** Assumptions made during decomposition */
|
|
238
|
-
assumptions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
239
|
-
}, "strip", z.ZodTypeAny, {
|
|
240
|
-
assumptions: string[];
|
|
241
|
-
total_sub_objectives: number;
|
|
242
|
-
max_depth_reached: number;
|
|
243
|
-
atomic_count: number;
|
|
244
|
-
coverage_score: number;
|
|
245
|
-
complexity_distribution: Record<string, number>;
|
|
246
|
-
}, {
|
|
247
|
-
total_sub_objectives: number;
|
|
248
|
-
max_depth_reached: number;
|
|
249
|
-
atomic_count: number;
|
|
250
|
-
coverage_score: number;
|
|
251
|
-
complexity_distribution: Record<string, number>;
|
|
252
|
-
assumptions?: string[] | undefined;
|
|
253
|
-
}>;
|
|
254
|
-
/** Decomposition version */
|
|
255
|
-
version: z.ZodDefault<z.ZodString>;
|
|
256
|
-
}, "strip", z.ZodTypeAny, {
|
|
257
|
-
version: string;
|
|
258
|
-
dependency_graph: Record<string, string[]>;
|
|
259
|
-
analysis: {
|
|
260
|
-
assumptions: string[];
|
|
261
|
-
total_sub_objectives: number;
|
|
262
|
-
max_depth_reached: number;
|
|
263
|
-
atomic_count: number;
|
|
264
|
-
coverage_score: number;
|
|
265
|
-
complexity_distribution: Record<string, number>;
|
|
266
|
-
};
|
|
267
|
-
original_objective: string;
|
|
268
|
-
decomposition_id: string;
|
|
269
|
-
sub_objectives: {
|
|
270
|
-
description: string;
|
|
271
|
-
dependencies: {
|
|
272
|
-
type: "blocking" | "data" | "sequential";
|
|
273
|
-
depends_on: string;
|
|
274
|
-
}[];
|
|
275
|
-
tags: string[];
|
|
276
|
-
title: string;
|
|
277
|
-
complexity: "simple" | "moderate" | "complex" | "very_complex" | "trivial";
|
|
278
|
-
sub_objective_id: string;
|
|
279
|
-
parent_id: string | null;
|
|
280
|
-
depth: number;
|
|
281
|
-
is_atomic: boolean;
|
|
282
|
-
acceptance_criteria: string[];
|
|
283
|
-
}[];
|
|
284
|
-
tree_structure: Record<string, string[]>;
|
|
285
|
-
}, {
|
|
286
|
-
dependency_graph: Record<string, string[]>;
|
|
287
|
-
analysis: {
|
|
288
|
-
total_sub_objectives: number;
|
|
289
|
-
max_depth_reached: number;
|
|
290
|
-
atomic_count: number;
|
|
291
|
-
coverage_score: number;
|
|
292
|
-
complexity_distribution: Record<string, number>;
|
|
293
|
-
assumptions?: string[] | undefined;
|
|
294
|
-
};
|
|
295
|
-
original_objective: string;
|
|
296
|
-
decomposition_id: string;
|
|
297
|
-
sub_objectives: {
|
|
298
|
-
description: string;
|
|
299
|
-
title: string;
|
|
300
|
-
sub_objective_id: string;
|
|
301
|
-
depth: number;
|
|
302
|
-
dependencies?: {
|
|
303
|
-
type: "blocking" | "data" | "sequential";
|
|
304
|
-
depends_on: string;
|
|
305
|
-
}[] | undefined;
|
|
306
|
-
tags?: string[] | undefined;
|
|
307
|
-
complexity?: "simple" | "moderate" | "complex" | "very_complex" | "trivial" | undefined;
|
|
308
|
-
parent_id?: string | null | undefined;
|
|
309
|
-
is_atomic?: boolean | undefined;
|
|
310
|
-
acceptance_criteria?: string[] | undefined;
|
|
311
|
-
}[];
|
|
312
|
-
tree_structure: Record<string, string[]>;
|
|
313
|
-
version?: string | undefined;
|
|
314
|
-
}>;
|
|
315
|
-
export type DecomposerOutput = z.infer<typeof DecomposerOutputSchema>;
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Decomposer Agent Schemas
|
|
4
|
-
*
|
|
5
|
-
* Purpose: Decompose complex objectives into manageable sub-objectives
|
|
6
|
-
* Classification: DECOMPOSITION, STRUCTURAL_SYNTHESIS
|
|
7
|
-
* decision_type: objective_decomposition
|
|
8
|
-
*
|
|
9
|
-
* Scope:
|
|
10
|
-
* - Break complex objectives into sub-objectives
|
|
11
|
-
* - Identify sub-objective relationships
|
|
12
|
-
* - Assess decomposition completeness
|
|
13
|
-
*
|
|
14
|
-
* Must Never:
|
|
15
|
-
* - Execute sub-objectives
|
|
16
|
-
* - Assign agents
|
|
17
|
-
* - Allocate resources
|
|
18
|
-
* - Schedule execution
|
|
19
|
-
*/
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
exports.DecomposerOutputSchema = exports.DecomposerInputSchema = exports.SubObjectiveSchema = void 0;
|
|
22
|
-
const zod_1 = require("zod");
|
|
23
|
-
/**
|
|
24
|
-
* A single sub-objective produced by decomposition
|
|
25
|
-
*/
|
|
26
|
-
exports.SubObjectiveSchema = zod_1.z.object({
|
|
27
|
-
/** Unique identifier for this sub-objective */
|
|
28
|
-
sub_objective_id: zod_1.z.string().min(1),
|
|
29
|
-
/** Human-readable title */
|
|
30
|
-
title: zod_1.z.string().min(1).max(200),
|
|
31
|
-
/** Detailed description of the sub-objective */
|
|
32
|
-
description: zod_1.z.string().min(1),
|
|
33
|
-
/** Parent sub-objective ID (null for top-level) */
|
|
34
|
-
parent_id: zod_1.z.string().nullable().default(null),
|
|
35
|
-
/** Depth level in the decomposition tree (0 = top-level) */
|
|
36
|
-
depth: zod_1.z.number().int().nonnegative(),
|
|
37
|
-
/** Dependencies on other sub-objectives */
|
|
38
|
-
dependencies: zod_1.z.array(zod_1.z.object({
|
|
39
|
-
depends_on: zod_1.z.string(),
|
|
40
|
-
type: zod_1.z.enum(['blocking', 'data', 'sequential']),
|
|
41
|
-
})).default([]),
|
|
42
|
-
/** Classification tags */
|
|
43
|
-
tags: zod_1.z.array(zod_1.z.string()).default([]),
|
|
44
|
-
/** Estimated complexity */
|
|
45
|
-
complexity: zod_1.z.enum(['trivial', 'simple', 'moderate', 'complex', 'very_complex']).default('moderate'),
|
|
46
|
-
/** Whether this sub-objective can be further decomposed */
|
|
47
|
-
is_atomic: zod_1.z.boolean().default(false),
|
|
48
|
-
/** Acceptance criteria for this sub-objective */
|
|
49
|
-
acceptance_criteria: zod_1.z.array(zod_1.z.string()).default([]),
|
|
50
|
-
});
|
|
51
|
-
/**
|
|
52
|
-
* Decomposer Agent Input Schema
|
|
53
|
-
*/
|
|
54
|
-
exports.DecomposerInputSchema = zod_1.z.object({
|
|
55
|
-
/** The complex objective to decompose */
|
|
56
|
-
objective: zod_1.z.string().min(1).max(50000),
|
|
57
|
-
/** Optional context to aid decomposition */
|
|
58
|
-
context: zod_1.z.object({
|
|
59
|
-
/** Domain/industry context */
|
|
60
|
-
domain: zod_1.z.string().optional(),
|
|
61
|
-
/** Existing components or systems */
|
|
62
|
-
existing_components: zod_1.z.array(zod_1.z.string()).optional(),
|
|
63
|
-
/** Known constraints */
|
|
64
|
-
constraints: zod_1.z.array(zod_1.z.string()).optional(),
|
|
65
|
-
/** Maximum decomposition depth */
|
|
66
|
-
max_depth: zod_1.z.number().int().positive().max(10).optional(),
|
|
67
|
-
}).optional(),
|
|
68
|
-
/** Configuration for decomposition */
|
|
69
|
-
config: zod_1.z.object({
|
|
70
|
-
/** Target granularity for leaf sub-objectives */
|
|
71
|
-
target_granularity: zod_1.z.enum(['coarse', 'medium', 'fine']).optional(),
|
|
72
|
-
/** Maximum number of sub-objectives to produce */
|
|
73
|
-
max_sub_objectives: zod_1.z.number().int().positive().max(50).optional(),
|
|
74
|
-
}).optional(),
|
|
75
|
-
/** Request ID for tracing */
|
|
76
|
-
request_id: zod_1.z.string().uuid().optional(),
|
|
77
|
-
});
|
|
78
|
-
/**
|
|
79
|
-
* Decomposer Agent Output Schema
|
|
80
|
-
*/
|
|
81
|
-
exports.DecomposerOutputSchema = zod_1.z.object({
|
|
82
|
-
/** Unique decomposition identifier */
|
|
83
|
-
decomposition_id: zod_1.z.string().uuid(),
|
|
84
|
-
/** Original objective (echoed for verification) */
|
|
85
|
-
original_objective: zod_1.z.string(),
|
|
86
|
-
/** List of sub-objectives produced */
|
|
87
|
-
sub_objectives: zod_1.z.array(exports.SubObjectiveSchema).min(1),
|
|
88
|
-
/** Tree structure as adjacency list (parent -> children) */
|
|
89
|
-
tree_structure: zod_1.z.record(zod_1.z.array(zod_1.z.string())),
|
|
90
|
-
/** Dependency graph as adjacency list */
|
|
91
|
-
dependency_graph: zod_1.z.record(zod_1.z.array(zod_1.z.string())),
|
|
92
|
-
/** Analysis metadata */
|
|
93
|
-
analysis: zod_1.z.object({
|
|
94
|
-
/** Total number of sub-objectives */
|
|
95
|
-
total_sub_objectives: zod_1.z.number().int().nonnegative(),
|
|
96
|
-
/** Maximum decomposition depth reached */
|
|
97
|
-
max_depth_reached: zod_1.z.number().int().nonnegative(),
|
|
98
|
-
/** Number of atomic (leaf) sub-objectives */
|
|
99
|
-
atomic_count: zod_1.z.number().int().nonnegative(),
|
|
100
|
-
/** Coverage assessment */
|
|
101
|
-
coverage_score: zod_1.z.number().min(0).max(1),
|
|
102
|
-
/** Complexity distribution */
|
|
103
|
-
complexity_distribution: zod_1.z.record(zod_1.z.number().int().nonnegative()),
|
|
104
|
-
/** Assumptions made during decomposition */
|
|
105
|
-
assumptions: zod_1.z.array(zod_1.z.string()).default([]),
|
|
106
|
-
}),
|
|
107
|
-
/** Decomposition version */
|
|
108
|
-
version: zod_1.z.string().default('1.0.0'),
|
|
109
|
-
});
|
|
110
|
-
//# sourceMappingURL=decomposer-schemas.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"decomposer-schemas.js","sourceRoot":"","sources":["../../../../../services/agents/contracts/decomposer-schemas.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Agentics Execution Graph - Foundational Execution Unit instrumentation.
|
|
3
|
-
*
|
|
4
|
-
* Defines the hierarchical execution span model that integrates this
|
|
5
|
-
* repository into the Agentics ExecutionGraph system.
|
|
6
|
-
*
|
|
7
|
-
* Invariant: Core → Repo (copilot-agent) → Agent (one or more)
|
|
8
|
-
*/
|
|
9
|
-
import { z } from 'zod';
|
|
10
|
-
/** The name of this repository in the Agentics execution graph. */
|
|
11
|
-
export declare const REPO_NAME = "copilot-agent";
|
|
12
|
-
export declare const SpanTypeSchema: z.ZodEnum<["core", "repo", "agent"]>;
|
|
13
|
-
export type SpanType = z.infer<typeof SpanTypeSchema>;
|
|
14
|
-
export declare const ExecutionStatusSchema: z.ZodEnum<["running", "completed", "failed"]>;
|
|
15
|
-
export type ExecutionStatus = z.infer<typeof ExecutionStatusSchema>;
|
|
16
|
-
export declare const ArtifactSchema: z.ZodObject<{
|
|
17
|
-
name: z.ZodString;
|
|
18
|
-
artifact_type: z.ZodString;
|
|
19
|
-
reference: z.ZodString;
|
|
20
|
-
data: z.ZodUnknown;
|
|
21
|
-
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
name: string;
|
|
23
|
-
artifact_type: string;
|
|
24
|
-
reference: string;
|
|
25
|
-
data?: unknown;
|
|
26
|
-
}, {
|
|
27
|
-
name: string;
|
|
28
|
-
artifact_type: string;
|
|
29
|
-
reference: string;
|
|
30
|
-
data?: unknown;
|
|
31
|
-
}>;
|
|
32
|
-
export type Artifact = z.infer<typeof ArtifactSchema>;
|
|
33
|
-
export declare const ExecutionSpanSchema: z.ZodObject<{
|
|
34
|
-
span_id: z.ZodString;
|
|
35
|
-
parent_span_id: z.ZodString;
|
|
36
|
-
trace_id: z.ZodString;
|
|
37
|
-
span_type: z.ZodEnum<["core", "repo", "agent"]>;
|
|
38
|
-
repo_name: z.ZodOptional<z.ZodString>;
|
|
39
|
-
agent_name: z.ZodOptional<z.ZodString>;
|
|
40
|
-
status: z.ZodEnum<["running", "completed", "failed"]>;
|
|
41
|
-
start_time: z.ZodString;
|
|
42
|
-
end_time: z.ZodOptional<z.ZodString>;
|
|
43
|
-
failure_reason: z.ZodOptional<z.ZodString>;
|
|
44
|
-
artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
45
|
-
name: z.ZodString;
|
|
46
|
-
artifact_type: z.ZodString;
|
|
47
|
-
reference: z.ZodString;
|
|
48
|
-
data: z.ZodUnknown;
|
|
49
|
-
}, "strip", z.ZodTypeAny, {
|
|
50
|
-
name: string;
|
|
51
|
-
artifact_type: string;
|
|
52
|
-
reference: string;
|
|
53
|
-
data?: unknown;
|
|
54
|
-
}, {
|
|
55
|
-
name: string;
|
|
56
|
-
artifact_type: string;
|
|
57
|
-
reference: string;
|
|
58
|
-
data?: unknown;
|
|
59
|
-
}>, "many">>;
|
|
60
|
-
attributes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
61
|
-
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
status: "completed" | "running" | "failed";
|
|
63
|
-
artifacts: {
|
|
64
|
-
name: string;
|
|
65
|
-
artifact_type: string;
|
|
66
|
-
reference: string;
|
|
67
|
-
data?: unknown;
|
|
68
|
-
}[];
|
|
69
|
-
span_id: string;
|
|
70
|
-
parent_span_id: string;
|
|
71
|
-
trace_id: string;
|
|
72
|
-
span_type: "core" | "repo" | "agent";
|
|
73
|
-
start_time: string;
|
|
74
|
-
attributes: Record<string, string>;
|
|
75
|
-
repo_name?: string | undefined;
|
|
76
|
-
agent_name?: string | undefined;
|
|
77
|
-
end_time?: string | undefined;
|
|
78
|
-
failure_reason?: string | undefined;
|
|
79
|
-
}, {
|
|
80
|
-
status: "completed" | "running" | "failed";
|
|
81
|
-
span_id: string;
|
|
82
|
-
parent_span_id: string;
|
|
83
|
-
trace_id: string;
|
|
84
|
-
span_type: "core" | "repo" | "agent";
|
|
85
|
-
start_time: string;
|
|
86
|
-
artifacts?: {
|
|
87
|
-
name: string;
|
|
88
|
-
artifact_type: string;
|
|
89
|
-
reference: string;
|
|
90
|
-
data?: unknown;
|
|
91
|
-
}[] | undefined;
|
|
92
|
-
repo_name?: string | undefined;
|
|
93
|
-
agent_name?: string | undefined;
|
|
94
|
-
end_time?: string | undefined;
|
|
95
|
-
failure_reason?: string | undefined;
|
|
96
|
-
attributes?: Record<string, string> | undefined;
|
|
97
|
-
}>;
|
|
98
|
-
export type ExecutionSpan = z.infer<typeof ExecutionSpanSchema>;
|
|
99
|
-
export declare const ExecutionGraphSchema: z.ZodObject<{
|
|
100
|
-
execution_id: z.ZodString;
|
|
101
|
-
repo_span_id: z.ZodString;
|
|
102
|
-
spans: z.ZodArray<z.ZodObject<{
|
|
103
|
-
span_id: z.ZodString;
|
|
104
|
-
parent_span_id: z.ZodString;
|
|
105
|
-
trace_id: z.ZodString;
|
|
106
|
-
span_type: z.ZodEnum<["core", "repo", "agent"]>;
|
|
107
|
-
repo_name: z.ZodOptional<z.ZodString>;
|
|
108
|
-
agent_name: z.ZodOptional<z.ZodString>;
|
|
109
|
-
status: z.ZodEnum<["running", "completed", "failed"]>;
|
|
110
|
-
start_time: z.ZodString;
|
|
111
|
-
end_time: z.ZodOptional<z.ZodString>;
|
|
112
|
-
failure_reason: z.ZodOptional<z.ZodString>;
|
|
113
|
-
artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
114
|
-
name: z.ZodString;
|
|
115
|
-
artifact_type: z.ZodString;
|
|
116
|
-
reference: z.ZodString;
|
|
117
|
-
data: z.ZodUnknown;
|
|
118
|
-
}, "strip", z.ZodTypeAny, {
|
|
119
|
-
name: string;
|
|
120
|
-
artifact_type: string;
|
|
121
|
-
reference: string;
|
|
122
|
-
data?: unknown;
|
|
123
|
-
}, {
|
|
124
|
-
name: string;
|
|
125
|
-
artifact_type: string;
|
|
126
|
-
reference: string;
|
|
127
|
-
data?: unknown;
|
|
128
|
-
}>, "many">>;
|
|
129
|
-
attributes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
130
|
-
}, "strip", z.ZodTypeAny, {
|
|
131
|
-
status: "completed" | "running" | "failed";
|
|
132
|
-
artifacts: {
|
|
133
|
-
name: string;
|
|
134
|
-
artifact_type: string;
|
|
135
|
-
reference: string;
|
|
136
|
-
data?: unknown;
|
|
137
|
-
}[];
|
|
138
|
-
span_id: string;
|
|
139
|
-
parent_span_id: string;
|
|
140
|
-
trace_id: string;
|
|
141
|
-
span_type: "core" | "repo" | "agent";
|
|
142
|
-
start_time: string;
|
|
143
|
-
attributes: Record<string, string>;
|
|
144
|
-
repo_name?: string | undefined;
|
|
145
|
-
agent_name?: string | undefined;
|
|
146
|
-
end_time?: string | undefined;
|
|
147
|
-
failure_reason?: string | undefined;
|
|
148
|
-
}, {
|
|
149
|
-
status: "completed" | "running" | "failed";
|
|
150
|
-
span_id: string;
|
|
151
|
-
parent_span_id: string;
|
|
152
|
-
trace_id: string;
|
|
153
|
-
span_type: "core" | "repo" | "agent";
|
|
154
|
-
start_time: string;
|
|
155
|
-
artifacts?: {
|
|
156
|
-
name: string;
|
|
157
|
-
artifact_type: string;
|
|
158
|
-
reference: string;
|
|
159
|
-
data?: unknown;
|
|
160
|
-
}[] | undefined;
|
|
161
|
-
repo_name?: string | undefined;
|
|
162
|
-
agent_name?: string | undefined;
|
|
163
|
-
end_time?: string | undefined;
|
|
164
|
-
failure_reason?: string | undefined;
|
|
165
|
-
attributes?: Record<string, string> | undefined;
|
|
166
|
-
}>, "many">;
|
|
167
|
-
}, "strip", z.ZodTypeAny, {
|
|
168
|
-
spans: {
|
|
169
|
-
status: "completed" | "running" | "failed";
|
|
170
|
-
artifacts: {
|
|
171
|
-
name: string;
|
|
172
|
-
artifact_type: string;
|
|
173
|
-
reference: string;
|
|
174
|
-
data?: unknown;
|
|
175
|
-
}[];
|
|
176
|
-
span_id: string;
|
|
177
|
-
parent_span_id: string;
|
|
178
|
-
trace_id: string;
|
|
179
|
-
span_type: "core" | "repo" | "agent";
|
|
180
|
-
start_time: string;
|
|
181
|
-
attributes: Record<string, string>;
|
|
182
|
-
repo_name?: string | undefined;
|
|
183
|
-
agent_name?: string | undefined;
|
|
184
|
-
end_time?: string | undefined;
|
|
185
|
-
failure_reason?: string | undefined;
|
|
186
|
-
}[];
|
|
187
|
-
execution_id: string;
|
|
188
|
-
repo_span_id: string;
|
|
189
|
-
}, {
|
|
190
|
-
spans: {
|
|
191
|
-
status: "completed" | "running" | "failed";
|
|
192
|
-
span_id: string;
|
|
193
|
-
parent_span_id: string;
|
|
194
|
-
trace_id: string;
|
|
195
|
-
span_type: "core" | "repo" | "agent";
|
|
196
|
-
start_time: string;
|
|
197
|
-
artifacts?: {
|
|
198
|
-
name: string;
|
|
199
|
-
artifact_type: string;
|
|
200
|
-
reference: string;
|
|
201
|
-
data?: unknown;
|
|
202
|
-
}[] | undefined;
|
|
203
|
-
repo_name?: string | undefined;
|
|
204
|
-
agent_name?: string | undefined;
|
|
205
|
-
end_time?: string | undefined;
|
|
206
|
-
failure_reason?: string | undefined;
|
|
207
|
-
attributes?: Record<string, string> | undefined;
|
|
208
|
-
}[];
|
|
209
|
-
execution_id: string;
|
|
210
|
-
repo_span_id: string;
|
|
211
|
-
}>;
|
|
212
|
-
export type ExecutionGraphData = z.infer<typeof ExecutionGraphSchema>;
|
|
213
|
-
/**
|
|
214
|
-
* Builds an ExecutionGraph for a single invocation of this repository.
|
|
215
|
-
*
|
|
216
|
-
* Usage:
|
|
217
|
-
* 1. Create via constructor (auto-creates repo span)
|
|
218
|
-
* 2. Call startAgentSpan() before each agent runs
|
|
219
|
-
* 3. Call completeAgentSpan() or failAgentSpan() when done
|
|
220
|
-
* 4. Call completeRepo() or failRepo() at the end
|
|
221
|
-
* 5. Call toJSON() to get the serialized graph
|
|
222
|
-
*/
|
|
223
|
-
export declare class ExecutionGraphBuilder {
|
|
224
|
-
private readonly executionId;
|
|
225
|
-
private readonly repoSpanId;
|
|
226
|
-
private readonly spans;
|
|
227
|
-
constructor(executionId: string, parentSpanId: string, traceId: string);
|
|
228
|
-
/** Start a new agent-level span as a child of the repo span. */
|
|
229
|
-
startAgentSpan(agentName: string): string;
|
|
230
|
-
/** Complete an agent-level span with optional artifacts. */
|
|
231
|
-
completeAgentSpan(spanId: string, artifacts?: Artifact[]): void;
|
|
232
|
-
/** Mark an agent-level span as failed. */
|
|
233
|
-
failAgentSpan(spanId: string, reason: string): void;
|
|
234
|
-
/**
|
|
235
|
-
* Complete the repo-level span.
|
|
236
|
-
* Throws if no agent-level spans were emitted.
|
|
237
|
-
*/
|
|
238
|
-
completeRepo(): void;
|
|
239
|
-
/** Mark the repo-level span as failed, preserving all emitted spans. */
|
|
240
|
-
failRepo(reason: string): void;
|
|
241
|
-
/** Validate that at least one agent span exists. */
|
|
242
|
-
validate(): void;
|
|
243
|
-
/** Check if any agent spans exist. */
|
|
244
|
-
hasAgentSpans(): boolean;
|
|
245
|
-
/** Add an attribute to the repo-level span. */
|
|
246
|
-
setRepoAttribute(key: string, value: string): void;
|
|
247
|
-
/** Serialize the graph to a plain JSON-serializable object. */
|
|
248
|
-
toJSON(): ExecutionGraphData;
|
|
249
|
-
private findSpan;
|
|
250
|
-
}
|