@exaudeus/workrail 3.60.1 → 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,6 +73,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
73
73
  runId?: string | undefined;
74
74
  nodeId?: string | undefined;
75
75
  }>>;
76
+ timestampMs: z.ZodNumber;
76
77
  } & {
77
78
  kind: z.ZodLiteral<"session_created">;
78
79
  data: z.ZodObject<{
@@ -92,6 +93,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
92
93
  data: {
93
94
  parentSessionId?: string | undefined;
94
95
  };
96
+ timestampMs: number;
95
97
  scope?: {
96
98
  runId?: string | undefined;
97
99
  nodeId?: string | undefined;
@@ -106,6 +108,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
106
108
  data: {
107
109
  parentSessionId?: string | undefined;
108
110
  };
111
+ timestampMs: number;
109
112
  scope?: {
110
113
  runId?: string | undefined;
111
114
  nodeId?: string | undefined;
@@ -116,6 +119,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
116
119
  eventIndex: z.ZodNumber;
117
120
  sessionId: z.ZodString;
118
121
  dedupeKey: z.ZodString;
122
+ timestampMs: z.ZodNumber;
119
123
  } & {
120
124
  kind: z.ZodLiteral<"observation_recorded">;
121
125
  scope: z.ZodUndefined;
@@ -216,6 +220,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
216
220
  key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
217
221
  confidence: "low" | "med" | "high";
218
222
  };
223
+ timestampMs: number;
219
224
  scope?: undefined;
220
225
  }, {
221
226
  kind: "observation_recorded";
@@ -241,6 +246,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
241
246
  key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
242
247
  confidence: "low" | "med" | "high";
243
248
  };
249
+ timestampMs: number;
244
250
  scope?: undefined;
245
251
  }>, z.ZodObject<{
246
252
  v: z.ZodLiteral<1>;
@@ -248,6 +254,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
248
254
  eventIndex: z.ZodNumber;
249
255
  sessionId: z.ZodString;
250
256
  dedupeKey: z.ZodString;
257
+ timestampMs: z.ZodNumber;
251
258
  } & {
252
259
  kind: z.ZodLiteral<"run_started">;
253
260
  scope: z.ZodObject<{
@@ -289,6 +296,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
289
296
  workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
290
297
  workflowSourceRef: string;
291
298
  };
299
+ timestampMs: number;
292
300
  }, {
293
301
  kind: "run_started";
294
302
  v: 1;
@@ -305,12 +313,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
305
313
  workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
306
314
  workflowSourceRef: string;
307
315
  };
316
+ timestampMs: number;
308
317
  }>, z.ZodObject<{
309
318
  v: z.ZodLiteral<1>;
310
319
  eventId: z.ZodString;
311
320
  eventIndex: z.ZodNumber;
312
321
  sessionId: z.ZodString;
313
322
  dedupeKey: z.ZodString;
323
+ timestampMs: z.ZodNumber;
314
324
  } & {
315
325
  kind: z.ZodLiteral<"node_created">;
316
326
  scope: z.ZodObject<{
@@ -356,6 +366,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
356
366
  parentNodeId: string | null;
357
367
  workflowHash: never;
358
368
  };
369
+ timestampMs: number;
359
370
  }, {
360
371
  kind: "node_created";
361
372
  v: 1;
@@ -373,12 +384,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
373
384
  parentNodeId: string | null;
374
385
  workflowHash: string;
375
386
  };
387
+ timestampMs: number;
376
388
  }>, z.ZodObject<{
377
389
  v: z.ZodLiteral<1>;
378
390
  eventId: z.ZodString;
379
391
  eventIndex: z.ZodNumber;
380
392
  sessionId: z.ZodString;
381
393
  dedupeKey: z.ZodString;
394
+ timestampMs: z.ZodNumber;
382
395
  } & {
383
396
  kind: z.ZodLiteral<"edge_created">;
384
397
  scope: z.ZodObject<{
@@ -454,6 +467,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
454
467
  eventId: string;
455
468
  };
456
469
  };
470
+ timestampMs: number;
457
471
  }, {
458
472
  kind: "edge_created";
459
473
  v: 1;
@@ -473,12 +487,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
473
487
  eventId: string;
474
488
  };
475
489
  };
490
+ timestampMs: number;
476
491
  }>, z.ZodObject<{
477
492
  v: z.ZodLiteral<1>;
478
493
  eventId: z.ZodString;
479
494
  eventIndex: z.ZodNumber;
480
495
  sessionId: z.ZodString;
481
496
  dedupeKey: z.ZodString;
497
+ timestampMs: z.ZodNumber;
482
498
  } & {
483
499
  kind: z.ZodLiteral<"advance_recorded">;
484
500
  scope: z.ZodObject<{
@@ -832,6 +848,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
832
848
  toNodeId: string;
833
849
  };
834
850
  };
851
+ timestampMs: number;
835
852
  }, {
836
853
  kind: "advance_recorded";
837
854
  v: 1;
@@ -875,12 +892,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
875
892
  toNodeId: string;
876
893
  };
877
894
  };
895
+ timestampMs: number;
878
896
  }>, z.ZodObject<{
879
897
  v: z.ZodLiteral<1>;
880
898
  eventId: z.ZodString;
881
899
  eventIndex: z.ZodNumber;
882
900
  sessionId: z.ZodString;
883
901
  dedupeKey: z.ZodString;
902
+ timestampMs: z.ZodNumber;
884
903
  } & {
885
904
  kind: z.ZodLiteral<"validation_performed">;
886
905
  scope: z.ZodObject<{
@@ -958,6 +977,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
958
977
  suggestions: readonly string[];
959
978
  };
960
979
  };
980
+ timestampMs: number;
961
981
  }, {
962
982
  kind: "validation_performed";
963
983
  v: 1;
@@ -979,12 +999,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
979
999
  suggestions: readonly string[];
980
1000
  };
981
1001
  };
1002
+ timestampMs: number;
982
1003
  }>, z.ZodObject<{
983
1004
  v: z.ZodLiteral<1>;
984
1005
  eventId: z.ZodString;
985
1006
  eventIndex: z.ZodNumber;
986
1007
  sessionId: z.ZodString;
987
1008
  dedupeKey: z.ZodString;
1009
+ timestampMs: z.ZodNumber;
988
1010
  } & {
989
1011
  kind: z.ZodLiteral<"node_output_appended">;
990
1012
  scope: z.ZodObject<{
@@ -1112,6 +1134,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
1112
1134
  };
1113
1135
  supersedesOutputId?: string | undefined;
1114
1136
  };
1137
+ timestampMs: number;
1115
1138
  }, {
1116
1139
  kind: "node_output_appended";
1117
1140
  v: 1;
@@ -1138,12 +1161,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
1138
1161
  };
1139
1162
  supersedesOutputId?: string | undefined;
1140
1163
  };
1164
+ timestampMs: number;
1141
1165
  }>, z.ZodObject<{
1142
1166
  v: z.ZodLiteral<1>;
1143
1167
  eventId: z.ZodString;
1144
1168
  eventIndex: z.ZodNumber;
1145
1169
  sessionId: z.ZodString;
1146
1170
  dedupeKey: z.ZodString;
1171
+ timestampMs: z.ZodNumber;
1147
1172
  } & {
1148
1173
  kind: z.ZodLiteral<"assessment_recorded">;
1149
1174
  scope: z.ZodObject<{
@@ -1227,6 +1252,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
1227
1252
  }[];
1228
1253
  summary?: string | undefined;
1229
1254
  };
1255
+ timestampMs: number;
1230
1256
  }, {
1231
1257
  kind: "assessment_recorded";
1232
1258
  v: 1;
@@ -1251,12 +1277,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
1251
1277
  }[];
1252
1278
  summary?: string | undefined;
1253
1279
  };
1280
+ timestampMs: number;
1254
1281
  }>, z.ZodObject<{
1255
1282
  v: z.ZodLiteral<1>;
1256
1283
  eventId: z.ZodString;
1257
1284
  eventIndex: z.ZodNumber;
1258
1285
  sessionId: z.ZodString;
1259
1286
  dedupeKey: z.ZodString;
1287
+ timestampMs: z.ZodNumber;
1260
1288
  } & {
1261
1289
  kind: z.ZodLiteral<"assessment_consequence_applied">;
1262
1290
  scope: z.ZodObject<{
@@ -1338,6 +1366,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
1338
1366
  guidance: string;
1339
1367
  };
1340
1368
  };
1369
+ timestampMs: number;
1341
1370
  }, {
1342
1371
  kind: "assessment_consequence_applied";
1343
1372
  v: 1;
@@ -1361,12 +1390,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
1361
1390
  guidance: string;
1362
1391
  };
1363
1392
  };
1393
+ timestampMs: number;
1364
1394
  }>, z.ZodObject<{
1365
1395
  v: z.ZodLiteral<1>;
1366
1396
  eventId: z.ZodString;
1367
1397
  eventIndex: z.ZodNumber;
1368
1398
  sessionId: z.ZodString;
1369
1399
  dedupeKey: z.ZodString;
1400
+ timestampMs: z.ZodNumber;
1370
1401
  } & {
1371
1402
  kind: z.ZodLiteral<"preferences_changed">;
1372
1403
  scope: z.ZodObject<{
@@ -1494,6 +1525,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
1494
1525
  riskPolicy: "conservative" | "balanced" | "aggressive";
1495
1526
  };
1496
1527
  };
1528
+ timestampMs: number;
1497
1529
  }, {
1498
1530
  kind: "preferences_changed";
1499
1531
  v: 1;
@@ -1520,12 +1552,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
1520
1552
  riskPolicy: "conservative" | "balanced" | "aggressive";
1521
1553
  };
1522
1554
  };
1555
+ timestampMs: number;
1523
1556
  }>, z.ZodObject<{
1524
1557
  v: z.ZodLiteral<1>;
1525
1558
  eventId: z.ZodString;
1526
1559
  eventIndex: z.ZodNumber;
1527
1560
  sessionId: z.ZodString;
1528
1561
  dedupeKey: z.ZodString;
1562
+ timestampMs: z.ZodNumber;
1529
1563
  } & {
1530
1564
  kind: z.ZodLiteral<"capability_observed">;
1531
1565
  scope: z.ZodObject<{
@@ -1787,6 +1821,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
1787
1821
  enforcementGrade: "weak";
1788
1822
  };
1789
1823
  };
1824
+ timestampMs: number;
1790
1825
  }, {
1791
1826
  kind: "capability_observed";
1792
1827
  v: 1;
@@ -1827,12 +1862,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
1827
1862
  enforcementGrade: "weak";
1828
1863
  };
1829
1864
  };
1865
+ timestampMs: number;
1830
1866
  }>, z.ZodObject<{
1831
1867
  v: z.ZodLiteral<1>;
1832
1868
  eventId: z.ZodString;
1833
1869
  eventIndex: z.ZodNumber;
1834
1870
  sessionId: z.ZodString;
1835
1871
  dedupeKey: z.ZodString;
1872
+ timestampMs: z.ZodNumber;
1836
1873
  } & {
1837
1874
  kind: z.ZodLiteral<"gap_recorded">;
1838
1875
  scope: z.ZodObject<{
@@ -2024,6 +2061,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
2024
2061
  outputId: string;
2025
2062
  })[] | undefined;
2026
2063
  };
2064
+ timestampMs: number;
2027
2065
  }, {
2028
2066
  kind: "gap_recorded";
2029
2067
  v: 1;
@@ -2066,12 +2104,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
2066
2104
  outputId: string;
2067
2105
  })[] | undefined;
2068
2106
  };
2107
+ timestampMs: number;
2069
2108
  }>, z.ZodObject<{
2070
2109
  v: z.ZodLiteral<1>;
2071
2110
  eventId: z.ZodString;
2072
2111
  eventIndex: z.ZodNumber;
2073
2112
  sessionId: z.ZodString;
2074
2113
  dedupeKey: z.ZodString;
2114
+ timestampMs: z.ZodNumber;
2075
2115
  } & {
2076
2116
  kind: z.ZodLiteral<"context_set">;
2077
2117
  scope: z.ZodObject<{
@@ -2109,6 +2149,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
2109
2149
  contextId: string;
2110
2150
  context?: unknown;
2111
2151
  };
2152
+ timestampMs: number;
2112
2153
  }, {
2113
2154
  kind: "context_set";
2114
2155
  v: 1;
@@ -2124,12 +2165,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
2124
2165
  contextId: string;
2125
2166
  context?: unknown;
2126
2167
  };
2168
+ timestampMs: number;
2127
2169
  }>, z.ZodObject<{
2128
2170
  v: z.ZodLiteral<1>;
2129
2171
  eventId: z.ZodString;
2130
2172
  eventIndex: z.ZodNumber;
2131
2173
  sessionId: z.ZodString;
2132
2174
  dedupeKey: z.ZodString;
2175
+ timestampMs: z.ZodNumber;
2133
2176
  } & {
2134
2177
  kind: z.ZodLiteral<"divergence_recorded">;
2135
2178
  scope: z.ZodObject<{
@@ -2175,6 +2218,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
2175
2218
  divergenceId: string;
2176
2219
  relatedStepId?: string | undefined;
2177
2220
  };
2221
+ timestampMs: number;
2178
2222
  }, {
2179
2223
  kind: "divergence_recorded";
2180
2224
  v: 1;
@@ -2192,12 +2236,14 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
2192
2236
  divergenceId: string;
2193
2237
  relatedStepId?: string | undefined;
2194
2238
  };
2239
+ timestampMs: number;
2195
2240
  }>, z.ZodObject<{
2196
2241
  v: z.ZodLiteral<1>;
2197
2242
  eventId: z.ZodString;
2198
2243
  eventIndex: z.ZodNumber;
2199
2244
  sessionId: z.ZodString;
2200
2245
  dedupeKey: z.ZodString;
2246
+ timestampMs: z.ZodNumber;
2201
2247
  } & {
2202
2248
  kind: z.ZodLiteral<"decision_trace_appended">;
2203
2249
  scope: z.ZodObject<{
@@ -2393,6 +2439,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
2393
2439
  }[];
2394
2440
  traceId: string;
2395
2441
  };
2442
+ timestampMs: number;
2396
2443
  }, {
2397
2444
  kind: "decision_trace_appended";
2398
2445
  v: 1;
@@ -2424,6 +2471,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
2424
2471
  }[];
2425
2472
  traceId: string;
2426
2473
  };
2474
+ timestampMs: number;
2427
2475
  }>]>, "many">;
2428
2476
  manifest: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2429
2477
  v: z.ZodLiteral<1>;
@@ -4743,6 +4791,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
4743
4791
  data: {
4744
4792
  parentSessionId?: string | undefined;
4745
4793
  };
4794
+ timestampMs: number;
4746
4795
  scope?: {
4747
4796
  runId?: string | undefined;
4748
4797
  nodeId?: string | undefined;
@@ -4771,6 +4820,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
4771
4820
  key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
4772
4821
  confidence: "low" | "med" | "high";
4773
4822
  };
4823
+ timestampMs: number;
4774
4824
  scope?: undefined;
4775
4825
  } | {
4776
4826
  kind: "run_started";
@@ -4788,6 +4838,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
4788
4838
  workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
4789
4839
  workflowSourceRef: string;
4790
4840
  };
4841
+ timestampMs: number;
4791
4842
  } | {
4792
4843
  kind: "node_created";
4793
4844
  v: 1;
@@ -4805,6 +4856,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
4805
4856
  parentNodeId: string | null;
4806
4857
  workflowHash: never;
4807
4858
  };
4859
+ timestampMs: number;
4808
4860
  } | {
4809
4861
  kind: "edge_created";
4810
4862
  v: 1;
@@ -4824,6 +4876,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
4824
4876
  eventId: string;
4825
4877
  };
4826
4878
  };
4879
+ timestampMs: number;
4827
4880
  } | {
4828
4881
  kind: "advance_recorded";
4829
4882
  v: 1;
@@ -4867,6 +4920,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
4867
4920
  toNodeId: string;
4868
4921
  };
4869
4922
  };
4923
+ timestampMs: number;
4870
4924
  } | {
4871
4925
  kind: "validation_performed";
4872
4926
  v: 1;
@@ -4888,6 +4942,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
4888
4942
  suggestions: readonly string[];
4889
4943
  };
4890
4944
  };
4945
+ timestampMs: number;
4891
4946
  } | {
4892
4947
  kind: "node_output_appended";
4893
4948
  v: 1;
@@ -4914,6 +4969,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
4914
4969
  };
4915
4970
  supersedesOutputId?: string | undefined;
4916
4971
  };
4972
+ timestampMs: number;
4917
4973
  } | {
4918
4974
  kind: "assessment_recorded";
4919
4975
  v: 1;
@@ -4938,6 +4994,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
4938
4994
  }[];
4939
4995
  summary?: string | undefined;
4940
4996
  };
4997
+ timestampMs: number;
4941
4998
  } | {
4942
4999
  kind: "assessment_consequence_applied";
4943
5000
  v: 1;
@@ -4961,6 +5018,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
4961
5018
  guidance: string;
4962
5019
  };
4963
5020
  };
5021
+ timestampMs: number;
4964
5022
  } | {
4965
5023
  kind: "preferences_changed";
4966
5024
  v: 1;
@@ -4987,6 +5045,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
4987
5045
  riskPolicy: "conservative" | "balanced" | "aggressive";
4988
5046
  };
4989
5047
  };
5048
+ timestampMs: number;
4990
5049
  } | {
4991
5050
  kind: "capability_observed";
4992
5051
  v: 1;
@@ -5027,6 +5086,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5027
5086
  enforcementGrade: "weak";
5028
5087
  };
5029
5088
  };
5089
+ timestampMs: number;
5030
5090
  } | {
5031
5091
  kind: "gap_recorded";
5032
5092
  v: 1;
@@ -5069,6 +5129,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5069
5129
  outputId: string;
5070
5130
  })[] | undefined;
5071
5131
  };
5132
+ timestampMs: number;
5072
5133
  } | {
5073
5134
  kind: "context_set";
5074
5135
  v: 1;
@@ -5084,6 +5145,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5084
5145
  contextId: string;
5085
5146
  context?: unknown;
5086
5147
  };
5148
+ timestampMs: number;
5087
5149
  } | {
5088
5150
  kind: "divergence_recorded";
5089
5151
  v: 1;
@@ -5101,6 +5163,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5101
5163
  divergenceId: string;
5102
5164
  relatedStepId?: string | undefined;
5103
5165
  };
5166
+ timestampMs: number;
5104
5167
  } | {
5105
5168
  kind: "decision_trace_appended";
5106
5169
  v: 1;
@@ -5132,6 +5195,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5132
5195
  }[];
5133
5196
  traceId: string;
5134
5197
  };
5198
+ timestampMs: number;
5135
5199
  })[];
5136
5200
  manifest: ({
5137
5201
  kind: "segment_closed";
@@ -5321,6 +5385,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5321
5385
  data: {
5322
5386
  parentSessionId?: string | undefined;
5323
5387
  };
5388
+ timestampMs: number;
5324
5389
  scope?: {
5325
5390
  runId?: string | undefined;
5326
5391
  nodeId?: string | undefined;
@@ -5349,6 +5414,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5349
5414
  key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
5350
5415
  confidence: "low" | "med" | "high";
5351
5416
  };
5417
+ timestampMs: number;
5352
5418
  scope?: undefined;
5353
5419
  } | {
5354
5420
  kind: "run_started";
@@ -5366,6 +5432,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5366
5432
  workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
5367
5433
  workflowSourceRef: string;
5368
5434
  };
5435
+ timestampMs: number;
5369
5436
  } | {
5370
5437
  kind: "node_created";
5371
5438
  v: 1;
@@ -5383,6 +5450,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5383
5450
  parentNodeId: string | null;
5384
5451
  workflowHash: string;
5385
5452
  };
5453
+ timestampMs: number;
5386
5454
  } | {
5387
5455
  kind: "edge_created";
5388
5456
  v: 1;
@@ -5402,6 +5470,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5402
5470
  eventId: string;
5403
5471
  };
5404
5472
  };
5473
+ timestampMs: number;
5405
5474
  } | {
5406
5475
  kind: "advance_recorded";
5407
5476
  v: 1;
@@ -5445,6 +5514,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5445
5514
  toNodeId: string;
5446
5515
  };
5447
5516
  };
5517
+ timestampMs: number;
5448
5518
  } | {
5449
5519
  kind: "validation_performed";
5450
5520
  v: 1;
@@ -5466,6 +5536,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5466
5536
  suggestions: readonly string[];
5467
5537
  };
5468
5538
  };
5539
+ timestampMs: number;
5469
5540
  } | {
5470
5541
  kind: "node_output_appended";
5471
5542
  v: 1;
@@ -5492,6 +5563,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5492
5563
  };
5493
5564
  supersedesOutputId?: string | undefined;
5494
5565
  };
5566
+ timestampMs: number;
5495
5567
  } | {
5496
5568
  kind: "assessment_recorded";
5497
5569
  v: 1;
@@ -5516,6 +5588,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5516
5588
  }[];
5517
5589
  summary?: string | undefined;
5518
5590
  };
5591
+ timestampMs: number;
5519
5592
  } | {
5520
5593
  kind: "assessment_consequence_applied";
5521
5594
  v: 1;
@@ -5539,6 +5612,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5539
5612
  guidance: string;
5540
5613
  };
5541
5614
  };
5615
+ timestampMs: number;
5542
5616
  } | {
5543
5617
  kind: "preferences_changed";
5544
5618
  v: 1;
@@ -5565,6 +5639,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5565
5639
  riskPolicy: "conservative" | "balanced" | "aggressive";
5566
5640
  };
5567
5641
  };
5642
+ timestampMs: number;
5568
5643
  } | {
5569
5644
  kind: "capability_observed";
5570
5645
  v: 1;
@@ -5605,6 +5680,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5605
5680
  enforcementGrade: "weak";
5606
5681
  };
5607
5682
  };
5683
+ timestampMs: number;
5608
5684
  } | {
5609
5685
  kind: "gap_recorded";
5610
5686
  v: 1;
@@ -5647,6 +5723,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5647
5723
  outputId: string;
5648
5724
  })[] | undefined;
5649
5725
  };
5726
+ timestampMs: number;
5650
5727
  } | {
5651
5728
  kind: "context_set";
5652
5729
  v: 1;
@@ -5662,6 +5739,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5662
5739
  contextId: string;
5663
5740
  context?: unknown;
5664
5741
  };
5742
+ timestampMs: number;
5665
5743
  } | {
5666
5744
  kind: "divergence_recorded";
5667
5745
  v: 1;
@@ -5679,6 +5757,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5679
5757
  divergenceId: string;
5680
5758
  relatedStepId?: string | undefined;
5681
5759
  };
5760
+ timestampMs: number;
5682
5761
  } | {
5683
5762
  kind: "decision_trace_appended";
5684
5763
  v: 1;
@@ -5710,6 +5789,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
5710
5789
  }[];
5711
5790
  traceId: string;
5712
5791
  };
5792
+ timestampMs: number;
5713
5793
  })[];
5714
5794
  manifest: ({
5715
5795
  kind: "segment_closed";
@@ -5795,6 +5875,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
5795
5875
  runId?: string | undefined;
5796
5876
  nodeId?: string | undefined;
5797
5877
  }>>;
5878
+ timestampMs: z.ZodNumber;
5798
5879
  } & {
5799
5880
  kind: z.ZodLiteral<"session_created">;
5800
5881
  data: z.ZodObject<{
@@ -5814,6 +5895,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
5814
5895
  data: {
5815
5896
  parentSessionId?: string | undefined;
5816
5897
  };
5898
+ timestampMs: number;
5817
5899
  scope?: {
5818
5900
  runId?: string | undefined;
5819
5901
  nodeId?: string | undefined;
@@ -5828,6 +5910,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
5828
5910
  data: {
5829
5911
  parentSessionId?: string | undefined;
5830
5912
  };
5913
+ timestampMs: number;
5831
5914
  scope?: {
5832
5915
  runId?: string | undefined;
5833
5916
  nodeId?: string | undefined;
@@ -5838,6 +5921,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
5838
5921
  eventIndex: z.ZodNumber;
5839
5922
  sessionId: z.ZodString;
5840
5923
  dedupeKey: z.ZodString;
5924
+ timestampMs: z.ZodNumber;
5841
5925
  } & {
5842
5926
  kind: z.ZodLiteral<"observation_recorded">;
5843
5927
  scope: z.ZodUndefined;
@@ -5938,6 +6022,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
5938
6022
  key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
5939
6023
  confidence: "low" | "med" | "high";
5940
6024
  };
6025
+ timestampMs: number;
5941
6026
  scope?: undefined;
5942
6027
  }, {
5943
6028
  kind: "observation_recorded";
@@ -5963,6 +6048,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
5963
6048
  key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
5964
6049
  confidence: "low" | "med" | "high";
5965
6050
  };
6051
+ timestampMs: number;
5966
6052
  scope?: undefined;
5967
6053
  }>, z.ZodObject<{
5968
6054
  v: z.ZodLiteral<1>;
@@ -5970,6 +6056,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
5970
6056
  eventIndex: z.ZodNumber;
5971
6057
  sessionId: z.ZodString;
5972
6058
  dedupeKey: z.ZodString;
6059
+ timestampMs: z.ZodNumber;
5973
6060
  } & {
5974
6061
  kind: z.ZodLiteral<"run_started">;
5975
6062
  scope: z.ZodObject<{
@@ -6011,6 +6098,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6011
6098
  workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
6012
6099
  workflowSourceRef: string;
6013
6100
  };
6101
+ timestampMs: number;
6014
6102
  }, {
6015
6103
  kind: "run_started";
6016
6104
  v: 1;
@@ -6027,12 +6115,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6027
6115
  workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
6028
6116
  workflowSourceRef: string;
6029
6117
  };
6118
+ timestampMs: number;
6030
6119
  }>, z.ZodObject<{
6031
6120
  v: z.ZodLiteral<1>;
6032
6121
  eventId: z.ZodString;
6033
6122
  eventIndex: z.ZodNumber;
6034
6123
  sessionId: z.ZodString;
6035
6124
  dedupeKey: z.ZodString;
6125
+ timestampMs: z.ZodNumber;
6036
6126
  } & {
6037
6127
  kind: z.ZodLiteral<"node_created">;
6038
6128
  scope: z.ZodObject<{
@@ -6078,6 +6168,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6078
6168
  parentNodeId: string | null;
6079
6169
  workflowHash: never;
6080
6170
  };
6171
+ timestampMs: number;
6081
6172
  }, {
6082
6173
  kind: "node_created";
6083
6174
  v: 1;
@@ -6095,12 +6186,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6095
6186
  parentNodeId: string | null;
6096
6187
  workflowHash: string;
6097
6188
  };
6189
+ timestampMs: number;
6098
6190
  }>, z.ZodObject<{
6099
6191
  v: z.ZodLiteral<1>;
6100
6192
  eventId: z.ZodString;
6101
6193
  eventIndex: z.ZodNumber;
6102
6194
  sessionId: z.ZodString;
6103
6195
  dedupeKey: z.ZodString;
6196
+ timestampMs: z.ZodNumber;
6104
6197
  } & {
6105
6198
  kind: z.ZodLiteral<"edge_created">;
6106
6199
  scope: z.ZodObject<{
@@ -6176,6 +6269,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6176
6269
  eventId: string;
6177
6270
  };
6178
6271
  };
6272
+ timestampMs: number;
6179
6273
  }, {
6180
6274
  kind: "edge_created";
6181
6275
  v: 1;
@@ -6195,12 +6289,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6195
6289
  eventId: string;
6196
6290
  };
6197
6291
  };
6292
+ timestampMs: number;
6198
6293
  }>, z.ZodObject<{
6199
6294
  v: z.ZodLiteral<1>;
6200
6295
  eventId: z.ZodString;
6201
6296
  eventIndex: z.ZodNumber;
6202
6297
  sessionId: z.ZodString;
6203
6298
  dedupeKey: z.ZodString;
6299
+ timestampMs: z.ZodNumber;
6204
6300
  } & {
6205
6301
  kind: z.ZodLiteral<"advance_recorded">;
6206
6302
  scope: z.ZodObject<{
@@ -6554,6 +6650,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6554
6650
  toNodeId: string;
6555
6651
  };
6556
6652
  };
6653
+ timestampMs: number;
6557
6654
  }, {
6558
6655
  kind: "advance_recorded";
6559
6656
  v: 1;
@@ -6597,12 +6694,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6597
6694
  toNodeId: string;
6598
6695
  };
6599
6696
  };
6697
+ timestampMs: number;
6600
6698
  }>, z.ZodObject<{
6601
6699
  v: z.ZodLiteral<1>;
6602
6700
  eventId: z.ZodString;
6603
6701
  eventIndex: z.ZodNumber;
6604
6702
  sessionId: z.ZodString;
6605
6703
  dedupeKey: z.ZodString;
6704
+ timestampMs: z.ZodNumber;
6606
6705
  } & {
6607
6706
  kind: z.ZodLiteral<"validation_performed">;
6608
6707
  scope: z.ZodObject<{
@@ -6680,6 +6779,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6680
6779
  suggestions: readonly string[];
6681
6780
  };
6682
6781
  };
6782
+ timestampMs: number;
6683
6783
  }, {
6684
6784
  kind: "validation_performed";
6685
6785
  v: 1;
@@ -6701,12 +6801,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6701
6801
  suggestions: readonly string[];
6702
6802
  };
6703
6803
  };
6804
+ timestampMs: number;
6704
6805
  }>, z.ZodObject<{
6705
6806
  v: z.ZodLiteral<1>;
6706
6807
  eventId: z.ZodString;
6707
6808
  eventIndex: z.ZodNumber;
6708
6809
  sessionId: z.ZodString;
6709
6810
  dedupeKey: z.ZodString;
6811
+ timestampMs: z.ZodNumber;
6710
6812
  } & {
6711
6813
  kind: z.ZodLiteral<"node_output_appended">;
6712
6814
  scope: z.ZodObject<{
@@ -6834,6 +6936,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6834
6936
  };
6835
6937
  supersedesOutputId?: string | undefined;
6836
6938
  };
6939
+ timestampMs: number;
6837
6940
  }, {
6838
6941
  kind: "node_output_appended";
6839
6942
  v: 1;
@@ -6860,12 +6963,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6860
6963
  };
6861
6964
  supersedesOutputId?: string | undefined;
6862
6965
  };
6966
+ timestampMs: number;
6863
6967
  }>, z.ZodObject<{
6864
6968
  v: z.ZodLiteral<1>;
6865
6969
  eventId: z.ZodString;
6866
6970
  eventIndex: z.ZodNumber;
6867
6971
  sessionId: z.ZodString;
6868
6972
  dedupeKey: z.ZodString;
6973
+ timestampMs: z.ZodNumber;
6869
6974
  } & {
6870
6975
  kind: z.ZodLiteral<"assessment_recorded">;
6871
6976
  scope: z.ZodObject<{
@@ -6949,6 +7054,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6949
7054
  }[];
6950
7055
  summary?: string | undefined;
6951
7056
  };
7057
+ timestampMs: number;
6952
7058
  }, {
6953
7059
  kind: "assessment_recorded";
6954
7060
  v: 1;
@@ -6973,12 +7079,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
6973
7079
  }[];
6974
7080
  summary?: string | undefined;
6975
7081
  };
7082
+ timestampMs: number;
6976
7083
  }>, z.ZodObject<{
6977
7084
  v: z.ZodLiteral<1>;
6978
7085
  eventId: z.ZodString;
6979
7086
  eventIndex: z.ZodNumber;
6980
7087
  sessionId: z.ZodString;
6981
7088
  dedupeKey: z.ZodString;
7089
+ timestampMs: z.ZodNumber;
6982
7090
  } & {
6983
7091
  kind: z.ZodLiteral<"assessment_consequence_applied">;
6984
7092
  scope: z.ZodObject<{
@@ -7060,6 +7168,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7060
7168
  guidance: string;
7061
7169
  };
7062
7170
  };
7171
+ timestampMs: number;
7063
7172
  }, {
7064
7173
  kind: "assessment_consequence_applied";
7065
7174
  v: 1;
@@ -7083,12 +7192,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7083
7192
  guidance: string;
7084
7193
  };
7085
7194
  };
7195
+ timestampMs: number;
7086
7196
  }>, z.ZodObject<{
7087
7197
  v: z.ZodLiteral<1>;
7088
7198
  eventId: z.ZodString;
7089
7199
  eventIndex: z.ZodNumber;
7090
7200
  sessionId: z.ZodString;
7091
7201
  dedupeKey: z.ZodString;
7202
+ timestampMs: z.ZodNumber;
7092
7203
  } & {
7093
7204
  kind: z.ZodLiteral<"preferences_changed">;
7094
7205
  scope: z.ZodObject<{
@@ -7216,6 +7327,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7216
7327
  riskPolicy: "conservative" | "balanced" | "aggressive";
7217
7328
  };
7218
7329
  };
7330
+ timestampMs: number;
7219
7331
  }, {
7220
7332
  kind: "preferences_changed";
7221
7333
  v: 1;
@@ -7242,12 +7354,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7242
7354
  riskPolicy: "conservative" | "balanced" | "aggressive";
7243
7355
  };
7244
7356
  };
7357
+ timestampMs: number;
7245
7358
  }>, z.ZodObject<{
7246
7359
  v: z.ZodLiteral<1>;
7247
7360
  eventId: z.ZodString;
7248
7361
  eventIndex: z.ZodNumber;
7249
7362
  sessionId: z.ZodString;
7250
7363
  dedupeKey: z.ZodString;
7364
+ timestampMs: z.ZodNumber;
7251
7365
  } & {
7252
7366
  kind: z.ZodLiteral<"capability_observed">;
7253
7367
  scope: z.ZodObject<{
@@ -7509,6 +7623,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7509
7623
  enforcementGrade: "weak";
7510
7624
  };
7511
7625
  };
7626
+ timestampMs: number;
7512
7627
  }, {
7513
7628
  kind: "capability_observed";
7514
7629
  v: 1;
@@ -7549,12 +7664,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7549
7664
  enforcementGrade: "weak";
7550
7665
  };
7551
7666
  };
7667
+ timestampMs: number;
7552
7668
  }>, z.ZodObject<{
7553
7669
  v: z.ZodLiteral<1>;
7554
7670
  eventId: z.ZodString;
7555
7671
  eventIndex: z.ZodNumber;
7556
7672
  sessionId: z.ZodString;
7557
7673
  dedupeKey: z.ZodString;
7674
+ timestampMs: z.ZodNumber;
7558
7675
  } & {
7559
7676
  kind: z.ZodLiteral<"gap_recorded">;
7560
7677
  scope: z.ZodObject<{
@@ -7746,6 +7863,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7746
7863
  outputId: string;
7747
7864
  })[] | undefined;
7748
7865
  };
7866
+ timestampMs: number;
7749
7867
  }, {
7750
7868
  kind: "gap_recorded";
7751
7869
  v: 1;
@@ -7788,12 +7906,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7788
7906
  outputId: string;
7789
7907
  })[] | undefined;
7790
7908
  };
7909
+ timestampMs: number;
7791
7910
  }>, z.ZodObject<{
7792
7911
  v: z.ZodLiteral<1>;
7793
7912
  eventId: z.ZodString;
7794
7913
  eventIndex: z.ZodNumber;
7795
7914
  sessionId: z.ZodString;
7796
7915
  dedupeKey: z.ZodString;
7916
+ timestampMs: z.ZodNumber;
7797
7917
  } & {
7798
7918
  kind: z.ZodLiteral<"context_set">;
7799
7919
  scope: z.ZodObject<{
@@ -7831,6 +7951,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7831
7951
  contextId: string;
7832
7952
  context?: unknown;
7833
7953
  };
7954
+ timestampMs: number;
7834
7955
  }, {
7835
7956
  kind: "context_set";
7836
7957
  v: 1;
@@ -7846,12 +7967,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7846
7967
  contextId: string;
7847
7968
  context?: unknown;
7848
7969
  };
7970
+ timestampMs: number;
7849
7971
  }>, z.ZodObject<{
7850
7972
  v: z.ZodLiteral<1>;
7851
7973
  eventId: z.ZodString;
7852
7974
  eventIndex: z.ZodNumber;
7853
7975
  sessionId: z.ZodString;
7854
7976
  dedupeKey: z.ZodString;
7977
+ timestampMs: z.ZodNumber;
7855
7978
  } & {
7856
7979
  kind: z.ZodLiteral<"divergence_recorded">;
7857
7980
  scope: z.ZodObject<{
@@ -7897,6 +8020,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7897
8020
  divergenceId: string;
7898
8021
  relatedStepId?: string | undefined;
7899
8022
  };
8023
+ timestampMs: number;
7900
8024
  }, {
7901
8025
  kind: "divergence_recorded";
7902
8026
  v: 1;
@@ -7914,12 +8038,14 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
7914
8038
  divergenceId: string;
7915
8039
  relatedStepId?: string | undefined;
7916
8040
  };
8041
+ timestampMs: number;
7917
8042
  }>, z.ZodObject<{
7918
8043
  v: z.ZodLiteral<1>;
7919
8044
  eventId: z.ZodString;
7920
8045
  eventIndex: z.ZodNumber;
7921
8046
  sessionId: z.ZodString;
7922
8047
  dedupeKey: z.ZodString;
8048
+ timestampMs: z.ZodNumber;
7923
8049
  } & {
7924
8050
  kind: z.ZodLiteral<"decision_trace_appended">;
7925
8051
  scope: z.ZodObject<{
@@ -8115,6 +8241,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
8115
8241
  }[];
8116
8242
  traceId: string;
8117
8243
  };
8244
+ timestampMs: number;
8118
8245
  }, {
8119
8246
  kind: "decision_trace_appended";
8120
8247
  v: 1;
@@ -8146,6 +8273,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
8146
8273
  }[];
8147
8274
  traceId: string;
8148
8275
  };
8276
+ timestampMs: number;
8149
8277
  }>]>, "many">;
8150
8278
  manifest: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
8151
8279
  v: z.ZodLiteral<1>;
@@ -10465,6 +10593,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10465
10593
  data: {
10466
10594
  parentSessionId?: string | undefined;
10467
10595
  };
10596
+ timestampMs: number;
10468
10597
  scope?: {
10469
10598
  runId?: string | undefined;
10470
10599
  nodeId?: string | undefined;
@@ -10493,6 +10622,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10493
10622
  key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
10494
10623
  confidence: "low" | "med" | "high";
10495
10624
  };
10625
+ timestampMs: number;
10496
10626
  scope?: undefined;
10497
10627
  } | {
10498
10628
  kind: "run_started";
@@ -10510,6 +10640,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10510
10640
  workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
10511
10641
  workflowSourceRef: string;
10512
10642
  };
10643
+ timestampMs: number;
10513
10644
  } | {
10514
10645
  kind: "node_created";
10515
10646
  v: 1;
@@ -10527,6 +10658,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10527
10658
  parentNodeId: string | null;
10528
10659
  workflowHash: never;
10529
10660
  };
10661
+ timestampMs: number;
10530
10662
  } | {
10531
10663
  kind: "edge_created";
10532
10664
  v: 1;
@@ -10546,6 +10678,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10546
10678
  eventId: string;
10547
10679
  };
10548
10680
  };
10681
+ timestampMs: number;
10549
10682
  } | {
10550
10683
  kind: "advance_recorded";
10551
10684
  v: 1;
@@ -10589,6 +10722,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10589
10722
  toNodeId: string;
10590
10723
  };
10591
10724
  };
10725
+ timestampMs: number;
10592
10726
  } | {
10593
10727
  kind: "validation_performed";
10594
10728
  v: 1;
@@ -10610,6 +10744,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10610
10744
  suggestions: readonly string[];
10611
10745
  };
10612
10746
  };
10747
+ timestampMs: number;
10613
10748
  } | {
10614
10749
  kind: "node_output_appended";
10615
10750
  v: 1;
@@ -10636,6 +10771,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10636
10771
  };
10637
10772
  supersedesOutputId?: string | undefined;
10638
10773
  };
10774
+ timestampMs: number;
10639
10775
  } | {
10640
10776
  kind: "assessment_recorded";
10641
10777
  v: 1;
@@ -10660,6 +10796,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10660
10796
  }[];
10661
10797
  summary?: string | undefined;
10662
10798
  };
10799
+ timestampMs: number;
10663
10800
  } | {
10664
10801
  kind: "assessment_consequence_applied";
10665
10802
  v: 1;
@@ -10683,6 +10820,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10683
10820
  guidance: string;
10684
10821
  };
10685
10822
  };
10823
+ timestampMs: number;
10686
10824
  } | {
10687
10825
  kind: "preferences_changed";
10688
10826
  v: 1;
@@ -10709,6 +10847,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10709
10847
  riskPolicy: "conservative" | "balanced" | "aggressive";
10710
10848
  };
10711
10849
  };
10850
+ timestampMs: number;
10712
10851
  } | {
10713
10852
  kind: "capability_observed";
10714
10853
  v: 1;
@@ -10749,6 +10888,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10749
10888
  enforcementGrade: "weak";
10750
10889
  };
10751
10890
  };
10891
+ timestampMs: number;
10752
10892
  } | {
10753
10893
  kind: "gap_recorded";
10754
10894
  v: 1;
@@ -10791,6 +10931,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10791
10931
  outputId: string;
10792
10932
  })[] | undefined;
10793
10933
  };
10934
+ timestampMs: number;
10794
10935
  } | {
10795
10936
  kind: "context_set";
10796
10937
  v: 1;
@@ -10806,6 +10947,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10806
10947
  contextId: string;
10807
10948
  context?: unknown;
10808
10949
  };
10950
+ timestampMs: number;
10809
10951
  } | {
10810
10952
  kind: "divergence_recorded";
10811
10953
  v: 1;
@@ -10823,6 +10965,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10823
10965
  divergenceId: string;
10824
10966
  relatedStepId?: string | undefined;
10825
10967
  };
10968
+ timestampMs: number;
10826
10969
  } | {
10827
10970
  kind: "decision_trace_appended";
10828
10971
  v: 1;
@@ -10854,6 +10997,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
10854
10997
  }[];
10855
10998
  traceId: string;
10856
10999
  };
11000
+ timestampMs: number;
10857
11001
  })[];
10858
11002
  manifest: ({
10859
11003
  kind: "segment_closed";
@@ -11043,6 +11187,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11043
11187
  data: {
11044
11188
  parentSessionId?: string | undefined;
11045
11189
  };
11190
+ timestampMs: number;
11046
11191
  scope?: {
11047
11192
  runId?: string | undefined;
11048
11193
  nodeId?: string | undefined;
@@ -11071,6 +11216,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11071
11216
  key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
11072
11217
  confidence: "low" | "med" | "high";
11073
11218
  };
11219
+ timestampMs: number;
11074
11220
  scope?: undefined;
11075
11221
  } | {
11076
11222
  kind: "run_started";
@@ -11088,6 +11234,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11088
11234
  workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
11089
11235
  workflowSourceRef: string;
11090
11236
  };
11237
+ timestampMs: number;
11091
11238
  } | {
11092
11239
  kind: "node_created";
11093
11240
  v: 1;
@@ -11105,6 +11252,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11105
11252
  parentNodeId: string | null;
11106
11253
  workflowHash: string;
11107
11254
  };
11255
+ timestampMs: number;
11108
11256
  } | {
11109
11257
  kind: "edge_created";
11110
11258
  v: 1;
@@ -11124,6 +11272,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11124
11272
  eventId: string;
11125
11273
  };
11126
11274
  };
11275
+ timestampMs: number;
11127
11276
  } | {
11128
11277
  kind: "advance_recorded";
11129
11278
  v: 1;
@@ -11167,6 +11316,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11167
11316
  toNodeId: string;
11168
11317
  };
11169
11318
  };
11319
+ timestampMs: number;
11170
11320
  } | {
11171
11321
  kind: "validation_performed";
11172
11322
  v: 1;
@@ -11188,6 +11338,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11188
11338
  suggestions: readonly string[];
11189
11339
  };
11190
11340
  };
11341
+ timestampMs: number;
11191
11342
  } | {
11192
11343
  kind: "node_output_appended";
11193
11344
  v: 1;
@@ -11214,6 +11365,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11214
11365
  };
11215
11366
  supersedesOutputId?: string | undefined;
11216
11367
  };
11368
+ timestampMs: number;
11217
11369
  } | {
11218
11370
  kind: "assessment_recorded";
11219
11371
  v: 1;
@@ -11238,6 +11390,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11238
11390
  }[];
11239
11391
  summary?: string | undefined;
11240
11392
  };
11393
+ timestampMs: number;
11241
11394
  } | {
11242
11395
  kind: "assessment_consequence_applied";
11243
11396
  v: 1;
@@ -11261,6 +11414,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11261
11414
  guidance: string;
11262
11415
  };
11263
11416
  };
11417
+ timestampMs: number;
11264
11418
  } | {
11265
11419
  kind: "preferences_changed";
11266
11420
  v: 1;
@@ -11287,6 +11441,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11287
11441
  riskPolicy: "conservative" | "balanced" | "aggressive";
11288
11442
  };
11289
11443
  };
11444
+ timestampMs: number;
11290
11445
  } | {
11291
11446
  kind: "capability_observed";
11292
11447
  v: 1;
@@ -11327,6 +11482,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11327
11482
  enforcementGrade: "weak";
11328
11483
  };
11329
11484
  };
11485
+ timestampMs: number;
11330
11486
  } | {
11331
11487
  kind: "gap_recorded";
11332
11488
  v: 1;
@@ -11369,6 +11525,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11369
11525
  outputId: string;
11370
11526
  })[] | undefined;
11371
11527
  };
11528
+ timestampMs: number;
11372
11529
  } | {
11373
11530
  kind: "context_set";
11374
11531
  v: 1;
@@ -11384,6 +11541,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11384
11541
  contextId: string;
11385
11542
  context?: unknown;
11386
11543
  };
11544
+ timestampMs: number;
11387
11545
  } | {
11388
11546
  kind: "divergence_recorded";
11389
11547
  v: 1;
@@ -11401,6 +11559,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11401
11559
  divergenceId: string;
11402
11560
  relatedStepId?: string | undefined;
11403
11561
  };
11562
+ timestampMs: number;
11404
11563
  } | {
11405
11564
  kind: "decision_trace_appended";
11406
11565
  v: 1;
@@ -11432,6 +11591,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11432
11591
  }[];
11433
11592
  traceId: string;
11434
11593
  };
11594
+ timestampMs: number;
11435
11595
  })[];
11436
11596
  manifest: ({
11437
11597
  kind: "segment_closed";
@@ -11650,6 +11810,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11650
11810
  data: {
11651
11811
  parentSessionId?: string | undefined;
11652
11812
  };
11813
+ timestampMs: number;
11653
11814
  scope?: {
11654
11815
  runId?: string | undefined;
11655
11816
  nodeId?: string | undefined;
@@ -11678,6 +11839,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11678
11839
  key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
11679
11840
  confidence: "low" | "med" | "high";
11680
11841
  };
11842
+ timestampMs: number;
11681
11843
  scope?: undefined;
11682
11844
  } | {
11683
11845
  kind: "run_started";
@@ -11695,6 +11857,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11695
11857
  workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
11696
11858
  workflowSourceRef: string;
11697
11859
  };
11860
+ timestampMs: number;
11698
11861
  } | {
11699
11862
  kind: "node_created";
11700
11863
  v: 1;
@@ -11712,6 +11875,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11712
11875
  parentNodeId: string | null;
11713
11876
  workflowHash: never;
11714
11877
  };
11878
+ timestampMs: number;
11715
11879
  } | {
11716
11880
  kind: "edge_created";
11717
11881
  v: 1;
@@ -11731,6 +11895,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11731
11895
  eventId: string;
11732
11896
  };
11733
11897
  };
11898
+ timestampMs: number;
11734
11899
  } | {
11735
11900
  kind: "advance_recorded";
11736
11901
  v: 1;
@@ -11774,6 +11939,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11774
11939
  toNodeId: string;
11775
11940
  };
11776
11941
  };
11942
+ timestampMs: number;
11777
11943
  } | {
11778
11944
  kind: "validation_performed";
11779
11945
  v: 1;
@@ -11795,6 +11961,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11795
11961
  suggestions: readonly string[];
11796
11962
  };
11797
11963
  };
11964
+ timestampMs: number;
11798
11965
  } | {
11799
11966
  kind: "node_output_appended";
11800
11967
  v: 1;
@@ -11821,6 +11988,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11821
11988
  };
11822
11989
  supersedesOutputId?: string | undefined;
11823
11990
  };
11991
+ timestampMs: number;
11824
11992
  } | {
11825
11993
  kind: "assessment_recorded";
11826
11994
  v: 1;
@@ -11845,6 +12013,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11845
12013
  }[];
11846
12014
  summary?: string | undefined;
11847
12015
  };
12016
+ timestampMs: number;
11848
12017
  } | {
11849
12018
  kind: "assessment_consequence_applied";
11850
12019
  v: 1;
@@ -11868,6 +12037,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11868
12037
  guidance: string;
11869
12038
  };
11870
12039
  };
12040
+ timestampMs: number;
11871
12041
  } | {
11872
12042
  kind: "preferences_changed";
11873
12043
  v: 1;
@@ -11894,6 +12064,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11894
12064
  riskPolicy: "conservative" | "balanced" | "aggressive";
11895
12065
  };
11896
12066
  };
12067
+ timestampMs: number;
11897
12068
  } | {
11898
12069
  kind: "capability_observed";
11899
12070
  v: 1;
@@ -11934,6 +12105,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11934
12105
  enforcementGrade: "weak";
11935
12106
  };
11936
12107
  };
12108
+ timestampMs: number;
11937
12109
  } | {
11938
12110
  kind: "gap_recorded";
11939
12111
  v: 1;
@@ -11976,6 +12148,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11976
12148
  outputId: string;
11977
12149
  })[] | undefined;
11978
12150
  };
12151
+ timestampMs: number;
11979
12152
  } | {
11980
12153
  kind: "context_set";
11981
12154
  v: 1;
@@ -11991,6 +12164,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
11991
12164
  contextId: string;
11992
12165
  context?: unknown;
11993
12166
  };
12167
+ timestampMs: number;
11994
12168
  } | {
11995
12169
  kind: "divergence_recorded";
11996
12170
  v: 1;
@@ -12008,6 +12182,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12008
12182
  divergenceId: string;
12009
12183
  relatedStepId?: string | undefined;
12010
12184
  };
12185
+ timestampMs: number;
12011
12186
  } | {
12012
12187
  kind: "decision_trace_appended";
12013
12188
  v: 1;
@@ -12039,6 +12214,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12039
12214
  }[];
12040
12215
  traceId: string;
12041
12216
  };
12217
+ timestampMs: number;
12042
12218
  })[];
12043
12219
  manifest: ({
12044
12220
  kind: "segment_closed";
@@ -12245,6 +12421,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12245
12421
  data: {
12246
12422
  parentSessionId?: string | undefined;
12247
12423
  };
12424
+ timestampMs: number;
12248
12425
  scope?: {
12249
12426
  runId?: string | undefined;
12250
12427
  nodeId?: string | undefined;
@@ -12273,6 +12450,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12273
12450
  key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
12274
12451
  confidence: "low" | "med" | "high";
12275
12452
  };
12453
+ timestampMs: number;
12276
12454
  scope?: undefined;
12277
12455
  } | {
12278
12456
  kind: "run_started";
@@ -12290,6 +12468,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12290
12468
  workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
12291
12469
  workflowSourceRef: string;
12292
12470
  };
12471
+ timestampMs: number;
12293
12472
  } | {
12294
12473
  kind: "node_created";
12295
12474
  v: 1;
@@ -12307,6 +12486,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12307
12486
  parentNodeId: string | null;
12308
12487
  workflowHash: string;
12309
12488
  };
12489
+ timestampMs: number;
12310
12490
  } | {
12311
12491
  kind: "edge_created";
12312
12492
  v: 1;
@@ -12326,6 +12506,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12326
12506
  eventId: string;
12327
12507
  };
12328
12508
  };
12509
+ timestampMs: number;
12329
12510
  } | {
12330
12511
  kind: "advance_recorded";
12331
12512
  v: 1;
@@ -12369,6 +12550,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12369
12550
  toNodeId: string;
12370
12551
  };
12371
12552
  };
12553
+ timestampMs: number;
12372
12554
  } | {
12373
12555
  kind: "validation_performed";
12374
12556
  v: 1;
@@ -12390,6 +12572,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12390
12572
  suggestions: readonly string[];
12391
12573
  };
12392
12574
  };
12575
+ timestampMs: number;
12393
12576
  } | {
12394
12577
  kind: "node_output_appended";
12395
12578
  v: 1;
@@ -12416,6 +12599,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12416
12599
  };
12417
12600
  supersedesOutputId?: string | undefined;
12418
12601
  };
12602
+ timestampMs: number;
12419
12603
  } | {
12420
12604
  kind: "assessment_recorded";
12421
12605
  v: 1;
@@ -12440,6 +12624,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12440
12624
  }[];
12441
12625
  summary?: string | undefined;
12442
12626
  };
12627
+ timestampMs: number;
12443
12628
  } | {
12444
12629
  kind: "assessment_consequence_applied";
12445
12630
  v: 1;
@@ -12463,6 +12648,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12463
12648
  guidance: string;
12464
12649
  };
12465
12650
  };
12651
+ timestampMs: number;
12466
12652
  } | {
12467
12653
  kind: "preferences_changed";
12468
12654
  v: 1;
@@ -12489,6 +12675,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12489
12675
  riskPolicy: "conservative" | "balanced" | "aggressive";
12490
12676
  };
12491
12677
  };
12678
+ timestampMs: number;
12492
12679
  } | {
12493
12680
  kind: "capability_observed";
12494
12681
  v: 1;
@@ -12529,6 +12716,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12529
12716
  enforcementGrade: "weak";
12530
12717
  };
12531
12718
  };
12719
+ timestampMs: number;
12532
12720
  } | {
12533
12721
  kind: "gap_recorded";
12534
12722
  v: 1;
@@ -12571,6 +12759,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12571
12759
  outputId: string;
12572
12760
  })[] | undefined;
12573
12761
  };
12762
+ timestampMs: number;
12574
12763
  } | {
12575
12764
  kind: "context_set";
12576
12765
  v: 1;
@@ -12586,6 +12775,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12586
12775
  contextId: string;
12587
12776
  context?: unknown;
12588
12777
  };
12778
+ timestampMs: number;
12589
12779
  } | {
12590
12780
  kind: "divergence_recorded";
12591
12781
  v: 1;
@@ -12603,6 +12793,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12603
12793
  divergenceId: string;
12604
12794
  relatedStepId?: string | undefined;
12605
12795
  };
12796
+ timestampMs: number;
12606
12797
  } | {
12607
12798
  kind: "decision_trace_appended";
12608
12799
  v: 1;
@@ -12634,6 +12825,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
12634
12825
  }[];
12635
12826
  traceId: string;
12636
12827
  };
12828
+ timestampMs: number;
12637
12829
  })[];
12638
12830
  manifest: ({
12639
12831
  kind: "segment_closed";