@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.
- package/README.md +57 -13
- package/dist/accountQuota/index.d.ts +3 -0
- package/dist/accountQuota/index.js +2 -0
- package/dist/accountQuota/parsers.d.ts +7 -0
- package/dist/accountQuota/parsers.js +20 -0
- package/dist/accountQuota/types.d.ts +89 -0
- package/dist/accountQuota/types.js +12 -0
- package/dist/capabilities/contentReferenceText.d.ts +13 -0
- package/dist/capabilities/contentReferenceText.js +25 -0
- package/dist/capabilities/index.d.ts +1 -0
- package/dist/capabilities/index.js +1 -0
- package/dist/capabilities/types.d.ts +19 -1
- package/dist/capabilities/types.js +6 -0
- package/dist/commands/index.d.ts +3 -0
- package/dist/commands/index.js +2 -0
- package/dist/commands/parsers.d.ts +7 -0
- package/dist/commands/parsers.js +23 -0
- package/dist/commands/types.d.ts +26 -0
- package/dist/commands/types.js +10 -0
- package/dist/effectiveContent/index.d.ts +3 -0
- package/dist/effectiveContent/index.js +2 -0
- package/dist/effectiveContent/parsers.d.ts +7 -0
- package/dist/effectiveContent/parsers.js +23 -0
- package/dist/effectiveContent/types.d.ts +35 -0
- package/dist/effectiveContent/types.js +19 -0
- package/dist/environment/facts.d.ts +28 -0
- package/dist/environment/facts.js +39 -0
- package/dist/environment/index.d.ts +4 -0
- package/dist/environment/index.js +3 -0
- package/dist/environment/parsers.d.ts +17 -0
- package/dist/environment/parsers.js +68 -0
- package/dist/environment/types.d.ts +61 -0
- package/dist/environment/types.js +26 -0
- package/dist/events/types.d.ts +1 -1
- package/dist/extensions/index.d.ts +3 -0
- package/dist/extensions/index.js +2 -0
- package/dist/extensions/parsers.d.ts +7 -0
- package/dist/extensions/parsers.js +23 -0
- package/dist/extensions/types.d.ts +73 -0
- package/dist/extensions/types.js +30 -0
- package/dist/foundation/parsers.d.ts +9 -1
- package/dist/foundation/parsers.js +24 -0
- package/dist/foundation/types.d.ts +5 -1
- package/dist/foundation/types.js +1 -1
- package/dist/integrations/types.d.ts +22 -4
- package/dist/integrations/types.js +6 -2
- package/dist/jsonSchema/generated.d.ts +9893 -5474
- package/dist/jsonSchema/generated.js +3097 -154
- package/dist/public/accountQuota.d.ts +2 -0
- package/dist/public/accountQuota.js +1 -0
- package/dist/public/commands.d.ts +2 -0
- package/dist/public/commands.js +1 -0
- package/dist/public/effectiveContent.d.ts +2 -0
- package/dist/public/effectiveContent.js +1 -0
- package/dist/public/environment.d.ts +2 -0
- package/dist/public/environment.js +1 -0
- package/dist/public/extensions.d.ts +2 -0
- package/dist/public/extensions.js +1 -0
- package/dist/public/index.d.ts +5 -0
- package/dist/public/index.js +5 -0
- package/dist/turns/parsers.d.ts +3 -1
- package/dist/turns/parsers.js +9 -0
- package/dist/turns/types.d.ts +13 -2
- package/dist/turns/types.js +4 -0
- package/dist/zod/accountQuota.d.ts +265 -0
- package/dist/zod/accountQuota.js +155 -0
- package/dist/zod/capabilities.d.ts +79 -1
- package/dist/zod/capabilities.js +21 -5
- package/dist/zod/commands.d.ts +35 -0
- package/dist/zod/commands.js +114 -0
- package/dist/zod/effectiveContent.d.ts +72 -0
- package/dist/zod/effectiveContent.js +157 -0
- package/dist/zod/environment.d.ts +531 -0
- package/dist/zod/environment.js +336 -0
- package/dist/zod/environmentFacts.d.ts +10 -0
- package/dist/zod/environmentFacts.js +40 -0
- package/dist/zod/events.d.ts +23 -23
- package/dist/zod/extensions.d.ts +161 -0
- package/dist/zod/extensions.js +194 -0
- package/dist/zod/foundation.d.ts +6 -1
- package/dist/zod/foundation.js +12 -3
- package/dist/zod/index.d.ts +10 -4
- package/dist/zod/index.js +22 -2
- package/dist/zod/integrations.d.ts +54 -9
- package/dist/zod/integrations.js +49 -6
- package/dist/zod/resources.d.ts +2 -2
- package/dist/zod/turns.d.ts +33 -0
- package/dist/zod/turns.js +34 -1
- package/dist/zod/typeEquality.generated.d.ts +40 -4
- package/package.json +23 -3
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
import { type AgentExtensionCatalog, type AgentExtensionDescriptor } from '../extensions/types.js';
|
|
3
|
+
export declare const AgentExtensionComponentPortableSchema: z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
4
|
+
kind: z.ZodEnum<{
|
|
5
|
+
prompt: "prompt";
|
|
6
|
+
skill: "skill";
|
|
7
|
+
rule: "rule";
|
|
8
|
+
agent_definition: "agent_definition";
|
|
9
|
+
}>;
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
12
|
+
domain: z.ZodLiteral<"content">;
|
|
13
|
+
id: z.ZodType<import("../index.js").AgentEffectiveContentId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentEffectiveContentId, unknown>>;
|
|
14
|
+
revision: z.ZodNumber;
|
|
15
|
+
catalogRevision: z.ZodNumber;
|
|
16
|
+
}, z.core.$strict>>>;
|
|
17
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
18
|
+
kind: z.ZodLiteral<"command">;
|
|
19
|
+
name: z.ZodString;
|
|
20
|
+
target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
21
|
+
domain: z.ZodLiteral<"commands">;
|
|
22
|
+
id: z.ZodType<import("../index.js").AgentCommandId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentCommandId, unknown>>;
|
|
23
|
+
revision: z.ZodNumber;
|
|
24
|
+
catalogRevision: z.ZodNumber;
|
|
25
|
+
}, z.core.$strict>>>;
|
|
26
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
27
|
+
kind: z.ZodEnum<{
|
|
28
|
+
mcp_server: "mcp_server";
|
|
29
|
+
connector: "connector";
|
|
30
|
+
}>;
|
|
31
|
+
name: z.ZodString;
|
|
32
|
+
target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
33
|
+
domain: z.ZodLiteral<"integrations">;
|
|
34
|
+
id: z.ZodType<import("../index.js").AgentIntegrationId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationId, unknown>>;
|
|
35
|
+
revision: z.ZodNumber;
|
|
36
|
+
catalogRevision: z.ZodNumber;
|
|
37
|
+
}, z.core.$strict>>>;
|
|
38
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
39
|
+
kind: z.ZodEnum<{
|
|
40
|
+
other: "other";
|
|
41
|
+
hook: "hook";
|
|
42
|
+
lsp_server: "lsp_server";
|
|
43
|
+
scheduled_task: "scheduled_task";
|
|
44
|
+
}>;
|
|
45
|
+
name: z.ZodString;
|
|
46
|
+
}, z.core.$strict>>], "kind">;
|
|
47
|
+
export declare const AgentExtensionDescriptorPortableSchema: z.ZodReadonly<z.ZodObject<{
|
|
48
|
+
extensionId: z.ZodType<import("../index.js").AgentExtensionId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentExtensionId, unknown>>;
|
|
49
|
+
revision: z.ZodNumber;
|
|
50
|
+
name: z.ZodString;
|
|
51
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
52
|
+
version: z.ZodOptional<z.ZodString>;
|
|
53
|
+
installation: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
|
|
54
|
+
enablement: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
|
|
55
|
+
source: z.ZodType<import("../index.js").AgentEnvironmentSource, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentEnvironmentSource, unknown>>;
|
|
56
|
+
components: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
57
|
+
kind: z.ZodEnum<{
|
|
58
|
+
prompt: "prompt";
|
|
59
|
+
skill: "skill";
|
|
60
|
+
rule: "rule";
|
|
61
|
+
agent_definition: "agent_definition";
|
|
62
|
+
}>;
|
|
63
|
+
name: z.ZodString;
|
|
64
|
+
target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
65
|
+
domain: z.ZodLiteral<"content">;
|
|
66
|
+
id: z.ZodType<import("../index.js").AgentEffectiveContentId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentEffectiveContentId, unknown>>;
|
|
67
|
+
revision: z.ZodNumber;
|
|
68
|
+
catalogRevision: z.ZodNumber;
|
|
69
|
+
}, z.core.$strict>>>;
|
|
70
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
71
|
+
kind: z.ZodLiteral<"command">;
|
|
72
|
+
name: z.ZodString;
|
|
73
|
+
target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
74
|
+
domain: z.ZodLiteral<"commands">;
|
|
75
|
+
id: z.ZodType<import("../index.js").AgentCommandId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentCommandId, unknown>>;
|
|
76
|
+
revision: z.ZodNumber;
|
|
77
|
+
catalogRevision: z.ZodNumber;
|
|
78
|
+
}, z.core.$strict>>>;
|
|
79
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
80
|
+
kind: z.ZodEnum<{
|
|
81
|
+
mcp_server: "mcp_server";
|
|
82
|
+
connector: "connector";
|
|
83
|
+
}>;
|
|
84
|
+
name: z.ZodString;
|
|
85
|
+
target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
86
|
+
domain: z.ZodLiteral<"integrations">;
|
|
87
|
+
id: z.ZodType<import("../index.js").AgentIntegrationId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationId, unknown>>;
|
|
88
|
+
revision: z.ZodNumber;
|
|
89
|
+
catalogRevision: z.ZodNumber;
|
|
90
|
+
}, z.core.$strict>>>;
|
|
91
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
92
|
+
kind: z.ZodEnum<{
|
|
93
|
+
other: "other";
|
|
94
|
+
hook: "hook";
|
|
95
|
+
lsp_server: "lsp_server";
|
|
96
|
+
scheduled_task: "scheduled_task";
|
|
97
|
+
}>;
|
|
98
|
+
name: z.ZodString;
|
|
99
|
+
}, z.core.$strict>>], "kind">>>;
|
|
100
|
+
}, z.core.$strict>>;
|
|
101
|
+
export declare const AgentExtensionDescriptorSchema: z.ZodType<AgentExtensionDescriptor>;
|
|
102
|
+
export declare const AgentExtensionCatalogPortableSchema: z.ZodReadonly<z.ZodObject<{
|
|
103
|
+
revision: z.ZodNumber;
|
|
104
|
+
observedAt: z.ZodType<import("../index.js").AgentIsoDateTime, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIsoDateTime, unknown>>;
|
|
105
|
+
extensions: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
106
|
+
extensionId: z.ZodType<import("../index.js").AgentExtensionId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentExtensionId, unknown>>;
|
|
107
|
+
revision: z.ZodNumber;
|
|
108
|
+
name: z.ZodString;
|
|
109
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
110
|
+
version: z.ZodOptional<z.ZodString>;
|
|
111
|
+
installation: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
|
|
112
|
+
enablement: z.ZodType<import("../index.js").AgentAvailabilityFact, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentAvailabilityFact, unknown>>;
|
|
113
|
+
source: z.ZodType<import("../index.js").AgentEnvironmentSource, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentEnvironmentSource, unknown>>;
|
|
114
|
+
components: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
115
|
+
kind: z.ZodEnum<{
|
|
116
|
+
prompt: "prompt";
|
|
117
|
+
skill: "skill";
|
|
118
|
+
rule: "rule";
|
|
119
|
+
agent_definition: "agent_definition";
|
|
120
|
+
}>;
|
|
121
|
+
name: z.ZodString;
|
|
122
|
+
target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
123
|
+
domain: z.ZodLiteral<"content">;
|
|
124
|
+
id: z.ZodType<import("../index.js").AgentEffectiveContentId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentEffectiveContentId, unknown>>;
|
|
125
|
+
revision: z.ZodNumber;
|
|
126
|
+
catalogRevision: z.ZodNumber;
|
|
127
|
+
}, z.core.$strict>>>;
|
|
128
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
129
|
+
kind: z.ZodLiteral<"command">;
|
|
130
|
+
name: z.ZodString;
|
|
131
|
+
target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
132
|
+
domain: z.ZodLiteral<"commands">;
|
|
133
|
+
id: z.ZodType<import("../index.js").AgentCommandId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentCommandId, unknown>>;
|
|
134
|
+
revision: z.ZodNumber;
|
|
135
|
+
catalogRevision: z.ZodNumber;
|
|
136
|
+
}, z.core.$strict>>>;
|
|
137
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
138
|
+
kind: z.ZodEnum<{
|
|
139
|
+
mcp_server: "mcp_server";
|
|
140
|
+
connector: "connector";
|
|
141
|
+
}>;
|
|
142
|
+
name: z.ZodString;
|
|
143
|
+
target: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
144
|
+
domain: z.ZodLiteral<"integrations">;
|
|
145
|
+
id: z.ZodType<import("../index.js").AgentIntegrationId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationId, unknown>>;
|
|
146
|
+
revision: z.ZodNumber;
|
|
147
|
+
catalogRevision: z.ZodNumber;
|
|
148
|
+
}, z.core.$strict>>>;
|
|
149
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
150
|
+
kind: z.ZodEnum<{
|
|
151
|
+
other: "other";
|
|
152
|
+
hook: "hook";
|
|
153
|
+
lsp_server: "lsp_server";
|
|
154
|
+
scheduled_task: "scheduled_task";
|
|
155
|
+
}>;
|
|
156
|
+
name: z.ZodString;
|
|
157
|
+
}, z.core.$strict>>], "kind">>>;
|
|
158
|
+
}, z.core.$strict>>>>;
|
|
159
|
+
}, z.core.$strict>>;
|
|
160
|
+
export declare const AgentExtensionCatalogSchema: z.ZodType<AgentExtensionCatalog>;
|
|
161
|
+
//# sourceMappingURL=extensions.d.ts.map
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
import { compareStringsByUnicodeCodePoint } from "../foundation/ordering.js";
|
|
3
|
+
import { agentProtocolSerializedJsonBytes } from "../foundation/types.js";
|
|
4
|
+
import {
|
|
5
|
+
AGENT_EXTENSION_CATALOG_BYTES_LIMIT,
|
|
6
|
+
AGENT_EXTENSION_CATALOG_MAX_LENGTH,
|
|
7
|
+
AGENT_EXTENSION_COMPONENT_NAME_MAX_LENGTH,
|
|
8
|
+
AGENT_EXTENSION_COMPONENTS_MAX_LENGTH,
|
|
9
|
+
AGENT_EXTENSION_NAME_MAX_LENGTH,
|
|
10
|
+
AGENT_EXTENSION_SUMMARY_MAX_LENGTH,
|
|
11
|
+
AGENT_EXTENSION_VERSION_MAX_LENGTH
|
|
12
|
+
} from "../extensions/types.js";
|
|
13
|
+
import {
|
|
14
|
+
AgentAvailabilityFactSchema,
|
|
15
|
+
AgentEnvironmentSourceSchema
|
|
16
|
+
} from "./environmentFacts.js";
|
|
17
|
+
import {
|
|
18
|
+
AgentCommandIdSchema,
|
|
19
|
+
AgentEffectiveContentIdSchema,
|
|
20
|
+
AgentExtensionIdSchema,
|
|
21
|
+
AgentIntegrationIdSchema,
|
|
22
|
+
AgentIsoDateTimeSchema,
|
|
23
|
+
createAgentCanonicalNonBlankStringSchema,
|
|
24
|
+
withAcyclicProtocolInput
|
|
25
|
+
} from "./foundation.js";
|
|
26
|
+
const PositiveSafeIntegerSchema = z.number().int().positive().max(Number.MAX_SAFE_INTEGER);
|
|
27
|
+
const NameSchema = createAgentCanonicalNonBlankStringSchema(
|
|
28
|
+
AGENT_EXTENSION_NAME_MAX_LENGTH
|
|
29
|
+
);
|
|
30
|
+
const SummarySchema = createAgentCanonicalNonBlankStringSchema(
|
|
31
|
+
AGENT_EXTENSION_SUMMARY_MAX_LENGTH
|
|
32
|
+
);
|
|
33
|
+
const VersionSchema = createAgentCanonicalNonBlankStringSchema(
|
|
34
|
+
AGENT_EXTENSION_VERSION_MAX_LENGTH
|
|
35
|
+
);
|
|
36
|
+
const ComponentNameSchema = createAgentCanonicalNonBlankStringSchema(
|
|
37
|
+
AGENT_EXTENSION_COMPONENT_NAME_MAX_LENGTH
|
|
38
|
+
);
|
|
39
|
+
const ContentTargetSchema = z.object({
|
|
40
|
+
domain: z.literal("content"),
|
|
41
|
+
id: AgentEffectiveContentIdSchema,
|
|
42
|
+
revision: PositiveSafeIntegerSchema,
|
|
43
|
+
catalogRevision: PositiveSafeIntegerSchema
|
|
44
|
+
}).strict().readonly();
|
|
45
|
+
const CommandTargetSchema = z.object({
|
|
46
|
+
domain: z.literal("commands"),
|
|
47
|
+
id: AgentCommandIdSchema,
|
|
48
|
+
revision: PositiveSafeIntegerSchema,
|
|
49
|
+
catalogRevision: PositiveSafeIntegerSchema
|
|
50
|
+
}).strict().readonly();
|
|
51
|
+
const IntegrationTargetSchema = z.object({
|
|
52
|
+
domain: z.literal("integrations"),
|
|
53
|
+
id: AgentIntegrationIdSchema,
|
|
54
|
+
revision: PositiveSafeIntegerSchema,
|
|
55
|
+
catalogRevision: PositiveSafeIntegerSchema
|
|
56
|
+
}).strict().readonly();
|
|
57
|
+
const ContentComponentKinds = [
|
|
58
|
+
"skill",
|
|
59
|
+
"rule",
|
|
60
|
+
"prompt",
|
|
61
|
+
"agent_definition"
|
|
62
|
+
];
|
|
63
|
+
const NonTargetedComponentKinds = [
|
|
64
|
+
"hook",
|
|
65
|
+
"lsp_server",
|
|
66
|
+
"scheduled_task",
|
|
67
|
+
"other"
|
|
68
|
+
];
|
|
69
|
+
const ContentComponentSchema = z.object({
|
|
70
|
+
kind: z.enum(ContentComponentKinds),
|
|
71
|
+
name: ComponentNameSchema,
|
|
72
|
+
target: ContentTargetSchema.optional()
|
|
73
|
+
}).strict().readonly();
|
|
74
|
+
const CommandComponentSchema = z.object({
|
|
75
|
+
kind: z.literal("command"),
|
|
76
|
+
name: ComponentNameSchema,
|
|
77
|
+
target: CommandTargetSchema.optional()
|
|
78
|
+
}).strict().readonly();
|
|
79
|
+
const IntegrationComponentSchema = z.object({
|
|
80
|
+
kind: z.enum(["mcp_server", "connector"]),
|
|
81
|
+
name: ComponentNameSchema,
|
|
82
|
+
target: IntegrationTargetSchema.optional()
|
|
83
|
+
}).strict().readonly();
|
|
84
|
+
const DescriptiveComponentSchema = z.object({
|
|
85
|
+
kind: z.enum(NonTargetedComponentKinds),
|
|
86
|
+
name: ComponentNameSchema
|
|
87
|
+
}).strict().readonly();
|
|
88
|
+
const AgentExtensionComponentPortableSchema = z.discriminatedUnion("kind", [
|
|
89
|
+
ContentComponentSchema,
|
|
90
|
+
CommandComponentSchema,
|
|
91
|
+
IntegrationComponentSchema,
|
|
92
|
+
DescriptiveComponentSchema
|
|
93
|
+
]);
|
|
94
|
+
const AgentExtensionDescriptorPortableSchema = z.object({
|
|
95
|
+
extensionId: AgentExtensionIdSchema,
|
|
96
|
+
revision: PositiveSafeIntegerSchema,
|
|
97
|
+
name: NameSchema,
|
|
98
|
+
summary: SummarySchema.optional(),
|
|
99
|
+
version: VersionSchema.optional(),
|
|
100
|
+
installation: AgentAvailabilityFactSchema,
|
|
101
|
+
enablement: AgentAvailabilityFactSchema,
|
|
102
|
+
source: AgentEnvironmentSourceSchema,
|
|
103
|
+
components: z.array(AgentExtensionComponentPortableSchema).max(AGENT_EXTENSION_COMPONENTS_MAX_LENGTH).readonly()
|
|
104
|
+
}).strict().readonly();
|
|
105
|
+
function addUniqueAndOrderedIssues(values, path, label, context) {
|
|
106
|
+
const seen = /* @__PURE__ */ new Set();
|
|
107
|
+
values.forEach((value, index) => {
|
|
108
|
+
if (seen.has(value)) {
|
|
109
|
+
context.addIssue({
|
|
110
|
+
code: "custom",
|
|
111
|
+
path: [...path, index],
|
|
112
|
+
message: `${label} must be unique.`
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
if (index > 0 && compareStringsByUnicodeCodePoint(values[index - 1], value) >= 0) {
|
|
116
|
+
context.addIssue({
|
|
117
|
+
code: "custom",
|
|
118
|
+
path: [...path, index],
|
|
119
|
+
message: `${label} must use canonical ID order.`
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
seen.add(value);
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
function validateComponent(component, index, context) {
|
|
126
|
+
const target = "target" in component ? component.target : void 0;
|
|
127
|
+
if ((component.kind === "hook" || component.kind === "lsp_server" || component.kind === "scheduled_task" || component.kind === "other") && target !== void 0) {
|
|
128
|
+
context.addIssue({
|
|
129
|
+
code: "custom",
|
|
130
|
+
path: ["components", index, "target"],
|
|
131
|
+
message: "Descriptive extension components cannot carry a qualified target."
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
const AgentExtensionDescriptorSchema = withAcyclicProtocolInput(AgentExtensionDescriptorPortableSchema, {
|
|
136
|
+
maxDepth: 16,
|
|
137
|
+
maxCollectionLength: AGENT_EXTENSION_COMPONENTS_MAX_LENGTH * 4
|
|
138
|
+
}).superRefine((descriptor, context) => {
|
|
139
|
+
descriptor.components.forEach((component, index) => {
|
|
140
|
+
validateComponent(component, index, context);
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
const AgentExtensionCatalogPortableSchema = z.object({
|
|
144
|
+
revision: PositiveSafeIntegerSchema,
|
|
145
|
+
observedAt: AgentIsoDateTimeSchema,
|
|
146
|
+
extensions: z.array(AgentExtensionDescriptorPortableSchema).max(AGENT_EXTENSION_CATALOG_MAX_LENGTH).readonly()
|
|
147
|
+
}).strict().readonly();
|
|
148
|
+
const AgentExtensionCatalogSchema = withAcyclicProtocolInput(AgentExtensionCatalogPortableSchema, {
|
|
149
|
+
maxDepth: 16,
|
|
150
|
+
// The preflight counts object properties as well as array members. Leave
|
|
151
|
+
// room for the fixed descriptor fields while retaining a finite bound.
|
|
152
|
+
maxCollectionLength: AGENT_EXTENSION_COMPONENTS_MAX_LENGTH * 4
|
|
153
|
+
}).superRefine((catalog, context) => {
|
|
154
|
+
addUniqueAndOrderedIssues(
|
|
155
|
+
catalog.extensions.map((extension) => extension.extensionId),
|
|
156
|
+
["extensions"],
|
|
157
|
+
"Extension IDs",
|
|
158
|
+
context
|
|
159
|
+
);
|
|
160
|
+
let components = 0;
|
|
161
|
+
catalog.extensions.forEach((extension, extensionIndex) => {
|
|
162
|
+
const parsed = AgentExtensionDescriptorSchema.safeParse(extension);
|
|
163
|
+
if (!parsed.success) {
|
|
164
|
+
for (const issue of parsed.error.issues) {
|
|
165
|
+
context.addIssue({
|
|
166
|
+
code: "custom",
|
|
167
|
+
path: ["extensions", extensionIndex, ...issue.path],
|
|
168
|
+
message: issue.message
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
components += extension.components.length;
|
|
173
|
+
});
|
|
174
|
+
if (components > AGENT_EXTENSION_COMPONENTS_MAX_LENGTH) {
|
|
175
|
+
context.addIssue({
|
|
176
|
+
code: "custom",
|
|
177
|
+
path: ["extensions"],
|
|
178
|
+
message: "Extension components exceed the aggregate limit."
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
if (agentProtocolSerializedJsonBytes(catalog) > AGENT_EXTENSION_CATALOG_BYTES_LIMIT) {
|
|
182
|
+
context.addIssue({
|
|
183
|
+
code: "custom",
|
|
184
|
+
message: "Extension catalog exceeds its serialized UTF-8 byte limit."
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
export {
|
|
189
|
+
AgentExtensionCatalogPortableSchema,
|
|
190
|
+
AgentExtensionCatalogSchema,
|
|
191
|
+
AgentExtensionComponentPortableSchema,
|
|
192
|
+
AgentExtensionDescriptorPortableSchema,
|
|
193
|
+
AgentExtensionDescriptorSchema
|
|
194
|
+
};
|
package/dist/zod/foundation.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
|
-
import { type AgentArtifactId, type AgentApprovalOptionId, type AgentCollaborationId, type AgentConfigurationRevisionId, type AgentError, type AgentInstanceId, type AgentIntegrationId, type AgentIntegrationResourceId, type AgentIntegrationServerId, type AgentIntegrationToolId, type AgentIsoDateTime, type AgentItemId, type AgentJsonValue, type AgentManagedContentId, type AgentOperationId, type AgentOperationInvocationId, type AgentProviderConversationId, type AgentProviderHistoryAnchor, type AgentProviderItemRef, type AgentProviderKey, type AgentProviderRefs, type AgentProviderRequestRef, type AgentProviderTurnRef, type AgentRequestFieldId, type AgentRequestId, type AgentSessionId, type AgentGeneratedResourceId, type AgentTurnId } from '../foundation/types.js';
|
|
2
|
+
import { type AgentArtifactId, type AgentApprovalOptionId, type AgentCollaborationId, type AgentConfigurationRevisionId, type AgentError, type AgentInstanceId, type AgentIntegrationId, type AgentIntegrationResourceId, type AgentIntegrationServerId, type AgentIntegrationToolId, type AgentIsoDateTime, type AgentItemId, type AgentJsonValue, type AgentManagedContentId, type AgentEnvironmentId, type AgentEffectiveContentId, type AgentCommandId, type AgentExtensionId, type AgentOperationId, type AgentOperationInvocationId, type AgentProviderConversationId, type AgentProviderHistoryAnchor, type AgentProviderItemRef, type AgentProviderKey, type AgentProviderRefs, type AgentProviderRequestRef, type AgentProviderTurnRef, type AgentRequestFieldId, type AgentRequestId, type AgentSessionId, type AgentGeneratedResourceId, type AgentTurnId } from '../foundation/types.js';
|
|
3
|
+
export declare function createAgentCanonicalOpaqueStringSchema(maxLength: number, message: string): z.ZodString;
|
|
3
4
|
export declare const AgentCanonicalIdValueSchema: z.ZodString;
|
|
4
5
|
export declare function createAgentCanonicalNonBlankStringSchema(maxLength: number): z.ZodString;
|
|
5
6
|
export declare const AgentCanonicalNonBlankTextSchema: z.ZodString;
|
|
@@ -15,6 +16,10 @@ export declare const AgentArtifactIdSchema: z.ZodType<AgentArtifactId, unknown,
|
|
|
15
16
|
export declare const AgentOperationIdSchema: z.ZodType<AgentOperationId, unknown, z.core.$ZodTypeInternals<AgentOperationId, unknown>>;
|
|
16
17
|
export declare const AgentOperationInvocationIdSchema: z.ZodType<AgentOperationInvocationId, unknown, z.core.$ZodTypeInternals<AgentOperationInvocationId, unknown>>;
|
|
17
18
|
export declare const AgentManagedContentIdSchema: z.ZodType<AgentManagedContentId, unknown, z.core.$ZodTypeInternals<AgentManagedContentId, unknown>>;
|
|
19
|
+
export declare const AgentEnvironmentIdSchema: z.ZodType<AgentEnvironmentId, unknown, z.core.$ZodTypeInternals<AgentEnvironmentId, unknown>>;
|
|
20
|
+
export declare const AgentEffectiveContentIdSchema: z.ZodType<AgentEffectiveContentId, unknown, z.core.$ZodTypeInternals<AgentEffectiveContentId, unknown>>;
|
|
21
|
+
export declare const AgentCommandIdSchema: z.ZodType<AgentCommandId, unknown, z.core.$ZodTypeInternals<AgentCommandId, unknown>>;
|
|
22
|
+
export declare const AgentExtensionIdSchema: z.ZodType<AgentExtensionId, unknown, z.core.$ZodTypeInternals<AgentExtensionId, unknown>>;
|
|
18
23
|
export declare const AgentIntegrationIdSchema: z.ZodType<AgentIntegrationId, unknown, z.core.$ZodTypeInternals<AgentIntegrationId, unknown>>;
|
|
19
24
|
export declare const AgentIntegrationServerIdSchema: z.ZodType<AgentIntegrationServerId, unknown, z.core.$ZodTypeInternals<AgentIntegrationServerId, unknown>>;
|
|
20
25
|
export declare const AgentIntegrationToolIdSchema: z.ZodType<AgentIntegrationToolId, unknown, z.core.$ZodTypeInternals<AgentIntegrationToolId, unknown>>;
|
package/dist/zod/foundation.js
CHANGED
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
} from "../foundation/types.js";
|
|
14
14
|
const CANONICAL_OPAQUE_STRING_PATTERN = /^(?![\s\S]*[\u0000-\u001F\u007F-\u009F])\S(?:[\s\S]*\S)?$/u;
|
|
15
15
|
const CANONICAL_NON_BLANK_STRING_PATTERN = /^(?:\S|\S[\s\S]*\S)$/u;
|
|
16
|
-
function
|
|
16
|
+
function createAgentCanonicalOpaqueStringSchema(maxLength, message) {
|
|
17
17
|
return z.string().min(1).max(maxLength).regex(CANONICAL_OPAQUE_STRING_PATTERN, message);
|
|
18
18
|
}
|
|
19
|
-
const AgentCanonicalIdValueSchema =
|
|
19
|
+
const AgentCanonicalIdValueSchema = createAgentCanonicalOpaqueStringSchema(
|
|
20
20
|
AGENT_PROTOCOL_ID_MAX_LENGTH,
|
|
21
21
|
"Opaque IDs must be canonical and contain no control or surrounding whitespace."
|
|
22
22
|
);
|
|
@@ -28,7 +28,7 @@ function createAgentCanonicalNonBlankStringSchema(maxLength) {
|
|
|
28
28
|
}
|
|
29
29
|
const AgentCanonicalNonBlankTextSchema = createAgentCanonicalNonBlankStringSchema(AGENT_PROTOCOL_TEXT_MAX_LENGTH);
|
|
30
30
|
const AgentCanonicalCodeSchema = createAgentCanonicalNonBlankStringSchema(AGENT_PROTOCOL_CODE_MAX_LENGTH);
|
|
31
|
-
const ProviderReferenceSchema =
|
|
31
|
+
const ProviderReferenceSchema = createAgentCanonicalOpaqueStringSchema(
|
|
32
32
|
AGENT_PROTOCOL_PROVIDER_REFERENCE_MAX_LENGTH,
|
|
33
33
|
"Provider references must be canonical and contain no control or surrounding whitespace."
|
|
34
34
|
);
|
|
@@ -46,6 +46,10 @@ const AgentArtifactIdSchema = opaqueStringSchema(AgentCanonicalIdValueSchema);
|
|
|
46
46
|
const AgentOperationIdSchema = opaqueStringSchema(AgentCanonicalIdValueSchema);
|
|
47
47
|
const AgentOperationInvocationIdSchema = opaqueStringSchema(AgentCanonicalIdValueSchema);
|
|
48
48
|
const AgentManagedContentIdSchema = opaqueStringSchema(AgentCanonicalIdValueSchema);
|
|
49
|
+
const AgentEnvironmentIdSchema = opaqueStringSchema(AgentCanonicalIdValueSchema);
|
|
50
|
+
const AgentEffectiveContentIdSchema = opaqueStringSchema(AgentCanonicalIdValueSchema);
|
|
51
|
+
const AgentCommandIdSchema = opaqueStringSchema(AgentCanonicalIdValueSchema);
|
|
52
|
+
const AgentExtensionIdSchema = opaqueStringSchema(AgentCanonicalIdValueSchema);
|
|
49
53
|
const AgentIntegrationIdSchema = opaqueStringSchema(AgentCanonicalIdValueSchema);
|
|
50
54
|
const AgentIntegrationServerIdSchema = opaqueStringSchema(AgentCanonicalIdValueSchema);
|
|
51
55
|
const AgentIntegrationToolIdSchema = opaqueStringSchema(AgentCanonicalIdValueSchema);
|
|
@@ -191,9 +195,13 @@ export {
|
|
|
191
195
|
AgentCanonicalIdValueSchema,
|
|
192
196
|
AgentCanonicalNonBlankTextSchema,
|
|
193
197
|
AgentCollaborationIdSchema,
|
|
198
|
+
AgentCommandIdSchema,
|
|
194
199
|
AgentConfigurationRevisionIdSchema,
|
|
200
|
+
AgentEffectiveContentIdSchema,
|
|
201
|
+
AgentEnvironmentIdSchema,
|
|
195
202
|
AgentErrorContextSchema,
|
|
196
203
|
AgentErrorSchema,
|
|
204
|
+
AgentExtensionIdSchema,
|
|
197
205
|
AgentGeneratedResourceIdSchema,
|
|
198
206
|
AgentInstanceIdSchema,
|
|
199
207
|
AgentIntegrationIdSchema,
|
|
@@ -221,5 +229,6 @@ export {
|
|
|
221
229
|
AgentSessionIdSchema,
|
|
222
230
|
AgentTurnIdSchema,
|
|
223
231
|
createAgentCanonicalNonBlankStringSchema,
|
|
232
|
+
createAgentCanonicalOpaqueStringSchema,
|
|
224
233
|
withAcyclicProtocolInput
|
|
225
234
|
};
|
package/dist/zod/index.d.ts
CHANGED
|
@@ -1,15 +1,21 @@
|
|
|
1
|
-
export { AgentApprovalOptionIdSchema, AgentArtifactIdSchema, AgentCollaborationIdSchema, AgentConfigurationRevisionIdSchema, AgentErrorContextSchema, AgentErrorSchema, AgentInstanceIdSchema, AgentIntegrationIdSchema, AgentIntegrationResourceIdSchema, AgentIntegrationServerIdSchema, AgentIntegrationToolIdSchema, AgentIsoDateTimeSchema, AgentItemIdSchema, AgentJsonValueSchema, AgentManagedContentIdSchema, AgentOperationIdSchema, AgentOperationInvocationIdSchema, AgentProviderConversationIdSchema, AgentProviderHistoryAnchorSchema, AgentProviderItemRefSchema, AgentProviderKeySchema, AgentProviderRefsSchema, AgentProviderRequestRefSchema, AgentProviderTurnRefSchema, AgentRequestFieldIdSchema, AgentRequestIdSchema, AgentSessionIdSchema, AgentGeneratedResourceIdSchema, AgentTurnIdSchema, } from './foundation.js';
|
|
1
|
+
export { AgentApprovalOptionIdSchema, AgentArtifactIdSchema, AgentCollaborationIdSchema, AgentConfigurationRevisionIdSchema, AgentErrorContextSchema, AgentErrorSchema, AgentInstanceIdSchema, AgentIntegrationIdSchema, AgentIntegrationResourceIdSchema, AgentIntegrationServerIdSchema, AgentIntegrationToolIdSchema, AgentIsoDateTimeSchema, AgentItemIdSchema, AgentJsonValueSchema, AgentManagedContentIdSchema, AgentEnvironmentIdSchema, AgentEffectiveContentIdSchema, AgentCommandIdSchema, AgentExtensionIdSchema, AgentOperationIdSchema, AgentOperationInvocationIdSchema, AgentProviderConversationIdSchema, AgentProviderHistoryAnchorSchema, AgentProviderItemRefSchema, AgentProviderKeySchema, AgentProviderRefsSchema, AgentProviderRequestRefSchema, AgentProviderTurnRefSchema, AgentRequestFieldIdSchema, AgentRequestIdSchema, AgentSessionIdSchema, AgentGeneratedResourceIdSchema, AgentTurnIdSchema, } from './foundation.js';
|
|
2
2
|
export { AgentSessionBindingSchema, AgentSessionBranchSourceSchema, AgentSessionBranchInputSchema, AgentSessionConfigurationSchema, AgentSessionCreateInputSchema, AgentSessionOpenInputSchema, AgentSessionResumeInputSchema, } from './sessions.js';
|
|
3
|
-
export { AgentBrowserActionDetailsSchema, AgentCollaborationToolCallDetailsSchema, AgentCommandExecutionDetailsSchema, AgentComputerActionDetailsSchema, AgentContentStreamKindSchema, AgentContextCompactionDetailsSchema, AgentDiffSummarySchema, AgentDynamicToolCallDetailsSchema, AgentFileChangeDetailsSchema, AgentFileChangeSchema, AgentImageViewDetailsSchema, AgentItemSnapshotSchema, AgentMcpToolCallDetailsSchema, AgentPlanStepSchema, AgentReviewDetailsSchema, AgentTurnCompletedPayloadSchema, AgentTurnInputContentCompositionSchema, AgentTurnInputContentSchema, AgentTurnInteractionModeSchema, AgentTurnInputPartSchema, AgentTurnInterruptionInputSchema, AgentTurnRunInputSchema, AgentWebSearchDetailsSchema, } from './turns.js';
|
|
3
|
+
export { AgentBrowserActionDetailsSchema, AgentCollaborationToolCallDetailsSchema, AgentCommandExecutionDetailsSchema, AgentComputerActionDetailsSchema, AgentContentStreamKindSchema, AgentContextCompactionDetailsSchema, AgentDiffSummarySchema, AgentDynamicToolCallDetailsSchema, AgentFileChangeDetailsSchema, AgentFileChangeSchema, AgentImageViewDetailsSchema, AgentItemSnapshotSchema, AgentMcpToolCallDetailsSchema, AgentPlanStepSchema, AgentReviewDetailsSchema, AgentTurnCompletedPayloadSchema, AgentTurnInputContentCompositionSchema, AgentTurnInputContentSchema, AgentTurnInteractionModeSchema, AgentTurnInputPartSchema, AgentContentReferenceInputPartSchema, AgentTurnInterruptionInputSchema, AgentTurnRunInputSchema, AgentWebSearchDetailsSchema, } from './turns.js';
|
|
4
4
|
export { AgentApprovalRequestSchema, AgentApprovalResolutionSchema, AgentElicitationRequestSchema, AgentRequestResolutionSchema, AgentRequestSchema, } from './requests.js';
|
|
5
5
|
export { AgentOperationCatalogSchema, AgentOperationDescriptorSchema, AgentOperationFieldSchema, AgentOperationInvocationSchema, AgentOperationResultSchema, } from './operations.js';
|
|
6
6
|
export { AgentManagedContentCatalogSchema, AgentManagedContentDescriptorSchema, } from './managedContent.js';
|
|
7
7
|
export { AgentConfigurationCatalogSchema, AgentConfigurationFieldPortableSchema, AgentConfigurationSelectionInputSchema, AgentConfigurationValueSchema, } from './configuration.js';
|
|
8
|
-
export { AgentIntegrationCatalogSchema, AgentIntegrationDescriptorSchema, } from './integrations.js';
|
|
8
|
+
export { AgentIntegrationCatalogSchema, AgentIntegrationDescriptorSchema, AgentMcpIntegrationDescriptorSchema, } from './integrations.js';
|
|
9
9
|
export { AgentCollaborationControlInputSchema, AgentCollaborationNodeSchema, AgentCollaborationSpawnInputSchema, } from './collaboration.js';
|
|
10
10
|
export { AgentGeneratedResourceDescriptorSchema } from './resources.js';
|
|
11
|
-
export { AgentApprovalCapabilitySchema, AgentCapabilitiesSchema, } from './capabilities.js';
|
|
11
|
+
export { AgentApprovalCapabilitySchema, AgentCapabilitiesSchema, AgentContentReferenceInputCapabilitySchema, } from './capabilities.js';
|
|
12
12
|
export { AgentArtifactDescriptorSchema } from './artifacts.js';
|
|
13
13
|
export { AgentContextUsageSchema, AgentEventSchema } from './events.js';
|
|
14
14
|
export type { AgentProtocolSchemaTypeAssertions } from './typeEquality.generated.js';
|
|
15
|
+
export * from './accountQuota.js';
|
|
16
|
+
export * from './environmentFacts.js';
|
|
17
|
+
export * from './effectiveContent.js';
|
|
18
|
+
export * from './commands.js';
|
|
19
|
+
export * from './extensions.js';
|
|
20
|
+
export * from './environment.js';
|
|
15
21
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/zod/index.js
CHANGED
|
@@ -14,6 +14,10 @@ import {
|
|
|
14
14
|
AgentItemIdSchema,
|
|
15
15
|
AgentJsonValueSchema,
|
|
16
16
|
AgentManagedContentIdSchema,
|
|
17
|
+
AgentEnvironmentIdSchema,
|
|
18
|
+
AgentEffectiveContentIdSchema,
|
|
19
|
+
AgentCommandIdSchema,
|
|
20
|
+
AgentExtensionIdSchema,
|
|
17
21
|
AgentOperationIdSchema,
|
|
18
22
|
AgentOperationInvocationIdSchema,
|
|
19
23
|
AgentProviderConversationIdSchema,
|
|
@@ -59,6 +63,7 @@ import {
|
|
|
59
63
|
AgentTurnInputContentSchema,
|
|
60
64
|
AgentTurnInteractionModeSchema,
|
|
61
65
|
AgentTurnInputPartSchema,
|
|
66
|
+
AgentContentReferenceInputPartSchema,
|
|
62
67
|
AgentTurnInterruptionInputSchema,
|
|
63
68
|
AgentTurnRunInputSchema,
|
|
64
69
|
AgentWebSearchDetailsSchema
|
|
@@ -89,7 +94,8 @@ import {
|
|
|
89
94
|
} from "./configuration.js";
|
|
90
95
|
import {
|
|
91
96
|
AgentIntegrationCatalogSchema,
|
|
92
|
-
AgentIntegrationDescriptorSchema
|
|
97
|
+
AgentIntegrationDescriptorSchema,
|
|
98
|
+
AgentMcpIntegrationDescriptorSchema
|
|
93
99
|
} from "./integrations.js";
|
|
94
100
|
import {
|
|
95
101
|
AgentCollaborationControlInputSchema,
|
|
@@ -99,10 +105,17 @@ import {
|
|
|
99
105
|
import { AgentGeneratedResourceDescriptorSchema } from "./resources.js";
|
|
100
106
|
import {
|
|
101
107
|
AgentApprovalCapabilitySchema,
|
|
102
|
-
AgentCapabilitiesSchema
|
|
108
|
+
AgentCapabilitiesSchema,
|
|
109
|
+
AgentContentReferenceInputCapabilitySchema
|
|
103
110
|
} from "./capabilities.js";
|
|
104
111
|
import { AgentArtifactDescriptorSchema } from "./artifacts.js";
|
|
105
112
|
import { AgentContextUsageSchema, AgentEventSchema } from "./events.js";
|
|
113
|
+
export * from "./accountQuota.js";
|
|
114
|
+
export * from "./environmentFacts.js";
|
|
115
|
+
export * from "./effectiveContent.js";
|
|
116
|
+
export * from "./commands.js";
|
|
117
|
+
export * from "./extensions.js";
|
|
118
|
+
export * from "./environment.js";
|
|
106
119
|
export {
|
|
107
120
|
AgentApprovalCapabilitySchema,
|
|
108
121
|
AgentApprovalOptionIdSchema,
|
|
@@ -118,21 +131,27 @@ export {
|
|
|
118
131
|
AgentCollaborationSpawnInputSchema,
|
|
119
132
|
AgentCollaborationToolCallDetailsSchema,
|
|
120
133
|
AgentCommandExecutionDetailsSchema,
|
|
134
|
+
AgentCommandIdSchema,
|
|
121
135
|
AgentComputerActionDetailsSchema,
|
|
122
136
|
AgentConfigurationCatalogSchema,
|
|
123
137
|
AgentConfigurationFieldPortableSchema,
|
|
124
138
|
AgentConfigurationRevisionIdSchema,
|
|
125
139
|
AgentConfigurationSelectionInputSchema,
|
|
126
140
|
AgentConfigurationValueSchema,
|
|
141
|
+
AgentContentReferenceInputCapabilitySchema,
|
|
142
|
+
AgentContentReferenceInputPartSchema,
|
|
127
143
|
AgentContentStreamKindSchema,
|
|
128
144
|
AgentContextCompactionDetailsSchema,
|
|
129
145
|
AgentContextUsageSchema,
|
|
130
146
|
AgentDiffSummarySchema,
|
|
131
147
|
AgentDynamicToolCallDetailsSchema,
|
|
148
|
+
AgentEffectiveContentIdSchema,
|
|
132
149
|
AgentElicitationRequestSchema,
|
|
150
|
+
AgentEnvironmentIdSchema,
|
|
133
151
|
AgentErrorContextSchema,
|
|
134
152
|
AgentErrorSchema,
|
|
135
153
|
AgentEventSchema,
|
|
154
|
+
AgentExtensionIdSchema,
|
|
136
155
|
AgentFileChangeDetailsSchema,
|
|
137
156
|
AgentFileChangeSchema,
|
|
138
157
|
AgentGeneratedResourceDescriptorSchema,
|
|
@@ -152,6 +171,7 @@ export {
|
|
|
152
171
|
AgentManagedContentCatalogSchema,
|
|
153
172
|
AgentManagedContentDescriptorSchema,
|
|
154
173
|
AgentManagedContentIdSchema,
|
|
174
|
+
AgentMcpIntegrationDescriptorSchema,
|
|
155
175
|
AgentMcpToolCallDetailsSchema,
|
|
156
176
|
AgentOperationCatalogSchema,
|
|
157
177
|
AgentOperationDescriptorSchema,
|