@exaudeus/workrail 3.61.0 → 3.62.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.
@@ -73,7 +73,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
73
73
  runId?: string | undefined;
74
74
  nodeId?: string | undefined;
75
75
  }>>;
76
- timestampMs: z.ZodOptional<z.ZodNumber>;
76
+ timestampMs: z.ZodNumber;
77
77
  } & {
78
78
  kind: z.ZodLiteral<"session_created">;
79
79
  data: z.ZodObject<{
@@ -93,11 +93,11 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
93
93
  data: {
94
94
  parentSessionId?: string | undefined;
95
95
  };
96
+ timestampMs: number;
96
97
  scope?: {
97
98
  runId?: string | undefined;
98
99
  nodeId?: string | undefined;
99
100
  } | undefined;
100
- timestampMs?: number | undefined;
101
101
  }, {
102
102
  kind: "session_created";
103
103
  v: 1;
@@ -108,18 +108,18 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
108
108
  data: {
109
109
  parentSessionId?: string | undefined;
110
110
  };
111
+ timestampMs: number;
111
112
  scope?: {
112
113
  runId?: string | undefined;
113
114
  nodeId?: string | undefined;
114
115
  } | undefined;
115
- timestampMs?: number | undefined;
116
116
  }>, z.ZodObject<{
117
117
  v: z.ZodLiteral<1>;
118
118
  eventId: z.ZodString;
119
119
  eventIndex: z.ZodNumber;
120
120
  sessionId: z.ZodString;
121
121
  dedupeKey: z.ZodString;
122
- timestampMs: z.ZodOptional<z.ZodNumber>;
122
+ timestampMs: z.ZodNumber;
123
123
  } & {
124
124
  kind: z.ZodLiteral<"observation_recorded">;
125
125
  scope: z.ZodUndefined;
@@ -220,8 +220,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
220
220
  key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
221
221
  confidence: "low" | "med" | "high";
222
222
  };
223
+ timestampMs: number;
223
224
  scope?: undefined;
224
- timestampMs?: number | undefined;
225
225
  }, {
226
226
  kind: "observation_recorded";
227
227
  v: 1;
@@ -246,15 +246,15 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
246
246
  key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
247
247
  confidence: "low" | "med" | "high";
248
248
  };
249
+ timestampMs: number;
249
250
  scope?: undefined;
250
- timestampMs?: number | undefined;
251
251
  }>, z.ZodObject<{
252
252
  v: z.ZodLiteral<1>;
253
253
  eventId: z.ZodString;
254
254
  eventIndex: z.ZodNumber;
255
255
  sessionId: z.ZodString;
256
256
  dedupeKey: z.ZodString;
257
- timestampMs: z.ZodOptional<z.ZodNumber>;
257
+ timestampMs: z.ZodNumber;
258
258
  } & {
259
259
  kind: z.ZodLiteral<"run_started">;
260
260
  scope: z.ZodObject<{
@@ -296,7 +296,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
296
296
  workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
297
297
  workflowSourceRef: string;
298
298
  };
299
- timestampMs?: number | undefined;
299
+ timestampMs: number;
300
300
  }, {
301
301
  kind: "run_started";
302
302
  v: 1;
@@ -313,14 +313,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
313
313
  workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
314
314
  workflowSourceRef: string;
315
315
  };
316
- timestampMs?: number | undefined;
316
+ timestampMs: number;
317
317
  }>, z.ZodObject<{
318
318
  v: z.ZodLiteral<1>;
319
319
  eventId: z.ZodString;
320
320
  eventIndex: z.ZodNumber;
321
321
  sessionId: z.ZodString;
322
322
  dedupeKey: z.ZodString;
323
- timestampMs: z.ZodOptional<z.ZodNumber>;
323
+ timestampMs: z.ZodNumber;
324
324
  } & {
325
325
  kind: z.ZodLiteral<"node_created">;
326
326
  scope: z.ZodObject<{
@@ -366,7 +366,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
366
366
  parentNodeId: string | null;
367
367
  workflowHash: never;
368
368
  };
369
- timestampMs?: number | undefined;
369
+ timestampMs: number;
370
370
  }, {
371
371
  kind: "node_created";
372
372
  v: 1;
@@ -384,14 +384,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
384
384
  parentNodeId: string | null;
385
385
  workflowHash: string;
386
386
  };
387
- timestampMs?: number | undefined;
387
+ timestampMs: number;
388
388
  }>, z.ZodObject<{
389
389
  v: z.ZodLiteral<1>;
390
390
  eventId: z.ZodString;
391
391
  eventIndex: z.ZodNumber;
392
392
  sessionId: z.ZodString;
393
393
  dedupeKey: z.ZodString;
394
- timestampMs: z.ZodOptional<z.ZodNumber>;
394
+ timestampMs: z.ZodNumber;
395
395
  } & {
396
396
  kind: z.ZodLiteral<"edge_created">;
397
397
  scope: z.ZodObject<{
@@ -467,7 +467,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
467
467
  eventId: string;
468
468
  };
469
469
  };
470
- timestampMs?: number | undefined;
470
+ timestampMs: number;
471
471
  }, {
472
472
  kind: "edge_created";
473
473
  v: 1;
@@ -487,14 +487,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
487
487
  eventId: string;
488
488
  };
489
489
  };
490
- timestampMs?: number | undefined;
490
+ timestampMs: number;
491
491
  }>, z.ZodObject<{
492
492
  v: z.ZodLiteral<1>;
493
493
  eventId: z.ZodString;
494
494
  eventIndex: z.ZodNumber;
495
495
  sessionId: z.ZodString;
496
496
  dedupeKey: z.ZodString;
497
- timestampMs: z.ZodOptional<z.ZodNumber>;
497
+ timestampMs: z.ZodNumber;
498
498
  } & {
499
499
  kind: z.ZodLiteral<"advance_recorded">;
500
500
  scope: z.ZodObject<{
@@ -848,7 +848,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
848
848
  toNodeId: string;
849
849
  };
850
850
  };
851
- timestampMs?: number | undefined;
851
+ timestampMs: number;
852
852
  }, {
853
853
  kind: "advance_recorded";
854
854
  v: 1;
@@ -892,14 +892,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
892
892
  toNodeId: string;
893
893
  };
894
894
  };
895
- timestampMs?: number | undefined;
895
+ timestampMs: number;
896
896
  }>, z.ZodObject<{
897
897
  v: z.ZodLiteral<1>;
898
898
  eventId: z.ZodString;
899
899
  eventIndex: z.ZodNumber;
900
900
  sessionId: z.ZodString;
901
901
  dedupeKey: z.ZodString;
902
- timestampMs: z.ZodOptional<z.ZodNumber>;
902
+ timestampMs: z.ZodNumber;
903
903
  } & {
904
904
  kind: z.ZodLiteral<"validation_performed">;
905
905
  scope: z.ZodObject<{
@@ -977,7 +977,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
977
977
  suggestions: readonly string[];
978
978
  };
979
979
  };
980
- timestampMs?: number | undefined;
980
+ timestampMs: number;
981
981
  }, {
982
982
  kind: "validation_performed";
983
983
  v: 1;
@@ -999,14 +999,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
999
999
  suggestions: readonly string[];
1000
1000
  };
1001
1001
  };
1002
- timestampMs?: number | undefined;
1002
+ timestampMs: number;
1003
1003
  }>, z.ZodObject<{
1004
1004
  v: z.ZodLiteral<1>;
1005
1005
  eventId: z.ZodString;
1006
1006
  eventIndex: z.ZodNumber;
1007
1007
  sessionId: z.ZodString;
1008
1008
  dedupeKey: z.ZodString;
1009
- timestampMs: z.ZodOptional<z.ZodNumber>;
1009
+ timestampMs: z.ZodNumber;
1010
1010
  } & {
1011
1011
  kind: z.ZodLiteral<"node_output_appended">;
1012
1012
  scope: z.ZodObject<{
@@ -1134,7 +1134,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
1134
1134
  };
1135
1135
  supersedesOutputId?: string | undefined;
1136
1136
  };
1137
- timestampMs?: number | undefined;
1137
+ timestampMs: number;
1138
1138
  }, {
1139
1139
  kind: "node_output_appended";
1140
1140
  v: 1;
@@ -1161,14 +1161,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
1161
1161
  };
1162
1162
  supersedesOutputId?: string | undefined;
1163
1163
  };
1164
- timestampMs?: number | undefined;
1164
+ timestampMs: number;
1165
1165
  }>, z.ZodObject<{
1166
1166
  v: z.ZodLiteral<1>;
1167
1167
  eventId: z.ZodString;
1168
1168
  eventIndex: z.ZodNumber;
1169
1169
  sessionId: z.ZodString;
1170
1170
  dedupeKey: z.ZodString;
1171
- timestampMs: z.ZodOptional<z.ZodNumber>;
1171
+ timestampMs: z.ZodNumber;
1172
1172
  } & {
1173
1173
  kind: z.ZodLiteral<"assessment_recorded">;
1174
1174
  scope: z.ZodObject<{
@@ -1252,7 +1252,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
1252
1252
  }[];
1253
1253
  summary?: string | undefined;
1254
1254
  };
1255
- timestampMs?: number | undefined;
1255
+ timestampMs: number;
1256
1256
  }, {
1257
1257
  kind: "assessment_recorded";
1258
1258
  v: 1;
@@ -1277,14 +1277,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
1277
1277
  }[];
1278
1278
  summary?: string | undefined;
1279
1279
  };
1280
- timestampMs?: number | undefined;
1280
+ timestampMs: number;
1281
1281
  }>, z.ZodObject<{
1282
1282
  v: z.ZodLiteral<1>;
1283
1283
  eventId: z.ZodString;
1284
1284
  eventIndex: z.ZodNumber;
1285
1285
  sessionId: z.ZodString;
1286
1286
  dedupeKey: z.ZodString;
1287
- timestampMs: z.ZodOptional<z.ZodNumber>;
1287
+ timestampMs: z.ZodNumber;
1288
1288
  } & {
1289
1289
  kind: z.ZodLiteral<"assessment_consequence_applied">;
1290
1290
  scope: z.ZodObject<{
@@ -1366,7 +1366,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
1366
1366
  guidance: string;
1367
1367
  };
1368
1368
  };
1369
- timestampMs?: number | undefined;
1369
+ timestampMs: number;
1370
1370
  }, {
1371
1371
  kind: "assessment_consequence_applied";
1372
1372
  v: 1;
@@ -1390,14 +1390,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
1390
1390
  guidance: string;
1391
1391
  };
1392
1392
  };
1393
- timestampMs?: number | undefined;
1393
+ timestampMs: number;
1394
1394
  }>, z.ZodObject<{
1395
1395
  v: z.ZodLiteral<1>;
1396
1396
  eventId: z.ZodString;
1397
1397
  eventIndex: z.ZodNumber;
1398
1398
  sessionId: z.ZodString;
1399
1399
  dedupeKey: z.ZodString;
1400
- timestampMs: z.ZodOptional<z.ZodNumber>;
1400
+ timestampMs: z.ZodNumber;
1401
1401
  } & {
1402
1402
  kind: z.ZodLiteral<"preferences_changed">;
1403
1403
  scope: z.ZodObject<{
@@ -1525,7 +1525,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
1525
1525
  riskPolicy: "conservative" | "balanced" | "aggressive";
1526
1526
  };
1527
1527
  };
1528
- timestampMs?: number | undefined;
1528
+ timestampMs: number;
1529
1529
  }, {
1530
1530
  kind: "preferences_changed";
1531
1531
  v: 1;
@@ -1552,14 +1552,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
1552
1552
  riskPolicy: "conservative" | "balanced" | "aggressive";
1553
1553
  };
1554
1554
  };
1555
- timestampMs?: number | undefined;
1555
+ timestampMs: number;
1556
1556
  }>, z.ZodObject<{
1557
1557
  v: z.ZodLiteral<1>;
1558
1558
  eventId: z.ZodString;
1559
1559
  eventIndex: z.ZodNumber;
1560
1560
  sessionId: z.ZodString;
1561
1561
  dedupeKey: z.ZodString;
1562
- timestampMs: z.ZodOptional<z.ZodNumber>;
1562
+ timestampMs: z.ZodNumber;
1563
1563
  } & {
1564
1564
  kind: z.ZodLiteral<"capability_observed">;
1565
1565
  scope: z.ZodObject<{
@@ -1821,7 +1821,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
1821
1821
  enforcementGrade: "weak";
1822
1822
  };
1823
1823
  };
1824
- timestampMs?: number | undefined;
1824
+ timestampMs: number;
1825
1825
  }, {
1826
1826
  kind: "capability_observed";
1827
1827
  v: 1;
@@ -1862,14 +1862,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
1862
1862
  enforcementGrade: "weak";
1863
1863
  };
1864
1864
  };
1865
- timestampMs?: number | undefined;
1865
+ timestampMs: number;
1866
1866
  }>, z.ZodObject<{
1867
1867
  v: z.ZodLiteral<1>;
1868
1868
  eventId: z.ZodString;
1869
1869
  eventIndex: z.ZodNumber;
1870
1870
  sessionId: z.ZodString;
1871
1871
  dedupeKey: z.ZodString;
1872
- timestampMs: z.ZodOptional<z.ZodNumber>;
1872
+ timestampMs: z.ZodNumber;
1873
1873
  } & {
1874
1874
  kind: z.ZodLiteral<"gap_recorded">;
1875
1875
  scope: z.ZodObject<{
@@ -2061,7 +2061,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
2061
2061
  outputId: string;
2062
2062
  })[] | undefined;
2063
2063
  };
2064
- timestampMs?: number | undefined;
2064
+ timestampMs: number;
2065
2065
  }, {
2066
2066
  kind: "gap_recorded";
2067
2067
  v: 1;
@@ -2104,14 +2104,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
2104
2104
  outputId: string;
2105
2105
  })[] | undefined;
2106
2106
  };
2107
- timestampMs?: number | undefined;
2107
+ timestampMs: number;
2108
2108
  }>, z.ZodObject<{
2109
2109
  v: z.ZodLiteral<1>;
2110
2110
  eventId: z.ZodString;
2111
2111
  eventIndex: z.ZodNumber;
2112
2112
  sessionId: z.ZodString;
2113
2113
  dedupeKey: z.ZodString;
2114
- timestampMs: z.ZodOptional<z.ZodNumber>;
2114
+ timestampMs: z.ZodNumber;
2115
2115
  } & {
2116
2116
  kind: z.ZodLiteral<"context_set">;
2117
2117
  scope: z.ZodObject<{
@@ -2149,7 +2149,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
2149
2149
  contextId: string;
2150
2150
  context?: unknown;
2151
2151
  };
2152
- timestampMs?: number | undefined;
2152
+ timestampMs: number;
2153
2153
  }, {
2154
2154
  kind: "context_set";
2155
2155
  v: 1;
@@ -2165,14 +2165,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
2165
2165
  contextId: string;
2166
2166
  context?: unknown;
2167
2167
  };
2168
- timestampMs?: number | undefined;
2168
+ timestampMs: number;
2169
2169
  }>, z.ZodObject<{
2170
2170
  v: z.ZodLiteral<1>;
2171
2171
  eventId: z.ZodString;
2172
2172
  eventIndex: z.ZodNumber;
2173
2173
  sessionId: z.ZodString;
2174
2174
  dedupeKey: z.ZodString;
2175
- timestampMs: z.ZodOptional<z.ZodNumber>;
2175
+ timestampMs: z.ZodNumber;
2176
2176
  } & {
2177
2177
  kind: z.ZodLiteral<"divergence_recorded">;
2178
2178
  scope: z.ZodObject<{
@@ -2218,7 +2218,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
2218
2218
  divergenceId: string;
2219
2219
  relatedStepId?: string | undefined;
2220
2220
  };
2221
- timestampMs?: number | undefined;
2221
+ timestampMs: number;
2222
2222
  }, {
2223
2223
  kind: "divergence_recorded";
2224
2224
  v: 1;
@@ -2236,14 +2236,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
2236
2236
  divergenceId: string;
2237
2237
  relatedStepId?: string | undefined;
2238
2238
  };
2239
- timestampMs?: number | undefined;
2239
+ timestampMs: number;
2240
2240
  }>, z.ZodObject<{
2241
2241
  v: z.ZodLiteral<1>;
2242
2242
  eventId: z.ZodString;
2243
2243
  eventIndex: z.ZodNumber;
2244
2244
  sessionId: z.ZodString;
2245
2245
  dedupeKey: z.ZodString;
2246
- timestampMs: z.ZodOptional<z.ZodNumber>;
2246
+ timestampMs: z.ZodNumber;
2247
2247
  } & {
2248
2248
  kind: z.ZodLiteral<"decision_trace_appended">;
2249
2249
  scope: z.ZodObject<{
@@ -2439,7 +2439,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
2439
2439
  }[];
2440
2440
  traceId: string;
2441
2441
  };
2442
- timestampMs?: number | undefined;
2442
+ timestampMs: number;
2443
2443
  }, {
2444
2444
  kind: "decision_trace_appended";
2445
2445
  v: 1;
@@ -2471,7 +2471,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
2471
2471
  }[];
2472
2472
  traceId: string;
2473
2473
  };
2474
- timestampMs?: number | undefined;
2474
+ timestampMs: number;
2475
2475
  }>]>, "many">;
2476
2476
  manifest: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2477
2477
  v: z.ZodLiteral<1>;
@@ -4791,11 +4791,11 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
4791
4791
  data: {
4792
4792
  parentSessionId?: string | undefined;
4793
4793
  };
4794
+ timestampMs: number;
4794
4795
  scope?: {
4795
4796
  runId?: string | undefined;
4796
4797
  nodeId?: string | undefined;
4797
4798
  } | undefined;
4798
- timestampMs?: number | undefined;
4799
4799
  } | {
4800
4800
  kind: "observation_recorded";
4801
4801
  v: 1;
@@ -4820,8 +4820,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
4820
4820
  key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
4821
4821
  confidence: "low" | "med" | "high";
4822
4822
  };
4823
+ timestampMs: number;
4823
4824
  scope?: undefined;
4824
- timestampMs?: number | undefined;
4825
4825
  } | {
4826
4826
  kind: "run_started";
4827
4827
  v: 1;
@@ -4838,7 +4838,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
4838
4838
  workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
4839
4839
  workflowSourceRef: string;
4840
4840
  };
4841
- timestampMs?: number | undefined;
4841
+ timestampMs: number;
4842
4842
  } | {
4843
4843
  kind: "node_created";
4844
4844
  v: 1;
@@ -4856,7 +4856,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
4856
4856
  parentNodeId: string | null;
4857
4857
  workflowHash: never;
4858
4858
  };
4859
- timestampMs?: number | undefined;
4859
+ timestampMs: number;
4860
4860
  } | {
4861
4861
  kind: "edge_created";
4862
4862
  v: 1;
@@ -4876,7 +4876,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
4876
4876
  eventId: string;
4877
4877
  };
4878
4878
  };
4879
- timestampMs?: number | undefined;
4879
+ timestampMs: number;
4880
4880
  } | {
4881
4881
  kind: "advance_recorded";
4882
4882
  v: 1;
@@ -4920,7 +4920,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
4920
4920
  toNodeId: string;
4921
4921
  };
4922
4922
  };
4923
- timestampMs?: number | undefined;
4923
+ timestampMs: number;
4924
4924
  } | {
4925
4925
  kind: "validation_performed";
4926
4926
  v: 1;
@@ -4942,7 +4942,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
4942
4942
  suggestions: readonly string[];
4943
4943
  };
4944
4944
  };
4945
- timestampMs?: number | undefined;
4945
+ timestampMs: number;
4946
4946
  } | {
4947
4947
  kind: "node_output_appended";
4948
4948
  v: 1;
@@ -4969,7 +4969,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
4969
4969
  };
4970
4970
  supersedesOutputId?: string | undefined;
4971
4971
  };
4972
- timestampMs?: number | undefined;
4972
+ timestampMs: number;
4973
4973
  } | {
4974
4974
  kind: "assessment_recorded";
4975
4975
  v: 1;
@@ -4994,7 +4994,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
4994
4994
  }[];
4995
4995
  summary?: string | undefined;
4996
4996
  };
4997
- timestampMs?: number | undefined;
4997
+ timestampMs: number;
4998
4998
  } | {
4999
4999
  kind: "assessment_consequence_applied";
5000
5000
  v: 1;
@@ -5018,7 +5018,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5018
5018
  guidance: string;
5019
5019
  };
5020
5020
  };
5021
- timestampMs?: number | undefined;
5021
+ timestampMs: number;
5022
5022
  } | {
5023
5023
  kind: "preferences_changed";
5024
5024
  v: 1;
@@ -5045,7 +5045,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5045
5045
  riskPolicy: "conservative" | "balanced" | "aggressive";
5046
5046
  };
5047
5047
  };
5048
- timestampMs?: number | undefined;
5048
+ timestampMs: number;
5049
5049
  } | {
5050
5050
  kind: "capability_observed";
5051
5051
  v: 1;
@@ -5086,7 +5086,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5086
5086
  enforcementGrade: "weak";
5087
5087
  };
5088
5088
  };
5089
- timestampMs?: number | undefined;
5089
+ timestampMs: number;
5090
5090
  } | {
5091
5091
  kind: "gap_recorded";
5092
5092
  v: 1;
@@ -5129,7 +5129,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5129
5129
  outputId: string;
5130
5130
  })[] | undefined;
5131
5131
  };
5132
- timestampMs?: number | undefined;
5132
+ timestampMs: number;
5133
5133
  } | {
5134
5134
  kind: "context_set";
5135
5135
  v: 1;
@@ -5145,7 +5145,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5145
5145
  contextId: string;
5146
5146
  context?: unknown;
5147
5147
  };
5148
- timestampMs?: number | undefined;
5148
+ timestampMs: number;
5149
5149
  } | {
5150
5150
  kind: "divergence_recorded";
5151
5151
  v: 1;
@@ -5163,7 +5163,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5163
5163
  divergenceId: string;
5164
5164
  relatedStepId?: string | undefined;
5165
5165
  };
5166
- timestampMs?: number | undefined;
5166
+ timestampMs: number;
5167
5167
  } | {
5168
5168
  kind: "decision_trace_appended";
5169
5169
  v: 1;
@@ -5195,7 +5195,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5195
5195
  }[];
5196
5196
  traceId: string;
5197
5197
  };
5198
- timestampMs?: number | undefined;
5198
+ timestampMs: number;
5199
5199
  })[];
5200
5200
  manifest: ({
5201
5201
  kind: "segment_closed";
@@ -5385,11 +5385,11 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5385
5385
  data: {
5386
5386
  parentSessionId?: string | undefined;
5387
5387
  };
5388
+ timestampMs: number;
5388
5389
  scope?: {
5389
5390
  runId?: string | undefined;
5390
5391
  nodeId?: string | undefined;
5391
5392
  } | undefined;
5392
- timestampMs?: number | undefined;
5393
5393
  } | {
5394
5394
  kind: "observation_recorded";
5395
5395
  v: 1;
@@ -5414,8 +5414,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5414
5414
  key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
5415
5415
  confidence: "low" | "med" | "high";
5416
5416
  };
5417
+ timestampMs: number;
5417
5418
  scope?: undefined;
5418
- timestampMs?: number | undefined;
5419
5419
  } | {
5420
5420
  kind: "run_started";
5421
5421
  v: 1;
@@ -5432,7 +5432,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5432
5432
  workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
5433
5433
  workflowSourceRef: string;
5434
5434
  };
5435
- timestampMs?: number | undefined;
5435
+ timestampMs: number;
5436
5436
  } | {
5437
5437
  kind: "node_created";
5438
5438
  v: 1;
@@ -5450,7 +5450,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5450
5450
  parentNodeId: string | null;
5451
5451
  workflowHash: string;
5452
5452
  };
5453
- timestampMs?: number | undefined;
5453
+ timestampMs: number;
5454
5454
  } | {
5455
5455
  kind: "edge_created";
5456
5456
  v: 1;
@@ -5470,7 +5470,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5470
5470
  eventId: string;
5471
5471
  };
5472
5472
  };
5473
- timestampMs?: number | undefined;
5473
+ timestampMs: number;
5474
5474
  } | {
5475
5475
  kind: "advance_recorded";
5476
5476
  v: 1;
@@ -5514,7 +5514,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5514
5514
  toNodeId: string;
5515
5515
  };
5516
5516
  };
5517
- timestampMs?: number | undefined;
5517
+ timestampMs: number;
5518
5518
  } | {
5519
5519
  kind: "validation_performed";
5520
5520
  v: 1;
@@ -5536,7 +5536,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5536
5536
  suggestions: readonly string[];
5537
5537
  };
5538
5538
  };
5539
- timestampMs?: number | undefined;
5539
+ timestampMs: number;
5540
5540
  } | {
5541
5541
  kind: "node_output_appended";
5542
5542
  v: 1;
@@ -5563,7 +5563,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5563
5563
  };
5564
5564
  supersedesOutputId?: string | undefined;
5565
5565
  };
5566
- timestampMs?: number | undefined;
5566
+ timestampMs: number;
5567
5567
  } | {
5568
5568
  kind: "assessment_recorded";
5569
5569
  v: 1;
@@ -5588,7 +5588,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5588
5588
  }[];
5589
5589
  summary?: string | undefined;
5590
5590
  };
5591
- timestampMs?: number | undefined;
5591
+ timestampMs: number;
5592
5592
  } | {
5593
5593
  kind: "assessment_consequence_applied";
5594
5594
  v: 1;
@@ -5612,7 +5612,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5612
5612
  guidance: string;
5613
5613
  };
5614
5614
  };
5615
- timestampMs?: number | undefined;
5615
+ timestampMs: number;
5616
5616
  } | {
5617
5617
  kind: "preferences_changed";
5618
5618
  v: 1;
@@ -5639,7 +5639,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5639
5639
  riskPolicy: "conservative" | "balanced" | "aggressive";
5640
5640
  };
5641
5641
  };
5642
- timestampMs?: number | undefined;
5642
+ timestampMs: number;
5643
5643
  } | {
5644
5644
  kind: "capability_observed";
5645
5645
  v: 1;
@@ -5680,7 +5680,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5680
5680
  enforcementGrade: "weak";
5681
5681
  };
5682
5682
  };
5683
- timestampMs?: number | undefined;
5683
+ timestampMs: number;
5684
5684
  } | {
5685
5685
  kind: "gap_recorded";
5686
5686
  v: 1;
@@ -5723,7 +5723,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5723
5723
  outputId: string;
5724
5724
  })[] | undefined;
5725
5725
  };
5726
- timestampMs?: number | undefined;
5726
+ timestampMs: number;
5727
5727
  } | {
5728
5728
  kind: "context_set";
5729
5729
  v: 1;
@@ -5739,7 +5739,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5739
5739
  contextId: string;
5740
5740
  context?: unknown;
5741
5741
  };
5742
- timestampMs?: number | undefined;
5742
+ timestampMs: number;
5743
5743
  } | {
5744
5744
  kind: "divergence_recorded";
5745
5745
  v: 1;
@@ -5757,7 +5757,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5757
5757
  divergenceId: string;
5758
5758
  relatedStepId?: string | undefined;
5759
5759
  };
5760
- timestampMs?: number | undefined;
5760
+ timestampMs: number;
5761
5761
  } | {
5762
5762
  kind: "decision_trace_appended";
5763
5763
  v: 1;
@@ -5789,7 +5789,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5789
5789
  }[];
5790
5790
  traceId: string;
5791
5791
  };
5792
- timestampMs?: number | undefined;
5792
+ timestampMs: number;
5793
5793
  })[];
5794
5794
  manifest: ({
5795
5795
  kind: "segment_closed";
@@ -5875,7 +5875,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
5875
5875
  runId?: string | undefined;
5876
5876
  nodeId?: string | undefined;
5877
5877
  }>>;
5878
- timestampMs: z.ZodOptional<z.ZodNumber>;
5878
+ timestampMs: z.ZodNumber;
5879
5879
  } & {
5880
5880
  kind: z.ZodLiteral<"session_created">;
5881
5881
  data: z.ZodObject<{
@@ -5895,11 +5895,11 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
5895
5895
  data: {
5896
5896
  parentSessionId?: string | undefined;
5897
5897
  };
5898
+ timestampMs: number;
5898
5899
  scope?: {
5899
5900
  runId?: string | undefined;
5900
5901
  nodeId?: string | undefined;
5901
5902
  } | undefined;
5902
- timestampMs?: number | undefined;
5903
5903
  }, {
5904
5904
  kind: "session_created";
5905
5905
  v: 1;
@@ -5910,18 +5910,18 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
5910
5910
  data: {
5911
5911
  parentSessionId?: string | undefined;
5912
5912
  };
5913
+ timestampMs: number;
5913
5914
  scope?: {
5914
5915
  runId?: string | undefined;
5915
5916
  nodeId?: string | undefined;
5916
5917
  } | undefined;
5917
- timestampMs?: number | undefined;
5918
5918
  }>, z.ZodObject<{
5919
5919
  v: z.ZodLiteral<1>;
5920
5920
  eventId: z.ZodString;
5921
5921
  eventIndex: z.ZodNumber;
5922
5922
  sessionId: z.ZodString;
5923
5923
  dedupeKey: z.ZodString;
5924
- timestampMs: z.ZodOptional<z.ZodNumber>;
5924
+ timestampMs: z.ZodNumber;
5925
5925
  } & {
5926
5926
  kind: z.ZodLiteral<"observation_recorded">;
5927
5927
  scope: z.ZodUndefined;
@@ -6022,8 +6022,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6022
6022
  key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
6023
6023
  confidence: "low" | "med" | "high";
6024
6024
  };
6025
+ timestampMs: number;
6025
6026
  scope?: undefined;
6026
- timestampMs?: number | undefined;
6027
6027
  }, {
6028
6028
  kind: "observation_recorded";
6029
6029
  v: 1;
@@ -6048,15 +6048,15 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6048
6048
  key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
6049
6049
  confidence: "low" | "med" | "high";
6050
6050
  };
6051
+ timestampMs: number;
6051
6052
  scope?: undefined;
6052
- timestampMs?: number | undefined;
6053
6053
  }>, z.ZodObject<{
6054
6054
  v: z.ZodLiteral<1>;
6055
6055
  eventId: z.ZodString;
6056
6056
  eventIndex: z.ZodNumber;
6057
6057
  sessionId: z.ZodString;
6058
6058
  dedupeKey: z.ZodString;
6059
- timestampMs: z.ZodOptional<z.ZodNumber>;
6059
+ timestampMs: z.ZodNumber;
6060
6060
  } & {
6061
6061
  kind: z.ZodLiteral<"run_started">;
6062
6062
  scope: z.ZodObject<{
@@ -6098,7 +6098,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6098
6098
  workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
6099
6099
  workflowSourceRef: string;
6100
6100
  };
6101
- timestampMs?: number | undefined;
6101
+ timestampMs: number;
6102
6102
  }, {
6103
6103
  kind: "run_started";
6104
6104
  v: 1;
@@ -6115,14 +6115,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6115
6115
  workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
6116
6116
  workflowSourceRef: string;
6117
6117
  };
6118
- timestampMs?: number | undefined;
6118
+ timestampMs: number;
6119
6119
  }>, z.ZodObject<{
6120
6120
  v: z.ZodLiteral<1>;
6121
6121
  eventId: z.ZodString;
6122
6122
  eventIndex: z.ZodNumber;
6123
6123
  sessionId: z.ZodString;
6124
6124
  dedupeKey: z.ZodString;
6125
- timestampMs: z.ZodOptional<z.ZodNumber>;
6125
+ timestampMs: z.ZodNumber;
6126
6126
  } & {
6127
6127
  kind: z.ZodLiteral<"node_created">;
6128
6128
  scope: z.ZodObject<{
@@ -6168,7 +6168,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6168
6168
  parentNodeId: string | null;
6169
6169
  workflowHash: never;
6170
6170
  };
6171
- timestampMs?: number | undefined;
6171
+ timestampMs: number;
6172
6172
  }, {
6173
6173
  kind: "node_created";
6174
6174
  v: 1;
@@ -6186,14 +6186,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6186
6186
  parentNodeId: string | null;
6187
6187
  workflowHash: string;
6188
6188
  };
6189
- timestampMs?: number | undefined;
6189
+ timestampMs: number;
6190
6190
  }>, z.ZodObject<{
6191
6191
  v: z.ZodLiteral<1>;
6192
6192
  eventId: z.ZodString;
6193
6193
  eventIndex: z.ZodNumber;
6194
6194
  sessionId: z.ZodString;
6195
6195
  dedupeKey: z.ZodString;
6196
- timestampMs: z.ZodOptional<z.ZodNumber>;
6196
+ timestampMs: z.ZodNumber;
6197
6197
  } & {
6198
6198
  kind: z.ZodLiteral<"edge_created">;
6199
6199
  scope: z.ZodObject<{
@@ -6269,7 +6269,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6269
6269
  eventId: string;
6270
6270
  };
6271
6271
  };
6272
- timestampMs?: number | undefined;
6272
+ timestampMs: number;
6273
6273
  }, {
6274
6274
  kind: "edge_created";
6275
6275
  v: 1;
@@ -6289,14 +6289,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6289
6289
  eventId: string;
6290
6290
  };
6291
6291
  };
6292
- timestampMs?: number | undefined;
6292
+ timestampMs: number;
6293
6293
  }>, z.ZodObject<{
6294
6294
  v: z.ZodLiteral<1>;
6295
6295
  eventId: z.ZodString;
6296
6296
  eventIndex: z.ZodNumber;
6297
6297
  sessionId: z.ZodString;
6298
6298
  dedupeKey: z.ZodString;
6299
- timestampMs: z.ZodOptional<z.ZodNumber>;
6299
+ timestampMs: z.ZodNumber;
6300
6300
  } & {
6301
6301
  kind: z.ZodLiteral<"advance_recorded">;
6302
6302
  scope: z.ZodObject<{
@@ -6650,7 +6650,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6650
6650
  toNodeId: string;
6651
6651
  };
6652
6652
  };
6653
- timestampMs?: number | undefined;
6653
+ timestampMs: number;
6654
6654
  }, {
6655
6655
  kind: "advance_recorded";
6656
6656
  v: 1;
@@ -6694,14 +6694,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6694
6694
  toNodeId: string;
6695
6695
  };
6696
6696
  };
6697
- timestampMs?: number | undefined;
6697
+ timestampMs: number;
6698
6698
  }>, z.ZodObject<{
6699
6699
  v: z.ZodLiteral<1>;
6700
6700
  eventId: z.ZodString;
6701
6701
  eventIndex: z.ZodNumber;
6702
6702
  sessionId: z.ZodString;
6703
6703
  dedupeKey: z.ZodString;
6704
- timestampMs: z.ZodOptional<z.ZodNumber>;
6704
+ timestampMs: z.ZodNumber;
6705
6705
  } & {
6706
6706
  kind: z.ZodLiteral<"validation_performed">;
6707
6707
  scope: z.ZodObject<{
@@ -6779,7 +6779,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6779
6779
  suggestions: readonly string[];
6780
6780
  };
6781
6781
  };
6782
- timestampMs?: number | undefined;
6782
+ timestampMs: number;
6783
6783
  }, {
6784
6784
  kind: "validation_performed";
6785
6785
  v: 1;
@@ -6801,14 +6801,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6801
6801
  suggestions: readonly string[];
6802
6802
  };
6803
6803
  };
6804
- timestampMs?: number | undefined;
6804
+ timestampMs: number;
6805
6805
  }>, z.ZodObject<{
6806
6806
  v: z.ZodLiteral<1>;
6807
6807
  eventId: z.ZodString;
6808
6808
  eventIndex: z.ZodNumber;
6809
6809
  sessionId: z.ZodString;
6810
6810
  dedupeKey: z.ZodString;
6811
- timestampMs: z.ZodOptional<z.ZodNumber>;
6811
+ timestampMs: z.ZodNumber;
6812
6812
  } & {
6813
6813
  kind: z.ZodLiteral<"node_output_appended">;
6814
6814
  scope: z.ZodObject<{
@@ -6936,7 +6936,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6936
6936
  };
6937
6937
  supersedesOutputId?: string | undefined;
6938
6938
  };
6939
- timestampMs?: number | undefined;
6939
+ timestampMs: number;
6940
6940
  }, {
6941
6941
  kind: "node_output_appended";
6942
6942
  v: 1;
@@ -6963,14 +6963,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6963
6963
  };
6964
6964
  supersedesOutputId?: string | undefined;
6965
6965
  };
6966
- timestampMs?: number | undefined;
6966
+ timestampMs: number;
6967
6967
  }>, z.ZodObject<{
6968
6968
  v: z.ZodLiteral<1>;
6969
6969
  eventId: z.ZodString;
6970
6970
  eventIndex: z.ZodNumber;
6971
6971
  sessionId: z.ZodString;
6972
6972
  dedupeKey: z.ZodString;
6973
- timestampMs: z.ZodOptional<z.ZodNumber>;
6973
+ timestampMs: z.ZodNumber;
6974
6974
  } & {
6975
6975
  kind: z.ZodLiteral<"assessment_recorded">;
6976
6976
  scope: z.ZodObject<{
@@ -7054,7 +7054,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7054
7054
  }[];
7055
7055
  summary?: string | undefined;
7056
7056
  };
7057
- timestampMs?: number | undefined;
7057
+ timestampMs: number;
7058
7058
  }, {
7059
7059
  kind: "assessment_recorded";
7060
7060
  v: 1;
@@ -7079,14 +7079,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7079
7079
  }[];
7080
7080
  summary?: string | undefined;
7081
7081
  };
7082
- timestampMs?: number | undefined;
7082
+ timestampMs: number;
7083
7083
  }>, z.ZodObject<{
7084
7084
  v: z.ZodLiteral<1>;
7085
7085
  eventId: z.ZodString;
7086
7086
  eventIndex: z.ZodNumber;
7087
7087
  sessionId: z.ZodString;
7088
7088
  dedupeKey: z.ZodString;
7089
- timestampMs: z.ZodOptional<z.ZodNumber>;
7089
+ timestampMs: z.ZodNumber;
7090
7090
  } & {
7091
7091
  kind: z.ZodLiteral<"assessment_consequence_applied">;
7092
7092
  scope: z.ZodObject<{
@@ -7168,7 +7168,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7168
7168
  guidance: string;
7169
7169
  };
7170
7170
  };
7171
- timestampMs?: number | undefined;
7171
+ timestampMs: number;
7172
7172
  }, {
7173
7173
  kind: "assessment_consequence_applied";
7174
7174
  v: 1;
@@ -7192,14 +7192,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7192
7192
  guidance: string;
7193
7193
  };
7194
7194
  };
7195
- timestampMs?: number | undefined;
7195
+ timestampMs: number;
7196
7196
  }>, z.ZodObject<{
7197
7197
  v: z.ZodLiteral<1>;
7198
7198
  eventId: z.ZodString;
7199
7199
  eventIndex: z.ZodNumber;
7200
7200
  sessionId: z.ZodString;
7201
7201
  dedupeKey: z.ZodString;
7202
- timestampMs: z.ZodOptional<z.ZodNumber>;
7202
+ timestampMs: z.ZodNumber;
7203
7203
  } & {
7204
7204
  kind: z.ZodLiteral<"preferences_changed">;
7205
7205
  scope: z.ZodObject<{
@@ -7327,7 +7327,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7327
7327
  riskPolicy: "conservative" | "balanced" | "aggressive";
7328
7328
  };
7329
7329
  };
7330
- timestampMs?: number | undefined;
7330
+ timestampMs: number;
7331
7331
  }, {
7332
7332
  kind: "preferences_changed";
7333
7333
  v: 1;
@@ -7354,14 +7354,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7354
7354
  riskPolicy: "conservative" | "balanced" | "aggressive";
7355
7355
  };
7356
7356
  };
7357
- timestampMs?: number | undefined;
7357
+ timestampMs: number;
7358
7358
  }>, z.ZodObject<{
7359
7359
  v: z.ZodLiteral<1>;
7360
7360
  eventId: z.ZodString;
7361
7361
  eventIndex: z.ZodNumber;
7362
7362
  sessionId: z.ZodString;
7363
7363
  dedupeKey: z.ZodString;
7364
- timestampMs: z.ZodOptional<z.ZodNumber>;
7364
+ timestampMs: z.ZodNumber;
7365
7365
  } & {
7366
7366
  kind: z.ZodLiteral<"capability_observed">;
7367
7367
  scope: z.ZodObject<{
@@ -7623,7 +7623,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7623
7623
  enforcementGrade: "weak";
7624
7624
  };
7625
7625
  };
7626
- timestampMs?: number | undefined;
7626
+ timestampMs: number;
7627
7627
  }, {
7628
7628
  kind: "capability_observed";
7629
7629
  v: 1;
@@ -7664,14 +7664,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7664
7664
  enforcementGrade: "weak";
7665
7665
  };
7666
7666
  };
7667
- timestampMs?: number | undefined;
7667
+ timestampMs: number;
7668
7668
  }>, z.ZodObject<{
7669
7669
  v: z.ZodLiteral<1>;
7670
7670
  eventId: z.ZodString;
7671
7671
  eventIndex: z.ZodNumber;
7672
7672
  sessionId: z.ZodString;
7673
7673
  dedupeKey: z.ZodString;
7674
- timestampMs: z.ZodOptional<z.ZodNumber>;
7674
+ timestampMs: z.ZodNumber;
7675
7675
  } & {
7676
7676
  kind: z.ZodLiteral<"gap_recorded">;
7677
7677
  scope: z.ZodObject<{
@@ -7863,7 +7863,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7863
7863
  outputId: string;
7864
7864
  })[] | undefined;
7865
7865
  };
7866
- timestampMs?: number | undefined;
7866
+ timestampMs: number;
7867
7867
  }, {
7868
7868
  kind: "gap_recorded";
7869
7869
  v: 1;
@@ -7906,14 +7906,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7906
7906
  outputId: string;
7907
7907
  })[] | undefined;
7908
7908
  };
7909
- timestampMs?: number | undefined;
7909
+ timestampMs: number;
7910
7910
  }>, z.ZodObject<{
7911
7911
  v: z.ZodLiteral<1>;
7912
7912
  eventId: z.ZodString;
7913
7913
  eventIndex: z.ZodNumber;
7914
7914
  sessionId: z.ZodString;
7915
7915
  dedupeKey: z.ZodString;
7916
- timestampMs: z.ZodOptional<z.ZodNumber>;
7916
+ timestampMs: z.ZodNumber;
7917
7917
  } & {
7918
7918
  kind: z.ZodLiteral<"context_set">;
7919
7919
  scope: z.ZodObject<{
@@ -7951,7 +7951,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7951
7951
  contextId: string;
7952
7952
  context?: unknown;
7953
7953
  };
7954
- timestampMs?: number | undefined;
7954
+ timestampMs: number;
7955
7955
  }, {
7956
7956
  kind: "context_set";
7957
7957
  v: 1;
@@ -7967,14 +7967,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7967
7967
  contextId: string;
7968
7968
  context?: unknown;
7969
7969
  };
7970
- timestampMs?: number | undefined;
7970
+ timestampMs: number;
7971
7971
  }>, z.ZodObject<{
7972
7972
  v: z.ZodLiteral<1>;
7973
7973
  eventId: z.ZodString;
7974
7974
  eventIndex: z.ZodNumber;
7975
7975
  sessionId: z.ZodString;
7976
7976
  dedupeKey: z.ZodString;
7977
- timestampMs: z.ZodOptional<z.ZodNumber>;
7977
+ timestampMs: z.ZodNumber;
7978
7978
  } & {
7979
7979
  kind: z.ZodLiteral<"divergence_recorded">;
7980
7980
  scope: z.ZodObject<{
@@ -8020,7 +8020,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
8020
8020
  divergenceId: string;
8021
8021
  relatedStepId?: string | undefined;
8022
8022
  };
8023
- timestampMs?: number | undefined;
8023
+ timestampMs: number;
8024
8024
  }, {
8025
8025
  kind: "divergence_recorded";
8026
8026
  v: 1;
@@ -8038,14 +8038,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
8038
8038
  divergenceId: string;
8039
8039
  relatedStepId?: string | undefined;
8040
8040
  };
8041
- timestampMs?: number | undefined;
8041
+ timestampMs: number;
8042
8042
  }>, z.ZodObject<{
8043
8043
  v: z.ZodLiteral<1>;
8044
8044
  eventId: z.ZodString;
8045
8045
  eventIndex: z.ZodNumber;
8046
8046
  sessionId: z.ZodString;
8047
8047
  dedupeKey: z.ZodString;
8048
- timestampMs: z.ZodOptional<z.ZodNumber>;
8048
+ timestampMs: z.ZodNumber;
8049
8049
  } & {
8050
8050
  kind: z.ZodLiteral<"decision_trace_appended">;
8051
8051
  scope: z.ZodObject<{
@@ -8241,7 +8241,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
8241
8241
  }[];
8242
8242
  traceId: string;
8243
8243
  };
8244
- timestampMs?: number | undefined;
8244
+ timestampMs: number;
8245
8245
  }, {
8246
8246
  kind: "decision_trace_appended";
8247
8247
  v: 1;
@@ -8273,7 +8273,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
8273
8273
  }[];
8274
8274
  traceId: string;
8275
8275
  };
8276
- timestampMs?: number | undefined;
8276
+ timestampMs: number;
8277
8277
  }>]>, "many">;
8278
8278
  manifest: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
8279
8279
  v: z.ZodLiteral<1>;
@@ -10593,11 +10593,11 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10593
10593
  data: {
10594
10594
  parentSessionId?: string | undefined;
10595
10595
  };
10596
+ timestampMs: number;
10596
10597
  scope?: {
10597
10598
  runId?: string | undefined;
10598
10599
  nodeId?: string | undefined;
10599
10600
  } | undefined;
10600
- timestampMs?: number | undefined;
10601
10601
  } | {
10602
10602
  kind: "observation_recorded";
10603
10603
  v: 1;
@@ -10622,8 +10622,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10622
10622
  key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
10623
10623
  confidence: "low" | "med" | "high";
10624
10624
  };
10625
+ timestampMs: number;
10625
10626
  scope?: undefined;
10626
- timestampMs?: number | undefined;
10627
10627
  } | {
10628
10628
  kind: "run_started";
10629
10629
  v: 1;
@@ -10640,7 +10640,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10640
10640
  workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
10641
10641
  workflowSourceRef: string;
10642
10642
  };
10643
- timestampMs?: number | undefined;
10643
+ timestampMs: number;
10644
10644
  } | {
10645
10645
  kind: "node_created";
10646
10646
  v: 1;
@@ -10658,7 +10658,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10658
10658
  parentNodeId: string | null;
10659
10659
  workflowHash: never;
10660
10660
  };
10661
- timestampMs?: number | undefined;
10661
+ timestampMs: number;
10662
10662
  } | {
10663
10663
  kind: "edge_created";
10664
10664
  v: 1;
@@ -10678,7 +10678,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10678
10678
  eventId: string;
10679
10679
  };
10680
10680
  };
10681
- timestampMs?: number | undefined;
10681
+ timestampMs: number;
10682
10682
  } | {
10683
10683
  kind: "advance_recorded";
10684
10684
  v: 1;
@@ -10722,7 +10722,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10722
10722
  toNodeId: string;
10723
10723
  };
10724
10724
  };
10725
- timestampMs?: number | undefined;
10725
+ timestampMs: number;
10726
10726
  } | {
10727
10727
  kind: "validation_performed";
10728
10728
  v: 1;
@@ -10744,7 +10744,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10744
10744
  suggestions: readonly string[];
10745
10745
  };
10746
10746
  };
10747
- timestampMs?: number | undefined;
10747
+ timestampMs: number;
10748
10748
  } | {
10749
10749
  kind: "node_output_appended";
10750
10750
  v: 1;
@@ -10771,7 +10771,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10771
10771
  };
10772
10772
  supersedesOutputId?: string | undefined;
10773
10773
  };
10774
- timestampMs?: number | undefined;
10774
+ timestampMs: number;
10775
10775
  } | {
10776
10776
  kind: "assessment_recorded";
10777
10777
  v: 1;
@@ -10796,7 +10796,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10796
10796
  }[];
10797
10797
  summary?: string | undefined;
10798
10798
  };
10799
- timestampMs?: number | undefined;
10799
+ timestampMs: number;
10800
10800
  } | {
10801
10801
  kind: "assessment_consequence_applied";
10802
10802
  v: 1;
@@ -10820,7 +10820,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10820
10820
  guidance: string;
10821
10821
  };
10822
10822
  };
10823
- timestampMs?: number | undefined;
10823
+ timestampMs: number;
10824
10824
  } | {
10825
10825
  kind: "preferences_changed";
10826
10826
  v: 1;
@@ -10847,7 +10847,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10847
10847
  riskPolicy: "conservative" | "balanced" | "aggressive";
10848
10848
  };
10849
10849
  };
10850
- timestampMs?: number | undefined;
10850
+ timestampMs: number;
10851
10851
  } | {
10852
10852
  kind: "capability_observed";
10853
10853
  v: 1;
@@ -10888,7 +10888,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10888
10888
  enforcementGrade: "weak";
10889
10889
  };
10890
10890
  };
10891
- timestampMs?: number | undefined;
10891
+ timestampMs: number;
10892
10892
  } | {
10893
10893
  kind: "gap_recorded";
10894
10894
  v: 1;
@@ -10931,7 +10931,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10931
10931
  outputId: string;
10932
10932
  })[] | undefined;
10933
10933
  };
10934
- timestampMs?: number | undefined;
10934
+ timestampMs: number;
10935
10935
  } | {
10936
10936
  kind: "context_set";
10937
10937
  v: 1;
@@ -10947,7 +10947,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10947
10947
  contextId: string;
10948
10948
  context?: unknown;
10949
10949
  };
10950
- timestampMs?: number | undefined;
10950
+ timestampMs: number;
10951
10951
  } | {
10952
10952
  kind: "divergence_recorded";
10953
10953
  v: 1;
@@ -10965,7 +10965,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10965
10965
  divergenceId: string;
10966
10966
  relatedStepId?: string | undefined;
10967
10967
  };
10968
- timestampMs?: number | undefined;
10968
+ timestampMs: number;
10969
10969
  } | {
10970
10970
  kind: "decision_trace_appended";
10971
10971
  v: 1;
@@ -10997,7 +10997,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10997
10997
  }[];
10998
10998
  traceId: string;
10999
10999
  };
11000
- timestampMs?: number | undefined;
11000
+ timestampMs: number;
11001
11001
  })[];
11002
11002
  manifest: ({
11003
11003
  kind: "segment_closed";
@@ -11187,11 +11187,11 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11187
11187
  data: {
11188
11188
  parentSessionId?: string | undefined;
11189
11189
  };
11190
+ timestampMs: number;
11190
11191
  scope?: {
11191
11192
  runId?: string | undefined;
11192
11193
  nodeId?: string | undefined;
11193
11194
  } | undefined;
11194
- timestampMs?: number | undefined;
11195
11195
  } | {
11196
11196
  kind: "observation_recorded";
11197
11197
  v: 1;
@@ -11216,8 +11216,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11216
11216
  key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
11217
11217
  confidence: "low" | "med" | "high";
11218
11218
  };
11219
+ timestampMs: number;
11219
11220
  scope?: undefined;
11220
- timestampMs?: number | undefined;
11221
11221
  } | {
11222
11222
  kind: "run_started";
11223
11223
  v: 1;
@@ -11234,7 +11234,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11234
11234
  workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
11235
11235
  workflowSourceRef: string;
11236
11236
  };
11237
- timestampMs?: number | undefined;
11237
+ timestampMs: number;
11238
11238
  } | {
11239
11239
  kind: "node_created";
11240
11240
  v: 1;
@@ -11252,7 +11252,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11252
11252
  parentNodeId: string | null;
11253
11253
  workflowHash: string;
11254
11254
  };
11255
- timestampMs?: number | undefined;
11255
+ timestampMs: number;
11256
11256
  } | {
11257
11257
  kind: "edge_created";
11258
11258
  v: 1;
@@ -11272,7 +11272,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11272
11272
  eventId: string;
11273
11273
  };
11274
11274
  };
11275
- timestampMs?: number | undefined;
11275
+ timestampMs: number;
11276
11276
  } | {
11277
11277
  kind: "advance_recorded";
11278
11278
  v: 1;
@@ -11316,7 +11316,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11316
11316
  toNodeId: string;
11317
11317
  };
11318
11318
  };
11319
- timestampMs?: number | undefined;
11319
+ timestampMs: number;
11320
11320
  } | {
11321
11321
  kind: "validation_performed";
11322
11322
  v: 1;
@@ -11338,7 +11338,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11338
11338
  suggestions: readonly string[];
11339
11339
  };
11340
11340
  };
11341
- timestampMs?: number | undefined;
11341
+ timestampMs: number;
11342
11342
  } | {
11343
11343
  kind: "node_output_appended";
11344
11344
  v: 1;
@@ -11365,7 +11365,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11365
11365
  };
11366
11366
  supersedesOutputId?: string | undefined;
11367
11367
  };
11368
- timestampMs?: number | undefined;
11368
+ timestampMs: number;
11369
11369
  } | {
11370
11370
  kind: "assessment_recorded";
11371
11371
  v: 1;
@@ -11390,7 +11390,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11390
11390
  }[];
11391
11391
  summary?: string | undefined;
11392
11392
  };
11393
- timestampMs?: number | undefined;
11393
+ timestampMs: number;
11394
11394
  } | {
11395
11395
  kind: "assessment_consequence_applied";
11396
11396
  v: 1;
@@ -11414,7 +11414,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11414
11414
  guidance: string;
11415
11415
  };
11416
11416
  };
11417
- timestampMs?: number | undefined;
11417
+ timestampMs: number;
11418
11418
  } | {
11419
11419
  kind: "preferences_changed";
11420
11420
  v: 1;
@@ -11441,7 +11441,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11441
11441
  riskPolicy: "conservative" | "balanced" | "aggressive";
11442
11442
  };
11443
11443
  };
11444
- timestampMs?: number | undefined;
11444
+ timestampMs: number;
11445
11445
  } | {
11446
11446
  kind: "capability_observed";
11447
11447
  v: 1;
@@ -11482,7 +11482,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11482
11482
  enforcementGrade: "weak";
11483
11483
  };
11484
11484
  };
11485
- timestampMs?: number | undefined;
11485
+ timestampMs: number;
11486
11486
  } | {
11487
11487
  kind: "gap_recorded";
11488
11488
  v: 1;
@@ -11525,7 +11525,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11525
11525
  outputId: string;
11526
11526
  })[] | undefined;
11527
11527
  };
11528
- timestampMs?: number | undefined;
11528
+ timestampMs: number;
11529
11529
  } | {
11530
11530
  kind: "context_set";
11531
11531
  v: 1;
@@ -11541,7 +11541,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11541
11541
  contextId: string;
11542
11542
  context?: unknown;
11543
11543
  };
11544
- timestampMs?: number | undefined;
11544
+ timestampMs: number;
11545
11545
  } | {
11546
11546
  kind: "divergence_recorded";
11547
11547
  v: 1;
@@ -11559,7 +11559,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11559
11559
  divergenceId: string;
11560
11560
  relatedStepId?: string | undefined;
11561
11561
  };
11562
- timestampMs?: number | undefined;
11562
+ timestampMs: number;
11563
11563
  } | {
11564
11564
  kind: "decision_trace_appended";
11565
11565
  v: 1;
@@ -11591,7 +11591,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11591
11591
  }[];
11592
11592
  traceId: string;
11593
11593
  };
11594
- timestampMs?: number | undefined;
11594
+ timestampMs: number;
11595
11595
  })[];
11596
11596
  manifest: ({
11597
11597
  kind: "segment_closed";
@@ -11810,11 +11810,11 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11810
11810
  data: {
11811
11811
  parentSessionId?: string | undefined;
11812
11812
  };
11813
+ timestampMs: number;
11813
11814
  scope?: {
11814
11815
  runId?: string | undefined;
11815
11816
  nodeId?: string | undefined;
11816
11817
  } | undefined;
11817
- timestampMs?: number | undefined;
11818
11818
  } | {
11819
11819
  kind: "observation_recorded";
11820
11820
  v: 1;
@@ -11839,8 +11839,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11839
11839
  key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
11840
11840
  confidence: "low" | "med" | "high";
11841
11841
  };
11842
+ timestampMs: number;
11842
11843
  scope?: undefined;
11843
- timestampMs?: number | undefined;
11844
11844
  } | {
11845
11845
  kind: "run_started";
11846
11846
  v: 1;
@@ -11857,7 +11857,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11857
11857
  workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
11858
11858
  workflowSourceRef: string;
11859
11859
  };
11860
- timestampMs?: number | undefined;
11860
+ timestampMs: number;
11861
11861
  } | {
11862
11862
  kind: "node_created";
11863
11863
  v: 1;
@@ -11875,7 +11875,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11875
11875
  parentNodeId: string | null;
11876
11876
  workflowHash: never;
11877
11877
  };
11878
- timestampMs?: number | undefined;
11878
+ timestampMs: number;
11879
11879
  } | {
11880
11880
  kind: "edge_created";
11881
11881
  v: 1;
@@ -11895,7 +11895,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11895
11895
  eventId: string;
11896
11896
  };
11897
11897
  };
11898
- timestampMs?: number | undefined;
11898
+ timestampMs: number;
11899
11899
  } | {
11900
11900
  kind: "advance_recorded";
11901
11901
  v: 1;
@@ -11939,7 +11939,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11939
11939
  toNodeId: string;
11940
11940
  };
11941
11941
  };
11942
- timestampMs?: number | undefined;
11942
+ timestampMs: number;
11943
11943
  } | {
11944
11944
  kind: "validation_performed";
11945
11945
  v: 1;
@@ -11961,7 +11961,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11961
11961
  suggestions: readonly string[];
11962
11962
  };
11963
11963
  };
11964
- timestampMs?: number | undefined;
11964
+ timestampMs: number;
11965
11965
  } | {
11966
11966
  kind: "node_output_appended";
11967
11967
  v: 1;
@@ -11988,7 +11988,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11988
11988
  };
11989
11989
  supersedesOutputId?: string | undefined;
11990
11990
  };
11991
- timestampMs?: number | undefined;
11991
+ timestampMs: number;
11992
11992
  } | {
11993
11993
  kind: "assessment_recorded";
11994
11994
  v: 1;
@@ -12013,7 +12013,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12013
12013
  }[];
12014
12014
  summary?: string | undefined;
12015
12015
  };
12016
- timestampMs?: number | undefined;
12016
+ timestampMs: number;
12017
12017
  } | {
12018
12018
  kind: "assessment_consequence_applied";
12019
12019
  v: 1;
@@ -12037,7 +12037,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12037
12037
  guidance: string;
12038
12038
  };
12039
12039
  };
12040
- timestampMs?: number | undefined;
12040
+ timestampMs: number;
12041
12041
  } | {
12042
12042
  kind: "preferences_changed";
12043
12043
  v: 1;
@@ -12064,7 +12064,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12064
12064
  riskPolicy: "conservative" | "balanced" | "aggressive";
12065
12065
  };
12066
12066
  };
12067
- timestampMs?: number | undefined;
12067
+ timestampMs: number;
12068
12068
  } | {
12069
12069
  kind: "capability_observed";
12070
12070
  v: 1;
@@ -12105,7 +12105,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12105
12105
  enforcementGrade: "weak";
12106
12106
  };
12107
12107
  };
12108
- timestampMs?: number | undefined;
12108
+ timestampMs: number;
12109
12109
  } | {
12110
12110
  kind: "gap_recorded";
12111
12111
  v: 1;
@@ -12148,7 +12148,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12148
12148
  outputId: string;
12149
12149
  })[] | undefined;
12150
12150
  };
12151
- timestampMs?: number | undefined;
12151
+ timestampMs: number;
12152
12152
  } | {
12153
12153
  kind: "context_set";
12154
12154
  v: 1;
@@ -12164,7 +12164,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12164
12164
  contextId: string;
12165
12165
  context?: unknown;
12166
12166
  };
12167
- timestampMs?: number | undefined;
12167
+ timestampMs: number;
12168
12168
  } | {
12169
12169
  kind: "divergence_recorded";
12170
12170
  v: 1;
@@ -12182,7 +12182,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12182
12182
  divergenceId: string;
12183
12183
  relatedStepId?: string | undefined;
12184
12184
  };
12185
- timestampMs?: number | undefined;
12185
+ timestampMs: number;
12186
12186
  } | {
12187
12187
  kind: "decision_trace_appended";
12188
12188
  v: 1;
@@ -12214,7 +12214,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12214
12214
  }[];
12215
12215
  traceId: string;
12216
12216
  };
12217
- timestampMs?: number | undefined;
12217
+ timestampMs: number;
12218
12218
  })[];
12219
12219
  manifest: ({
12220
12220
  kind: "segment_closed";
@@ -12421,11 +12421,11 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12421
12421
  data: {
12422
12422
  parentSessionId?: string | undefined;
12423
12423
  };
12424
+ timestampMs: number;
12424
12425
  scope?: {
12425
12426
  runId?: string | undefined;
12426
12427
  nodeId?: string | undefined;
12427
12428
  } | undefined;
12428
- timestampMs?: number | undefined;
12429
12429
  } | {
12430
12430
  kind: "observation_recorded";
12431
12431
  v: 1;
@@ -12450,8 +12450,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12450
12450
  key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
12451
12451
  confidence: "low" | "med" | "high";
12452
12452
  };
12453
+ timestampMs: number;
12453
12454
  scope?: undefined;
12454
- timestampMs?: number | undefined;
12455
12455
  } | {
12456
12456
  kind: "run_started";
12457
12457
  v: 1;
@@ -12468,7 +12468,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12468
12468
  workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
12469
12469
  workflowSourceRef: string;
12470
12470
  };
12471
- timestampMs?: number | undefined;
12471
+ timestampMs: number;
12472
12472
  } | {
12473
12473
  kind: "node_created";
12474
12474
  v: 1;
@@ -12486,7 +12486,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12486
12486
  parentNodeId: string | null;
12487
12487
  workflowHash: string;
12488
12488
  };
12489
- timestampMs?: number | undefined;
12489
+ timestampMs: number;
12490
12490
  } | {
12491
12491
  kind: "edge_created";
12492
12492
  v: 1;
@@ -12506,7 +12506,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12506
12506
  eventId: string;
12507
12507
  };
12508
12508
  };
12509
- timestampMs?: number | undefined;
12509
+ timestampMs: number;
12510
12510
  } | {
12511
12511
  kind: "advance_recorded";
12512
12512
  v: 1;
@@ -12550,7 +12550,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12550
12550
  toNodeId: string;
12551
12551
  };
12552
12552
  };
12553
- timestampMs?: number | undefined;
12553
+ timestampMs: number;
12554
12554
  } | {
12555
12555
  kind: "validation_performed";
12556
12556
  v: 1;
@@ -12572,7 +12572,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12572
12572
  suggestions: readonly string[];
12573
12573
  };
12574
12574
  };
12575
- timestampMs?: number | undefined;
12575
+ timestampMs: number;
12576
12576
  } | {
12577
12577
  kind: "node_output_appended";
12578
12578
  v: 1;
@@ -12599,7 +12599,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12599
12599
  };
12600
12600
  supersedesOutputId?: string | undefined;
12601
12601
  };
12602
- timestampMs?: number | undefined;
12602
+ timestampMs: number;
12603
12603
  } | {
12604
12604
  kind: "assessment_recorded";
12605
12605
  v: 1;
@@ -12624,7 +12624,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12624
12624
  }[];
12625
12625
  summary?: string | undefined;
12626
12626
  };
12627
- timestampMs?: number | undefined;
12627
+ timestampMs: number;
12628
12628
  } | {
12629
12629
  kind: "assessment_consequence_applied";
12630
12630
  v: 1;
@@ -12648,7 +12648,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12648
12648
  guidance: string;
12649
12649
  };
12650
12650
  };
12651
- timestampMs?: number | undefined;
12651
+ timestampMs: number;
12652
12652
  } | {
12653
12653
  kind: "preferences_changed";
12654
12654
  v: 1;
@@ -12675,7 +12675,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12675
12675
  riskPolicy: "conservative" | "balanced" | "aggressive";
12676
12676
  };
12677
12677
  };
12678
- timestampMs?: number | undefined;
12678
+ timestampMs: number;
12679
12679
  } | {
12680
12680
  kind: "capability_observed";
12681
12681
  v: 1;
@@ -12716,7 +12716,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12716
12716
  enforcementGrade: "weak";
12717
12717
  };
12718
12718
  };
12719
- timestampMs?: number | undefined;
12719
+ timestampMs: number;
12720
12720
  } | {
12721
12721
  kind: "gap_recorded";
12722
12722
  v: 1;
@@ -12759,7 +12759,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12759
12759
  outputId: string;
12760
12760
  })[] | undefined;
12761
12761
  };
12762
- timestampMs?: number | undefined;
12762
+ timestampMs: number;
12763
12763
  } | {
12764
12764
  kind: "context_set";
12765
12765
  v: 1;
@@ -12775,7 +12775,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12775
12775
  contextId: string;
12776
12776
  context?: unknown;
12777
12777
  };
12778
- timestampMs?: number | undefined;
12778
+ timestampMs: number;
12779
12779
  } | {
12780
12780
  kind: "divergence_recorded";
12781
12781
  v: 1;
@@ -12793,7 +12793,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12793
12793
  divergenceId: string;
12794
12794
  relatedStepId?: string | undefined;
12795
12795
  };
12796
- timestampMs?: number | undefined;
12796
+ timestampMs: number;
12797
12797
  } | {
12798
12798
  kind: "decision_trace_appended";
12799
12799
  v: 1;
@@ -12825,7 +12825,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12825
12825
  }[];
12826
12826
  traceId: string;
12827
12827
  };
12828
- timestampMs?: number | undefined;
12828
+ timestampMs: number;
12829
12829
  })[];
12830
12830
  manifest: ({
12831
12831
  kind: "segment_closed";