@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/event.d.ts +62 -32
- package/dist/event.d.ts.map +1 -1
- package/dist/event.js +21 -8
- package/dist/event.js.map +1 -1
- package/dist/evidence.d.ts +45 -20
- package/dist/evidence.d.ts.map +1 -1
- package/dist/ingest.d.ts +190 -85
- package/dist/ingest.d.ts.map +1 -1
- package/dist/ingest.js +2 -0
- package/dist/ingest.js.map +1 -1
- package/generated/json-schema/event.json +22 -3
- package/generated/json-schema/evidence.json +22 -3
- package/generated/json-schema/ingest.json +20 -3
- package/package.json +1 -1
package/dist/evidence.d.ts
CHANGED
|
@@ -29,6 +29,8 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
29
29
|
run_id: z.ZodString;
|
|
30
30
|
parent_event_id: z.ZodNullable<z.ZodString>;
|
|
31
31
|
parallel_group_id: z.ZodOptional<z.ZodString>;
|
|
32
|
+
segment_index: z.ZodNumber;
|
|
33
|
+
local_seq: z.ZodNumber;
|
|
32
34
|
captured_at: z.ZodString;
|
|
33
35
|
received_at: z.ZodString;
|
|
34
36
|
wall_clock_source: z.ZodEnum<["aws_time_sync", "ntp", "host_system", "unknown"]>;
|
|
@@ -266,15 +268,18 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
266
268
|
encryption: z.ZodObject<{
|
|
267
269
|
algorithm: z.ZodLiteral<"aes-256-gcm">;
|
|
268
270
|
data_key_wrapped: z.ZodString;
|
|
269
|
-
|
|
271
|
+
key_id: z.ZodOptional<z.ZodString>;
|
|
272
|
+
nonce: z.ZodString;
|
|
270
273
|
}, "strict", z.ZodTypeAny, {
|
|
271
274
|
algorithm: "aes-256-gcm";
|
|
272
275
|
data_key_wrapped: string;
|
|
273
|
-
|
|
276
|
+
nonce: string;
|
|
277
|
+
key_id?: string | undefined;
|
|
274
278
|
}, {
|
|
275
279
|
algorithm: "aes-256-gcm";
|
|
276
280
|
data_key_wrapped: string;
|
|
277
|
-
|
|
281
|
+
nonce: string;
|
|
282
|
+
key_id?: string | undefined;
|
|
278
283
|
}>;
|
|
279
284
|
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"]>>;
|
|
280
285
|
redaction_applied: z.ZodOptional<z.ZodObject<{
|
|
@@ -297,7 +302,8 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
297
302
|
encryption: {
|
|
298
303
|
algorithm: "aes-256-gcm";
|
|
299
304
|
data_key_wrapped: string;
|
|
300
|
-
|
|
305
|
+
nonce: string;
|
|
306
|
+
key_id?: string | undefined;
|
|
301
307
|
};
|
|
302
308
|
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;
|
|
303
309
|
redaction_applied?: {
|
|
@@ -312,7 +318,8 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
312
318
|
encryption: {
|
|
313
319
|
algorithm: "aes-256-gcm";
|
|
314
320
|
data_key_wrapped: string;
|
|
315
|
-
|
|
321
|
+
nonce: string;
|
|
322
|
+
key_id?: string | undefined;
|
|
316
323
|
};
|
|
317
324
|
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;
|
|
318
325
|
redaction_applied?: {
|
|
@@ -385,15 +392,15 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
385
392
|
redaction_policy_version: z.ZodString;
|
|
386
393
|
regulatory_scope_version: z.ZodOptional<z.ZodString>;
|
|
387
394
|
anomaly_flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
388
|
-
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"]>;
|
|
395
|
+
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"]>;
|
|
389
396
|
severity: z.ZodEnum<["info", "warning", "error", "critical"]>;
|
|
390
397
|
detail: z.ZodOptional<z.ZodString>;
|
|
391
398
|
}, "strict", z.ZodTypeAny, {
|
|
392
|
-
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";
|
|
399
|
+
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";
|
|
393
400
|
severity: "info" | "warning" | "error" | "critical";
|
|
394
401
|
detail?: string | undefined;
|
|
395
402
|
}, {
|
|
396
|
-
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";
|
|
403
|
+
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";
|
|
397
404
|
severity: "info" | "warning" | "error" | "critical";
|
|
398
405
|
detail?: string | undefined;
|
|
399
406
|
}>, "many">>;
|
|
@@ -422,6 +429,8 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
422
429
|
tenant_id: string;
|
|
423
430
|
redaction_policy_version: string;
|
|
424
431
|
parent_event_id: string | null;
|
|
432
|
+
segment_index: number;
|
|
433
|
+
local_seq: number;
|
|
425
434
|
captured_at: string;
|
|
426
435
|
received_at: string;
|
|
427
436
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
@@ -512,7 +521,8 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
512
521
|
encryption: {
|
|
513
522
|
algorithm: "aes-256-gcm";
|
|
514
523
|
data_key_wrapped: string;
|
|
515
|
-
|
|
524
|
+
nonce: string;
|
|
525
|
+
key_id?: string | undefined;
|
|
516
526
|
};
|
|
517
527
|
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;
|
|
518
528
|
redaction_applied?: {
|
|
@@ -543,7 +553,7 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
543
553
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
544
554
|
} | undefined;
|
|
545
555
|
anomaly_flags?: {
|
|
546
|
-
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";
|
|
556
|
+
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";
|
|
547
557
|
severity: "info" | "warning" | "error" | "critical";
|
|
548
558
|
detail?: string | undefined;
|
|
549
559
|
}[] | undefined;
|
|
@@ -560,6 +570,8 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
560
570
|
tenant_id: string;
|
|
561
571
|
redaction_policy_version: string;
|
|
562
572
|
parent_event_id: string | null;
|
|
573
|
+
segment_index: number;
|
|
574
|
+
local_seq: number;
|
|
563
575
|
captured_at: string;
|
|
564
576
|
received_at: string;
|
|
565
577
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
@@ -650,7 +662,8 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
650
662
|
encryption: {
|
|
651
663
|
algorithm: "aes-256-gcm";
|
|
652
664
|
data_key_wrapped: string;
|
|
653
|
-
|
|
665
|
+
nonce: string;
|
|
666
|
+
key_id?: string | undefined;
|
|
654
667
|
};
|
|
655
668
|
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;
|
|
656
669
|
redaction_applied?: {
|
|
@@ -681,7 +694,7 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
681
694
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
682
695
|
} | undefined;
|
|
683
696
|
anomaly_flags?: {
|
|
684
|
-
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";
|
|
697
|
+
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";
|
|
685
698
|
severity: "info" | "warning" | "error" | "critical";
|
|
686
699
|
detail?: string | undefined;
|
|
687
700
|
}[] | undefined;
|
|
@@ -698,6 +711,8 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
698
711
|
tenant_id: string;
|
|
699
712
|
redaction_policy_version: string;
|
|
700
713
|
parent_event_id: string | null;
|
|
714
|
+
segment_index: number;
|
|
715
|
+
local_seq: number;
|
|
701
716
|
captured_at: string;
|
|
702
717
|
received_at: string;
|
|
703
718
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
@@ -788,7 +803,8 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
788
803
|
encryption: {
|
|
789
804
|
algorithm: "aes-256-gcm";
|
|
790
805
|
data_key_wrapped: string;
|
|
791
|
-
|
|
806
|
+
nonce: string;
|
|
807
|
+
key_id?: string | undefined;
|
|
792
808
|
};
|
|
793
809
|
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;
|
|
794
810
|
redaction_applied?: {
|
|
@@ -819,7 +835,7 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
819
835
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
820
836
|
} | undefined;
|
|
821
837
|
anomaly_flags?: {
|
|
822
|
-
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";
|
|
838
|
+
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";
|
|
823
839
|
severity: "info" | "warning" | "error" | "critical";
|
|
824
840
|
detail?: string | undefined;
|
|
825
841
|
}[] | undefined;
|
|
@@ -836,6 +852,8 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
836
852
|
tenant_id: string;
|
|
837
853
|
redaction_policy_version: string;
|
|
838
854
|
parent_event_id: string | null;
|
|
855
|
+
segment_index: number;
|
|
856
|
+
local_seq: number;
|
|
839
857
|
captured_at: string;
|
|
840
858
|
received_at: string;
|
|
841
859
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
@@ -926,7 +944,8 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
926
944
|
encryption: {
|
|
927
945
|
algorithm: "aes-256-gcm";
|
|
928
946
|
data_key_wrapped: string;
|
|
929
|
-
|
|
947
|
+
nonce: string;
|
|
948
|
+
key_id?: string | undefined;
|
|
930
949
|
};
|
|
931
950
|
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;
|
|
932
951
|
redaction_applied?: {
|
|
@@ -957,7 +976,7 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
957
976
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
958
977
|
} | undefined;
|
|
959
978
|
anomaly_flags?: {
|
|
960
|
-
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";
|
|
979
|
+
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";
|
|
961
980
|
severity: "info" | "warning" | "error" | "critical";
|
|
962
981
|
detail?: string | undefined;
|
|
963
982
|
}[] | undefined;
|
|
@@ -1086,6 +1105,8 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
1086
1105
|
tenant_id: string;
|
|
1087
1106
|
redaction_policy_version: string;
|
|
1088
1107
|
parent_event_id: string | null;
|
|
1108
|
+
segment_index: number;
|
|
1109
|
+
local_seq: number;
|
|
1089
1110
|
captured_at: string;
|
|
1090
1111
|
received_at: string;
|
|
1091
1112
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
@@ -1176,7 +1197,8 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
1176
1197
|
encryption: {
|
|
1177
1198
|
algorithm: "aes-256-gcm";
|
|
1178
1199
|
data_key_wrapped: string;
|
|
1179
|
-
|
|
1200
|
+
nonce: string;
|
|
1201
|
+
key_id?: string | undefined;
|
|
1180
1202
|
};
|
|
1181
1203
|
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;
|
|
1182
1204
|
redaction_applied?: {
|
|
@@ -1207,7 +1229,7 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
1207
1229
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
1208
1230
|
} | undefined;
|
|
1209
1231
|
anomaly_flags?: {
|
|
1210
|
-
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";
|
|
1232
|
+
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";
|
|
1211
1233
|
severity: "info" | "warning" | "error" | "critical";
|
|
1212
1234
|
detail?: string | undefined;
|
|
1213
1235
|
}[] | undefined;
|
|
@@ -1263,6 +1285,8 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
1263
1285
|
tenant_id: string;
|
|
1264
1286
|
redaction_policy_version: string;
|
|
1265
1287
|
parent_event_id: string | null;
|
|
1288
|
+
segment_index: number;
|
|
1289
|
+
local_seq: number;
|
|
1266
1290
|
captured_at: string;
|
|
1267
1291
|
received_at: string;
|
|
1268
1292
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
@@ -1353,7 +1377,8 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
1353
1377
|
encryption: {
|
|
1354
1378
|
algorithm: "aes-256-gcm";
|
|
1355
1379
|
data_key_wrapped: string;
|
|
1356
|
-
|
|
1380
|
+
nonce: string;
|
|
1381
|
+
key_id?: string | undefined;
|
|
1357
1382
|
};
|
|
1358
1383
|
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;
|
|
1359
1384
|
redaction_applied?: {
|
|
@@ -1384,7 +1409,7 @@ export declare const EvidenceBundleSchema: z.ZodObject<{
|
|
|
1384
1409
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
1385
1410
|
} | undefined;
|
|
1386
1411
|
anomaly_flags?: {
|
|
1387
|
-
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";
|
|
1412
|
+
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";
|
|
1388
1413
|
severity: "info" | "warning" | "error" | "critical";
|
|
1389
1414
|
detail?: string | undefined;
|
|
1390
1415
|
}[] | undefined;
|
package/dist/evidence.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evidence.d.ts","sourceRoot":"","sources":["../src/evidence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"evidence.d.ts","sourceRoot":"","sources":["../src/evidence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBtB,CAAC;AACZ,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|