codehere 0.2.0 → 0.4.0
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.
Potentially problematic release.
This version of codehere might be problematic. Click here for more details.
- package/README.md +223 -42
- package/dist/application/agents/documentation-agent.d.ts +24 -0
- package/dist/application/agents/documentation-agent.d.ts.map +1 -0
- package/dist/application/agents/documentation-agent.js +399 -0
- package/dist/application/agents/documentation-agent.js.map +1 -0
- package/dist/application/agents/execution-agent.d.ts +11 -0
- package/dist/application/agents/execution-agent.d.ts.map +1 -1
- package/dist/application/agents/execution-agent.js +289 -80
- package/dist/application/agents/execution-agent.js.map +1 -1
- package/dist/application/agents/multi-agent-orchestrator.d.ts +4 -0
- package/dist/application/agents/multi-agent-orchestrator.d.ts.map +1 -1
- package/dist/application/agents/multi-agent-orchestrator.js +86 -0
- package/dist/application/agents/multi-agent-orchestrator.js.map +1 -1
- package/dist/application/agents/planning-agent.d.ts +3 -0
- package/dist/application/agents/planning-agent.d.ts.map +1 -1
- package/dist/application/agents/planning-agent.js +132 -64
- package/dist/application/agents/planning-agent.js.map +1 -1
- package/dist/application/agents/product-requirements-agent.d.ts +21 -0
- package/dist/application/agents/product-requirements-agent.d.ts.map +1 -0
- package/dist/application/agents/product-requirements-agent.js +247 -0
- package/dist/application/agents/product-requirements-agent.js.map +1 -0
- package/dist/application/agents/validation-agent.d.ts +5 -1
- package/dist/application/agents/validation-agent.d.ts.map +1 -1
- package/dist/application/agents/validation-agent.js +156 -21
- package/dist/application/agents/validation-agent.js.map +1 -1
- package/dist/application/services/dependency-container.d.ts +25 -2
- package/dist/application/services/dependency-container.d.ts.map +1 -1
- package/dist/application/services/dependency-container.js +163 -1
- package/dist/application/services/dependency-container.js.map +1 -1
- package/dist/application/services/intelligent-router.d.ts +13 -0
- package/dist/application/services/intelligent-router.d.ts.map +1 -1
- package/dist/application/services/intelligent-router.js +300 -87
- package/dist/application/services/intelligent-router.js.map +1 -1
- package/dist/application/use-cases/ask-question-use-case.d.ts +31 -0
- package/dist/application/use-cases/ask-question-use-case.d.ts.map +1 -1
- package/dist/application/use-cases/ask-question-use-case.js +254 -55
- package/dist/application/use-cases/ask-question-use-case.js.map +1 -1
- package/dist/application/use-cases/edit-file-use-case.d.ts.map +1 -1
- package/dist/application/use-cases/edit-file-use-case.js +86 -4
- package/dist/application/use-cases/edit-file-use-case.js.map +1 -1
- package/dist/application/use-cases/planning-use-case.d.ts.map +1 -1
- package/dist/application/use-cases/planning-use-case.js +10 -1
- package/dist/application/use-cases/planning-use-case.js.map +1 -1
- package/dist/application/use-cases/react-orchestration-use-case.d.ts.map +1 -1
- package/dist/application/use-cases/react-orchestration-use-case.js +6 -2
- package/dist/application/use-cases/react-orchestration-use-case.js.map +1 -1
- package/dist/domain/entities/documentation.d.ts +35 -0
- package/dist/domain/entities/documentation.d.ts.map +1 -0
- package/dist/domain/entities/documentation.js +6 -0
- package/dist/domain/entities/documentation.js.map +1 -0
- package/dist/domain/entities/product-requirements.d.ts +50 -0
- package/dist/domain/entities/product-requirements.d.ts.map +1 -0
- package/dist/domain/entities/product-requirements.js +6 -0
- package/dist/domain/entities/product-requirements.js.map +1 -0
- package/dist/domain/entities/task.d.ts +152 -0
- package/dist/domain/entities/task.d.ts.map +1 -0
- package/dist/domain/entities/task.js +61 -0
- package/dist/domain/entities/task.js.map +1 -0
- package/dist/domain/interfaces/agent.interface.d.ts +15 -0
- package/dist/domain/interfaces/agent.interface.d.ts.map +1 -0
- package/dist/domain/interfaces/agent.interface.js +6 -0
- package/dist/domain/interfaces/agent.interface.js.map +1 -0
- package/dist/domain/services/environment-mode-manager.d.ts +18 -0
- package/dist/domain/services/environment-mode-manager.d.ts.map +1 -0
- package/dist/domain/services/environment-mode-manager.js +37 -0
- package/dist/domain/services/environment-mode-manager.js.map +1 -0
- package/dist/domain/services/react-loop.d.ts +8 -0
- package/dist/domain/services/react-loop.d.ts.map +1 -1
- package/dist/domain/services/react-loop.js +82 -6
- package/dist/domain/services/react-loop.js.map +1 -1
- package/dist/domain/services/risk-tier-detector.d.ts +18 -0
- package/dist/domain/services/risk-tier-detector.d.ts.map +1 -0
- package/dist/domain/services/risk-tier-detector.js +65 -0
- package/dist/domain/services/risk-tier-detector.js.map +1 -0
- package/dist/formatter.d.ts +2 -2
- package/dist/formatter.d.ts.map +1 -1
- package/dist/formatter.js +40 -20
- package/dist/formatter.js.map +1 -1
- package/dist/index.js +218 -125
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/ai/cohere-ai-service.d.ts +3 -1
- package/dist/infrastructure/ai/cohere-ai-service.d.ts.map +1 -1
- package/dist/infrastructure/ai/cohere-ai-service.js +65 -5
- package/dist/infrastructure/ai/cohere-ai-service.js.map +1 -1
- package/dist/infrastructure/ai/fake-ai-service.d.ts +22 -0
- package/dist/infrastructure/ai/fake-ai-service.d.ts.map +1 -0
- package/dist/infrastructure/ai/fake-ai-service.js +59 -0
- package/dist/infrastructure/ai/fake-ai-service.js.map +1 -0
- package/dist/infrastructure/ai/provider-ai-service.d.ts +59 -0
- package/dist/infrastructure/ai/provider-ai-service.d.ts.map +1 -0
- package/dist/infrastructure/ai/provider-ai-service.js +477 -0
- package/dist/infrastructure/ai/provider-ai-service.js.map +1 -0
- package/dist/infrastructure/cache/embedding-cache.d.ts +13 -1
- package/dist/infrastructure/cache/embedding-cache.d.ts.map +1 -1
- package/dist/infrastructure/cache/embedding-cache.js +80 -9
- package/dist/infrastructure/cache/embedding-cache.js.map +1 -1
- package/dist/infrastructure/cache/query-result-cache.d.ts +68 -0
- package/dist/infrastructure/cache/query-result-cache.d.ts.map +1 -0
- package/dist/infrastructure/cache/query-result-cache.js +138 -0
- package/dist/infrastructure/cache/query-result-cache.js.map +1 -0
- package/dist/infrastructure/cache/response-cache.d.ts +86 -0
- package/dist/infrastructure/cache/response-cache.d.ts.map +1 -0
- package/dist/infrastructure/cache/response-cache.js +224 -0
- package/dist/infrastructure/cache/response-cache.js.map +1 -0
- package/dist/infrastructure/cache/security-scan-cache.d.ts +57 -0
- package/dist/infrastructure/cache/security-scan-cache.d.ts.map +1 -0
- package/dist/infrastructure/cache/security-scan-cache.js +124 -0
- package/dist/infrastructure/cache/security-scan-cache.js.map +1 -0
- package/dist/infrastructure/completion/bash-completion.d.ts +8 -0
- package/dist/infrastructure/completion/bash-completion.d.ts.map +1 -0
- package/dist/infrastructure/completion/bash-completion.js +101 -0
- package/dist/infrastructure/completion/bash-completion.js.map +1 -0
- package/dist/infrastructure/completion/completion-generator.d.ts +42 -0
- package/dist/infrastructure/completion/completion-generator.d.ts.map +1 -0
- package/dist/infrastructure/completion/completion-generator.js +184 -0
- package/dist/infrastructure/completion/completion-generator.js.map +1 -0
- package/dist/infrastructure/completion/fish-completion.d.ts +8 -0
- package/dist/infrastructure/completion/fish-completion.d.ts.map +1 -0
- package/dist/infrastructure/completion/fish-completion.js +65 -0
- package/dist/infrastructure/completion/fish-completion.js.map +1 -0
- package/dist/infrastructure/completion/zsh-completion.d.ts +8 -0
- package/dist/infrastructure/completion/zsh-completion.d.ts.map +1 -0
- package/dist/infrastructure/completion/zsh-completion.js +85 -0
- package/dist/infrastructure/completion/zsh-completion.js.map +1 -0
- package/dist/infrastructure/context/context-compressor.d.ts +94 -0
- package/dist/infrastructure/context/context-compressor.d.ts.map +1 -0
- package/dist/infrastructure/context/context-compressor.js +329 -0
- package/dist/infrastructure/context/context-compressor.js.map +1 -0
- package/dist/infrastructure/context/conversation-context.d.ts +58 -0
- package/dist/infrastructure/context/conversation-context.d.ts.map +1 -0
- package/dist/infrastructure/context/conversation-context.js +170 -0
- package/dist/infrastructure/context/conversation-context.js.map +1 -0
- package/dist/infrastructure/context/session-manager.d.ts +26 -0
- package/dist/infrastructure/context/session-manager.d.ts.map +1 -0
- package/dist/infrastructure/context/session-manager.js +98 -0
- package/dist/infrastructure/context/session-manager.js.map +1 -0
- package/dist/infrastructure/cost/cost-tracker.d.ts +1 -0
- package/dist/infrastructure/cost/cost-tracker.d.ts.map +1 -1
- package/dist/infrastructure/cost/cost-tracker.js +12 -5
- package/dist/infrastructure/cost/cost-tracker.js.map +1 -1
- package/dist/infrastructure/governance/nist-ai-rmf.d.ts +6 -8
- package/dist/infrastructure/governance/nist-ai-rmf.d.ts.map +1 -1
- package/dist/infrastructure/governance/nist-ai-rmf.js +6 -8
- package/dist/infrastructure/governance/nist-ai-rmf.js.map +1 -1
- package/dist/infrastructure/governance/policy-as-code.d.ts +6 -8
- package/dist/infrastructure/governance/policy-as-code.d.ts.map +1 -1
- package/dist/infrastructure/governance/policy-as-code.js +24 -11
- package/dist/infrastructure/governance/policy-as-code.js.map +1 -1
- package/dist/infrastructure/governance/prompt-to-code-lineage.d.ts +7 -9
- package/dist/infrastructure/governance/prompt-to-code-lineage.d.ts.map +1 -1
- package/dist/infrastructure/governance/prompt-to-code-lineage.js +7 -9
- package/dist/infrastructure/governance/prompt-to-code-lineage.js.map +1 -1
- package/dist/infrastructure/observability/execution-tracer.d.ts +5 -2
- package/dist/infrastructure/observability/execution-tracer.d.ts.map +1 -1
- package/dist/infrastructure/observability/execution-tracer.js +45 -8
- package/dist/infrastructure/observability/execution-tracer.js.map +1 -1
- package/dist/infrastructure/providers/cohere-provider.d.ts +39 -0
- package/dist/infrastructure/providers/cohere-provider.d.ts.map +1 -0
- package/dist/infrastructure/providers/cohere-provider.js +359 -0
- package/dist/infrastructure/providers/cohere-provider.js.map +1 -0
- package/dist/infrastructure/providers/fake-provider.d.ts +43 -0
- package/dist/infrastructure/providers/fake-provider.d.ts.map +1 -0
- package/dist/infrastructure/providers/fake-provider.js +130 -0
- package/dist/infrastructure/providers/fake-provider.js.map +1 -0
- package/dist/infrastructure/providers/local-llm-provider.d.ts +49 -0
- package/dist/infrastructure/providers/local-llm-provider.d.ts.map +1 -0
- package/dist/infrastructure/providers/local-llm-provider.js +330 -0
- package/dist/infrastructure/providers/local-llm-provider.js.map +1 -0
- package/dist/infrastructure/providers/model-config.types.d.ts +70 -0
- package/dist/infrastructure/providers/model-config.types.d.ts.map +1 -0
- package/dist/infrastructure/providers/model-config.types.js +9 -0
- package/dist/infrastructure/providers/model-config.types.js.map +1 -0
- package/dist/infrastructure/providers/model-provider.interface.d.ts +113 -0
- package/dist/infrastructure/providers/model-provider.interface.d.ts.map +1 -0
- package/dist/infrastructure/providers/model-provider.interface.js +8 -0
- package/dist/infrastructure/providers/model-provider.interface.js.map +1 -0
- package/dist/infrastructure/providers/openai-provider.d.ts +38 -0
- package/dist/infrastructure/providers/openai-provider.d.ts.map +1 -0
- package/dist/infrastructure/providers/openai-provider.js +413 -0
- package/dist/infrastructure/providers/openai-provider.js.map +1 -0
- package/dist/infrastructure/providers/operation-provider-resolver.d.ts +48 -0
- package/dist/infrastructure/providers/operation-provider-resolver.d.ts.map +1 -0
- package/dist/infrastructure/providers/operation-provider-resolver.js +105 -0
- package/dist/infrastructure/providers/operation-provider-resolver.js.map +1 -0
- package/dist/infrastructure/providers/provider-config-loader.d.ts +37 -0
- package/dist/infrastructure/providers/provider-config-loader.d.ts.map +1 -0
- package/dist/infrastructure/providers/provider-config-loader.js +120 -0
- package/dist/infrastructure/providers/provider-config-loader.js.map +1 -0
- package/dist/infrastructure/providers/provider-registry.d.ts +53 -0
- package/dist/infrastructure/providers/provider-registry.d.ts.map +1 -0
- package/dist/infrastructure/providers/provider-registry.js +88 -0
- package/dist/infrastructure/providers/provider-registry.js.map +1 -0
- package/dist/infrastructure/security/ai-sast-scanner.d.ts +4 -0
- package/dist/infrastructure/security/ai-sast-scanner.d.ts.map +1 -1
- package/dist/infrastructure/security/ai-sast-scanner.js +82 -4
- package/dist/infrastructure/security/ai-sast-scanner.js.map +1 -1
- package/dist/infrastructure/security/enhanced-security-gate.d.ts +2 -0
- package/dist/infrastructure/security/enhanced-security-gate.d.ts.map +1 -1
- package/dist/infrastructure/security/enhanced-security-gate.js +74 -15
- package/dist/infrastructure/security/enhanced-security-gate.js.map +1 -1
- package/dist/infrastructure/storage/plan-repository.d.ts +38 -0
- package/dist/infrastructure/storage/plan-repository.d.ts.map +1 -0
- package/dist/infrastructure/storage/plan-repository.js +133 -0
- package/dist/infrastructure/storage/plan-repository.js.map +1 -0
- package/dist/infrastructure/storage/sqlite-embedding-repository.d.ts +11 -0
- package/dist/infrastructure/storage/sqlite-embedding-repository.d.ts.map +1 -1
- package/dist/infrastructure/storage/sqlite-embedding-repository.js +121 -6
- package/dist/infrastructure/storage/sqlite-embedding-repository.js.map +1 -1
- package/dist/infrastructure/storage/task-helpers.d.ts +58 -0
- package/dist/infrastructure/storage/task-helpers.d.ts.map +1 -0
- package/dist/infrastructure/storage/task-helpers.js +157 -0
- package/dist/infrastructure/storage/task-helpers.js.map +1 -0
- package/dist/infrastructure/storage/task-repository.d.ts +67 -0
- package/dist/infrastructure/storage/task-repository.d.ts.map +1 -0
- package/dist/infrastructure/storage/task-repository.js +205 -0
- package/dist/infrastructure/storage/task-repository.js.map +1 -0
- package/dist/infrastructure/ux/bi-directional-learning.d.ts +22 -0
- package/dist/infrastructure/ux/bi-directional-learning.d.ts.map +1 -1
- package/dist/infrastructure/ux/bi-directional-learning.js +144 -7
- package/dist/infrastructure/ux/bi-directional-learning.js.map +1 -1
- package/dist/infrastructure/ux/capability-boundaries.d.ts +50 -0
- package/dist/infrastructure/ux/capability-boundaries.d.ts.map +1 -0
- package/dist/infrastructure/ux/capability-boundaries.js +167 -0
- package/dist/infrastructure/ux/capability-boundaries.js.map +1 -0
- package/dist/infrastructure/ux/comprehensive-formatter.d.ts +63 -0
- package/dist/infrastructure/ux/comprehensive-formatter.d.ts.map +1 -0
- package/dist/infrastructure/ux/comprehensive-formatter.js +212 -0
- package/dist/infrastructure/ux/comprehensive-formatter.js.map +1 -0
- package/dist/infrastructure/ux/contextual-feature-discovery.d.ts +24 -0
- package/dist/infrastructure/ux/contextual-feature-discovery.d.ts.map +1 -0
- package/dist/infrastructure/ux/contextual-feature-discovery.js +144 -0
- package/dist/infrastructure/ux/contextual-feature-discovery.js.map +1 -0
- package/dist/infrastructure/ux/expectation-management.d.ts +33 -0
- package/dist/infrastructure/ux/expectation-management.d.ts.map +1 -1
- package/dist/infrastructure/ux/expectation-management.js +138 -4
- package/dist/infrastructure/ux/expectation-management.js.map +1 -1
- package/dist/infrastructure/ux/feature-discovery.d.ts +47 -0
- package/dist/infrastructure/ux/feature-discovery.d.ts.map +1 -0
- package/dist/infrastructure/ux/feature-discovery.js +190 -0
- package/dist/infrastructure/ux/feature-discovery.js.map +1 -0
- package/dist/infrastructure/ux/feedback-prompt.d.ts +42 -0
- package/dist/infrastructure/ux/feedback-prompt.d.ts.map +1 -0
- package/dist/infrastructure/ux/feedback-prompt.js +181 -0
- package/dist/infrastructure/ux/feedback-prompt.js.map +1 -0
- package/dist/infrastructure/ux/hitl-review-portal.d.ts +47 -0
- package/dist/infrastructure/ux/hitl-review-portal.d.ts.map +1 -0
- package/dist/infrastructure/ux/hitl-review-portal.js +228 -0
- package/dist/infrastructure/ux/hitl-review-portal.js.map +1 -0
- package/dist/infrastructure/ux/hitl-validation.d.ts +35 -0
- package/dist/infrastructure/ux/hitl-validation.d.ts.map +1 -1
- package/dist/infrastructure/ux/hitl-validation.js +86 -0
- package/dist/infrastructure/ux/hitl-validation.js.map +1 -1
- package/dist/infrastructure/ux/progress-indicator.d.ts +55 -0
- package/dist/infrastructure/ux/progress-indicator.d.ts.map +1 -0
- package/dist/infrastructure/ux/progress-indicator.js +131 -0
- package/dist/infrastructure/ux/progress-indicator.js.map +1 -0
- package/dist/infrastructure/ux/progressive-disclosure.d.ts.map +1 -1
- package/dist/infrastructure/ux/progressive-disclosure.js +2 -1
- package/dist/infrastructure/ux/progressive-disclosure.js.map +1 -1
- package/dist/infrastructure/ux/proportional-friction.d.ts +73 -0
- package/dist/infrastructure/ux/proportional-friction.d.ts.map +1 -0
- package/dist/infrastructure/ux/proportional-friction.js +200 -0
- package/dist/infrastructure/ux/proportional-friction.js.map +1 -0
- package/dist/infrastructure/ux/review-checkpoint.d.ts +35 -0
- package/dist/infrastructure/ux/review-checkpoint.d.ts.map +1 -0
- package/dist/infrastructure/ux/review-checkpoint.js +119 -0
- package/dist/infrastructure/ux/review-checkpoint.js.map +1 -0
- package/dist/infrastructure/ux/staged-feature-intro.d.ts +47 -0
- package/dist/infrastructure/ux/staged-feature-intro.d.ts.map +1 -0
- package/dist/infrastructure/ux/staged-feature-intro.js +144 -0
- package/dist/infrastructure/ux/staged-feature-intro.js.map +1 -0
- package/dist/infrastructure/ux/syntax-highlighter.d.ts +21 -0
- package/dist/infrastructure/ux/syntax-highlighter.d.ts.map +1 -0
- package/dist/infrastructure/ux/syntax-highlighter.js +172 -0
- package/dist/infrastructure/ux/syntax-highlighter.js.map +1 -0
- package/dist/infrastructure/validation/agent-feedback.d.ts +115 -0
- package/dist/infrastructure/validation/agent-feedback.d.ts.map +1 -0
- package/dist/infrastructure/validation/agent-feedback.js +227 -0
- package/dist/infrastructure/validation/agent-feedback.js.map +1 -0
- package/dist/infrastructure/validation/agent-validation-helper.d.ts +75 -0
- package/dist/infrastructure/validation/agent-validation-helper.d.ts.map +1 -0
- package/dist/infrastructure/validation/agent-validation-helper.js +88 -0
- package/dist/infrastructure/validation/agent-validation-helper.js.map +1 -0
- package/dist/infrastructure/validation/feedback-stats.d.ts +99 -0
- package/dist/infrastructure/validation/feedback-stats.d.ts.map +1 -0
- package/dist/infrastructure/validation/feedback-stats.js +173 -0
- package/dist/infrastructure/validation/feedback-stats.js.map +1 -0
- package/dist/infrastructure/validation/review-handler.d.ts +54 -0
- package/dist/infrastructure/validation/review-handler.d.ts.map +1 -0
- package/dist/infrastructure/validation/review-handler.js +206 -0
- package/dist/infrastructure/validation/review-handler.js.map +1 -0
- package/dist/infrastructure/validation/summary-aggregator.d.ts +42 -0
- package/dist/infrastructure/validation/summary-aggregator.d.ts.map +1 -0
- package/dist/infrastructure/validation/summary-aggregator.js +156 -0
- package/dist/infrastructure/validation/summary-aggregator.js.map +1 -0
- package/dist/infrastructure/validation/summary-extractor.d.ts +59 -0
- package/dist/infrastructure/validation/summary-extractor.d.ts.map +1 -0
- package/dist/infrastructure/validation/summary-extractor.js +102 -0
- package/dist/infrastructure/validation/summary-extractor.js.map +1 -0
- package/dist/infrastructure/validation/trace-summary.d.ts +72 -0
- package/dist/infrastructure/validation/trace-summary.d.ts.map +1 -0
- package/dist/infrastructure/validation/trace-summary.js +371 -0
- package/dist/infrastructure/validation/trace-summary.js.map +1 -0
- package/dist/infrastructure/validation/trust-config.d.ts +27 -0
- package/dist/infrastructure/validation/trust-config.d.ts.map +1 -0
- package/dist/infrastructure/validation/trust-config.js +113 -0
- package/dist/infrastructure/validation/trust-config.js.map +1 -0
- package/dist/infrastructure/xai/attention-visualizer.d.ts +6 -8
- package/dist/infrastructure/xai/attention-visualizer.d.ts.map +1 -1
- package/dist/infrastructure/xai/attention-visualizer.js +6 -8
- package/dist/infrastructure/xai/attention-visualizer.js.map +1 -1
- package/dist/infrastructure/xai/cot-visualizer.d.ts +6 -8
- package/dist/infrastructure/xai/cot-visualizer.d.ts.map +1 -1
- package/dist/infrastructure/xai/cot-visualizer.js +62 -18
- package/dist/infrastructure/xai/cot-visualizer.js.map +1 -1
- package/dist/infrastructure/xai/decision-tree-log.d.ts +6 -10
- package/dist/infrastructure/xai/decision-tree-log.d.ts.map +1 -1
- package/dist/infrastructure/xai/decision-tree-log.js +6 -10
- package/dist/infrastructure/xai/decision-tree-log.js.map +1 -1
- package/dist/infrastructure/xai/interactive-xai.d.ts +6 -8
- package/dist/infrastructure/xai/interactive-xai.d.ts.map +1 -1
- package/dist/infrastructure/xai/interactive-xai.js +6 -8
- package/dist/infrastructure/xai/interactive-xai.js.map +1 -1
- package/dist/infrastructure/xai/uncertainty-quantifier.d.ts +6 -9
- package/dist/infrastructure/xai/uncertainty-quantifier.d.ts.map +1 -1
- package/dist/infrastructure/xai/uncertainty-quantifier.js +6 -9
- package/dist/infrastructure/xai/uncertainty-quantifier.js.map +1 -1
- package/dist/presentation/cli/commands/ask-command.d.ts.map +1 -1
- package/dist/presentation/cli/commands/ask-command.js +152 -13
- package/dist/presentation/cli/commands/ask-command.js.map +1 -1
- package/dist/presentation/cli/commands/docs-command.d.ts +12 -0
- package/dist/presentation/cli/commands/docs-command.d.ts.map +1 -0
- package/dist/presentation/cli/commands/docs-command.js +196 -0
- package/dist/presentation/cli/commands/docs-command.js.map +1 -0
- package/dist/presentation/cli/commands/fix-command.d.ts +8 -0
- package/dist/presentation/cli/commands/fix-command.d.ts.map +1 -0
- package/dist/presentation/cli/commands/fix-command.js +309 -0
- package/dist/presentation/cli/commands/fix-command.js.map +1 -0
- package/dist/presentation/cli/commands/help-command.d.ts.map +1 -1
- package/dist/presentation/cli/commands/help-command.js +2 -0
- package/dist/presentation/cli/commands/help-command.js.map +1 -1
- package/dist/presentation/cli/commands/orchestrate-command.d.ts +2 -0
- package/dist/presentation/cli/commands/orchestrate-command.d.ts.map +1 -1
- package/dist/presentation/cli/commands/orchestrate-command.js +88 -1
- package/dist/presentation/cli/commands/orchestrate-command.js.map +1 -1
- package/dist/presentation/cli/commands/plan-command.d.ts +1 -0
- package/dist/presentation/cli/commands/plan-command.d.ts.map +1 -1
- package/dist/presentation/cli/commands/plan-command.js +136 -7
- package/dist/presentation/cli/commands/plan-command.js.map +1 -1
- package/dist/presentation/cli/commands/product-command.d.ts +12 -0
- package/dist/presentation/cli/commands/product-command.d.ts.map +1 -0
- package/dist/presentation/cli/commands/product-command.js +188 -0
- package/dist/presentation/cli/commands/product-command.js.map +1 -0
- package/dist/presentation/cli/commands/react-command.d.ts.map +1 -1
- package/dist/presentation/cli/commands/react-command.js +98 -16
- package/dist/presentation/cli/commands/react-command.js.map +1 -1
- package/dist/presentation/cli/commands/review-command.d.ts +14 -0
- package/dist/presentation/cli/commands/review-command.d.ts.map +1 -0
- package/dist/presentation/cli/commands/review-command.js +22 -0
- package/dist/presentation/cli/commands/review-command.js.map +1 -0
- package/dist/presentation/cli/commands/run-command.d.ts +15 -0
- package/dist/presentation/cli/commands/run-command.d.ts.map +1 -0
- package/dist/presentation/cli/commands/run-command.js +29 -0
- package/dist/presentation/cli/commands/run-command.js.map +1 -0
- package/dist/presentation/cli/commands/setup-command.d.ts.map +1 -1
- package/dist/presentation/cli/commands/setup-command.js +67 -12
- package/dist/presentation/cli/commands/setup-command.js.map +1 -1
- package/dist/presentation/cli/commands/smart-command.d.ts +3 -1
- package/dist/presentation/cli/commands/smart-command.d.ts.map +1 -1
- package/dist/presentation/cli/commands/smart-command.js +227 -23
- package/dist/presentation/cli/commands/smart-command.js.map +1 -1
- package/dist/presentation/cli/commands/status-command.d.ts +11 -0
- package/dist/presentation/cli/commands/status-command.d.ts.map +1 -0
- package/dist/presentation/cli/commands/status-command.js +176 -0
- package/dist/presentation/cli/commands/status-command.js.map +1 -0
- package/dist/presentation/cli/commands/suggest-command.d.ts +13 -0
- package/dist/presentation/cli/commands/suggest-command.d.ts.map +1 -0
- package/dist/presentation/cli/commands/suggest-command.js +25 -0
- package/dist/presentation/cli/commands/suggest-command.js.map +1 -0
- package/dist/presentation/cli/commands/trace-command.d.ts.map +1 -1
- package/dist/presentation/cli/commands/trace-command.js +9 -5
- package/dist/presentation/cli/commands/trace-command.js.map +1 -1
- package/dist/presentation/cli/commands/undo-command.js +15 -6
- package/dist/presentation/cli/commands/undo-command.js.map +1 -1
- package/dist/presentation/cli/error-display.d.ts +2 -0
- package/dist/presentation/cli/error-display.d.ts.map +1 -1
- package/dist/presentation/cli/error-display.js +220 -2
- package/dist/presentation/cli/error-display.js.map +1 -1
- package/dist/presentation/cli/keyboard-shortcuts.d.ts +27 -0
- package/dist/presentation/cli/keyboard-shortcuts.d.ts.map +1 -0
- package/dist/presentation/cli/keyboard-shortcuts.js +77 -0
- package/dist/presentation/cli/keyboard-shortcuts.js.map +1 -0
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js +39 -2
- package/dist/session.js.map +1 -1
- package/dist/ui.d.ts.map +1 -1
- package/dist/ui.js +8 -5
- package/dist/ui.js.map +1 -1
- package/dist/utils/version.js +2 -2
- package/dist/verification/backup.d.ts.map +1 -1
- package/dist/verification/backup.js +24 -3
- package/dist/verification/backup.js.map +1 -1
- package/dist/verification/compiler.js +47 -12
- package/dist/verification/compiler.js.map +1 -1
- package/package.json +10 -2
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Infrastructure: Summary Aggregator
|
|
3
|
+
* Merges multiple TraceSummaries into a composite summary
|
|
4
|
+
* Used by MultiAgentOrchestrator to aggregate agent summaries
|
|
5
|
+
*/
|
|
6
|
+
import type { TraceSummary } from './trace-summary.js';
|
|
7
|
+
export interface CompositeSummary {
|
|
8
|
+
runId: string;
|
|
9
|
+
operation: string;
|
|
10
|
+
agentName: string;
|
|
11
|
+
filesChanged: string[];
|
|
12
|
+
filesCreated: string[];
|
|
13
|
+
filesDeleted: string[];
|
|
14
|
+
reasoningSteps: TraceSummary['reasoningSteps'];
|
|
15
|
+
validationChecks: TraceSummary['validationChecks'];
|
|
16
|
+
metrics: TraceSummary['metrics'];
|
|
17
|
+
reviewNeeded: TraceSummary['reviewNeeded'];
|
|
18
|
+
outcome: TraceSummary['outcome'];
|
|
19
|
+
errors?: string[];
|
|
20
|
+
warnings?: string[];
|
|
21
|
+
agentSummaries: Array<{
|
|
22
|
+
agent: string;
|
|
23
|
+
runId: string;
|
|
24
|
+
summary: TraceSummary;
|
|
25
|
+
}>;
|
|
26
|
+
phaseOrder: string[];
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Aggregate multiple agent summaries into a composite summary
|
|
30
|
+
*/
|
|
31
|
+
export declare class SummaryAggregator {
|
|
32
|
+
/**
|
|
33
|
+
* Merge multiple summaries into a composite summary
|
|
34
|
+
*/
|
|
35
|
+
mergeSummaries(summaries: Array<{
|
|
36
|
+
agent: string;
|
|
37
|
+
summary: TraceSummary;
|
|
38
|
+
runId?: string;
|
|
39
|
+
}>, unifiedRunId: string, operation: string): CompositeSummary;
|
|
40
|
+
}
|
|
41
|
+
export declare const summaryAggregator: SummaryAggregator;
|
|
42
|
+
//# sourceMappingURL=summary-aggregator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"summary-aggregator.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/validation/summary-aggregator.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,cAAc,EAAE,YAAY,CAAC,gBAAgB,CAAC,CAAC;IAC/C,gBAAgB,EAAE,YAAY,CAAC,kBAAkB,CAAC,CAAC;IACnD,OAAO,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC;IACjC,YAAY,EAAE,YAAY,CAAC,cAAc,CAAC,CAAC;IAC3C,OAAO,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,cAAc,EAAE,KAAK,CAAC;QACpB,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,YAAY,CAAC;KACvB,CAAC,CAAC;IACH,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAED;;GAEG;AACH,qBAAa,iBAAiB;IAC5B;;OAEG;IACH,cAAc,CACZ,SAAS,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,YAAY,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAC1E,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,MAAM,GAChB,gBAAgB;CA8JpB;AAGD,eAAO,MAAM,iBAAiB,mBAA0B,CAAC"}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Infrastructure: Summary Aggregator
|
|
3
|
+
* Merges multiple TraceSummaries into a composite summary
|
|
4
|
+
* Used by MultiAgentOrchestrator to aggregate agent summaries
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Aggregate multiple agent summaries into a composite summary
|
|
8
|
+
*/
|
|
9
|
+
export class SummaryAggregator {
|
|
10
|
+
/**
|
|
11
|
+
* Merge multiple summaries into a composite summary
|
|
12
|
+
*/
|
|
13
|
+
mergeSummaries(summaries, unifiedRunId, operation) {
|
|
14
|
+
if (summaries.length === 0) {
|
|
15
|
+
// Return empty summary structure
|
|
16
|
+
return {
|
|
17
|
+
runId: unifiedRunId,
|
|
18
|
+
operation,
|
|
19
|
+
agentName: 'multi-agent-orchestrator',
|
|
20
|
+
filesChanged: [],
|
|
21
|
+
filesCreated: [],
|
|
22
|
+
filesDeleted: [],
|
|
23
|
+
reasoningSteps: [],
|
|
24
|
+
validationChecks: [],
|
|
25
|
+
metrics: {
|
|
26
|
+
duration: 0,
|
|
27
|
+
operationsCount: 0,
|
|
28
|
+
},
|
|
29
|
+
reviewNeeded: {
|
|
30
|
+
required: false,
|
|
31
|
+
reasons: [],
|
|
32
|
+
},
|
|
33
|
+
outcome: 'success',
|
|
34
|
+
agentSummaries: [],
|
|
35
|
+
phaseOrder: [],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
// Aggregate files
|
|
39
|
+
const allFilesChanged = new Set();
|
|
40
|
+
const allFilesCreated = new Set();
|
|
41
|
+
const allFilesDeleted = new Set();
|
|
42
|
+
// Aggregate reasoning steps
|
|
43
|
+
const allReasoningSteps = [];
|
|
44
|
+
// Aggregate validation checks
|
|
45
|
+
const allValidationChecks = [];
|
|
46
|
+
// Aggregate metrics
|
|
47
|
+
let totalTokens = 0;
|
|
48
|
+
let totalDuration = 0;
|
|
49
|
+
let totalOperations = 0;
|
|
50
|
+
let totalFilesAnalyzed = 0;
|
|
51
|
+
// Aggregate errors and warnings
|
|
52
|
+
const allErrors = [];
|
|
53
|
+
const allWarnings = [];
|
|
54
|
+
// Track review needs
|
|
55
|
+
const reviewReasons = [];
|
|
56
|
+
let highestRiskLevel = 'low';
|
|
57
|
+
// Determine overall outcome
|
|
58
|
+
let hasFailures = false;
|
|
59
|
+
let hasPartialSuccess = false;
|
|
60
|
+
let needsReview = false;
|
|
61
|
+
const phaseOrder = [];
|
|
62
|
+
for (const { agent, summary, runId } of summaries) {
|
|
63
|
+
if (!summary)
|
|
64
|
+
continue;
|
|
65
|
+
phaseOrder.push(agent);
|
|
66
|
+
// Aggregate files
|
|
67
|
+
summary.filesChanged.forEach(f => allFilesChanged.add(f));
|
|
68
|
+
summary.filesCreated.forEach(f => allFilesCreated.add(f));
|
|
69
|
+
summary.filesDeleted.forEach(f => allFilesDeleted.add(f));
|
|
70
|
+
// Aggregate reasoning steps (limit to key steps per agent)
|
|
71
|
+
allReasoningSteps.push(...summary.reasoningSteps.slice(0, 3));
|
|
72
|
+
// Aggregate validation checks
|
|
73
|
+
allValidationChecks.push(...summary.validationChecks);
|
|
74
|
+
// Aggregate metrics
|
|
75
|
+
if (summary.metrics.tokensUsed) {
|
|
76
|
+
totalTokens += summary.metrics.tokensUsed;
|
|
77
|
+
}
|
|
78
|
+
totalDuration += summary.metrics.duration;
|
|
79
|
+
totalOperations += summary.metrics.operationsCount;
|
|
80
|
+
if (summary.metrics.filesAnalyzed) {
|
|
81
|
+
totalFilesAnalyzed += summary.metrics.filesAnalyzed;
|
|
82
|
+
}
|
|
83
|
+
// Aggregate errors and warnings
|
|
84
|
+
if (summary.errors) {
|
|
85
|
+
allErrors.push(...summary.errors);
|
|
86
|
+
}
|
|
87
|
+
if (summary.warnings) {
|
|
88
|
+
allWarnings.push(...summary.warnings);
|
|
89
|
+
}
|
|
90
|
+
// Track review needs
|
|
91
|
+
if (summary.reviewNeeded.required) {
|
|
92
|
+
needsReview = true;
|
|
93
|
+
reviewReasons.push(...summary.reviewNeeded.reasons.map(r => `${agent}: ${r}`));
|
|
94
|
+
// Determine highest risk level
|
|
95
|
+
const riskLevel = summary.reviewNeeded.riskLevel || 'medium';
|
|
96
|
+
const riskOrder = { low: 1, medium: 2, high: 3, critical: 4 };
|
|
97
|
+
if (riskOrder[riskLevel] > riskOrder[highestRiskLevel]) {
|
|
98
|
+
highestRiskLevel = riskLevel;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
// Track outcomes
|
|
102
|
+
if (summary.outcome === 'failure') {
|
|
103
|
+
hasFailures = true;
|
|
104
|
+
}
|
|
105
|
+
else if (summary.outcome === 'partial_success') {
|
|
106
|
+
hasPartialSuccess = true;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
// Determine overall outcome
|
|
110
|
+
let overallOutcome = 'success';
|
|
111
|
+
if (hasFailures) {
|
|
112
|
+
overallOutcome = 'failure';
|
|
113
|
+
}
|
|
114
|
+
else if (hasPartialSuccess || needsReview) {
|
|
115
|
+
overallOutcome = needsReview ? 'needs_review' : 'partial_success';
|
|
116
|
+
}
|
|
117
|
+
// Deduplicate errors and warnings
|
|
118
|
+
const uniqueErrors = Array.from(new Set(allErrors));
|
|
119
|
+
const uniqueWarnings = Array.from(new Set(allWarnings));
|
|
120
|
+
return {
|
|
121
|
+
runId: unifiedRunId,
|
|
122
|
+
operation,
|
|
123
|
+
agentName: 'multi-agent-orchestrator',
|
|
124
|
+
filesChanged: Array.from(allFilesChanged),
|
|
125
|
+
filesCreated: Array.from(allFilesCreated),
|
|
126
|
+
filesDeleted: Array.from(allFilesDeleted),
|
|
127
|
+
reasoningSteps: allReasoningSteps.slice(0, 10), // Limit to top 10 steps
|
|
128
|
+
validationChecks: allValidationChecks,
|
|
129
|
+
metrics: {
|
|
130
|
+
tokensUsed: totalTokens > 0 ? totalTokens : undefined,
|
|
131
|
+
duration: totalDuration,
|
|
132
|
+
operationsCount: totalOperations,
|
|
133
|
+
filesAnalyzed: totalFilesAnalyzed > 0 ? totalFilesAnalyzed : undefined,
|
|
134
|
+
},
|
|
135
|
+
reviewNeeded: {
|
|
136
|
+
required: needsReview,
|
|
137
|
+
reasons: reviewReasons,
|
|
138
|
+
riskLevel: highestRiskLevel,
|
|
139
|
+
},
|
|
140
|
+
outcome: overallOutcome,
|
|
141
|
+
errors: uniqueErrors.length > 0 ? uniqueErrors : undefined,
|
|
142
|
+
warnings: uniqueWarnings.length > 0 ? uniqueWarnings : undefined,
|
|
143
|
+
agentSummaries: summaries
|
|
144
|
+
.filter(s => s.summary)
|
|
145
|
+
.map(s => ({
|
|
146
|
+
agent: s.agent,
|
|
147
|
+
runId: s.runId || s.summary.runId,
|
|
148
|
+
summary: s.summary,
|
|
149
|
+
})),
|
|
150
|
+
phaseOrder,
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
// Singleton instance
|
|
155
|
+
export const summaryAggregator = new SummaryAggregator();
|
|
156
|
+
//# sourceMappingURL=summary-aggregator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"summary-aggregator.js","sourceRoot":"","sources":["../../../src/infrastructure/validation/summary-aggregator.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AA0BH;;GAEG;AACH,MAAM,OAAO,iBAAiB;IAC5B;;OAEG;IACH,cAAc,CACZ,SAA0E,EAC1E,YAAoB,EACpB,SAAiB;QAEjB,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC3B,iCAAiC;YACjC,OAAO;gBACL,KAAK,EAAE,YAAY;gBACnB,SAAS;gBACT,SAAS,EAAE,0BAA0B;gBACrC,YAAY,EAAE,EAAE;gBAChB,YAAY,EAAE,EAAE;gBAChB,YAAY,EAAE,EAAE;gBAChB,cAAc,EAAE,EAAE;gBAClB,gBAAgB,EAAE,EAAE;gBACpB,OAAO,EAA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ACL,UAAU;SACX,CAAC;IACJ,CAAC;CACF;AAED,qBAAqB;AACrB,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Infrastructure: Summary Extractor
|
|
3
|
+
* Extracts summaries from different response types for review flow
|
|
4
|
+
* Priority: compositeSummary > validationSummary > routingDecision
|
|
5
|
+
*/
|
|
6
|
+
import type { TraceSummary } from './trace-summary.js';
|
|
7
|
+
import type { CompositeSummary } from './summary-aggregator.js';
|
|
8
|
+
export interface SummarySource {
|
|
9
|
+
summary: TraceSummary | CompositeSummary;
|
|
10
|
+
source: 'composite' | 'validation' | 'routing';
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Extract summary from various response types
|
|
14
|
+
* Priority order: compositeSummary > validationSummary > routingDecision.summary
|
|
15
|
+
*/
|
|
16
|
+
export declare class SummaryExtractor {
|
|
17
|
+
/**
|
|
18
|
+
* Extract summary from orchestration response
|
|
19
|
+
*/
|
|
20
|
+
extractFromOrchestration(result: {
|
|
21
|
+
compositeSummary?: CompositeSummary;
|
|
22
|
+
validation?: {
|
|
23
|
+
validationSummary?: TraceSummary;
|
|
24
|
+
} | any;
|
|
25
|
+
execution?: {
|
|
26
|
+
validationSummary?: TraceSummary;
|
|
27
|
+
} | any;
|
|
28
|
+
plan?: {
|
|
29
|
+
validationSummary?: TraceSummary;
|
|
30
|
+
} | any;
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
}): SummarySource | null;
|
|
33
|
+
/**
|
|
34
|
+
* Extract summary from planning response
|
|
35
|
+
*/
|
|
36
|
+
extractFromPlanning(result: {
|
|
37
|
+
validationSummary?: TraceSummary;
|
|
38
|
+
}): SummarySource | null;
|
|
39
|
+
/**
|
|
40
|
+
* Extract summary from routing response
|
|
41
|
+
*/
|
|
42
|
+
extractFromRouting(result: {
|
|
43
|
+
routingDecision?: {
|
|
44
|
+
summary?: TraceSummary;
|
|
45
|
+
selectedAgent?: string;
|
|
46
|
+
confidence?: number;
|
|
47
|
+
selectionReason?: string;
|
|
48
|
+
};
|
|
49
|
+
result?: {
|
|
50
|
+
validationSummary?: TraceSummary;
|
|
51
|
+
};
|
|
52
|
+
}): SummarySource | null;
|
|
53
|
+
/**
|
|
54
|
+
* Convert CompositeSummary to TraceSummary format
|
|
55
|
+
*/
|
|
56
|
+
private compositeToTraceSummary;
|
|
57
|
+
}
|
|
58
|
+
export declare const summaryExtractor: SummaryExtractor;
|
|
59
|
+
//# sourceMappingURL=summary-extractor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"summary-extractor.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/validation/summary-extractor.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,YAAY,GAAG,gBAAgB,CAAC;IACzC,MAAM,EAAE,WAAW,GAAG,YAAY,GAAG,SAAS,CAAC;CAChD;AAED;;;GAGG;AACH,qBAAa,gBAAgB;IAC3B;;OAEG;IACH,wBAAwB,CAAC,MAAM,EAAE;QAC/B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;QACpC,UAAU,CAAC,EAAE;YAAE,iBAAiB,CAAC,EAAE,YAAY,CAAA;SAAE,GAAG,GAAG,CAAC;QACxD,SAAS,CAAC,EAAE;YAAE,iBAAiB,CAAC,EAAE,YAAY,CAAA;SAAE,GAAG,GAAG,CAAC;QACvD,IAAI,CAAC,EAAE;YAAE,iBAAiB,CAAC,EAAE,YAAY,CAAA;SAAE,GAAG,GAAG,CAAC;QAClD,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,GAAG,aAAa,GAAG,IAAI;IAsCxB;;OAEG;IACH,mBAAmB,CAAC,MAAM,EAAE;QAC1B,iBAAiB,CAAC,EAAE,YAAY,CAAC;KAClC,GAAG,aAAa,GAAG,IAAI;IAUxB;;OAEG;IACH,kBAAkB,CAAC,MAAM,EAAE;QACzB,eAAe,CAAC,EAAE;YAChB,OAAO,CAAC,EAAE,YAAY,CAAC;YACvB,aAAa,CAAC,EAAE,MAAM,CAAC;YACvB,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,eAAe,CAAC,EAAE,MAAM,CAAC;SAC1B,CAAC;QACF,MAAM,CAAC,EAAE;YACP,iBAAiB,CAAC,EAAE,YAAY,CAAC;SAClC,CAAC;KACH,GAAG,aAAa,GAAG,IAAI;IAoBxB;;OAEG;IACH,OAAO,CAAC,uBAAuB;CAiBhC;AAGD,eAAO,MAAM,gBAAgB,kBAAyB,CAAC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Infrastructure: Summary Extractor
|
|
3
|
+
* Extracts summaries from different response types for review flow
|
|
4
|
+
* Priority: compositeSummary > validationSummary > routingDecision
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Extract summary from various response types
|
|
8
|
+
* Priority order: compositeSummary > validationSummary > routingDecision.summary
|
|
9
|
+
*/
|
|
10
|
+
export class SummaryExtractor {
|
|
11
|
+
/**
|
|
12
|
+
* Extract summary from orchestration response
|
|
13
|
+
*/
|
|
14
|
+
extractFromOrchestration(result) {
|
|
15
|
+
// Priority 1: Composite summary (aggregated from all agents)
|
|
16
|
+
if (result.compositeSummary) {
|
|
17
|
+
// Convert CompositeSummary to TraceSummary format for review handler
|
|
18
|
+
const traceSummary = this.compositeToTraceSummary(result.compositeSummary);
|
|
19
|
+
return {
|
|
20
|
+
summary: traceSummary,
|
|
21
|
+
source: 'composite',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
// Priority 2: Validation summary
|
|
25
|
+
if (result.validation?.validationSummary) {
|
|
26
|
+
return {
|
|
27
|
+
summary: result.validation.validationSummary,
|
|
28
|
+
source: 'validation',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
// Priority 3: Execution summary
|
|
32
|
+
if (result.execution?.validationSummary) {
|
|
33
|
+
return {
|
|
34
|
+
summary: result.execution.validationSummary,
|
|
35
|
+
source: 'validation',
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
// Priority 4: Planning summary
|
|
39
|
+
if (result.plan?.validationSummary) {
|
|
40
|
+
return {
|
|
41
|
+
summary: result.plan.validationSummary,
|
|
42
|
+
source: 'validation',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Extract summary from planning response
|
|
49
|
+
*/
|
|
50
|
+
extractFromPlanning(result) {
|
|
51
|
+
if (result.validationSummary) {
|
|
52
|
+
return {
|
|
53
|
+
summary: result.validationSummary,
|
|
54
|
+
source: 'validation',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Extract summary from routing response
|
|
61
|
+
*/
|
|
62
|
+
extractFromRouting(result) {
|
|
63
|
+
// Priority 1: Validation summary from executed agent
|
|
64
|
+
if (result.result?.validationSummary) {
|
|
65
|
+
return {
|
|
66
|
+
summary: result.result.validationSummary,
|
|
67
|
+
source: 'validation',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
// Priority 2: Routing decision summary (if available)
|
|
71
|
+
if (result.routingDecision?.summary) {
|
|
72
|
+
return {
|
|
73
|
+
summary: result.routingDecision.summary,
|
|
74
|
+
source: 'routing',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
return null;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Convert CompositeSummary to TraceSummary format
|
|
81
|
+
*/
|
|
82
|
+
compositeToTraceSummary(composite) {
|
|
83
|
+
return {
|
|
84
|
+
runId: composite.runId,
|
|
85
|
+
operation: composite.operation,
|
|
86
|
+
agentName: composite.agentName,
|
|
87
|
+
filesChanged: composite.filesChanged,
|
|
88
|
+
filesCreated: composite.filesCreated,
|
|
89
|
+
filesDeleted: composite.filesDeleted,
|
|
90
|
+
reasoningSteps: composite.reasoningSteps,
|
|
91
|
+
validationChecks: composite.validationChecks,
|
|
92
|
+
metrics: composite.metrics,
|
|
93
|
+
reviewNeeded: composite.reviewNeeded,
|
|
94
|
+
outcome: composite.outcome,
|
|
95
|
+
errors: composite.errors,
|
|
96
|
+
warnings: composite.warnings,
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
// Singleton instance
|
|
101
|
+
export const summaryExtractor = new SummaryExtractor();
|
|
102
|
+
//# sourceMappingURL=summary-extractor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"summary-extractor.js","sourceRoot":"","sources":["../../../src/infrastructure/validation/summary-extractor.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAUH;;;GAGG;AACH,MAAM,OAAO,gBAAgB;IAC3B;;OAEG;IACH,wBAAwB,CAAC,MAMxB;QACC,6DAA6D;QAC7D,IAAI,MAAM,CAAC,gBAAgB,EAAE,CAAC;YAC5B,qEAAqE;YACrE,MAAM,YAAY,GAAG,IAAI,CAAC,uBAAuB,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;YAC3E,OAAO;gBACL,OAAO,EAAE,YAAY;gBACrB,MAAM,EAAE,WAAW;aACpB,CAAC;QACJ,CAAC;QAED,iCAAiC;QACjC,IAAI,MAAM,CAAC,UAAU,EAAE,iBAAiB,EAAE,CAAC;YACzC,OAAO;gBACL,OAAO,EAAE,MAAM,CAAC,UAAU,CAAC,iBAAiB;gBAC5C,MAAM,EAAE,YAAY;aACrB,CAAC;QACJ,CAAC;QAED,gCAAgC;QAChC,IAAI,MAAM,CAAC,SAAS,EAAE,iBAAiB,EAAE,CAAC;YACxC,OAAO;gBACL,OAAO,EAAE,MAAM,C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CAAC,cAAc;YACxC,gBAAgB,EAAE,SAAS,CAAC,gBAAgB;YAC5C,OAAO,EAAE,SAAS,CAAC,OAAO;YAC1B,YAAY,EAAE,SAAS,CAAC,YAAY;YACpC,OAAO,EAAE,SAAS,CAAC,OAAO;YAC1B,MAAM,EAAE,SAAS,CAAC,MAAM;YACxB,QAAQ,EAAE,SAAS,CAAC,QAAQ;SAC7B,CAAC;IACJ,CAAC;CACF;AAED,qBAAqB;AACrB,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Infrastructure: Trace Summary Formatter
|
|
3
|
+
* Structured summary of agent runs for validation and review
|
|
4
|
+
*
|
|
5
|
+
* Outputs:
|
|
6
|
+
* - Files changed
|
|
7
|
+
* - Reasoning steps occurred
|
|
8
|
+
* - Validation checks passed/failed
|
|
9
|
+
* - Tokens used
|
|
10
|
+
* - Where user review is needed
|
|
11
|
+
*/
|
|
12
|
+
import type { RunContext } from '../observability/execution-tracer.js';
|
|
13
|
+
import type { AgentFeedback } from './agent-feedback.js';
|
|
14
|
+
export interface TraceSummary {
|
|
15
|
+
runId: string;
|
|
16
|
+
operation: string;
|
|
17
|
+
agentName: string;
|
|
18
|
+
filesChanged: string[];
|
|
19
|
+
filesCreated: string[];
|
|
20
|
+
filesDeleted: string[];
|
|
21
|
+
reasoningSteps: Array<{
|
|
22
|
+
step: string;
|
|
23
|
+
timestamp: number;
|
|
24
|
+
type: 'thought' | 'action' | 'observation' | 'decision';
|
|
25
|
+
details?: string;
|
|
26
|
+
}>;
|
|
27
|
+
validationChecks: Array<{
|
|
28
|
+
check: string;
|
|
29
|
+
passed: boolean;
|
|
30
|
+
message?: string;
|
|
31
|
+
critical?: boolean;
|
|
32
|
+
}>;
|
|
33
|
+
metrics: {
|
|
34
|
+
tokensUsed?: number;
|
|
35
|
+
duration: number;
|
|
36
|
+
operationsCount: number;
|
|
37
|
+
filesAnalyzed?: number;
|
|
38
|
+
};
|
|
39
|
+
reviewNeeded: {
|
|
40
|
+
required: boolean;
|
|
41
|
+
reasons: string[];
|
|
42
|
+
riskLevel?: 'low' | 'medium' | 'high' | 'critical';
|
|
43
|
+
};
|
|
44
|
+
outcome: 'success' | 'failure' | 'partial_success' | 'needs_review';
|
|
45
|
+
errors?: string[];
|
|
46
|
+
warnings?: string[];
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Format trace summary from execution trace and feedback
|
|
50
|
+
*/
|
|
51
|
+
export declare class TraceSummaryFormatter {
|
|
52
|
+
/**
|
|
53
|
+
* Create summary from run context and feedback
|
|
54
|
+
*/
|
|
55
|
+
createSummary(run: RunContext, feedback?: AgentFeedback, agentName?: string): TraceSummary;
|
|
56
|
+
/**
|
|
57
|
+
* Format summary for console display
|
|
58
|
+
*/
|
|
59
|
+
formatSummary(summary: TraceSummary): string;
|
|
60
|
+
private extractFilesChanged;
|
|
61
|
+
private extractFilesCreated;
|
|
62
|
+
private extractFilesDeleted;
|
|
63
|
+
private extractReasoningSteps;
|
|
64
|
+
private extractValidationChecks;
|
|
65
|
+
private calculateMetrics;
|
|
66
|
+
private determineReviewNeeds;
|
|
67
|
+
private determineOutcome;
|
|
68
|
+
private extractErrors;
|
|
69
|
+
private extractWarnings;
|
|
70
|
+
}
|
|
71
|
+
export declare const traceSummaryFormatter: TraceSummaryFormatter;
|
|
72
|
+
//# sourceMappingURL=trace-summary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trace-summary.d.ts","sourceRoot":"","sources":["../../../src/infrastructure/validation/trace-summary.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAkB,MAAM,sCAAsC,CAAC;AACvF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGzD,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,C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