@llm-dev-ops/agentics-cli 1.4.59 → 1.4.69
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/README.md +1 -1
- package/dist/commands/agents.d.ts.map +1 -1
- package/dist/commands/agents.js +167 -0
- package/dist/commands/agents.js.map +1 -1
- package/dist/pipeline/auto-chain.d.ts +1 -0
- package/dist/pipeline/auto-chain.d.ts.map +1 -1
- package/dist/pipeline/auto-chain.js +124 -37
- package/dist/pipeline/auto-chain.js.map +1 -1
- package/dist/pipeline/execution-context.d.ts.map +1 -1
- package/dist/pipeline/execution-context.js +12 -37
- package/dist/pipeline/execution-context.js.map +1 -1
- package/dist/pipeline/phase2/phases/adr-generator.d.ts.map +1 -1
- package/dist/pipeline/phase2/phases/adr-generator.js +160 -1
- package/dist/pipeline/phase2/phases/adr-generator.js.map +1 -1
- package/dist/pipeline/phase2/phases/ddd-generator.d.ts.map +1 -1
- package/dist/pipeline/phase2/phases/ddd-generator.js +400 -3
- package/dist/pipeline/phase2/phases/ddd-generator.js.map +1 -1
- package/dist/pipeline/phase2/phases/ddd-quality-gate.d.ts +43 -0
- package/dist/pipeline/phase2/phases/ddd-quality-gate.d.ts.map +1 -0
- package/dist/pipeline/phase2/phases/ddd-quality-gate.js +413 -0
- package/dist/pipeline/phase2/phases/ddd-quality-gate.js.map +1 -0
- package/dist/pipeline/phase2/phases/research-dossier.d.ts +0 -13
- package/dist/pipeline/phase2/phases/research-dossier.d.ts.map +1 -1
- package/dist/pipeline/phase2/phases/research-dossier.js +114 -1
- package/dist/pipeline/phase2/phases/research-dossier.js.map +1 -1
- package/dist/pipeline/phase2/phases/research-quality-gate.d.ts +48 -0
- package/dist/pipeline/phase2/phases/research-quality-gate.d.ts.map +1 -0
- package/dist/pipeline/phase2/phases/research-quality-gate.js +322 -0
- package/dist/pipeline/phase2/phases/research-quality-gate.js.map +1 -0
- package/dist/pipeline/phase2/phases/sparc-quality-gate.d.ts +41 -0
- package/dist/pipeline/phase2/phases/sparc-quality-gate.d.ts.map +1 -0
- package/dist/pipeline/phase2/phases/sparc-quality-gate.js +350 -0
- package/dist/pipeline/phase2/phases/sparc-quality-gate.js.map +1 -0
- package/dist/pipeline/phase2/phases/sparc-specification.d.ts +14 -0
- package/dist/pipeline/phase2/phases/sparc-specification.d.ts.map +1 -1
- package/dist/pipeline/phase2/phases/sparc-specification.js +500 -10
- package/dist/pipeline/phase2/phases/sparc-specification.js.map +1 -1
- package/dist/pipeline/phase2/phases/tdd-plan-generator.js +1 -1
- package/dist/pipeline/phase2/phases/tdd-plan-generator.js.map +1 -1
- package/dist/pipeline/phase2/phases/tech-stack-detector.d.ts +72 -0
- package/dist/pipeline/phase2/phases/tech-stack-detector.d.ts.map +1 -0
- package/dist/pipeline/phase2/phases/tech-stack-detector.js +332 -0
- package/dist/pipeline/phase2/phases/tech-stack-detector.js.map +1 -0
- package/dist/pipeline/phase2/types.d.ts +2 -0
- package/dist/pipeline/phase2/types.d.ts.map +1 -1
- package/dist/pipeline/phase3/phases/domain-codegen.d.ts.map +1 -1
- package/dist/pipeline/phase3/phases/domain-codegen.js +169 -4
- package/dist/pipeline/phase3/phases/domain-codegen.js.map +1 -1
- package/dist/pipeline/phase3/phases/test-generator.d.ts.map +1 -1
- package/dist/pipeline/phase3/phases/test-generator.js +12 -2
- package/dist/pipeline/phase3/phases/test-generator.js.map +1 -1
- package/dist/pipeline/phase3-sparc/phase3-sparc-coordinator.d.ts.map +1 -1
- package/dist/pipeline/phase3-sparc/phase3-sparc-coordinator.js +99 -1
- package/dist/pipeline/phase3-sparc/phase3-sparc-coordinator.js.map +1 -1
- package/dist/pipeline/phase4/phases/deployment-generator.d.ts +17 -4
- package/dist/pipeline/phase4/phases/deployment-generator.d.ts.map +1 -1
- package/dist/pipeline/phase4/phases/deployment-generator.js +364 -44
- package/dist/pipeline/phase4/phases/deployment-generator.js.map +1 -1
- package/dist/pipeline/phase4/phases/erp-client-generator.d.ts.map +1 -1
- package/dist/pipeline/phase4/phases/erp-client-generator.js +27 -15
- package/dist/pipeline/phase4/phases/erp-client-generator.js.map +1 -1
- package/dist/pipeline/phase4/phases/erp-target-resolver.d.ts.map +1 -1
- package/dist/pipeline/phase4/phases/erp-target-resolver.js +49 -2
- package/dist/pipeline/phase4/phases/erp-target-resolver.js.map +1 -1
- package/dist/pipeline/phase4/phases/http-server-generator.d.ts.map +1 -1
- package/dist/pipeline/phase4/phases/http-server-generator.js +263 -3
- package/dist/pipeline/phase4/phases/http-server-generator.js.map +1 -1
- package/dist/pipeline/phase4/phases/infra-adapter-generator.d.ts.map +1 -1
- package/dist/pipeline/phase4/phases/infra-adapter-generator.js +335 -37
- package/dist/pipeline/phase4/phases/infra-adapter-generator.js.map +1 -1
- package/dist/pipeline/phase4/types.d.ts +3 -1
- package/dist/pipeline/phase4/types.d.ts.map +1 -1
- package/dist/pipeline/phase4-adrs/phase4-adrs-coordinator.d.ts.map +1 -1
- package/dist/pipeline/phase4-adrs/phase4-adrs-coordinator.js +211 -2
- package/dist/pipeline/phase4-adrs/phase4-adrs-coordinator.js.map +1 -1
- package/dist/pipeline/phase5-build/phases/implementation-quality-gate.d.ts +54 -0
- package/dist/pipeline/phase5-build/phases/implementation-quality-gate.d.ts.map +1 -0
- package/dist/pipeline/phase5-build/phases/implementation-quality-gate.js +417 -0
- package/dist/pipeline/phase5-build/phases/implementation-quality-gate.js.map +1 -0
- package/dist/pipeline/phases/prompt-generator.js +1 -1
- package/dist/pipeline/phases/prompt-generator.js.map +1 -1
- package/dist/pipeline/ruflo-phase-executor.d.ts +116 -1
- package/dist/pipeline/ruflo-phase-executor.d.ts.map +1 -1
- package/dist/pipeline/ruflo-phase-executor.js +666 -159
- package/dist/pipeline/ruflo-phase-executor.js.map +1 -1
- package/dist/pipeline/swarm-orchestrator.d.ts.map +1 -1
- package/dist/pipeline/swarm-orchestrator.js +62 -6
- package/dist/pipeline/swarm-orchestrator.js.map +1 -1
- package/dist/routing/capability-classifier.d.ts +43 -0
- package/dist/routing/capability-classifier.d.ts.map +1 -0
- package/dist/routing/capability-classifier.js +157 -0
- package/dist/routing/capability-classifier.js.map +1 -0
- package/dist/routing/composition-engine.d.ts +77 -0
- package/dist/routing/composition-engine.d.ts.map +1 -0
- package/dist/routing/composition-engine.js +249 -0
- package/dist/routing/composition-engine.js.map +1 -0
- package/dist/routing/graph-federation.d.ts +71 -0
- package/dist/routing/graph-federation.d.ts.map +1 -0
- package/dist/routing/graph-federation.js +210 -0
- package/dist/routing/graph-federation.js.map +1 -0
- package/dist/routing/graph-loader.d.ts +74 -0
- package/dist/routing/graph-loader.d.ts.map +1 -0
- package/dist/routing/graph-loader.js +383 -0
- package/dist/routing/graph-loader.js.map +1 -0
- package/dist/routing/graph-router.d.ts +103 -0
- package/dist/routing/graph-router.d.ts.map +1 -0
- package/dist/routing/graph-router.js +415 -0
- package/dist/routing/graph-router.js.map +1 -0
- package/dist/routing/graph-validator.d.ts +44 -0
- package/dist/routing/graph-validator.d.ts.map +1 -0
- package/dist/routing/graph-validator.js +329 -0
- package/dist/routing/graph-validator.js.map +1 -0
- package/dist/routing/index.d.ts +52 -0
- package/dist/routing/index.d.ts.map +1 -0
- package/dist/routing/index.js +68 -0
- package/dist/routing/index.js.map +1 -0
- package/dist/routing/outcome-recorder.d.ts +71 -0
- package/dist/routing/outcome-recorder.d.ts.map +1 -0
- package/dist/routing/outcome-recorder.js +133 -0
- package/dist/routing/outcome-recorder.js.map +1 -0
- package/dist/routing/weight-adjuster.d.ts +59 -0
- package/dist/routing/weight-adjuster.d.ts.map +1 -0
- package/dist/routing/weight-adjuster.js +167 -0
- package/dist/routing/weight-adjuster.js.map +1 -0
- package/dist/routing/weighted-resolver.d.ts +55 -0
- package/dist/routing/weighted-resolver.d.ts.map +1 -0
- package/dist/routing/weighted-resolver.js +133 -0
- package/dist/routing/weighted-resolver.js.map +1 -0
- package/dist/synthesis/ask-artifact-writer.d.ts.map +1 -1
- package/dist/synthesis/ask-artifact-writer.js +8 -0
- package/dist/synthesis/ask-artifact-writer.js.map +1 -1
- package/dist/synthesis/simulation-artifact-generator.d.ts +14 -0
- package/dist/synthesis/simulation-artifact-generator.d.ts.map +1 -1
- package/dist/synthesis/simulation-artifact-generator.js +224 -1
- package/dist/synthesis/simulation-artifact-generator.js.map +1 -1
- package/dist/synthesis/simulation-renderers.d.ts.map +1 -1
- package/dist/synthesis/simulation-renderers.js +211 -40
- package/dist/synthesis/simulation-renderers.js.map +1 -1
- package/package.json +3 -1
- package/scripts/postinstall.sh +25 -0
- 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,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"dependencies": {
|
|
3
|
-
"claude-flow": "^2.7.41"
|
|
4
|
-
},
|
|
5
|
-
"devDependencies": {
|
|
6
|
-
"@llm-dev-ops/llm-analytics-api": "github:LLM-Dev-Ops/analytics-hub",
|
|
7
|
-
"@llm-dev-ops/llm-cost-ops-sdk": "github:LLM-Dev-Ops/cost-ops",
|
|
8
|
-
"@llm-dev-ops/llm-registry-sdk": "github:LLM-Dev-Ops/registry",
|
|
9
|
-
"@llm-dev-ops/observatory-sdk": "github:LLM-Dev-Ops/observatory",
|
|
10
|
-
"@llm-devops/policy-engine": "github:LLM-Dev-Ops/policy-engine",
|
|
11
|
-
"@llm-dev-ops/infra": "github:LLM-Dev-Ops/infra"
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,590 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
// =============================================================================
|
|
4
|
-
// Contract Schemas for all 7 Orchestrator Agents
|
|
5
|
-
// Ported from crates/agentics-contracts/src/
|
|
6
|
-
// =============================================================================
|
|
7
|
-
|
|
8
|
-
// ---------------------------------------------------------------------------
|
|
9
|
-
// 1. Workflow Orchestrator Agent
|
|
10
|
-
// ---------------------------------------------------------------------------
|
|
11
|
-
const workflowContract = {
|
|
12
|
-
agent_id: 'workflow-orchestrator',
|
|
13
|
-
agent_version: '0.1.0',
|
|
14
|
-
classification: 'WORKFLOW_EXECUTION',
|
|
15
|
-
description: 'Execute and coordinate multi-step workflows across agents in a deterministic and state-aware manner.',
|
|
16
|
-
input: {
|
|
17
|
-
type: 'object',
|
|
18
|
-
required: ['workflow_id', 'workflow_name', 'tasks'],
|
|
19
|
-
properties: {
|
|
20
|
-
envelope_id: { type: 'string', format: 'uuid' },
|
|
21
|
-
workflow_id: { type: 'string', format: 'uuid' },
|
|
22
|
-
workflow_name: { type: 'string', minLength: 1, maxLength: 256 },
|
|
23
|
-
workflow_version: { type: 'string' },
|
|
24
|
-
state: { type: 'string', enum: ['pending', 'scheduled', 'running', 'paused', 'completed', 'failed', 'cancelled', 'retry_waiting'] },
|
|
25
|
-
inputs: { type: 'object' },
|
|
26
|
-
tasks: {
|
|
27
|
-
type: 'array',
|
|
28
|
-
items: {
|
|
29
|
-
type: 'object',
|
|
30
|
-
required: ['task_id', 'name', 'task_type'],
|
|
31
|
-
properties: {
|
|
32
|
-
task_id: { type: 'string', format: 'uuid' },
|
|
33
|
-
name: { type: 'string', minLength: 1, maxLength: 256 },
|
|
34
|
-
task_type: { type: 'string', enum: ['llm_completion', 'embedding', 'vector_search', 'transform', 'action', 'agent_invocation', 'conditional', 'parallel'] },
|
|
35
|
-
state: { type: 'string', enum: ['pending', 'queued', 'running', 'completed', 'failed', 'skipped', 'cancelled', 'retry_waiting'] },
|
|
36
|
-
inputs: { type: 'object' },
|
|
37
|
-
outputs: { type: 'object' },
|
|
38
|
-
depends_on: { type: 'array', items: { type: 'string', format: 'uuid' } },
|
|
39
|
-
config: { type: 'object' },
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
config: {
|
|
44
|
-
type: 'object',
|
|
45
|
-
properties: {
|
|
46
|
-
max_concurrency: { type: 'integer', default: 4 },
|
|
47
|
-
timeout_seconds: { type: 'integer', default: 3600 },
|
|
48
|
-
retry_config: {
|
|
49
|
-
type: 'object',
|
|
50
|
-
properties: {
|
|
51
|
-
max_attempts: { type: 'integer', default: 3 },
|
|
52
|
-
initial_delay_ms: { type: 'integer', default: 1000 },
|
|
53
|
-
max_delay_ms: { type: 'integer', default: 30000 },
|
|
54
|
-
backoff_multiplier: { type: 'number', default: 2.0 },
|
|
55
|
-
jitter: { type: 'boolean', default: true },
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
continue_on_failure: { type: 'boolean', default: false },
|
|
59
|
-
strategy: { type: 'string', enum: ['sequential', 'parallel', 'dag_based', 'adaptive'] },
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
output: {
|
|
65
|
-
type: 'object',
|
|
66
|
-
properties: {
|
|
67
|
-
execution_id: { type: 'string' },
|
|
68
|
-
repo_span: { type: 'object' },
|
|
69
|
-
agent_spans: { type: 'array' },
|
|
70
|
-
valid: { type: 'boolean' },
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
// ---------------------------------------------------------------------------
|
|
76
|
-
// 2. Task Scheduler Agent
|
|
77
|
-
// ---------------------------------------------------------------------------
|
|
78
|
-
const schedulerContract = {
|
|
79
|
-
agent_id: 'task-scheduler',
|
|
80
|
-
agent_version: '0.1.0',
|
|
81
|
-
classification: 'TASK_COORDINATION',
|
|
82
|
-
description: 'Schedule and coordinate task execution ordering, timing, and trigger-based invocation.',
|
|
83
|
-
input: {
|
|
84
|
-
type: 'object',
|
|
85
|
-
required: ['schedule_id', 'tasks'],
|
|
86
|
-
properties: {
|
|
87
|
-
schedule_id: { type: 'string', format: 'uuid' },
|
|
88
|
-
workflow_id: { type: 'string', format: 'uuid' },
|
|
89
|
-
tasks: {
|
|
90
|
-
type: 'array',
|
|
91
|
-
items: {
|
|
92
|
-
type: 'object',
|
|
93
|
-
required: ['task_id', 'name', 'schedule_type'],
|
|
94
|
-
properties: {
|
|
95
|
-
task_id: { type: 'string' },
|
|
96
|
-
name: { type: 'string' },
|
|
97
|
-
schedule_type: { type: 'string', enum: ['immediate', 'delayed', 'scheduled', 'cron', 'event_triggered', 'dependency_based'] },
|
|
98
|
-
trigger: {
|
|
99
|
-
type: 'object',
|
|
100
|
-
properties: {
|
|
101
|
-
trigger_type: { type: 'string', enum: ['workflow_complete', 'step_complete', 'webhook', 'message_queue', 'external_api'] },
|
|
102
|
-
condition: { type: 'object' },
|
|
103
|
-
},
|
|
104
|
-
},
|
|
105
|
-
priority: { type: 'integer', default: 0 },
|
|
106
|
-
delay_ms: { type: 'integer' },
|
|
107
|
-
cron_expression: { type: 'string' },
|
|
108
|
-
retry_policy: {
|
|
109
|
-
type: 'object',
|
|
110
|
-
properties: {
|
|
111
|
-
max_retries: { type: 'integer', default: 3 },
|
|
112
|
-
backoff_strategy: { type: 'string', enum: ['fixed', 'exponential', 'linear'] },
|
|
113
|
-
initial_delay_ms: { type: 'integer', default: 1000 },
|
|
114
|
-
},
|
|
115
|
-
},
|
|
116
|
-
},
|
|
117
|
-
},
|
|
118
|
-
},
|
|
119
|
-
config: {
|
|
120
|
-
type: 'object',
|
|
121
|
-
properties: {
|
|
122
|
-
max_concurrent: { type: 'integer', default: 10 },
|
|
123
|
-
timeout_ms: { type: 'integer', default: 300000 },
|
|
124
|
-
},
|
|
125
|
-
},
|
|
126
|
-
},
|
|
127
|
-
},
|
|
128
|
-
output: {
|
|
129
|
-
type: 'object',
|
|
130
|
-
properties: {
|
|
131
|
-
schedule_id: { type: 'string' },
|
|
132
|
-
status: { type: 'string', enum: ['scheduled', 'running', 'completed', 'failed'] },
|
|
133
|
-
scheduled_tasks: { type: 'array' },
|
|
134
|
-
next_execution: { type: 'string', format: 'date-time' },
|
|
135
|
-
},
|
|
136
|
-
},
|
|
137
|
-
};
|
|
138
|
-
|
|
139
|
-
// ---------------------------------------------------------------------------
|
|
140
|
-
// 3. Dependency Resolver Agent
|
|
141
|
-
// ---------------------------------------------------------------------------
|
|
142
|
-
const dependenciesContract = {
|
|
143
|
-
agent_id: 'dependency-resolver',
|
|
144
|
-
agent_version: '0.1.0',
|
|
145
|
-
classification: 'TASK_COORDINATION',
|
|
146
|
-
description: 'Analyze task dependencies and determine execution order with cycle detection and critical path analysis.',
|
|
147
|
-
input: {
|
|
148
|
-
type: 'object',
|
|
149
|
-
required: ['request_id', 'workflow_id', 'tasks'],
|
|
150
|
-
properties: {
|
|
151
|
-
request_id: { type: 'string', format: 'uuid' },
|
|
152
|
-
workflow_id: { type: 'string', format: 'uuid' },
|
|
153
|
-
tasks: {
|
|
154
|
-
type: 'array',
|
|
155
|
-
items: {
|
|
156
|
-
type: 'object',
|
|
157
|
-
required: ['task_id', 'name'],
|
|
158
|
-
properties: {
|
|
159
|
-
task_id: { type: 'string' },
|
|
160
|
-
name: { type: 'string' },
|
|
161
|
-
task_type: { type: 'string' },
|
|
162
|
-
dependencies: {
|
|
163
|
-
type: 'array',
|
|
164
|
-
items: {
|
|
165
|
-
type: 'object',
|
|
166
|
-
properties: {
|
|
167
|
-
task_id: { type: 'string' },
|
|
168
|
-
required_status: { type: 'string', enum: ['success', 'complete', 'started', 'skipped', 'any'] },
|
|
169
|
-
timeout_ms: { type: 'integer' },
|
|
170
|
-
},
|
|
171
|
-
},
|
|
172
|
-
},
|
|
173
|
-
estimated_duration_ms: { type: 'integer' },
|
|
174
|
-
priority: { type: 'integer', default: 0 },
|
|
175
|
-
},
|
|
176
|
-
},
|
|
177
|
-
},
|
|
178
|
-
config: {
|
|
179
|
-
type: 'object',
|
|
180
|
-
properties: {
|
|
181
|
-
max_depth: { type: 'integer', default: 100 },
|
|
182
|
-
detect_cycles: { type: 'boolean', default: true },
|
|
183
|
-
calculate_critical_path: { type: 'boolean', default: true },
|
|
184
|
-
optimize_parallelism: { type: 'boolean', default: true },
|
|
185
|
-
timeout_ms: { type: 'integer' },
|
|
186
|
-
},
|
|
187
|
-
},
|
|
188
|
-
timestamp: { type: 'string', format: 'date-time' },
|
|
189
|
-
},
|
|
190
|
-
},
|
|
191
|
-
output: {
|
|
192
|
-
type: 'object',
|
|
193
|
-
properties: {
|
|
194
|
-
request_id: { type: 'string' },
|
|
195
|
-
workflow_id: { type: 'string' },
|
|
196
|
-
status: { type: 'string', enum: ['success', 'success_with_warnings', 'failed', 'timeout', 'cancelled'] },
|
|
197
|
-
execution_order: { type: 'array', items: { type: 'string' } },
|
|
198
|
-
parallel_groups: {
|
|
199
|
-
type: 'array',
|
|
200
|
-
items: {
|
|
201
|
-
type: 'object',
|
|
202
|
-
properties: {
|
|
203
|
-
group_index: { type: 'integer' },
|
|
204
|
-
task_ids: { type: 'array', items: { type: 'string' } },
|
|
205
|
-
depends_on_groups: { type: 'array', items: { type: 'integer' } },
|
|
206
|
-
},
|
|
207
|
-
},
|
|
208
|
-
},
|
|
209
|
-
graph_summary: {
|
|
210
|
-
type: 'object',
|
|
211
|
-
properties: {
|
|
212
|
-
total_tasks: { type: 'integer' },
|
|
213
|
-
total_dependencies: { type: 'integer' },
|
|
214
|
-
max_depth: { type: 'integer' },
|
|
215
|
-
root_tasks: { type: 'integer' },
|
|
216
|
-
leaf_tasks: { type: 'integer' },
|
|
217
|
-
parallel_groups: { type: 'integer' },
|
|
218
|
-
has_cycles: { type: 'boolean' },
|
|
219
|
-
},
|
|
220
|
-
},
|
|
221
|
-
critical_path: {
|
|
222
|
-
type: 'object',
|
|
223
|
-
properties: {
|
|
224
|
-
task_ids: { type: 'array', items: { type: 'string' } },
|
|
225
|
-
total_duration_ms: { type: 'integer' },
|
|
226
|
-
task_count: { type: 'integer' },
|
|
227
|
-
},
|
|
228
|
-
},
|
|
229
|
-
issues: { type: 'array' },
|
|
230
|
-
resolved_at: { type: 'string', format: 'date-time' },
|
|
231
|
-
},
|
|
232
|
-
},
|
|
233
|
-
};
|
|
234
|
-
|
|
235
|
-
// ---------------------------------------------------------------------------
|
|
236
|
-
// 4. Retry & Recovery Agent
|
|
237
|
-
// ---------------------------------------------------------------------------
|
|
238
|
-
const retryContract = {
|
|
239
|
-
agent_id: 'retry-recovery',
|
|
240
|
-
agent_version: '0.1.0',
|
|
241
|
-
classification: 'TASK_COORDINATION',
|
|
242
|
-
description: 'Determine safe retry, backoff, or recovery strategies following task or workflow failure.',
|
|
243
|
-
input: {
|
|
244
|
-
type: 'object',
|
|
245
|
-
required: ['request_id', 'failure'],
|
|
246
|
-
properties: {
|
|
247
|
-
request_id: { type: 'string', format: 'uuid' },
|
|
248
|
-
workflow_id: { type: 'string', format: 'uuid' },
|
|
249
|
-
execution_id: { type: 'string', format: 'uuid' },
|
|
250
|
-
failure: {
|
|
251
|
-
type: 'object',
|
|
252
|
-
required: ['task_id', 'error_category'],
|
|
253
|
-
properties: {
|
|
254
|
-
task_id: { type: 'string' },
|
|
255
|
-
task_name: { type: 'string' },
|
|
256
|
-
error_category: { type: 'string', enum: ['transient', 'permanent', 'timeout', 'resource_exhaustion', 'rate_limit', 'validation', 'dependency', 'infrastructure', 'unknown'] },
|
|
257
|
-
error_message: { type: 'string' },
|
|
258
|
-
error_code: { type: 'string' },
|
|
259
|
-
attempt: { type: 'integer' },
|
|
260
|
-
max_attempts: { type: 'integer' },
|
|
261
|
-
last_attempt_at: { type: 'string', format: 'date-time' },
|
|
262
|
-
context: { type: 'object' },
|
|
263
|
-
},
|
|
264
|
-
},
|
|
265
|
-
retry_policy: {
|
|
266
|
-
type: 'object',
|
|
267
|
-
properties: {
|
|
268
|
-
max_attempts: { type: 'integer', default: 3 },
|
|
269
|
-
backoff_strategy: { type: 'string', enum: ['fixed', 'exponential', 'linear', 'fibonacci', 'immediate'], default: 'exponential' },
|
|
270
|
-
initial_delay_ms: { type: 'integer', default: 1000 },
|
|
271
|
-
max_delay_ms: { type: 'integer', default: 30000 },
|
|
272
|
-
backoff_multiplier: { type: 'number', default: 2.0 },
|
|
273
|
-
jitter: { type: 'boolean', default: true },
|
|
274
|
-
},
|
|
275
|
-
},
|
|
276
|
-
timestamp: { type: 'string', format: 'date-time' },
|
|
277
|
-
},
|
|
278
|
-
},
|
|
279
|
-
output: {
|
|
280
|
-
type: 'object',
|
|
281
|
-
properties: {
|
|
282
|
-
request_id: { type: 'string' },
|
|
283
|
-
decision: { type: 'string', enum: ['retry', 'retry_with_modification', 'skip', 'fail', 'rollback', 'alternate_path', 'defer_retry'] },
|
|
284
|
-
retry_delay_ms: { type: 'integer' },
|
|
285
|
-
next_attempt: { type: 'integer' },
|
|
286
|
-
modifications: { type: 'object' },
|
|
287
|
-
recovery_path: { type: 'string' },
|
|
288
|
-
confidence: { type: 'number', minimum: 0, maximum: 1 },
|
|
289
|
-
reasoning: { type: 'string' },
|
|
290
|
-
timestamp: { type: 'string', format: 'date-time' },
|
|
291
|
-
},
|
|
292
|
-
},
|
|
293
|
-
};
|
|
294
|
-
|
|
295
|
-
// ---------------------------------------------------------------------------
|
|
296
|
-
// 5. Parallelization Agent
|
|
297
|
-
// ---------------------------------------------------------------------------
|
|
298
|
-
const parallelContract = {
|
|
299
|
-
agent_id: 'parallelization-agent',
|
|
300
|
-
agent_version: '0.1.0',
|
|
301
|
-
classification: 'TASK_COORDINATION',
|
|
302
|
-
description: 'Identify tasks that can execute concurrently to improve workflow throughput.',
|
|
303
|
-
input: {
|
|
304
|
-
type: 'object',
|
|
305
|
-
required: ['request_id', 'workflow_id', 'tasks'],
|
|
306
|
-
properties: {
|
|
307
|
-
request_id: { type: 'string', format: 'uuid' },
|
|
308
|
-
workflow_id: { type: 'string', format: 'uuid' },
|
|
309
|
-
tasks: {
|
|
310
|
-
type: 'array',
|
|
311
|
-
items: {
|
|
312
|
-
type: 'object',
|
|
313
|
-
required: ['task_id', 'name'],
|
|
314
|
-
properties: {
|
|
315
|
-
task_id: { type: 'string' },
|
|
316
|
-
name: { type: 'string' },
|
|
317
|
-
task_type: { type: 'string' },
|
|
318
|
-
dependencies: { type: 'array' },
|
|
319
|
-
estimated_duration_ms: { type: 'integer' },
|
|
320
|
-
priority: { type: 'integer', default: 0 },
|
|
321
|
-
},
|
|
322
|
-
},
|
|
323
|
-
},
|
|
324
|
-
config: {
|
|
325
|
-
type: 'object',
|
|
326
|
-
properties: {
|
|
327
|
-
max_concurrency: { type: 'integer', default: 8 },
|
|
328
|
-
respect_soft_dependencies: { type: 'boolean', default: true },
|
|
329
|
-
analyze_data_dependencies: { type: 'boolean', default: true },
|
|
330
|
-
consider_resource_constraints: { type: 'boolean', default: true },
|
|
331
|
-
optimize_makespan: { type: 'boolean', default: true },
|
|
332
|
-
balance_load: { type: 'boolean', default: false },
|
|
333
|
-
timeout_ms: { type: 'integer' },
|
|
334
|
-
},
|
|
335
|
-
},
|
|
336
|
-
resource_constraints: {
|
|
337
|
-
type: 'object',
|
|
338
|
-
properties: {
|
|
339
|
-
max_total_memory_bytes: { type: 'integer' },
|
|
340
|
-
max_total_cpu: { type: 'number' },
|
|
341
|
-
max_total_gpu: { type: 'number' },
|
|
342
|
-
max_total_tokens: { type: 'integer' },
|
|
343
|
-
},
|
|
344
|
-
},
|
|
345
|
-
timestamp: { type: 'string', format: 'date-time' },
|
|
346
|
-
},
|
|
347
|
-
},
|
|
348
|
-
output: {
|
|
349
|
-
type: 'object',
|
|
350
|
-
properties: {
|
|
351
|
-
request_id: { type: 'string' },
|
|
352
|
-
workflow_id: { type: 'string' },
|
|
353
|
-
status: { type: 'string', enum: ['success', 'no_opportunities', 'success_with_warnings', 'failed', 'timeout'] },
|
|
354
|
-
execution_plan: {
|
|
355
|
-
type: 'object',
|
|
356
|
-
properties: {
|
|
357
|
-
plan_id: { type: 'string' },
|
|
358
|
-
phases: { type: 'array' },
|
|
359
|
-
total_phases: { type: 'integer' },
|
|
360
|
-
max_parallelism: { type: 'integer' },
|
|
361
|
-
strategy: { type: 'string', enum: ['sequential', 'static_parallel', 'dynamic_parallel', 'pipeline', 'hybrid'] },
|
|
362
|
-
critical_path_tasks: { type: 'array', items: { type: 'string' } },
|
|
363
|
-
},
|
|
364
|
-
},
|
|
365
|
-
summary: {
|
|
366
|
-
type: 'object',
|
|
367
|
-
properties: {
|
|
368
|
-
total_tasks: { type: 'integer' },
|
|
369
|
-
parallelizable_tasks: { type: 'integer' },
|
|
370
|
-
sequential_tasks: { type: 'integer' },
|
|
371
|
-
execution_phases: { type: 'integer' },
|
|
372
|
-
max_parallelism: { type: 'integer' },
|
|
373
|
-
avg_parallelism: { type: 'number' },
|
|
374
|
-
},
|
|
375
|
-
},
|
|
376
|
-
optimization_metrics: {
|
|
377
|
-
type: 'object',
|
|
378
|
-
properties: {
|
|
379
|
-
sequential_duration_ms: { type: 'integer' },
|
|
380
|
-
parallel_duration_ms: { type: 'integer' },
|
|
381
|
-
speedup_factor: { type: 'number' },
|
|
382
|
-
efficiency_score: { type: 'number' },
|
|
383
|
-
},
|
|
384
|
-
},
|
|
385
|
-
issues: { type: 'array' },
|
|
386
|
-
analyzed_at: { type: 'string', format: 'date-time' },
|
|
387
|
-
},
|
|
388
|
-
},
|
|
389
|
-
};
|
|
390
|
-
|
|
391
|
-
// ---------------------------------------------------------------------------
|
|
392
|
-
// 6. State Machine Agent
|
|
393
|
-
// ---------------------------------------------------------------------------
|
|
394
|
-
const stateMachineContract = {
|
|
395
|
-
agent_id: 'state-machine-agent',
|
|
396
|
-
agent_version: '1.0.0',
|
|
397
|
-
classification: 'STATE_MANAGEMENT',
|
|
398
|
-
description: 'Manage workflow state transitions according to defined state machines and rules.',
|
|
399
|
-
input: {
|
|
400
|
-
type: 'object',
|
|
401
|
-
required: ['request_id', 'execution_id', 'entity_type', 'current_state', 'target_state', 'reason', 'initiated_by'],
|
|
402
|
-
properties: {
|
|
403
|
-
request_id: { type: 'string', format: 'uuid' },
|
|
404
|
-
execution_id: { type: 'string', format: 'uuid' },
|
|
405
|
-
entity_type: { type: 'string', enum: ['workflow', 'task'] },
|
|
406
|
-
current_state: { type: 'string' },
|
|
407
|
-
target_state: { type: 'string' },
|
|
408
|
-
reason: { type: 'string', minLength: 1, maxLength: 1024 },
|
|
409
|
-
initiated_by: { type: 'string' },
|
|
410
|
-
force: { type: 'boolean', default: false },
|
|
411
|
-
context: { type: 'object' },
|
|
412
|
-
timestamp: { type: 'string', format: 'date-time' },
|
|
413
|
-
},
|
|
414
|
-
},
|
|
415
|
-
output: {
|
|
416
|
-
type: 'object',
|
|
417
|
-
properties: {
|
|
418
|
-
request_id: { type: 'string' },
|
|
419
|
-
execution_id: { type: 'string' },
|
|
420
|
-
entity_type: { type: 'string' },
|
|
421
|
-
success: { type: 'boolean' },
|
|
422
|
-
previous_state: { type: 'string' },
|
|
423
|
-
new_state: { type: 'string' },
|
|
424
|
-
status: { type: 'string', enum: ['completed', 'invalid', 'blocked', 'forced', 'no_change', 'error'] },
|
|
425
|
-
validation: {
|
|
426
|
-
type: 'object',
|
|
427
|
-
properties: {
|
|
428
|
-
valid: { type: 'boolean' },
|
|
429
|
-
source_state_matches: { type: 'boolean' },
|
|
430
|
-
target_state_exists: { type: 'boolean' },
|
|
431
|
-
rule_violations: { type: 'array' },
|
|
432
|
-
warnings: { type: 'array' },
|
|
433
|
-
},
|
|
434
|
-
},
|
|
435
|
-
confidence: { type: 'number', minimum: 0, maximum: 1 },
|
|
436
|
-
timestamp: { type: 'string', format: 'date-time' },
|
|
437
|
-
},
|
|
438
|
-
},
|
|
439
|
-
state_machine: {
|
|
440
|
-
workflow: {
|
|
441
|
-
initial_state: 'pending',
|
|
442
|
-
terminal_states: ['completed', 'cancelled'],
|
|
443
|
-
transitions: {
|
|
444
|
-
pending: ['scheduled', 'running', 'cancelled'],
|
|
445
|
-
scheduled: ['running', 'cancelled'],
|
|
446
|
-
running: ['paused', 'completed', 'failed', 'cancelled', 'retry_waiting'],
|
|
447
|
-
paused: ['running', 'cancelled'],
|
|
448
|
-
retry_waiting: ['running', 'failed', 'cancelled'],
|
|
449
|
-
failed: ['retry_waiting'],
|
|
450
|
-
},
|
|
451
|
-
},
|
|
452
|
-
task: {
|
|
453
|
-
initial_state: 'pending',
|
|
454
|
-
terminal_states: ['completed', 'skipped', 'cancelled'],
|
|
455
|
-
transitions: {
|
|
456
|
-
pending: ['queued', 'running', 'skipped', 'cancelled'],
|
|
457
|
-
queued: ['running', 'cancelled'],
|
|
458
|
-
running: ['completed', 'failed', 'cancelled', 'retry_waiting'],
|
|
459
|
-
retry_waiting: ['running', 'failed', 'cancelled'],
|
|
460
|
-
failed: ['retry_waiting'],
|
|
461
|
-
},
|
|
462
|
-
},
|
|
463
|
-
},
|
|
464
|
-
};
|
|
465
|
-
|
|
466
|
-
// ---------------------------------------------------------------------------
|
|
467
|
-
// 7. Swarm Coordinator Agent
|
|
468
|
-
// ---------------------------------------------------------------------------
|
|
469
|
-
const swarmContract = {
|
|
470
|
-
agent_id: 'swarm-coordinator-agent',
|
|
471
|
-
agent_version: '0.1.0',
|
|
472
|
-
classification: 'TASK_COORDINATION',
|
|
473
|
-
description: 'Coordinate fan-out / fan-in execution across multiple agents working toward a shared objective.',
|
|
474
|
-
input: {
|
|
475
|
-
type: 'object',
|
|
476
|
-
required: ['request_id', 'workflow_id', 'objective', 'workers'],
|
|
477
|
-
properties: {
|
|
478
|
-
request_id: { type: 'string', format: 'uuid' },
|
|
479
|
-
workflow_id: { type: 'string', format: 'uuid' },
|
|
480
|
-
objective: {
|
|
481
|
-
type: 'object',
|
|
482
|
-
required: ['id', 'description', 'objective_type'],
|
|
483
|
-
properties: {
|
|
484
|
-
id: { type: 'string' },
|
|
485
|
-
description: { type: 'string' },
|
|
486
|
-
objective_type: { type: 'string', enum: ['research', 'analysis', 'generation', 'execution', 'review'] },
|
|
487
|
-
inputs: { type: 'object' },
|
|
488
|
-
success_criteria: { type: 'array' },
|
|
489
|
-
priority: { type: 'integer', minimum: 0, maximum: 10 },
|
|
490
|
-
},
|
|
491
|
-
},
|
|
492
|
-
workers: {
|
|
493
|
-
type: 'array',
|
|
494
|
-
items: {
|
|
495
|
-
type: 'object',
|
|
496
|
-
required: ['worker_id', 'agent_type', 'task'],
|
|
497
|
-
properties: {
|
|
498
|
-
worker_id: { type: 'string' },
|
|
499
|
-
agent_type: { type: 'string', enum: ['workflow_orchestrator', 'dependency_resolver', 'parallelization'] },
|
|
500
|
-
task: {
|
|
501
|
-
type: 'object',
|
|
502
|
-
required: ['task_id', 'description'],
|
|
503
|
-
properties: {
|
|
504
|
-
task_id: { type: 'string' },
|
|
505
|
-
description: { type: 'string' },
|
|
506
|
-
inputs: { type: 'object' },
|
|
507
|
-
expected_outputs: { type: 'array', items: { type: 'string' } },
|
|
508
|
-
timeout_ms: { type: 'integer' },
|
|
509
|
-
},
|
|
510
|
-
},
|
|
511
|
-
depends_on: { type: 'array', items: { type: 'string' } },
|
|
512
|
-
config: {
|
|
513
|
-
type: 'object',
|
|
514
|
-
properties: {
|
|
515
|
-
max_retries: { type: 'integer', default: 3 },
|
|
516
|
-
retry_delay_ms: { type: 'integer', default: 1000 },
|
|
517
|
-
critical: { type: 'boolean', default: false },
|
|
518
|
-
},
|
|
519
|
-
},
|
|
520
|
-
},
|
|
521
|
-
},
|
|
522
|
-
},
|
|
523
|
-
config: {
|
|
524
|
-
type: 'object',
|
|
525
|
-
properties: {
|
|
526
|
-
max_concurrent_workers: { type: 'integer', default: 8 },
|
|
527
|
-
coordination_timeout_ms: { type: 'integer', default: 300000 },
|
|
528
|
-
consensus_strategy: { type: 'string', enum: ['first_wins', 'last_wins', 'majority', 'weighted_majority', 'merge_all'] },
|
|
529
|
-
continue_on_partial_failure: { type: 'boolean', default: false },
|
|
530
|
-
convergence_threshold: { type: 'number', default: 0.8, minimum: 0, maximum: 1 },
|
|
531
|
-
},
|
|
532
|
-
},
|
|
533
|
-
aggregation: {
|
|
534
|
-
type: 'object',
|
|
535
|
-
properties: {
|
|
536
|
-
mode: { type: 'string', enum: ['combine', 'select_best', 'summarize', 'collect'], default: 'combine' },
|
|
537
|
-
aggregate_fields: { type: 'array', items: { type: 'string' } },
|
|
538
|
-
merge_fields: { type: 'array', items: { type: 'string' } },
|
|
539
|
-
},
|
|
540
|
-
},
|
|
541
|
-
timestamp: { type: 'string', format: 'date-time' },
|
|
542
|
-
},
|
|
543
|
-
},
|
|
544
|
-
output: {
|
|
545
|
-
type: 'object',
|
|
546
|
-
properties: {
|
|
547
|
-
request_id: { type: 'string' },
|
|
548
|
-
workflow_id: { type: 'string' },
|
|
549
|
-
status: { type: 'string', enum: ['success', 'partial_success', 'consensus_reached', 'failed', 'timeout', 'cancelled'] },
|
|
550
|
-
aggregated_output: {
|
|
551
|
-
type: 'object',
|
|
552
|
-
properties: {
|
|
553
|
-
primary: {},
|
|
554
|
-
fields: { type: 'object' },
|
|
555
|
-
consensus: { type: 'object' },
|
|
556
|
-
confidence: { type: 'number' },
|
|
557
|
-
},
|
|
558
|
-
},
|
|
559
|
-
worker_results: { type: 'array' },
|
|
560
|
-
summary: {
|
|
561
|
-
type: 'object',
|
|
562
|
-
properties: {
|
|
563
|
-
total_workers: { type: 'integer' },
|
|
564
|
-
successful_workers: { type: 'integer' },
|
|
565
|
-
failed_workers: { type: 'integer' },
|
|
566
|
-
max_concurrency_achieved: { type: 'integer' },
|
|
567
|
-
total_duration_ms: { type: 'integer' },
|
|
568
|
-
objective_met: { type: 'boolean' },
|
|
569
|
-
},
|
|
570
|
-
},
|
|
571
|
-
issues: { type: 'array' },
|
|
572
|
-
completed_at: { type: 'string', format: 'date-time' },
|
|
573
|
-
},
|
|
574
|
-
},
|
|
575
|
-
};
|
|
576
|
-
|
|
577
|
-
// ---------------------------------------------------------------------------
|
|
578
|
-
// Registry
|
|
579
|
-
// ---------------------------------------------------------------------------
|
|
580
|
-
const AGENT_CONTRACTS = {
|
|
581
|
-
workflow: workflowContract,
|
|
582
|
-
scheduler: schedulerContract,
|
|
583
|
-
dependencies: dependenciesContract,
|
|
584
|
-
retry: retryContract,
|
|
585
|
-
parallel: parallelContract,
|
|
586
|
-
'state-machine': stateMachineContract,
|
|
587
|
-
swarm: swarmContract,
|
|
588
|
-
};
|
|
589
|
-
|
|
590
|
-
module.exports = { AGENT_CONTRACTS };
|