@llm-dev-ops/agentics-cli 1.4.59 → 1.4.68
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 +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,496 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Planner Agent Schemas
|
|
3
|
-
*
|
|
4
|
-
* Purpose: Translate clarified objectives into structured execution plans
|
|
5
|
-
* Classification: PLANNING, STRUCTURAL_SYNTHESIS
|
|
6
|
-
* decision_type: plan_generation
|
|
7
|
-
*
|
|
8
|
-
* Scope:
|
|
9
|
-
* - Generate ordered plan steps
|
|
10
|
-
* - Identify dependencies
|
|
11
|
-
* - Define sequencing
|
|
12
|
-
*
|
|
13
|
-
* Must Never:
|
|
14
|
-
* - Execute steps
|
|
15
|
-
* - Assign agents
|
|
16
|
-
* - Allocate resources
|
|
17
|
-
* - Schedule execution
|
|
18
|
-
*/
|
|
19
|
-
import { z } from 'zod';
|
|
20
|
-
/**
|
|
21
|
-
* Dependency between plan steps
|
|
22
|
-
*/
|
|
23
|
-
export declare const DependencySchema: z.ZodObject<{
|
|
24
|
-
/** ID of the step this depends on */
|
|
25
|
-
depends_on: z.ZodString;
|
|
26
|
-
/** Type of dependency */
|
|
27
|
-
type: z.ZodEnum<["blocking", "data", "resource", "sequential"]>;
|
|
28
|
-
/** Optional: specific output field required from dependency */
|
|
29
|
-
required_output: z.ZodOptional<z.ZodString>;
|
|
30
|
-
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
type: "blocking" | "data" | "resource" | "sequential";
|
|
32
|
-
depends_on: string;
|
|
33
|
-
required_output?: string | undefined;
|
|
34
|
-
}, {
|
|
35
|
-
type: "blocking" | "data" | "resource" | "sequential";
|
|
36
|
-
depends_on: string;
|
|
37
|
-
required_output?: string | undefined;
|
|
38
|
-
}>;
|
|
39
|
-
export type Dependency = z.infer<typeof DependencySchema>;
|
|
40
|
-
/**
|
|
41
|
-
* Single step in an execution plan
|
|
42
|
-
*/
|
|
43
|
-
export declare const PlanStepSchema: z.ZodObject<{
|
|
44
|
-
/** Unique step identifier within the plan */
|
|
45
|
-
step_id: z.ZodString;
|
|
46
|
-
/** Human-readable step name */
|
|
47
|
-
name: z.ZodString;
|
|
48
|
-
/** Detailed description of what this step accomplishes */
|
|
49
|
-
description: z.ZodString;
|
|
50
|
-
/** Order in sequence (0-indexed) */
|
|
51
|
-
sequence_order: z.ZodNumber;
|
|
52
|
-
/** Dependencies on other steps */
|
|
53
|
-
dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
54
|
-
/** ID of the step this depends on */
|
|
55
|
-
depends_on: z.ZodString;
|
|
56
|
-
/** Type of dependency */
|
|
57
|
-
type: z.ZodEnum<["blocking", "data", "resource", "sequential"]>;
|
|
58
|
-
/** Optional: specific output field required from dependency */
|
|
59
|
-
required_output: z.ZodOptional<z.ZodString>;
|
|
60
|
-
}, "strip", z.ZodTypeAny, {
|
|
61
|
-
type: "blocking" | "data" | "resource" | "sequential";
|
|
62
|
-
depends_on: string;
|
|
63
|
-
required_output?: string | undefined;
|
|
64
|
-
}, {
|
|
65
|
-
type: "blocking" | "data" | "resource" | "sequential";
|
|
66
|
-
depends_on: string;
|
|
67
|
-
required_output?: string | undefined;
|
|
68
|
-
}>, "many">>;
|
|
69
|
-
/** Expected inputs for this step */
|
|
70
|
-
expected_inputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
71
|
-
name: z.ZodString;
|
|
72
|
-
type: z.ZodString;
|
|
73
|
-
description: z.ZodString;
|
|
74
|
-
required: z.ZodDefault<z.ZodBoolean>;
|
|
75
|
-
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
type: string;
|
|
77
|
-
name: string;
|
|
78
|
-
description: string;
|
|
79
|
-
required: boolean;
|
|
80
|
-
}, {
|
|
81
|
-
type: string;
|
|
82
|
-
name: string;
|
|
83
|
-
description: string;
|
|
84
|
-
required?: boolean | undefined;
|
|
85
|
-
}>, "many">>;
|
|
86
|
-
/** Expected outputs from this step */
|
|
87
|
-
expected_outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
88
|
-
name: z.ZodString;
|
|
89
|
-
type: z.ZodString;
|
|
90
|
-
description: z.ZodString;
|
|
91
|
-
}, "strip", z.ZodTypeAny, {
|
|
92
|
-
type: string;
|
|
93
|
-
name: string;
|
|
94
|
-
description: string;
|
|
95
|
-
}, {
|
|
96
|
-
type: string;
|
|
97
|
-
name: string;
|
|
98
|
-
description: string;
|
|
99
|
-
}>, "many">>;
|
|
100
|
-
/** Classification tags for the step */
|
|
101
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
102
|
-
/** Constraints that apply to this step (informational only) */
|
|
103
|
-
constraints: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
104
|
-
/** Whether this step can be parallelized with siblings */
|
|
105
|
-
parallelizable: z.ZodDefault<z.ZodBoolean>;
|
|
106
|
-
/** Criticality level */
|
|
107
|
-
criticality: z.ZodDefault<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
108
|
-
}, "strip", z.ZodTypeAny, {
|
|
109
|
-
name: string;
|
|
110
|
-
description: string;
|
|
111
|
-
step_id: string;
|
|
112
|
-
sequence_order: number;
|
|
113
|
-
dependencies: {
|
|
114
|
-
type: "blocking" | "data" | "resource" | "sequential";
|
|
115
|
-
depends_on: string;
|
|
116
|
-
required_output?: string | undefined;
|
|
117
|
-
}[];
|
|
118
|
-
expected_inputs: {
|
|
119
|
-
type: string;
|
|
120
|
-
name: string;
|
|
121
|
-
description: string;
|
|
122
|
-
required: boolean;
|
|
123
|
-
}[];
|
|
124
|
-
expected_outputs: {
|
|
125
|
-
type: string;
|
|
126
|
-
name: string;
|
|
127
|
-
description: string;
|
|
128
|
-
}[];
|
|
129
|
-
tags: string[];
|
|
130
|
-
constraints: string[];
|
|
131
|
-
parallelizable: boolean;
|
|
132
|
-
criticality: "low" | "medium" | "high" | "critical";
|
|
133
|
-
}, {
|
|
134
|
-
name: string;
|
|
135
|
-
description: string;
|
|
136
|
-
step_id: string;
|
|
137
|
-
sequence_order: number;
|
|
138
|
-
dependencies?: {
|
|
139
|
-
type: "blocking" | "data" | "resource" | "sequential";
|
|
140
|
-
depends_on: string;
|
|
141
|
-
required_output?: string | undefined;
|
|
142
|
-
}[] | undefined;
|
|
143
|
-
expected_inputs?: {
|
|
144
|
-
type: string;
|
|
145
|
-
name: string;
|
|
146
|
-
description: string;
|
|
147
|
-
required?: boolean | undefined;
|
|
148
|
-
}[] | undefined;
|
|
149
|
-
expected_outputs?: {
|
|
150
|
-
type: string;
|
|
151
|
-
name: string;
|
|
152
|
-
description: string;
|
|
153
|
-
}[] | undefined;
|
|
154
|
-
tags?: string[] | undefined;
|
|
155
|
-
constraints?: string[] | undefined;
|
|
156
|
-
parallelizable?: boolean | undefined;
|
|
157
|
-
criticality?: "low" | "medium" | "high" | "critical" | undefined;
|
|
158
|
-
}>;
|
|
159
|
-
export type PlanStep = z.infer<typeof PlanStepSchema>;
|
|
160
|
-
/**
|
|
161
|
-
* Planner Agent Input Schema
|
|
162
|
-
*/
|
|
163
|
-
export declare const PlannerInputSchema: z.ZodObject<{
|
|
164
|
-
/** The clarified objective to plan for */
|
|
165
|
-
objective: z.ZodString;
|
|
166
|
-
/** Optional context about the domain/system */
|
|
167
|
-
context: z.ZodOptional<z.ZodObject<{
|
|
168
|
-
domain: z.ZodOptional<z.ZodString>;
|
|
169
|
-
existing_components: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
170
|
-
constraints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
171
|
-
preferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
172
|
-
}, "strip", z.ZodTypeAny, {
|
|
173
|
-
constraints?: string[] | undefined;
|
|
174
|
-
domain?: string | undefined;
|
|
175
|
-
existing_components?: string[] | undefined;
|
|
176
|
-
preferences?: Record<string, string> | undefined;
|
|
177
|
-
}, {
|
|
178
|
-
constraints?: string[] | undefined;
|
|
179
|
-
domain?: string | undefined;
|
|
180
|
-
existing_components?: string[] | undefined;
|
|
181
|
-
preferences?: Record<string, string> | undefined;
|
|
182
|
-
}>>;
|
|
183
|
-
/** Optional hints about expected complexity */
|
|
184
|
-
hints: z.ZodOptional<z.ZodObject<{
|
|
185
|
-
expected_step_count: z.ZodOptional<z.ZodNumber>;
|
|
186
|
-
max_depth: z.ZodOptional<z.ZodNumber>;
|
|
187
|
-
focus_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
188
|
-
}, "strip", z.ZodTypeAny, {
|
|
189
|
-
expected_step_count?: number | undefined;
|
|
190
|
-
max_depth?: number | undefined;
|
|
191
|
-
focus_areas?: string[] | undefined;
|
|
192
|
-
}, {
|
|
193
|
-
expected_step_count?: number | undefined;
|
|
194
|
-
max_depth?: number | undefined;
|
|
195
|
-
focus_areas?: string[] | undefined;
|
|
196
|
-
}>>;
|
|
197
|
-
/** Request ID for tracing */
|
|
198
|
-
request_id: z.ZodOptional<z.ZodString>;
|
|
199
|
-
}, "strip", z.ZodTypeAny, {
|
|
200
|
-
objective: string;
|
|
201
|
-
context?: {
|
|
202
|
-
constraints?: string[] | undefined;
|
|
203
|
-
domain?: string | undefined;
|
|
204
|
-
existing_components?: string[] | undefined;
|
|
205
|
-
preferences?: Record<string, string> | undefined;
|
|
206
|
-
} | undefined;
|
|
207
|
-
hints?: {
|
|
208
|
-
expected_step_count?: number | undefined;
|
|
209
|
-
max_depth?: number | undefined;
|
|
210
|
-
focus_areas?: string[] | undefined;
|
|
211
|
-
} | undefined;
|
|
212
|
-
request_id?: string | undefined;
|
|
213
|
-
}, {
|
|
214
|
-
objective: string;
|
|
215
|
-
context?: {
|
|
216
|
-
constraints?: string[] | undefined;
|
|
217
|
-
domain?: string | undefined;
|
|
218
|
-
existing_components?: string[] | undefined;
|
|
219
|
-
preferences?: Record<string, string> | undefined;
|
|
220
|
-
} | undefined;
|
|
221
|
-
hints?: {
|
|
222
|
-
expected_step_count?: number | undefined;
|
|
223
|
-
max_depth?: number | undefined;
|
|
224
|
-
focus_areas?: string[] | undefined;
|
|
225
|
-
} | undefined;
|
|
226
|
-
request_id?: string | undefined;
|
|
227
|
-
}>;
|
|
228
|
-
export type PlannerInput = z.infer<typeof PlannerInputSchema>;
|
|
229
|
-
/**
|
|
230
|
-
* Planner Agent Output Schema
|
|
231
|
-
*/
|
|
232
|
-
export declare const PlannerOutputSchema: z.ZodObject<{
|
|
233
|
-
/** Generated plan identifier */
|
|
234
|
-
plan_id: z.ZodString;
|
|
235
|
-
/** The original objective (echoed for verification) */
|
|
236
|
-
objective_summary: z.ZodString;
|
|
237
|
-
/** Ordered list of plan steps */
|
|
238
|
-
steps: z.ZodArray<z.ZodObject<{
|
|
239
|
-
/** Unique step identifier within the plan */
|
|
240
|
-
step_id: z.ZodString;
|
|
241
|
-
/** Human-readable step name */
|
|
242
|
-
name: z.ZodString;
|
|
243
|
-
/** Detailed description of what this step accomplishes */
|
|
244
|
-
description: z.ZodString;
|
|
245
|
-
/** Order in sequence (0-indexed) */
|
|
246
|
-
sequence_order: z.ZodNumber;
|
|
247
|
-
/** Dependencies on other steps */
|
|
248
|
-
dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
249
|
-
/** ID of the step this depends on */
|
|
250
|
-
depends_on: z.ZodString;
|
|
251
|
-
/** Type of dependency */
|
|
252
|
-
type: z.ZodEnum<["blocking", "data", "resource", "sequential"]>;
|
|
253
|
-
/** Optional: specific output field required from dependency */
|
|
254
|
-
required_output: z.ZodOptional<z.ZodString>;
|
|
255
|
-
}, "strip", z.ZodTypeAny, {
|
|
256
|
-
type: "blocking" | "data" | "resource" | "sequential";
|
|
257
|
-
depends_on: string;
|
|
258
|
-
required_output?: string | undefined;
|
|
259
|
-
}, {
|
|
260
|
-
type: "blocking" | "data" | "resource" | "sequential";
|
|
261
|
-
depends_on: string;
|
|
262
|
-
required_output?: string | undefined;
|
|
263
|
-
}>, "many">>;
|
|
264
|
-
/** Expected inputs for this step */
|
|
265
|
-
expected_inputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
266
|
-
name: z.ZodString;
|
|
267
|
-
type: z.ZodString;
|
|
268
|
-
description: z.ZodString;
|
|
269
|
-
required: z.ZodDefault<z.ZodBoolean>;
|
|
270
|
-
}, "strip", z.ZodTypeAny, {
|
|
271
|
-
type: string;
|
|
272
|
-
name: string;
|
|
273
|
-
description: string;
|
|
274
|
-
required: boolean;
|
|
275
|
-
}, {
|
|
276
|
-
type: string;
|
|
277
|
-
name: string;
|
|
278
|
-
description: string;
|
|
279
|
-
required?: boolean | undefined;
|
|
280
|
-
}>, "many">>;
|
|
281
|
-
/** Expected outputs from this step */
|
|
282
|
-
expected_outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
283
|
-
name: z.ZodString;
|
|
284
|
-
type: z.ZodString;
|
|
285
|
-
description: z.ZodString;
|
|
286
|
-
}, "strip", z.ZodTypeAny, {
|
|
287
|
-
type: string;
|
|
288
|
-
name: string;
|
|
289
|
-
description: string;
|
|
290
|
-
}, {
|
|
291
|
-
type: string;
|
|
292
|
-
name: string;
|
|
293
|
-
description: string;
|
|
294
|
-
}>, "many">>;
|
|
295
|
-
/** Classification tags for the step */
|
|
296
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
297
|
-
/** Constraints that apply to this step (informational only) */
|
|
298
|
-
constraints: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
299
|
-
/** Whether this step can be parallelized with siblings */
|
|
300
|
-
parallelizable: z.ZodDefault<z.ZodBoolean>;
|
|
301
|
-
/** Criticality level */
|
|
302
|
-
criticality: z.ZodDefault<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
303
|
-
}, "strip", z.ZodTypeAny, {
|
|
304
|
-
name: string;
|
|
305
|
-
description: string;
|
|
306
|
-
step_id: string;
|
|
307
|
-
sequence_order: number;
|
|
308
|
-
dependencies: {
|
|
309
|
-
type: "blocking" | "data" | "resource" | "sequential";
|
|
310
|
-
depends_on: string;
|
|
311
|
-
required_output?: string | undefined;
|
|
312
|
-
}[];
|
|
313
|
-
expected_inputs: {
|
|
314
|
-
type: string;
|
|
315
|
-
name: string;
|
|
316
|
-
description: string;
|
|
317
|
-
required: boolean;
|
|
318
|
-
}[];
|
|
319
|
-
expected_outputs: {
|
|
320
|
-
type: string;
|
|
321
|
-
name: string;
|
|
322
|
-
description: string;
|
|
323
|
-
}[];
|
|
324
|
-
tags: string[];
|
|
325
|
-
constraints: string[];
|
|
326
|
-
parallelizable: boolean;
|
|
327
|
-
criticality: "low" | "medium" | "high" | "critical";
|
|
328
|
-
}, {
|
|
329
|
-
name: string;
|
|
330
|
-
description: string;
|
|
331
|
-
step_id: string;
|
|
332
|
-
sequence_order: number;
|
|
333
|
-
dependencies?: {
|
|
334
|
-
type: "blocking" | "data" | "resource" | "sequential";
|
|
335
|
-
depends_on: string;
|
|
336
|
-
required_output?: string | undefined;
|
|
337
|
-
}[] | undefined;
|
|
338
|
-
expected_inputs?: {
|
|
339
|
-
type: string;
|
|
340
|
-
name: string;
|
|
341
|
-
description: string;
|
|
342
|
-
required?: boolean | undefined;
|
|
343
|
-
}[] | undefined;
|
|
344
|
-
expected_outputs?: {
|
|
345
|
-
type: string;
|
|
346
|
-
name: string;
|
|
347
|
-
description: string;
|
|
348
|
-
}[] | undefined;
|
|
349
|
-
tags?: string[] | undefined;
|
|
350
|
-
constraints?: string[] | undefined;
|
|
351
|
-
parallelizable?: boolean | undefined;
|
|
352
|
-
criticality?: "low" | "medium" | "high" | "critical" | undefined;
|
|
353
|
-
}>, "many">;
|
|
354
|
-
/** Dependency graph as adjacency list */
|
|
355
|
-
dependency_graph: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
|
|
356
|
-
/** Critical path through the plan (longest dependency chain) */
|
|
357
|
-
critical_path: z.ZodArray<z.ZodString, "many">;
|
|
358
|
-
/** Steps that can execute in parallel at each phase */
|
|
359
|
-
parallel_groups: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
|
|
360
|
-
/** Analysis metadata */
|
|
361
|
-
analysis: z.ZodObject<{
|
|
362
|
-
/** Total number of steps */
|
|
363
|
-
total_steps: z.ZodNumber;
|
|
364
|
-
/** Maximum dependency depth */
|
|
365
|
-
max_depth: z.ZodNumber;
|
|
366
|
-
/** Number of parallelizable groups */
|
|
367
|
-
parallel_opportunities: z.ZodNumber;
|
|
368
|
-
/** Identified risks or concerns (informational) */
|
|
369
|
-
risks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
370
|
-
description: z.ZodString;
|
|
371
|
-
severity: z.ZodEnum<["low", "medium", "high"]>;
|
|
372
|
-
affected_steps: z.ZodArray<z.ZodString, "many">;
|
|
373
|
-
}, "strip", z.ZodTypeAny, {
|
|
374
|
-
description: string;
|
|
375
|
-
severity: "low" | "medium" | "high";
|
|
376
|
-
affected_steps: string[];
|
|
377
|
-
}, {
|
|
378
|
-
description: string;
|
|
379
|
-
severity: "low" | "medium" | "high";
|
|
380
|
-
affected_steps: string[];
|
|
381
|
-
}>, "many">>;
|
|
382
|
-
/** Assumptions made during planning */
|
|
383
|
-
assumptions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
384
|
-
}, "strip", z.ZodTypeAny, {
|
|
385
|
-
max_depth: number;
|
|
386
|
-
total_steps: number;
|
|
387
|
-
parallel_opportunities: number;
|
|
388
|
-
risks: {
|
|
389
|
-
description: string;
|
|
390
|
-
severity: "low" | "medium" | "high";
|
|
391
|
-
affected_steps: string[];
|
|
392
|
-
}[];
|
|
393
|
-
assumptions: string[];
|
|
394
|
-
}, {
|
|
395
|
-
max_depth: number;
|
|
396
|
-
total_steps: number;
|
|
397
|
-
parallel_opportunities: number;
|
|
398
|
-
risks?: {
|
|
399
|
-
description: string;
|
|
400
|
-
severity: "low" | "medium" | "high";
|
|
401
|
-
affected_steps: string[];
|
|
402
|
-
}[] | undefined;
|
|
403
|
-
assumptions?: string[] | undefined;
|
|
404
|
-
}>;
|
|
405
|
-
/** Plan version for tracking iterations */
|
|
406
|
-
version: z.ZodDefault<z.ZodString>;
|
|
407
|
-
}, "strip", z.ZodTypeAny, {
|
|
408
|
-
version: string;
|
|
409
|
-
plan_id: string;
|
|
410
|
-
objective_summary: string;
|
|
411
|
-
steps: {
|
|
412
|
-
name: string;
|
|
413
|
-
description: string;
|
|
414
|
-
step_id: string;
|
|
415
|
-
sequence_order: number;
|
|
416
|
-
dependencies: {
|
|
417
|
-
type: "blocking" | "data" | "resource" | "sequential";
|
|
418
|
-
depends_on: string;
|
|
419
|
-
required_output?: string | undefined;
|
|
420
|
-
}[];
|
|
421
|
-
expected_inputs: {
|
|
422
|
-
type: string;
|
|
423
|
-
name: string;
|
|
424
|
-
description: string;
|
|
425
|
-
required: boolean;
|
|
426
|
-
}[];
|
|
427
|
-
expected_outputs: {
|
|
428
|
-
type: string;
|
|
429
|
-
name: string;
|
|
430
|
-
description: string;
|
|
431
|
-
}[];
|
|
432
|
-
tags: string[];
|
|
433
|
-
constraints: string[];
|
|
434
|
-
parallelizable: boolean;
|
|
435
|
-
criticality: "low" | "medium" | "high" | "critical";
|
|
436
|
-
}[];
|
|
437
|
-
dependency_graph: Record<string, string[]>;
|
|
438
|
-
critical_path: string[];
|
|
439
|
-
parallel_groups: string[][];
|
|
440
|
-
analysis: {
|
|
441
|
-
max_depth: number;
|
|
442
|
-
total_steps: number;
|
|
443
|
-
parallel_opportunities: number;
|
|
444
|
-
risks: {
|
|
445
|
-
description: string;
|
|
446
|
-
severity: "low" | "medium" | "high";
|
|
447
|
-
affected_steps: string[];
|
|
448
|
-
}[];
|
|
449
|
-
assumptions: string[];
|
|
450
|
-
};
|
|
451
|
-
}, {
|
|
452
|
-
plan_id: string;
|
|
453
|
-
objective_summary: string;
|
|
454
|
-
steps: {
|
|
455
|
-
name: string;
|
|
456
|
-
description: string;
|
|
457
|
-
step_id: string;
|
|
458
|
-
sequence_order: number;
|
|
459
|
-
dependencies?: {
|
|
460
|
-
type: "blocking" | "data" | "resource" | "sequential";
|
|
461
|
-
depends_on: string;
|
|
462
|
-
required_output?: string | undefined;
|
|
463
|
-
}[] | undefined;
|
|
464
|
-
expected_inputs?: {
|
|
465
|
-
type: string;
|
|
466
|
-
name: string;
|
|
467
|
-
description: string;
|
|
468
|
-
required?: boolean | undefined;
|
|
469
|
-
}[] | undefined;
|
|
470
|
-
expected_outputs?: {
|
|
471
|
-
type: string;
|
|
472
|
-
name: string;
|
|
473
|
-
description: string;
|
|
474
|
-
}[] | undefined;
|
|
475
|
-
tags?: string[] | undefined;
|
|
476
|
-
constraints?: string[] | undefined;
|
|
477
|
-
parallelizable?: boolean | undefined;
|
|
478
|
-
criticality?: "low" | "medium" | "high" | "critical" | undefined;
|
|
479
|
-
}[];
|
|
480
|
-
dependency_graph: Record<string, string[]>;
|
|
481
|
-
critical_path: string[];
|
|
482
|
-
parallel_groups: string[][];
|
|
483
|
-
analysis: {
|
|
484
|
-
max_depth: number;
|
|
485
|
-
total_steps: number;
|
|
486
|
-
parallel_opportunities: number;
|
|
487
|
-
risks?: {
|
|
488
|
-
description: string;
|
|
489
|
-
severity: "low" | "medium" | "high";
|
|
490
|
-
affected_steps: string[];
|
|
491
|
-
}[] | undefined;
|
|
492
|
-
assumptions?: string[] | undefined;
|
|
493
|
-
};
|
|
494
|
-
version?: string | undefined;
|
|
495
|
-
}>;
|
|
496
|
-
export type PlannerOutput = z.infer<typeof PlannerOutputSchema>;
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Planner Agent Schemas
|
|
4
|
-
*
|
|
5
|
-
* Purpose: Translate clarified objectives into structured execution plans
|
|
6
|
-
* Classification: PLANNING, STRUCTURAL_SYNTHESIS
|
|
7
|
-
* decision_type: plan_generation
|
|
8
|
-
*
|
|
9
|
-
* Scope:
|
|
10
|
-
* - Generate ordered plan steps
|
|
11
|
-
* - Identify dependencies
|
|
12
|
-
* - Define sequencing
|
|
13
|
-
*
|
|
14
|
-
* Must Never:
|
|
15
|
-
* - Execute steps
|
|
16
|
-
* - Assign agents
|
|
17
|
-
* - Allocate resources
|
|
18
|
-
* - Schedule execution
|
|
19
|
-
*/
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
exports.PlannerOutputSchema = exports.PlannerInputSchema = exports.PlanStepSchema = exports.DependencySchema = void 0;
|
|
22
|
-
const zod_1 = require("zod");
|
|
23
|
-
/**
|
|
24
|
-
* Dependency between plan steps
|
|
25
|
-
*/
|
|
26
|
-
exports.DependencySchema = zod_1.z.object({
|
|
27
|
-
/** ID of the step this depends on */
|
|
28
|
-
depends_on: zod_1.z.string(),
|
|
29
|
-
/** Type of dependency */
|
|
30
|
-
type: zod_1.z.enum([
|
|
31
|
-
'blocking', // Must complete before this step starts
|
|
32
|
-
'data', // Requires output data from dependency
|
|
33
|
-
'resource', // Shares resource that can't be concurrent
|
|
34
|
-
'sequential', // Must follow in sequence (order matters)
|
|
35
|
-
]),
|
|
36
|
-
/** Optional: specific output field required from dependency */
|
|
37
|
-
required_output: zod_1.z.string().optional(),
|
|
38
|
-
});
|
|
39
|
-
/**
|
|
40
|
-
* Single step in an execution plan
|
|
41
|
-
*/
|
|
42
|
-
exports.PlanStepSchema = zod_1.z.object({
|
|
43
|
-
/** Unique step identifier within the plan */
|
|
44
|
-
step_id: zod_1.z.string().min(1),
|
|
45
|
-
/** Human-readable step name */
|
|
46
|
-
name: zod_1.z.string().min(1).max(200),
|
|
47
|
-
/** Detailed description of what this step accomplishes */
|
|
48
|
-
description: zod_1.z.string().min(1),
|
|
49
|
-
/** Order in sequence (0-indexed) */
|
|
50
|
-
sequence_order: zod_1.z.number().int().nonnegative(),
|
|
51
|
-
/** Dependencies on other steps */
|
|
52
|
-
dependencies: zod_1.z.array(exports.DependencySchema).default([]),
|
|
53
|
-
/** Expected inputs for this step */
|
|
54
|
-
expected_inputs: zod_1.z.array(zod_1.z.object({
|
|
55
|
-
name: zod_1.z.string(),
|
|
56
|
-
type: zod_1.z.string(),
|
|
57
|
-
description: zod_1.z.string(),
|
|
58
|
-
required: zod_1.z.boolean().default(true),
|
|
59
|
-
})).default([]),
|
|
60
|
-
/** Expected outputs from this step */
|
|
61
|
-
expected_outputs: zod_1.z.array(zod_1.z.object({
|
|
62
|
-
name: zod_1.z.string(),
|
|
63
|
-
type: zod_1.z.string(),
|
|
64
|
-
description: zod_1.z.string(),
|
|
65
|
-
})).default([]),
|
|
66
|
-
/** Classification tags for the step */
|
|
67
|
-
tags: zod_1.z.array(zod_1.z.string()).default([]),
|
|
68
|
-
/** Constraints that apply to this step (informational only) */
|
|
69
|
-
constraints: zod_1.z.array(zod_1.z.string()).default([]),
|
|
70
|
-
/** Whether this step can be parallelized with siblings */
|
|
71
|
-
parallelizable: zod_1.z.boolean().default(false),
|
|
72
|
-
/** Criticality level */
|
|
73
|
-
criticality: zod_1.z.enum(['low', 'medium', 'high', 'critical']).default('medium'),
|
|
74
|
-
});
|
|
75
|
-
/**
|
|
76
|
-
* Planner Agent Input Schema
|
|
77
|
-
*/
|
|
78
|
-
exports.PlannerInputSchema = zod_1.z.object({
|
|
79
|
-
/** The clarified objective to plan for */
|
|
80
|
-
objective: zod_1.z.string().min(1).max(10000),
|
|
81
|
-
/** Optional context about the domain/system */
|
|
82
|
-
context: zod_1.z.object({
|
|
83
|
-
domain: zod_1.z.string().optional(),
|
|
84
|
-
existing_components: zod_1.z.array(zod_1.z.string()).optional(),
|
|
85
|
-
constraints: zod_1.z.array(zod_1.z.string()).optional(),
|
|
86
|
-
preferences: zod_1.z.record(zod_1.z.string()).optional(),
|
|
87
|
-
}).optional(),
|
|
88
|
-
/** Optional hints about expected complexity */
|
|
89
|
-
hints: zod_1.z.object({
|
|
90
|
-
expected_step_count: zod_1.z.number().int().positive().optional(),
|
|
91
|
-
max_depth: zod_1.z.number().int().positive().optional(),
|
|
92
|
-
focus_areas: zod_1.z.array(zod_1.z.string()).optional(),
|
|
93
|
-
}).optional(),
|
|
94
|
-
/** Request ID for tracing */
|
|
95
|
-
request_id: zod_1.z.string().uuid().optional(),
|
|
96
|
-
});
|
|
97
|
-
/**
|
|
98
|
-
* Planner Agent Output Schema
|
|
99
|
-
*/
|
|
100
|
-
exports.PlannerOutputSchema = zod_1.z.object({
|
|
101
|
-
/** Generated plan identifier */
|
|
102
|
-
plan_id: zod_1.z.string().uuid(),
|
|
103
|
-
/** The original objective (echoed for verification) */
|
|
104
|
-
objective_summary: zod_1.z.string(),
|
|
105
|
-
/** Ordered list of plan steps */
|
|
106
|
-
steps: zod_1.z.array(exports.PlanStepSchema).min(1),
|
|
107
|
-
/** Dependency graph as adjacency list */
|
|
108
|
-
dependency_graph: zod_1.z.record(zod_1.z.array(zod_1.z.string())),
|
|
109
|
-
/** Critical path through the plan (longest dependency chain) */
|
|
110
|
-
critical_path: zod_1.z.array(zod_1.z.string()),
|
|
111
|
-
/** Steps that can execute in parallel at each phase */
|
|
112
|
-
parallel_groups: zod_1.z.array(zod_1.z.array(zod_1.z.string())),
|
|
113
|
-
/** Analysis metadata */
|
|
114
|
-
analysis: zod_1.z.object({
|
|
115
|
-
/** Total number of steps */
|
|
116
|
-
total_steps: zod_1.z.number().int().nonnegative(),
|
|
117
|
-
/** Maximum dependency depth */
|
|
118
|
-
max_depth: zod_1.z.number().int().nonnegative(),
|
|
119
|
-
/** Number of parallelizable groups */
|
|
120
|
-
parallel_opportunities: zod_1.z.number().int().nonnegative(),
|
|
121
|
-
/** Identified risks or concerns (informational) */
|
|
122
|
-
risks: zod_1.z.array(zod_1.z.object({
|
|
123
|
-
description: zod_1.z.string(),
|
|
124
|
-
severity: zod_1.z.enum(['low', 'medium', 'high']),
|
|
125
|
-
affected_steps: zod_1.z.array(zod_1.z.string()),
|
|
126
|
-
})).default([]),
|
|
127
|
-
/** Assumptions made during planning */
|
|
128
|
-
assumptions: zod_1.z.array(zod_1.z.string()).default([]),
|
|
129
|
-
}),
|
|
130
|
-
/** Plan version for tracking iterations */
|
|
131
|
-
version: zod_1.z.string().default('1.0.0'),
|
|
132
|
-
});
|
|
133
|
-
//# sourceMappingURL=planner-schemas.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"planner-schemas.js","sourceRoot":"","sources":["../../../../../services/agents/contracts/planner-schemas.ts"],"names":[],"mappings":"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"}
|