playwright-intelligence-engine 0.0.0-stage → 2.0.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/LICENSE +191 -0
- package/README.md +229 -3
- package/bin/pw-intel.js +37 -0
- package/dist/authoring/author.d.ts +83 -0
- package/dist/authoring/author.d.ts.map +1 -0
- package/dist/authoring/generation-contract.d.ts +90 -0
- package/dist/authoring/generation-contract.d.ts.map +1 -0
- package/dist/authoring/hybrid-author.d.ts +6 -0
- package/dist/authoring/hybrid-author.d.ts.map +1 -0
- package/dist/authoring/index.d.ts +7 -0
- package/dist/authoring/index.d.ts.map +1 -0
- package/dist/authoring/llm-author.d.ts +28 -0
- package/dist/authoring/llm-author.d.ts.map +1 -0
- package/dist/authoring/naming/index.d.ts +4 -0
- package/dist/authoring/naming/index.d.ts.map +1 -0
- package/dist/authoring/naming/name-plan.d.ts +45 -0
- package/dist/authoring/naming/name-plan.d.ts.map +1 -0
- package/dist/authoring/naming/name-planner.d.ts +25 -0
- package/dist/authoring/naming/name-planner.d.ts.map +1 -0
- package/dist/authoring/naming/naming-linter.d.ts +20 -0
- package/dist/authoring/naming/naming-linter.d.ts.map +1 -0
- package/dist/authoring/template-author.d.ts +6 -0
- package/dist/authoring/template-author.d.ts.map +1 -0
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/collectors/collector-interface.d.ts +7 -0
- package/dist/collectors/collector-interface.d.ts.map +1 -0
- package/dist/collectors/environment-collector.d.ts +12 -0
- package/dist/collectors/environment-collector.d.ts.map +1 -0
- package/dist/collectors/error-collector.d.ts +18 -0
- package/dist/collectors/error-collector.d.ts.map +1 -0
- package/dist/collectors/git-diff-collector.d.ts +20 -0
- package/dist/collectors/git-diff-collector.d.ts.map +1 -0
- package/dist/collectors/live-browser-collector.d.ts +45 -0
- package/dist/collectors/live-browser-collector.d.ts.map +1 -0
- package/dist/collectors/network-collector.d.ts +28 -0
- package/dist/collectors/network-collector.d.ts.map +1 -0
- package/dist/collectors/static-ast-collector.d.ts +32 -0
- package/dist/collectors/static-ast-collector.d.ts.map +1 -0
- package/dist/collectors/trace-collector.d.ts +12 -0
- package/dist/collectors/trace-collector.d.ts.map +1 -0
- package/dist/config/project-config.d.ts +33 -0
- package/dist/config/project-config.d.ts.map +1 -0
- package/dist/core/errors/engine-errors.d.ts +34 -0
- package/dist/core/errors/engine-errors.d.ts.map +1 -0
- package/dist/core/types/diagnostic-context.d.ts +151 -0
- package/dist/core/types/diagnostic-context.d.ts.map +1 -0
- package/dist/core/types/repair-evidence.d.ts +56 -0
- package/dist/core/types/repair-evidence.d.ts.map +1 -0
- package/dist/core/version.d.ts +13 -0
- package/dist/core/version.d.ts.map +1 -0
- package/dist/diagnostics/diagnostic-contract.d.ts +52 -0
- package/dist/diagnostics/diagnostic-contract.d.ts.map +1 -0
- package/dist/diagnostics/diagnostic-report.d.ts +11 -0
- package/dist/diagnostics/diagnostic-report.d.ts.map +1 -0
- package/dist/diagnostics/evidence-correlator.d.ts +22 -0
- package/dist/diagnostics/evidence-correlator.d.ts.map +1 -0
- package/dist/diagnostics/external-failure-evidence.d.ts +18 -0
- package/dist/diagnostics/external-failure-evidence.d.ts.map +1 -0
- package/dist/diagnostics/failure-category.d.ts +4 -0
- package/dist/diagnostics/failure-category.d.ts.map +1 -0
- package/dist/diagnostics/failure-classifier.d.ts +58 -0
- package/dist/diagnostics/failure-classifier.d.ts.map +1 -0
- package/dist/evaluation/evaluation-scorecard.d.ts +72 -0
- package/dist/evaluation/evaluation-scorecard.d.ts.map +1 -0
- package/dist/evaluation/repository-inspector.d.ts +21 -0
- package/dist/evaluation/repository-inspector.d.ts.map +1 -0
- package/dist/evaluation/repository-runner.d.ts +24 -0
- package/dist/evaluation/repository-runner.d.ts.map +1 -0
- package/dist/evidence/evidence-model.d.ts +88 -0
- package/dist/evidence/evidence-model.d.ts.map +1 -0
- package/dist/evidence/evidence-normalizer.d.ts +19 -0
- package/dist/evidence/evidence-normalizer.d.ts.map +1 -0
- package/dist/evidence/evidence-redactor.d.ts +37 -0
- package/dist/evidence/evidence-redactor.d.ts.map +1 -0
- package/dist/framework/config-adapter.d.ts +28 -0
- package/dist/framework/config-adapter.d.ts.map +1 -0
- package/dist/gate/index.d.ts +21 -0
- package/dist/gate/index.d.ts.map +1 -0
- package/dist/gate/oracle.d.ts +26 -0
- package/dist/gate/oracle.d.ts.map +1 -0
- package/dist/gate/quality.d.ts +27 -0
- package/dist/gate/quality.d.ts.map +1 -0
- package/dist/gate/safety.d.ts +28 -0
- package/dist/gate/safety.d.ts.map +1 -0
- package/dist/generator/architecture-generator.d.ts +55 -0
- package/dist/generator/architecture-generator.d.ts.map +1 -0
- package/dist/generator/assertion-quality-gate.d.ts +18 -0
- package/dist/generator/assertion-quality-gate.d.ts.map +1 -0
- package/dist/generator/candidate-writer.d.ts +34 -0
- package/dist/generator/candidate-writer.d.ts.map +1 -0
- package/dist/generator/test-generator.d.ts +26 -0
- package/dist/generator/test-generator.d.ts.map +1 -0
- package/dist/governance/audit-log.d.ts +23 -0
- package/dist/governance/audit-log.d.ts.map +1 -0
- package/dist/governance/governance-policy.d.ts +24 -0
- package/dist/governance/governance-policy.d.ts.map +1 -0
- package/dist/governance/team-dashboard.d.ts +51 -0
- package/dist/governance/team-dashboard.d.ts.map +1 -0
- package/dist/governance/workflow-audit.d.ts +13 -0
- package/dist/governance/workflow-audit.d.ts.map +1 -0
- package/dist/index.d.ts +90 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +20318 -0
- package/dist/integrations/ci-summary.d.ts +14 -0
- package/dist/integrations/ci-summary.d.ts.map +1 -0
- package/dist/integrations/playwright-report-adapter.d.ts +22 -0
- package/dist/integrations/playwright-report-adapter.d.ts.map +1 -0
- package/dist/integrations/quality-gate.d.ts +35 -0
- package/dist/integrations/quality-gate.d.ts.map +1 -0
- package/dist/integrations/sarif-report.d.ts +48 -0
- package/dist/integrations/sarif-report.d.ts.map +1 -0
- package/dist/intelligence/autonomous-repair-workflow.d.ts +31 -0
- package/dist/intelligence/autonomous-repair-workflow.d.ts.map +1 -0
- package/dist/intelligence/business-intent.d.ts +58 -0
- package/dist/intelligence/business-intent.d.ts.map +1 -0
- package/dist/intelligence/evidence-bundle.d.ts +364 -0
- package/dist/intelligence/evidence-bundle.d.ts.map +1 -0
- package/dist/intelligence/failure-clustering.d.ts +38 -0
- package/dist/intelligence/failure-clustering.d.ts.map +1 -0
- package/dist/intelligence/generation-agent.d.ts +120 -0
- package/dist/intelligence/generation-agent.d.ts.map +1 -0
- package/dist/intelligence/generation-verifier.d.ts +151 -0
- package/dist/intelligence/generation-verifier.d.ts.map +1 -0
- package/dist/intelligence/llm-proposal.d.ts +377 -0
- package/dist/intelligence/llm-proposal.d.ts.map +1 -0
- package/dist/intelligence/locator-disambiguation-engine.d.ts +38 -0
- package/dist/intelligence/locator-disambiguation-engine.d.ts.map +1 -0
- package/dist/intelligence/model-contract.d.ts +86 -0
- package/dist/intelligence/model-contract.d.ts.map +1 -0
- package/dist/intelligence/model-provider.d.ts +75 -0
- package/dist/intelligence/model-provider.d.ts.map +1 -0
- package/dist/intelligence/project-intelligence.d.ts +22 -0
- package/dist/intelligence/project-intelligence.d.ts.map +1 -0
- package/dist/intelligence/repair-agent.d.ts +46 -0
- package/dist/intelligence/repair-agent.d.ts.map +1 -0
- package/dist/intelligence/repository-profile.d.ts +131 -0
- package/dist/intelligence/repository-profile.d.ts.map +1 -0
- package/dist/intelligence/suite-intelligence.d.ts +59 -0
- package/dist/intelligence/suite-intelligence.d.ts.map +1 -0
- package/dist/intelligence/test-intelligence.d.ts +44 -0
- package/dist/intelligence/test-intelligence.d.ts.map +1 -0
- package/dist/intelligence/trace-proposal-workflow.d.ts +30 -0
- package/dist/intelligence/trace-proposal-workflow.d.ts.map +1 -0
- package/dist/intelligence/verified-llm-repair-workflow.d.ts +21 -0
- package/dist/intelligence/verified-llm-repair-workflow.d.ts.map +1 -0
- package/dist/intelligence/workflow-planner.d.ts +278 -0
- package/dist/intelligence/workflow-planner.d.ts.map +1 -0
- package/dist/mcp/server.d.ts +32 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/memory/stability-ledger.d.ts +46 -0
- package/dist/memory/stability-ledger.d.ts.map +1 -0
- package/dist/perception/app-model.d.ts +55 -0
- package/dist/perception/app-model.d.ts.map +1 -0
- package/dist/perception/crawler.d.ts +18 -0
- package/dist/perception/crawler.d.ts.map +1 -0
- package/dist/perception/index.d.ts +3 -0
- package/dist/perception/index.d.ts.map +1 -0
- package/dist/repair/approval-service.d.ts +139 -0
- package/dist/repair/approval-service.d.ts.map +1 -0
- package/dist/repair/assertion-hasher.d.ts +62 -0
- package/dist/repair/assertion-hasher.d.ts.map +1 -0
- package/dist/repair/ast-patcher.d.ts +36 -0
- package/dist/repair/ast-patcher.d.ts.map +1 -0
- package/dist/repair/browser-operation-executor.d.ts +27 -0
- package/dist/repair/browser-operation-executor.d.ts.map +1 -0
- package/dist/repair/diff-allowlist.d.ts +74 -0
- package/dist/repair/diff-allowlist.d.ts.map +1 -0
- package/dist/repair/intent-validator.d.ts +157 -0
- package/dist/repair/intent-validator.d.ts.map +1 -0
- package/dist/repair/repair-operations.d.ts +40 -0
- package/dist/repair/repair-operations.d.ts.map +1 -0
- package/dist/repair/repair-planner.d.ts +98 -0
- package/dist/repair/repair-planner.d.ts.map +1 -0
- package/dist/repair/repair-workflow.d.ts +42 -0
- package/dist/repair/repair-workflow.d.ts.map +1 -0
- package/dist/repair/safe-operation-compiler.d.ts +15 -0
- package/dist/repair/safe-operation-compiler.d.ts.map +1 -0
- package/dist/repair/source-mapper.d.ts +19 -0
- package/dist/repair/source-mapper.d.ts.map +1 -0
- package/dist/repair/statement-patcher.d.ts +75 -0
- package/dist/repair/statement-patcher.d.ts.map +1 -0
- package/dist/repair/verification-gates.d.ts +25 -0
- package/dist/repair/verification-gates.d.ts.map +1 -0
- package/dist/repair/workflow-plan.d.ts +35 -0
- package/dist/repair/workflow-plan.d.ts.map +1 -0
- package/dist/repair/workspace-promoter.d.ts +43 -0
- package/dist/repair/workspace-promoter.d.ts.map +1 -0
- package/dist/reproduce/diagnostic-rerunner.d.ts +40 -0
- package/dist/reproduce/diagnostic-rerunner.d.ts.map +1 -0
- package/dist/reproduce/direct-browser-investigator.d.ts +41 -0
- package/dist/reproduce/direct-browser-investigator.d.ts.map +1 -0
- package/dist/reproduce/interactive-workflow-runner.d.ts +43 -0
- package/dist/reproduce/interactive-workflow-runner.d.ts.map +1 -0
- package/dist/sandbox/dependency-strategy.d.ts +45 -0
- package/dist/sandbox/dependency-strategy.d.ts.map +1 -0
- package/dist/sandbox/execution-runner.d.ts +81 -0
- package/dist/sandbox/execution-runner.d.ts.map +1 -0
- package/dist/sandbox/worktree-manager.d.ts +51 -0
- package/dist/sandbox/worktree-manager.d.ts.map +1 -0
- package/dist/selector/abstention-policy.d.ts +34 -0
- package/dist/selector/abstention-policy.d.ts.map +1 -0
- package/dist/selector/candidate-extractor.d.ts +71 -0
- package/dist/selector/candidate-extractor.d.ts.map +1 -0
- package/dist/selector/live-locator-verifier.d.ts +28 -0
- package/dist/selector/live-locator-verifier.d.ts.map +1 -0
- package/dist/selector/repair-candidate-ranker.d.ts +10 -0
- package/dist/selector/repair-candidate-ranker.d.ts.map +1 -0
- package/dist/selector/selector-scorer.d.ts +43 -0
- package/dist/selector/selector-scorer.d.ts.map +1 -0
- package/dist/trace/adapters/adapter-registry.d.ts +18 -0
- package/dist/trace/adapters/adapter-registry.d.ts.map +1 -0
- package/dist/trace/adapters/trace-adapter.d.ts +21 -0
- package/dist/trace/adapters/trace-adapter.d.ts.map +1 -0
- package/dist/trace/adapters/unknown-adapter.d.ts +10 -0
- package/dist/trace/adapters/unknown-adapter.d.ts.map +1 -0
- package/dist/trace/adapters/v10-adapter.d.ts +10 -0
- package/dist/trace/adapters/v10-adapter.d.ts.map +1 -0
- package/dist/trace/adapters/v4-adapter.d.ts +11 -0
- package/dist/trace/adapters/v4-adapter.d.ts.map +1 -0
- package/dist/trace/adapters/v8-adapter.d.ts +10 -0
- package/dist/trace/adapters/v8-adapter.d.ts.map +1 -0
- package/dist/trace/adapters/v9-adapter.d.ts +10 -0
- package/dist/trace/adapters/v9-adapter.d.ts.map +1 -0
- package/dist/trace/archive-reader.d.ts +44 -0
- package/dist/trace/archive-reader.d.ts.map +1 -0
- package/dist/trace/snapshot-resolver.d.ts +55 -0
- package/dist/trace/snapshot-resolver.d.ts.map +1 -0
- package/dist/trace/trace-parser.d.ts +50 -0
- package/dist/trace/trace-parser.d.ts.map +1 -0
- package/dist/trace/version-detector.d.ts +20 -0
- package/dist/trace/version-detector.d.ts.map +1 -0
- package/package.json +76 -6
- package/skills/README.md +20 -0
- package/skills/pie-failure-investigation/SKILL.md +16 -0
- package/skills/pie-quality-engineer/SKILL.md +66 -0
- package/skills/pie-release-readiness/SKILL.md +22 -0
- package/skills/pie-repair-review/SKILL.md +21 -0
- package/skills/pie-trace-to-repair/SKILL.md +35 -0
- package/src/authoring/author.ts +81 -0
- package/src/authoring/generation-contract.ts +283 -0
- package/src/authoring/hybrid-author.ts +115 -0
- package/src/authoring/index.ts +7 -0
- package/src/authoring/llm-author.ts +282 -0
- package/src/authoring/naming/index.ts +4 -0
- package/src/authoring/naming/name-plan.ts +28 -0
- package/src/authoring/naming/name-planner.ts +339 -0
- package/src/authoring/naming/naming-linter.ts +292 -0
- package/src/authoring/template-author.ts +39 -0
- package/src/cli/index.ts +1172 -0
- package/src/collectors/collector-interface.ts +8 -0
- package/src/collectors/environment-collector.ts +103 -0
- package/src/collectors/error-collector.ts +177 -0
- package/src/collectors/git-diff-collector.ts +190 -0
- package/src/collectors/live-browser-collector.ts +412 -0
- package/src/collectors/network-collector.ts +90 -0
- package/src/collectors/static-ast-collector.ts +226 -0
- package/src/collectors/trace-collector.ts +66 -0
- package/src/config/project-config.ts +114 -0
- package/src/core/errors/engine-errors.ts +90 -0
- package/src/core/types/diagnostic-context.ts +94 -0
- package/src/core/types/repair-evidence.ts +45 -0
- package/src/core/version.ts +25 -0
- package/src/diagnostics/diagnostic-contract.ts +79 -0
- package/src/diagnostics/diagnostic-report.ts +204 -0
- package/src/diagnostics/evidence-correlator.ts +117 -0
- package/src/diagnostics/external-failure-evidence.ts +72 -0
- package/src/diagnostics/failure-category.ts +40 -0
- package/src/diagnostics/failure-classifier.ts +701 -0
- package/src/evaluation/evaluation-scorecard.ts +198 -0
- package/src/evaluation/repository-inspector.ts +143 -0
- package/src/evaluation/repository-runner.ts +197 -0
- package/src/evidence/evidence-model.ts +76 -0
- package/src/evidence/evidence-normalizer.ts +322 -0
- package/src/evidence/evidence-redactor.ts +218 -0
- package/src/framework/config-adapter.ts +131 -0
- package/src/gate/index.ts +43 -0
- package/src/gate/oracle.ts +69 -0
- package/src/gate/quality.ts +101 -0
- package/src/gate/safety.ts +94 -0
- package/src/generator/architecture-generator.ts +582 -0
- package/src/generator/assertion-quality-gate.ts +88 -0
- package/src/generator/candidate-writer.ts +288 -0
- package/src/generator/test-generator.ts +52 -0
- package/src/governance/audit-log.ts +115 -0
- package/src/governance/governance-policy.ts +72 -0
- package/src/governance/team-dashboard.ts +189 -0
- package/src/governance/workflow-audit.ts +72 -0
- package/src/index.ts +107 -0
- package/src/integrations/ci-summary.ts +37 -0
- package/src/integrations/playwright-report-adapter.ts +173 -0
- package/src/integrations/quality-gate.ts +95 -0
- package/src/integrations/sarif-report.ts +110 -0
- package/src/intelligence/autonomous-repair-workflow.ts +139 -0
- package/src/intelligence/business-intent.ts +163 -0
- package/src/intelligence/evidence-bundle.ts +300 -0
- package/src/intelligence/failure-clustering.ts +134 -0
- package/src/intelligence/generation-agent.ts +561 -0
- package/src/intelligence/generation-verifier.ts +1115 -0
- package/src/intelligence/llm-proposal.ts +519 -0
- package/src/intelligence/locator-disambiguation-engine.ts +331 -0
- package/src/intelligence/model-contract.ts +205 -0
- package/src/intelligence/model-provider.ts +348 -0
- package/src/intelligence/project-intelligence.ts +140 -0
- package/src/intelligence/repair-agent.ts +297 -0
- package/src/intelligence/repository-profile.ts +796 -0
- package/src/intelligence/suite-intelligence.ts +305 -0
- package/src/intelligence/test-intelligence.ts +136 -0
- package/src/intelligence/trace-proposal-workflow.ts +318 -0
- package/src/intelligence/verified-llm-repair-workflow.ts +48 -0
- package/src/intelligence/workflow-planner.ts +966 -0
- package/src/mcp/server.ts +970 -0
- package/src/memory/stability-ledger.ts +243 -0
- package/src/perception/app-model.ts +32 -0
- package/src/perception/crawler.ts +263 -0
- package/src/perception/index.ts +3 -0
- package/src/repair/approval-service.ts +541 -0
- package/src/repair/assertion-hasher.ts +386 -0
- package/src/repair/ast-patcher.ts +223 -0
- package/src/repair/browser-operation-executor.ts +263 -0
- package/src/repair/diff-allowlist.ts +612 -0
- package/src/repair/intent-validator.ts +761 -0
- package/src/repair/repair-operations.ts +65 -0
- package/src/repair/repair-planner.ts +467 -0
- package/src/repair/repair-workflow.ts +241 -0
- package/src/repair/safe-operation-compiler.ts +68 -0
- package/src/repair/source-mapper.ts +156 -0
- package/src/repair/statement-patcher.ts +544 -0
- package/src/repair/verification-gates.ts +46 -0
- package/src/repair/workflow-plan.ts +59 -0
- package/src/repair/workspace-promoter.ts +313 -0
- package/src/reproduce/diagnostic-rerunner.ts +287 -0
- package/src/reproduce/direct-browser-investigator.ts +208 -0
- package/src/reproduce/interactive-workflow-runner.ts +828 -0
- package/src/sandbox/dependency-strategy.ts +215 -0
- package/src/sandbox/execution-runner.ts +408 -0
- package/src/sandbox/worktree-manager.ts +287 -0
- package/src/selector/abstention-policy.ts +175 -0
- package/src/selector/candidate-extractor.ts +343 -0
- package/src/selector/live-locator-verifier.ts +139 -0
- package/src/selector/repair-candidate-ranker.ts +92 -0
- package/src/selector/selector-scorer.ts +344 -0
- package/src/trace/adapters/adapter-registry.ts +49 -0
- package/src/trace/adapters/trace-adapter.ts +28 -0
- package/src/trace/adapters/unknown-adapter.ts +50 -0
- package/src/trace/adapters/v10-adapter.ts +39 -0
- package/src/trace/adapters/v4-adapter.ts +31 -0
- package/src/trace/adapters/v8-adapter.ts +42 -0
- package/src/trace/adapters/v9-adapter.ts +39 -0
- package/src/trace/archive-reader.ts +246 -0
- package/src/trace/snapshot-resolver.ts +308 -0
- package/src/trace/trace-parser.ts +467 -0
- package/src/trace/version-detector.ts +81 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UnifiedEvidenceRecord, EvidenceSource } from '../evidence/evidence-model.js';
|
|
2
|
+
|
|
3
|
+
export interface EvidenceCollector<TInput = any> {
|
|
4
|
+
readonly name: string;
|
|
5
|
+
readonly source: EvidenceSource;
|
|
6
|
+
collect(input: TInput): Promise<UnifiedEvidenceRecord[]>;
|
|
7
|
+
}
|
|
8
|
+
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import * as os from 'os';
|
|
2
|
+
import * as fs from 'fs';
|
|
3
|
+
import * as path from 'path';
|
|
4
|
+
import { EvidenceCollector } from './collector-interface.js';
|
|
5
|
+
import { UnifiedEvidenceRecord } from '../evidence/evidence-model.js';
|
|
6
|
+
|
|
7
|
+
export interface EnvironmentInput {
|
|
8
|
+
workspaceRoot?: string;
|
|
9
|
+
executionId?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export class EnvironmentCollector implements EvidenceCollector<EnvironmentInput> {
|
|
13
|
+
public readonly name = 'EnvironmentCollector';
|
|
14
|
+
public readonly source = 'environment' as const;
|
|
15
|
+
|
|
16
|
+
public async collect(input: EnvironmentInput = {}): Promise<UnifiedEvidenceRecord[]> {
|
|
17
|
+
const executionId = input.executionId ?? `exec-${Date.now()}`;
|
|
18
|
+
const timestamp = Date.now();
|
|
19
|
+
|
|
20
|
+
// 1. Playwright version detection
|
|
21
|
+
let playwrightVersion = 'unknown';
|
|
22
|
+
if (input.workspaceRoot) {
|
|
23
|
+
try {
|
|
24
|
+
const pwPkgPath = path.join(
|
|
25
|
+
input.workspaceRoot,
|
|
26
|
+
'node_modules',
|
|
27
|
+
'@playwright',
|
|
28
|
+
'test',
|
|
29
|
+
'package.json'
|
|
30
|
+
);
|
|
31
|
+
if (fs.existsSync(pwPkgPath)) {
|
|
32
|
+
const pkg = JSON.parse(fs.readFileSync(pwPkgPath, 'utf-8'));
|
|
33
|
+
playwrightVersion = pkg.version || 'unknown';
|
|
34
|
+
} else {
|
|
35
|
+
// Check root package.json
|
|
36
|
+
const rootPkgPath = path.join(input.workspaceRoot, 'package.json');
|
|
37
|
+
if (fs.existsSync(rootPkgPath)) {
|
|
38
|
+
const rootPkg = JSON.parse(fs.readFileSync(rootPkgPath, 'utf-8'));
|
|
39
|
+
playwrightVersion =
|
|
40
|
+
rootPkg.devDependencies?.['@playwright/test'] ||
|
|
41
|
+
rootPkg.dependencies?.['@playwright/test'] ||
|
|
42
|
+
'unknown';
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
} catch {
|
|
46
|
+
// Safe fallback
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// 2. Identify CI Provider safely (zero secret leakage)
|
|
51
|
+
let ciProvider: string | null = null;
|
|
52
|
+
let ciRunId: string | null = null;
|
|
53
|
+
if (process.env.GITHUB_ACTIONS) {
|
|
54
|
+
ciProvider = 'GitHub Actions';
|
|
55
|
+
ciRunId = process.env.GITHUB_RUN_ID ?? null;
|
|
56
|
+
} else if (process.env.GITLAB_CI) {
|
|
57
|
+
ciProvider = 'GitLab CI';
|
|
58
|
+
ciRunId = process.env.CI_PIPELINE_ID ?? null;
|
|
59
|
+
} else if (process.env.JENKINS_URL) {
|
|
60
|
+
ciProvider = 'Jenkins';
|
|
61
|
+
ciRunId = process.env.BUILD_NUMBER ?? null;
|
|
62
|
+
} else if (process.env.CIRCLECI) {
|
|
63
|
+
ciProvider = 'CircleCI';
|
|
64
|
+
ciRunId = process.env.CIRCLE_BUILD_NUM ?? null;
|
|
65
|
+
} else if (process.env.TF_BUILD) {
|
|
66
|
+
ciProvider = 'Azure DevOps Pipelines';
|
|
67
|
+
ciRunId = process.env.BUILD_BUILDID ?? null;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
const payload = {
|
|
71
|
+
nodeVersion: process.version,
|
|
72
|
+
platform: os.platform(),
|
|
73
|
+
arch: os.arch(),
|
|
74
|
+
osRelease: os.release(),
|
|
75
|
+
cpuCount: os.cpus().length,
|
|
76
|
+
totalMemoryMb: Math.round(os.totalmem() / (1024 * 1024)),
|
|
77
|
+
freeMemoryMb: Math.round(os.freemem() / (1024 * 1024)),
|
|
78
|
+
playwrightVersion,
|
|
79
|
+
ciProvider,
|
|
80
|
+
ciRunId,
|
|
81
|
+
isCI: Boolean(process.env.CI),
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
return [
|
|
85
|
+
{
|
|
86
|
+
evidenceId: `env-${timestamp}-${Math.random().toString(36).slice(2, 8)}`,
|
|
87
|
+
executionId,
|
|
88
|
+
source: 'environment',
|
|
89
|
+
timestamp,
|
|
90
|
+
evidenceType: 'environment-metadata',
|
|
91
|
+
payload,
|
|
92
|
+
reliability: 'HIGH',
|
|
93
|
+
provenance: {
|
|
94
|
+
collector: this.name,
|
|
95
|
+
collectedAt: timestamp,
|
|
96
|
+
captureMethod: 'os-process-inspection',
|
|
97
|
+
},
|
|
98
|
+
redactionStatus: { isRedacted: false },
|
|
99
|
+
},
|
|
100
|
+
];
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { EvidenceCollector } from './collector-interface.js';
|
|
2
|
+
import { UnifiedEvidenceRecord } from '../evidence/evidence-model.js';
|
|
3
|
+
import { EvidenceRedactor } from '../evidence/evidence-redactor.js';
|
|
4
|
+
|
|
5
|
+
export interface PlaywrightErrorInput {
|
|
6
|
+
errorMessage: string;
|
|
7
|
+
errorStack?: string;
|
|
8
|
+
testTitle?: string;
|
|
9
|
+
testFile?: string;
|
|
10
|
+
line?: number;
|
|
11
|
+
column?: number;
|
|
12
|
+
executionId?: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export class ErrorCollector implements EvidenceCollector<PlaywrightErrorInput> {
|
|
16
|
+
public readonly name = 'ErrorCollector';
|
|
17
|
+
public readonly source = 'error' as const;
|
|
18
|
+
|
|
19
|
+
public async collect(input: PlaywrightErrorInput): Promise<UnifiedEvidenceRecord[]> {
|
|
20
|
+
const executionId = input.executionId ?? `exec-${Date.now()}`;
|
|
21
|
+
const timestamp = Date.now();
|
|
22
|
+
|
|
23
|
+
const {
|
|
24
|
+
errorType,
|
|
25
|
+
action,
|
|
26
|
+
selector,
|
|
27
|
+
sourceFile,
|
|
28
|
+
line,
|
|
29
|
+
column,
|
|
30
|
+
isStrictModeViolation,
|
|
31
|
+
isTimeout,
|
|
32
|
+
isAssertion,
|
|
33
|
+
} = this.parseError(input);
|
|
34
|
+
|
|
35
|
+
const { redactedText: cleanMessage } = EvidenceRedactor.redactText(input.errorMessage);
|
|
36
|
+
const { redactedText: cleanStack } = EvidenceRedactor.redactText(input.errorStack ?? '');
|
|
37
|
+
|
|
38
|
+
const record: UnifiedEvidenceRecord = {
|
|
39
|
+
evidenceId: `err-${timestamp}-${Math.random().toString(36).slice(2, 8)}`,
|
|
40
|
+
executionId,
|
|
41
|
+
source: 'error',
|
|
42
|
+
timestamp,
|
|
43
|
+
evidenceType: 'playwright-error',
|
|
44
|
+
payload: {
|
|
45
|
+
errorType,
|
|
46
|
+
action,
|
|
47
|
+
selector,
|
|
48
|
+
sourceFile,
|
|
49
|
+
line,
|
|
50
|
+
column,
|
|
51
|
+
errorMessage: cleanMessage,
|
|
52
|
+
errorStack: cleanStack,
|
|
53
|
+
isStrictModeViolation,
|
|
54
|
+
isTimeout,
|
|
55
|
+
isAssertion,
|
|
56
|
+
testTitle: input.testTitle,
|
|
57
|
+
},
|
|
58
|
+
reliability: 'HIGH',
|
|
59
|
+
provenance: {
|
|
60
|
+
collector: this.name,
|
|
61
|
+
collectedAt: timestamp,
|
|
62
|
+
captureMethod: 'playwright-error-parser',
|
|
63
|
+
sourceUri: sourceFile,
|
|
64
|
+
},
|
|
65
|
+
redactionStatus: {
|
|
66
|
+
isRedacted: false,
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
return [record];
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
private parseError(input: PlaywrightErrorInput) {
|
|
74
|
+
const rawMsg = input.errorMessage || '';
|
|
75
|
+
const rawStack = input.errorStack || '';
|
|
76
|
+
|
|
77
|
+
let errorType = 'Error';
|
|
78
|
+
let isStrictModeViolation = false;
|
|
79
|
+
let isTimeout = false;
|
|
80
|
+
let isAssertion = false;
|
|
81
|
+
let action = 'action';
|
|
82
|
+
let selector: string | undefined;
|
|
83
|
+
|
|
84
|
+
const lower = rawMsg.toLowerCase();
|
|
85
|
+
|
|
86
|
+
// Strict mode
|
|
87
|
+
if (lower.includes('strict mode violation') || lower.includes('resolved to') && lower.includes('elements')) {
|
|
88
|
+
errorType = 'StrictModeViolation';
|
|
89
|
+
isStrictModeViolation = true;
|
|
90
|
+
} else if (lower.includes('timeout') || lower.includes('timed out')) {
|
|
91
|
+
errorType = 'TimeoutError';
|
|
92
|
+
isTimeout = true;
|
|
93
|
+
} else if (
|
|
94
|
+
lower.includes('expect(') ||
|
|
95
|
+
lower.includes('received:') ||
|
|
96
|
+
lower.includes('to have text') ||
|
|
97
|
+
lower.includes('to be visible')
|
|
98
|
+
) {
|
|
99
|
+
errorType = 'AssertionError';
|
|
100
|
+
isAssertion = true;
|
|
101
|
+
action = 'expect';
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// Action extraction
|
|
105
|
+
const actionMatch = rawMsg.match(
|
|
106
|
+
/(?:page\.|locator\([^)]+\)\.)(click|fill|press|type|check|uncheck|hover|selectOption|waitFor|dblclick)\b/i
|
|
107
|
+
);
|
|
108
|
+
if (actionMatch && actionMatch[1]) {
|
|
109
|
+
action = actionMatch[1].toLowerCase();
|
|
110
|
+
} else if (lower.includes('click')) {
|
|
111
|
+
action = 'click';
|
|
112
|
+
} else if (lower.includes('fill')) {
|
|
113
|
+
action = 'fill';
|
|
114
|
+
} else if (lower.includes('select')) {
|
|
115
|
+
action = 'selectOption';
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// Selector extraction patterns
|
|
119
|
+
// 1. waiting for locator('...') or locator("...")
|
|
120
|
+
const locatorMatch = rawMsg.match(/waiting for (?:locator|getByRole|getByText|getByTestId|getByLabel)\((['"`].+?['"`])\)/);
|
|
121
|
+
if (locatorMatch && locatorMatch[1]) {
|
|
122
|
+
selector = locatorMatch[1].slice(1, -1);
|
|
123
|
+
} else {
|
|
124
|
+
// 2. waiting for selector "..."
|
|
125
|
+
const selectorMatch = rawMsg.match(/waiting for selector ["'](.+?)["']/);
|
|
126
|
+
if (selectorMatch && selectorMatch[1]) {
|
|
127
|
+
selector = selectorMatch[1];
|
|
128
|
+
} else {
|
|
129
|
+
// 3. locator('...') in message
|
|
130
|
+
const directLocator = rawMsg.match(/locator\((['"`].+?['"`])\)/);
|
|
131
|
+
if (directLocator && directLocator[1]) {
|
|
132
|
+
selector = directLocator[1].slice(1, -1);
|
|
133
|
+
} else {
|
|
134
|
+
// 4. Strict mode violation: locator('...') resolved to N elements
|
|
135
|
+
const strictMatch = rawMsg.match(/strict mode violation:\s*(.+?)\s+resolved to/i);
|
|
136
|
+
if (strictMatch && strictMatch[1]) {
|
|
137
|
+
selector = strictMatch[1];
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
// Source location parsing
|
|
144
|
+
let sourceFile = input.testFile;
|
|
145
|
+
let line = input.line;
|
|
146
|
+
let column = input.column;
|
|
147
|
+
|
|
148
|
+
if (!sourceFile && rawStack) {
|
|
149
|
+
// Find stack line pointing to a spec or page file
|
|
150
|
+
const lines = rawStack.split('\n');
|
|
151
|
+
for (const l of lines) {
|
|
152
|
+
const stackMatch = l.match(/at\s+(?:.*?\s+)?\(?(.*?):(\d+):(\d+)\)?$/);
|
|
153
|
+
if (stackMatch && stackMatch[1]) {
|
|
154
|
+
const file = stackMatch[1];
|
|
155
|
+
if (!file.includes('node_modules') && (file.endsWith('.ts') || file.endsWith('.js'))) {
|
|
156
|
+
sourceFile = file;
|
|
157
|
+
if (stackMatch[2]) line = parseInt(stackMatch[2], 10);
|
|
158
|
+
if (stackMatch[3]) column = parseInt(stackMatch[3], 10);
|
|
159
|
+
break;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
return {
|
|
166
|
+
errorType,
|
|
167
|
+
action,
|
|
168
|
+
selector,
|
|
169
|
+
sourceFile,
|
|
170
|
+
line,
|
|
171
|
+
column,
|
|
172
|
+
isStrictModeViolation,
|
|
173
|
+
isTimeout,
|
|
174
|
+
isAssertion,
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { execFileSync } from 'child_process';
|
|
2
|
+
import { EvidenceCollector } from './collector-interface.js';
|
|
3
|
+
import { UnifiedEvidenceRecord } from '../evidence/evidence-model.js';
|
|
4
|
+
import { EvidenceRedactor } from '../evidence/evidence-redactor.js';
|
|
5
|
+
|
|
6
|
+
export interface GitDiffInput {
|
|
7
|
+
workspaceRoot: string;
|
|
8
|
+
sinceRef?: string;
|
|
9
|
+
executionId?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export class GitDiffCollector implements EvidenceCollector<GitDiffInput> {
|
|
13
|
+
public readonly name = 'GitDiffCollector';
|
|
14
|
+
public readonly source = 'git-diff' as const;
|
|
15
|
+
|
|
16
|
+
public async collect(input: GitDiffInput): Promise<UnifiedEvidenceRecord[]> {
|
|
17
|
+
const executionId = input.executionId ?? `exec-${Date.now()}`;
|
|
18
|
+
const timestamp = Date.now();
|
|
19
|
+
const ref = input.sinceRef ?? 'HEAD~1';
|
|
20
|
+
|
|
21
|
+
try {
|
|
22
|
+
// 1. Get recent commits
|
|
23
|
+
const logOutput = execFileSync(
|
|
24
|
+
'git',
|
|
25
|
+
['log', '-n', '5', '--pretty=format:%h|%an|%s'],
|
|
26
|
+
{ cwd: input.workspaceRoot, encoding: 'utf-8', timeout: 5000 }
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
const recentCommits = logOutput
|
|
30
|
+
.split('\n')
|
|
31
|
+
.filter(Boolean)
|
|
32
|
+
.map((line) => {
|
|
33
|
+
const [hash, author, subject] = line.split('|');
|
|
34
|
+
return { hash, author, subject };
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
// 2. Get changed files
|
|
38
|
+
let changedFiles: string[] = [];
|
|
39
|
+
try {
|
|
40
|
+
const filesOutput = execFileSync('git', ['diff', '--name-only', ref, 'HEAD'], {
|
|
41
|
+
cwd: input.workspaceRoot,
|
|
42
|
+
encoding: 'utf-8',
|
|
43
|
+
timeout: 5000,
|
|
44
|
+
});
|
|
45
|
+
changedFiles = filesOutput.split('\n').filter(Boolean);
|
|
46
|
+
} catch {
|
|
47
|
+
// If ref doesn't exist, diff working tree
|
|
48
|
+
const uncommitted = execFileSync('git', ['diff', '--name-only'], {
|
|
49
|
+
cwd: input.workspaceRoot,
|
|
50
|
+
encoding: 'utf-8',
|
|
51
|
+
timeout: 5000,
|
|
52
|
+
});
|
|
53
|
+
changedFiles = uncommitted.split('\n').filter(Boolean);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// 3. Get diff summary with line changes
|
|
57
|
+
let rawDiff = '';
|
|
58
|
+
try {
|
|
59
|
+
rawDiff = execFileSync('git', ['diff', '-U2', ref, 'HEAD'], {
|
|
60
|
+
cwd: input.workspaceRoot,
|
|
61
|
+
encoding: 'utf-8',
|
|
62
|
+
timeout: 5000,
|
|
63
|
+
maxBuffer: 4 * 1024 * 1024,
|
|
64
|
+
});
|
|
65
|
+
} catch {
|
|
66
|
+
rawDiff = execFileSync('git', ['diff', '-U2'], {
|
|
67
|
+
cwd: input.workspaceRoot,
|
|
68
|
+
encoding: 'utf-8',
|
|
69
|
+
timeout: 5000,
|
|
70
|
+
maxBuffer: 4 * 1024 * 1024,
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
const { redactedText: cleanDiff } = EvidenceRedactor.redactText(rawDiff);
|
|
75
|
+
|
|
76
|
+
// Extract modified selectors or identifiers in diff
|
|
77
|
+
const modifiedAttributes: string[] = [];
|
|
78
|
+
const attrMatches = cleanDiff.matchAll(/[+-]\s*.*?(id|data-testid|class|name|role|aria-label|placeholder)=["']([^"']+)["']/g);
|
|
79
|
+
for (const m of attrMatches) {
|
|
80
|
+
modifiedAttributes.push(`${m[1]}="${m[2]}"`);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
const diffHints = GitDiffCollector.extractDiffHints(cleanDiff, changedFiles);
|
|
84
|
+
|
|
85
|
+
return [
|
|
86
|
+
{
|
|
87
|
+
evidenceId: `git-${timestamp}-${Math.random().toString(36).slice(2, 8)}`,
|
|
88
|
+
executionId,
|
|
89
|
+
source: 'git-diff',
|
|
90
|
+
timestamp,
|
|
91
|
+
evidenceType: 'git-diff',
|
|
92
|
+
payload: {
|
|
93
|
+
sinceRef: ref,
|
|
94
|
+
recentCommits,
|
|
95
|
+
changedFiles,
|
|
96
|
+
modifiedAttributes: Array.from(new Set(modifiedAttributes)),
|
|
97
|
+
diffHints,
|
|
98
|
+
diffSnippet: cleanDiff.slice(0, 10000),
|
|
99
|
+
},
|
|
100
|
+
reliability: 'HIGH',
|
|
101
|
+
provenance: {
|
|
102
|
+
collector: this.name,
|
|
103
|
+
collectedAt: timestamp,
|
|
104
|
+
captureMethod: 'git-cli-diff',
|
|
105
|
+
sourceUri: input.workspaceRoot,
|
|
106
|
+
},
|
|
107
|
+
redactionStatus: { isRedacted: false },
|
|
108
|
+
},
|
|
109
|
+
];
|
|
110
|
+
} catch (err: any) {
|
|
111
|
+
return [
|
|
112
|
+
{
|
|
113
|
+
evidenceId: `git-${timestamp}-${Math.random().toString(36).slice(2, 8)}`,
|
|
114
|
+
executionId,
|
|
115
|
+
source: 'git-diff',
|
|
116
|
+
timestamp,
|
|
117
|
+
evidenceType: 'git-diff',
|
|
118
|
+
payload: {
|
|
119
|
+
error: err?.message || 'Failed to collect git diff',
|
|
120
|
+
changedFiles: [],
|
|
121
|
+
recentCommits: [],
|
|
122
|
+
},
|
|
123
|
+
reliability: 'LOW',
|
|
124
|
+
provenance: {
|
|
125
|
+
collector: this.name,
|
|
126
|
+
collectedAt: timestamp,
|
|
127
|
+
captureMethod: 'git-cli-diff',
|
|
128
|
+
sourceUri: input.workspaceRoot,
|
|
129
|
+
},
|
|
130
|
+
redactionStatus: { isRedacted: false },
|
|
131
|
+
},
|
|
132
|
+
];
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
public static extractDiffHints(cleanDiff: string, changedFiles: string[]): {
|
|
137
|
+
changedRoutes: string[];
|
|
138
|
+
changedSymbols: string[];
|
|
139
|
+
apiEndpoints: string[];
|
|
140
|
+
validationHints: string[];
|
|
141
|
+
existingTestsChanged: string[];
|
|
142
|
+
} {
|
|
143
|
+
const addedOrChangedLines = cleanDiff
|
|
144
|
+
.split(/\r?\n/)
|
|
145
|
+
.filter((line) => (line.startsWith('+') || line.startsWith('-')) && !line.startsWith('+++') && !line.startsWith('---'))
|
|
146
|
+
.join('\n');
|
|
147
|
+
|
|
148
|
+
const changedRoutes = new Set<string>();
|
|
149
|
+
for (const file of changedFiles) {
|
|
150
|
+
const appMatch = file.match(/(?:^|\/)(?:src\/)?app\/(.+?)\/page\.[tj]sx?$/i);
|
|
151
|
+
if (appMatch?.[1]) changedRoutes.add(`/${appMatch[1]}`);
|
|
152
|
+
const pagesMatch = file.match(/(?:^|\/)(?:src\/)?pages\/(.+?)\.[tj]sx?$/i);
|
|
153
|
+
if (pagesMatch?.[1] && !pagesMatch[1].startsWith('api/')) {
|
|
154
|
+
changedRoutes.add(pagesMatch[1] === 'index' ? '/' : `/${pagesMatch[1].replace(/\/index$/, '')}`);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
for (const m of addedOrChangedLines.matchAll(/path\s*[:=]\s*['"](\/[^'"]*)['"]/g)) {
|
|
158
|
+
if (m[1]) changedRoutes.add(m[1]);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
const changedSymbols = new Set<string>();
|
|
162
|
+
for (const m of addedOrChangedLines.matchAll(/(?:function|class|const|export\s+(?:async\s+)?function)\s+([A-Za-z_][A-Za-z0-9_]*)/g)) {
|
|
163
|
+
if (m[1]) changedSymbols.add(m[1]);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
const apiEndpoints = new Set<string>();
|
|
167
|
+
for (const m of addedOrChangedLines.matchAll(/['"`](\/api\/[A-Za-z0-9_/?=&{}:-]+)['"`]/g)) {
|
|
168
|
+
if (m[1]) apiEndpoints.add(m[1]);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
const validationHints = new Set<string>();
|
|
172
|
+
for (const m of addedOrChangedLines.matchAll(/\.(min|max|email|regex|required)\s*\(([^)]*)\)/g)) {
|
|
173
|
+
validationHints.add(`${m[1]}(${(m[2] ?? '').trim()})`);
|
|
174
|
+
}
|
|
175
|
+
for (const m of addedOrChangedLines.matchAll(/required(?:\s*=\s*\{?true\}?|\b)/g)) {
|
|
176
|
+
validationHints.add(m[0].trim());
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
const existingTestsChanged = changedFiles.filter((f) => /\.(?:spec|test)\.[tj]sx?$/i.test(f));
|
|
180
|
+
|
|
181
|
+
return {
|
|
182
|
+
changedRoutes: [...changedRoutes],
|
|
183
|
+
changedSymbols: [...changedSymbols].slice(0, 30),
|
|
184
|
+
apiEndpoints: [...apiEndpoints].slice(0, 20),
|
|
185
|
+
validationHints: [...validationHints].slice(0, 20),
|
|
186
|
+
existingTestsChanged,
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|