@xera-ai/core 0.5.0 → 0.8.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.
Files changed (152) hide show
  1. package/dist/bin/internal.js +107 -79
  2. package/package.json +5 -4
  3. package/src/bin-internal/doctor.ts +15 -7
  4. package/src/bin-internal/fetch.ts +37 -4
  5. package/dist/adapter/types.d.ts +0 -70
  6. package/dist/adapter/types.d.ts.map +0 -1
  7. package/dist/artifact/hash.d.ts +0 -4
  8. package/dist/artifact/hash.d.ts.map +0 -1
  9. package/dist/artifact/meta.d.ts +0 -20
  10. package/dist/artifact/meta.d.ts.map +0 -1
  11. package/dist/artifact/paths.d.ts +0 -25
  12. package/dist/artifact/paths.d.ts.map +0 -1
  13. package/dist/artifact/status.d.ts +0 -87
  14. package/dist/artifact/status.d.ts.map +0 -1
  15. package/dist/auth/encrypt.d.ts +0 -4
  16. package/dist/auth/encrypt.d.ts.map +0 -1
  17. package/dist/auth/key.d.ts +0 -3
  18. package/dist/auth/key.d.ts.map +0 -1
  19. package/dist/auth/refresh.d.ts +0 -9
  20. package/dist/auth/refresh.d.ts.map +0 -1
  21. package/dist/auth/state.d.ts +0 -15
  22. package/dist/auth/state.d.ts.map +0 -1
  23. package/dist/bin-internal/auth-setup.d.ts +0 -2
  24. package/dist/bin-internal/auth-setup.d.ts.map +0 -1
  25. package/dist/bin-internal/disputes.d.ts +0 -2
  26. package/dist/bin-internal/disputes.d.ts.map +0 -1
  27. package/dist/bin-internal/doctor.d.ts +0 -5
  28. package/dist/bin-internal/doctor.d.ts.map +0 -1
  29. package/dist/bin-internal/eval-deterministic.d.ts +0 -5
  30. package/dist/bin-internal/eval-deterministic.d.ts.map +0 -1
  31. package/dist/bin-internal/eval-prepare.d.ts +0 -7
  32. package/dist/bin-internal/eval-prepare.d.ts.map +0 -1
  33. package/dist/bin-internal/eval-report.d.ts +0 -5
  34. package/dist/bin-internal/eval-report.d.ts.map +0 -1
  35. package/dist/bin-internal/exec.d.ts +0 -2
  36. package/dist/bin-internal/exec.d.ts.map +0 -1
  37. package/dist/bin-internal/fetch.d.ts +0 -5
  38. package/dist/bin-internal/fetch.d.ts.map +0 -1
  39. package/dist/bin-internal/graph-backfill.d.ts +0 -2
  40. package/dist/bin-internal/graph-backfill.d.ts.map +0 -1
  41. package/dist/bin-internal/graph-enrich.d.ts +0 -2
  42. package/dist/bin-internal/graph-enrich.d.ts.map +0 -1
  43. package/dist/bin-internal/graph-query.d.ts +0 -2
  44. package/dist/bin-internal/graph-query.d.ts.map +0 -1
  45. package/dist/bin-internal/graph-record-script.d.ts +0 -2
  46. package/dist/bin-internal/graph-record-script.d.ts.map +0 -1
  47. package/dist/bin-internal/graph-record.d.ts +0 -3
  48. package/dist/bin-internal/graph-record.d.ts.map +0 -1
  49. package/dist/bin-internal/graph-render.d.ts +0 -2
  50. package/dist/bin-internal/graph-render.d.ts.map +0 -1
  51. package/dist/bin-internal/graph-snapshot.d.ts +0 -2
  52. package/dist/bin-internal/graph-snapshot.d.ts.map +0 -1
  53. package/dist/bin-internal/heal-prepare.d.ts +0 -19
  54. package/dist/bin-internal/heal-prepare.d.ts.map +0 -1
  55. package/dist/bin-internal/impact-prepare.d.ts +0 -2
  56. package/dist/bin-internal/impact-prepare.d.ts.map +0 -1
  57. package/dist/bin-internal/index.d.ts +0 -2
  58. package/dist/bin-internal/index.d.ts.map +0 -1
  59. package/dist/bin-internal/lint.d.ts +0 -2
  60. package/dist/bin-internal/lint.d.ts.map +0 -1
  61. package/dist/bin-internal/normalize.d.ts +0 -2
  62. package/dist/bin-internal/normalize.d.ts.map +0 -1
  63. package/dist/bin-internal/post.d.ts +0 -2
  64. package/dist/bin-internal/post.d.ts.map +0 -1
  65. package/dist/bin-internal/promote.d.ts +0 -2
  66. package/dist/bin-internal/promote.d.ts.map +0 -1
  67. package/dist/bin-internal/report.d.ts +0 -2
  68. package/dist/bin-internal/report.d.ts.map +0 -1
  69. package/dist/bin-internal/status-cmd.d.ts +0 -2
  70. package/dist/bin-internal/status-cmd.d.ts.map +0 -1
  71. package/dist/bin-internal/typecheck.d.ts +0 -2
  72. package/dist/bin-internal/typecheck.d.ts.map +0 -1
  73. package/dist/bin-internal/unlock.d.ts +0 -2
  74. package/dist/bin-internal/unlock.d.ts.map +0 -1
  75. package/dist/bin-internal/validate-feature.d.ts +0 -2
  76. package/dist/bin-internal/validate-feature.d.ts.map +0 -1
  77. package/dist/bin-internal/verify-prompts.d.ts +0 -7
  78. package/dist/bin-internal/verify-prompts.d.ts.map +0 -1
  79. package/dist/classifier/aggregate.d.ts +0 -3
  80. package/dist/classifier/aggregate.d.ts.map +0 -1
  81. package/dist/classifier/auth-expired.d.ts +0 -12
  82. package/dist/classifier/auth-expired.d.ts.map +0 -1
  83. package/dist/classifier/contract-drift.d.ts +0 -35
  84. package/dist/classifier/contract-drift.d.ts.map +0 -1
  85. package/dist/classifier/history.d.ts +0 -13
  86. package/dist/classifier/history.d.ts.map +0 -1
  87. package/dist/classifier/rate-limited.d.ts +0 -15
  88. package/dist/classifier/rate-limited.d.ts.map +0 -1
  89. package/dist/classifier/types.d.ts +0 -26
  90. package/dist/classifier/types.d.ts.map +0 -1
  91. package/dist/config/define.d.ts +0 -3
  92. package/dist/config/define.d.ts.map +0 -1
  93. package/dist/config/load.d.ts +0 -3
  94. package/dist/config/load.d.ts.map +0 -1
  95. package/dist/config/schema.d.ts +0 -101
  96. package/dist/config/schema.d.ts.map +0 -1
  97. package/dist/eval/paths.d.ts +0 -15
  98. package/dist/eval/paths.d.ts.map +0 -1
  99. package/dist/eval/run-id.d.ts +0 -6
  100. package/dist/eval/run-id.d.ts.map +0 -1
  101. package/dist/eval/types.d.ts +0 -203
  102. package/dist/eval/types.d.ts.map +0 -1
  103. package/dist/graph/classify.d.ts +0 -42
  104. package/dist/graph/classify.d.ts.map +0 -1
  105. package/dist/graph/cost.d.ts +0 -21
  106. package/dist/graph/cost.d.ts.map +0 -1
  107. package/dist/graph/enrich.d.ts +0 -10
  108. package/dist/graph/enrich.d.ts.map +0 -1
  109. package/dist/graph/impact.d.ts +0 -31
  110. package/dist/graph/impact.d.ts.map +0 -1
  111. package/dist/graph/index.d.ts +0 -17
  112. package/dist/graph/index.d.ts.map +0 -1
  113. package/dist/graph/paths.d.ts +0 -10
  114. package/dist/graph/paths.d.ts.map +0 -1
  115. package/dist/graph/render.d.ts +0 -50
  116. package/dist/graph/render.d.ts.map +0 -1
  117. package/dist/graph/schema.d.ts +0 -189
  118. package/dist/graph/schema.d.ts.map +0 -1
  119. package/dist/graph/similarity.d.ts +0 -3
  120. package/dist/graph/similarity.d.ts.map +0 -1
  121. package/dist/graph/store.d.ts +0 -14
  122. package/dist/graph/store.d.ts.map +0 -1
  123. package/dist/graph/types.d.ts +0 -152
  124. package/dist/graph/types.d.ts.map +0 -1
  125. package/dist/graph/ulid.d.ts +0 -2
  126. package/dist/graph/ulid.d.ts.map +0 -1
  127. package/dist/index.d.ts +0 -22
  128. package/dist/index.d.ts.map +0 -1
  129. package/dist/jira/client.d.ts +0 -11
  130. package/dist/jira/client.d.ts.map +0 -1
  131. package/dist/jira/fields.d.ts +0 -7
  132. package/dist/jira/fields.d.ts.map +0 -1
  133. package/dist/jira/mcp-backend.d.ts +0 -3
  134. package/dist/jira/mcp-backend.d.ts.map +0 -1
  135. package/dist/jira/rest-backend.d.ts +0 -8
  136. package/dist/jira/rest-backend.d.ts.map +0 -1
  137. package/dist/jira/retry.d.ts +0 -8
  138. package/dist/jira/retry.d.ts.map +0 -1
  139. package/dist/jira/types.d.ts +0 -29
  140. package/dist/jira/types.d.ts.map +0 -1
  141. package/dist/lock/file-lock.d.ts +0 -12
  142. package/dist/lock/file-lock.d.ts.map +0 -1
  143. package/dist/logging/ndjson-logger.d.ts +0 -11
  144. package/dist/logging/ndjson-logger.d.ts.map +0 -1
  145. package/dist/reporter/jira-comment.d.ts +0 -9
  146. package/dist/reporter/jira-comment.d.ts.map +0 -1
  147. package/dist/reporter/status-writer.d.ts +0 -14
  148. package/dist/reporter/status-writer.d.ts.map +0 -1
  149. package/dist/scrub/index.d.ts +0 -2
  150. package/dist/scrub/index.d.ts.map +0 -1
  151. package/dist/scrub/rules.d.ts +0 -12
  152. package/dist/scrub/rules.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xera-ai/core",
3
- "version": "0.5.0",
3
+ "version": "0.8.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -26,12 +26,13 @@
26
26
  ],
27
27
  "scripts": {
28
28
  "build": "bun build ./src/index.ts ./bin/internal.ts --outdir ./dist --target bun --external @playwright/test --external @xera-ai/web --external @xera-ai/http --external zod",
29
- "typecheck": "tsc --noEmit"
29
+ "typecheck": "tsc --noEmit",
30
+ "prepublishOnly": "bun run build"
30
31
  },
31
32
  "dependencies": {
32
33
  "zod": "4.4.3",
33
- "@xera-ai/web": "^0.3.0",
34
- "@xera-ai/http": "^0.1.0",
34
+ "@xera-ai/web": "^0.8.1",
35
+ "@xera-ai/http": "^0.8.1",
35
36
  "@playwright/test": "1.60.0",
36
37
  "fflate": "0.8.3",
37
38
  "yaml": "2.9.0"
@@ -117,16 +117,24 @@ function checkRootScripts(repoRoot: string): CheckResult[] {
117
117
  return missing.map((s) => ({ ok: false, message: `root package.json missing script: ${s}` }));
118
118
  }
119
119
 
120
+ function isXeraMonorepo(repoRoot: string): boolean {
121
+ return (
122
+ existsSync(join(repoRoot, 'packages/skills')) && existsSync(join(repoRoot, 'packages/prompts'))
123
+ );
124
+ }
125
+
120
126
  export async function doctorCmd(argv: string[], opts: DoctorOpts = {}): Promise<number> {
121
127
  const repoRoot = opts.cwd ?? process.cwd();
122
128
  const autoEnrich = argv.includes('--auto-enrich');
123
- const results: CheckResult[] = [
124
- ...checkGoldenEvalDir(repoRoot),
125
- ...checkRubricPrompt(repoRoot),
126
- ...checkEvalSkill(repoRoot),
127
- ...checkPromptInjectionPreamble(repoRoot),
128
- ...checkRootScripts(repoRoot),
129
- ];
129
+ const results: CheckResult[] = isXeraMonorepo(repoRoot)
130
+ ? [
131
+ ...checkGoldenEvalDir(repoRoot),
132
+ ...checkRubricPrompt(repoRoot),
133
+ ...checkEvalSkill(repoRoot),
134
+ ...checkPromptInjectionPreamble(repoRoot),
135
+ ...checkRootScripts(repoRoot),
136
+ ]
137
+ : [];
130
138
  // Cost summary (past 7 days)
131
139
  const cost = summarizeCost(repoRoot, 7);
132
140
  if (cost.totalCalls > 0) {
@@ -43,9 +43,12 @@ export async function fetchCmd(argv: string[], opts: FetchCmdOpts = {}): Promise
43
43
  t = await client.fetchTicket(ticket, fieldMap);
44
44
  }
45
45
 
46
- const story = renderStory(t);
46
+ const body = renderStoryBody(t);
47
+ const storyHash = hashString(body);
48
+ const acLines = parseAcLines(t.acceptanceCriteria);
49
+ const full = renderStory(t.key, t.summary, storyHash, acLines, body);
47
50
  mkdirSync(dirname(paths.storyPath), { recursive: true });
48
- writeFileSync(paths.storyPath, story);
51
+ writeFileSync(paths.storyPath, full);
49
52
 
50
53
  const existing = readMeta(paths.metaPath);
51
54
  writeMeta(paths.metaPath, {
@@ -55,7 +58,7 @@ export async function fetchCmd(argv: string[], opts: FetchCmdOpts = {}): Promise
55
58
  prompts_version: '1.0.0',
56
59
  ...(existing ?? {}),
57
60
  // Re-stamp the just-fetched fields:
58
- story_hash: hashString(story),
61
+ story_hash: storyHash,
59
62
  fetched_at: new Date().toISOString(),
60
63
  });
61
64
 
@@ -63,7 +66,16 @@ export async function fetchCmd(argv: string[], opts: FetchCmdOpts = {}): Promise
63
66
  return 0;
64
67
  }
65
68
 
66
- function renderStory(t: JiraTicket): string {
69
+ function parseAcLines(raw: string | undefined): string[] {
70
+ if (!raw?.trim()) return [];
71
+ return raw
72
+ .trim()
73
+ .split('\n')
74
+ .map((l) => l.replace(/^[\s\-*]+/, '').trim())
75
+ .filter(Boolean);
76
+ }
77
+
78
+ function renderStoryBody(t: JiraTicket): string {
67
79
  const lines: string[] = [];
68
80
  lines.push(`# ${t.key}: ${t.summary}`, '');
69
81
 
@@ -93,3 +105,24 @@ function renderStory(t: JiraTicket): string {
93
105
  }
94
106
  return lines.join('\n');
95
107
  }
108
+
109
+ function renderStory(
110
+ key: string,
111
+ summary: string,
112
+ storyHash: string,
113
+ acLines: string[],
114
+ body: string,
115
+ ): string {
116
+ const yamlLines = [
117
+ '---',
118
+ `ticketId: ${key}`,
119
+ `summary: ${JSON.stringify(summary)}`,
120
+ `storyHash: ${storyHash}`,
121
+ ];
122
+ if (acLines.length > 0) {
123
+ yamlLines.push('acceptanceCriteria:');
124
+ for (const ac of acLines) yamlLines.push(` - ${JSON.stringify(ac)}`);
125
+ }
126
+ yamlLines.push('---', '');
127
+ return yamlLines.join('\n') + body;
128
+ }
@@ -1,70 +0,0 @@
1
- import type { Classification } from '../artifact/status';
2
- import type { XeraConfig } from '../config/schema';
3
- export interface GenerateInput {
4
- ticketDir: string;
5
- feature: string;
6
- story: string;
7
- config: XeraConfig;
8
- }
9
- export interface GenerateResult {
10
- artifacts: string[];
11
- warnings: string[];
12
- }
13
- export interface ExecuteInput {
14
- ticketDir: string;
15
- config: XeraConfig;
16
- runId: string;
17
- env: string;
18
- }
19
- export interface ScenarioResult {
20
- name: string;
21
- outcome: 'PASS' | 'FAIL' | 'SKIPPED';
22
- failure?: {
23
- step?: string;
24
- errorMessage?: string;
25
- domSnapshotAtFailure?: string;
26
- networkAtFailure?: Array<{
27
- method: string;
28
- url: string;
29
- status: number;
30
- }>;
31
- consoleAtFailure?: string[];
32
- screenshotPath?: string;
33
- };
34
- }
35
- export interface RunResult {
36
- runId: string;
37
- outcome: 'PASS' | 'FAIL';
38
- scenarios: ScenarioResult[];
39
- artifactsDir: string;
40
- rawReportPath: string;
41
- normalizedReportPath: string;
42
- }
43
- export interface ClassifyContext {
44
- history: Array<{
45
- ts: string;
46
- result: 'PASS' | 'FAIL';
47
- class: Classification;
48
- }>;
49
- storyHashChanged: boolean;
50
- specHashChanged: boolean;
51
- }
52
- export interface DoctorReport {
53
- ok: boolean;
54
- checks: Array<{
55
- name: string;
56
- ok: boolean;
57
- message?: string;
58
- }>;
59
- }
60
- export interface TestAdapter {
61
- readonly id: string;
62
- generate(input: GenerateInput): Promise<GenerateResult>;
63
- execute(input: ExecuteInput): Promise<RunResult>;
64
- classify?(run: RunResult, ctx: ClassifyContext): Partial<{
65
- class: Classification;
66
- rationale: string;
67
- }>;
68
- doctor(): Promise<DoctorReport>;
69
- }
70
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/adapter/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,UAAU,CAAC;CACpB;AAED,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACrC,OAAO,CAAC,EAAE;QACR,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,oBAAoB,CAAC,EAAE,MAAM,CAAC;QAC9B,gBAAgB,CAAC,EAAE,KAAK,CAAC;YAAE,MAAM,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QAC1E,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;QAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;CACH;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;QAAC,KAAK,EAAE,cAAc,CAAA;KAAE,CAAC,CAAC;IAC/E,gBAAgB,EAAE,OAAO,CAAC;IAC1B,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,OAAO,CAAC;IACZ,MAAM,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,OAAO,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAChE;AAED,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;IACxD,OAAO,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;IACjD,QAAQ,CAAC,CACP,GAAG,EAAE,SAAS,EACd,GAAG,EAAE,eAAe,GACnB,OAAO,CAAC;QAAE,KAAK,EAAE,cAAc,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACzD,MAAM,IAAI,OAAO,CAAC,YAAY,CAAC,CAAC;CACjC"}
@@ -1,4 +0,0 @@
1
- export declare function hashString(s: string): string;
2
- export declare function hashFile(path: string): string;
3
- export declare function hashFileIfExists(path: string): string | null;
4
- //# sourceMappingURL=hash.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hash.d.ts","sourceRoot":"","sources":["../../src/artifact/hash.ts"],"names":[],"mappings":"AAGA,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAE5C;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE7C;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAG5D"}
@@ -1,20 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const MetaJsonSchema: z.ZodObject<{
3
- ticket: z.ZodString;
4
- adapter: z.ZodString;
5
- xera_version: z.ZodString;
6
- prompts_version: z.ZodString;
7
- fetched_at: z.ZodOptional<z.ZodString>;
8
- story_hash: z.ZodOptional<z.ZodString>;
9
- feature_generated_at: z.ZodOptional<z.ZodString>;
10
- feature_generated_from_story_hash: z.ZodOptional<z.ZodString>;
11
- feature_hash: z.ZodOptional<z.ZodString>;
12
- script_generated_at: z.ZodOptional<z.ZodString>;
13
- script_generated_from_feature_hash: z.ZodOptional<z.ZodString>;
14
- script_warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
15
- }, z.core.$strip>;
16
- export type MetaJson = z.infer<typeof MetaJsonSchema>;
17
- export declare function readMeta(path: string): MetaJson | null;
18
- export declare function writeMeta(path: string, meta: MetaJson): void;
19
- export declare function updateMeta(path: string, patch: Partial<MetaJson>): MetaJson;
20
- //# sourceMappingURL=meta.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/artifact/meta.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc;;;;;;;;;;;;;iBAazB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,CAGtD;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,GAAG,IAAI,CAG5D;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAQ3E"}
@@ -1,25 +0,0 @@
1
- export interface RunPaths {
2
- runDir: string;
3
- reportJsonPath: string;
4
- tracePath: string;
5
- normalizedPath: string;
6
- screenshotsDir: string;
7
- videoDir: string;
8
- }
9
- export interface ArtifactPaths {
10
- ticketDir: string;
11
- storyPath: string;
12
- featurePath: string;
13
- specPath: string;
14
- pageObjectsDir: string;
15
- runsDir: string;
16
- metaPath: string;
17
- statusPath: string;
18
- logPath: string;
19
- lockPath: string;
20
- authDir: string;
21
- runPath: (runId: string) => RunPaths;
22
- }
23
- export declare function resolveArtifactPaths(repoRoot: string, ticket: string): ArtifactPaths;
24
- export declare function generateRunId(now?: Date): string;
25
- //# sourceMappingURL=paths.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../src/artifact/paths.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,QAAQ,CAAC;CACtC;AAED,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,aAAa,CA6BpF;AAED,wBAAgB,aAAa,CAAC,GAAG,GAAE,IAAiB,GAAG,MAAM,CAE5D"}
@@ -1,87 +0,0 @@
1
- import { z } from 'zod';
2
- declare const ClassificationEnum: z.ZodEnum<{
3
- PASS: "PASS";
4
- REAL_BUG: "REAL_BUG";
5
- SELECTOR_DRIFT: "SELECTOR_DRIFT";
6
- FLAKY: "FLAKY";
7
- TEST_BUG: "TEST_BUG";
8
- TEST_OUTDATED: "TEST_OUTDATED";
9
- CONTRACT_DRIFT: "CONTRACT_DRIFT";
10
- RATE_LIMITED: "RATE_LIMITED";
11
- AUTH_EXPIRED: "AUTH_EXPIRED";
12
- }>;
13
- export declare const HistoryEntrySchema: z.ZodObject<{
14
- ts: z.ZodString;
15
- result: z.ZodEnum<{
16
- PASS: "PASS";
17
- FAIL: "FAIL";
18
- }>;
19
- class: z.ZodEnum<{
20
- PASS: "PASS";
21
- REAL_BUG: "REAL_BUG";
22
- SELECTOR_DRIFT: "SELECTOR_DRIFT";
23
- FLAKY: "FLAKY";
24
- TEST_BUG: "TEST_BUG";
25
- TEST_OUTDATED: "TEST_OUTDATED";
26
- CONTRACT_DRIFT: "CONTRACT_DRIFT";
27
- RATE_LIMITED: "RATE_LIMITED";
28
- AUTH_EXPIRED: "AUTH_EXPIRED";
29
- }>;
30
- }, z.core.$strip>;
31
- export declare const StatusJsonSchema: z.ZodObject<{
32
- ticket: z.ZodString;
33
- lastRun: z.ZodString;
34
- result: z.ZodEnum<{
35
- PASS: "PASS";
36
- FAIL: "FAIL";
37
- }>;
38
- classification: z.ZodEnum<{
39
- PASS: "PASS";
40
- REAL_BUG: "REAL_BUG";
41
- SELECTOR_DRIFT: "SELECTOR_DRIFT";
42
- FLAKY: "FLAKY";
43
- TEST_BUG: "TEST_BUG";
44
- TEST_OUTDATED: "TEST_OUTDATED";
45
- CONTRACT_DRIFT: "CONTRACT_DRIFT";
46
- RATE_LIMITED: "RATE_LIMITED";
47
- AUTH_EXPIRED: "AUTH_EXPIRED";
48
- }>;
49
- confidence: z.ZodEnum<{
50
- low: "low";
51
- medium: "medium";
52
- high: "high";
53
- }>;
54
- scenarios: z.ZodObject<{
55
- total: z.ZodNumber;
56
- passed: z.ZodNumber;
57
- failed: z.ZodNumber;
58
- skipped: z.ZodNumber;
59
- }, z.core.$strip>;
60
- history: z.ZodDefault<z.ZodArray<z.ZodObject<{
61
- ts: z.ZodString;
62
- result: z.ZodEnum<{
63
- PASS: "PASS";
64
- FAIL: "FAIL";
65
- }>;
66
- class: z.ZodEnum<{
67
- PASS: "PASS";
68
- REAL_BUG: "REAL_BUG";
69
- SELECTOR_DRIFT: "SELECTOR_DRIFT";
70
- FLAKY: "FLAKY";
71
- TEST_BUG: "TEST_BUG";
72
- TEST_OUTDATED: "TEST_OUTDATED";
73
- CONTRACT_DRIFT: "CONTRACT_DRIFT";
74
- RATE_LIMITED: "RATE_LIMITED";
75
- AUTH_EXPIRED: "AUTH_EXPIRED";
76
- }>;
77
- }, z.core.$strip>>>;
78
- last_jira_comment_id: z.ZodOptional<z.ZodString>;
79
- }, z.core.$strip>;
80
- export type StatusJson = z.infer<typeof StatusJsonSchema>;
81
- export type HistoryEntry = z.infer<typeof HistoryEntrySchema>;
82
- export type Classification = z.infer<typeof ClassificationEnum>;
83
- export declare function readStatus(path: string): StatusJson | null;
84
- export declare function writeStatus(path: string, status: StatusJson): void;
85
- export declare function appendHistory(path: string, entry: HistoryEntry): StatusJson;
86
- export {};
87
- //# sourceMappingURL=status.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/artifact/status.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,kBAAkB;;;;;;;;;;EAUtB,CAAC;AAIH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;iBAI7B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAc3B,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAIhE,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,GAAG,IAAI,CAG1D;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,GAAG,IAAI,CAGlE;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,GAAG,UAAU,CAQ3E"}
@@ -1,4 +0,0 @@
1
- export declare function generateKey(): string;
2
- export declare function encrypt(plaintext: string, keyHex: string): string;
3
- export declare function decrypt(ciphertext: string, keyHex: string): string;
4
- //# sourceMappingURL=encrypt.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"encrypt.d.ts","sourceRoot":"","sources":["../../src/auth/encrypt.ts"],"names":[],"mappings":"AAQA,wBAAgB,WAAW,IAAI,MAAM,CAEpC;AAQD,wBAAgB,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAOjE;AAED,wBAAgB,OAAO,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAYlE"}
@@ -1,3 +0,0 @@
1
- export declare const AUTH_KEY_ENV = "XERA_AUTH_KEY";
2
- export declare function resolveAuthKey(): string;
3
- //# sourceMappingURL=key.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"key.d.ts","sourceRoot":"","sources":["../../src/auth/key.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,kBAAkB,CAAC;AAE5C,wBAAgB,cAAc,IAAI,MAAM,CAWvC"}
@@ -1,9 +0,0 @@
1
- import type { AuthStateEntry } from './state';
2
- export type { AuthStateEntry } from './state';
3
- export declare function parseDuration(d: string): number;
4
- export interface RefreshPolicy {
5
- ttl: string;
6
- refreshBuffer: string;
7
- }
8
- export declare function needsRefresh(entry: AuthStateEntry | null, policy: RefreshPolicy, now?: Date): boolean;
9
- //# sourceMappingURL=refresh.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"refresh.d.ts","sourceRoot":"","sources":["../../src/auth/refresh.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAI9C,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAQ/C;AAED,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,YAAY,CAC1B,KAAK,EAAE,cAAc,GAAG,IAAI,EAC5B,MAAM,EAAE,aAAa,EACrB,GAAG,GAAE,IAAiB,GACrB,OAAO,CAST"}
@@ -1,15 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const AuthStateEntrySchema: z.ZodObject<{
3
- role: z.ZodString;
4
- strategy: z.ZodEnum<{
5
- storageState: "storageState";
6
- apiToken: "apiToken";
7
- }>;
8
- created_at: z.ZodString;
9
- expires_at: z.ZodString;
10
- payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
11
- }, z.core.$strip>;
12
- export type AuthStateEntry = z.infer<typeof AuthStateEntrySchema>;
13
- export declare function writeAuthState(authDir: string, entry: AuthStateEntry): void;
14
- export declare function readAuthState(authDir: string, role: string): AuthStateEntry | null;
15
- //# sourceMappingURL=state.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../src/auth/state.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,oBAAoB;;;;;;;;;iBAM/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAMlE,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,GAAG,IAAI,CAI3E;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,cAAc,GAAG,IAAI,CAMlF"}
@@ -1,2 +0,0 @@
1
- export declare function authSetupCmd(argv: string[]): Promise<number>;
2
- //# sourceMappingURL=auth-setup.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth-setup.d.ts","sourceRoot":"","sources":["../../src/bin-internal/auth-setup.ts"],"names":[],"mappings":"AA0BA,wBAAsB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAyFlE"}
@@ -1,2 +0,0 @@
1
- export declare function disputesCmd(argv: string[]): Promise<number>;
2
- //# sourceMappingURL=disputes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"disputes.d.ts","sourceRoot":"","sources":["../../src/bin-internal/disputes.ts"],"names":[],"mappings":"AAoDA,wBAAsB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAmCjE"}
@@ -1,5 +0,0 @@
1
- export interface DoctorOpts {
2
- cwd?: string;
3
- }
4
- export declare function doctorCmd(argv: string[], opts?: DoctorOpts): Promise<number>;
5
- //# sourceMappingURL=doctor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../src/bin-internal/doctor.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,UAAU;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AA8GD,wBAAsB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,GAAE,UAAe,GAAG,OAAO,CAAC,MAAM,CAAC,CA6DtF"}
@@ -1,5 +0,0 @@
1
- export interface EvalDeterministicOpts {
2
- cwd?: string;
3
- }
4
- export declare function evalDeterministicCmd(argv: string[], opts?: EvalDeterministicOpts): Promise<number>;
5
- //# sourceMappingURL=eval-deterministic.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eval-deterministic.d.ts","sourceRoot":"","sources":["../../src/bin-internal/eval-deterministic.ts"],"names":[],"mappings":"AAWA,MAAM,WAAW,qBAAqB;IACpC,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAwFD,wBAAsB,oBAAoB,CACxC,IAAI,EAAE,MAAM,EAAE,EACd,IAAI,GAAE,qBAA0B,GAC/B,OAAO,CAAC,MAAM,CAAC,CA4CjB"}
@@ -1,7 +0,0 @@
1
- export interface EvalPrepareOpts {
2
- cwd?: string;
3
- now?: () => Date;
4
- getGitSha?: () => string | null;
5
- }
6
- export declare function evalPrepareCmd(argv: string[], opts?: EvalPrepareOpts): Promise<number>;
7
- //# sourceMappingURL=eval-prepare.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eval-prepare.d.ts","sourceRoot":"","sources":["../../src/bin-internal/eval-prepare.ts"],"names":[],"mappings":"AAcA,MAAM,WAAW,eAAe;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;CACjC;AAgED,wBAAsB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,GAAE,eAAoB,GAAG,OAAO,CAAC,MAAM,CAAC,CAmIhG"}
@@ -1,5 +0,0 @@
1
- export interface EvalReportOpts {
2
- cwd?: string;
3
- }
4
- export declare function evalReportCmd(argv: string[], opts?: EvalReportOpts): Promise<number>;
5
- //# sourceMappingURL=eval-report.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eval-report.d.ts","sourceRoot":"","sources":["../../src/bin-internal/eval-report.ts"],"names":[],"mappings":"AAeA,MAAM,WAAW,cAAc;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AA+CD,wBAAsB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,GAAE,cAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,CAgH9F"}
@@ -1,2 +0,0 @@
1
- export declare function execCmd(argv: string[]): Promise<number>;
2
- //# sourceMappingURL=exec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"exec.d.ts","sourceRoot":"","sources":["../../src/bin-internal/exec.ts"],"names":[],"mappings":"AAYA,wBAAsB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAwJ7D"}
@@ -1,5 +0,0 @@
1
- export interface FetchCmdOpts {
2
- cwd?: string;
3
- }
4
- export declare function fetchCmd(argv: string[], opts?: FetchCmdOpts): Promise<number>;
5
- //# sourceMappingURL=fetch.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../src/bin-internal/fetch.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,YAAY;IAC3B,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,wBAAsB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,GAAE,YAAiB,GAAG,OAAO,CAAC,MAAM,CAAC,CAkDvF"}
@@ -1,2 +0,0 @@
1
- export declare function graphBackfillCmd(argv: string[]): Promise<number>;
2
- //# sourceMappingURL=graph-backfill.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph-backfill.d.ts","sourceRoot":"","sources":["../../src/bin-internal/graph-backfill.ts"],"names":[],"mappings":"AAsBA,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAoBtE"}
@@ -1,2 +0,0 @@
1
- export declare function graphEnrichCmd(argv: string[]): Promise<number>;
2
- //# sourceMappingURL=graph-enrich.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph-enrich.d.ts","sourceRoot":"","sources":["../../src/bin-internal/graph-enrich.ts"],"names":[],"mappings":"AAEA,wBAAsB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAyBpE"}
@@ -1,2 +0,0 @@
1
- export declare function graphQueryCmd(argv: string[]): Promise<number>;
2
- //# sourceMappingURL=graph-query.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph-query.d.ts","sourceRoot":"","sources":["../../src/bin-internal/graph-query.ts"],"names":[],"mappings":"AA6BA,wBAAsB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAanE"}
@@ -1,2 +0,0 @@
1
- export declare function recordScriptImpl(repoRoot: string, ticket: string): Promise<number>;
2
- //# sourceMappingURL=graph-record-script.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph-record-script.d.ts","sourceRoot":"","sources":["../../src/bin-internal/graph-record-script.ts"],"names":[],"mappings":"AAqIA,wBAAsB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAsFxF"}
@@ -1,3 +0,0 @@
1
- export declare function recordFetch(repoRoot: string, ticket: string): Promise<number>;
2
- export declare function graphRecordCmd(argv: string[]): Promise<number>;
3
- //# sourceMappingURL=graph-record.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph-record.d.ts","sourceRoot":"","sources":["../../src/bin-internal/graph-record.ts"],"names":[],"mappings":"AA2EA,wBAAsB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAqCnF;AAiFD,wBAAsB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAgGpE"}
@@ -1,2 +0,0 @@
1
- export declare function graphRenderCmd(argv: string[]): Promise<number>;
2
- //# sourceMappingURL=graph-render.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph-render.d.ts","sourceRoot":"","sources":["../../src/bin-internal/graph-render.ts"],"names":[],"mappings":"AAkBA,wBAAsB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAmDpE"}
@@ -1,2 +0,0 @@
1
- export declare function graphSnapshotCmd(argv: string[]): Promise<number>;
2
- //# sourceMappingURL=graph-snapshot.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graph-snapshot.d.ts","sourceRoot":"","sources":["../../src/bin-internal/graph-snapshot.ts"],"names":[],"mappings":"AAEA,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAoBtE"}
@@ -1,19 +0,0 @@
1
- export type FailedLocatorKind = 'role' | 'test-id' | 'css-class' | 'text' | 'label' | 'other';
2
- export interface HealInput {
3
- ticket: string;
4
- runId: string;
5
- scenarioName: string;
6
- failedLocator: {
7
- raw: string;
8
- kind: FailedLocatorKind;
9
- pomFile: string;
10
- pomLine: number;
11
- pomLineContent: string;
12
- pomMethodName: string;
13
- };
14
- gherkinStep: string;
15
- domSnapshotAtFailure: string;
16
- }
17
- export declare function healPrepare(repoRoot: string, ticket: string, runId: string, scenarioName: string): HealInput;
18
- export declare function healPrepareCmd(argv: string[]): Promise<number>;
19
- //# sourceMappingURL=heal-prepare.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"heal-prepare.d.ts","sourceRoot":"","sources":["../../src/bin-internal/heal-prepare.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,SAAS,GAAG,WAAW,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;AAE9F,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,iBAAiB,CAAC;QACxB,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;QAChB,cAAc,EAAE,MAAM,CAAC;QACvB,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB,EAAE,MAAM,CAAC;CAC9B;AAoJD,wBAAgB,WAAW,CACzB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,EACb,YAAY,EAAE,MAAM,GACnB,SAAS,CAkCX;AAED,wBAAsB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAkBpE"}
@@ -1,2 +0,0 @@
1
- export declare function impactPrepareCmd(argv: string[]): Promise<number>;
2
- //# sourceMappingURL=impact-prepare.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"impact-prepare.d.ts","sourceRoot":"","sources":["../../src/bin-internal/impact-prepare.ts"],"names":[],"mappings":"AAkBA,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CA6CtE"}
@@ -1,2 +0,0 @@
1
- export declare function run(argv: string[]): Promise<number>;
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/bin-internal/index.ts"],"names":[],"mappings":"AAwDA,wBAAsB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAczD"}
@@ -1,2 +0,0 @@
1
- export declare function lintCmd(argv: string[]): Promise<number>;
2
- //# sourceMappingURL=lint.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lint.d.ts","sourceRoot":"","sources":["../../src/bin-internal/lint.ts"],"names":[],"mappings":"AAGA,wBAAsB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAe7D"}
@@ -1,2 +0,0 @@
1
- export declare function normalizeCmd(argv: string[]): Promise<number>;
2
- //# sourceMappingURL=normalize.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../src/bin-internal/normalize.ts"],"names":[],"mappings":"AAKA,wBAAsB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAwClE"}
@@ -1,2 +0,0 @@
1
- export declare function postCmd(argv: string[]): Promise<number>;
2
- //# sourceMappingURL=post.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"post.d.ts","sourceRoot":"","sources":["../../src/bin-internal/post.ts"],"names":[],"mappings":"AAOA,wBAAsB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAiC7D"}
@@ -1,2 +0,0 @@
1
- export declare function promoteCmd(argv: string[]): Promise<number>;
2
- //# sourceMappingURL=promote.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"promote.d.ts","sourceRoot":"","sources":["../../src/bin-internal/promote.ts"],"names":[],"mappings":"AAEA,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAShE"}