@agent-os-sdk/client 0.9.20 → 0.9.21

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.
@@ -33,6 +33,42 @@ export interface MetaAgentPatchProposal {
33
33
  ops: MetaAgentPatchOp[];
34
34
  }
35
35
 
36
+ export interface MetaAgentDiffPreview {
37
+ added_node_ids: string[];
38
+ removed_node_ids: string[];
39
+ updated_node_ids: string[];
40
+ added_edge_ids: string[];
41
+ removed_edge_ids: string[];
42
+ entrypoint_changed: boolean;
43
+ before_entrypoint?: string | null;
44
+ after_entrypoint?: string | null;
45
+ }
46
+
47
+ export interface MetaAgentBlastRadiusCredentialImpact {
48
+ required_credential: string;
49
+ status: "bound" | "missing";
50
+ binding_key?: string | null;
51
+ credential_instance_ref?: string | null;
52
+ credential_name?: string | null;
53
+ }
54
+
55
+ export interface MetaAgentBlastRadius {
56
+ affected_node_ids: string[];
57
+ affected_edge_ids: string[];
58
+ added_capabilities: string[];
59
+ removed_capabilities: string[];
60
+ changed_capabilities: string[];
61
+ impacted_credentials: MetaAgentBlastRadiusCredentialImpact[];
62
+ warnings: MetaAgentPreviewValidationIssue[];
63
+ }
64
+
65
+ export interface MetaAgentValidationResult {
66
+ valid: boolean;
67
+ preview_valid: boolean;
68
+ errors: MetaAgentPatchValidationIssue[];
69
+ warnings: MetaAgentPreviewValidationIssue[];
70
+ }
71
+
36
72
  export interface MetaAgentPatchProposalResponse {
37
73
  agent_id: string;
38
74
  draft_revision?: string | null;
@@ -41,11 +77,9 @@ export interface MetaAgentPatchProposalResponse {
41
77
  mode?: "chat" | "proposal";
42
78
  patch?: MetaAgentPatchProposal | null;
43
79
  preview_draft_ir?: Record<string, unknown> | null;
44
- preview_valid: boolean;
45
- preview_errors: MetaAgentPreviewValidationIssue[];
46
- preview_warnings: MetaAgentPreviewValidationIssue[];
47
- valid: boolean;
48
- errors: MetaAgentPatchValidationIssue[];
80
+ diff_preview?: MetaAgentDiffPreview | null;
81
+ blast_radius?: MetaAgentBlastRadius | null;
82
+ validation_result: MetaAgentValidationResult;
49
83
  message: string;
50
84
  }
51
85