@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,238 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared text-analysis utilities used by all agents in heuristic (no-API-key) mode.
|
|
3
|
-
* Extracts structured information from the objective string so that agents can
|
|
4
|
-
* produce contextual, domain-specific output instead of canned responses.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
export interface TextAnalysis {
|
|
8
|
-
/** Key topics / noun-phrases extracted from the objective */
|
|
9
|
-
topics: string[];
|
|
10
|
-
/** Primary domain: technology | business | operations | compliance | strategy */
|
|
11
|
-
domain: string;
|
|
12
|
-
/** Action type: migration | implementation | evaluation | optimization | transformation | integration | general */
|
|
13
|
-
actionType: string;
|
|
14
|
-
/** Named entities (technologies, products, standards) */
|
|
15
|
-
entities: string[];
|
|
16
|
-
/** Detected constraints (timeline, budget, regulatory, resources) */
|
|
17
|
-
constraints: string[];
|
|
18
|
-
/** Risk signals present in the text */
|
|
19
|
-
riskSignals: string[];
|
|
20
|
-
/** Positive / opportunity signals */
|
|
21
|
-
positiveSignals: string[];
|
|
22
|
-
/** Overall complexity assessment */
|
|
23
|
-
complexity: "low" | "medium" | "high";
|
|
24
|
-
/** Word count */
|
|
25
|
-
wordCount: number;
|
|
26
|
-
/** Individual sentences */
|
|
27
|
-
sentences: string[];
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
// ---------------------------------------------------------------------------
|
|
31
|
-
// Entity / keyword dictionaries
|
|
32
|
-
// ---------------------------------------------------------------------------
|
|
33
|
-
|
|
34
|
-
const TECH_ENTITIES_RE =
|
|
35
|
-
/\b(AWS|Amazon Web Services|Azure|GCP|Google Cloud|Kubernetes|K8s|Docker|PostgreSQL|Postgres|MySQL|MariaDB|MongoDB|Redis|Kafka|Elasticsearch|Grafana|Prometheus|Datadog|Splunk|Terraform|Ansible|Jenkins|GitHub Actions|GitLab CI|CircleCI|Snowflake|Databricks|BigQuery|Redshift|S3|EC2|Lambda|RDS|Aurora|DynamoDB|ECS|EKS|Fargate|SageMaker|Cloud Run|Cloud Functions|Vercel|Netlify|Cloudflare|Nginx|Apache|React|Angular|Vue|Next\.js|Node\.js|Python|Java|Go|Rust|TypeScript|JavaScript|\.NET|C#|Ruby|Rails|Django|Flask|Spring|Kotlin|Swift|Flutter|React Native|TensorFlow|PyTorch|OpenAI|LLM|GPT|ML|AI|CI\/CD|microservices|monolith|serverless|containerization|API gateway|load balancer|CDN|VPC|VPN|IAM|SSO|OAuth|JWT|GraphQL|REST|gRPC|WebSocket|message queue|event-driven|data lake|data warehouse|ETL|ELT|data pipeline|Airflow|dbt|Fivetran|Looker|Tableau|Power BI|SAP|Salesforce|Workday|ServiceNow|Oracle|SQL Server|Cassandra|Neo4j|InfluxDB)\b/gi;
|
|
36
|
-
|
|
37
|
-
const COMPLIANCE_ENTITIES_RE =
|
|
38
|
-
/\b(PCI[\s-]?DSS|PCI|HIPAA|GDPR|SOC\s*2|SOX|CCPA|FERPA|ISO[\s-]?27001|NIST|FedRAMP|FISMA|HITRUST|ITAR|EAR|AML|KYC|Basel\s*III|MiFID|PSD2|DORA)\b/gi;
|
|
39
|
-
|
|
40
|
-
// ---------------------------------------------------------------------------
|
|
41
|
-
// Domain detection
|
|
42
|
-
// ---------------------------------------------------------------------------
|
|
43
|
-
|
|
44
|
-
const DOMAIN_SIGNALS: Record<string, RegExp[]> = {
|
|
45
|
-
technology: [
|
|
46
|
-
/\b(migrat\w*|deploy\w*|architect\w*|infrastruct\w*|server\w*|database|API|backend|frontend|devops|cloud\w*|platform|system\w*|software|code\w*|application|service\w*|container\w*|cluster|pipeline|CI\/CD|microservice\w*)/i,
|
|
47
|
-
],
|
|
48
|
-
compliance: [
|
|
49
|
-
/\b(compliance|regulat\w*|audit\w*|governance|privacy|data protection|security standard|certific\w*|accreditat\w*|PCI|HIPAA|GDPR|SOC|SOX)/i,
|
|
50
|
-
],
|
|
51
|
-
business: [
|
|
52
|
-
/\b(revenue|profit\w*|market\w*|customer\w*|sales|pricing|ROI|cost.?benefit|business model|go.?to.?market|acquisition|retention|churn|growth strategy|competitive|monetiz\w*)/i,
|
|
53
|
-
],
|
|
54
|
-
operations: [
|
|
55
|
-
/\b(process\w*|workflow\w*|team\w*|staffing|hiring|on.?boarding|SLA|incident|monitoring|support|operations|capacity|resource allocation|vendor management|procurement)/i,
|
|
56
|
-
],
|
|
57
|
-
strategy: [
|
|
58
|
-
/\b(strateg\w*|roadmap|vision|long.?term|initiative|transform\w*|digital transformation|moderniz\w*|consolidat\w*|re.?org\w*|merger|acquisition|partnership)/i,
|
|
59
|
-
],
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
function detectDomain(text: string): string {
|
|
63
|
-
const lower = text.toLowerCase();
|
|
64
|
-
const scores: Record<string, number> = {};
|
|
65
|
-
for (const [domain, patterns] of Object.entries(DOMAIN_SIGNALS)) {
|
|
66
|
-
scores[domain] = patterns.reduce(
|
|
67
|
-
(n, re) => n + (lower.match(re) || []).length,
|
|
68
|
-
0
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
const best = Object.entries(scores).sort((a, b) => b[1] - a[1])[0];
|
|
72
|
-
return best && best[1] > 0 ? best[0] : "general";
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
// ---------------------------------------------------------------------------
|
|
76
|
-
// Action type detection
|
|
77
|
-
// ---------------------------------------------------------------------------
|
|
78
|
-
|
|
79
|
-
const ACTION_MAP: [string, RegExp][] = [
|
|
80
|
-
["migration", /\b(migrat\w*|move\s+to|transition\s+to|switch\s+to|convert\s+from|port\s+to|transfer\w*)/i],
|
|
81
|
-
["integration", /\b(integrat\w*|connect\w*|unif\w*|merg\w*|consolidat\w*|interop\w*)/i],
|
|
82
|
-
["implementation", /\b(implement\w*|build\w*|creat\w*|develop\w*|deploy\w*|launch\w*|set\s*up|establish\w*|introduc\w*|adopt\w*)/i],
|
|
83
|
-
["optimization", /\b(optimiz\w*|improv\w*|enhanc\w*|streamlin\w*|refactor\w*|accelerat\w*|reduc\w*|automat\w*|scal\w*)/i],
|
|
84
|
-
["transformation", /\b(transform\w*|moderniz\w*|overhaul\w*|redesign\w*|re.?engineer\w*|re.?architect\w*|re.?platform\w*)/i],
|
|
85
|
-
["evaluation", /\b(evaluat\w*|assess\w*|review\w*|analyz\w*|audit\w*|benchmark\w*|compar\w*|investigat\w*|feasibility)/i],
|
|
86
|
-
];
|
|
87
|
-
|
|
88
|
-
function detectActionType(text: string): string {
|
|
89
|
-
for (const [action, re] of ACTION_MAP) {
|
|
90
|
-
if (re.test(text)) return action;
|
|
91
|
-
}
|
|
92
|
-
return "general";
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// ---------------------------------------------------------------------------
|
|
96
|
-
// Entity extraction
|
|
97
|
-
// ---------------------------------------------------------------------------
|
|
98
|
-
|
|
99
|
-
function extractEntities(text: string): string[] {
|
|
100
|
-
const techMatches = text.match(TECH_ENTITIES_RE) || [];
|
|
101
|
-
const complianceMatches = text.match(COMPLIANCE_ENTITIES_RE) || [];
|
|
102
|
-
// Deduplicate (case-insensitive)
|
|
103
|
-
const seen = new Set<string>();
|
|
104
|
-
const result: string[] = [];
|
|
105
|
-
for (const m of [...techMatches, ...complianceMatches]) {
|
|
106
|
-
const key = m.toLowerCase();
|
|
107
|
-
if (!seen.has(key)) {
|
|
108
|
-
seen.add(key);
|
|
109
|
-
result.push(m);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
return result;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
// ---------------------------------------------------------------------------
|
|
116
|
-
// Topic extraction (simple noun-phrase heuristic)
|
|
117
|
-
// ---------------------------------------------------------------------------
|
|
118
|
-
|
|
119
|
-
function extractTopics(text: string): string[] {
|
|
120
|
-
const topics: string[] = [];
|
|
121
|
-
// Look for "X to Y" patterns (common in migration/transition objectives)
|
|
122
|
-
const toPatterns = text.match(/\b(\w[\w\s]*?)\s+to\s+(\w[\w\s]*?)(?:\s+(?:while|with|for|and|by|using|during|in)\b|[,.]|$)/gi);
|
|
123
|
-
if (toPatterns) {
|
|
124
|
-
for (const p of toPatterns) {
|
|
125
|
-
const clean = p.replace(/\s+(while|with|for|and|by|using|during|in).*$/i, "").trim();
|
|
126
|
-
if (clean.length > 3 && clean.length < 80) topics.push(clean);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
// Extract phrases between commas/semicolons that look like topics
|
|
130
|
-
const clauses = text.split(/[,;]/).map((s) => s.trim()).filter((s) => s.length > 5 && s.length < 100);
|
|
131
|
-
for (const clause of clauses) {
|
|
132
|
-
if (!topics.some((t) => t.includes(clause) || clause.includes(t))) {
|
|
133
|
-
topics.push(clause);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
// If no topics extracted, use the whole objective
|
|
137
|
-
if (topics.length === 0) {
|
|
138
|
-
topics.push(text.length > 120 ? text.slice(0, 120) + "..." : text);
|
|
139
|
-
}
|
|
140
|
-
return topics.slice(0, 8);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
// ---------------------------------------------------------------------------
|
|
144
|
-
// Risk / constraint / positive signal detection
|
|
145
|
-
// ---------------------------------------------------------------------------
|
|
146
|
-
|
|
147
|
-
const RISK_SIGNAL_PATTERNS: [string, RegExp][] = [
|
|
148
|
-
["tight timeline pressure", /\b(urgent\w*|deadline|time.?critical|accelerat\w*|fast.?track\w*|rush\w*|asap|immediate\w*|tight timeline)/i],
|
|
149
|
-
["resource constraints", /\b(limited|constrained|shortage|scarce|understaffed|lean team|budget.?cut|reduced budget)/i],
|
|
150
|
-
["technical complexity", /\b(complex\w*|large.?scale|enterprise.?wide|multi.?system|cross.?platform|heterogeneous|legacy)/i],
|
|
151
|
-
["uncertainty or unproven approach", /\b(uncertain\w*|unproven|experimental|prototype\w*|novel|cutting.?edge|bleeding.?edge|untested|unknown)/i],
|
|
152
|
-
["vendor/third-party dependency", /\b(vendor\w*|third.?party|external provider|partner dependency|outsourc\w*|contractor)/i],
|
|
153
|
-
["regulatory/compliance exposure", /\b(regulat\w*|compliance|audit\w*|legal\w*|GDPR|HIPAA|PCI|SOX|privacy|data protection)/i],
|
|
154
|
-
["data integrity/migration risk", /\b(data migration|data loss|data integrity|data quality|data conversion|ETL)/i],
|
|
155
|
-
["security exposure", /\b(security|vulnerabilit\w*|breach\w*|attack surface|threat\w*|encryption|access control|authentication)/i],
|
|
156
|
-
["organizational change risk", /\b(reorg\w*|restructur\w*|culture change|change management|adoption|resistance|training gap)/i],
|
|
157
|
-
["scope creep potential", /\b(scope\w*|requirements? change|feature creep|moving target|evolving requirements)/i],
|
|
158
|
-
];
|
|
159
|
-
|
|
160
|
-
function detectRiskSignals(text: string): string[] {
|
|
161
|
-
return RISK_SIGNAL_PATTERNS
|
|
162
|
-
.filter(([, re]) => re.test(text))
|
|
163
|
-
.map(([label]) => label);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
const CONSTRAINT_PATTERNS: [string, RegExp][] = [
|
|
167
|
-
["timeline constraint", /\b(deadline|by Q[1-4]|by end of|within \d+|before \w+ \d{4}|timeline|time.?bound)/i],
|
|
168
|
-
["budget constraint", /\b(budget\w*|cost\w*|funding|financial\w*|expenditure|\$\d|spend\w*|investment cap)/i],
|
|
169
|
-
["regulatory requirement", /\b(compliance|regulat\w*|must comply|legal requirement|mandate\w*|certific\w*)/i],
|
|
170
|
-
["resource limitation", /\b(limited team|small team|existing staff|no additional|headcount|bandwidth)/i],
|
|
171
|
-
["backward compatibility", /\b(backward.?compat\w*|legacy support|existing users|migration path|non.?breaking)/i],
|
|
172
|
-
["performance requirement", /\b(latency|throughput|uptime|SLA|99\.\d+%|response time|availability)/i],
|
|
173
|
-
];
|
|
174
|
-
|
|
175
|
-
function detectConstraints(text: string): string[] {
|
|
176
|
-
return CONSTRAINT_PATTERNS
|
|
177
|
-
.filter(([, re]) => re.test(text))
|
|
178
|
-
.map(([label]) => label);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
const POSITIVE_PATTERNS: [string, RegExp][] = [
|
|
182
|
-
["proven technology", /\b(proven|established|mature|stable|battle.?tested|industry.?standard|well.?known)/i],
|
|
183
|
-
["strategic alignment", /\b(strateg\w*|aligns? with|supports? our|in line with|roadmap|vision)/i],
|
|
184
|
-
["efficiency gain", /\b(automat\w*|streamlin\w*|efficien\w*|faster|reduc\w* time|reduc\w* cost|sav\w*|eliminat\w* manual)/i],
|
|
185
|
-
["competitive advantage", /\b(competitive|market.?lead\w*|differentiat\w*|first.?mover|innovati\w*|ahead of)/i],
|
|
186
|
-
["team readiness", /\b(experienced team|skilled|expertise|trained|proficient|capable|strong team)/i],
|
|
187
|
-
];
|
|
188
|
-
|
|
189
|
-
function detectPositiveSignals(text: string): string[] {
|
|
190
|
-
return POSITIVE_PATTERNS
|
|
191
|
-
.filter(([, re]) => re.test(text))
|
|
192
|
-
.map(([label]) => label);
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
// ---------------------------------------------------------------------------
|
|
196
|
-
// Complexity assessment
|
|
197
|
-
// ---------------------------------------------------------------------------
|
|
198
|
-
|
|
199
|
-
function assessComplexity(
|
|
200
|
-
wordCount: number,
|
|
201
|
-
entityCount: number,
|
|
202
|
-
riskCount: number,
|
|
203
|
-
constraintCount: number
|
|
204
|
-
): "low" | "medium" | "high" {
|
|
205
|
-
const score = wordCount * 0.3 + entityCount * 8 + riskCount * 10 + constraintCount * 7;
|
|
206
|
-
if (score > 60) return "high";
|
|
207
|
-
if (score > 25) return "medium";
|
|
208
|
-
return "low";
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
// ---------------------------------------------------------------------------
|
|
212
|
-
// Main analysis function
|
|
213
|
-
// ---------------------------------------------------------------------------
|
|
214
|
-
|
|
215
|
-
export function analyzeText(objective: string): TextAnalysis {
|
|
216
|
-
const sentences = objective
|
|
217
|
-
.split(/(?<=[.!?])\s+/)
|
|
218
|
-
.map((s) => s.trim())
|
|
219
|
-
.filter(Boolean);
|
|
220
|
-
const wordCount = objective.split(/\s+/).filter(Boolean).length;
|
|
221
|
-
const entities = extractEntities(objective);
|
|
222
|
-
const riskSignals = detectRiskSignals(objective);
|
|
223
|
-
const constraints = detectConstraints(objective);
|
|
224
|
-
const positiveSignals = detectPositiveSignals(objective);
|
|
225
|
-
|
|
226
|
-
return {
|
|
227
|
-
topics: extractTopics(objective),
|
|
228
|
-
domain: detectDomain(objective),
|
|
229
|
-
actionType: detectActionType(objective),
|
|
230
|
-
entities,
|
|
231
|
-
constraints,
|
|
232
|
-
riskSignals,
|
|
233
|
-
positiveSignals,
|
|
234
|
-
complexity: assessComplexity(wordCount, entities.length, riskSignals.length, constraints.length),
|
|
235
|
-
wordCount,
|
|
236
|
-
sentences: sentences.length > 0 ? sentences : [objective],
|
|
237
|
-
};
|
|
238
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2022",
|
|
4
|
-
"module": "commonjs",
|
|
5
|
-
"lib": ["ES2022"],
|
|
6
|
-
"outDir": "dist",
|
|
7
|
-
"rootDir": "src",
|
|
8
|
-
"strict": true,
|
|
9
|
-
"esModuleInterop": true,
|
|
10
|
-
"skipLibCheck": true,
|
|
11
|
-
"forceConsistentCasingInFileNames": true,
|
|
12
|
-
"resolveJsonModule": true,
|
|
13
|
-
"declaration": true,
|
|
14
|
-
"declarationMap": true,
|
|
15
|
-
"sourceMap": true
|
|
16
|
-
},
|
|
17
|
-
"include": ["src/**/*"],
|
|
18
|
-
"exclude": ["node_modules", "dist"]
|
|
19
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../src/agents/alert.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAG5C,wBAAsB,WAAW,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CA0C5E"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.handleAlert = handleAlert;
|
|
4
|
-
const uuid_1 = require("uuid");
|
|
5
|
-
async function handleAlert(req, res) {
|
|
6
|
-
const { payload, context } = req.body;
|
|
7
|
-
const start = Date.now();
|
|
8
|
-
const layers = [
|
|
9
|
-
"input_validation",
|
|
10
|
-
"rule_evaluation",
|
|
11
|
-
"suppression_check",
|
|
12
|
-
"decision_generation",
|
|
13
|
-
"response_formatting",
|
|
14
|
-
];
|
|
15
|
-
const anomaly = payload?.anomaly ?? {};
|
|
16
|
-
const source = payload?.source ?? "api";
|
|
17
|
-
const ignoreSuppression = payload?.ignore_suppression ?? false;
|
|
18
|
-
const dryRun = payload?.dry_run ?? false;
|
|
19
|
-
const decisionId = (0, uuid_1.v4)();
|
|
20
|
-
const result = {
|
|
21
|
-
agent: "alert",
|
|
22
|
-
decision: {
|
|
23
|
-
decision_id: decisionId,
|
|
24
|
-
alert_raised: false,
|
|
25
|
-
confidence: 0.0,
|
|
26
|
-
source,
|
|
27
|
-
},
|
|
28
|
-
alert_raised: false,
|
|
29
|
-
status: "no_alert",
|
|
30
|
-
dry_run: dryRun,
|
|
31
|
-
processing_ms: Date.now() - start,
|
|
32
|
-
};
|
|
33
|
-
res.json({
|
|
34
|
-
...result,
|
|
35
|
-
layers_executed: layers,
|
|
36
|
-
execution_metadata: {
|
|
37
|
-
trace_id: (0, uuid_1.v4)(),
|
|
38
|
-
timestamp: new Date().toISOString(),
|
|
39
|
-
service: "sentinel-agents",
|
|
40
|
-
},
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=alert.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alert.js","sourceRoot":"","sources":["../../src/agents/alert.ts"],"names":[],"mappings":";;AAGA,kCA0CC;AA5CD,+BAAoC;AAE7B,KAAK,UAAU,WAAW,CAAC,GAAY,EAAE,GAAa;IAC3D,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC,IAAI,CAAC;IACtC,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;IAEzB,MAAM,MAAM,GAAa;QACvB,kBAAkB;QAClB,iBAAiB;QACjB,mBAAmB;QACnB,qBAAqB;QACrB,qBAAqB;KACtB,CAAC;IAEF,MAAM,OAAO,GAAG,OAAO,EAAE,OAAO,IAAI,EAAE,CAAC;IACvC,MAAM,MAAM,GAAW,OAAO,EAAE,MAAM,IAAI,KAAK,CAAC;IAChD,MAAM,iBAAiB,GAAY,OAAO,EAAE,kBAAkB,IAAI,KAAK,CAAC;IACxE,MAAM,MAAM,GAAY,OAAO,EAAE,OAAO,IAAI,KAAK,CAAC;IAElD,MAAM,UAAU,GAAG,IAAA,SAAM,GAAE,CAAC;IAE5B,MAAM,MAAM,GAAG;QACb,KAAK,EAAE,OAAO;QACd,QAAQ,EAAE;YACR,WAAW,EAAE,UAAU;YACvB,YAAY,EAAE,KAAK;YACnB,UAAU,EAAE,GAAG;YACf,MAAM;SACP;QACD,YAAY,EAAE,KAAK;QACnB,MAAM,EAAE,UAAU;QAClB,OAAO,EAAE,MAAM;QACf,aAAa,EAAE,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK;KAClC,CAAC;IAEF,GAAG,CAAC,IAAI,CAAC;QACP,GAAG,MAAM;QACT,eAAe,EAAE,MAAM;QACvB,kBAAkB,EAAE;YAClB,QAAQ,EAAE,IAAA,SAAM,GAAE;YAClB,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACnC,OAAO,EAAE,iBAAiB;SAC3B;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"anomaly.d.ts","sourceRoot":"","sources":["../../src/agents/anomaly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAG5C,wBAAsB,aAAa,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CA6B9E"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.handleAnomaly = handleAnomaly;
|
|
4
|
-
const uuid_1 = require("uuid");
|
|
5
|
-
async function handleAnomaly(req, res) {
|
|
6
|
-
const { payload, context } = req.body;
|
|
7
|
-
const start = Date.now();
|
|
8
|
-
const layers = ["input_validation", "anomaly_detection", "response_formatting"];
|
|
9
|
-
const telemetry = payload?.telemetry ?? {};
|
|
10
|
-
const dryRun = payload?.dry_run ?? false;
|
|
11
|
-
const result = {
|
|
12
|
-
agent: "anomaly",
|
|
13
|
-
anomaly_detected: false,
|
|
14
|
-
anomaly: null,
|
|
15
|
-
status: "success",
|
|
16
|
-
dry_run: dryRun,
|
|
17
|
-
processing_ms: 0,
|
|
18
|
-
};
|
|
19
|
-
result.processing_ms = Date.now() - start;
|
|
20
|
-
res.json({
|
|
21
|
-
...result,
|
|
22
|
-
layers_executed: layers,
|
|
23
|
-
execution_metadata: {
|
|
24
|
-
trace_id: (0, uuid_1.v4)(),
|
|
25
|
-
timestamp: new Date().toISOString(),
|
|
26
|
-
service: "sentinel-agents",
|
|
27
|
-
},
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=anomaly.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"anomaly.js","sourceRoot":"","sources":["../../src/agents/anomaly.ts"],"names":[],"mappings":";;AAGA,sCA6BC;AA/BD,+BAAoC;AAE7B,KAAK,UAAU,aAAa,CAAC,GAAY,EAAE,GAAa;IAC7D,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC,IAAI,CAAC;IACtC,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;IAEzB,MAAM,MAAM,GAAa,CAAC,kBAAkB,EAAE,mBAAmB,EAAE,qBAAqB,CAAC,CAAC;IAE1F,MAAM,SAAS,GAAG,OAAO,EAAE,SAAS,IAAI,EAAE,CAAC;IAC3C,MAAM,MAAM,GAAG,OAAO,EAAE,OAAO,IAAI,KAAK,CAAC;IAEzC,MAAM,MAAM,GAAG;QACb,KAAK,EAAE,SAAS;QAChB,gBAAgB,EAAE,KAAK;QACvB,OAAO,EAAE,IAAe;QACxB,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,MAAM;QACf,aAAa,EAAE,CAAC;KACjB,CAAC;IAEF,MAAM,CAAC,aAAa,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC;IAE1C,GAAG,CAAC,IAAI,CAAC;QACP,GAAG,MAAM;QACT,eAAe,EAAE,MAAM;QACvB,kBAAkB,EAAE;YAClB,QAAQ,EAAE,IAAA,SAAM,GAAE;YAClB,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACnC,OAAO,EAAE,iBAAiB;SAC3B;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"correlation.d.ts","sourceRoot":"","sources":["../../src/agents/correlation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAG5C,wBAAsB,iBAAiB,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAoDlF"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.handleCorrelation = handleCorrelation;
|
|
4
|
-
const uuid_1 = require("uuid");
|
|
5
|
-
async function handleCorrelation(req, res) {
|
|
6
|
-
const { payload, context } = req.body;
|
|
7
|
-
const start = Date.now();
|
|
8
|
-
const layers = [
|
|
9
|
-
"input_validation",
|
|
10
|
-
"signal_grouping",
|
|
11
|
-
"temporal_correlation",
|
|
12
|
-
"service_affinity",
|
|
13
|
-
"response_formatting",
|
|
14
|
-
];
|
|
15
|
-
const signals = payload?.signals ?? [];
|
|
16
|
-
const timeWindowSecs = payload?.time_window_secs ?? 300;
|
|
17
|
-
const dryRun = payload?.dry_run ?? false;
|
|
18
|
-
if (!Array.isArray(signals) || signals.length === 0) {
|
|
19
|
-
res.status(400).json({
|
|
20
|
-
agent: "correlation",
|
|
21
|
-
incidents_count: 0,
|
|
22
|
-
signals_processed: 0,
|
|
23
|
-
noise_reduction: 0,
|
|
24
|
-
status: "No signals provided",
|
|
25
|
-
layers_executed: ["input_validation"],
|
|
26
|
-
execution_metadata: {
|
|
27
|
-
trace_id: (0, uuid_1.v4)(),
|
|
28
|
-
timestamp: new Date().toISOString(),
|
|
29
|
-
service: "sentinel-agents",
|
|
30
|
-
},
|
|
31
|
-
});
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
const result = {
|
|
35
|
-
agent: "correlation",
|
|
36
|
-
incidents_count: 0,
|
|
37
|
-
signals_processed: signals.length,
|
|
38
|
-
noise_reduction: 0.0,
|
|
39
|
-
status: "success",
|
|
40
|
-
dry_run: dryRun,
|
|
41
|
-
processing_ms: Date.now() - start,
|
|
42
|
-
};
|
|
43
|
-
res.json({
|
|
44
|
-
...result,
|
|
45
|
-
layers_executed: layers,
|
|
46
|
-
execution_metadata: {
|
|
47
|
-
trace_id: (0, uuid_1.v4)(),
|
|
48
|
-
timestamp: new Date().toISOString(),
|
|
49
|
-
service: "sentinel-agents",
|
|
50
|
-
},
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
//# sourceMappingURL=correlation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"correlation.js","sourceRoot":"","sources":["../../src/agents/correlation.ts"],"names":[],"mappings":";;AAGA,8CAoDC;AAtDD,+BAAoC;AAE7B,KAAK,UAAU,iBAAiB,CAAC,GAAY,EAAE,GAAa;IACjE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC,IAAI,CAAC;IACtC,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;IAEzB,MAAM,MAAM,GAAa;QACvB,kBAAkB;QAClB,iBAAiB;QACjB,sBAAsB;QACtB,kBAAkB;QAClB,qBAAqB;KACtB,CAAC;IAEF,MAAM,OAAO,GAAc,OAAO,EAAE,OAAO,IAAI,EAAE,CAAC;IAClD,MAAM,cAAc,GAAW,OAAO,EAAE,gBAAgB,IAAI,GAAG,CAAC;IAChE,MAAM,MAAM,GAAY,OAAO,EAAE,OAAO,IAAI,KAAK,CAAC;IAElD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACpD,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;YACnB,KAAK,EAAE,aAAa;YACpB,eAAe,EAAE,CAAC;YAClB,iBAAiB,EAAE,CAAC;YACpB,eAAe,EAAE,CAAC;YAClB,MAAM,EAAE,qBAAqB;YAC7B,eAAe,EAAE,CAAC,kBAAkB,CAAC;YACrC,kBAAkB,EAAE;gBAClB,QAAQ,EAAE,IAAA,SAAM,GAAE;gBAClB,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;gBACnC,OAAO,EAAE,iBAAiB;aAC3B;SACF,CAAC,CAAC;QACH,OAAO;IACT,CAAC;IAED,MAAM,MAAM,GAAG;QACb,KAAK,EAAE,aAAa;QACpB,eAAe,EAAE,CAAC;QAClB,iBAAiB,EAAE,OAAO,CAAC,MAAM;QACjC,eAAe,EAAE,GAAG;QACpB,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,MAAM;QACf,aAAa,EAAE,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK;KAClC,CAAC;IAEF,GAAG,CAAC,IAAI,CAAC;QACP,GAAG,MAAM;QACT,eAAe,EAAE,MAAM;QACvB,kBAAkB,EAAE;YAClB,QAAQ,EAAE,IAAA,SAAM,GAAE;YAClB,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACnC,OAAO,EAAE,iBAAiB;SAC3B;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drift.d.ts","sourceRoot":"","sources":["../../src/agents/drift.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAG5C,wBAAsB,WAAW,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAkD5E"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.handleDrift = handleDrift;
|
|
4
|
-
const uuid_1 = require("uuid");
|
|
5
|
-
async function handleDrift(req, res) {
|
|
6
|
-
const { payload, context } = req.body;
|
|
7
|
-
const start = Date.now();
|
|
8
|
-
const layers = ["input_validation", "distribution_analysis", "psi_calculation", "response_formatting"];
|
|
9
|
-
const referenceData = payload?.reference_data ?? [];
|
|
10
|
-
const currentData = payload?.current_data ?? [];
|
|
11
|
-
const metric = payload?.metric ?? "unknown";
|
|
12
|
-
const service = payload?.service ?? "unknown";
|
|
13
|
-
const dryRun = payload?.dry_run ?? false;
|
|
14
|
-
if (referenceData.length < 10 || currentData.length < 10) {
|
|
15
|
-
res.status(400).json({
|
|
16
|
-
agent: "drift",
|
|
17
|
-
drift_detected: false,
|
|
18
|
-
drift_severity: "error",
|
|
19
|
-
psi_value: 0,
|
|
20
|
-
status: "Insufficient data: minimum 10 samples required",
|
|
21
|
-
layers_executed: ["input_validation"],
|
|
22
|
-
execution_metadata: {
|
|
23
|
-
trace_id: (0, uuid_1.v4)(),
|
|
24
|
-
timestamp: new Date().toISOString(),
|
|
25
|
-
service: "sentinel-agents",
|
|
26
|
-
},
|
|
27
|
-
});
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
const result = {
|
|
31
|
-
agent: "drift",
|
|
32
|
-
drift_detected: false,
|
|
33
|
-
drift_severity: "none",
|
|
34
|
-
psi_value: 0.05,
|
|
35
|
-
metric,
|
|
36
|
-
service,
|
|
37
|
-
status: "success",
|
|
38
|
-
dry_run: dryRun,
|
|
39
|
-
processing_ms: Date.now() - start,
|
|
40
|
-
};
|
|
41
|
-
res.json({
|
|
42
|
-
...result,
|
|
43
|
-
layers_executed: layers,
|
|
44
|
-
execution_metadata: {
|
|
45
|
-
trace_id: (0, uuid_1.v4)(),
|
|
46
|
-
timestamp: new Date().toISOString(),
|
|
47
|
-
service: "sentinel-agents",
|
|
48
|
-
},
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
//# sourceMappingURL=drift.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drift.js","sourceRoot":"","sources":["../../src/agents/drift.ts"],"names":[],"mappings":";;AAGA,kCAkDC;AApDD,+BAAoC;AAE7B,KAAK,UAAU,WAAW,CAAC,GAAY,EAAE,GAAa;IAC3D,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC,IAAI,CAAC;IACtC,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;IAEzB,MAAM,MAAM,GAAa,CAAC,kBAAkB,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,qBAAqB,CAAC,CAAC;IAEjH,MAAM,aAAa,GAAa,OAAO,EAAE,cAAc,IAAI,EAAE,CAAC;IAC9D,MAAM,WAAW,GAAa,OAAO,EAAE,YAAY,IAAI,EAAE,CAAC;IAC1D,MAAM,MAAM,GAAW,OAAO,EAAE,MAAM,IAAI,SAAS,CAAC;IACpD,MAAM,OAAO,GAAW,OAAO,EAAE,OAAO,IAAI,SAAS,CAAC;IACtD,MAAM,MAAM,GAAY,OAAO,EAAE,OAAO,IAAI,KAAK,CAAC;IAElD,IAAI,aAAa,CAAC,MAAM,GAAG,EAAE,IAAI,WAAW,CAAC,MAAM,GAAG,EAAE,EAAE,CAAC;QACzD,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;YACnB,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,KAAK;YACrB,cAAc,EAAE,OAAO;YACvB,SAAS,EAAE,CAAC;YACZ,MAAM,EAAE,gDAAgD;YACxD,eAAe,EAAE,CAAC,kBAAkB,CAAC;YACrC,kBAAkB,EAAE;gBAClB,QAAQ,EAAE,IAAA,SAAM,GAAE;gBAClB,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;gBACnC,OAAO,EAAE,iBAAiB;aAC3B;SACF,CAAC,CAAC;QACH,OAAO;IACT,CAAC;IAED,MAAM,MAAM,GAAG;QACb,KAAK,EAAE,OAAO;QACd,cAAc,EAAE,KAAK;QACrB,cAAc,EAAE,MAAM;QACtB,SAAS,EAAE,IAAI;QACf,MAAM;QACN,OAAO;QACP,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,MAAM;QACf,aAAa,EAAE,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK;KAClC,CAAC;IAEF,GAAG,CAAC,IAAI,CAAC;QACP,GAAG,MAAM;QACT,eAAe,EAAE,MAAM;QACvB,kBAAkB,EAAE;YAClB,QAAQ,EAAE,IAAA,SAAM,GAAE;YAClB,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACnC,OAAO,EAAE,iBAAiB;SAC3B;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rca.d.ts","sourceRoot":"","sources":["../../src/agents/rca.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAG5C,wBAAsB,SAAS,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAkC1E"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.handleRca = handleRca;
|
|
4
|
-
const uuid_1 = require("uuid");
|
|
5
|
-
async function handleRca(req, res) {
|
|
6
|
-
const { payload, context } = req.body;
|
|
7
|
-
const start = Date.now();
|
|
8
|
-
const layers = [
|
|
9
|
-
"input_validation",
|
|
10
|
-
"signal_analysis",
|
|
11
|
-
"hypothesis_generation",
|
|
12
|
-
"causal_chain_identification",
|
|
13
|
-
"response_formatting",
|
|
14
|
-
];
|
|
15
|
-
const incident = payload?.incident ?? {};
|
|
16
|
-
const maxHypotheses = payload?.max_hypotheses ?? 5;
|
|
17
|
-
const dryRun = payload?.dry_run ?? false;
|
|
18
|
-
const result = {
|
|
19
|
-
agent: "rca",
|
|
20
|
-
hypotheses_count: 0,
|
|
21
|
-
confidence: 0.0,
|
|
22
|
-
status: "success",
|
|
23
|
-
dry_run: dryRun,
|
|
24
|
-
processing_ms: Date.now() - start,
|
|
25
|
-
};
|
|
26
|
-
res.json({
|
|
27
|
-
...result,
|
|
28
|
-
layers_executed: layers,
|
|
29
|
-
execution_metadata: {
|
|
30
|
-
trace_id: (0, uuid_1.v4)(),
|
|
31
|
-
timestamp: new Date().toISOString(),
|
|
32
|
-
service: "sentinel-agents",
|
|
33
|
-
},
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=rca.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rca.js","sourceRoot":"","sources":["../../src/agents/rca.ts"],"names":[],"mappings":";;AAGA,8BAkCC;AApCD,+BAAoC;AAE7B,KAAK,UAAU,SAAS,CAAC,GAAY,EAAE,GAAa;IACzD,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC,IAAI,CAAC;IACtC,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;IAEzB,MAAM,MAAM,GAAa;QACvB,kBAAkB;QAClB,iBAAiB;QACjB,uBAAuB;QACvB,6BAA6B;QAC7B,qBAAqB;KACtB,CAAC;IAEF,MAAM,QAAQ,GAAG,OAAO,EAAE,QAAQ,IAAI,EAAE,CAAC;IACzC,MAAM,aAAa,GAAW,OAAO,EAAE,cAAc,IAAI,CAAC,CAAC;IAC3D,MAAM,MAAM,GAAY,OAAO,EAAE,OAAO,IAAI,KAAK,CAAC;IAElD,MAAM,MAAM,GAAG;QACb,KAAK,EAAE,KAAK;QACZ,gBAAgB,EAAE,CAAC;QACnB,UAAU,EAAE,GAAG;QACf,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,MAAM;QACf,aAAa,EAAE,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK;KAClC,CAAC;IAEF,GAAG,CAAC,IAAI,CAAC;QACP,GAAG,MAAM;QACT,eAAe,EAAE,MAAM;QACvB,kBAAkB,EAAE;YAClB,QAAQ,EAAE,IAAA,SAAM,GAAE;YAClB,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACnC,OAAO,EAAE,iBAAiB;SAC3B;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA4EA,eAAO,MAAM,GAAG,6CAAM,CAAC"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.api = void 0;
|
|
7
|
-
const express_1 = __importDefault(require("express"));
|
|
8
|
-
const cors_1 = __importDefault(require("cors"));
|
|
9
|
-
const anomaly_1 = require("./agents/anomaly");
|
|
10
|
-
const drift_1 = require("./agents/drift");
|
|
11
|
-
const alert_1 = require("./agents/alert");
|
|
12
|
-
const correlation_1 = require("./agents/correlation");
|
|
13
|
-
const rca_1 = require("./agents/rca");
|
|
14
|
-
const app = (0, express_1.default)();
|
|
15
|
-
// ---------------------------------------------------------------------------
|
|
16
|
-
// Middleware
|
|
17
|
-
// ---------------------------------------------------------------------------
|
|
18
|
-
app.use(express_1.default.json());
|
|
19
|
-
app.use((0, cors_1.default)({
|
|
20
|
-
origin: "*",
|
|
21
|
-
methods: ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
|
|
22
|
-
allowedHeaders: [
|
|
23
|
-
"X-Correlation-ID",
|
|
24
|
-
"X-API-Version",
|
|
25
|
-
"Content-Type",
|
|
26
|
-
"Authorization",
|
|
27
|
-
],
|
|
28
|
-
}));
|
|
29
|
-
// ---------------------------------------------------------------------------
|
|
30
|
-
// Health endpoint
|
|
31
|
-
// ---------------------------------------------------------------------------
|
|
32
|
-
app.get("/health", (_req, res) => {
|
|
33
|
-
res.json({
|
|
34
|
-
healthy: true,
|
|
35
|
-
service: "sentinel-agents",
|
|
36
|
-
agents: 5,
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
// ---------------------------------------------------------------------------
|
|
40
|
-
// Agent routes — POST /v1/sentinel/:agent
|
|
41
|
-
// ---------------------------------------------------------------------------
|
|
42
|
-
const agentHandlers = {
|
|
43
|
-
anomaly: anomaly_1.handleAnomaly,
|
|
44
|
-
drift: drift_1.handleDrift,
|
|
45
|
-
alert: alert_1.handleAlert,
|
|
46
|
-
correlation: correlation_1.handleCorrelation,
|
|
47
|
-
rca: rca_1.handleRca,
|
|
48
|
-
};
|
|
49
|
-
app.post("/v1/sentinel/:agent", async (req, res, next) => {
|
|
50
|
-
const { agent } = req.params;
|
|
51
|
-
const handler = agentHandlers[agent];
|
|
52
|
-
if (!handler) {
|
|
53
|
-
res.status(404).json({
|
|
54
|
-
error: `Unknown agent: ${agent}`,
|
|
55
|
-
available_agents: Object.keys(agentHandlers),
|
|
56
|
-
});
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
try {
|
|
60
|
-
await handler(req, res);
|
|
61
|
-
}
|
|
62
|
-
catch (err) {
|
|
63
|
-
next(err);
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
// ---------------------------------------------------------------------------
|
|
67
|
-
// Export for Cloud Functions
|
|
68
|
-
// ---------------------------------------------------------------------------
|
|
69
|
-
exports.api = app;
|
|
70
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,sDAAmE;AACnE,gDAAwB;AACxB,8CAAiD;AACjD,0CAA6C;AAC7C,0CAA6C;AAC7C,sDAAyD;AACzD,sCAAyC;AAEzC,MAAM,GAAG,GAAG,IAAA,iBAAO,GAAE,CAAC;AAEtB,8EAA8E;AAC9E,aAAa;AACb,8EAA8E;AAE9E,GAAG,CAAC,GAAG,CAAC,iBAAO,CAAC,IAAI,EAAE,CAAC,CAAC;AAExB,GAAG,CAAC,GAAG,CACL,IAAA,cAAI,EAAC;IACH,MAAM,EAAE,GAAG;IACX,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,CAAC;IACpD,cAAc,EAAE;QACd,kBAAkB;QAClB,eAAe;QACf,cAAc;QACd,eAAe;KAChB;CACF,CAAC,CACH,CAAC;AAEF,8EAA8E;AAC9E,kBAAkB;AAClB,8EAA8E;AAE9E,GAAG,CAAC,GAAG,CAAC,SAAS,EAAE,CAAC,IAAa,EAAE,GAAa,EAAE,EAAE;IAClD,GAAG,CAAC,IAAI,CAAC;QACP,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,iBAAiB;QAC1B,MAAM,EAAE,CAAC;KACV,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,8EAA8E;AAC9E,0CAA0C;AAC1C,8EAA8E;AAE9E,MAAM,aAAa,GAAmE;IACpF,OAAO,EAAE,uBAAa;IACtB,KAAK,EAAE,mBAAW;IAClB,KAAK,EAAE,mBAAW;IAClB,WAAW,EAAE,+BAAiB;IAC9B,GAAG,EAAE,eAAS;CACf,CAAC;AAEF,GAAG,CAAC,IAAI,CAAC,qBAAqB,EAAE,KAAK,EAAE,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAE,EAAE;IACxF,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC;IAC7B,MAAM,OAAO,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;IAErC,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;YACnB,KAAK,EAAE,kBAAkB,KAAK,EAAE;YAChC,gBAAgB,EAAE,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC;SAC7C,CAAC,CAAC;QACH,OAAO;IACT,CAAC;IAED,IAAI,CAAC;QACH,MAAM,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,GAAG,CAAC,CAAC;IACZ,CAAC;AACH,CAAC,CAAC,CAAC;AAEH,8EAA8E;AAC9E,6BAA6B;AAC7B,8EAA8E;AAEjE,QAAA,GAAG,GAAG,GAAG,CAAC"}
|