@agen-ai/agent-protocol 0.2.4 → 0.3.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.
Files changed (90) hide show
  1. package/README.md +57 -13
  2. package/dist/accountQuota/index.d.ts +3 -0
  3. package/dist/accountQuota/index.js +2 -0
  4. package/dist/accountQuota/parsers.d.ts +7 -0
  5. package/dist/accountQuota/parsers.js +20 -0
  6. package/dist/accountQuota/types.d.ts +89 -0
  7. package/dist/accountQuota/types.js +12 -0
  8. package/dist/capabilities/contentReferenceText.d.ts +13 -0
  9. package/dist/capabilities/contentReferenceText.js +25 -0
  10. package/dist/capabilities/index.d.ts +1 -0
  11. package/dist/capabilities/index.js +1 -0
  12. package/dist/capabilities/types.d.ts +19 -1
  13. package/dist/capabilities/types.js +6 -0
  14. package/dist/commands/index.d.ts +3 -0
  15. package/dist/commands/index.js +2 -0
  16. package/dist/commands/parsers.d.ts +7 -0
  17. package/dist/commands/parsers.js +23 -0
  18. package/dist/commands/types.d.ts +26 -0
  19. package/dist/commands/types.js +10 -0
  20. package/dist/effectiveContent/index.d.ts +3 -0
  21. package/dist/effectiveContent/index.js +2 -0
  22. package/dist/effectiveContent/parsers.d.ts +7 -0
  23. package/dist/effectiveContent/parsers.js +23 -0
  24. package/dist/effectiveContent/types.d.ts +35 -0
  25. package/dist/effectiveContent/types.js +19 -0
  26. package/dist/environment/facts.d.ts +28 -0
  27. package/dist/environment/facts.js +39 -0
  28. package/dist/environment/index.d.ts +4 -0
  29. package/dist/environment/index.js +3 -0
  30. package/dist/environment/parsers.d.ts +17 -0
  31. package/dist/environment/parsers.js +68 -0
  32. package/dist/environment/types.d.ts +61 -0
  33. package/dist/environment/types.js +26 -0
  34. package/dist/events/types.d.ts +1 -1
  35. package/dist/extensions/index.d.ts +3 -0
  36. package/dist/extensions/index.js +2 -0
  37. package/dist/extensions/parsers.d.ts +7 -0
  38. package/dist/extensions/parsers.js +23 -0
  39. package/dist/extensions/types.d.ts +73 -0
  40. package/dist/extensions/types.js +30 -0
  41. package/dist/foundation/parsers.d.ts +9 -1
  42. package/dist/foundation/parsers.js +24 -0
  43. package/dist/foundation/types.d.ts +5 -1
  44. package/dist/foundation/types.js +1 -1
  45. package/dist/integrations/types.d.ts +22 -4
  46. package/dist/integrations/types.js +6 -2
  47. package/dist/jsonSchema/generated.d.ts +9893 -5474
  48. package/dist/jsonSchema/generated.js +3097 -154
  49. package/dist/public/accountQuota.d.ts +2 -0
  50. package/dist/public/accountQuota.js +1 -0
  51. package/dist/public/commands.d.ts +2 -0
  52. package/dist/public/commands.js +1 -0
  53. package/dist/public/effectiveContent.d.ts +2 -0
  54. package/dist/public/effectiveContent.js +1 -0
  55. package/dist/public/environment.d.ts +2 -0
  56. package/dist/public/environment.js +1 -0
  57. package/dist/public/extensions.d.ts +2 -0
  58. package/dist/public/extensions.js +1 -0
  59. package/dist/public/index.d.ts +5 -0
  60. package/dist/public/index.js +5 -0
  61. package/dist/turns/parsers.d.ts +3 -1
  62. package/dist/turns/parsers.js +9 -0
  63. package/dist/turns/types.d.ts +13 -2
  64. package/dist/turns/types.js +4 -0
  65. package/dist/zod/accountQuota.d.ts +265 -0
  66. package/dist/zod/accountQuota.js +155 -0
  67. package/dist/zod/capabilities.d.ts +79 -1
  68. package/dist/zod/capabilities.js +21 -5
  69. package/dist/zod/commands.d.ts +35 -0
  70. package/dist/zod/commands.js +114 -0
  71. package/dist/zod/effectiveContent.d.ts +72 -0
  72. package/dist/zod/effectiveContent.js +157 -0
  73. package/dist/zod/environment.d.ts +531 -0
  74. package/dist/zod/environment.js +336 -0
  75. package/dist/zod/environmentFacts.d.ts +10 -0
  76. package/dist/zod/environmentFacts.js +40 -0
  77. package/dist/zod/events.d.ts +23 -23
  78. package/dist/zod/extensions.d.ts +161 -0
  79. package/dist/zod/extensions.js +194 -0
  80. package/dist/zod/foundation.d.ts +6 -1
  81. package/dist/zod/foundation.js +12 -3
  82. package/dist/zod/index.d.ts +10 -4
  83. package/dist/zod/index.js +22 -2
  84. package/dist/zod/integrations.d.ts +54 -9
  85. package/dist/zod/integrations.js +49 -6
  86. package/dist/zod/resources.d.ts +2 -2
  87. package/dist/zod/turns.d.ts +33 -0
  88. package/dist/zod/turns.js +34 -1
  89. package/dist/zod/typeEquality.generated.d.ts +40 -4
  90. package/package.json +23 -3
@@ -0,0 +1,531 @@
1
+ import { z } from 'zod/v4';
2
+ import { type AgentCommandId, type AgentEffectiveContentId } from '../foundation/types.js';
3
+ import type { AgentEnvironmentCapability, AgentEnvironmentCommandsResult, AgentEnvironmentContentResult, AgentEnvironmentExtensionsResult, AgentEnvironmentIntegrationsResult, AgentEnvironmentInvalidation, AgentEnvironmentSnapshot } from '../environment/types.js';
4
+ export declare const AgentEnvironmentContentResultPortableSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
5
+ kind: z.ZodLiteral<"available">;
6
+ extent: z.ZodEnum<{
7
+ session: "session";
8
+ workspace_discovery: "workspace_discovery";
9
+ }>;
10
+ completeness: z.ZodEnum<{
11
+ complete: "complete";
12
+ partial: "partial";
13
+ }>;
14
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
15
+ catalog: z.ZodReadonly<z.ZodObject<{
16
+ revision: z.ZodNumber;
17
+ observedAt: z.ZodType<import("../index.js").AgentIsoDateTime, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIsoDateTime, unknown>>;
18
+ content: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
19
+ contentId: z.ZodType<AgentEffectiveContentId, unknown, z.core.$ZodTypeInternals<AgentEffectiveContentId, unknown>>;
20
+ revision: z.ZodNumber;
21
+ kind: z.ZodEnum<{
22
+ prompt: "prompt";
23
+ skill: "skill";
24
+ rule: "rule";
25
+ agent_definition: "agent_definition";
26
+ }>;
27
+ name: z.ZodString;
28
+ summary: z.ZodOptional<z.ZodString>;
29
+ source: z.ZodType<import("../index.js").AgentEnvironmentSource, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentEnvironmentSource, unknown>>;
30
+ registration: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
31
+ enablement: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
32
+ invocation: z.ZodType<"unknown" | "unavailable" | "user_and_model" | "user_only" | "model_only", unknown, z.core.$ZodTypeInternals<"unknown" | "unavailable" | "user_and_model" | "user_only" | "model_only", unknown>>;
33
+ modelCallability: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
34
+ extension: z.ZodOptional<z.ZodType<import("../index.js").AgentQualifiedExtensionReference, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentQualifiedExtensionReference, unknown>>>;
35
+ agentDefinition: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
36
+ mode: z.ZodEnum<{
37
+ unknown: "unknown";
38
+ primary: "primary";
39
+ subagent: "subagent";
40
+ all: "all";
41
+ }>;
42
+ hidden: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
43
+ }, z.core.$strict>>>;
44
+ }, z.core.$strict>>>>;
45
+ }, z.core.$strict>>;
46
+ }, z.core.$strict>>, z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
47
+ kind: z.ZodLiteral<"unsupported">;
48
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
49
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
50
+ kind: z.ZodLiteral<"not_initialized">;
51
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
52
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
53
+ kind: z.ZodLiteral<"unavailable">;
54
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
55
+ }, z.core.$strict>>], "kind">]>;
56
+ export declare const AgentEnvironmentCommandsResultPortableSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
57
+ kind: z.ZodLiteral<"available">;
58
+ extent: z.ZodEnum<{
59
+ session: "session";
60
+ workspace_discovery: "workspace_discovery";
61
+ }>;
62
+ completeness: z.ZodEnum<{
63
+ complete: "complete";
64
+ partial: "partial";
65
+ }>;
66
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
67
+ catalog: z.ZodReadonly<z.ZodObject<{
68
+ revision: z.ZodNumber;
69
+ observedAt: z.ZodType<import("../index.js").AgentIsoDateTime, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIsoDateTime, unknown>>;
70
+ commands: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
71
+ commandId: z.ZodType<AgentCommandId, unknown, z.core.$ZodTypeInternals<AgentCommandId, unknown>>;
72
+ revision: z.ZodNumber;
73
+ name: z.ZodString;
74
+ summary: z.ZodOptional<z.ZodString>;
75
+ source: z.ZodType<import("../index.js").AgentEnvironmentSource, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentEnvironmentSource, unknown>>;
76
+ availability: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
77
+ operation: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
78
+ operationId: z.ZodType<import("../index.js").AgentOperationId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentOperationId, unknown>>;
79
+ revision: z.ZodNumber;
80
+ catalogRevision: z.ZodNumber;
81
+ }, z.core.$strict>>>;
82
+ }, z.core.$strict>>>>;
83
+ }, z.core.$strict>>;
84
+ }, z.core.$strict>>, z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
85
+ kind: z.ZodLiteral<"unsupported">;
86
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
87
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
88
+ kind: z.ZodLiteral<"not_initialized">;
89
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
90
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
91
+ kind: z.ZodLiteral<"unavailable">;
92
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
93
+ }, z.core.$strict>>], "kind">]>;
94
+ export declare const AgentEnvironmentExtensionsResultPortableSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
95
+ kind: z.ZodLiteral<"available">;
96
+ extent: z.ZodEnum<{
97
+ session: "session";
98
+ workspace_discovery: "workspace_discovery";
99
+ }>;
100
+ completeness: z.ZodEnum<{
101
+ complete: "complete";
102
+ partial: "partial";
103
+ }>;
104
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
105
+ catalog: z.ZodReadonly<z.ZodObject<{
106
+ revision: z.ZodNumber;
107
+ observedAt: z.ZodType<import("../index.js").AgentIsoDateTime, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIsoDateTime, unknown>>;
108
+ extensions: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
109
+ extensionId: z.ZodType<import("../index.js").AgentExtensionId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentExtensionId, unknown>>;
110
+ revision: z.ZodNumber;
111
+ name: z.ZodString;
112
+ summary: z.ZodOptional<z.ZodString>;
113
+ version: z.ZodOptional<z.ZodString>;
114
+ installation: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
115
+ enablement: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
116
+ source: z.ZodType<import("../index.js").AgentEnvironmentSource, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentEnvironmentSource, unknown>>;
117
+ components: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
118
+ kind: z.ZodEnum<{
119
+ prompt: "prompt";
120
+ skill: "skill";
121
+ rule: "rule";
122
+ agent_definition: "agent_definition";
123
+ }>;
124
+ name: z.ZodString;
125
+ target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
126
+ domain: z.ZodLiteral<"content">;
127
+ id: z.ZodType<AgentEffectiveContentId, unknown, z.core.$ZodTypeInternals<AgentEffectiveContentId, unknown>>;
128
+ revision: z.ZodNumber;
129
+ catalogRevision: z.ZodNumber;
130
+ }, z.core.$strict>>>;
131
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
132
+ kind: z.ZodLiteral<"command">;
133
+ name: z.ZodString;
134
+ target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
135
+ domain: z.ZodLiteral<"commands">;
136
+ id: z.ZodType<AgentCommandId, unknown, z.core.$ZodTypeInternals<AgentCommandId, unknown>>;
137
+ revision: z.ZodNumber;
138
+ catalogRevision: z.ZodNumber;
139
+ }, z.core.$strict>>>;
140
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
141
+ kind: z.ZodEnum<{
142
+ mcp_server: "mcp_server";
143
+ connector: "connector";
144
+ }>;
145
+ name: z.ZodString;
146
+ target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
147
+ domain: z.ZodLiteral<"integrations">;
148
+ id: z.ZodType<import("../index.js").AgentIntegrationId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationId, unknown>>;
149
+ revision: z.ZodNumber;
150
+ catalogRevision: z.ZodNumber;
151
+ }, z.core.$strict>>>;
152
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
153
+ kind: z.ZodEnum<{
154
+ other: "other";
155
+ hook: "hook";
156
+ lsp_server: "lsp_server";
157
+ scheduled_task: "scheduled_task";
158
+ }>;
159
+ name: z.ZodString;
160
+ }, z.core.$strict>>], "kind">>>;
161
+ }, z.core.$strict>>>>;
162
+ }, z.core.$strict>>;
163
+ }, z.core.$strict>>, z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
164
+ kind: z.ZodLiteral<"unsupported">;
165
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
166
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
167
+ kind: z.ZodLiteral<"not_initialized">;
168
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
169
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
170
+ kind: z.ZodLiteral<"unavailable">;
171
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
172
+ }, z.core.$strict>>], "kind">]>;
173
+ export declare const AgentEnvironmentIntegrationsResultPortableSchema: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
174
+ kind: z.ZodLiteral<"available">;
175
+ extent: z.ZodEnum<{
176
+ session: "session";
177
+ workspace_discovery: "workspace_discovery";
178
+ }>;
179
+ completeness: z.ZodEnum<{
180
+ complete: "complete";
181
+ partial: "partial";
182
+ }>;
183
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
184
+ catalog: z.ZodReadonly<z.ZodObject<{
185
+ revision: z.ZodNumber;
186
+ observedAt: z.ZodType<import("../index.js").AgentIsoDateTime, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIsoDateTime, unknown>>;
187
+ integrations: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
188
+ integrationId: z.ZodType<import("../index.js").AgentIntegrationId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationId, unknown>>;
189
+ revision: z.ZodNumber;
190
+ kind: z.ZodLiteral<"mcp">;
191
+ name: z.ZodString;
192
+ status: z.ZodEnum<{
193
+ unavailable: "unavailable";
194
+ starting: "starting";
195
+ ready: "ready";
196
+ degraded: "degraded";
197
+ }>;
198
+ servers: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
199
+ serverId: z.ZodType<import("../index.js").AgentIntegrationServerId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationServerId, unknown>>;
200
+ name: z.ZodString;
201
+ status: z.ZodEnum<{
202
+ unavailable: "unavailable";
203
+ starting: "starting";
204
+ ready: "ready";
205
+ degraded: "degraded";
206
+ }>;
207
+ tools: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
208
+ toolId: z.ZodType<import("../index.js").AgentIntegrationToolId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationToolId, unknown>>;
209
+ name: z.ZodString;
210
+ description: z.ZodOptional<z.ZodString>;
211
+ }, z.core.$strict>>>>;
212
+ resources: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
213
+ resourceId: z.ZodType<import("../index.js").AgentIntegrationResourceId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationResourceId, unknown>>;
214
+ name: z.ZodString;
215
+ description: z.ZodOptional<z.ZodString>;
216
+ mediaType: z.ZodOptional<z.ZodString>;
217
+ }, z.core.$strict>>>>;
218
+ }, z.core.$strict>>>>;
219
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
220
+ integrationId: z.ZodType<import("../index.js").AgentIntegrationId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationId, unknown>>;
221
+ revision: z.ZodNumber;
222
+ kind: z.ZodLiteral<"connector">;
223
+ name: z.ZodString;
224
+ description: z.ZodOptional<z.ZodString>;
225
+ source: z.ZodType<import("../index.js").AgentEnvironmentSource, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentEnvironmentSource, unknown>>;
226
+ installation: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
227
+ enablement: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
228
+ authentication: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
229
+ health: z.ZodEnum<{
230
+ unavailable: "unavailable";
231
+ starting: "starting";
232
+ ready: "ready";
233
+ degraded: "degraded";
234
+ }>;
235
+ callability: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
236
+ tools: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
237
+ toolId: z.ZodType<import("../index.js").AgentIntegrationToolId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationToolId, unknown>>;
238
+ name: z.ZodString;
239
+ description: z.ZodOptional<z.ZodString>;
240
+ }, z.core.$strict>>>>>;
241
+ }, z.core.$strict>>], "kind">>>;
242
+ }, z.core.$strict>>;
243
+ }, z.core.$strict>>, z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
244
+ kind: z.ZodLiteral<"unsupported">;
245
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
246
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
247
+ kind: z.ZodLiteral<"not_initialized">;
248
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
249
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
250
+ kind: z.ZodLiteral<"unavailable">;
251
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
252
+ }, z.core.$strict>>], "kind">]>;
253
+ export declare const AgentEnvironmentContentResultSchema: z.ZodType<AgentEnvironmentContentResult>;
254
+ export declare const AgentEnvironmentCommandsResultSchema: z.ZodType<AgentEnvironmentCommandsResult>;
255
+ export declare const AgentEnvironmentExtensionsResultSchema: z.ZodType<AgentEnvironmentExtensionsResult>;
256
+ export declare const AgentEnvironmentIntegrationsResultSchema: z.ZodType<AgentEnvironmentIntegrationsResult>;
257
+ export declare const AgentEnvironmentSnapshotPortableSchema: z.ZodReadonly<z.ZodObject<{
258
+ schemaVersion: z.ZodLiteral<1>;
259
+ environmentId: z.ZodType<import("../index.js").AgentEnvironmentId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentEnvironmentId, unknown>>;
260
+ revision: z.ZodNumber;
261
+ content: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
262
+ kind: z.ZodLiteral<"available">;
263
+ extent: z.ZodEnum<{
264
+ session: "session";
265
+ workspace_discovery: "workspace_discovery";
266
+ }>;
267
+ completeness: z.ZodEnum<{
268
+ complete: "complete";
269
+ partial: "partial";
270
+ }>;
271
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
272
+ catalog: z.ZodReadonly<z.ZodObject<{
273
+ revision: z.ZodNumber;
274
+ observedAt: z.ZodType<import("../index.js").AgentIsoDateTime, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIsoDateTime, unknown>>;
275
+ content: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
276
+ contentId: z.ZodType<AgentEffectiveContentId, unknown, z.core.$ZodTypeInternals<AgentEffectiveContentId, unknown>>;
277
+ revision: z.ZodNumber;
278
+ kind: z.ZodEnum<{
279
+ prompt: "prompt";
280
+ skill: "skill";
281
+ rule: "rule";
282
+ agent_definition: "agent_definition";
283
+ }>;
284
+ name: z.ZodString;
285
+ summary: z.ZodOptional<z.ZodString>;
286
+ source: z.ZodType<import("../index.js").AgentEnvironmentSource, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentEnvironmentSource, unknown>>;
287
+ registration: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
288
+ enablement: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
289
+ invocation: z.ZodType<"unknown" | "unavailable" | "user_and_model" | "user_only" | "model_only", unknown, z.core.$ZodTypeInternals<"unknown" | "unavailable" | "user_and_model" | "user_only" | "model_only", unknown>>;
290
+ modelCallability: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
291
+ extension: z.ZodOptional<z.ZodType<import("../index.js").AgentQualifiedExtensionReference, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentQualifiedExtensionReference, unknown>>>;
292
+ agentDefinition: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
293
+ mode: z.ZodEnum<{
294
+ unknown: "unknown";
295
+ primary: "primary";
296
+ subagent: "subagent";
297
+ all: "all";
298
+ }>;
299
+ hidden: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
300
+ }, z.core.$strict>>>;
301
+ }, z.core.$strict>>>>;
302
+ }, z.core.$strict>>;
303
+ }, z.core.$strict>>, z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
304
+ kind: z.ZodLiteral<"unsupported">;
305
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
306
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
307
+ kind: z.ZodLiteral<"not_initialized">;
308
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
309
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
310
+ kind: z.ZodLiteral<"unavailable">;
311
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
312
+ }, z.core.$strict>>], "kind">]>;
313
+ commands: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
314
+ kind: z.ZodLiteral<"available">;
315
+ extent: z.ZodEnum<{
316
+ session: "session";
317
+ workspace_discovery: "workspace_discovery";
318
+ }>;
319
+ completeness: z.ZodEnum<{
320
+ complete: "complete";
321
+ partial: "partial";
322
+ }>;
323
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
324
+ catalog: z.ZodReadonly<z.ZodObject<{
325
+ revision: z.ZodNumber;
326
+ observedAt: z.ZodType<import("../index.js").AgentIsoDateTime, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIsoDateTime, unknown>>;
327
+ commands: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
328
+ commandId: z.ZodType<AgentCommandId, unknown, z.core.$ZodTypeInternals<AgentCommandId, unknown>>;
329
+ revision: z.ZodNumber;
330
+ name: z.ZodString;
331
+ summary: z.ZodOptional<z.ZodString>;
332
+ source: z.ZodType<import("../index.js").AgentEnvironmentSource, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentEnvironmentSource, unknown>>;
333
+ availability: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
334
+ operation: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
335
+ operationId: z.ZodType<import("../index.js").AgentOperationId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentOperationId, unknown>>;
336
+ revision: z.ZodNumber;
337
+ catalogRevision: z.ZodNumber;
338
+ }, z.core.$strict>>>;
339
+ }, z.core.$strict>>>>;
340
+ }, z.core.$strict>>;
341
+ }, z.core.$strict>>, z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
342
+ kind: z.ZodLiteral<"unsupported">;
343
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
344
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
345
+ kind: z.ZodLiteral<"not_initialized">;
346
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
347
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
348
+ kind: z.ZodLiteral<"unavailable">;
349
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
350
+ }, z.core.$strict>>], "kind">]>;
351
+ extensions: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
352
+ kind: z.ZodLiteral<"available">;
353
+ extent: z.ZodEnum<{
354
+ session: "session";
355
+ workspace_discovery: "workspace_discovery";
356
+ }>;
357
+ completeness: z.ZodEnum<{
358
+ complete: "complete";
359
+ partial: "partial";
360
+ }>;
361
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
362
+ catalog: z.ZodReadonly<z.ZodObject<{
363
+ revision: z.ZodNumber;
364
+ observedAt: z.ZodType<import("../index.js").AgentIsoDateTime, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIsoDateTime, unknown>>;
365
+ extensions: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
366
+ extensionId: z.ZodType<import("../index.js").AgentExtensionId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentExtensionId, unknown>>;
367
+ revision: z.ZodNumber;
368
+ name: z.ZodString;
369
+ summary: z.ZodOptional<z.ZodString>;
370
+ version: z.ZodOptional<z.ZodString>;
371
+ installation: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
372
+ enablement: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
373
+ source: z.ZodType<import("../index.js").AgentEnvironmentSource, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentEnvironmentSource, unknown>>;
374
+ components: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
375
+ kind: z.ZodEnum<{
376
+ prompt: "prompt";
377
+ skill: "skill";
378
+ rule: "rule";
379
+ agent_definition: "agent_definition";
380
+ }>;
381
+ name: z.ZodString;
382
+ target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
383
+ domain: z.ZodLiteral<"content">;
384
+ id: z.ZodType<AgentEffectiveContentId, unknown, z.core.$ZodTypeInternals<AgentEffectiveContentId, unknown>>;
385
+ revision: z.ZodNumber;
386
+ catalogRevision: z.ZodNumber;
387
+ }, z.core.$strict>>>;
388
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
389
+ kind: z.ZodLiteral<"command">;
390
+ name: z.ZodString;
391
+ target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
392
+ domain: z.ZodLiteral<"commands">;
393
+ id: z.ZodType<AgentCommandId, unknown, z.core.$ZodTypeInternals<AgentCommandId, unknown>>;
394
+ revision: z.ZodNumber;
395
+ catalogRevision: z.ZodNumber;
396
+ }, z.core.$strict>>>;
397
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
398
+ kind: z.ZodEnum<{
399
+ mcp_server: "mcp_server";
400
+ connector: "connector";
401
+ }>;
402
+ name: z.ZodString;
403
+ target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
404
+ domain: z.ZodLiteral<"integrations">;
405
+ id: z.ZodType<import("../index.js").AgentIntegrationId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationId, unknown>>;
406
+ revision: z.ZodNumber;
407
+ catalogRevision: z.ZodNumber;
408
+ }, z.core.$strict>>>;
409
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
410
+ kind: z.ZodEnum<{
411
+ other: "other";
412
+ hook: "hook";
413
+ lsp_server: "lsp_server";
414
+ scheduled_task: "scheduled_task";
415
+ }>;
416
+ name: z.ZodString;
417
+ }, z.core.$strict>>], "kind">>>;
418
+ }, z.core.$strict>>>>;
419
+ }, z.core.$strict>>;
420
+ }, z.core.$strict>>, z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
421
+ kind: z.ZodLiteral<"unsupported">;
422
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
423
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
424
+ kind: z.ZodLiteral<"not_initialized">;
425
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
426
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
427
+ kind: z.ZodLiteral<"unavailable">;
428
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
429
+ }, z.core.$strict>>], "kind">]>;
430
+ integrations: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
431
+ kind: z.ZodLiteral<"available">;
432
+ extent: z.ZodEnum<{
433
+ session: "session";
434
+ workspace_discovery: "workspace_discovery";
435
+ }>;
436
+ completeness: z.ZodEnum<{
437
+ complete: "complete";
438
+ partial: "partial";
439
+ }>;
440
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
441
+ catalog: z.ZodReadonly<z.ZodObject<{
442
+ revision: z.ZodNumber;
443
+ observedAt: z.ZodType<import("../index.js").AgentIsoDateTime, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIsoDateTime, unknown>>;
444
+ integrations: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
445
+ integrationId: z.ZodType<import("../index.js").AgentIntegrationId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationId, unknown>>;
446
+ revision: z.ZodNumber;
447
+ kind: z.ZodLiteral<"mcp">;
448
+ name: z.ZodString;
449
+ status: z.ZodEnum<{
450
+ unavailable: "unavailable";
451
+ starting: "starting";
452
+ ready: "ready";
453
+ degraded: "degraded";
454
+ }>;
455
+ servers: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
456
+ serverId: z.ZodType<import("../index.js").AgentIntegrationServerId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationServerId, unknown>>;
457
+ name: z.ZodString;
458
+ status: z.ZodEnum<{
459
+ unavailable: "unavailable";
460
+ starting: "starting";
461
+ ready: "ready";
462
+ degraded: "degraded";
463
+ }>;
464
+ tools: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
465
+ toolId: z.ZodType<import("../index.js").AgentIntegrationToolId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationToolId, unknown>>;
466
+ name: z.ZodString;
467
+ description: z.ZodOptional<z.ZodString>;
468
+ }, z.core.$strict>>>>;
469
+ resources: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
470
+ resourceId: z.ZodType<import("../index.js").AgentIntegrationResourceId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationResourceId, unknown>>;
471
+ name: z.ZodString;
472
+ description: z.ZodOptional<z.ZodString>;
473
+ mediaType: z.ZodOptional<z.ZodString>;
474
+ }, z.core.$strict>>>>;
475
+ }, z.core.$strict>>>>;
476
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
477
+ integrationId: z.ZodType<import("../index.js").AgentIntegrationId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationId, unknown>>;
478
+ revision: z.ZodNumber;
479
+ kind: z.ZodLiteral<"connector">;
480
+ name: z.ZodString;
481
+ description: z.ZodOptional<z.ZodString>;
482
+ source: z.ZodType<import("../index.js").AgentEnvironmentSource, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentEnvironmentSource, unknown>>;
483
+ installation: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
484
+ enablement: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
485
+ authentication: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
486
+ health: z.ZodEnum<{
487
+ unavailable: "unavailable";
488
+ starting: "starting";
489
+ ready: "ready";
490
+ degraded: "degraded";
491
+ }>;
492
+ callability: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
493
+ tools: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
494
+ toolId: z.ZodType<import("../index.js").AgentIntegrationToolId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationToolId, unknown>>;
495
+ name: z.ZodString;
496
+ description: z.ZodOptional<z.ZodString>;
497
+ }, z.core.$strict>>>>>;
498
+ }, z.core.$strict>>], "kind">>>;
499
+ }, z.core.$strict>>;
500
+ }, z.core.$strict>>, z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
501
+ kind: z.ZodLiteral<"unsupported">;
502
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
503
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
504
+ kind: z.ZodLiteral<"not_initialized">;
505
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
506
+ }, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
507
+ kind: z.ZodLiteral<"unavailable">;
508
+ reasons: z.ZodReadonly<z.ZodArray<z.ZodType<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown, z.core.$ZodTypeInternals<"authentication_required" | "missing_metadata" | "native_ambiguity" | "permission_denied" | "source_changed" | "capacity_exceeded" | "transient_failure", unknown>>>>;
509
+ }, z.core.$strict>>], "kind">]>;
510
+ }, z.core.$strict>>;
511
+ export declare const AgentEnvironmentSnapshotSchema: z.ZodType<AgentEnvironmentSnapshot>;
512
+ export declare const AgentEnvironmentInvalidationSchema: z.ZodType<AgentEnvironmentInvalidation>;
513
+ export declare const AgentEnvironmentReadCapabilitySchema: z.ZodType<Readonly<{
514
+ kind: "unsupported";
515
+ }> | Readonly<{
516
+ kind: "read";
517
+ domains: readonly ("content" | "commands" | "integrations" | "extensions")[];
518
+ }> | Readonly<{
519
+ kind: "read_and_watch";
520
+ domains: readonly ("content" | "commands" | "integrations" | "extensions")[];
521
+ }>, unknown, z.core.$ZodTypeInternals<Readonly<{
522
+ kind: "unsupported";
523
+ }> | Readonly<{
524
+ kind: "read";
525
+ domains: readonly ("content" | "commands" | "integrations" | "extensions")[];
526
+ }> | Readonly<{
527
+ kind: "read_and_watch";
528
+ domains: readonly ("content" | "commands" | "integrations" | "extensions")[];
529
+ }>, unknown>>;
530
+ export declare const AgentEnvironmentCapabilitySchema: z.ZodType<AgentEnvironmentCapability>;
531
+ //# sourceMappingURL=environment.d.ts.map