@runfile-ai/schemas 0.4.0 → 0.6.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/canonical.d.ts +29 -3
- package/dist/canonical.d.ts.map +1 -1
- package/dist/canonical.js +43 -5
- package/dist/canonical.js.map +1 -1
- package/dist/event.d.ts +66 -66
- package/dist/event.d.ts.map +1 -1
- package/dist/event.js +1 -1
- package/dist/event.js.map +1 -1
- package/dist/evidence.d.ts +85 -85
- package/dist/ingest.d.ts +224 -224
- package/dist/manifest.d.ts +2 -2
- package/generated/json-schema/event.json +3 -1
- package/generated/json-schema/evidence.json +3 -1
- package/generated/json-schema/ingest.json +3 -1
- package/package.json +1 -1
package/dist/ingest.d.ts
CHANGED
|
@@ -151,7 +151,7 @@ export declare const RunSubmissionSchema: z.ZodObject<{
|
|
|
151
151
|
redaction_policy_version: z.ZodString;
|
|
152
152
|
regulatory_scope_version: z.ZodOptional<z.ZodString>;
|
|
153
153
|
sdk_at_start: z.ZodOptional<z.ZodObject<{
|
|
154
|
-
name: z.ZodEnum<["runfile-py", "@runfile/sdk"]>;
|
|
154
|
+
name: z.ZodEnum<["runfile-py", "@runfile/sdk", "runfile-ai", "@runfile-ai/sdk"]>;
|
|
155
155
|
version: z.ZodString;
|
|
156
156
|
framework: z.ZodEnum<["langgraph", "langgraph_js", "openai_agents", "openai_agents_js", "anthropic_claude", "anthropic_claude_js", "claude_agent_sdk", "mastra", "vercel_ai_sdk", "pydantic_ai", "crewai", "mcp_client", "otel_generic", "manual"]>;
|
|
157
157
|
framework_version: z.ZodOptional<z.ZodString>;
|
|
@@ -159,14 +159,14 @@ export declare const RunSubmissionSchema: z.ZodObject<{
|
|
|
159
159
|
host: z.ZodOptional<z.ZodString>;
|
|
160
160
|
}, "strict", z.ZodTypeAny, {
|
|
161
161
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
162
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
162
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
163
163
|
version: string;
|
|
164
164
|
framework_version?: string | undefined;
|
|
165
165
|
adapter?: string | undefined;
|
|
166
166
|
host?: string | undefined;
|
|
167
167
|
}, {
|
|
168
168
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
169
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
169
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
170
170
|
version: string;
|
|
171
171
|
framework_version?: string | undefined;
|
|
172
172
|
adapter?: string | undefined;
|
|
@@ -180,6 +180,7 @@ export declare const RunSubmissionSchema: z.ZodObject<{
|
|
|
180
180
|
lifecycle_state: "active";
|
|
181
181
|
started_at: string;
|
|
182
182
|
redaction_policy_version: string;
|
|
183
|
+
prev_event_hash_intent?: string | undefined;
|
|
183
184
|
conversation_id?: string | undefined;
|
|
184
185
|
delegated_from?: {
|
|
185
186
|
run_id: string;
|
|
@@ -206,13 +207,12 @@ export declare const RunSubmissionSchema: z.ZodObject<{
|
|
|
206
207
|
regulatory_scope_version?: string | undefined;
|
|
207
208
|
sdk_at_start?: {
|
|
208
209
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
209
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
210
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
210
211
|
version: string;
|
|
211
212
|
framework_version?: string | undefined;
|
|
212
213
|
adapter?: string | undefined;
|
|
213
214
|
host?: string | undefined;
|
|
214
215
|
} | undefined;
|
|
215
|
-
prev_event_hash_intent?: string | undefined;
|
|
216
216
|
}, {
|
|
217
217
|
agent_identity: string;
|
|
218
218
|
run_id: string;
|
|
@@ -220,6 +220,7 @@ export declare const RunSubmissionSchema: z.ZodObject<{
|
|
|
220
220
|
lifecycle_state: "active";
|
|
221
221
|
started_at: string;
|
|
222
222
|
redaction_policy_version: string;
|
|
223
|
+
prev_event_hash_intent?: string | undefined;
|
|
223
224
|
conversation_id?: string | undefined;
|
|
224
225
|
delegated_from?: {
|
|
225
226
|
run_id: string;
|
|
@@ -246,13 +247,12 @@ export declare const RunSubmissionSchema: z.ZodObject<{
|
|
|
246
247
|
regulatory_scope_version?: string | undefined;
|
|
247
248
|
sdk_at_start?: {
|
|
248
249
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
249
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
250
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
250
251
|
version: string;
|
|
251
252
|
framework_version?: string | undefined;
|
|
252
253
|
adapter?: string | undefined;
|
|
253
254
|
host?: string | undefined;
|
|
254
255
|
} | undefined;
|
|
255
|
-
prev_event_hash_intent?: string | undefined;
|
|
256
256
|
}>;
|
|
257
257
|
export type RunSubmission = z.infer<typeof RunSubmissionSchema>;
|
|
258
258
|
/**
|
|
@@ -275,7 +275,7 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
275
275
|
captured_at: z.ZodString;
|
|
276
276
|
wall_clock_source: z.ZodEnum<["aws_time_sync", "ntp", "host_system", "unknown"]>;
|
|
277
277
|
sdk: z.ZodObject<{
|
|
278
|
-
name: z.ZodEnum<["runfile-py", "@runfile/sdk"]>;
|
|
278
|
+
name: z.ZodEnum<["runfile-py", "@runfile/sdk", "runfile-ai", "@runfile-ai/sdk"]>;
|
|
279
279
|
version: z.ZodString;
|
|
280
280
|
framework: z.ZodEnum<["langgraph", "langgraph_js", "openai_agents", "openai_agents_js", "anthropic_claude", "anthropic_claude_js", "claude_agent_sdk", "mastra", "vercel_ai_sdk", "pydantic_ai", "crewai", "mcp_client", "otel_generic", "manual"]>;
|
|
281
281
|
framework_version: z.ZodOptional<z.ZodString>;
|
|
@@ -283,14 +283,14 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
283
283
|
host: z.ZodOptional<z.ZodString>;
|
|
284
284
|
}, "strict", z.ZodTypeAny, {
|
|
285
285
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
286
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
286
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
287
287
|
version: string;
|
|
288
288
|
framework_version?: string | undefined;
|
|
289
289
|
adapter?: string | undefined;
|
|
290
290
|
host?: string | undefined;
|
|
291
291
|
}, {
|
|
292
292
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
293
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
293
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
294
294
|
version: string;
|
|
295
295
|
framework_version?: string | undefined;
|
|
296
296
|
adapter?: string | undefined;
|
|
@@ -651,6 +651,7 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
651
651
|
labels: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>>;
|
|
652
652
|
prev_event_hash_intent: z.ZodString;
|
|
653
653
|
}, "strict", z.ZodTypeAny, {
|
|
654
|
+
prev_event_hash_intent: string;
|
|
654
655
|
run_id: string;
|
|
655
656
|
event_id: string;
|
|
656
657
|
schema_version: string;
|
|
@@ -662,7 +663,7 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
662
663
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
663
664
|
sdk: {
|
|
664
665
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
665
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
666
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
666
667
|
version: string;
|
|
667
668
|
framework_version?: string | undefined;
|
|
668
669
|
adapter?: string | undefined;
|
|
@@ -682,7 +683,11 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
682
683
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
683
684
|
duration_ms?: number | undefined;
|
|
684
685
|
};
|
|
685
|
-
|
|
686
|
+
anomaly_flags?: {
|
|
687
|
+
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";
|
|
688
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
689
|
+
detail?: string | undefined;
|
|
690
|
+
}[] | undefined;
|
|
686
691
|
decision?: {
|
|
687
692
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
688
693
|
outcome_label?: string | undefined;
|
|
@@ -779,12 +784,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
779
784
|
gen_ai_conversation_id?: string | undefined;
|
|
780
785
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
781
786
|
} | undefined;
|
|
782
|
-
anomaly_flags?: {
|
|
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";
|
|
784
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
785
|
-
detail?: string | undefined;
|
|
786
|
-
}[] | undefined;
|
|
787
787
|
}, {
|
|
788
|
+
prev_event_hash_intent: string;
|
|
788
789
|
run_id: string;
|
|
789
790
|
event_id: string;
|
|
790
791
|
schema_version: string;
|
|
@@ -796,7 +797,7 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
796
797
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
797
798
|
sdk: {
|
|
798
799
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
799
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
800
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
800
801
|
version: string;
|
|
801
802
|
framework_version?: string | undefined;
|
|
802
803
|
adapter?: string | undefined;
|
|
@@ -816,7 +817,11 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
816
817
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
817
818
|
duration_ms?: number | undefined;
|
|
818
819
|
};
|
|
819
|
-
|
|
820
|
+
anomaly_flags?: {
|
|
821
|
+
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";
|
|
822
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
823
|
+
detail?: string | undefined;
|
|
824
|
+
}[] | undefined;
|
|
820
825
|
decision?: {
|
|
821
826
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
822
827
|
outcome_label?: string | undefined;
|
|
@@ -913,12 +918,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
913
918
|
gen_ai_conversation_id?: string | undefined;
|
|
914
919
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
915
920
|
} | undefined;
|
|
916
|
-
anomaly_flags?: {
|
|
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";
|
|
918
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
919
|
-
detail?: string | undefined;
|
|
920
|
-
}[] | undefined;
|
|
921
921
|
}>, {
|
|
922
|
+
prev_event_hash_intent: string;
|
|
922
923
|
run_id: string;
|
|
923
924
|
event_id: string;
|
|
924
925
|
schema_version: string;
|
|
@@ -930,7 +931,7 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
930
931
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
931
932
|
sdk: {
|
|
932
933
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
933
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
934
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
934
935
|
version: string;
|
|
935
936
|
framework_version?: string | undefined;
|
|
936
937
|
adapter?: string | undefined;
|
|
@@ -950,7 +951,11 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
950
951
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
951
952
|
duration_ms?: number | undefined;
|
|
952
953
|
};
|
|
953
|
-
|
|
954
|
+
anomaly_flags?: {
|
|
955
|
+
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";
|
|
956
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
957
|
+
detail?: string | undefined;
|
|
958
|
+
}[] | undefined;
|
|
954
959
|
decision?: {
|
|
955
960
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
956
961
|
outcome_label?: string | undefined;
|
|
@@ -1047,12 +1052,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1047
1052
|
gen_ai_conversation_id?: string | undefined;
|
|
1048
1053
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
1049
1054
|
} | undefined;
|
|
1050
|
-
anomaly_flags?: {
|
|
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";
|
|
1052
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
1053
|
-
detail?: string | undefined;
|
|
1054
|
-
}[] | undefined;
|
|
1055
1055
|
}, {
|
|
1056
|
+
prev_event_hash_intent: string;
|
|
1056
1057
|
run_id: string;
|
|
1057
1058
|
event_id: string;
|
|
1058
1059
|
schema_version: string;
|
|
@@ -1064,7 +1065,7 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1064
1065
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
1065
1066
|
sdk: {
|
|
1066
1067
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
1067
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
1068
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
1068
1069
|
version: string;
|
|
1069
1070
|
framework_version?: string | undefined;
|
|
1070
1071
|
adapter?: string | undefined;
|
|
@@ -1084,7 +1085,11 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1084
1085
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
1085
1086
|
duration_ms?: number | undefined;
|
|
1086
1087
|
};
|
|
1087
|
-
|
|
1088
|
+
anomaly_flags?: {
|
|
1089
|
+
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";
|
|
1090
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
1091
|
+
detail?: string | undefined;
|
|
1092
|
+
}[] | undefined;
|
|
1088
1093
|
decision?: {
|
|
1089
1094
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
1090
1095
|
outcome_label?: string | undefined;
|
|
@@ -1181,11 +1186,6 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1181
1186
|
gen_ai_conversation_id?: string | undefined;
|
|
1182
1187
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
1183
1188
|
} | undefined;
|
|
1184
|
-
anomaly_flags?: {
|
|
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";
|
|
1186
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
1187
|
-
detail?: string | undefined;
|
|
1188
|
-
}[] | undefined;
|
|
1189
1189
|
}>;
|
|
1190
1190
|
export type EventSubmission = z.infer<typeof EventSubmissionSchema>;
|
|
1191
1191
|
export declare const RunCreateItemSchema: z.ZodObject<{
|
|
@@ -1252,7 +1252,7 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1252
1252
|
redaction_policy_version: z.ZodString;
|
|
1253
1253
|
regulatory_scope_version: z.ZodOptional<z.ZodString>;
|
|
1254
1254
|
sdk_at_start: z.ZodOptional<z.ZodObject<{
|
|
1255
|
-
name: z.ZodEnum<["runfile-py", "@runfile/sdk"]>;
|
|
1255
|
+
name: z.ZodEnum<["runfile-py", "@runfile/sdk", "runfile-ai", "@runfile-ai/sdk"]>;
|
|
1256
1256
|
version: z.ZodString;
|
|
1257
1257
|
framework: z.ZodEnum<["langgraph", "langgraph_js", "openai_agents", "openai_agents_js", "anthropic_claude", "anthropic_claude_js", "claude_agent_sdk", "mastra", "vercel_ai_sdk", "pydantic_ai", "crewai", "mcp_client", "otel_generic", "manual"]>;
|
|
1258
1258
|
framework_version: z.ZodOptional<z.ZodString>;
|
|
@@ -1260,14 +1260,14 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1260
1260
|
host: z.ZodOptional<z.ZodString>;
|
|
1261
1261
|
}, "strict", z.ZodTypeAny, {
|
|
1262
1262
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
1263
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
1263
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
1264
1264
|
version: string;
|
|
1265
1265
|
framework_version?: string | undefined;
|
|
1266
1266
|
adapter?: string | undefined;
|
|
1267
1267
|
host?: string | undefined;
|
|
1268
1268
|
}, {
|
|
1269
1269
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
1270
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
1270
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
1271
1271
|
version: string;
|
|
1272
1272
|
framework_version?: string | undefined;
|
|
1273
1273
|
adapter?: string | undefined;
|
|
@@ -1281,6 +1281,7 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1281
1281
|
lifecycle_state: "active";
|
|
1282
1282
|
started_at: string;
|
|
1283
1283
|
redaction_policy_version: string;
|
|
1284
|
+
prev_event_hash_intent?: string | undefined;
|
|
1284
1285
|
conversation_id?: string | undefined;
|
|
1285
1286
|
delegated_from?: {
|
|
1286
1287
|
run_id: string;
|
|
@@ -1307,13 +1308,12 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1307
1308
|
regulatory_scope_version?: string | undefined;
|
|
1308
1309
|
sdk_at_start?: {
|
|
1309
1310
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
1310
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
1311
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
1311
1312
|
version: string;
|
|
1312
1313
|
framework_version?: string | undefined;
|
|
1313
1314
|
adapter?: string | undefined;
|
|
1314
1315
|
host?: string | undefined;
|
|
1315
1316
|
} | undefined;
|
|
1316
|
-
prev_event_hash_intent?: string | undefined;
|
|
1317
1317
|
}, {
|
|
1318
1318
|
agent_identity: string;
|
|
1319
1319
|
run_id: string;
|
|
@@ -1321,6 +1321,7 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1321
1321
|
lifecycle_state: "active";
|
|
1322
1322
|
started_at: string;
|
|
1323
1323
|
redaction_policy_version: string;
|
|
1324
|
+
prev_event_hash_intent?: string | undefined;
|
|
1324
1325
|
conversation_id?: string | undefined;
|
|
1325
1326
|
delegated_from?: {
|
|
1326
1327
|
run_id: string;
|
|
@@ -1347,13 +1348,12 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1347
1348
|
regulatory_scope_version?: string | undefined;
|
|
1348
1349
|
sdk_at_start?: {
|
|
1349
1350
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
1350
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
1351
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
1351
1352
|
version: string;
|
|
1352
1353
|
framework_version?: string | undefined;
|
|
1353
1354
|
adapter?: string | undefined;
|
|
1354
1355
|
host?: string | undefined;
|
|
1355
1356
|
} | undefined;
|
|
1356
|
-
prev_event_hash_intent?: string | undefined;
|
|
1357
1357
|
}>;
|
|
1358
1358
|
}, "strict", z.ZodTypeAny, {
|
|
1359
1359
|
type: "run_create";
|
|
@@ -1364,6 +1364,7 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1364
1364
|
lifecycle_state: "active";
|
|
1365
1365
|
started_at: string;
|
|
1366
1366
|
redaction_policy_version: string;
|
|
1367
|
+
prev_event_hash_intent?: string | undefined;
|
|
1367
1368
|
conversation_id?: string | undefined;
|
|
1368
1369
|
delegated_from?: {
|
|
1369
1370
|
run_id: string;
|
|
@@ -1390,13 +1391,12 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1390
1391
|
regulatory_scope_version?: string | undefined;
|
|
1391
1392
|
sdk_at_start?: {
|
|
1392
1393
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
1393
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
1394
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
1394
1395
|
version: string;
|
|
1395
1396
|
framework_version?: string | undefined;
|
|
1396
1397
|
adapter?: string | undefined;
|
|
1397
1398
|
host?: string | undefined;
|
|
1398
1399
|
} | undefined;
|
|
1399
|
-
prev_event_hash_intent?: string | undefined;
|
|
1400
1400
|
};
|
|
1401
1401
|
}, {
|
|
1402
1402
|
type: "run_create";
|
|
@@ -1407,6 +1407,7 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1407
1407
|
lifecycle_state: "active";
|
|
1408
1408
|
started_at: string;
|
|
1409
1409
|
redaction_policy_version: string;
|
|
1410
|
+
prev_event_hash_intent?: string | undefined;
|
|
1410
1411
|
conversation_id?: string | undefined;
|
|
1411
1412
|
delegated_from?: {
|
|
1412
1413
|
run_id: string;
|
|
@@ -1433,13 +1434,12 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1433
1434
|
regulatory_scope_version?: string | undefined;
|
|
1434
1435
|
sdk_at_start?: {
|
|
1435
1436
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
1436
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
1437
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
1437
1438
|
version: string;
|
|
1438
1439
|
framework_version?: string | undefined;
|
|
1439
1440
|
adapter?: string | undefined;
|
|
1440
1441
|
host?: string | undefined;
|
|
1441
1442
|
} | undefined;
|
|
1442
|
-
prev_event_hash_intent?: string | undefined;
|
|
1443
1443
|
};
|
|
1444
1444
|
}>;
|
|
1445
1445
|
export type RunCreateItem = z.infer<typeof RunCreateItemSchema>;
|
|
@@ -1493,7 +1493,7 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
1493
1493
|
captured_at: z.ZodString;
|
|
1494
1494
|
wall_clock_source: z.ZodEnum<["aws_time_sync", "ntp", "host_system", "unknown"]>;
|
|
1495
1495
|
sdk: z.ZodObject<{
|
|
1496
|
-
name: z.ZodEnum<["runfile-py", "@runfile/sdk"]>;
|
|
1496
|
+
name: z.ZodEnum<["runfile-py", "@runfile/sdk", "runfile-ai", "@runfile-ai/sdk"]>;
|
|
1497
1497
|
version: z.ZodString;
|
|
1498
1498
|
framework: z.ZodEnum<["langgraph", "langgraph_js", "openai_agents", "openai_agents_js", "anthropic_claude", "anthropic_claude_js", "claude_agent_sdk", "mastra", "vercel_ai_sdk", "pydantic_ai", "crewai", "mcp_client", "otel_generic", "manual"]>;
|
|
1499
1499
|
framework_version: z.ZodOptional<z.ZodString>;
|
|
@@ -1501,14 +1501,14 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
1501
1501
|
host: z.ZodOptional<z.ZodString>;
|
|
1502
1502
|
}, "strict", z.ZodTypeAny, {
|
|
1503
1503
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
1504
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
1504
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
1505
1505
|
version: string;
|
|
1506
1506
|
framework_version?: string | undefined;
|
|
1507
1507
|
adapter?: string | undefined;
|
|
1508
1508
|
host?: string | undefined;
|
|
1509
1509
|
}, {
|
|
1510
1510
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
1511
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
1511
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
1512
1512
|
version: string;
|
|
1513
1513
|
framework_version?: string | undefined;
|
|
1514
1514
|
adapter?: string | undefined;
|
|
@@ -1869,6 +1869,7 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
1869
1869
|
labels: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>>;
|
|
1870
1870
|
prev_event_hash_intent: z.ZodString;
|
|
1871
1871
|
}, "strict", z.ZodTypeAny, {
|
|
1872
|
+
prev_event_hash_intent: string;
|
|
1872
1873
|
run_id: string;
|
|
1873
1874
|
event_id: string;
|
|
1874
1875
|
schema_version: string;
|
|
@@ -1880,7 +1881,7 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
1880
1881
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
1881
1882
|
sdk: {
|
|
1882
1883
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
1883
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
1884
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
1884
1885
|
version: string;
|
|
1885
1886
|
framework_version?: string | undefined;
|
|
1886
1887
|
adapter?: string | undefined;
|
|
@@ -1900,7 +1901,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
1900
1901
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
1901
1902
|
duration_ms?: number | undefined;
|
|
1902
1903
|
};
|
|
1903
|
-
|
|
1904
|
+
anomaly_flags?: {
|
|
1905
|
+
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";
|
|
1906
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
1907
|
+
detail?: string | undefined;
|
|
1908
|
+
}[] | undefined;
|
|
1904
1909
|
decision?: {
|
|
1905
1910
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
1906
1911
|
outcome_label?: string | undefined;
|
|
@@ -1997,12 +2002,8 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
1997
2002
|
gen_ai_conversation_id?: string | undefined;
|
|
1998
2003
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
1999
2004
|
} | undefined;
|
|
2000
|
-
anomaly_flags?: {
|
|
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";
|
|
2002
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
2003
|
-
detail?: string | undefined;
|
|
2004
|
-
}[] | undefined;
|
|
2005
2005
|
}, {
|
|
2006
|
+
prev_event_hash_intent: string;
|
|
2006
2007
|
run_id: string;
|
|
2007
2008
|
event_id: string;
|
|
2008
2009
|
schema_version: string;
|
|
@@ -2014,7 +2015,7 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2014
2015
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
2015
2016
|
sdk: {
|
|
2016
2017
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
2017
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
2018
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
2018
2019
|
version: string;
|
|
2019
2020
|
framework_version?: string | undefined;
|
|
2020
2021
|
adapter?: string | undefined;
|
|
@@ -2034,7 +2035,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2034
2035
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
2035
2036
|
duration_ms?: number | undefined;
|
|
2036
2037
|
};
|
|
2037
|
-
|
|
2038
|
+
anomaly_flags?: {
|
|
2039
|
+
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";
|
|
2040
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
2041
|
+
detail?: string | undefined;
|
|
2042
|
+
}[] | undefined;
|
|
2038
2043
|
decision?: {
|
|
2039
2044
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
2040
2045
|
outcome_label?: string | undefined;
|
|
@@ -2131,12 +2136,8 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2131
2136
|
gen_ai_conversation_id?: string | undefined;
|
|
2132
2137
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
2133
2138
|
} | undefined;
|
|
2134
|
-
anomaly_flags?: {
|
|
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";
|
|
2136
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
2137
|
-
detail?: string | undefined;
|
|
2138
|
-
}[] | undefined;
|
|
2139
2139
|
}>, {
|
|
2140
|
+
prev_event_hash_intent: string;
|
|
2140
2141
|
run_id: string;
|
|
2141
2142
|
event_id: string;
|
|
2142
2143
|
schema_version: string;
|
|
@@ -2148,7 +2149,7 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2148
2149
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
2149
2150
|
sdk: {
|
|
2150
2151
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
2151
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
2152
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
2152
2153
|
version: string;
|
|
2153
2154
|
framework_version?: string | undefined;
|
|
2154
2155
|
adapter?: string | undefined;
|
|
@@ -2168,7 +2169,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2168
2169
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
2169
2170
|
duration_ms?: number | undefined;
|
|
2170
2171
|
};
|
|
2171
|
-
|
|
2172
|
+
anomaly_flags?: {
|
|
2173
|
+
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";
|
|
2174
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
2175
|
+
detail?: string | undefined;
|
|
2176
|
+
}[] | undefined;
|
|
2172
2177
|
decision?: {
|
|
2173
2178
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
2174
2179
|
outcome_label?: string | undefined;
|
|
@@ -2265,12 +2270,8 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2265
2270
|
gen_ai_conversation_id?: string | undefined;
|
|
2266
2271
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
2267
2272
|
} | undefined;
|
|
2268
|
-
anomaly_flags?: {
|
|
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";
|
|
2270
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
2271
|
-
detail?: string | undefined;
|
|
2272
|
-
}[] | undefined;
|
|
2273
2273
|
}, {
|
|
2274
|
+
prev_event_hash_intent: string;
|
|
2274
2275
|
run_id: string;
|
|
2275
2276
|
event_id: string;
|
|
2276
2277
|
schema_version: string;
|
|
@@ -2282,7 +2283,7 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2282
2283
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
2283
2284
|
sdk: {
|
|
2284
2285
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
2285
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
2286
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
2286
2287
|
version: string;
|
|
2287
2288
|
framework_version?: string | undefined;
|
|
2288
2289
|
adapter?: string | undefined;
|
|
@@ -2302,7 +2303,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2302
2303
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
2303
2304
|
duration_ms?: number | undefined;
|
|
2304
2305
|
};
|
|
2305
|
-
|
|
2306
|
+
anomaly_flags?: {
|
|
2307
|
+
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";
|
|
2308
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
2309
|
+
detail?: string | undefined;
|
|
2310
|
+
}[] | undefined;
|
|
2306
2311
|
decision?: {
|
|
2307
2312
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
2308
2313
|
outcome_label?: string | undefined;
|
|
@@ -2399,15 +2404,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2399
2404
|
gen_ai_conversation_id?: string | undefined;
|
|
2400
2405
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
2401
2406
|
} | undefined;
|
|
2402
|
-
anomaly_flags?: {
|
|
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";
|
|
2404
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
2405
|
-
detail?: string | undefined;
|
|
2406
|
-
}[] | undefined;
|
|
2407
2407
|
}>;
|
|
2408
2408
|
}, "strict", z.ZodTypeAny, {
|
|
2409
2409
|
type: "event";
|
|
2410
2410
|
event: {
|
|
2411
|
+
prev_event_hash_intent: string;
|
|
2411
2412
|
run_id: string;
|
|
2412
2413
|
event_id: string;
|
|
2413
2414
|
schema_version: string;
|
|
@@ -2419,7 +2420,7 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2419
2420
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
2420
2421
|
sdk: {
|
|
2421
2422
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
2422
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
2423
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
2423
2424
|
version: string;
|
|
2424
2425
|
framework_version?: string | undefined;
|
|
2425
2426
|
adapter?: string | undefined;
|
|
@@ -2439,7 +2440,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2439
2440
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
2440
2441
|
duration_ms?: number | undefined;
|
|
2441
2442
|
};
|
|
2442
|
-
|
|
2443
|
+
anomaly_flags?: {
|
|
2444
|
+
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";
|
|
2445
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
2446
|
+
detail?: string | undefined;
|
|
2447
|
+
}[] | undefined;
|
|
2443
2448
|
decision?: {
|
|
2444
2449
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
2445
2450
|
outcome_label?: string | undefined;
|
|
@@ -2536,15 +2541,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2536
2541
|
gen_ai_conversation_id?: string | undefined;
|
|
2537
2542
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
2538
2543
|
} | undefined;
|
|
2539
|
-
anomaly_flags?: {
|
|
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";
|
|
2541
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
2542
|
-
detail?: string | undefined;
|
|
2543
|
-
}[] | undefined;
|
|
2544
2544
|
};
|
|
2545
2545
|
}, {
|
|
2546
2546
|
type: "event";
|
|
2547
2547
|
event: {
|
|
2548
|
+
prev_event_hash_intent: string;
|
|
2548
2549
|
run_id: string;
|
|
2549
2550
|
event_id: string;
|
|
2550
2551
|
schema_version: string;
|
|
@@ -2556,7 +2557,7 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2556
2557
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
2557
2558
|
sdk: {
|
|
2558
2559
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
2559
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
2560
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
2560
2561
|
version: string;
|
|
2561
2562
|
framework_version?: string | undefined;
|
|
2562
2563
|
adapter?: string | undefined;
|
|
@@ -2576,7 +2577,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2576
2577
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
2577
2578
|
duration_ms?: number | undefined;
|
|
2578
2579
|
};
|
|
2579
|
-
|
|
2580
|
+
anomaly_flags?: {
|
|
2581
|
+
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";
|
|
2582
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
2583
|
+
detail?: string | undefined;
|
|
2584
|
+
}[] | undefined;
|
|
2580
2585
|
decision?: {
|
|
2581
2586
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
2582
2587
|
outcome_label?: string | undefined;
|
|
@@ -2673,11 +2678,6 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2673
2678
|
gen_ai_conversation_id?: string | undefined;
|
|
2674
2679
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
2675
2680
|
} | undefined;
|
|
2676
|
-
anomaly_flags?: {
|
|
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";
|
|
2678
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
2679
|
-
detail?: string | undefined;
|
|
2680
|
-
}[] | undefined;
|
|
2681
2681
|
};
|
|
2682
2682
|
}>;
|
|
2683
2683
|
export type EventItem = z.infer<typeof EventItemSchema>;
|
|
@@ -2745,7 +2745,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2745
2745
|
redaction_policy_version: z.ZodString;
|
|
2746
2746
|
regulatory_scope_version: z.ZodOptional<z.ZodString>;
|
|
2747
2747
|
sdk_at_start: z.ZodOptional<z.ZodObject<{
|
|
2748
|
-
name: z.ZodEnum<["runfile-py", "@runfile/sdk"]>;
|
|
2748
|
+
name: z.ZodEnum<["runfile-py", "@runfile/sdk", "runfile-ai", "@runfile-ai/sdk"]>;
|
|
2749
2749
|
version: z.ZodString;
|
|
2750
2750
|
framework: z.ZodEnum<["langgraph", "langgraph_js", "openai_agents", "openai_agents_js", "anthropic_claude", "anthropic_claude_js", "claude_agent_sdk", "mastra", "vercel_ai_sdk", "pydantic_ai", "crewai", "mcp_client", "otel_generic", "manual"]>;
|
|
2751
2751
|
framework_version: z.ZodOptional<z.ZodString>;
|
|
@@ -2753,14 +2753,14 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2753
2753
|
host: z.ZodOptional<z.ZodString>;
|
|
2754
2754
|
}, "strict", z.ZodTypeAny, {
|
|
2755
2755
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
2756
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
2756
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
2757
2757
|
version: string;
|
|
2758
2758
|
framework_version?: string | undefined;
|
|
2759
2759
|
adapter?: string | undefined;
|
|
2760
2760
|
host?: string | undefined;
|
|
2761
2761
|
}, {
|
|
2762
2762
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
2763
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
2763
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
2764
2764
|
version: string;
|
|
2765
2765
|
framework_version?: string | undefined;
|
|
2766
2766
|
adapter?: string | undefined;
|
|
@@ -2774,6 +2774,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2774
2774
|
lifecycle_state: "active";
|
|
2775
2775
|
started_at: string;
|
|
2776
2776
|
redaction_policy_version: string;
|
|
2777
|
+
prev_event_hash_intent?: string | undefined;
|
|
2777
2778
|
conversation_id?: string | undefined;
|
|
2778
2779
|
delegated_from?: {
|
|
2779
2780
|
run_id: string;
|
|
@@ -2800,13 +2801,12 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2800
2801
|
regulatory_scope_version?: string | undefined;
|
|
2801
2802
|
sdk_at_start?: {
|
|
2802
2803
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
2803
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
2804
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
2804
2805
|
version: string;
|
|
2805
2806
|
framework_version?: string | undefined;
|
|
2806
2807
|
adapter?: string | undefined;
|
|
2807
2808
|
host?: string | undefined;
|
|
2808
2809
|
} | undefined;
|
|
2809
|
-
prev_event_hash_intent?: string | undefined;
|
|
2810
2810
|
}, {
|
|
2811
2811
|
agent_identity: string;
|
|
2812
2812
|
run_id: string;
|
|
@@ -2814,6 +2814,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2814
2814
|
lifecycle_state: "active";
|
|
2815
2815
|
started_at: string;
|
|
2816
2816
|
redaction_policy_version: string;
|
|
2817
|
+
prev_event_hash_intent?: string | undefined;
|
|
2817
2818
|
conversation_id?: string | undefined;
|
|
2818
2819
|
delegated_from?: {
|
|
2819
2820
|
run_id: string;
|
|
@@ -2840,13 +2841,12 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2840
2841
|
regulatory_scope_version?: string | undefined;
|
|
2841
2842
|
sdk_at_start?: {
|
|
2842
2843
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
2843
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
2844
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
2844
2845
|
version: string;
|
|
2845
2846
|
framework_version?: string | undefined;
|
|
2846
2847
|
adapter?: string | undefined;
|
|
2847
2848
|
host?: string | undefined;
|
|
2848
2849
|
} | undefined;
|
|
2849
|
-
prev_event_hash_intent?: string | undefined;
|
|
2850
2850
|
}>;
|
|
2851
2851
|
}, "strict", z.ZodTypeAny, {
|
|
2852
2852
|
type: "run_create";
|
|
@@ -2857,6 +2857,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2857
2857
|
lifecycle_state: "active";
|
|
2858
2858
|
started_at: string;
|
|
2859
2859
|
redaction_policy_version: string;
|
|
2860
|
+
prev_event_hash_intent?: string | undefined;
|
|
2860
2861
|
conversation_id?: string | undefined;
|
|
2861
2862
|
delegated_from?: {
|
|
2862
2863
|
run_id: string;
|
|
@@ -2883,13 +2884,12 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2883
2884
|
regulatory_scope_version?: string | undefined;
|
|
2884
2885
|
sdk_at_start?: {
|
|
2885
2886
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
2886
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
2887
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
2887
2888
|
version: string;
|
|
2888
2889
|
framework_version?: string | undefined;
|
|
2889
2890
|
adapter?: string | undefined;
|
|
2890
2891
|
host?: string | undefined;
|
|
2891
2892
|
} | undefined;
|
|
2892
|
-
prev_event_hash_intent?: string | undefined;
|
|
2893
2893
|
};
|
|
2894
2894
|
}, {
|
|
2895
2895
|
type: "run_create";
|
|
@@ -2900,6 +2900,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2900
2900
|
lifecycle_state: "active";
|
|
2901
2901
|
started_at: string;
|
|
2902
2902
|
redaction_policy_version: string;
|
|
2903
|
+
prev_event_hash_intent?: string | undefined;
|
|
2903
2904
|
conversation_id?: string | undefined;
|
|
2904
2905
|
delegated_from?: {
|
|
2905
2906
|
run_id: string;
|
|
@@ -2926,13 +2927,12 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2926
2927
|
regulatory_scope_version?: string | undefined;
|
|
2927
2928
|
sdk_at_start?: {
|
|
2928
2929
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
2929
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
2930
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
2930
2931
|
version: string;
|
|
2931
2932
|
framework_version?: string | undefined;
|
|
2932
2933
|
adapter?: string | undefined;
|
|
2933
2934
|
host?: string | undefined;
|
|
2934
2935
|
} | undefined;
|
|
2935
|
-
prev_event_hash_intent?: string | undefined;
|
|
2936
2936
|
};
|
|
2937
2937
|
}>, z.ZodObject<{
|
|
2938
2938
|
type: z.ZodLiteral<"run_update">;
|
|
@@ -2980,7 +2980,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2980
2980
|
captured_at: z.ZodString;
|
|
2981
2981
|
wall_clock_source: z.ZodEnum<["aws_time_sync", "ntp", "host_system", "unknown"]>;
|
|
2982
2982
|
sdk: z.ZodObject<{
|
|
2983
|
-
name: z.ZodEnum<["runfile-py", "@runfile/sdk"]>;
|
|
2983
|
+
name: z.ZodEnum<["runfile-py", "@runfile/sdk", "runfile-ai", "@runfile-ai/sdk"]>;
|
|
2984
2984
|
version: z.ZodString;
|
|
2985
2985
|
framework: z.ZodEnum<["langgraph", "langgraph_js", "openai_agents", "openai_agents_js", "anthropic_claude", "anthropic_claude_js", "claude_agent_sdk", "mastra", "vercel_ai_sdk", "pydantic_ai", "crewai", "mcp_client", "otel_generic", "manual"]>;
|
|
2986
2986
|
framework_version: z.ZodOptional<z.ZodString>;
|
|
@@ -2988,14 +2988,14 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2988
2988
|
host: z.ZodOptional<z.ZodString>;
|
|
2989
2989
|
}, "strict", z.ZodTypeAny, {
|
|
2990
2990
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
2991
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
2991
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
2992
2992
|
version: string;
|
|
2993
2993
|
framework_version?: string | undefined;
|
|
2994
2994
|
adapter?: string | undefined;
|
|
2995
2995
|
host?: string | undefined;
|
|
2996
2996
|
}, {
|
|
2997
2997
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
2998
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
2998
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
2999
2999
|
version: string;
|
|
3000
3000
|
framework_version?: string | undefined;
|
|
3001
3001
|
adapter?: string | undefined;
|
|
@@ -3356,6 +3356,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3356
3356
|
labels: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>>;
|
|
3357
3357
|
prev_event_hash_intent: z.ZodString;
|
|
3358
3358
|
}, "strict", z.ZodTypeAny, {
|
|
3359
|
+
prev_event_hash_intent: string;
|
|
3359
3360
|
run_id: string;
|
|
3360
3361
|
event_id: string;
|
|
3361
3362
|
schema_version: string;
|
|
@@ -3367,7 +3368,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3367
3368
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
3368
3369
|
sdk: {
|
|
3369
3370
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
3370
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
3371
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
3371
3372
|
version: string;
|
|
3372
3373
|
framework_version?: string | undefined;
|
|
3373
3374
|
adapter?: string | undefined;
|
|
@@ -3387,7 +3388,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3387
3388
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
3388
3389
|
duration_ms?: number | undefined;
|
|
3389
3390
|
};
|
|
3390
|
-
|
|
3391
|
+
anomaly_flags?: {
|
|
3392
|
+
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";
|
|
3393
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
3394
|
+
detail?: string | undefined;
|
|
3395
|
+
}[] | undefined;
|
|
3391
3396
|
decision?: {
|
|
3392
3397
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
3393
3398
|
outcome_label?: string | undefined;
|
|
@@ -3484,12 +3489,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3484
3489
|
gen_ai_conversation_id?: string | undefined;
|
|
3485
3490
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
3486
3491
|
} | undefined;
|
|
3487
|
-
anomaly_flags?: {
|
|
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";
|
|
3489
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
3490
|
-
detail?: string | undefined;
|
|
3491
|
-
}[] | undefined;
|
|
3492
3492
|
}, {
|
|
3493
|
+
prev_event_hash_intent: string;
|
|
3493
3494
|
run_id: string;
|
|
3494
3495
|
event_id: string;
|
|
3495
3496
|
schema_version: string;
|
|
@@ -3501,7 +3502,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3501
3502
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
3502
3503
|
sdk: {
|
|
3503
3504
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
3504
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
3505
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
3505
3506
|
version: string;
|
|
3506
3507
|
framework_version?: string | undefined;
|
|
3507
3508
|
adapter?: string | undefined;
|
|
@@ -3521,7 +3522,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3521
3522
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
3522
3523
|
duration_ms?: number | undefined;
|
|
3523
3524
|
};
|
|
3524
|
-
|
|
3525
|
+
anomaly_flags?: {
|
|
3526
|
+
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";
|
|
3527
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
3528
|
+
detail?: string | undefined;
|
|
3529
|
+
}[] | undefined;
|
|
3525
3530
|
decision?: {
|
|
3526
3531
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
3527
3532
|
outcome_label?: string | undefined;
|
|
@@ -3618,12 +3623,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3618
3623
|
gen_ai_conversation_id?: string | undefined;
|
|
3619
3624
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
3620
3625
|
} | undefined;
|
|
3621
|
-
anomaly_flags?: {
|
|
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";
|
|
3623
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
3624
|
-
detail?: string | undefined;
|
|
3625
|
-
}[] | undefined;
|
|
3626
3626
|
}>, {
|
|
3627
|
+
prev_event_hash_intent: string;
|
|
3627
3628
|
run_id: string;
|
|
3628
3629
|
event_id: string;
|
|
3629
3630
|
schema_version: string;
|
|
@@ -3635,7 +3636,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3635
3636
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
3636
3637
|
sdk: {
|
|
3637
3638
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
3638
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
3639
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
3639
3640
|
version: string;
|
|
3640
3641
|
framework_version?: string | undefined;
|
|
3641
3642
|
adapter?: string | undefined;
|
|
@@ -3655,7 +3656,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3655
3656
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
3656
3657
|
duration_ms?: number | undefined;
|
|
3657
3658
|
};
|
|
3658
|
-
|
|
3659
|
+
anomaly_flags?: {
|
|
3660
|
+
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";
|
|
3661
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
3662
|
+
detail?: string | undefined;
|
|
3663
|
+
}[] | undefined;
|
|
3659
3664
|
decision?: {
|
|
3660
3665
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
3661
3666
|
outcome_label?: string | undefined;
|
|
@@ -3752,12 +3757,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3752
3757
|
gen_ai_conversation_id?: string | undefined;
|
|
3753
3758
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
3754
3759
|
} | undefined;
|
|
3755
|
-
anomaly_flags?: {
|
|
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";
|
|
3757
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
3758
|
-
detail?: string | undefined;
|
|
3759
|
-
}[] | undefined;
|
|
3760
3760
|
}, {
|
|
3761
|
+
prev_event_hash_intent: string;
|
|
3761
3762
|
run_id: string;
|
|
3762
3763
|
event_id: string;
|
|
3763
3764
|
schema_version: string;
|
|
@@ -3769,7 +3770,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3769
3770
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
3770
3771
|
sdk: {
|
|
3771
3772
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
3772
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
3773
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
3773
3774
|
version: string;
|
|
3774
3775
|
framework_version?: string | undefined;
|
|
3775
3776
|
adapter?: string | undefined;
|
|
@@ -3789,7 +3790,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3789
3790
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
3790
3791
|
duration_ms?: number | undefined;
|
|
3791
3792
|
};
|
|
3792
|
-
|
|
3793
|
+
anomaly_flags?: {
|
|
3794
|
+
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";
|
|
3795
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
3796
|
+
detail?: string | undefined;
|
|
3797
|
+
}[] | undefined;
|
|
3793
3798
|
decision?: {
|
|
3794
3799
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
3795
3800
|
outcome_label?: string | undefined;
|
|
@@ -3886,15 +3891,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3886
3891
|
gen_ai_conversation_id?: string | undefined;
|
|
3887
3892
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
3888
3893
|
} | undefined;
|
|
3889
|
-
anomaly_flags?: {
|
|
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";
|
|
3891
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
3892
|
-
detail?: string | undefined;
|
|
3893
|
-
}[] | undefined;
|
|
3894
3894
|
}>;
|
|
3895
3895
|
}, "strict", z.ZodTypeAny, {
|
|
3896
3896
|
type: "event";
|
|
3897
3897
|
event: {
|
|
3898
|
+
prev_event_hash_intent: string;
|
|
3898
3899
|
run_id: string;
|
|
3899
3900
|
event_id: string;
|
|
3900
3901
|
schema_version: string;
|
|
@@ -3906,7 +3907,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3906
3907
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
3907
3908
|
sdk: {
|
|
3908
3909
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
3909
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
3910
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
3910
3911
|
version: string;
|
|
3911
3912
|
framework_version?: string | undefined;
|
|
3912
3913
|
adapter?: string | undefined;
|
|
@@ -3926,7 +3927,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3926
3927
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
3927
3928
|
duration_ms?: number | undefined;
|
|
3928
3929
|
};
|
|
3929
|
-
|
|
3930
|
+
anomaly_flags?: {
|
|
3931
|
+
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";
|
|
3932
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
3933
|
+
detail?: string | undefined;
|
|
3934
|
+
}[] | undefined;
|
|
3930
3935
|
decision?: {
|
|
3931
3936
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
3932
3937
|
outcome_label?: string | undefined;
|
|
@@ -4023,15 +4028,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
4023
4028
|
gen_ai_conversation_id?: string | undefined;
|
|
4024
4029
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
4025
4030
|
} | undefined;
|
|
4026
|
-
anomaly_flags?: {
|
|
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";
|
|
4028
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
4029
|
-
detail?: string | undefined;
|
|
4030
|
-
}[] | undefined;
|
|
4031
4031
|
};
|
|
4032
4032
|
}, {
|
|
4033
4033
|
type: "event";
|
|
4034
4034
|
event: {
|
|
4035
|
+
prev_event_hash_intent: string;
|
|
4035
4036
|
run_id: string;
|
|
4036
4037
|
event_id: string;
|
|
4037
4038
|
schema_version: string;
|
|
@@ -4043,7 +4044,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
4043
4044
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
4044
4045
|
sdk: {
|
|
4045
4046
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
4046
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
4047
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
4047
4048
|
version: string;
|
|
4048
4049
|
framework_version?: string | undefined;
|
|
4049
4050
|
adapter?: string | undefined;
|
|
@@ -4063,7 +4064,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
4063
4064
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
4064
4065
|
duration_ms?: number | undefined;
|
|
4065
4066
|
};
|
|
4066
|
-
|
|
4067
|
+
anomaly_flags?: {
|
|
4068
|
+
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";
|
|
4069
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
4070
|
+
detail?: string | undefined;
|
|
4071
|
+
}[] | undefined;
|
|
4067
4072
|
decision?: {
|
|
4068
4073
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
4069
4074
|
outcome_label?: string | undefined;
|
|
@@ -4160,11 +4165,6 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
4160
4165
|
gen_ai_conversation_id?: string | undefined;
|
|
4161
4166
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
4162
4167
|
} | undefined;
|
|
4163
|
-
anomaly_flags?: {
|
|
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";
|
|
4165
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
4166
|
-
detail?: string | undefined;
|
|
4167
|
-
}[] | undefined;
|
|
4168
4168
|
};
|
|
4169
4169
|
}>]>;
|
|
4170
4170
|
export type BatchItem = z.infer<typeof BatchItemSchema>;
|
|
@@ -4234,7 +4234,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4234
4234
|
redaction_policy_version: z.ZodString;
|
|
4235
4235
|
regulatory_scope_version: z.ZodOptional<z.ZodString>;
|
|
4236
4236
|
sdk_at_start: z.ZodOptional<z.ZodObject<{
|
|
4237
|
-
name: z.ZodEnum<["runfile-py", "@runfile/sdk"]>;
|
|
4237
|
+
name: z.ZodEnum<["runfile-py", "@runfile/sdk", "runfile-ai", "@runfile-ai/sdk"]>;
|
|
4238
4238
|
version: z.ZodString;
|
|
4239
4239
|
framework: z.ZodEnum<["langgraph", "langgraph_js", "openai_agents", "openai_agents_js", "anthropic_claude", "anthropic_claude_js", "claude_agent_sdk", "mastra", "vercel_ai_sdk", "pydantic_ai", "crewai", "mcp_client", "otel_generic", "manual"]>;
|
|
4240
4240
|
framework_version: z.ZodOptional<z.ZodString>;
|
|
@@ -4242,14 +4242,14 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4242
4242
|
host: z.ZodOptional<z.ZodString>;
|
|
4243
4243
|
}, "strict", z.ZodTypeAny, {
|
|
4244
4244
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
4245
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
4245
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
4246
4246
|
version: string;
|
|
4247
4247
|
framework_version?: string | undefined;
|
|
4248
4248
|
adapter?: string | undefined;
|
|
4249
4249
|
host?: string | undefined;
|
|
4250
4250
|
}, {
|
|
4251
4251
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
4252
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
4252
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
4253
4253
|
version: string;
|
|
4254
4254
|
framework_version?: string | undefined;
|
|
4255
4255
|
adapter?: string | undefined;
|
|
@@ -4263,6 +4263,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4263
4263
|
lifecycle_state: "active";
|
|
4264
4264
|
started_at: string;
|
|
4265
4265
|
redaction_policy_version: string;
|
|
4266
|
+
prev_event_hash_intent?: string | undefined;
|
|
4266
4267
|
conversation_id?: string | undefined;
|
|
4267
4268
|
delegated_from?: {
|
|
4268
4269
|
run_id: string;
|
|
@@ -4289,13 +4290,12 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4289
4290
|
regulatory_scope_version?: string | undefined;
|
|
4290
4291
|
sdk_at_start?: {
|
|
4291
4292
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
4292
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
4293
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
4293
4294
|
version: string;
|
|
4294
4295
|
framework_version?: string | undefined;
|
|
4295
4296
|
adapter?: string | undefined;
|
|
4296
4297
|
host?: string | undefined;
|
|
4297
4298
|
} | undefined;
|
|
4298
|
-
prev_event_hash_intent?: string | undefined;
|
|
4299
4299
|
}, {
|
|
4300
4300
|
agent_identity: string;
|
|
4301
4301
|
run_id: string;
|
|
@@ -4303,6 +4303,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4303
4303
|
lifecycle_state: "active";
|
|
4304
4304
|
started_at: string;
|
|
4305
4305
|
redaction_policy_version: string;
|
|
4306
|
+
prev_event_hash_intent?: string | undefined;
|
|
4306
4307
|
conversation_id?: string | undefined;
|
|
4307
4308
|
delegated_from?: {
|
|
4308
4309
|
run_id: string;
|
|
@@ -4329,13 +4330,12 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4329
4330
|
regulatory_scope_version?: string | undefined;
|
|
4330
4331
|
sdk_at_start?: {
|
|
4331
4332
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
4332
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
4333
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
4333
4334
|
version: string;
|
|
4334
4335
|
framework_version?: string | undefined;
|
|
4335
4336
|
adapter?: string | undefined;
|
|
4336
4337
|
host?: string | undefined;
|
|
4337
4338
|
} | undefined;
|
|
4338
|
-
prev_event_hash_intent?: string | undefined;
|
|
4339
4339
|
}>;
|
|
4340
4340
|
}, "strict", z.ZodTypeAny, {
|
|
4341
4341
|
type: "run_create";
|
|
@@ -4346,6 +4346,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4346
4346
|
lifecycle_state: "active";
|
|
4347
4347
|
started_at: string;
|
|
4348
4348
|
redaction_policy_version: string;
|
|
4349
|
+
prev_event_hash_intent?: string | undefined;
|
|
4349
4350
|
conversation_id?: string | undefined;
|
|
4350
4351
|
delegated_from?: {
|
|
4351
4352
|
run_id: string;
|
|
@@ -4372,13 +4373,12 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4372
4373
|
regulatory_scope_version?: string | undefined;
|
|
4373
4374
|
sdk_at_start?: {
|
|
4374
4375
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
4375
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
4376
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
4376
4377
|
version: string;
|
|
4377
4378
|
framework_version?: string | undefined;
|
|
4378
4379
|
adapter?: string | undefined;
|
|
4379
4380
|
host?: string | undefined;
|
|
4380
4381
|
} | undefined;
|
|
4381
|
-
prev_event_hash_intent?: string | undefined;
|
|
4382
4382
|
};
|
|
4383
4383
|
}, {
|
|
4384
4384
|
type: "run_create";
|
|
@@ -4389,6 +4389,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4389
4389
|
lifecycle_state: "active";
|
|
4390
4390
|
started_at: string;
|
|
4391
4391
|
redaction_policy_version: string;
|
|
4392
|
+
prev_event_hash_intent?: string | undefined;
|
|
4392
4393
|
conversation_id?: string | undefined;
|
|
4393
4394
|
delegated_from?: {
|
|
4394
4395
|
run_id: string;
|
|
@@ -4415,13 +4416,12 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4415
4416
|
regulatory_scope_version?: string | undefined;
|
|
4416
4417
|
sdk_at_start?: {
|
|
4417
4418
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
4418
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
4419
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
4419
4420
|
version: string;
|
|
4420
4421
|
framework_version?: string | undefined;
|
|
4421
4422
|
adapter?: string | undefined;
|
|
4422
4423
|
host?: string | undefined;
|
|
4423
4424
|
} | undefined;
|
|
4424
|
-
prev_event_hash_intent?: string | undefined;
|
|
4425
4425
|
};
|
|
4426
4426
|
}>, z.ZodObject<{
|
|
4427
4427
|
type: z.ZodLiteral<"run_update">;
|
|
@@ -4469,7 +4469,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4469
4469
|
captured_at: z.ZodString;
|
|
4470
4470
|
wall_clock_source: z.ZodEnum<["aws_time_sync", "ntp", "host_system", "unknown"]>;
|
|
4471
4471
|
sdk: z.ZodObject<{
|
|
4472
|
-
name: z.ZodEnum<["runfile-py", "@runfile/sdk"]>;
|
|
4472
|
+
name: z.ZodEnum<["runfile-py", "@runfile/sdk", "runfile-ai", "@runfile-ai/sdk"]>;
|
|
4473
4473
|
version: z.ZodString;
|
|
4474
4474
|
framework: z.ZodEnum<["langgraph", "langgraph_js", "openai_agents", "openai_agents_js", "anthropic_claude", "anthropic_claude_js", "claude_agent_sdk", "mastra", "vercel_ai_sdk", "pydantic_ai", "crewai", "mcp_client", "otel_generic", "manual"]>;
|
|
4475
4475
|
framework_version: z.ZodOptional<z.ZodString>;
|
|
@@ -4477,14 +4477,14 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4477
4477
|
host: z.ZodOptional<z.ZodString>;
|
|
4478
4478
|
}, "strict", z.ZodTypeAny, {
|
|
4479
4479
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
4480
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
4480
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
4481
4481
|
version: string;
|
|
4482
4482
|
framework_version?: string | undefined;
|
|
4483
4483
|
adapter?: string | undefined;
|
|
4484
4484
|
host?: string | undefined;
|
|
4485
4485
|
}, {
|
|
4486
4486
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
4487
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
4487
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
4488
4488
|
version: string;
|
|
4489
4489
|
framework_version?: string | undefined;
|
|
4490
4490
|
adapter?: string | undefined;
|
|
@@ -4845,6 +4845,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4845
4845
|
labels: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>>;
|
|
4846
4846
|
prev_event_hash_intent: z.ZodString;
|
|
4847
4847
|
}, "strict", z.ZodTypeAny, {
|
|
4848
|
+
prev_event_hash_intent: string;
|
|
4848
4849
|
run_id: string;
|
|
4849
4850
|
event_id: string;
|
|
4850
4851
|
schema_version: string;
|
|
@@ -4856,7 +4857,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4856
4857
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
4857
4858
|
sdk: {
|
|
4858
4859
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
4859
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
4860
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
4860
4861
|
version: string;
|
|
4861
4862
|
framework_version?: string | undefined;
|
|
4862
4863
|
adapter?: string | undefined;
|
|
@@ -4876,7 +4877,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4876
4877
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
4877
4878
|
duration_ms?: number | undefined;
|
|
4878
4879
|
};
|
|
4879
|
-
|
|
4880
|
+
anomaly_flags?: {
|
|
4881
|
+
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";
|
|
4882
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
4883
|
+
detail?: string | undefined;
|
|
4884
|
+
}[] | undefined;
|
|
4880
4885
|
decision?: {
|
|
4881
4886
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
4882
4887
|
outcome_label?: string | undefined;
|
|
@@ -4973,12 +4978,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4973
4978
|
gen_ai_conversation_id?: string | undefined;
|
|
4974
4979
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
4975
4980
|
} | undefined;
|
|
4976
|
-
anomaly_flags?: {
|
|
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";
|
|
4978
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
4979
|
-
detail?: string | undefined;
|
|
4980
|
-
}[] | undefined;
|
|
4981
4981
|
}, {
|
|
4982
|
+
prev_event_hash_intent: string;
|
|
4982
4983
|
run_id: string;
|
|
4983
4984
|
event_id: string;
|
|
4984
4985
|
schema_version: string;
|
|
@@ -4990,7 +4991,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4990
4991
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
4991
4992
|
sdk: {
|
|
4992
4993
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
4993
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
4994
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
4994
4995
|
version: string;
|
|
4995
4996
|
framework_version?: string | undefined;
|
|
4996
4997
|
adapter?: string | undefined;
|
|
@@ -5010,7 +5011,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5010
5011
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
5011
5012
|
duration_ms?: number | undefined;
|
|
5012
5013
|
};
|
|
5013
|
-
|
|
5014
|
+
anomaly_flags?: {
|
|
5015
|
+
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";
|
|
5016
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
5017
|
+
detail?: string | undefined;
|
|
5018
|
+
}[] | undefined;
|
|
5014
5019
|
decision?: {
|
|
5015
5020
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
5016
5021
|
outcome_label?: string | undefined;
|
|
@@ -5107,12 +5112,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5107
5112
|
gen_ai_conversation_id?: string | undefined;
|
|
5108
5113
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
5109
5114
|
} | undefined;
|
|
5110
|
-
anomaly_flags?: {
|
|
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";
|
|
5112
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
5113
|
-
detail?: string | undefined;
|
|
5114
|
-
}[] | undefined;
|
|
5115
5115
|
}>, {
|
|
5116
|
+
prev_event_hash_intent: string;
|
|
5116
5117
|
run_id: string;
|
|
5117
5118
|
event_id: string;
|
|
5118
5119
|
schema_version: string;
|
|
@@ -5124,7 +5125,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5124
5125
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
5125
5126
|
sdk: {
|
|
5126
5127
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
5127
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
5128
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
5128
5129
|
version: string;
|
|
5129
5130
|
framework_version?: string | undefined;
|
|
5130
5131
|
adapter?: string | undefined;
|
|
@@ -5144,7 +5145,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5144
5145
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
5145
5146
|
duration_ms?: number | undefined;
|
|
5146
5147
|
};
|
|
5147
|
-
|
|
5148
|
+
anomaly_flags?: {
|
|
5149
|
+
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";
|
|
5150
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
5151
|
+
detail?: string | undefined;
|
|
5152
|
+
}[] | undefined;
|
|
5148
5153
|
decision?: {
|
|
5149
5154
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
5150
5155
|
outcome_label?: string | undefined;
|
|
@@ -5241,12 +5246,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5241
5246
|
gen_ai_conversation_id?: string | undefined;
|
|
5242
5247
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
5243
5248
|
} | undefined;
|
|
5244
|
-
anomaly_flags?: {
|
|
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";
|
|
5246
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
5247
|
-
detail?: string | undefined;
|
|
5248
|
-
}[] | undefined;
|
|
5249
5249
|
}, {
|
|
5250
|
+
prev_event_hash_intent: string;
|
|
5250
5251
|
run_id: string;
|
|
5251
5252
|
event_id: string;
|
|
5252
5253
|
schema_version: string;
|
|
@@ -5258,7 +5259,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5258
5259
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
5259
5260
|
sdk: {
|
|
5260
5261
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
5261
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
5262
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
5262
5263
|
version: string;
|
|
5263
5264
|
framework_version?: string | undefined;
|
|
5264
5265
|
adapter?: string | undefined;
|
|
@@ -5278,7 +5279,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5278
5279
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
5279
5280
|
duration_ms?: number | undefined;
|
|
5280
5281
|
};
|
|
5281
|
-
|
|
5282
|
+
anomaly_flags?: {
|
|
5283
|
+
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";
|
|
5284
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
5285
|
+
detail?: string | undefined;
|
|
5286
|
+
}[] | undefined;
|
|
5282
5287
|
decision?: {
|
|
5283
5288
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
5284
5289
|
outcome_label?: string | undefined;
|
|
@@ -5375,15 +5380,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5375
5380
|
gen_ai_conversation_id?: string | undefined;
|
|
5376
5381
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
5377
5382
|
} | undefined;
|
|
5378
|
-
anomaly_flags?: {
|
|
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";
|
|
5380
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
5381
|
-
detail?: string | undefined;
|
|
5382
|
-
}[] | undefined;
|
|
5383
5383
|
}>;
|
|
5384
5384
|
}, "strict", z.ZodTypeAny, {
|
|
5385
5385
|
type: "event";
|
|
5386
5386
|
event: {
|
|
5387
|
+
prev_event_hash_intent: string;
|
|
5387
5388
|
run_id: string;
|
|
5388
5389
|
event_id: string;
|
|
5389
5390
|
schema_version: string;
|
|
@@ -5395,7 +5396,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5395
5396
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
5396
5397
|
sdk: {
|
|
5397
5398
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
5398
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
5399
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
5399
5400
|
version: string;
|
|
5400
5401
|
framework_version?: string | undefined;
|
|
5401
5402
|
adapter?: string | undefined;
|
|
@@ -5415,7 +5416,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5415
5416
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
5416
5417
|
duration_ms?: number | undefined;
|
|
5417
5418
|
};
|
|
5418
|
-
|
|
5419
|
+
anomaly_flags?: {
|
|
5420
|
+
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
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
5422
|
+
detail?: string | undefined;
|
|
5423
|
+
}[] | undefined;
|
|
5419
5424
|
decision?: {
|
|
5420
5425
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
5421
5426
|
outcome_label?: string | undefined;
|
|
@@ -5512,15 +5517,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5512
5517
|
gen_ai_conversation_id?: string | undefined;
|
|
5513
5518
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
5514
5519
|
} | undefined;
|
|
5515
|
-
anomaly_flags?: {
|
|
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";
|
|
5517
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
5518
|
-
detail?: string | undefined;
|
|
5519
|
-
}[] | undefined;
|
|
5520
5520
|
};
|
|
5521
5521
|
}, {
|
|
5522
5522
|
type: "event";
|
|
5523
5523
|
event: {
|
|
5524
|
+
prev_event_hash_intent: string;
|
|
5524
5525
|
run_id: string;
|
|
5525
5526
|
event_id: string;
|
|
5526
5527
|
schema_version: string;
|
|
@@ -5532,7 +5533,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5532
5533
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
5533
5534
|
sdk: {
|
|
5534
5535
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
5535
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
5536
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
5536
5537
|
version: string;
|
|
5537
5538
|
framework_version?: string | undefined;
|
|
5538
5539
|
adapter?: string | undefined;
|
|
@@ -5552,7 +5553,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5552
5553
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
5553
5554
|
duration_ms?: number | undefined;
|
|
5554
5555
|
};
|
|
5555
|
-
|
|
5556
|
+
anomaly_flags?: {
|
|
5557
|
+
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";
|
|
5558
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
5559
|
+
detail?: string | undefined;
|
|
5560
|
+
}[] | undefined;
|
|
5556
5561
|
decision?: {
|
|
5557
5562
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
5558
5563
|
outcome_label?: string | undefined;
|
|
@@ -5649,11 +5654,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5649
5654
|
gen_ai_conversation_id?: string | undefined;
|
|
5650
5655
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
5651
5656
|
} | undefined;
|
|
5652
|
-
anomaly_flags?: {
|
|
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";
|
|
5654
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
5655
|
-
detail?: string | undefined;
|
|
5656
|
-
}[] | undefined;
|
|
5657
5657
|
};
|
|
5658
5658
|
}>]>, "many">;
|
|
5659
5659
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -5667,6 +5667,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5667
5667
|
lifecycle_state: "active";
|
|
5668
5668
|
started_at: string;
|
|
5669
5669
|
redaction_policy_version: string;
|
|
5670
|
+
prev_event_hash_intent?: string | undefined;
|
|
5670
5671
|
conversation_id?: string | undefined;
|
|
5671
5672
|
delegated_from?: {
|
|
5672
5673
|
run_id: string;
|
|
@@ -5693,13 +5694,12 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5693
5694
|
regulatory_scope_version?: string | undefined;
|
|
5694
5695
|
sdk_at_start?: {
|
|
5695
5696
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
5696
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
5697
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
5697
5698
|
version: string;
|
|
5698
5699
|
framework_version?: string | undefined;
|
|
5699
5700
|
adapter?: string | undefined;
|
|
5700
5701
|
host?: string | undefined;
|
|
5701
5702
|
} | undefined;
|
|
5702
|
-
prev_event_hash_intent?: string | undefined;
|
|
5703
5703
|
};
|
|
5704
5704
|
} | {
|
|
5705
5705
|
type: "run_update";
|
|
@@ -5715,6 +5715,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5715
5715
|
} | {
|
|
5716
5716
|
type: "event";
|
|
5717
5717
|
event: {
|
|
5718
|
+
prev_event_hash_intent: string;
|
|
5718
5719
|
run_id: string;
|
|
5719
5720
|
event_id: string;
|
|
5720
5721
|
schema_version: string;
|
|
@@ -5726,7 +5727,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5726
5727
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
5727
5728
|
sdk: {
|
|
5728
5729
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
5729
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
5730
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
5730
5731
|
version: string;
|
|
5731
5732
|
framework_version?: string | undefined;
|
|
5732
5733
|
adapter?: string | undefined;
|
|
@@ -5746,7 +5747,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5746
5747
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
5747
5748
|
duration_ms?: number | undefined;
|
|
5748
5749
|
};
|
|
5749
|
-
|
|
5750
|
+
anomaly_flags?: {
|
|
5751
|
+
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";
|
|
5752
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
5753
|
+
detail?: string | undefined;
|
|
5754
|
+
}[] | undefined;
|
|
5750
5755
|
decision?: {
|
|
5751
5756
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
5752
5757
|
outcome_label?: string | undefined;
|
|
@@ -5843,11 +5848,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5843
5848
|
gen_ai_conversation_id?: string | undefined;
|
|
5844
5849
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
5845
5850
|
} | undefined;
|
|
5846
|
-
anomaly_flags?: {
|
|
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";
|
|
5848
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
5849
|
-
detail?: string | undefined;
|
|
5850
|
-
}[] | undefined;
|
|
5851
5851
|
};
|
|
5852
5852
|
})[];
|
|
5853
5853
|
}, {
|
|
@@ -5861,6 +5861,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5861
5861
|
lifecycle_state: "active";
|
|
5862
5862
|
started_at: string;
|
|
5863
5863
|
redaction_policy_version: string;
|
|
5864
|
+
prev_event_hash_intent?: string | undefined;
|
|
5864
5865
|
conversation_id?: string | undefined;
|
|
5865
5866
|
delegated_from?: {
|
|
5866
5867
|
run_id: string;
|
|
@@ -5887,13 +5888,12 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5887
5888
|
regulatory_scope_version?: string | undefined;
|
|
5888
5889
|
sdk_at_start?: {
|
|
5889
5890
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
5890
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
5891
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
5891
5892
|
version: string;
|
|
5892
5893
|
framework_version?: string | undefined;
|
|
5893
5894
|
adapter?: string | undefined;
|
|
5894
5895
|
host?: string | undefined;
|
|
5895
5896
|
} | undefined;
|
|
5896
|
-
prev_event_hash_intent?: string | undefined;
|
|
5897
5897
|
};
|
|
5898
5898
|
} | {
|
|
5899
5899
|
type: "run_update";
|
|
@@ -5909,6 +5909,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5909
5909
|
} | {
|
|
5910
5910
|
type: "event";
|
|
5911
5911
|
event: {
|
|
5912
|
+
prev_event_hash_intent: string;
|
|
5912
5913
|
run_id: string;
|
|
5913
5914
|
event_id: string;
|
|
5914
5915
|
schema_version: string;
|
|
@@ -5920,7 +5921,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5920
5921
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
5921
5922
|
sdk: {
|
|
5922
5923
|
framework: "langgraph" | "openai_agents" | "claude_agent_sdk" | "vercel_ai_sdk" | "manual" | "langgraph_js" | "openai_agents_js" | "anthropic_claude" | "anthropic_claude_js" | "mastra" | "pydantic_ai" | "crewai" | "mcp_client" | "otel_generic";
|
|
5923
|
-
name: "runfile-py" | "@runfile/sdk";
|
|
5924
|
+
name: "runfile-py" | "@runfile/sdk" | "runfile-ai" | "@runfile-ai/sdk";
|
|
5924
5925
|
version: string;
|
|
5925
5926
|
framework_version?: string | undefined;
|
|
5926
5927
|
adapter?: string | undefined;
|
|
@@ -5940,7 +5941,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5940
5941
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
5941
5942
|
duration_ms?: number | undefined;
|
|
5942
5943
|
};
|
|
5943
|
-
|
|
5944
|
+
anomaly_flags?: {
|
|
5945
|
+
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";
|
|
5946
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
5947
|
+
detail?: string | undefined;
|
|
5948
|
+
}[] | undefined;
|
|
5944
5949
|
decision?: {
|
|
5945
5950
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
5946
5951
|
outcome_label?: string | undefined;
|
|
@@ -6037,11 +6042,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
6037
6042
|
gen_ai_conversation_id?: string | undefined;
|
|
6038
6043
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
6039
6044
|
} | undefined;
|
|
6040
|
-
anomaly_flags?: {
|
|
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";
|
|
6042
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
6043
|
-
detail?: string | undefined;
|
|
6044
|
-
}[] | undefined;
|
|
6045
6045
|
};
|
|
6046
6046
|
})[];
|
|
6047
6047
|
}>;
|