donobu 5.49.0 → 5.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -197,6 +197,7 @@ export declare const FlowMetadataSchema: z.ZodObject<{
197
197
  branch: z.ZodOptional<z.ZodString>;
198
198
  dirty: z.ZodOptional<z.ZodBoolean>;
199
199
  }, z.core.$loose>>;
200
+ runId: z.ZodOptional<z.ZodString>;
200
201
  }, z.core.$loose>>;
201
202
  }, z.core.$loose>;
202
203
  export type FlowMetadata = z.infer<typeof FlowMetadataSchema>;
@@ -38,6 +38,7 @@ export declare const ProvenanceSchema: z.ZodObject<{
38
38
  branch: z.ZodOptional<z.ZodString>;
39
39
  dirty: z.ZodOptional<z.ZodBoolean>;
40
40
  }, z.core.$loose>>;
41
+ runId: z.ZodOptional<z.ZodString>;
41
42
  }, z.core.$loose>;
42
43
  export type Provenance = z.infer<typeof ProvenanceSchema>;
43
44
  //# sourceMappingURL=Provenance.d.ts.map
@@ -55,6 +55,15 @@ exports.ProvenanceSchema = v4_1.z
55
55
  'no CI markers were detected.'),
56
56
  git: exports.GitProvenanceSchema.optional().describe('Git working-tree context at creation time. Absent when the CWD is ' +
57
57
  'not a git repo or `git` is unavailable.'),
58
+ runId: v4_1.z
59
+ .string()
60
+ .optional()
61
+ .describe('Stable identifier for the CI/CD invocation (or local test run) that ' +
62
+ 'produced this flow. Read verbatim from the DONOBU_RUN_ID environment ' +
63
+ 'variable, which the test runner is responsible for setting (so every ' +
64
+ 'flow in the same run shares it and it differs across runs). Absent ' +
65
+ 'for flows created before runId capture, or by a run that did not set ' +
66
+ 'DONOBU_RUN_ID.'),
58
67
  })
59
68
  .loose();
60
69
  //# sourceMappingURL=Provenance.js.map
@@ -156,6 +156,7 @@ export declare const SuiteMetadataSchema: z.ZodObject<{
156
156
  branch: z.ZodOptional<z.ZodString>;
157
157
  dirty: z.ZodOptional<z.ZodBoolean>;
158
158
  }, z.core.$loose>>;
159
+ runId: z.ZodOptional<z.ZodString>;
159
160
  }, z.core.$loose>>;
160
161
  }, z.core.$loose>;
161
162
  export type SuiteMetadata = z.infer<typeof SuiteMetadataSchema>;
@@ -159,6 +159,7 @@ export declare const TestMetadataSchema: z.ZodObject<{
159
159
  branch: z.ZodOptional<z.ZodString>;
160
160
  dirty: z.ZodOptional<z.ZodBoolean>;
161
161
  }, z.core.$loose>>;
162
+ runId: z.ZodOptional<z.ZodString>;
162
163
  }, z.core.$loose>>;
163
164
  }, z.core.$loose>;
164
165
  export type TestMetadata = z.infer<typeof TestMetadataSchema>;
@@ -340,6 +341,7 @@ export declare const TestListItemSchema: z.ZodObject<{
340
341
  branch: z.ZodOptional<z.ZodString>;
341
342
  dirty: z.ZodOptional<z.ZodBoolean>;
342
343
  }, z.core.$loose>>;
344
+ runId: z.ZodOptional<z.ZodString>;
343
345
  }, z.core.$loose>>;
344
346
  flowCount: z.ZodNumber;
345
347
  latestFlow: z.ZodNullable<z.ZodObject<{
@@ -528,6 +530,7 @@ export declare const TestListItemSchema: z.ZodObject<{
528
530
  branch: z.ZodOptional<z.ZodString>;
529
531
  dirty: z.ZodOptional<z.ZodBoolean>;
530
532
  }, z.core.$loose>>;
533
+ runId: z.ZodOptional<z.ZodString>;
531
534
  }, z.core.$loose>>;
532
535
  }, z.core.$loose>>;
533
536
  }, z.core.$loose>;
@@ -688,6 +691,7 @@ export declare const TestListItemPaginatedResultSchema: z.ZodObject<{
688
691
  branch: z.ZodOptional<z.ZodString>;
689
692
  dirty: z.ZodOptional<z.ZodBoolean>;
690
693
  }, z.core.$loose>>;
694
+ runId: z.ZodOptional<z.ZodString>;
691
695
  }, z.core.$loose>>;
692
696
  flowCount: z.ZodNumber;
693
697
  latestFlow: z.ZodNullable<z.ZodObject<{
@@ -876,6 +880,7 @@ export declare const TestListItemPaginatedResultSchema: z.ZodObject<{
876
880
  branch: z.ZodOptional<z.ZodString>;
877
881
  dirty: z.ZodOptional<z.ZodBoolean>;
878
882
  }, z.core.$loose>>;
883
+ runId: z.ZodOptional<z.ZodString>;
879
884
  }, z.core.$loose>>;
880
885
  }, z.core.$loose>>;
881
886
  }, z.core.$loose>>;
@@ -96,6 +96,7 @@ function buildProvenance(source) {
96
96
  hostname,
97
97
  ci: isCode ? detectCi() : undefined,
98
98
  git: isCode ? detectGit() : undefined,
99
+ runId: process.env.DONOBU_RUN_ID,
99
100
  };
100
101
  }
101
102
  //# sourceMappingURL=buildProvenance.js.map
@@ -197,6 +197,7 @@ export declare const FlowMetadataSchema: z.ZodObject<{
197
197
  branch: z.ZodOptional<z.ZodString>;
198
198
  dirty: z.ZodOptional<z.ZodBoolean>;
199
199
  }, z.core.$loose>>;
200
+ runId: z.ZodOptional<z.ZodString>;
200
201
  }, z.core.$loose>>;
201
202
  }, z.core.$loose>;
202
203
  export type FlowMetadata = z.infer<typeof FlowMetadataSchema>;
@@ -38,6 +38,7 @@ export declare const ProvenanceSchema: z.ZodObject<{
38
38
  branch: z.ZodOptional<z.ZodString>;
39
39
  dirty: z.ZodOptional<z.ZodBoolean>;
40
40
  }, z.core.$loose>>;
41
+ runId: z.ZodOptional<z.ZodString>;
41
42
  }, z.core.$loose>;
42
43
  export type Provenance = z.infer<typeof ProvenanceSchema>;
43
44
  //# sourceMappingURL=Provenance.d.ts.map
@@ -55,6 +55,15 @@ exports.ProvenanceSchema = v4_1.z
55
55
  'no CI markers were detected.'),
56
56
  git: exports.GitProvenanceSchema.optional().describe('Git working-tree context at creation time. Absent when the CWD is ' +
57
57
  'not a git repo or `git` is unavailable.'),
58
+ runId: v4_1.z
59
+ .string()
60
+ .optional()
61
+ .describe('Stable identifier for the CI/CD invocation (or local test run) that ' +
62
+ 'produced this flow. Read verbatim from the DONOBU_RUN_ID environment ' +
63
+ 'variable, which the test runner is responsible for setting (so every ' +
64
+ 'flow in the same run shares it and it differs across runs). Absent ' +
65
+ 'for flows created before runId capture, or by a run that did not set ' +
66
+ 'DONOBU_RUN_ID.'),
58
67
  })
59
68
  .loose();
60
69
  //# sourceMappingURL=Provenance.js.map
@@ -156,6 +156,7 @@ export declare const SuiteMetadataSchema: z.ZodObject<{
156
156
  branch: z.ZodOptional<z.ZodString>;
157
157
  dirty: z.ZodOptional<z.ZodBoolean>;
158
158
  }, z.core.$loose>>;
159
+ runId: z.ZodOptional<z.ZodString>;
159
160
  }, z.core.$loose>>;
160
161
  }, z.core.$loose>;
161
162
  export type SuiteMetadata = z.infer<typeof SuiteMetadataSchema>;
@@ -159,6 +159,7 @@ export declare const TestMetadataSchema: z.ZodObject<{
159
159
  branch: z.ZodOptional<z.ZodString>;
160
160
  dirty: z.ZodOptional<z.ZodBoolean>;
161
161
  }, z.core.$loose>>;
162
+ runId: z.ZodOptional<z.ZodString>;
162
163
  }, z.core.$loose>>;
163
164
  }, z.core.$loose>;
164
165
  export type TestMetadata = z.infer<typeof TestMetadataSchema>;
@@ -340,6 +341,7 @@ export declare const TestListItemSchema: z.ZodObject<{
340
341
  branch: z.ZodOptional<z.ZodString>;
341
342
  dirty: z.ZodOptional<z.ZodBoolean>;
342
343
  }, z.core.$loose>>;
344
+ runId: z.ZodOptional<z.ZodString>;
343
345
  }, z.core.$loose>>;
344
346
  flowCount: z.ZodNumber;
345
347
  latestFlow: z.ZodNullable<z.ZodObject<{
@@ -528,6 +530,7 @@ export declare const TestListItemSchema: z.ZodObject<{
528
530
  branch: z.ZodOptional<z.ZodString>;
529
531
  dirty: z.ZodOptional<z.ZodBoolean>;
530
532
  }, z.core.$loose>>;
533
+ runId: z.ZodOptional<z.ZodString>;
531
534
  }, z.core.$loose>>;
532
535
  }, z.core.$loose>>;
533
536
  }, z.core.$loose>;
@@ -688,6 +691,7 @@ export declare const TestListItemPaginatedResultSchema: z.ZodObject<{
688
691
  branch: z.ZodOptional<z.ZodString>;
689
692
  dirty: z.ZodOptional<z.ZodBoolean>;
690
693
  }, z.core.$loose>>;
694
+ runId: z.ZodOptional<z.ZodString>;
691
695
  }, z.core.$loose>>;
692
696
  flowCount: z.ZodNumber;
693
697
  latestFlow: z.ZodNullable<z.ZodObject<{
@@ -876,6 +880,7 @@ export declare const TestListItemPaginatedResultSchema: z.ZodObject<{
876
880
  branch: z.ZodOptional<z.ZodString>;
877
881
  dirty: z.ZodOptional<z.ZodBoolean>;
878
882
  }, z.core.$loose>>;
883
+ runId: z.ZodOptional<z.ZodString>;
879
884
  }, z.core.$loose>>;
880
885
  }, z.core.$loose>>;
881
886
  }, z.core.$loose>>;
@@ -96,6 +96,7 @@ function buildProvenance(source) {
96
96
  hostname,
97
97
  ci: isCode ? detectCi() : undefined,
98
98
  git: isCode ? detectGit() : undefined,
99
+ runId: process.env.DONOBU_RUN_ID,
99
100
  };
100
101
  }
101
102
  //# sourceMappingURL=buildProvenance.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "donobu",
3
- "version": "5.49.0",
3
+ "version": "5.50.0",
4
4
  "description": "Create browser automations with an LLM agent and replay them as Playwright scripts.",
5
5
  "main": "dist/main.js",
6
6
  "module": "dist/esm/main.js",