@runfile-ai/schemas 0.2.0 → 0.4.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.
package/dist/ingest.d.ts CHANGED
@@ -13,15 +13,18 @@ export declare const PayloadSubmissionSchema: z.ZodObject<{
13
13
  encryption: z.ZodObject<{
14
14
  algorithm: z.ZodLiteral<"aes-256-gcm">;
15
15
  data_key_wrapped: z.ZodString;
16
- kms_key_arn: z.ZodOptional<z.ZodString>;
16
+ key_id: z.ZodOptional<z.ZodString>;
17
+ nonce: z.ZodString;
17
18
  }, "strict", z.ZodTypeAny, {
18
19
  algorithm: "aes-256-gcm";
19
20
  data_key_wrapped: string;
20
- kms_key_arn?: string | undefined;
21
+ nonce: string;
22
+ key_id?: string | undefined;
21
23
  }, {
22
24
  algorithm: "aes-256-gcm";
23
25
  data_key_wrapped: string;
24
- kms_key_arn?: string | undefined;
26
+ nonce: string;
27
+ key_id?: string | undefined;
25
28
  }>;
26
29
  content_type: z.ZodOptional<z.ZodEnum<["application/json", "text/plain", "application/vnd.runfile.llm-request+json", "application/vnd.runfile.llm-response+json", "application/vnd.runfile.tool-call+json", "application/vnd.runfile.tool-result+json", "application/vnd.runfile.state-snapshot+json", "application/vnd.runfile.framework-signal+json"]>>;
27
30
  redaction_applied: z.ZodOptional<z.ZodObject<{
@@ -44,7 +47,8 @@ export declare const PayloadSubmissionSchema: z.ZodObject<{
44
47
  encryption: {
45
48
  algorithm: "aes-256-gcm";
46
49
  data_key_wrapped: string;
47
- kms_key_arn?: string | undefined;
50
+ nonce: string;
51
+ key_id?: string | undefined;
48
52
  };
49
53
  ciphertext_base64: string;
50
54
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -60,7 +64,8 @@ export declare const PayloadSubmissionSchema: z.ZodObject<{
60
64
  encryption: {
61
65
  algorithm: "aes-256-gcm";
62
66
  data_key_wrapped: string;
63
- kms_key_arn?: string | undefined;
67
+ nonce: string;
68
+ key_id?: string | undefined;
64
69
  };
65
70
  ciphertext_base64: string;
66
71
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -265,6 +270,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
265
270
  run_id: z.ZodString;
266
271
  parent_event_id: z.ZodNullable<z.ZodString>;
267
272
  parallel_group_id: z.ZodOptional<z.ZodString>;
273
+ segment_index: z.ZodNumber;
274
+ local_seq: z.ZodNumber;
268
275
  captured_at: z.ZodString;
269
276
  wall_clock_source: z.ZodEnum<["aws_time_sync", "ntp", "host_system", "unknown"]>;
270
277
  sdk: z.ZodObject<{
@@ -501,15 +508,18 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
501
508
  encryption: z.ZodObject<{
502
509
  algorithm: z.ZodLiteral<"aes-256-gcm">;
503
510
  data_key_wrapped: z.ZodString;
504
- kms_key_arn: z.ZodOptional<z.ZodString>;
511
+ key_id: z.ZodOptional<z.ZodString>;
512
+ nonce: z.ZodString;
505
513
  }, "strict", z.ZodTypeAny, {
506
514
  algorithm: "aes-256-gcm";
507
515
  data_key_wrapped: string;
508
- kms_key_arn?: string | undefined;
516
+ nonce: string;
517
+ key_id?: string | undefined;
509
518
  }, {
510
519
  algorithm: "aes-256-gcm";
511
520
  data_key_wrapped: string;
512
- kms_key_arn?: string | undefined;
521
+ nonce: string;
522
+ key_id?: string | undefined;
513
523
  }>;
514
524
  content_type: z.ZodOptional<z.ZodEnum<["application/json", "text/plain", "application/vnd.runfile.llm-request+json", "application/vnd.runfile.llm-response+json", "application/vnd.runfile.tool-call+json", "application/vnd.runfile.tool-result+json", "application/vnd.runfile.state-snapshot+json", "application/vnd.runfile.framework-signal+json"]>>;
515
525
  redaction_applied: z.ZodOptional<z.ZodObject<{
@@ -532,7 +542,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
532
542
  encryption: {
533
543
  algorithm: "aes-256-gcm";
534
544
  data_key_wrapped: string;
535
- kms_key_arn?: string | undefined;
545
+ nonce: string;
546
+ key_id?: string | undefined;
536
547
  };
537
548
  ciphertext_base64: string;
538
549
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -548,7 +559,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
548
559
  encryption: {
549
560
  algorithm: "aes-256-gcm";
550
561
  data_key_wrapped: string;
551
- kms_key_arn?: string | undefined;
562
+ nonce: string;
563
+ key_id?: string | undefined;
552
564
  };
553
565
  ciphertext_base64: string;
554
566
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -623,15 +635,15 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
623
635
  redaction_policy_version: z.ZodString;
624
636
  regulatory_scope_version: z.ZodOptional<z.ZodString>;
625
637
  anomaly_flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
626
- code: z.ZodEnum<["missing_ambient_context", "chain_break", "out_of_order_arrival", "model_version_drift", "unknown_agent_identity", "data_classification_mismatch", "policy_threshold_without_hitl", "unauthorized_tool_invocation", "redaction_policy_mismatch", "schema_version_warning", "agent_identity_mismatch_with_run", "suspension_sla_exceeded", "apparent_crash_detected", "active_duration_exceeds_threshold", "framework_signal_unrecognised", "otel_attribute_missing", "delegation_loop_detected"]>;
638
+ code: z.ZodEnum<["missing_ambient_context", "chain_break", "sequence_gap", "causality_violation", "out_of_order_arrival", "model_version_drift", "unknown_agent_identity", "data_classification_mismatch", "policy_threshold_without_hitl", "unauthorized_tool_invocation", "redaction_policy_mismatch", "schema_version_warning", "agent_identity_mismatch_with_run", "suspension_sla_exceeded", "apparent_crash_detected", "active_duration_exceeds_threshold", "framework_signal_unrecognised", "otel_attribute_missing", "delegation_loop_detected"]>;
627
639
  severity: z.ZodEnum<["info", "warning", "error", "critical"]>;
628
640
  detail: z.ZodOptional<z.ZodString>;
629
641
  }, "strict", z.ZodTypeAny, {
630
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
642
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
631
643
  severity: "info" | "warning" | "error" | "critical";
632
644
  detail?: string | undefined;
633
645
  }, {
634
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
646
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
635
647
  severity: "info" | "warning" | "error" | "critical";
636
648
  detail?: string | undefined;
637
649
  }>, "many">>;
@@ -644,6 +656,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
644
656
  schema_version: string;
645
657
  redaction_policy_version: string;
646
658
  parent_event_id: string | null;
659
+ segment_index: number;
660
+ local_seq: number;
647
661
  captured_at: string;
648
662
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
649
663
  sdk: {
@@ -732,7 +746,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
732
746
  encryption: {
733
747
  algorithm: "aes-256-gcm";
734
748
  data_key_wrapped: string;
735
- kms_key_arn?: string | undefined;
749
+ nonce: string;
750
+ key_id?: string | undefined;
736
751
  };
737
752
  ciphertext_base64: string;
738
753
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -765,7 +780,7 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
765
780
  extra?: Record<string, string | number | boolean> | undefined;
766
781
  } | undefined;
767
782
  anomaly_flags?: {
768
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
783
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
769
784
  severity: "info" | "warning" | "error" | "critical";
770
785
  detail?: string | undefined;
771
786
  }[] | undefined;
@@ -775,6 +790,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
775
790
  schema_version: string;
776
791
  redaction_policy_version: string;
777
792
  parent_event_id: string | null;
793
+ segment_index: number;
794
+ local_seq: number;
778
795
  captured_at: string;
779
796
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
780
797
  sdk: {
@@ -863,7 +880,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
863
880
  encryption: {
864
881
  algorithm: "aes-256-gcm";
865
882
  data_key_wrapped: string;
866
- kms_key_arn?: string | undefined;
883
+ nonce: string;
884
+ key_id?: string | undefined;
867
885
  };
868
886
  ciphertext_base64: string;
869
887
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -896,7 +914,7 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
896
914
  extra?: Record<string, string | number | boolean> | undefined;
897
915
  } | undefined;
898
916
  anomaly_flags?: {
899
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
917
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
900
918
  severity: "info" | "warning" | "error" | "critical";
901
919
  detail?: string | undefined;
902
920
  }[] | undefined;
@@ -906,6 +924,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
906
924
  schema_version: string;
907
925
  redaction_policy_version: string;
908
926
  parent_event_id: string | null;
927
+ segment_index: number;
928
+ local_seq: number;
909
929
  captured_at: string;
910
930
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
911
931
  sdk: {
@@ -994,7 +1014,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
994
1014
  encryption: {
995
1015
  algorithm: "aes-256-gcm";
996
1016
  data_key_wrapped: string;
997
- kms_key_arn?: string | undefined;
1017
+ nonce: string;
1018
+ key_id?: string | undefined;
998
1019
  };
999
1020
  ciphertext_base64: string;
1000
1021
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -1027,7 +1048,7 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
1027
1048
  extra?: Record<string, string | number | boolean> | undefined;
1028
1049
  } | undefined;
1029
1050
  anomaly_flags?: {
1030
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
1051
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
1031
1052
  severity: "info" | "warning" | "error" | "critical";
1032
1053
  detail?: string | undefined;
1033
1054
  }[] | undefined;
@@ -1037,6 +1058,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
1037
1058
  schema_version: string;
1038
1059
  redaction_policy_version: string;
1039
1060
  parent_event_id: string | null;
1061
+ segment_index: number;
1062
+ local_seq: number;
1040
1063
  captured_at: string;
1041
1064
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
1042
1065
  sdk: {
@@ -1125,7 +1148,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
1125
1148
  encryption: {
1126
1149
  algorithm: "aes-256-gcm";
1127
1150
  data_key_wrapped: string;
1128
- kms_key_arn?: string | undefined;
1151
+ nonce: string;
1152
+ key_id?: string | undefined;
1129
1153
  };
1130
1154
  ciphertext_base64: string;
1131
1155
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -1158,7 +1182,7 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
1158
1182
  extra?: Record<string, string | number | boolean> | undefined;
1159
1183
  } | undefined;
1160
1184
  anomaly_flags?: {
1161
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
1185
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
1162
1186
  severity: "info" | "warning" | "error" | "critical";
1163
1187
  detail?: string | undefined;
1164
1188
  }[] | undefined;
@@ -1464,6 +1488,8 @@ export declare const EventItemSchema: z.ZodObject<{
1464
1488
  run_id: z.ZodString;
1465
1489
  parent_event_id: z.ZodNullable<z.ZodString>;
1466
1490
  parallel_group_id: z.ZodOptional<z.ZodString>;
1491
+ segment_index: z.ZodNumber;
1492
+ local_seq: z.ZodNumber;
1467
1493
  captured_at: z.ZodString;
1468
1494
  wall_clock_source: z.ZodEnum<["aws_time_sync", "ntp", "host_system", "unknown"]>;
1469
1495
  sdk: z.ZodObject<{
@@ -1700,15 +1726,18 @@ export declare const EventItemSchema: z.ZodObject<{
1700
1726
  encryption: z.ZodObject<{
1701
1727
  algorithm: z.ZodLiteral<"aes-256-gcm">;
1702
1728
  data_key_wrapped: z.ZodString;
1703
- kms_key_arn: z.ZodOptional<z.ZodString>;
1729
+ key_id: z.ZodOptional<z.ZodString>;
1730
+ nonce: z.ZodString;
1704
1731
  }, "strict", z.ZodTypeAny, {
1705
1732
  algorithm: "aes-256-gcm";
1706
1733
  data_key_wrapped: string;
1707
- kms_key_arn?: string | undefined;
1734
+ nonce: string;
1735
+ key_id?: string | undefined;
1708
1736
  }, {
1709
1737
  algorithm: "aes-256-gcm";
1710
1738
  data_key_wrapped: string;
1711
- kms_key_arn?: string | undefined;
1739
+ nonce: string;
1740
+ key_id?: string | undefined;
1712
1741
  }>;
1713
1742
  content_type: z.ZodOptional<z.ZodEnum<["application/json", "text/plain", "application/vnd.runfile.llm-request+json", "application/vnd.runfile.llm-response+json", "application/vnd.runfile.tool-call+json", "application/vnd.runfile.tool-result+json", "application/vnd.runfile.state-snapshot+json", "application/vnd.runfile.framework-signal+json"]>>;
1714
1743
  redaction_applied: z.ZodOptional<z.ZodObject<{
@@ -1731,7 +1760,8 @@ export declare const EventItemSchema: z.ZodObject<{
1731
1760
  encryption: {
1732
1761
  algorithm: "aes-256-gcm";
1733
1762
  data_key_wrapped: string;
1734
- kms_key_arn?: string | undefined;
1763
+ nonce: string;
1764
+ key_id?: string | undefined;
1735
1765
  };
1736
1766
  ciphertext_base64: string;
1737
1767
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -1747,7 +1777,8 @@ export declare const EventItemSchema: z.ZodObject<{
1747
1777
  encryption: {
1748
1778
  algorithm: "aes-256-gcm";
1749
1779
  data_key_wrapped: string;
1750
- kms_key_arn?: string | undefined;
1780
+ nonce: string;
1781
+ key_id?: string | undefined;
1751
1782
  };
1752
1783
  ciphertext_base64: string;
1753
1784
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -1822,15 +1853,15 @@ export declare const EventItemSchema: z.ZodObject<{
1822
1853
  redaction_policy_version: z.ZodString;
1823
1854
  regulatory_scope_version: z.ZodOptional<z.ZodString>;
1824
1855
  anomaly_flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
1825
- code: z.ZodEnum<["missing_ambient_context", "chain_break", "out_of_order_arrival", "model_version_drift", "unknown_agent_identity", "data_classification_mismatch", "policy_threshold_without_hitl", "unauthorized_tool_invocation", "redaction_policy_mismatch", "schema_version_warning", "agent_identity_mismatch_with_run", "suspension_sla_exceeded", "apparent_crash_detected", "active_duration_exceeds_threshold", "framework_signal_unrecognised", "otel_attribute_missing", "delegation_loop_detected"]>;
1856
+ code: z.ZodEnum<["missing_ambient_context", "chain_break", "sequence_gap", "causality_violation", "out_of_order_arrival", "model_version_drift", "unknown_agent_identity", "data_classification_mismatch", "policy_threshold_without_hitl", "unauthorized_tool_invocation", "redaction_policy_mismatch", "schema_version_warning", "agent_identity_mismatch_with_run", "suspension_sla_exceeded", "apparent_crash_detected", "active_duration_exceeds_threshold", "framework_signal_unrecognised", "otel_attribute_missing", "delegation_loop_detected"]>;
1826
1857
  severity: z.ZodEnum<["info", "warning", "error", "critical"]>;
1827
1858
  detail: z.ZodOptional<z.ZodString>;
1828
1859
  }, "strict", z.ZodTypeAny, {
1829
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
1860
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
1830
1861
  severity: "info" | "warning" | "error" | "critical";
1831
1862
  detail?: string | undefined;
1832
1863
  }, {
1833
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
1864
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
1834
1865
  severity: "info" | "warning" | "error" | "critical";
1835
1866
  detail?: string | undefined;
1836
1867
  }>, "many">>;
@@ -1843,6 +1874,8 @@ export declare const EventItemSchema: z.ZodObject<{
1843
1874
  schema_version: string;
1844
1875
  redaction_policy_version: string;
1845
1876
  parent_event_id: string | null;
1877
+ segment_index: number;
1878
+ local_seq: number;
1846
1879
  captured_at: string;
1847
1880
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
1848
1881
  sdk: {
@@ -1931,7 +1964,8 @@ export declare const EventItemSchema: z.ZodObject<{
1931
1964
  encryption: {
1932
1965
  algorithm: "aes-256-gcm";
1933
1966
  data_key_wrapped: string;
1934
- kms_key_arn?: string | undefined;
1967
+ nonce: string;
1968
+ key_id?: string | undefined;
1935
1969
  };
1936
1970
  ciphertext_base64: string;
1937
1971
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -1964,7 +1998,7 @@ export declare const EventItemSchema: z.ZodObject<{
1964
1998
  extra?: Record<string, string | number | boolean> | undefined;
1965
1999
  } | undefined;
1966
2000
  anomaly_flags?: {
1967
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
2001
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
1968
2002
  severity: "info" | "warning" | "error" | "critical";
1969
2003
  detail?: string | undefined;
1970
2004
  }[] | undefined;
@@ -1974,6 +2008,8 @@ export declare const EventItemSchema: z.ZodObject<{
1974
2008
  schema_version: string;
1975
2009
  redaction_policy_version: string;
1976
2010
  parent_event_id: string | null;
2011
+ segment_index: number;
2012
+ local_seq: number;
1977
2013
  captured_at: string;
1978
2014
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
1979
2015
  sdk: {
@@ -2062,7 +2098,8 @@ export declare const EventItemSchema: z.ZodObject<{
2062
2098
  encryption: {
2063
2099
  algorithm: "aes-256-gcm";
2064
2100
  data_key_wrapped: string;
2065
- kms_key_arn?: string | undefined;
2101
+ nonce: string;
2102
+ key_id?: string | undefined;
2066
2103
  };
2067
2104
  ciphertext_base64: string;
2068
2105
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -2095,7 +2132,7 @@ export declare const EventItemSchema: z.ZodObject<{
2095
2132
  extra?: Record<string, string | number | boolean> | undefined;
2096
2133
  } | undefined;
2097
2134
  anomaly_flags?: {
2098
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
2135
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
2099
2136
  severity: "info" | "warning" | "error" | "critical";
2100
2137
  detail?: string | undefined;
2101
2138
  }[] | undefined;
@@ -2105,6 +2142,8 @@ export declare const EventItemSchema: z.ZodObject<{
2105
2142
  schema_version: string;
2106
2143
  redaction_policy_version: string;
2107
2144
  parent_event_id: string | null;
2145
+ segment_index: number;
2146
+ local_seq: number;
2108
2147
  captured_at: string;
2109
2148
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
2110
2149
  sdk: {
@@ -2193,7 +2232,8 @@ export declare const EventItemSchema: z.ZodObject<{
2193
2232
  encryption: {
2194
2233
  algorithm: "aes-256-gcm";
2195
2234
  data_key_wrapped: string;
2196
- kms_key_arn?: string | undefined;
2235
+ nonce: string;
2236
+ key_id?: string | undefined;
2197
2237
  };
2198
2238
  ciphertext_base64: string;
2199
2239
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -2226,7 +2266,7 @@ export declare const EventItemSchema: z.ZodObject<{
2226
2266
  extra?: Record<string, string | number | boolean> | undefined;
2227
2267
  } | undefined;
2228
2268
  anomaly_flags?: {
2229
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
2269
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
2230
2270
  severity: "info" | "warning" | "error" | "critical";
2231
2271
  detail?: string | undefined;
2232
2272
  }[] | undefined;
@@ -2236,6 +2276,8 @@ export declare const EventItemSchema: z.ZodObject<{
2236
2276
  schema_version: string;
2237
2277
  redaction_policy_version: string;
2238
2278
  parent_event_id: string | null;
2279
+ segment_index: number;
2280
+ local_seq: number;
2239
2281
  captured_at: string;
2240
2282
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
2241
2283
  sdk: {
@@ -2324,7 +2366,8 @@ export declare const EventItemSchema: z.ZodObject<{
2324
2366
  encryption: {
2325
2367
  algorithm: "aes-256-gcm";
2326
2368
  data_key_wrapped: string;
2327
- kms_key_arn?: string | undefined;
2369
+ nonce: string;
2370
+ key_id?: string | undefined;
2328
2371
  };
2329
2372
  ciphertext_base64: string;
2330
2373
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -2357,7 +2400,7 @@ export declare const EventItemSchema: z.ZodObject<{
2357
2400
  extra?: Record<string, string | number | boolean> | undefined;
2358
2401
  } | undefined;
2359
2402
  anomaly_flags?: {
2360
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
2403
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
2361
2404
  severity: "info" | "warning" | "error" | "critical";
2362
2405
  detail?: string | undefined;
2363
2406
  }[] | undefined;
@@ -2370,6 +2413,8 @@ export declare const EventItemSchema: z.ZodObject<{
2370
2413
  schema_version: string;
2371
2414
  redaction_policy_version: string;
2372
2415
  parent_event_id: string | null;
2416
+ segment_index: number;
2417
+ local_seq: number;
2373
2418
  captured_at: string;
2374
2419
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
2375
2420
  sdk: {
@@ -2458,7 +2503,8 @@ export declare const EventItemSchema: z.ZodObject<{
2458
2503
  encryption: {
2459
2504
  algorithm: "aes-256-gcm";
2460
2505
  data_key_wrapped: string;
2461
- kms_key_arn?: string | undefined;
2506
+ nonce: string;
2507
+ key_id?: string | undefined;
2462
2508
  };
2463
2509
  ciphertext_base64: string;
2464
2510
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -2491,7 +2537,7 @@ export declare const EventItemSchema: z.ZodObject<{
2491
2537
  extra?: Record<string, string | number | boolean> | undefined;
2492
2538
  } | undefined;
2493
2539
  anomaly_flags?: {
2494
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
2540
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
2495
2541
  severity: "info" | "warning" | "error" | "critical";
2496
2542
  detail?: string | undefined;
2497
2543
  }[] | undefined;
@@ -2504,6 +2550,8 @@ export declare const EventItemSchema: z.ZodObject<{
2504
2550
  schema_version: string;
2505
2551
  redaction_policy_version: string;
2506
2552
  parent_event_id: string | null;
2553
+ segment_index: number;
2554
+ local_seq: number;
2507
2555
  captured_at: string;
2508
2556
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
2509
2557
  sdk: {
@@ -2592,7 +2640,8 @@ export declare const EventItemSchema: z.ZodObject<{
2592
2640
  encryption: {
2593
2641
  algorithm: "aes-256-gcm";
2594
2642
  data_key_wrapped: string;
2595
- kms_key_arn?: string | undefined;
2643
+ nonce: string;
2644
+ key_id?: string | undefined;
2596
2645
  };
2597
2646
  ciphertext_base64: string;
2598
2647
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -2625,7 +2674,7 @@ export declare const EventItemSchema: z.ZodObject<{
2625
2674
  extra?: Record<string, string | number | boolean> | undefined;
2626
2675
  } | undefined;
2627
2676
  anomaly_flags?: {
2628
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
2677
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
2629
2678
  severity: "info" | "warning" | "error" | "critical";
2630
2679
  detail?: string | undefined;
2631
2680
  }[] | undefined;
@@ -2926,6 +2975,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
2926
2975
  run_id: z.ZodString;
2927
2976
  parent_event_id: z.ZodNullable<z.ZodString>;
2928
2977
  parallel_group_id: z.ZodOptional<z.ZodString>;
2978
+ segment_index: z.ZodNumber;
2979
+ local_seq: z.ZodNumber;
2929
2980
  captured_at: z.ZodString;
2930
2981
  wall_clock_source: z.ZodEnum<["aws_time_sync", "ntp", "host_system", "unknown"]>;
2931
2982
  sdk: z.ZodObject<{
@@ -3162,15 +3213,18 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
3162
3213
  encryption: z.ZodObject<{
3163
3214
  algorithm: z.ZodLiteral<"aes-256-gcm">;
3164
3215
  data_key_wrapped: z.ZodString;
3165
- kms_key_arn: z.ZodOptional<z.ZodString>;
3216
+ key_id: z.ZodOptional<z.ZodString>;
3217
+ nonce: z.ZodString;
3166
3218
  }, "strict", z.ZodTypeAny, {
3167
3219
  algorithm: "aes-256-gcm";
3168
3220
  data_key_wrapped: string;
3169
- kms_key_arn?: string | undefined;
3221
+ nonce: string;
3222
+ key_id?: string | undefined;
3170
3223
  }, {
3171
3224
  algorithm: "aes-256-gcm";
3172
3225
  data_key_wrapped: string;
3173
- kms_key_arn?: string | undefined;
3226
+ nonce: string;
3227
+ key_id?: string | undefined;
3174
3228
  }>;
3175
3229
  content_type: z.ZodOptional<z.ZodEnum<["application/json", "text/plain", "application/vnd.runfile.llm-request+json", "application/vnd.runfile.llm-response+json", "application/vnd.runfile.tool-call+json", "application/vnd.runfile.tool-result+json", "application/vnd.runfile.state-snapshot+json", "application/vnd.runfile.framework-signal+json"]>>;
3176
3230
  redaction_applied: z.ZodOptional<z.ZodObject<{
@@ -3193,7 +3247,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
3193
3247
  encryption: {
3194
3248
  algorithm: "aes-256-gcm";
3195
3249
  data_key_wrapped: string;
3196
- kms_key_arn?: string | undefined;
3250
+ nonce: string;
3251
+ key_id?: string | undefined;
3197
3252
  };
3198
3253
  ciphertext_base64: string;
3199
3254
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -3209,7 +3264,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
3209
3264
  encryption: {
3210
3265
  algorithm: "aes-256-gcm";
3211
3266
  data_key_wrapped: string;
3212
- kms_key_arn?: string | undefined;
3267
+ nonce: string;
3268
+ key_id?: string | undefined;
3213
3269
  };
3214
3270
  ciphertext_base64: string;
3215
3271
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -3284,15 +3340,15 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
3284
3340
  redaction_policy_version: z.ZodString;
3285
3341
  regulatory_scope_version: z.ZodOptional<z.ZodString>;
3286
3342
  anomaly_flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
3287
- code: z.ZodEnum<["missing_ambient_context", "chain_break", "out_of_order_arrival", "model_version_drift", "unknown_agent_identity", "data_classification_mismatch", "policy_threshold_without_hitl", "unauthorized_tool_invocation", "redaction_policy_mismatch", "schema_version_warning", "agent_identity_mismatch_with_run", "suspension_sla_exceeded", "apparent_crash_detected", "active_duration_exceeds_threshold", "framework_signal_unrecognised", "otel_attribute_missing", "delegation_loop_detected"]>;
3343
+ code: z.ZodEnum<["missing_ambient_context", "chain_break", "sequence_gap", "causality_violation", "out_of_order_arrival", "model_version_drift", "unknown_agent_identity", "data_classification_mismatch", "policy_threshold_without_hitl", "unauthorized_tool_invocation", "redaction_policy_mismatch", "schema_version_warning", "agent_identity_mismatch_with_run", "suspension_sla_exceeded", "apparent_crash_detected", "active_duration_exceeds_threshold", "framework_signal_unrecognised", "otel_attribute_missing", "delegation_loop_detected"]>;
3288
3344
  severity: z.ZodEnum<["info", "warning", "error", "critical"]>;
3289
3345
  detail: z.ZodOptional<z.ZodString>;
3290
3346
  }, "strict", z.ZodTypeAny, {
3291
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
3347
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
3292
3348
  severity: "info" | "warning" | "error" | "critical";
3293
3349
  detail?: string | undefined;
3294
3350
  }, {
3295
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
3351
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
3296
3352
  severity: "info" | "warning" | "error" | "critical";
3297
3353
  detail?: string | undefined;
3298
3354
  }>, "many">>;
@@ -3305,6 +3361,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
3305
3361
  schema_version: string;
3306
3362
  redaction_policy_version: string;
3307
3363
  parent_event_id: string | null;
3364
+ segment_index: number;
3365
+ local_seq: number;
3308
3366
  captured_at: string;
3309
3367
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
3310
3368
  sdk: {
@@ -3393,7 +3451,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
3393
3451
  encryption: {
3394
3452
  algorithm: "aes-256-gcm";
3395
3453
  data_key_wrapped: string;
3396
- kms_key_arn?: string | undefined;
3454
+ nonce: string;
3455
+ key_id?: string | undefined;
3397
3456
  };
3398
3457
  ciphertext_base64: string;
3399
3458
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -3426,7 +3485,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
3426
3485
  extra?: Record<string, string | number | boolean> | undefined;
3427
3486
  } | undefined;
3428
3487
  anomaly_flags?: {
3429
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
3488
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
3430
3489
  severity: "info" | "warning" | "error" | "critical";
3431
3490
  detail?: string | undefined;
3432
3491
  }[] | undefined;
@@ -3436,6 +3495,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
3436
3495
  schema_version: string;
3437
3496
  redaction_policy_version: string;
3438
3497
  parent_event_id: string | null;
3498
+ segment_index: number;
3499
+ local_seq: number;
3439
3500
  captured_at: string;
3440
3501
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
3441
3502
  sdk: {
@@ -3524,7 +3585,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
3524
3585
  encryption: {
3525
3586
  algorithm: "aes-256-gcm";
3526
3587
  data_key_wrapped: string;
3527
- kms_key_arn?: string | undefined;
3588
+ nonce: string;
3589
+ key_id?: string | undefined;
3528
3590
  };
3529
3591
  ciphertext_base64: string;
3530
3592
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -3557,7 +3619,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
3557
3619
  extra?: Record<string, string | number | boolean> | undefined;
3558
3620
  } | undefined;
3559
3621
  anomaly_flags?: {
3560
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
3622
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
3561
3623
  severity: "info" | "warning" | "error" | "critical";
3562
3624
  detail?: string | undefined;
3563
3625
  }[] | undefined;
@@ -3567,6 +3629,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
3567
3629
  schema_version: string;
3568
3630
  redaction_policy_version: string;
3569
3631
  parent_event_id: string | null;
3632
+ segment_index: number;
3633
+ local_seq: number;
3570
3634
  captured_at: string;
3571
3635
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
3572
3636
  sdk: {
@@ -3655,7 +3719,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
3655
3719
  encryption: {
3656
3720
  algorithm: "aes-256-gcm";
3657
3721
  data_key_wrapped: string;
3658
- kms_key_arn?: string | undefined;
3722
+ nonce: string;
3723
+ key_id?: string | undefined;
3659
3724
  };
3660
3725
  ciphertext_base64: string;
3661
3726
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -3688,7 +3753,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
3688
3753
  extra?: Record<string, string | number | boolean> | undefined;
3689
3754
  } | undefined;
3690
3755
  anomaly_flags?: {
3691
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
3756
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
3692
3757
  severity: "info" | "warning" | "error" | "critical";
3693
3758
  detail?: string | undefined;
3694
3759
  }[] | undefined;
@@ -3698,6 +3763,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
3698
3763
  schema_version: string;
3699
3764
  redaction_policy_version: string;
3700
3765
  parent_event_id: string | null;
3766
+ segment_index: number;
3767
+ local_seq: number;
3701
3768
  captured_at: string;
3702
3769
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
3703
3770
  sdk: {
@@ -3786,7 +3853,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
3786
3853
  encryption: {
3787
3854
  algorithm: "aes-256-gcm";
3788
3855
  data_key_wrapped: string;
3789
- kms_key_arn?: string | undefined;
3856
+ nonce: string;
3857
+ key_id?: string | undefined;
3790
3858
  };
3791
3859
  ciphertext_base64: string;
3792
3860
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -3819,7 +3887,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
3819
3887
  extra?: Record<string, string | number | boolean> | undefined;
3820
3888
  } | undefined;
3821
3889
  anomaly_flags?: {
3822
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
3890
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
3823
3891
  severity: "info" | "warning" | "error" | "critical";
3824
3892
  detail?: string | undefined;
3825
3893
  }[] | undefined;
@@ -3832,6 +3900,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
3832
3900
  schema_version: string;
3833
3901
  redaction_policy_version: string;
3834
3902
  parent_event_id: string | null;
3903
+ segment_index: number;
3904
+ local_seq: number;
3835
3905
  captured_at: string;
3836
3906
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
3837
3907
  sdk: {
@@ -3920,7 +3990,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
3920
3990
  encryption: {
3921
3991
  algorithm: "aes-256-gcm";
3922
3992
  data_key_wrapped: string;
3923
- kms_key_arn?: string | undefined;
3993
+ nonce: string;
3994
+ key_id?: string | undefined;
3924
3995
  };
3925
3996
  ciphertext_base64: string;
3926
3997
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -3953,7 +4024,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
3953
4024
  extra?: Record<string, string | number | boolean> | undefined;
3954
4025
  } | undefined;
3955
4026
  anomaly_flags?: {
3956
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
4027
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
3957
4028
  severity: "info" | "warning" | "error" | "critical";
3958
4029
  detail?: string | undefined;
3959
4030
  }[] | undefined;
@@ -3966,6 +4037,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
3966
4037
  schema_version: string;
3967
4038
  redaction_policy_version: string;
3968
4039
  parent_event_id: string | null;
4040
+ segment_index: number;
4041
+ local_seq: number;
3969
4042
  captured_at: string;
3970
4043
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
3971
4044
  sdk: {
@@ -4054,7 +4127,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
4054
4127
  encryption: {
4055
4128
  algorithm: "aes-256-gcm";
4056
4129
  data_key_wrapped: string;
4057
- kms_key_arn?: string | undefined;
4130
+ nonce: string;
4131
+ key_id?: string | undefined;
4058
4132
  };
4059
4133
  ciphertext_base64: string;
4060
4134
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -4087,7 +4161,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
4087
4161
  extra?: Record<string, string | number | boolean> | undefined;
4088
4162
  } | undefined;
4089
4163
  anomaly_flags?: {
4090
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
4164
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
4091
4165
  severity: "info" | "warning" | "error" | "critical";
4092
4166
  detail?: string | undefined;
4093
4167
  }[] | undefined;
@@ -4390,6 +4464,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
4390
4464
  run_id: z.ZodString;
4391
4465
  parent_event_id: z.ZodNullable<z.ZodString>;
4392
4466
  parallel_group_id: z.ZodOptional<z.ZodString>;
4467
+ segment_index: z.ZodNumber;
4468
+ local_seq: z.ZodNumber;
4393
4469
  captured_at: z.ZodString;
4394
4470
  wall_clock_source: z.ZodEnum<["aws_time_sync", "ntp", "host_system", "unknown"]>;
4395
4471
  sdk: z.ZodObject<{
@@ -4626,15 +4702,18 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
4626
4702
  encryption: z.ZodObject<{
4627
4703
  algorithm: z.ZodLiteral<"aes-256-gcm">;
4628
4704
  data_key_wrapped: z.ZodString;
4629
- kms_key_arn: z.ZodOptional<z.ZodString>;
4705
+ key_id: z.ZodOptional<z.ZodString>;
4706
+ nonce: z.ZodString;
4630
4707
  }, "strict", z.ZodTypeAny, {
4631
4708
  algorithm: "aes-256-gcm";
4632
4709
  data_key_wrapped: string;
4633
- kms_key_arn?: string | undefined;
4710
+ nonce: string;
4711
+ key_id?: string | undefined;
4634
4712
  }, {
4635
4713
  algorithm: "aes-256-gcm";
4636
4714
  data_key_wrapped: string;
4637
- kms_key_arn?: string | undefined;
4715
+ nonce: string;
4716
+ key_id?: string | undefined;
4638
4717
  }>;
4639
4718
  content_type: z.ZodOptional<z.ZodEnum<["application/json", "text/plain", "application/vnd.runfile.llm-request+json", "application/vnd.runfile.llm-response+json", "application/vnd.runfile.tool-call+json", "application/vnd.runfile.tool-result+json", "application/vnd.runfile.state-snapshot+json", "application/vnd.runfile.framework-signal+json"]>>;
4640
4719
  redaction_applied: z.ZodOptional<z.ZodObject<{
@@ -4657,7 +4736,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
4657
4736
  encryption: {
4658
4737
  algorithm: "aes-256-gcm";
4659
4738
  data_key_wrapped: string;
4660
- kms_key_arn?: string | undefined;
4739
+ nonce: string;
4740
+ key_id?: string | undefined;
4661
4741
  };
4662
4742
  ciphertext_base64: string;
4663
4743
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -4673,7 +4753,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
4673
4753
  encryption: {
4674
4754
  algorithm: "aes-256-gcm";
4675
4755
  data_key_wrapped: string;
4676
- kms_key_arn?: string | undefined;
4756
+ nonce: string;
4757
+ key_id?: string | undefined;
4677
4758
  };
4678
4759
  ciphertext_base64: string;
4679
4760
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -4748,15 +4829,15 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
4748
4829
  redaction_policy_version: z.ZodString;
4749
4830
  regulatory_scope_version: z.ZodOptional<z.ZodString>;
4750
4831
  anomaly_flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
4751
- code: z.ZodEnum<["missing_ambient_context", "chain_break", "out_of_order_arrival", "model_version_drift", "unknown_agent_identity", "data_classification_mismatch", "policy_threshold_without_hitl", "unauthorized_tool_invocation", "redaction_policy_mismatch", "schema_version_warning", "agent_identity_mismatch_with_run", "suspension_sla_exceeded", "apparent_crash_detected", "active_duration_exceeds_threshold", "framework_signal_unrecognised", "otel_attribute_missing", "delegation_loop_detected"]>;
4832
+ code: z.ZodEnum<["missing_ambient_context", "chain_break", "sequence_gap", "causality_violation", "out_of_order_arrival", "model_version_drift", "unknown_agent_identity", "data_classification_mismatch", "policy_threshold_without_hitl", "unauthorized_tool_invocation", "redaction_policy_mismatch", "schema_version_warning", "agent_identity_mismatch_with_run", "suspension_sla_exceeded", "apparent_crash_detected", "active_duration_exceeds_threshold", "framework_signal_unrecognised", "otel_attribute_missing", "delegation_loop_detected"]>;
4752
4833
  severity: z.ZodEnum<["info", "warning", "error", "critical"]>;
4753
4834
  detail: z.ZodOptional<z.ZodString>;
4754
4835
  }, "strict", z.ZodTypeAny, {
4755
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
4836
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
4756
4837
  severity: "info" | "warning" | "error" | "critical";
4757
4838
  detail?: string | undefined;
4758
4839
  }, {
4759
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
4840
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
4760
4841
  severity: "info" | "warning" | "error" | "critical";
4761
4842
  detail?: string | undefined;
4762
4843
  }>, "many">>;
@@ -4769,6 +4850,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
4769
4850
  schema_version: string;
4770
4851
  redaction_policy_version: string;
4771
4852
  parent_event_id: string | null;
4853
+ segment_index: number;
4854
+ local_seq: number;
4772
4855
  captured_at: string;
4773
4856
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
4774
4857
  sdk: {
@@ -4857,7 +4940,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
4857
4940
  encryption: {
4858
4941
  algorithm: "aes-256-gcm";
4859
4942
  data_key_wrapped: string;
4860
- kms_key_arn?: string | undefined;
4943
+ nonce: string;
4944
+ key_id?: string | undefined;
4861
4945
  };
4862
4946
  ciphertext_base64: string;
4863
4947
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -4890,7 +4974,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
4890
4974
  extra?: Record<string, string | number | boolean> | undefined;
4891
4975
  } | undefined;
4892
4976
  anomaly_flags?: {
4893
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
4977
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
4894
4978
  severity: "info" | "warning" | "error" | "critical";
4895
4979
  detail?: string | undefined;
4896
4980
  }[] | undefined;
@@ -4900,6 +4984,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
4900
4984
  schema_version: string;
4901
4985
  redaction_policy_version: string;
4902
4986
  parent_event_id: string | null;
4987
+ segment_index: number;
4988
+ local_seq: number;
4903
4989
  captured_at: string;
4904
4990
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
4905
4991
  sdk: {
@@ -4988,7 +5074,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
4988
5074
  encryption: {
4989
5075
  algorithm: "aes-256-gcm";
4990
5076
  data_key_wrapped: string;
4991
- kms_key_arn?: string | undefined;
5077
+ nonce: string;
5078
+ key_id?: string | undefined;
4992
5079
  };
4993
5080
  ciphertext_base64: string;
4994
5081
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -5021,7 +5108,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
5021
5108
  extra?: Record<string, string | number | boolean> | undefined;
5022
5109
  } | undefined;
5023
5110
  anomaly_flags?: {
5024
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
5111
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
5025
5112
  severity: "info" | "warning" | "error" | "critical";
5026
5113
  detail?: string | undefined;
5027
5114
  }[] | undefined;
@@ -5031,6 +5118,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
5031
5118
  schema_version: string;
5032
5119
  redaction_policy_version: string;
5033
5120
  parent_event_id: string | null;
5121
+ segment_index: number;
5122
+ local_seq: number;
5034
5123
  captured_at: string;
5035
5124
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
5036
5125
  sdk: {
@@ -5119,7 +5208,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
5119
5208
  encryption: {
5120
5209
  algorithm: "aes-256-gcm";
5121
5210
  data_key_wrapped: string;
5122
- kms_key_arn?: string | undefined;
5211
+ nonce: string;
5212
+ key_id?: string | undefined;
5123
5213
  };
5124
5214
  ciphertext_base64: string;
5125
5215
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -5152,7 +5242,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
5152
5242
  extra?: Record<string, string | number | boolean> | undefined;
5153
5243
  } | undefined;
5154
5244
  anomaly_flags?: {
5155
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
5245
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
5156
5246
  severity: "info" | "warning" | "error" | "critical";
5157
5247
  detail?: string | undefined;
5158
5248
  }[] | undefined;
@@ -5162,6 +5252,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
5162
5252
  schema_version: string;
5163
5253
  redaction_policy_version: string;
5164
5254
  parent_event_id: string | null;
5255
+ segment_index: number;
5256
+ local_seq: number;
5165
5257
  captured_at: string;
5166
5258
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
5167
5259
  sdk: {
@@ -5250,7 +5342,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
5250
5342
  encryption: {
5251
5343
  algorithm: "aes-256-gcm";
5252
5344
  data_key_wrapped: string;
5253
- kms_key_arn?: string | undefined;
5345
+ nonce: string;
5346
+ key_id?: string | undefined;
5254
5347
  };
5255
5348
  ciphertext_base64: string;
5256
5349
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -5283,7 +5376,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
5283
5376
  extra?: Record<string, string | number | boolean> | undefined;
5284
5377
  } | undefined;
5285
5378
  anomaly_flags?: {
5286
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
5379
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
5287
5380
  severity: "info" | "warning" | "error" | "critical";
5288
5381
  detail?: string | undefined;
5289
5382
  }[] | undefined;
@@ -5296,6 +5389,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
5296
5389
  schema_version: string;
5297
5390
  redaction_policy_version: string;
5298
5391
  parent_event_id: string | null;
5392
+ segment_index: number;
5393
+ local_seq: number;
5299
5394
  captured_at: string;
5300
5395
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
5301
5396
  sdk: {
@@ -5384,7 +5479,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
5384
5479
  encryption: {
5385
5480
  algorithm: "aes-256-gcm";
5386
5481
  data_key_wrapped: string;
5387
- kms_key_arn?: string | undefined;
5482
+ nonce: string;
5483
+ key_id?: string | undefined;
5388
5484
  };
5389
5485
  ciphertext_base64: string;
5390
5486
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -5417,7 +5513,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
5417
5513
  extra?: Record<string, string | number | boolean> | undefined;
5418
5514
  } | undefined;
5419
5515
  anomaly_flags?: {
5420
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
5516
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
5421
5517
  severity: "info" | "warning" | "error" | "critical";
5422
5518
  detail?: string | undefined;
5423
5519
  }[] | undefined;
@@ -5430,6 +5526,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
5430
5526
  schema_version: string;
5431
5527
  redaction_policy_version: string;
5432
5528
  parent_event_id: string | null;
5529
+ segment_index: number;
5530
+ local_seq: number;
5433
5531
  captured_at: string;
5434
5532
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
5435
5533
  sdk: {
@@ -5518,7 +5616,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
5518
5616
  encryption: {
5519
5617
  algorithm: "aes-256-gcm";
5520
5618
  data_key_wrapped: string;
5521
- kms_key_arn?: string | undefined;
5619
+ nonce: string;
5620
+ key_id?: string | undefined;
5522
5621
  };
5523
5622
  ciphertext_base64: string;
5524
5623
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -5551,7 +5650,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
5551
5650
  extra?: Record<string, string | number | boolean> | undefined;
5552
5651
  } | undefined;
5553
5652
  anomaly_flags?: {
5554
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
5653
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
5555
5654
  severity: "info" | "warning" | "error" | "critical";
5556
5655
  detail?: string | undefined;
5557
5656
  }[] | undefined;
@@ -5621,6 +5720,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
5621
5720
  schema_version: string;
5622
5721
  redaction_policy_version: string;
5623
5722
  parent_event_id: string | null;
5723
+ segment_index: number;
5724
+ local_seq: number;
5624
5725
  captured_at: string;
5625
5726
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
5626
5727
  sdk: {
@@ -5709,7 +5810,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
5709
5810
  encryption: {
5710
5811
  algorithm: "aes-256-gcm";
5711
5812
  data_key_wrapped: string;
5712
- kms_key_arn?: string | undefined;
5813
+ nonce: string;
5814
+ key_id?: string | undefined;
5713
5815
  };
5714
5816
  ciphertext_base64: string;
5715
5817
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -5742,7 +5844,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
5742
5844
  extra?: Record<string, string | number | boolean> | undefined;
5743
5845
  } | undefined;
5744
5846
  anomaly_flags?: {
5745
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
5847
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
5746
5848
  severity: "info" | "warning" | "error" | "critical";
5747
5849
  detail?: string | undefined;
5748
5850
  }[] | undefined;
@@ -5812,6 +5914,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
5812
5914
  schema_version: string;
5813
5915
  redaction_policy_version: string;
5814
5916
  parent_event_id: string | null;
5917
+ segment_index: number;
5918
+ local_seq: number;
5815
5919
  captured_at: string;
5816
5920
  wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
5817
5921
  sdk: {
@@ -5900,7 +6004,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
5900
6004
  encryption: {
5901
6005
  algorithm: "aes-256-gcm";
5902
6006
  data_key_wrapped: string;
5903
- kms_key_arn?: string | undefined;
6007
+ nonce: string;
6008
+ key_id?: string | undefined;
5904
6009
  };
5905
6010
  ciphertext_base64: string;
5906
6011
  content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
@@ -5933,7 +6038,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
5933
6038
  extra?: Record<string, string | number | boolean> | undefined;
5934
6039
  } | undefined;
5935
6040
  anomaly_flags?: {
5936
- code: "missing_ambient_context" | "chain_break" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
6041
+ code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
5937
6042
  severity: "info" | "warning" | "error" | "critical";
5938
6043
  detail?: string | undefined;
5939
6044
  }[] | undefined;