agentic-qe 3.2.3 → 3.3.1
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/.claude/agents/v3/qe-accessibility-auditor.md +90 -0
- package/README.md +49 -7
- package/package.json +8 -2
- package/scripts/cloud-db-config.json +37 -0
- package/scripts/cloud-db-connect.sh +37 -0
- package/scripts/cloud-db-tunnel.sh +23 -0
- package/v3/CHANGELOG.md +253 -0
- package/v3/README.md +59 -1
- package/v3/assets/agents/v3/qe-accessibility-auditor.md +90 -0
- package/v3/dist/adapters/claude-flow/index.d.ts +54 -0
- package/v3/dist/adapters/claude-flow/index.d.ts.map +1 -0
- package/v3/dist/adapters/claude-flow/index.js +79 -0
- package/v3/dist/adapters/claude-flow/index.js.map +1 -0
- package/v3/dist/adapters/claude-flow/model-router-bridge.d.ts +70 -0
- package/v3/dist/adapters/claude-flow/model-router-bridge.d.ts.map +1 -0
- package/v3/dist/adapters/claude-flow/model-router-bridge.js +203 -0
- package/v3/dist/adapters/claude-flow/model-router-bridge.js.map +1 -0
- package/v3/dist/adapters/claude-flow/pretrain-bridge.d.ts +73 -0
- package/v3/dist/adapters/claude-flow/pretrain-bridge.d.ts.map +1 -0
- package/v3/dist/adapters/claude-flow/pretrain-bridge.js +276 -0
- package/v3/dist/adapters/claude-flow/pretrain-bridge.js.map +1 -0
- package/v3/dist/adapters/claude-flow/trajectory-bridge.d.ts +70 -0
- package/v3/dist/adapters/claude-flow/trajectory-bridge.d.ts.map +1 -0
- package/v3/dist/adapters/claude-flow/trajectory-bridge.js +205 -0
- package/v3/dist/adapters/claude-flow/trajectory-bridge.js.map +1 -0
- package/v3/dist/adapters/claude-flow/types.d.ts +99 -0
- package/v3/dist/adapters/claude-flow/types.d.ts.map +1 -0
- package/v3/dist/adapters/claude-flow/types.js +6 -0
- package/v3/dist/adapters/claude-flow/types.js.map +1 -0
- package/v3/dist/causal-discovery/causal-graph.d.ts +80 -1
- package/v3/dist/causal-discovery/causal-graph.d.ts.map +1 -1
- package/v3/dist/causal-discovery/causal-graph.js +111 -1
- package/v3/dist/causal-discovery/causal-graph.js.map +1 -1
- package/v3/dist/cli/bundle.js +25321 -15378
- package/v3/dist/cli/command-registry.d.ts +55 -0
- package/v3/dist/cli/command-registry.d.ts.map +1 -0
- package/v3/dist/cli/command-registry.js +103 -0
- package/v3/dist/cli/command-registry.js.map +1 -0
- package/v3/dist/cli/commands/claude-flow-setup.d.ts +82 -0
- package/v3/dist/cli/commands/claude-flow-setup.d.ts.map +1 -0
- package/v3/dist/cli/commands/claude-flow-setup.js +334 -0
- package/v3/dist/cli/commands/claude-flow-setup.js.map +1 -0
- package/v3/dist/cli/commands/code.d.ts +9 -0
- package/v3/dist/cli/commands/code.d.ts.map +1 -0
- package/v3/dist/cli/commands/code.js +254 -0
- package/v3/dist/cli/commands/code.js.map +1 -0
- package/v3/dist/cli/commands/completions.d.ts +8 -0
- package/v3/dist/cli/commands/completions.d.ts.map +1 -0
- package/v3/dist/cli/commands/completions.js +99 -0
- package/v3/dist/cli/commands/completions.js.map +1 -0
- package/v3/dist/cli/commands/coverage.d.ts +9 -0
- package/v3/dist/cli/commands/coverage.d.ts.map +1 -0
- package/v3/dist/cli/commands/coverage.js +208 -0
- package/v3/dist/cli/commands/coverage.js.map +1 -0
- package/v3/dist/cli/commands/fleet.d.ts +11 -0
- package/v3/dist/cli/commands/fleet.d.ts.map +1 -0
- package/v3/dist/cli/commands/fleet.js +338 -0
- package/v3/dist/cli/commands/fleet.js.map +1 -0
- package/v3/dist/cli/commands/hooks.d.ts +2 -0
- package/v3/dist/cli/commands/hooks.d.ts.map +1 -1
- package/v3/dist/cli/commands/hooks.js +13 -2
- package/v3/dist/cli/commands/hooks.js.map +1 -1
- package/v3/dist/cli/commands/init.d.ts +19 -0
- package/v3/dist/cli/commands/init.d.ts.map +1 -0
- package/v3/dist/cli/commands/init.js +345 -0
- package/v3/dist/cli/commands/init.js.map +1 -0
- package/v3/dist/cli/commands/migrate.d.ts +9 -0
- package/v3/dist/cli/commands/migrate.d.ts.map +1 -0
- package/v3/dist/cli/commands/migrate.js +566 -0
- package/v3/dist/cli/commands/migrate.js.map +1 -0
- package/v3/dist/cli/commands/quality.d.ts +9 -0
- package/v3/dist/cli/commands/quality.d.ts.map +1 -0
- package/v3/dist/cli/commands/quality.js +40 -0
- package/v3/dist/cli/commands/quality.js.map +1 -0
- package/v3/dist/cli/commands/security.d.ts +9 -0
- package/v3/dist/cli/commands/security.d.ts.map +1 -0
- package/v3/dist/cli/commands/security.js +124 -0
- package/v3/dist/cli/commands/security.js.map +1 -0
- package/v3/dist/cli/commands/sync.d.ts +19 -0
- package/v3/dist/cli/commands/sync.d.ts.map +1 -0
- package/v3/dist/cli/commands/sync.js +283 -0
- package/v3/dist/cli/commands/sync.js.map +1 -0
- package/v3/dist/cli/commands/test.d.ts +9 -0
- package/v3/dist/cli/commands/test.d.ts.map +1 -0
- package/v3/dist/cli/commands/test.js +166 -0
- package/v3/dist/cli/commands/test.js.map +1 -0
- package/v3/dist/cli/handlers/agent-handler.d.ts +20 -0
- package/v3/dist/cli/handlers/agent-handler.d.ts.map +1 -0
- package/v3/dist/cli/handlers/agent-handler.js +158 -0
- package/v3/dist/cli/handlers/agent-handler.js.map +1 -0
- package/v3/dist/cli/handlers/domain-handler.d.ts +20 -0
- package/v3/dist/cli/handlers/domain-handler.d.ts.map +1 -0
- package/v3/dist/cli/handlers/domain-handler.js +115 -0
- package/v3/dist/cli/handlers/domain-handler.js.map +1 -0
- package/v3/dist/cli/handlers/index.d.ts +13 -0
- package/v3/dist/cli/handlers/index.d.ts.map +1 -0
- package/v3/dist/cli/handlers/index.js +15 -0
- package/v3/dist/cli/handlers/index.js.map +1 -0
- package/v3/dist/cli/handlers/init-handler.d.ts +38 -0
- package/v3/dist/cli/handlers/init-handler.d.ts.map +1 -0
- package/v3/dist/cli/handlers/init-handler.js +288 -0
- package/v3/dist/cli/handlers/init-handler.js.map +1 -0
- package/v3/dist/cli/handlers/interfaces.d.ts +104 -0
- package/v3/dist/cli/handlers/interfaces.d.ts.map +1 -0
- package/v3/dist/cli/handlers/interfaces.js +109 -0
- package/v3/dist/cli/handlers/interfaces.js.map +1 -0
- package/v3/dist/cli/handlers/protocol-handler.d.ts +19 -0
- package/v3/dist/cli/handlers/protocol-handler.d.ts.map +1 -0
- package/v3/dist/cli/handlers/protocol-handler.js +79 -0
- package/v3/dist/cli/handlers/protocol-handler.js.map +1 -0
- package/v3/dist/cli/handlers/status-handler.d.ts +30 -0
- package/v3/dist/cli/handlers/status-handler.d.ts.map +1 -0
- package/v3/dist/cli/handlers/status-handler.js +218 -0
- package/v3/dist/cli/handlers/status-handler.js.map +1 -0
- package/v3/dist/cli/handlers/task-handler.d.ts +22 -0
- package/v3/dist/cli/handlers/task-handler.d.ts.map +1 -0
- package/v3/dist/cli/handlers/task-handler.js +271 -0
- package/v3/dist/cli/handlers/task-handler.js.map +1 -0
- package/v3/dist/cli/index.d.ts +4 -0
- package/v3/dist/cli/index.d.ts.map +1 -1
- package/v3/dist/cli/index.js +62 -2583
- package/v3/dist/cli/index.js.map +1 -1
- package/v3/dist/cli/wizards/core/index.d.ts +11 -0
- package/v3/dist/cli/wizards/core/index.d.ts.map +1 -0
- package/v3/dist/cli/wizards/core/index.js +15 -0
- package/v3/dist/cli/wizards/core/index.js.map +1 -0
- package/v3/dist/cli/wizards/core/wizard-base.d.ts +87 -0
- package/v3/dist/cli/wizards/core/wizard-base.d.ts.map +1 -0
- package/v3/dist/cli/wizards/core/wizard-base.js +120 -0
- package/v3/dist/cli/wizards/core/wizard-base.js.map +1 -0
- package/v3/dist/cli/wizards/core/wizard-command.d.ts +182 -0
- package/v3/dist/cli/wizards/core/wizard-command.d.ts.map +1 -0
- package/v3/dist/cli/wizards/core/wizard-command.js +45 -0
- package/v3/dist/cli/wizards/core/wizard-command.js.map +1 -0
- package/v3/dist/cli/wizards/core/wizard-step.d.ts +109 -0
- package/v3/dist/cli/wizards/core/wizard-step.d.ts.map +1 -0
- package/v3/dist/cli/wizards/core/wizard-step.js +384 -0
- package/v3/dist/cli/wizards/core/wizard-step.js.map +1 -0
- package/v3/dist/cli/wizards/core/wizard-utils.d.ts +117 -0
- package/v3/dist/cli/wizards/core/wizard-utils.d.ts.map +1 -0
- package/v3/dist/cli/wizards/core/wizard-utils.js +291 -0
- package/v3/dist/cli/wizards/core/wizard-utils.js.map +1 -0
- package/v3/dist/cli/wizards/coverage-wizard.d.ts +13 -68
- package/v3/dist/cli/wizards/coverage-wizard.d.ts.map +1 -1
- package/v3/dist/cli/wizards/coverage-wizard.js +127 -391
- package/v3/dist/cli/wizards/coverage-wizard.js.map +1 -1
- package/v3/dist/cli/wizards/fleet-wizard.d.ts +13 -64
- package/v3/dist/cli/wizards/fleet-wizard.d.ts.map +1 -1
- package/v3/dist/cli/wizards/fleet-wizard.js +150 -363
- package/v3/dist/cli/wizards/fleet-wizard.js.map +1 -1
- package/v3/dist/cli/wizards/index.d.ts +2 -0
- package/v3/dist/cli/wizards/index.d.ts.map +1 -1
- package/v3/dist/cli/wizards/index.js +3 -0
- package/v3/dist/cli/wizards/index.js.map +1 -1
- package/v3/dist/cli/wizards/security-wizard.d.ts +13 -64
- package/v3/dist/cli/wizards/security-wizard.d.ts.map +1 -1
- package/v3/dist/cli/wizards/security-wizard.js +152 -395
- package/v3/dist/cli/wizards/security-wizard.js.map +1 -1
- package/v3/dist/cli/wizards/test-wizard.d.ts +13 -77
- package/v3/dist/cli/wizards/test-wizard.d.ts.map +1 -1
- package/v3/dist/cli/wizards/test-wizard.js +196 -328
- package/v3/dist/cli/wizards/test-wizard.js.map +1 -1
- package/v3/dist/coordination/mincut/interfaces.d.ts +8 -2
- package/v3/dist/coordination/mincut/interfaces.d.ts.map +1 -1
- package/v3/dist/coordination/mincut/interfaces.js.map +1 -1
- package/v3/dist/coordination/mincut/mincut-health-monitor.d.ts +8 -0
- package/v3/dist/coordination/mincut/mincut-health-monitor.d.ts.map +1 -1
- package/v3/dist/coordination/mincut/mincut-health-monitor.js +26 -4
- package/v3/dist/coordination/mincut/mincut-health-monitor.js.map +1 -1
- package/v3/dist/coordination/mincut/queen-integration.d.ts +7 -0
- package/v3/dist/coordination/mincut/queen-integration.d.ts.map +1 -1
- package/v3/dist/coordination/mincut/queen-integration.js +19 -1
- package/v3/dist/coordination/mincut/queen-integration.js.map +1 -1
- package/v3/dist/coordination/queen-coordinator.d.ts +5 -0
- package/v3/dist/coordination/queen-coordinator.d.ts.map +1 -1
- package/v3/dist/coordination/queen-coordinator.js +45 -7
- package/v3/dist/coordination/queen-coordinator.js.map +1 -1
- package/v3/dist/coordination/task-executor.js +2 -2
- package/v3/dist/coordination/task-executor.js.map +1 -1
- package/v3/dist/domains/chaos-resilience/plugin.js +2 -2
- package/v3/dist/domains/chaos-resilience/plugin.js.map +1 -1
- package/v3/dist/domains/code-intelligence/plugin.js +2 -2
- package/v3/dist/domains/code-intelligence/plugin.js.map +1 -1
- package/v3/dist/domains/contract-testing/plugin.js +2 -2
- package/v3/dist/domains/contract-testing/plugin.js.map +1 -1
- package/v3/dist/domains/coverage-analysis/plugin.d.ts.map +1 -1
- package/v3/dist/domains/coverage-analysis/plugin.js +2 -1
- package/v3/dist/domains/coverage-analysis/plugin.js.map +1 -1
- package/v3/dist/domains/defect-intelligence/plugin.js +2 -2
- package/v3/dist/domains/defect-intelligence/plugin.js.map +1 -1
- package/v3/dist/domains/domain-interface.d.ts.map +1 -1
- package/v3/dist/domains/domain-interface.js +3 -1
- package/v3/dist/domains/domain-interface.js.map +1 -1
- package/v3/dist/domains/learning-optimization/coordinator.d.ts +5 -0
- package/v3/dist/domains/learning-optimization/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/learning-optimization/coordinator.js +79 -0
- package/v3/dist/domains/learning-optimization/coordinator.js.map +1 -1
- package/v3/dist/domains/learning-optimization/plugin.js +2 -2
- package/v3/dist/domains/learning-optimization/plugin.js.map +1 -1
- package/v3/dist/domains/quality-assessment/plugin.js +2 -2
- package/v3/dist/domains/quality-assessment/plugin.js.map +1 -1
- package/v3/dist/domains/requirements-validation/plugin.js +2 -2
- package/v3/dist/domains/requirements-validation/plugin.js.map +1 -1
- package/v3/dist/domains/security-compliance/plugin.js +2 -2
- package/v3/dist/domains/security-compliance/plugin.js.map +1 -1
- package/v3/dist/domains/test-execution/index.d.ts +2 -1
- package/v3/dist/domains/test-execution/index.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/index.js +0 -2
- package/v3/dist/domains/test-execution/index.js.map +1 -1
- package/v3/dist/domains/test-execution/interfaces.d.ts +222 -25
- package/v3/dist/domains/test-execution/interfaces.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/interfaces.js +130 -3
- package/v3/dist/domains/test-execution/interfaces.js.map +1 -1
- package/v3/dist/domains/test-execution/plugin.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/plugin.js +2 -1
- package/v3/dist/domains/test-execution/plugin.js.map +1 -1
- package/v3/dist/domains/test-execution/test-prioritization-types.d.ts +5 -172
- package/v3/dist/domains/test-execution/test-prioritization-types.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/test-prioritization-types.js +6 -129
- package/v3/dist/domains/test-execution/test-prioritization-types.js.map +1 -1
- package/v3/dist/domains/test-execution/types/index.d.ts +7 -3
- package/v3/dist/domains/test-execution/types/index.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/types/index.js +7 -17
- package/v3/dist/domains/test-execution/types/index.js.map +1 -1
- package/v3/dist/domains/test-generation/coordinator.d.ts +32 -1
- package/v3/dist/domains/test-generation/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/coordinator.js +72 -3
- package/v3/dist/domains/test-generation/coordinator.js.map +1 -1
- package/v3/dist/domains/test-generation/factories/index.d.ts +8 -0
- package/v3/dist/domains/test-generation/factories/index.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/factories/index.js +8 -0
- package/v3/dist/domains/test-generation/factories/index.js.map +1 -0
- package/v3/dist/domains/test-generation/factories/test-generator-factory.d.ts +108 -0
- package/v3/dist/domains/test-generation/factories/test-generator-factory.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/factories/test-generator-factory.js +158 -0
- package/v3/dist/domains/test-generation/factories/test-generator-factory.js.map +1 -0
- package/v3/dist/domains/test-generation/generators/base-test-generator.d.ts +79 -0
- package/v3/dist/domains/test-generation/generators/base-test-generator.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/generators/base-test-generator.js +252 -0
- package/v3/dist/domains/test-generation/generators/base-test-generator.js.map +1 -0
- package/v3/dist/domains/test-generation/generators/index.d.ts +11 -0
- package/v3/dist/domains/test-generation/generators/index.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/generators/index.js +13 -0
- package/v3/dist/domains/test-generation/generators/index.js.map +1 -0
- package/v3/dist/domains/test-generation/generators/jest-vitest-generator.d.ts +77 -0
- package/v3/dist/domains/test-generation/generators/jest-vitest-generator.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/generators/jest-vitest-generator.js +365 -0
- package/v3/dist/domains/test-generation/generators/jest-vitest-generator.js.map +1 -0
- package/v3/dist/domains/test-generation/generators/mocha-generator.d.ts +56 -0
- package/v3/dist/domains/test-generation/generators/mocha-generator.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/generators/mocha-generator.js +197 -0
- package/v3/dist/domains/test-generation/generators/mocha-generator.js.map +1 -0
- package/v3/dist/domains/test-generation/generators/pytest-generator.d.ts +66 -0
- package/v3/dist/domains/test-generation/generators/pytest-generator.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/generators/pytest-generator.js +240 -0
- package/v3/dist/domains/test-generation/generators/pytest-generator.js.map +1 -0
- package/v3/dist/domains/test-generation/index.d.ts +2 -1
- package/v3/dist/domains/test-generation/index.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/index.js +5 -1
- package/v3/dist/domains/test-generation/index.js.map +1 -1
- package/v3/dist/domains/test-generation/interfaces/index.d.ts +9 -0
- package/v3/dist/domains/test-generation/interfaces/index.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/interfaces/index.js +9 -0
- package/v3/dist/domains/test-generation/interfaces/index.js.map +1 -0
- package/v3/dist/domains/test-generation/interfaces/test-generator.interface.d.ts +166 -0
- package/v3/dist/domains/test-generation/interfaces/test-generator.interface.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/interfaces/test-generator.interface.js +8 -0
- package/v3/dist/domains/test-generation/interfaces/test-generator.interface.js.map +1 -0
- package/v3/dist/domains/test-generation/interfaces.d.ts +163 -24
- package/v3/dist/domains/test-generation/interfaces.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/interfaces.js +2 -2
- package/v3/dist/domains/test-generation/plugin.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/plugin.js +6 -5
- package/v3/dist/domains/test-generation/plugin.js.map +1 -1
- package/v3/dist/domains/test-generation/services/coherence-gate-service.d.ts +245 -0
- package/v3/dist/domains/test-generation/services/coherence-gate-service.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/services/coherence-gate-service.js +454 -0
- package/v3/dist/domains/test-generation/services/coherence-gate-service.js.map +1 -0
- package/v3/dist/domains/test-generation/services/index.d.ts +8 -1
- package/v3/dist/domains/test-generation/services/index.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/services/index.js +10 -1
- package/v3/dist/domains/test-generation/services/index.js.map +1 -1
- package/v3/dist/domains/test-generation/services/property-test-generator.d.ts +34 -0
- package/v3/dist/domains/test-generation/services/property-test-generator.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/services/property-test-generator.js +306 -0
- package/v3/dist/domains/test-generation/services/property-test-generator.js.map +1 -0
- package/v3/dist/domains/test-generation/services/tdd-generator.d.ts +33 -0
- package/v3/dist/domains/test-generation/services/tdd-generator.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/services/tdd-generator.js +342 -0
- package/v3/dist/domains/test-generation/services/tdd-generator.js.map +1 -0
- package/v3/dist/domains/test-generation/services/test-data-generator.d.ts +34 -0
- package/v3/dist/domains/test-generation/services/test-data-generator.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/services/test-data-generator.js +245 -0
- package/v3/dist/domains/test-generation/services/test-data-generator.js.map +1 -0
- package/v3/dist/domains/test-generation/services/test-generator.d.ts +51 -160
- package/v3/dist/domains/test-generation/services/test-generator.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/services/test-generator.js +101 -1858
- package/v3/dist/domains/test-generation/services/test-generator.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/index.d.ts +2 -1
- package/v3/dist/domains/visual-accessibility/index.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/index.js +1 -0
- package/v3/dist/domains/visual-accessibility/index.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/interfaces.d.ts +131 -0
- package/v3/dist/domains/visual-accessibility/interfaces.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/plugin.d.ts +26 -0
- package/v3/dist/domains/visual-accessibility/plugin.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/plugin.js +153 -2
- package/v3/dist/domains/visual-accessibility/plugin.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/accessibility-tester.d.ts +42 -1
- package/v3/dist/domains/visual-accessibility/services/accessibility-tester.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/accessibility-tester.js +69 -0
- package/v3/dist/domains/visual-accessibility/services/accessibility-tester.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/eu-compliance.d.ts +138 -0
- package/v3/dist/domains/visual-accessibility/services/eu-compliance.d.ts.map +1 -0
- package/v3/dist/domains/visual-accessibility/services/eu-compliance.js +830 -0
- package/v3/dist/domains/visual-accessibility/services/eu-compliance.js.map +1 -0
- package/v3/dist/domains/visual-accessibility/services/index.d.ts +1 -0
- package/v3/dist/domains/visual-accessibility/services/index.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/index.js +1 -0
- package/v3/dist/domains/visual-accessibility/services/index.js.map +1 -1
- package/v3/dist/init/enhancements/claude-flow-adapter.d.ts +84 -0
- package/v3/dist/init/enhancements/claude-flow-adapter.d.ts.map +1 -0
- package/v3/dist/init/enhancements/claude-flow-adapter.js +250 -0
- package/v3/dist/init/enhancements/claude-flow-adapter.js.map +1 -0
- package/v3/dist/init/enhancements/detector.d.ts +10 -0
- package/v3/dist/init/enhancements/detector.d.ts.map +1 -0
- package/v3/dist/init/enhancements/detector.js +87 -0
- package/v3/dist/init/enhancements/detector.js.map +1 -0
- package/v3/dist/init/enhancements/index.d.ts +13 -0
- package/v3/dist/init/enhancements/index.d.ts.map +1 -0
- package/v3/dist/init/enhancements/index.js +25 -0
- package/v3/dist/init/enhancements/index.js.map +1 -0
- package/v3/dist/init/enhancements/types.d.ts +93 -0
- package/v3/dist/init/enhancements/types.d.ts.map +1 -0
- package/v3/dist/init/enhancements/types.js +6 -0
- package/v3/dist/init/enhancements/types.js.map +1 -0
- package/v3/dist/init/index.d.ts +8 -0
- package/v3/dist/init/index.d.ts.map +1 -1
- package/v3/dist/init/index.js +4 -0
- package/v3/dist/init/index.js.map +1 -1
- package/v3/dist/init/migration/config-migrator.d.ts +31 -0
- package/v3/dist/init/migration/config-migrator.d.ts.map +1 -0
- package/v3/dist/init/migration/config-migrator.js +133 -0
- package/v3/dist/init/migration/config-migrator.js.map +1 -0
- package/v3/dist/init/migration/data-migrator.d.ts +72 -0
- package/v3/dist/init/migration/data-migrator.d.ts.map +1 -0
- package/v3/dist/init/migration/data-migrator.js +233 -0
- package/v3/dist/init/migration/data-migrator.js.map +1 -0
- package/v3/dist/init/migration/detector.d.ts +44 -0
- package/v3/dist/init/migration/detector.d.ts.map +1 -0
- package/v3/dist/init/migration/detector.js +106 -0
- package/v3/dist/init/migration/detector.js.map +1 -0
- package/v3/dist/init/migration/index.d.ts +8 -0
- package/v3/dist/init/migration/index.d.ts.map +1 -0
- package/v3/dist/init/migration/index.js +8 -0
- package/v3/dist/init/migration/index.js.map +1 -0
- package/v3/dist/init/orchestrator.d.ts +68 -0
- package/v3/dist/init/orchestrator.d.ts.map +1 -0
- package/v3/dist/init/orchestrator.js +239 -0
- package/v3/dist/init/orchestrator.js.map +1 -0
- package/v3/dist/init/phases/01-detection.d.ts +30 -0
- package/v3/dist/init/phases/01-detection.d.ts.map +1 -0
- package/v3/dist/init/phases/01-detection.js +143 -0
- package/v3/dist/init/phases/01-detection.js.map +1 -0
- package/v3/dist/init/phases/02-analysis.d.ts +18 -0
- package/v3/dist/init/phases/02-analysis.d.ts.map +1 -0
- package/v3/dist/init/phases/02-analysis.js +28 -0
- package/v3/dist/init/phases/02-analysis.js.map +1 -0
- package/v3/dist/init/phases/03-configuration.d.ts +26 -0
- package/v3/dist/init/phases/03-configuration.d.ts.map +1 -0
- package/v3/dist/init/phases/03-configuration.js +98 -0
- package/v3/dist/init/phases/03-configuration.js.map +1 -0
- package/v3/dist/init/phases/04-database.d.ts +22 -0
- package/v3/dist/init/phases/04-database.d.ts.map +1 -0
- package/v3/dist/init/phases/04-database.js +88 -0
- package/v3/dist/init/phases/04-database.js.map +1 -0
- package/v3/dist/init/phases/05-learning.d.ts +28 -0
- package/v3/dist/init/phases/05-learning.d.ts.map +1 -0
- package/v3/dist/init/phases/05-learning.js +98 -0
- package/v3/dist/init/phases/05-learning.js.map +1 -0
- package/v3/dist/init/phases/06-code-intelligence.d.ts +33 -0
- package/v3/dist/init/phases/06-code-intelligence.d.ts.map +1 -0
- package/v3/dist/init/phases/06-code-intelligence.js +115 -0
- package/v3/dist/init/phases/06-code-intelligence.js.map +1 -0
- package/v3/dist/init/phases/07-hooks.d.ts +27 -0
- package/v3/dist/init/phases/07-hooks.d.ts.map +1 -0
- package/v3/dist/init/phases/07-hooks.js +209 -0
- package/v3/dist/init/phases/07-hooks.js.map +1 -0
- package/v3/dist/init/phases/08-mcp.d.ts +22 -0
- package/v3/dist/init/phases/08-mcp.d.ts.map +1 -0
- package/v3/dist/init/phases/08-mcp.js +62 -0
- package/v3/dist/init/phases/08-mcp.js.map +1 -0
- package/v3/dist/init/phases/09-assets.d.ts +23 -0
- package/v3/dist/init/phases/09-assets.d.ts.map +1 -0
- package/v3/dist/init/phases/09-assets.js +82 -0
- package/v3/dist/init/phases/09-assets.js.map +1 -0
- package/v3/dist/init/phases/10-workers.d.ts +23 -0
- package/v3/dist/init/phases/10-workers.d.ts.map +1 -0
- package/v3/dist/init/phases/10-workers.js +111 -0
- package/v3/dist/init/phases/10-workers.js.map +1 -0
- package/v3/dist/init/phases/11-claude-md.d.ts +26 -0
- package/v3/dist/init/phases/11-claude-md.d.ts.map +1 -0
- package/v3/dist/init/phases/11-claude-md.js +121 -0
- package/v3/dist/init/phases/11-claude-md.js.map +1 -0
- package/v3/dist/init/phases/12-verification.d.ts +61 -0
- package/v3/dist/init/phases/12-verification.d.ts.map +1 -0
- package/v3/dist/init/phases/12-verification.js +370 -0
- package/v3/dist/init/phases/12-verification.js.map +1 -0
- package/v3/dist/init/phases/index.d.ts +46 -0
- package/v3/dist/init/phases/index.d.ts.map +1 -0
- package/v3/dist/init/phases/index.js +64 -0
- package/v3/dist/init/phases/index.js.map +1 -0
- package/v3/dist/init/phases/phase-interface.d.ts +193 -0
- package/v3/dist/init/phases/phase-interface.d.ts.map +1 -0
- package/v3/dist/init/phases/phase-interface.js +119 -0
- package/v3/dist/init/phases/phase-interface.js.map +1 -0
- package/v3/dist/integrations/agentic-flow/model-router/complexity-analyzer.d.ts +24 -62
- package/v3/dist/integrations/agentic-flow/model-router/complexity-analyzer.d.ts.map +1 -1
- package/v3/dist/integrations/agentic-flow/model-router/complexity-analyzer.js +45 -497
- package/v3/dist/integrations/agentic-flow/model-router/complexity-analyzer.js.map +1 -1
- package/v3/dist/integrations/agentic-flow/model-router/router.js +2 -2
- package/v3/dist/integrations/agentic-flow/model-router/router.js.map +1 -1
- package/v3/dist/integrations/agentic-flow/model-router/score-calculator.d.ts +98 -0
- package/v3/dist/integrations/agentic-flow/model-router/score-calculator.d.ts.map +1 -0
- package/v3/dist/integrations/agentic-flow/model-router/score-calculator.js +197 -0
- package/v3/dist/integrations/agentic-flow/model-router/score-calculator.js.map +1 -0
- package/v3/dist/integrations/agentic-flow/model-router/signal-collector.d.ts +102 -0
- package/v3/dist/integrations/agentic-flow/model-router/signal-collector.d.ts.map +1 -0
- package/v3/dist/integrations/agentic-flow/model-router/signal-collector.js +372 -0
- package/v3/dist/integrations/agentic-flow/model-router/signal-collector.js.map +1 -0
- package/v3/dist/integrations/agentic-flow/model-router/tier-recommender.d.ts +64 -0
- package/v3/dist/integrations/agentic-flow/model-router/tier-recommender.d.ts.map +1 -0
- package/v3/dist/integrations/agentic-flow/model-router/tier-recommender.js +120 -0
- package/v3/dist/integrations/agentic-flow/model-router/tier-recommender.js.map +1 -0
- package/v3/dist/integrations/coherence/coherence-service.d.ts +323 -0
- package/v3/dist/integrations/coherence/coherence-service.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/coherence-service.js +856 -0
- package/v3/dist/integrations/coherence/coherence-service.js.map +1 -0
- package/v3/dist/integrations/coherence/engines/category-adapter.d.ts +170 -0
- package/v3/dist/integrations/coherence/engines/category-adapter.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/engines/category-adapter.js +403 -0
- package/v3/dist/integrations/coherence/engines/category-adapter.js.map +1 -0
- package/v3/dist/integrations/coherence/engines/causal-adapter.d.ts +159 -0
- package/v3/dist/integrations/coherence/engines/causal-adapter.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/engines/causal-adapter.js +348 -0
- package/v3/dist/integrations/coherence/engines/causal-adapter.js.map +1 -0
- package/v3/dist/integrations/coherence/engines/cohomology-adapter.d.ts +174 -0
- package/v3/dist/integrations/coherence/engines/cohomology-adapter.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/engines/cohomology-adapter.js +401 -0
- package/v3/dist/integrations/coherence/engines/cohomology-adapter.js.map +1 -0
- package/v3/dist/integrations/coherence/engines/homotopy-adapter.d.ts +201 -0
- package/v3/dist/integrations/coherence/engines/homotopy-adapter.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/engines/homotopy-adapter.js +324 -0
- package/v3/dist/integrations/coherence/engines/homotopy-adapter.js.map +1 -0
- package/v3/dist/integrations/coherence/engines/index.d.ts +20 -0
- package/v3/dist/integrations/coherence/engines/index.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/engines/index.js +26 -0
- package/v3/dist/integrations/coherence/engines/index.js.map +1 -0
- package/v3/dist/integrations/coherence/engines/spectral-adapter.d.ts +193 -0
- package/v3/dist/integrations/coherence/engines/spectral-adapter.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/engines/spectral-adapter.js +565 -0
- package/v3/dist/integrations/coherence/engines/spectral-adapter.js.map +1 -0
- package/v3/dist/integrations/coherence/engines/witness-adapter.d.ts +175 -0
- package/v3/dist/integrations/coherence/engines/witness-adapter.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/engines/witness-adapter.js +377 -0
- package/v3/dist/integrations/coherence/engines/witness-adapter.js.map +1 -0
- package/v3/dist/integrations/coherence/index.d.ts +84 -0
- package/v3/dist/integrations/coherence/index.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/index.js +114 -0
- package/v3/dist/integrations/coherence/index.js.map +1 -0
- package/v3/dist/integrations/coherence/threshold-tuner.d.ts +396 -0
- package/v3/dist/integrations/coherence/threshold-tuner.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/threshold-tuner.js +538 -0
- package/v3/dist/integrations/coherence/threshold-tuner.js.map +1 -0
- package/v3/dist/integrations/coherence/types.d.ts +879 -0
- package/v3/dist/integrations/coherence/types.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/types.js +134 -0
- package/v3/dist/integrations/coherence/types.js.map +1 -0
- package/v3/dist/integrations/coherence/wasm-loader.d.ts +351 -0
- package/v3/dist/integrations/coherence/wasm-loader.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/wasm-loader.js +842 -0
- package/v3/dist/integrations/coherence/wasm-loader.js.map +1 -0
- package/v3/dist/integrations/embeddings/index/HNSWIndex.d.ts.map +1 -1
- package/v3/dist/integrations/embeddings/index/HNSWIndex.js +4 -1
- package/v3/dist/integrations/embeddings/index/HNSWIndex.js.map +1 -1
- package/v3/dist/kernel/interfaces.d.ts +8 -1
- package/v3/dist/kernel/interfaces.d.ts.map +1 -1
- package/v3/dist/learning/aqe-learning-engine.d.ts +272 -0
- package/v3/dist/learning/aqe-learning-engine.d.ts.map +1 -0
- package/v3/dist/learning/aqe-learning-engine.js +708 -0
- package/v3/dist/learning/aqe-learning-engine.js.map +1 -0
- package/v3/dist/learning/causal-verifier.d.ts +244 -0
- package/v3/dist/learning/causal-verifier.d.ts.map +1 -0
- package/v3/dist/learning/causal-verifier.js +300 -0
- package/v3/dist/learning/causal-verifier.js.map +1 -0
- package/v3/dist/learning/experience-capture.d.ts +266 -0
- package/v3/dist/learning/experience-capture.d.ts.map +1 -0
- package/v3/dist/learning/experience-capture.js +647 -0
- package/v3/dist/learning/experience-capture.js.map +1 -0
- package/v3/dist/learning/index.d.ts +8 -0
- package/v3/dist/learning/index.d.ts.map +1 -1
- package/v3/dist/learning/index.js +16 -0
- package/v3/dist/learning/index.js.map +1 -1
- package/v3/dist/learning/memory-auditor.d.ts +235 -0
- package/v3/dist/learning/memory-auditor.d.ts.map +1 -0
- package/v3/dist/learning/memory-auditor.js +480 -0
- package/v3/dist/learning/memory-auditor.js.map +1 -0
- package/v3/dist/learning/pattern-store.d.ts.map +1 -1
- package/v3/dist/learning/pattern-store.js +27 -6
- package/v3/dist/learning/pattern-store.js.map +1 -1
- package/v3/dist/learning/qe-patterns.d.ts +15 -1
- package/v3/dist/learning/qe-patterns.d.ts.map +1 -1
- package/v3/dist/learning/qe-patterns.js +26 -5
- package/v3/dist/learning/qe-patterns.js.map +1 -1
- package/v3/dist/learning/qe-reasoning-bank.d.ts +38 -2
- package/v3/dist/learning/qe-reasoning-bank.d.ts.map +1 -1
- package/v3/dist/learning/qe-reasoning-bank.js +86 -4
- package/v3/dist/learning/qe-reasoning-bank.js.map +1 -1
- package/v3/dist/learning/real-qe-reasoning-bank.d.ts +32 -2
- package/v3/dist/learning/real-qe-reasoning-bank.d.ts.map +1 -1
- package/v3/dist/learning/real-qe-reasoning-bank.js +61 -6
- package/v3/dist/learning/real-qe-reasoning-bank.js.map +1 -1
- package/v3/dist/mcp/bundle.js +8786 -1737
- package/v3/dist/mcp/security/cve-prevention.d.ts +31 -134
- package/v3/dist/mcp/security/cve-prevention.d.ts.map +1 -1
- package/v3/dist/mcp/security/cve-prevention.js +37 -562
- package/v3/dist/mcp/security/cve-prevention.js.map +1 -1
- package/v3/dist/mcp/security/index.d.ts +5 -1
- package/v3/dist/mcp/security/index.d.ts.map +1 -1
- package/v3/dist/mcp/security/validators/command-validator.d.ts +41 -0
- package/v3/dist/mcp/security/validators/command-validator.d.ts.map +1 -0
- package/v3/dist/mcp/security/validators/command-validator.js +123 -0
- package/v3/dist/mcp/security/validators/command-validator.js.map +1 -0
- package/v3/dist/mcp/security/validators/crypto-validator.d.ts +40 -0
- package/v3/dist/mcp/security/validators/crypto-validator.d.ts.map +1 -0
- package/v3/dist/mcp/security/validators/crypto-validator.js +72 -0
- package/v3/dist/mcp/security/validators/crypto-validator.js.map +1 -0
- package/v3/dist/mcp/security/validators/index.d.ts +12 -0
- package/v3/dist/mcp/security/validators/index.d.ts.map +1 -0
- package/v3/dist/mcp/security/validators/index.js +22 -0
- package/v3/dist/mcp/security/validators/index.js.map +1 -0
- package/v3/dist/mcp/security/validators/input-sanitizer.d.ts +56 -0
- package/v3/dist/mcp/security/validators/input-sanitizer.d.ts.map +1 -0
- package/v3/dist/mcp/security/validators/input-sanitizer.js +157 -0
- package/v3/dist/mcp/security/validators/input-sanitizer.js.map +1 -0
- package/v3/dist/mcp/security/validators/interfaces.d.ts +164 -0
- package/v3/dist/mcp/security/validators/interfaces.d.ts.map +1 -0
- package/v3/dist/mcp/security/validators/interfaces.js +6 -0
- package/v3/dist/mcp/security/validators/interfaces.js.map +1 -0
- package/v3/dist/mcp/security/validators/path-traversal-validator.d.ts +50 -0
- package/v3/dist/mcp/security/validators/path-traversal-validator.d.ts.map +1 -0
- package/v3/dist/mcp/security/validators/path-traversal-validator.js +242 -0
- package/v3/dist/mcp/security/validators/path-traversal-validator.js.map +1 -0
- package/v3/dist/mcp/security/validators/regex-safety-validator.d.ts +50 -0
- package/v3/dist/mcp/security/validators/regex-safety-validator.d.ts.map +1 -0
- package/v3/dist/mcp/security/validators/regex-safety-validator.js +183 -0
- package/v3/dist/mcp/security/validators/regex-safety-validator.js.map +1 -0
- package/v3/dist/mcp/security/validators/validation-orchestrator.d.ts +66 -0
- package/v3/dist/mcp/security/validators/validation-orchestrator.d.ts.map +1 -0
- package/v3/dist/mcp/security/validators/validation-orchestrator.js +146 -0
- package/v3/dist/mcp/security/validators/validation-orchestrator.js.map +1 -0
- package/v3/dist/mcp/server.d.ts.map +1 -1
- package/v3/dist/mcp/server.js +1 -0
- package/v3/dist/mcp/server.js.map +1 -1
- package/v3/dist/mcp/tool-registry.d.ts +3 -1
- package/v3/dist/mcp/tool-registry.d.ts.map +1 -1
- package/v3/dist/mcp/tool-registry.js +155 -2
- package/v3/dist/mcp/tool-registry.js.map +1 -1
- package/v3/dist/mcp/tools/coherence/audit.d.ts +107 -0
- package/v3/dist/mcp/tools/coherence/audit.d.ts.map +1 -0
- package/v3/dist/mcp/tools/coherence/audit.js +236 -0
- package/v3/dist/mcp/tools/coherence/audit.js.map +1 -0
- package/v3/dist/mcp/tools/coherence/check.d.ts +106 -0
- package/v3/dist/mcp/tools/coherence/check.d.ts.map +1 -0
- package/v3/dist/mcp/tools/coherence/check.js +205 -0
- package/v3/dist/mcp/tools/coherence/check.js.map +1 -0
- package/v3/dist/mcp/tools/coherence/collapse.d.ts +123 -0
- package/v3/dist/mcp/tools/coherence/collapse.d.ts.map +1 -0
- package/v3/dist/mcp/tools/coherence/collapse.js +279 -0
- package/v3/dist/mcp/tools/coherence/collapse.js.map +1 -0
- package/v3/dist/mcp/tools/coherence/consensus.d.ts +100 -0
- package/v3/dist/mcp/tools/coherence/consensus.d.ts.map +1 -0
- package/v3/dist/mcp/tools/coherence/consensus.js +201 -0
- package/v3/dist/mcp/tools/coherence/consensus.js.map +1 -0
- package/v3/dist/mcp/tools/coherence/index.d.ts +31 -0
- package/v3/dist/mcp/tools/coherence/index.d.ts.map +1 -0
- package/v3/dist/mcp/tools/coherence/index.js +42 -0
- package/v3/dist/mcp/tools/coherence/index.js.map +1 -0
- package/v3/dist/mcp/tools/index.d.ts +6 -1
- package/v3/dist/mcp/tools/index.d.ts.map +1 -1
- package/v3/dist/mcp/tools/index.js +9 -1
- package/v3/dist/mcp/tools/index.js.map +1 -1
- package/v3/dist/mcp/tools/mincut/index.d.ts +1 -1
- package/v3/dist/mcp/tools/mincut/index.d.ts.map +1 -1
- package/v3/dist/mcp/tools/mincut/index.js.map +1 -1
- package/v3/dist/mcp/tools/registry.d.ts +4 -0
- package/v3/dist/mcp/tools/registry.d.ts.map +1 -1
- package/v3/dist/mcp/tools/registry.js +5 -0
- package/v3/dist/mcp/tools/registry.js.map +1 -1
- package/v3/dist/mcp/tools/test-generation/generate.d.ts +1 -0
- package/v3/dist/mcp/tools/test-generation/generate.d.ts.map +1 -1
- package/v3/dist/mcp/tools/test-generation/generate.js +3 -2
- package/v3/dist/mcp/tools/test-generation/generate.js.map +1 -1
- package/v3/dist/mcp/types.d.ts +1 -1
- package/v3/dist/mcp/types.d.ts.map +1 -1
- package/v3/dist/strange-loop/belief-reconciler.d.ts +357 -0
- package/v3/dist/strange-loop/belief-reconciler.d.ts.map +1 -0
- package/v3/dist/strange-loop/belief-reconciler.js +696 -0
- package/v3/dist/strange-loop/belief-reconciler.js.map +1 -0
- package/v3/dist/strange-loop/index.d.ts +1 -0
- package/v3/dist/strange-loop/index.d.ts.map +1 -1
- package/v3/dist/strange-loop/index.js +2 -0
- package/v3/dist/strange-loop/index.js.map +1 -1
- package/v3/dist/strange-loop/strange-loop.d.ts +177 -5
- package/v3/dist/strange-loop/strange-loop.d.ts.map +1 -1
- package/v3/dist/strange-loop/strange-loop.js +452 -9
- package/v3/dist/strange-loop/strange-loop.js.map +1 -1
- package/v3/dist/strange-loop/types.d.ts +205 -1
- package/v3/dist/strange-loop/types.d.ts.map +1 -1
- package/v3/dist/strange-loop/types.js +5 -0
- package/v3/dist/strange-loop/types.js.map +1 -1
- package/v3/dist/sync/cloud/index.d.ts +8 -0
- package/v3/dist/sync/cloud/index.d.ts.map +1 -0
- package/v3/dist/sync/cloud/index.js +8 -0
- package/v3/dist/sync/cloud/index.js.map +1 -0
- package/v3/dist/sync/cloud/postgres-writer.d.ts +88 -0
- package/v3/dist/sync/cloud/postgres-writer.d.ts.map +1 -0
- package/v3/dist/sync/cloud/postgres-writer.js +319 -0
- package/v3/dist/sync/cloud/postgres-writer.js.map +1 -0
- package/v3/dist/sync/cloud/tunnel-manager.d.ts +75 -0
- package/v3/dist/sync/cloud/tunnel-manager.d.ts.map +1 -0
- package/v3/dist/sync/cloud/tunnel-manager.js +221 -0
- package/v3/dist/sync/cloud/tunnel-manager.js.map +1 -0
- package/v3/dist/sync/index.d.ts +35 -0
- package/v3/dist/sync/index.d.ts.map +1 -0
- package/v3/dist/sync/index.js +35 -0
- package/v3/dist/sync/index.js.map +1 -0
- package/v3/dist/sync/interfaces.d.ts +245 -0
- package/v3/dist/sync/interfaces.d.ts.map +1 -0
- package/v3/dist/sync/interfaces.js +160 -0
- package/v3/dist/sync/interfaces.js.map +1 -0
- package/v3/dist/sync/readers/index.d.ts +8 -0
- package/v3/dist/sync/readers/index.d.ts.map +1 -0
- package/v3/dist/sync/readers/index.js +8 -0
- package/v3/dist/sync/readers/index.js.map +1 -0
- package/v3/dist/sync/readers/json-reader.d.ts +95 -0
- package/v3/dist/sync/readers/json-reader.d.ts.map +1 -0
- package/v3/dist/sync/readers/json-reader.js +306 -0
- package/v3/dist/sync/readers/json-reader.js.map +1 -0
- package/v3/dist/sync/readers/sqlite-reader.d.ts +88 -0
- package/v3/dist/sync/readers/sqlite-reader.d.ts.map +1 -0
- package/v3/dist/sync/readers/sqlite-reader.js +255 -0
- package/v3/dist/sync/readers/sqlite-reader.js.map +1 -0
- package/v3/dist/sync/sync-agent.d.ts +116 -0
- package/v3/dist/sync/sync-agent.d.ts.map +1 -0
- package/v3/dist/sync/sync-agent.js +416 -0
- package/v3/dist/sync/sync-agent.js.map +1 -0
- package/v3/package.json +17 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../../src/domains/security-compliance/plugin.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAQH,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAa1D,OAAO,EACL,6BAA6B,GAG9B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,sBAAsB,GAGvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,sBAAsB,GAGvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,0BAA0B,GAG3B,MAAM,oCAAoC,CAAC;AAmD5C,+EAA+E;AAC/E,sCAAsC;AACtC,+EAA+E;AAE/E,MAAM,OAAO,wBAAyB,SAAQ,gBAAgB;IAUzC;IATX,WAAW,GAAkD,IAAI,CAAC;IAClE,eAAe,GAAmC,IAAI,CAAC;IACvD,eAAe,GAAmC,IAAI,CAAC;IACvD,mBAAmB,GAAgD,IAAI,CAAC;IAC/D,YAAY,CAAiC;IAE9D,YACE,QAAkB,EAClB,MAAqB,EACJ,gBAAkC,EACnD,SAAyC,EAAE;QAE3C,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;QAHP,qBAAgB,GAAhB,gBAAgB,CAAkB;QAInD,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC;IAC7B,CAAC;IAED,6EAA6E;IAC7E,wCAAwC;IACxC,6EAA6E;IAE7E,IAAI,IAAI;QACN,OAAO,qBAAqB,CAAC;IAC/B,CAAC;IAED,IAAI,OAAO;QACT,OAAO,OAAO,CAAC;IACjB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CAAC,OAAO,CAAC;SACpD,CAAC,CAAC;QAEH,4BAA4B;QAC5B,IAAI,CAAC,MAAM,CAAC,GAAG,CACb,sBAAsB,SAAS,IAAI,IAAI,CAAC,GAAG,EAAE,EAAE,EAC/C,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,SAAS,EAAE,IAAI,IAAI,EAAE,EAAE,EAC1E,EAAE,SAAS,EAAE,qBAAqB,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,WAAW;SAC7D,CAAC;IACJ,CAAC;CACF;AAED,+EAA+E;AAC/E,mBAAmB;AACnB,+EAA+E;AAE/E,MAAM,UAAU,8BAA8B,CAC5C,QAAkB,EAClB,MAAqB,EACrB,gBAAkC,EAClC,MAAuC;IAEvC,OAAO,IAAI,wBAAwB,CAAC,QAAQ,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,CAAC,CAAC;AAClF,CAAC"}
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* Public API exports for the test execution domain
|
|
4
4
|
*/
|
|
5
5
|
export type { TestExecutionAPI, ExecuteTestsRequest, ParallelExecutionRequest, TestRunResult, FailedTest, CoverageData, FlakyDetectionRequest, FlakyTestReport, FlakyTest, RetryRequest, RetryResult, ExecutionStats, } from './interfaces';
|
|
6
|
-
export {
|
|
6
|
+
export { createNavigateStep, createClickStep, createTypeStep, createWaitStep, createAssertStep, createScreenshotStep, createA11yCheckStep, createE2ETestCase, isNavigateStep, isClickStep, isTypeStep, isWaitStep, isAssertStep, isScreenshotStep, isA11yCheckStep, } from './types';
|
|
7
|
+
export type { E2EStepType, NavigateStepOptions, ClickStepOptions, TypeStepOptions, WaitStepOptions, WaitConditionType, AssertStepOptions, AssertionType, ScreenshotStepOptions, A11yCheckStepOptions, StepOptions, E2EStepBase, NavigateStep, ClickStep, TypeStep, WaitStep, AssertStep, ScreenshotStep, A11yCheckStep, E2EStep, E2EStepResult, Viewport, BrowserContextOptions, E2ETestHooks, E2ETestCase, E2ETestResult, E2ETestSuite, E2ETestSuiteResult, ExtractStepType, StepOptionsFor, E2EStepBuilder, SerializableE2ETestCase, } from './types';
|
|
7
8
|
export { TestExecutorService, type ITestExecutionService, type TestExecutorConfig, } from './services/test-executor';
|
|
8
9
|
export { FlakyDetectorService, type IFlakyTestDetector, type FlakyAnalysis, type FlakySuggestion, type Recommendation, type TestExecutionRecord, type ExecutionContext, type CorrelationFactor, type FlakyDetectorConfig, } from './services/flaky-detector';
|
|
9
10
|
export { RetryHandlerService, type IRetryHandler, type RetryExecutionRequest, type RetryStatistics, type TestRetryStats, type RetryPolicy, type RetryCondition, type RetryHandlerConfig, } from './services/retry-handler';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/domains/test-execution/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,YAAY,EACV,gBAAgB,EAChB,mBAAmB,EACnB,wBAAwB,EACxB,aAAa,EACb,UAAU,EACV,YAAY,EACZ,qBAAqB,EACrB,eAAe,EACf,SAAS,EACT,YAAY,EACZ,WAAW,EACX,cAAc,GACf,MAAM,cAAc,CAAC;AAMtB,OAAO,EAEL,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/domains/test-execution/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,YAAY,EACV,gBAAgB,EAChB,mBAAmB,EACnB,wBAAwB,EACxB,aAAa,EACb,UAAU,EACV,YAAY,EACZ,qBAAqB,EACrB,eAAe,EACf,SAAS,EACT,YAAY,EACZ,WAAW,EACX,cAAc,GACf,MAAM,cAAc,CAAC;AAMtB,OAAO,EAEL,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EAGjB,cAAc,EACd,WAAW,EACX,UAAU,EACV,UAAU,EACV,YAAY,EACZ,gBAAgB,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AK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,yBAAyB,GAC1B,MAAM,uBAAuB,CAAC;AAM/B,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,aAAa,EACb,eAAe,EACf,6BAA6B,EAC7B,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC;AAMrC,OAAO,EACL,wBAAwB,EACxB,8BAA8B,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,8BAA8B,GACpC,MAAM,eAAe,CAAC;AAMvB,OAAO,EACL,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,UAAU,CAAC"}
|
|
@@ -6,8 +6,6 @@
|
|
|
6
6
|
// E2E Step Types
|
|
7
7
|
// ============================================================================
|
|
8
8
|
export {
|
|
9
|
-
// Step Type Enumeration
|
|
10
|
-
E2EStepType,
|
|
11
9
|
// Factory Functions
|
|
12
10
|
createNavigateStep, createClickStep, createTypeStep, createWaitStep, createAssertStep, createScreenshotStep, createA11yCheckStep, createE2ETestCase,
|
|
13
11
|
// Type Guards
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/domains/test-execution/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAqBH,+EAA+E;AAC/E,iBAAiB;AACjB,+EAA+E;AAE/E,OAAO;AACL,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/domains/test-execution/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAqBH,+EAA+E;AAC/E,iBAAiB;AACjB,+EAA+E;AAE/E,OAAO;AACL,oBAAoB;AACpB,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB;AAEjB,cAAc;AACd,cAAc,EACd,WAAW,EACX,UAAU,EACV,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,eAAe,GAChB,MAAM,SAAS,CAAC;AAoDjB,+EAA+E;AAC/E,WAAW;AACX,+EAA+E;AAE/E,OAAO,EACL,mBAAmB,GAGpB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACL,oBAAoB,GASrB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,mBAAmB,GAQpB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACL,sBAAsB,GAOvB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,2CAA2C,EAC3C,8BAA8B,EAK9B,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,yBAAyB,GAC1B,MAAM,uBAAuB,CAAC;AAE/B,+EAA+E;AAC/E,4BAA4B;AAC5B,+EAA+E;AAE/E,OAAO,EAKL,aAAa,EACb,eAAe,EACf,6BAA6B,EAC7B,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC;AAErC,+EAA+E;AAC/E,cAAc;AACd,+EAA+E;AAE/E,OAAO,EACL,wBAAwB,EACxB,8BAA8B,GAG/B,MAAM,eAAe,CAAC;AAEvB,+EAA+E;AAC/E,SAAS;AACT,+EAA+E;AAE/E,OAAO,EACL,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,UAAU,CAAC"}
|
|
@@ -1,36 +1,40 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Agentic QE v3 - Test Execution Domain
|
|
3
|
-
*
|
|
2
|
+
* Agentic QE v3 - Test Execution Domain Interfaces
|
|
3
|
+
* All types and interfaces for the test-execution domain
|
|
4
4
|
*/
|
|
5
5
|
import { Result } from '../../shared/types';
|
|
6
|
-
|
|
6
|
+
export type { E2EStepType, NavigateStepOptions, ClickStepOptions, TypeStepOptions, WaitStepOptions, WaitConditionType, AssertStepOptions, AssertionType, ScreenshotStepOptions, A11yCheckStepOptions, StepOptions, E2EStepBase, NavigateStep, ClickStep, TypeStep, WaitStep, AssertStep, ScreenshotStep, A11yCheckStep, E2EStep, E2EStepResult, Viewport, BrowserContextOptions, E2ETestHooks, E2ETestCase, E2ETestResult, E2ETestSuite, E2ETestSuiteResult, ExtractStepType, StepOptionsFor, E2EStepBuilder, SerializableE2ETestCase, FlowCategory, FlowStatus, RecordedActionType, RecordedAction, NavigateAction, ClickAction, TypeAction, HoverAction, ScrollAction, SelectAction, UploadAction, DownloadAction, DragDropAction, KeyboardAction, AssertionAction, AnyRecordedAction, FlowTemplateBase, LoginFlowTemplate, CheckoutFlowTemplate, FormSubmissionFlowTemplate, SearchFlowTemplate, NavigationFlowTemplate, FlowTemplate, RecordingConfig, RecordingSession, UserFlow, CodeGenerationOptions, GeneratedTestCode, } from './types';
|
|
7
|
+
export { createNavigateStep, createClickStep, createTypeStep, createWaitStep, createAssertStep, createScreenshotStep, createA11yCheckStep, createE2ETestCase, isNavigateStep, isClickStep, isTypeStep, isWaitStep, isAssertStep, isScreenshotStep, isA11yCheckStep, isNavigateAction, isClickAction, isTypeAction, isAssertionAction, isLoginFlowTemplate, isCheckoutFlowTemplate, isFormSubmissionFlowTemplate, isSearchFlowTemplate, isNavigationFlowTemplate, DEFAULT_RECORDING_CONFIG, DEFAULT_CODE_GENERATION_OPTIONS, } from './types';
|
|
7
8
|
import type { ExecutionStrategy } from './services/e2e-runner';
|
|
8
|
-
|
|
9
|
+
import type { E2ETestCase, E2ETestResult, E2ETestSuite, E2ETestSuiteResult } from './types';
|
|
10
|
+
export interface ITestExecutionAPI {
|
|
9
11
|
/**
|
|
10
12
|
* Simple test execution - convenience method for CLI
|
|
11
13
|
* Auto-detects framework and uses sensible defaults
|
|
12
14
|
*/
|
|
13
|
-
runTests(request:
|
|
15
|
+
runTests(request: ISimpleTestRequest): Promise<Result<ITestRunResult, Error>>;
|
|
14
16
|
/** Execute test suite */
|
|
15
|
-
execute(request:
|
|
17
|
+
execute(request: IExecuteTestsRequest): Promise<Result<ITestRunResult, Error>>;
|
|
16
18
|
/** Execute tests in parallel */
|
|
17
|
-
executeParallel(request:
|
|
19
|
+
executeParallel(request: IParallelExecutionRequest): Promise<Result<ITestRunResult, Error>>;
|
|
18
20
|
/** Detect flaky tests */
|
|
19
|
-
detectFlaky(request:
|
|
21
|
+
detectFlaky(request: IFlakyDetectionRequest): Promise<Result<IFlakyTestReport, Error>>;
|
|
20
22
|
/** Retry failed tests */
|
|
21
|
-
retry(request:
|
|
23
|
+
retry(request: IRetryRequest): Promise<Result<IRetryResult, Error>>;
|
|
22
24
|
/** Get execution statistics */
|
|
23
|
-
getStats(runId: string): Promise<Result<
|
|
25
|
+
getStats(runId: string): Promise<Result<IExecutionStats, Error>>;
|
|
24
26
|
/** Execute E2E test case */
|
|
25
27
|
executeE2ETestCase?(testCase: E2ETestCase): Promise<Result<E2ETestResult, Error>>;
|
|
26
28
|
/** Execute E2E test suite */
|
|
27
29
|
executeE2ETestSuite?(suite: E2ETestSuite, strategy?: ExecutionStrategy): Promise<Result<E2ETestSuiteResult, Error>>;
|
|
28
30
|
}
|
|
31
|
+
/** @deprecated Use ITestExecutionAPI */
|
|
32
|
+
export type TestExecutionAPI = ITestExecutionAPI;
|
|
29
33
|
/**
|
|
30
34
|
* Simple test request for CLI convenience method
|
|
31
35
|
* Auto-detects framework and uses sensible defaults
|
|
32
36
|
*/
|
|
33
|
-
export interface
|
|
37
|
+
export interface ISimpleTestRequest {
|
|
34
38
|
/** Test files to execute */
|
|
35
39
|
testFiles: string[];
|
|
36
40
|
/** Run tests in parallel (default: true) */
|
|
@@ -42,19 +46,19 @@ export interface SimpleTestRequest {
|
|
|
42
46
|
/** Number of parallel workers (default: auto based on file count) */
|
|
43
47
|
workers?: number;
|
|
44
48
|
}
|
|
45
|
-
export interface
|
|
49
|
+
export interface IExecuteTestsRequest {
|
|
46
50
|
testFiles: string[];
|
|
47
51
|
framework: string;
|
|
48
52
|
timeout?: number;
|
|
49
53
|
env?: Record<string, string>;
|
|
50
54
|
reporters?: string[];
|
|
51
55
|
}
|
|
52
|
-
export interface
|
|
56
|
+
export interface IParallelExecutionRequest extends IExecuteTestsRequest {
|
|
53
57
|
workers: number;
|
|
54
58
|
sharding?: 'file' | 'test' | 'time-balanced';
|
|
55
59
|
isolation?: 'process' | 'worker' | 'none';
|
|
56
60
|
}
|
|
57
|
-
export interface
|
|
61
|
+
export interface ITestRunResult {
|
|
58
62
|
runId: string;
|
|
59
63
|
status: 'passed' | 'failed' | 'error';
|
|
60
64
|
total: number;
|
|
@@ -62,10 +66,10 @@ export interface TestRunResult {
|
|
|
62
66
|
failed: number;
|
|
63
67
|
skipped: number;
|
|
64
68
|
duration: number;
|
|
65
|
-
failedTests:
|
|
66
|
-
coverage?:
|
|
69
|
+
failedTests: IFailedTest[];
|
|
70
|
+
coverage?: ICoverageData;
|
|
67
71
|
}
|
|
68
|
-
export interface
|
|
72
|
+
export interface IFailedTest {
|
|
69
73
|
testId: string;
|
|
70
74
|
testName: string;
|
|
71
75
|
file: string;
|
|
@@ -73,23 +77,23 @@ export interface FailedTest {
|
|
|
73
77
|
stack?: string;
|
|
74
78
|
duration: number;
|
|
75
79
|
}
|
|
76
|
-
export interface
|
|
80
|
+
export interface ICoverageData {
|
|
77
81
|
line: number;
|
|
78
82
|
branch: number;
|
|
79
83
|
function: number;
|
|
80
84
|
statement: number;
|
|
81
85
|
}
|
|
82
|
-
export interface
|
|
86
|
+
export interface IFlakyDetectionRequest {
|
|
83
87
|
testFiles: string[];
|
|
84
88
|
runs: number;
|
|
85
89
|
threshold: number;
|
|
86
90
|
}
|
|
87
|
-
export interface
|
|
88
|
-
flakyTests:
|
|
91
|
+
export interface IFlakyTestReport {
|
|
92
|
+
flakyTests: IFlakyTest[];
|
|
89
93
|
totalRuns: number;
|
|
90
94
|
analysisTime: number;
|
|
91
95
|
}
|
|
92
|
-
export interface
|
|
96
|
+
export interface IFlakyTest {
|
|
93
97
|
testId: string;
|
|
94
98
|
testName: string;
|
|
95
99
|
file: string;
|
|
@@ -97,20 +101,20 @@ export interface FlakyTest {
|
|
|
97
101
|
pattern: 'timing' | 'ordering' | 'resource' | 'async' | 'unknown';
|
|
98
102
|
recommendation: string;
|
|
99
103
|
}
|
|
100
|
-
export interface
|
|
104
|
+
export interface IRetryRequest {
|
|
101
105
|
runId: string;
|
|
102
106
|
failedTests: string[];
|
|
103
107
|
maxRetries: number;
|
|
104
108
|
backoff?: 'linear' | 'exponential';
|
|
105
109
|
}
|
|
106
|
-
export interface
|
|
110
|
+
export interface IRetryResult {
|
|
107
111
|
originalFailed: number;
|
|
108
112
|
retried: number;
|
|
109
113
|
nowPassing: number;
|
|
110
114
|
stillFailing: number;
|
|
111
115
|
flakyDetected: string[];
|
|
112
116
|
}
|
|
113
|
-
export interface
|
|
117
|
+
export interface IExecutionStats {
|
|
114
118
|
runId: string;
|
|
115
119
|
startTime: Date;
|
|
116
120
|
endTime: Date;
|
|
@@ -119,4 +123,197 @@ export interface ExecutionStats {
|
|
|
119
123
|
workers: number;
|
|
120
124
|
memoryUsage: number;
|
|
121
125
|
}
|
|
126
|
+
import type { TestExecutionState, TestExecutionAction } from '../../integrations/rl-suite/interfaces.js';
|
|
127
|
+
import type { Priority, DomainName } from '../../shared/types';
|
|
128
|
+
/**
|
|
129
|
+
* Extended test execution state for prioritization
|
|
130
|
+
*/
|
|
131
|
+
export interface TestPrioritizationState extends TestExecutionState {
|
|
132
|
+
/** Test file path */
|
|
133
|
+
filePath: string;
|
|
134
|
+
/** Test name within the file */
|
|
135
|
+
testName: string;
|
|
136
|
+
/** Test complexity score (0-1) */
|
|
137
|
+
complexity: number;
|
|
138
|
+
/** Estimated execution time (ms) */
|
|
139
|
+
estimatedDuration: number;
|
|
140
|
+
/** Code coverage percentage (0-100) */
|
|
141
|
+
coverage: number;
|
|
142
|
+
/** Recent failure rate (0-1) */
|
|
143
|
+
failureRate: number;
|
|
144
|
+
/** Flakiness score (0-1) */
|
|
145
|
+
flakinessScore: number;
|
|
146
|
+
/** Number of recent executions */
|
|
147
|
+
executionCount: number;
|
|
148
|
+
/** Time since last modification (ms) */
|
|
149
|
+
timeSinceModification: number;
|
|
150
|
+
/** Business criticality (0-1) */
|
|
151
|
+
businessCriticality: number;
|
|
152
|
+
/** Dependency count (number of tests this depends on) */
|
|
153
|
+
dependencyCount: number;
|
|
154
|
+
/** Priority assigned by human or rules */
|
|
155
|
+
assignedPriority: Priority;
|
|
156
|
+
/** Domain this test belongs to */
|
|
157
|
+
domain: DomainName;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Normalized feature vector for DT input
|
|
161
|
+
* Features are normalized to [0, 1] range for stable training
|
|
162
|
+
*/
|
|
163
|
+
export interface TestPrioritizationFeatures {
|
|
164
|
+
/** Feature 0: Failure probability (recent history) */
|
|
165
|
+
failureProbability: number;
|
|
166
|
+
/** Feature 1: Flakiness score */
|
|
167
|
+
flakiness: number;
|
|
168
|
+
/** Feature 2: Complexity */
|
|
169
|
+
complexity: number;
|
|
170
|
+
/** Feature 3: Coverage gap (1 - coverage) */
|
|
171
|
+
coverageGap: number;
|
|
172
|
+
/** Feature 4: Business criticality */
|
|
173
|
+
criticality: number;
|
|
174
|
+
/** Feature 5: Execution speed (inverse of duration) */
|
|
175
|
+
speed: number;
|
|
176
|
+
/** Feature 6: Age (inverse of time since modification) */
|
|
177
|
+
age: number;
|
|
178
|
+
/** Feature 7: Dependency complexity */
|
|
179
|
+
dependencyComplexity: number;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Map test metadata to normalized feature vector
|
|
183
|
+
*/
|
|
184
|
+
export declare function mapToFeatures(test: Partial<TestPrioritizationState>): TestPrioritizationFeatures;
|
|
185
|
+
/**
|
|
186
|
+
* Convert features to numeric array for RL algorithms
|
|
187
|
+
*/
|
|
188
|
+
export declare function featuresToArray(features: TestPrioritizationFeatures): number[];
|
|
189
|
+
/**
|
|
190
|
+
* Priority level action for test ordering
|
|
191
|
+
*/
|
|
192
|
+
export type PriorityAction = 'critical' | 'high' | 'standard' | 'low' | 'defer';
|
|
193
|
+
/**
|
|
194
|
+
* Test prioritization action
|
|
195
|
+
*/
|
|
196
|
+
export interface TestPrioritizationAction extends TestExecutionAction {
|
|
197
|
+
type: 'prioritize';
|
|
198
|
+
/** Priority level */
|
|
199
|
+
value: PriorityAction;
|
|
200
|
+
/** Position in execution queue (0 = first) */
|
|
201
|
+
position?: number;
|
|
202
|
+
/** Reasoning for priority */
|
|
203
|
+
reasoning?: string;
|
|
204
|
+
/** Confidence score (0-1) */
|
|
205
|
+
confidence: number;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* Map priority action to numeric score for sorting
|
|
209
|
+
*/
|
|
210
|
+
export declare function priorityToScore(action: PriorityAction): number;
|
|
211
|
+
/**
|
|
212
|
+
* Map priority action to Priority enum
|
|
213
|
+
*/
|
|
214
|
+
export declare function priorityActionToPriority(action: PriorityAction): Priority;
|
|
215
|
+
/**
|
|
216
|
+
* Execution context for prioritization decisions
|
|
217
|
+
*/
|
|
218
|
+
export interface TestPrioritizationContext {
|
|
219
|
+
/** Current run ID */
|
|
220
|
+
runId: string;
|
|
221
|
+
/** Total tests to execute */
|
|
222
|
+
totalTests: number;
|
|
223
|
+
/** Available execution time (ms) */
|
|
224
|
+
availableTime: number;
|
|
225
|
+
/** Number of workers for parallel execution */
|
|
226
|
+
workers: number;
|
|
227
|
+
/** Execution mode */
|
|
228
|
+
mode: 'sequential' | 'parallel';
|
|
229
|
+
/** Current phase */
|
|
230
|
+
phase: 'regression' | 'ci' | 'local' | 'smoke';
|
|
231
|
+
/** Previous run results (for learning) */
|
|
232
|
+
history?: TestExecutionHistory[];
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Historical execution data for learning
|
|
236
|
+
*/
|
|
237
|
+
export interface TestExecutionHistory {
|
|
238
|
+
testId: string;
|
|
239
|
+
timestamp: Date;
|
|
240
|
+
passed: boolean;
|
|
241
|
+
duration: number;
|
|
242
|
+
priority: Priority;
|
|
243
|
+
failureReason?: string;
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Reward components for test prioritization
|
|
247
|
+
*/
|
|
248
|
+
export interface TestPrioritizationReward {
|
|
249
|
+
/** Early failure detection reward */
|
|
250
|
+
earlyDetection: number;
|
|
251
|
+
/** Execution time efficiency */
|
|
252
|
+
timeEfficiency: number;
|
|
253
|
+
/** Coverage improvement */
|
|
254
|
+
coverageGain: number;
|
|
255
|
+
/** Flakiness reduction */
|
|
256
|
+
flakinessReduction: number;
|
|
257
|
+
/** Total reward */
|
|
258
|
+
total: number;
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* Calculate reward for test prioritization decision
|
|
262
|
+
*/
|
|
263
|
+
export declare function calculatePrioritizationReward(context: TestPrioritizationContext, result: {
|
|
264
|
+
failedEarly: boolean;
|
|
265
|
+
executionTime: number;
|
|
266
|
+
coverageImproved: boolean;
|
|
267
|
+
flakyDetected: boolean;
|
|
268
|
+
}): TestPrioritizationReward;
|
|
269
|
+
/**
|
|
270
|
+
* Input metadata for creating test prioritization state
|
|
271
|
+
*/
|
|
272
|
+
export interface TestPrioritizationMetadata {
|
|
273
|
+
filePath: string;
|
|
274
|
+
testName: string;
|
|
275
|
+
testType?: 'unit' | 'integration' | 'e2e' | 'performance' | 'security';
|
|
276
|
+
priority?: Priority;
|
|
277
|
+
complexity?: number;
|
|
278
|
+
domain?: DomainName;
|
|
279
|
+
dependencies?: string[];
|
|
280
|
+
estimatedDuration?: number;
|
|
281
|
+
coverage?: number;
|
|
282
|
+
failureHistory?: number[];
|
|
283
|
+
failureRate?: number;
|
|
284
|
+
flakinessScore?: number;
|
|
285
|
+
executionCount?: number;
|
|
286
|
+
timeSinceModification?: number;
|
|
287
|
+
businessCriticality?: number;
|
|
288
|
+
dependencyCount?: number;
|
|
289
|
+
assignedPriority?: Priority;
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Create test prioritization state from test metadata
|
|
293
|
+
*/
|
|
294
|
+
export declare function createTestPrioritizationState(testId: string, metadata: TestPrioritizationMetadata): TestPrioritizationState;
|
|
295
|
+
/** @deprecated Use ISimpleTestRequest */
|
|
296
|
+
export type SimpleTestRequest = ISimpleTestRequest;
|
|
297
|
+
/** @deprecated Use IExecuteTestsRequest */
|
|
298
|
+
export type ExecuteTestsRequest = IExecuteTestsRequest;
|
|
299
|
+
/** @deprecated Use IParallelExecutionRequest */
|
|
300
|
+
export type ParallelExecutionRequest = IParallelExecutionRequest;
|
|
301
|
+
/** @deprecated Use ITestRunResult */
|
|
302
|
+
export type TestRunResult = ITestRunResult;
|
|
303
|
+
/** @deprecated Use IFailedTest */
|
|
304
|
+
export type FailedTest = IFailedTest;
|
|
305
|
+
/** @deprecated Use ICoverageData */
|
|
306
|
+
export type CoverageData = ICoverageData;
|
|
307
|
+
/** @deprecated Use IFlakyDetectionRequest */
|
|
308
|
+
export type FlakyDetectionRequest = IFlakyDetectionRequest;
|
|
309
|
+
/** @deprecated Use IFlakyTestReport */
|
|
310
|
+
export type FlakyTestReport = IFlakyTestReport;
|
|
311
|
+
/** @deprecated Use IFlakyTest */
|
|
312
|
+
export type FlakyTest = IFlakyTest;
|
|
313
|
+
/** @deprecated Use IRetryRequest */
|
|
314
|
+
export type RetryRequest = IRetryRequest;
|
|
315
|
+
/** @deprecated Use IRetryResult */
|
|
316
|
+
export type RetryResult = IRetryResult;
|
|
317
|
+
/** @deprecated Use IExecutionStats */
|
|
318
|
+
export type ExecutionStats = IExecutionStats;
|
|
122
319
|
//# sourceMappingURL=interfaces.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/domains/test-execution/interfaces.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/domains/test-execution/interfaces.ts"],"names":[],"mappings":"AAAA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AC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,QAAQ,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,0BAA0B,GACnC,uBAAuB,CA8BzB;AAMD,yCAAyC;AACzC,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;AACnD,2CAA2C;AAC3C,MAAM,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;AACvD,gDAAgD;AAChD,MAAM,MAAM,wBAAwB,GAAG,yBAAyB,CAAC;AACjE,qCAAqC;AACrC,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC;AAC3C,kCAAkC;AAClC,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC;AACrC,oCAAoC;AACpC,MAAM,MAAM,YAAY,GAAG,aAAa,CAAC;AACzC,6CAA6C;AAC7C,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;AAC3D,uCAAuC;AACvC,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC;AAC/C,iCAAiC;AACjC,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC;AACnC,oCAAoC;AACpC,MAAM,MAAM,YAAY,GAAG,aAAa,CAAC;AACzC,mCAAmC;AACnC,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC;AACvC,sCAAsC;AACtC,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC"}
|
|
@@ -1,6 +1,133 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Agentic QE v3 - Test Execution Domain
|
|
3
|
-
*
|
|
2
|
+
* Agentic QE v3 - Test Execution Domain Interfaces
|
|
3
|
+
* All types and interfaces for the test-execution domain
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
5
|
+
// Re-export factory functions
|
|
6
|
+
export { createNavigateStep, createClickStep, createTypeStep, createWaitStep, createAssertStep, createScreenshotStep, createA11yCheckStep, createE2ETestCase, isNavigateStep, isClickStep, isTypeStep, isWaitStep, isAssertStep, isScreenshotStep, isA11yCheckStep, isNavigateAction, isClickAction, isTypeAction, isAssertionAction, isLoginFlowTemplate, isCheckoutFlowTemplate, isFormSubmissionFlowTemplate, isSearchFlowTemplate, isNavigationFlowTemplate, DEFAULT_RECORDING_CONFIG, DEFAULT_CODE_GENERATION_OPTIONS, } from './types';
|
|
7
|
+
/**
|
|
8
|
+
* Map test metadata to normalized feature vector
|
|
9
|
+
*/
|
|
10
|
+
export function mapToFeatures(test) {
|
|
11
|
+
// Normalize failure probability
|
|
12
|
+
const failureProbability = Math.min(1, test.failureRate ?? 0);
|
|
13
|
+
// Normalize flakiness
|
|
14
|
+
const flakiness = Math.min(1, test.flakinessScore ?? 0);
|
|
15
|
+
// Normalize complexity (already 0-1)
|
|
16
|
+
const complexity = test.complexity ?? 0.5;
|
|
17
|
+
// Calculate coverage gap
|
|
18
|
+
const coverageGap = 1 - (test.coverage ?? 0) / 100;
|
|
19
|
+
// Normalize criticality
|
|
20
|
+
const criticality = test.businessCriticality ?? 0.5;
|
|
21
|
+
// Normalize speed (faster = higher value)
|
|
22
|
+
const maxDuration = 60000; // 1 minute as baseline
|
|
23
|
+
const speed = Math.max(0, 1 - (test.estimatedDuration ?? 0) / maxDuration);
|
|
24
|
+
// Normalize age (newer tests = higher priority for recent changes)
|
|
25
|
+
const maxAge = 7 * 24 * 60 * 60 * 1000; // 1 week
|
|
26
|
+
const age = Math.max(0, 1 - (test.timeSinceModification ?? 0) / maxAge);
|
|
27
|
+
// Normalize dependency complexity
|
|
28
|
+
const dependencyComplexity = Math.min(1, (test.dependencyCount ?? 0) / 10);
|
|
29
|
+
return {
|
|
30
|
+
failureProbability,
|
|
31
|
+
flakiness,
|
|
32
|
+
complexity,
|
|
33
|
+
coverageGap,
|
|
34
|
+
criticality,
|
|
35
|
+
speed,
|
|
36
|
+
age,
|
|
37
|
+
dependencyComplexity,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Convert features to numeric array for RL algorithms
|
|
42
|
+
*/
|
|
43
|
+
export function featuresToArray(features) {
|
|
44
|
+
return [
|
|
45
|
+
features.failureProbability,
|
|
46
|
+
features.flakiness,
|
|
47
|
+
features.complexity,
|
|
48
|
+
features.coverageGap,
|
|
49
|
+
features.criticality,
|
|
50
|
+
features.speed,
|
|
51
|
+
features.age,
|
|
52
|
+
features.dependencyComplexity,
|
|
53
|
+
];
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Map priority action to numeric score for sorting
|
|
57
|
+
*/
|
|
58
|
+
export function priorityToScore(action) {
|
|
59
|
+
const scores = {
|
|
60
|
+
critical: 100,
|
|
61
|
+
high: 75,
|
|
62
|
+
standard: 50,
|
|
63
|
+
low: 25,
|
|
64
|
+
defer: 0,
|
|
65
|
+
};
|
|
66
|
+
return scores[action];
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Map priority action to Priority enum
|
|
70
|
+
*/
|
|
71
|
+
export function priorityActionToPriority(action) {
|
|
72
|
+
const mapping = {
|
|
73
|
+
critical: 'p0',
|
|
74
|
+
high: 'p1',
|
|
75
|
+
standard: 'p2',
|
|
76
|
+
low: 'p3',
|
|
77
|
+
defer: 'p3', // Map defer to lowest priority (p3)
|
|
78
|
+
};
|
|
79
|
+
return mapping[action];
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Calculate reward for test prioritization decision
|
|
83
|
+
*/
|
|
84
|
+
export function calculatePrioritizationReward(context, result) {
|
|
85
|
+
const earlyDetection = result.failedEarly ? 0.5 : 0;
|
|
86
|
+
const timeEfficiency = context.availableTime > 0
|
|
87
|
+
? Math.max(0, 1 - result.executionTime / context.availableTime) * 0.3
|
|
88
|
+
: 0;
|
|
89
|
+
const coverageGain = result.coverageImproved ? 0.2 : 0;
|
|
90
|
+
const flakinessReduction = result.flakyDetected ? 0.1 : 0;
|
|
91
|
+
const total = earlyDetection + timeEfficiency + coverageGain + flakinessReduction;
|
|
92
|
+
return {
|
|
93
|
+
earlyDetection,
|
|
94
|
+
timeEfficiency,
|
|
95
|
+
coverageGain,
|
|
96
|
+
flakinessReduction,
|
|
97
|
+
total,
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Create test prioritization state from test metadata
|
|
102
|
+
*/
|
|
103
|
+
export function createTestPrioritizationState(testId, metadata) {
|
|
104
|
+
const features = mapToFeatures(metadata);
|
|
105
|
+
return {
|
|
106
|
+
id: testId,
|
|
107
|
+
features: featuresToArray(features),
|
|
108
|
+
testId,
|
|
109
|
+
testType: metadata.testType ?? 'unit',
|
|
110
|
+
priority: metadata.priority ?? metadata.assignedPriority ?? 'p2',
|
|
111
|
+
complexity: metadata.complexity ?? 0.5,
|
|
112
|
+
domain: metadata.domain ?? 'test-execution',
|
|
113
|
+
dependencies: metadata.dependencies ?? [],
|
|
114
|
+
estimatedDuration: metadata.estimatedDuration ?? 5000,
|
|
115
|
+
coverage: metadata.coverage ?? 0,
|
|
116
|
+
failureHistory: metadata.failureHistory ?? [],
|
|
117
|
+
filePath: metadata.filePath,
|
|
118
|
+
testName: metadata.testName,
|
|
119
|
+
failureRate: metadata.failureRate ?? 0,
|
|
120
|
+
flakinessScore: metadata.flakinessScore ?? 0,
|
|
121
|
+
executionCount: metadata.executionCount ?? 0,
|
|
122
|
+
timeSinceModification: metadata.timeSinceModification ?? 0,
|
|
123
|
+
businessCriticality: metadata.businessCriticality ?? 0.5,
|
|
124
|
+
dependencyCount: metadata.dependencyCount ?? 0,
|
|
125
|
+
assignedPriority: metadata.assignedPriority ?? metadata.priority ?? 'p2',
|
|
126
|
+
timestamp: new Date(),
|
|
127
|
+
metadata: {
|
|
128
|
+
...metadata,
|
|
129
|
+
features,
|
|
130
|
+
},
|
|
131
|
+
};
|
|
132
|
+
}
|
|
6
133
|
//# sourceMappingURL=interfaces.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/domains/test-execution/interfaces.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/domains/test-execution/interfaces.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAuEH,8BAA8B;AAC9B,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,EACd,WAAW,EACX,UAAU,EACV,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,4BAA4B,EAC5B,oBAAoB,EACpB,wBAAwB,EACxB,wBAAwB,EACxB,+BAA+B,GAChC,MAAM,SAAS,CAAC;AAmNjB;;GAEG;AACH,MAAM,UAAU,aAAa,CAC3B,IAAsC;IAEtC,gCAAgC;IAChC,MAAM,kBAAkB,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,WAAW,IAAI,CAAC,CAAC,CAAC;IAE9D,sBAAsB;IACtB,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,cAAc,IAAI,CAAC,CAAC,CAAC;IAExD,qCAAqC;IACrC,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,IAAI,GAAG,CAAC;IAE1C,yBAAyB;IACzB,MAAM,WAAW,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,CAAC,GAAG,GAAG,CAAC;IAEnD,wBAAwB;IACxB,MAAM,WAAW,GAAG,IAAI,CAAC,m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oB1D,SAAS,CAAC,iBAAiB,IAAI,IAAI;YAmBrB,sBAAsB;YAwBtB,0BAA0B;YAyB1B,yBAAyB;CAyBxC;AAMD,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,aAAa,GACpB,mBAAmB,CAErB"}
|
|
@@ -47,8 +47,9 @@ export class TestExecutionPlugin extends BaseDomainPlugin {
|
|
|
47
47
|
async onInitialize() {
|
|
48
48
|
this.coordinator = createTestExecutionCoordinator(this.eventBus, this.memory);
|
|
49
49
|
await this.coordinator.initialize();
|
|
50
|
+
// Issue #205 fix: Start with 'idle' status (0 agents)
|
|
50
51
|
this.updateHealth({
|
|
51
|
-
status: '
|
|
52
|
+
status: 'idle',
|
|
52
53
|
lastActivity: new Date(),
|
|
53
54
|
});
|
|
54
55
|
}
|