@agen-ai/agent-protocol 0.2.2 → 0.2.3
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 +22 -12
- package/dist/capabilities/types.d.ts +64 -18
- package/dist/capabilities/types.js +0 -6
- package/dist/collaboration/index.d.ts +3 -0
- package/dist/collaboration/index.js +2 -0
- package/dist/collaboration/parsers.d.ts +9 -0
- package/dist/collaboration/parsers.js +32 -0
- package/dist/collaboration/types.d.ts +88 -0
- package/dist/collaboration/types.js +64 -0
- package/dist/configuration/index.d.ts +3 -0
- package/dist/configuration/index.js +2 -0
- package/dist/configuration/parsers.d.ts +9 -0
- package/dist/configuration/parsers.js +98 -0
- package/dist/configuration/types.d.ts +72 -0
- package/dist/configuration/types.js +27 -0
- package/dist/events/types.d.ts +15 -3
- package/dist/events/types.js +3 -0
- package/dist/foundation/parsers.d.ts +19 -1
- package/dist/foundation/parsers.js +70 -0
- package/dist/foundation/types.d.ts +10 -1
- package/dist/foundation/types.js +1 -1
- package/dist/integrations/index.d.ts +3 -0
- package/dist/integrations/index.js +2 -0
- package/dist/integrations/parsers.d.ts +7 -0
- package/dist/integrations/parsers.js +23 -0
- package/dist/integrations/types.d.ts +43 -0
- package/dist/integrations/types.js +23 -0
- package/dist/jsonSchema/generated.d.ts +9686 -3515
- package/dist/jsonSchema/generated.js +5341 -1391
- package/dist/managedContent/index.d.ts +3 -0
- package/dist/managedContent/index.js +2 -0
- package/dist/managedContent/parsers.d.ts +7 -0
- package/dist/managedContent/parsers.js +23 -0
- package/dist/managedContent/types.d.ts +39 -0
- package/dist/managedContent/types.js +21 -0
- package/dist/operations/index.d.ts +3 -0
- package/dist/operations/index.js +2 -0
- package/dist/operations/parsers.d.ts +15 -0
- package/dist/operations/parsers.js +181 -0
- package/dist/operations/types.d.ts +112 -0
- package/dist/operations/types.js +67 -0
- package/dist/public/collaboration.d.ts +2 -0
- package/dist/public/collaboration.js +1 -0
- package/dist/public/configuration.d.ts +2 -0
- package/dist/public/configuration.js +1 -0
- package/dist/public/index.d.ts +6 -0
- package/dist/public/index.js +6 -0
- package/dist/public/integrations.d.ts +2 -0
- package/dist/public/integrations.js +1 -0
- package/dist/public/managedContent.d.ts +2 -0
- package/dist/public/managedContent.js +1 -0
- package/dist/public/operations.d.ts +2 -0
- package/dist/public/operations.js +1 -0
- package/dist/public/resources.d.ts +2 -0
- package/dist/public/resources.js +1 -0
- package/dist/requests/parsers.js +40 -11
- package/dist/requests/types.d.ts +35 -8
- package/dist/requests/types.js +15 -1
- package/dist/resources/index.d.ts +3 -0
- package/dist/resources/index.js +2 -0
- package/dist/resources/parsers.d.ts +5 -0
- package/dist/resources/parsers.js +12 -0
- package/dist/resources/types.d.ts +39 -0
- package/dist/resources/types.js +19 -0
- package/dist/sessions/types.d.ts +15 -4
- package/dist/zod/capabilities.d.ts +103 -15
- package/dist/zod/capabilities.js +196 -31
- package/dist/zod/collaboration.d.ts +60 -0
- package/dist/zod/collaboration.js +155 -0
- package/dist/zod/configuration.d.ts +177 -0
- package/dist/zod/configuration.js +157 -0
- package/dist/zod/events.d.ts +214 -22
- package/dist/zod/events.js +15 -0
- package/dist/zod/foundation.d.ts +10 -1
- package/dist/zod/foundation.js +18 -0
- package/dist/zod/index.d.ts +7 -1
- package/dist/zod/index.js +62 -0
- package/dist/zod/integrations.d.ts +76 -0
- package/dist/zod/integrations.js +92 -0
- package/dist/zod/managedContent.d.ts +9 -0
- package/dist/zod/managedContent.js +70 -0
- package/dist/zod/operations.d.ts +339 -0
- package/dist/zod/operations.js +229 -0
- package/dist/zod/requests.d.ts +100 -11
- package/dist/zod/requests.js +66 -26
- package/dist/zod/resources.d.ts +43 -0
- package/dist/zod/resources.js +82 -0
- package/dist/zod/sessions.d.ts +168 -21
- package/dist/zod/sessions.js +54 -42
- package/dist/zod/typeEquality.generated.d.ts +40 -0
- package/package.json +26 -2
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
import { type AgentIntegrationCatalog, type AgentIntegrationDescriptor } from '../integrations/types.js';
|
|
3
|
+
declare const AgentIntegrationDescriptorPortableSchema: z.ZodReadonly<z.ZodObject<{
|
|
4
|
+
integrationId: z.ZodType<import("../index.js").AgentIntegrationId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationId, unknown>>;
|
|
5
|
+
revision: z.ZodNumber;
|
|
6
|
+
kind: z.ZodLiteral<"mcp">;
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
status: z.ZodEnum<{
|
|
9
|
+
starting: "starting";
|
|
10
|
+
ready: "ready";
|
|
11
|
+
degraded: "degraded";
|
|
12
|
+
unavailable: "unavailable";
|
|
13
|
+
}>;
|
|
14
|
+
servers: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
15
|
+
serverId: z.ZodType<import("../index.js").AgentIntegrationServerId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationServerId, unknown>>;
|
|
16
|
+
name: z.ZodString;
|
|
17
|
+
status: z.ZodEnum<{
|
|
18
|
+
starting: "starting";
|
|
19
|
+
ready: "ready";
|
|
20
|
+
degraded: "degraded";
|
|
21
|
+
unavailable: "unavailable";
|
|
22
|
+
}>;
|
|
23
|
+
tools: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
24
|
+
toolId: z.ZodType<import("../index.js").AgentIntegrationToolId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationToolId, unknown>>;
|
|
25
|
+
name: z.ZodString;
|
|
26
|
+
description: z.ZodOptional<z.ZodString>;
|
|
27
|
+
}, z.core.$strict>>>>;
|
|
28
|
+
resources: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
29
|
+
resourceId: z.ZodType<import("../index.js").AgentIntegrationResourceId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationResourceId, unknown>>;
|
|
30
|
+
name: z.ZodString;
|
|
31
|
+
description: z.ZodOptional<z.ZodString>;
|
|
32
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
33
|
+
}, z.core.$strict>>>>;
|
|
34
|
+
}, z.core.$strict>>>>;
|
|
35
|
+
}, z.core.$strict>>;
|
|
36
|
+
export declare const AgentIntegrationDescriptorSchema: z.ZodType<AgentIntegrationDescriptor>;
|
|
37
|
+
export declare const AgentIntegrationCatalogPortableSchema: z.ZodReadonly<z.ZodObject<{
|
|
38
|
+
revision: z.ZodNumber;
|
|
39
|
+
observedAt: z.ZodType<import("../index.js").AgentIsoDateTime, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIsoDateTime, unknown>>;
|
|
40
|
+
integrations: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
41
|
+
integrationId: z.ZodType<import("../index.js").AgentIntegrationId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationId, unknown>>;
|
|
42
|
+
revision: z.ZodNumber;
|
|
43
|
+
kind: z.ZodLiteral<"mcp">;
|
|
44
|
+
name: z.ZodString;
|
|
45
|
+
status: z.ZodEnum<{
|
|
46
|
+
starting: "starting";
|
|
47
|
+
ready: "ready";
|
|
48
|
+
degraded: "degraded";
|
|
49
|
+
unavailable: "unavailable";
|
|
50
|
+
}>;
|
|
51
|
+
servers: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
52
|
+
serverId: z.ZodType<import("../index.js").AgentIntegrationServerId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationServerId, unknown>>;
|
|
53
|
+
name: z.ZodString;
|
|
54
|
+
status: z.ZodEnum<{
|
|
55
|
+
starting: "starting";
|
|
56
|
+
ready: "ready";
|
|
57
|
+
degraded: "degraded";
|
|
58
|
+
unavailable: "unavailable";
|
|
59
|
+
}>;
|
|
60
|
+
tools: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
61
|
+
toolId: z.ZodType<import("../index.js").AgentIntegrationToolId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationToolId, unknown>>;
|
|
62
|
+
name: z.ZodString;
|
|
63
|
+
description: z.ZodOptional<z.ZodString>;
|
|
64
|
+
}, z.core.$strict>>>>;
|
|
65
|
+
resources: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
66
|
+
resourceId: z.ZodType<import("../index.js").AgentIntegrationResourceId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentIntegrationResourceId, unknown>>;
|
|
67
|
+
name: z.ZodString;
|
|
68
|
+
description: z.ZodOptional<z.ZodString>;
|
|
69
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
70
|
+
}, z.core.$strict>>>>;
|
|
71
|
+
}, z.core.$strict>>>>;
|
|
72
|
+
}, z.core.$strict>>>>;
|
|
73
|
+
}, z.core.$strict>>;
|
|
74
|
+
export declare const AgentIntegrationCatalogSchema: z.ZodType<AgentIntegrationCatalog>;
|
|
75
|
+
export { AgentIntegrationDescriptorPortableSchema };
|
|
76
|
+
//# sourceMappingURL=integrations.d.ts.map
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
import { compareStringsByUnicodeCodePoint } from "../foundation/ordering.js";
|
|
3
|
+
import {
|
|
4
|
+
AGENT_INTEGRATION_DESCRIPTION_MAX_LENGTH,
|
|
5
|
+
AGENT_INTEGRATION_CATALOG_MAX_LENGTH,
|
|
6
|
+
AGENT_INTEGRATION_NAME_MAX_LENGTH,
|
|
7
|
+
AGENT_INTEGRATION_RESOURCES_MAX_LENGTH,
|
|
8
|
+
AGENT_INTEGRATION_SERVERS_MAX_LENGTH,
|
|
9
|
+
AGENT_INTEGRATION_STATUSES,
|
|
10
|
+
AGENT_INTEGRATION_TOOLS_MAX_LENGTH
|
|
11
|
+
} from "../integrations/types.js";
|
|
12
|
+
import {
|
|
13
|
+
AgentIntegrationIdSchema,
|
|
14
|
+
AgentIntegrationResourceIdSchema,
|
|
15
|
+
AgentIntegrationServerIdSchema,
|
|
16
|
+
AgentIntegrationToolIdSchema,
|
|
17
|
+
AgentIsoDateTimeSchema,
|
|
18
|
+
createAgentCanonicalNonBlankStringSchema
|
|
19
|
+
} from "./foundation.js";
|
|
20
|
+
const PositiveSafeIntegerSchema = z.number().int().positive().max(Number.MAX_SAFE_INTEGER);
|
|
21
|
+
const NameSchema = createAgentCanonicalNonBlankStringSchema(AGENT_INTEGRATION_NAME_MAX_LENGTH);
|
|
22
|
+
const DescriptionSchema = createAgentCanonicalNonBlankStringSchema(
|
|
23
|
+
AGENT_INTEGRATION_DESCRIPTION_MAX_LENGTH
|
|
24
|
+
);
|
|
25
|
+
const MediaTypeSchema = z.string().min(1).max(200).regex(/^[a-z0-9!#$&^_.+-]+\/[a-z0-9!#$&^_.+-]+$/u);
|
|
26
|
+
const ToolSchema = z.object({
|
|
27
|
+
toolId: AgentIntegrationToolIdSchema,
|
|
28
|
+
name: NameSchema,
|
|
29
|
+
description: DescriptionSchema.optional()
|
|
30
|
+
}).strict().readonly();
|
|
31
|
+
const ResourceSchema = z.object({
|
|
32
|
+
resourceId: AgentIntegrationResourceIdSchema,
|
|
33
|
+
name: NameSchema,
|
|
34
|
+
description: DescriptionSchema.optional(),
|
|
35
|
+
mediaType: MediaTypeSchema.optional()
|
|
36
|
+
}).strict().readonly();
|
|
37
|
+
const ServerSchema = z.object({
|
|
38
|
+
serverId: AgentIntegrationServerIdSchema,
|
|
39
|
+
name: NameSchema,
|
|
40
|
+
status: z.enum(AGENT_INTEGRATION_STATUSES),
|
|
41
|
+
tools: z.array(ToolSchema).max(AGENT_INTEGRATION_TOOLS_MAX_LENGTH).readonly(),
|
|
42
|
+
resources: z.array(ResourceSchema).max(AGENT_INTEGRATION_RESOURCES_MAX_LENGTH).readonly()
|
|
43
|
+
}).strict().readonly();
|
|
44
|
+
function addOrderedUniqueIssues(values, path, label, context) {
|
|
45
|
+
const seen = /* @__PURE__ */ new Set();
|
|
46
|
+
values.forEach((value, index) => {
|
|
47
|
+
if (seen.has(value)) {
|
|
48
|
+
context.addIssue({ code: "custom", path: [...path, index], message: `${label} must be unique.` });
|
|
49
|
+
}
|
|
50
|
+
if (index > 0 && compareStringsByUnicodeCodePoint(values[index - 1], value) >= 0) {
|
|
51
|
+
context.addIssue({ code: "custom", path: [...path, index], message: `${label} must use canonical ID order.` });
|
|
52
|
+
}
|
|
53
|
+
seen.add(value);
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
const AgentIntegrationDescriptorPortableSchema = z.object({
|
|
57
|
+
integrationId: AgentIntegrationIdSchema,
|
|
58
|
+
revision: PositiveSafeIntegerSchema,
|
|
59
|
+
kind: z.literal("mcp"),
|
|
60
|
+
name: NameSchema,
|
|
61
|
+
status: z.enum(AGENT_INTEGRATION_STATUSES),
|
|
62
|
+
servers: z.array(ServerSchema).max(AGENT_INTEGRATION_SERVERS_MAX_LENGTH).readonly()
|
|
63
|
+
}).strict().readonly();
|
|
64
|
+
const AgentIntegrationDescriptorSchema = AgentIntegrationDescriptorPortableSchema.superRefine((integration, context) => {
|
|
65
|
+
addOrderedUniqueIssues(integration.servers.map((server) => server.serverId), ["servers"], "Integration server IDs", context);
|
|
66
|
+
integration.servers.forEach((server, serverIndex) => {
|
|
67
|
+
addOrderedUniqueIssues(server.tools.map((tool) => tool.toolId), ["servers", serverIndex, "tools"], "Integration tool IDs", context);
|
|
68
|
+
addOrderedUniqueIssues(server.resources.map((resource) => resource.resourceId), ["servers", serverIndex, "resources"], "Integration resource IDs", context);
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
const AgentIntegrationCatalogPortableSchema = z.object({
|
|
72
|
+
revision: PositiveSafeIntegerSchema,
|
|
73
|
+
observedAt: AgentIsoDateTimeSchema,
|
|
74
|
+
integrations: z.array(AgentIntegrationDescriptorPortableSchema).max(AGENT_INTEGRATION_CATALOG_MAX_LENGTH).readonly()
|
|
75
|
+
}).strict().readonly();
|
|
76
|
+
const AgentIntegrationCatalogSchema = AgentIntegrationCatalogPortableSchema.superRefine((catalog, context) => {
|
|
77
|
+
addOrderedUniqueIssues(catalog.integrations.map((integration) => integration.integrationId), ["integrations"], "Integration IDs", context);
|
|
78
|
+
catalog.integrations.forEach((integration, integrationIndex) => {
|
|
79
|
+
const parsed = AgentIntegrationDescriptorSchema.safeParse(integration);
|
|
80
|
+
if (!parsed.success) {
|
|
81
|
+
for (const issue of parsed.error.issues) {
|
|
82
|
+
context.addIssue({ code: "custom", path: ["integrations", integrationIndex, ...issue.path], message: issue.message });
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
export {
|
|
88
|
+
AgentIntegrationCatalogPortableSchema,
|
|
89
|
+
AgentIntegrationCatalogSchema,
|
|
90
|
+
AgentIntegrationDescriptorPortableSchema,
|
|
91
|
+
AgentIntegrationDescriptorSchema
|
|
92
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
import { type AgentManagedContentCatalog, type AgentManagedContentDescriptor } from '../managedContent/types.js';
|
|
3
|
+
export declare const AgentManagedContentDescriptorSchema: z.ZodType<AgentManagedContentDescriptor>;
|
|
4
|
+
export declare const AgentManagedContentCatalogPortableSchema: z.ZodReadonly<z.ZodObject<{
|
|
5
|
+
revision: z.ZodNumber;
|
|
6
|
+
entries: z.ZodReadonly<z.ZodArray<z.ZodType<AgentManagedContentDescriptor, unknown, z.core.$ZodTypeInternals<AgentManagedContentDescriptor, unknown>>>>;
|
|
7
|
+
}, z.core.$strict>>;
|
|
8
|
+
export declare const AgentManagedContentCatalogSchema: z.ZodType<AgentManagedContentCatalog>;
|
|
9
|
+
//# sourceMappingURL=managedContent.d.ts.map
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
import { AGENT_ARTIFACT_BYTE_SIZE_MAX } from "../artifacts/types.js";
|
|
3
|
+
import { compareStringsByUnicodeCodePoint } from "../foundation/ordering.js";
|
|
4
|
+
import {
|
|
5
|
+
AGENT_MANAGED_CONTENT_CATALOG_MAX_LENGTH,
|
|
6
|
+
AGENT_MANAGED_CONTENT_KINDS,
|
|
7
|
+
AGENT_MANAGED_CONTENT_NAME_MAX_LENGTH,
|
|
8
|
+
AGENT_MANAGED_CONTENT_PROMPT_MAX_LENGTH,
|
|
9
|
+
AGENT_MANAGED_CONTENT_SOURCES,
|
|
10
|
+
AGENT_MANAGED_CONTENT_STATUSES,
|
|
11
|
+
AGENT_MANAGED_CONTENT_SUMMARY_MAX_LENGTH
|
|
12
|
+
} from "../managedContent/types.js";
|
|
13
|
+
import {
|
|
14
|
+
AgentManagedContentIdSchema,
|
|
15
|
+
createAgentCanonicalNonBlankStringSchema
|
|
16
|
+
} from "./foundation.js";
|
|
17
|
+
const PositiveSafeIntegerSchema = z.number().int().positive().max(Number.MAX_SAFE_INTEGER);
|
|
18
|
+
const Sha256Schema = z.string().regex(/^[a-f0-9]{64}$/u);
|
|
19
|
+
const AgentManagedContentDescriptorSchema = z.object({
|
|
20
|
+
contentId: AgentManagedContentIdSchema,
|
|
21
|
+
revision: PositiveSafeIntegerSchema,
|
|
22
|
+
kind: z.enum(AGENT_MANAGED_CONTENT_KINDS),
|
|
23
|
+
source: z.enum(AGENT_MANAGED_CONTENT_SOURCES),
|
|
24
|
+
status: z.enum(AGENT_MANAGED_CONTENT_STATUSES),
|
|
25
|
+
name: createAgentCanonicalNonBlankStringSchema(AGENT_MANAGED_CONTENT_NAME_MAX_LENGTH),
|
|
26
|
+
summary: createAgentCanonicalNonBlankStringSchema(AGENT_MANAGED_CONTENT_SUMMARY_MAX_LENGTH).optional(),
|
|
27
|
+
byteSize: z.number().int().positive().max(AGENT_ARTIFACT_BYTE_SIZE_MAX),
|
|
28
|
+
digest: z.object({ algorithm: z.literal("sha256"), value: Sha256Schema }).strict().readonly(),
|
|
29
|
+
invocation: z.discriminatedUnion("kind", [
|
|
30
|
+
z.object({ kind: z.literal("provider_materialization") }).strict().readonly(),
|
|
31
|
+
z.object({
|
|
32
|
+
kind: z.literal("prompt_recipe"),
|
|
33
|
+
prompt: createAgentCanonicalNonBlankStringSchema(
|
|
34
|
+
AGENT_MANAGED_CONTENT_PROMPT_MAX_LENGTH
|
|
35
|
+
),
|
|
36
|
+
confirmation: z.enum(["none", "required"])
|
|
37
|
+
}).strict().readonly()
|
|
38
|
+
]).readonly()
|
|
39
|
+
}).strict().superRefine((descriptor, context) => {
|
|
40
|
+
if (descriptor.kind === "prompt" !== (descriptor.invocation.kind === "prompt_recipe")) {
|
|
41
|
+
context.addIssue({
|
|
42
|
+
code: "custom",
|
|
43
|
+
path: ["invocation", "kind"],
|
|
44
|
+
message: "Prompt content must be a prompt recipe and only prompt content may be one."
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
}).readonly();
|
|
48
|
+
const AgentManagedContentCatalogPortableSchema = z.object({
|
|
49
|
+
revision: PositiveSafeIntegerSchema,
|
|
50
|
+
entries: z.array(AgentManagedContentDescriptorSchema).max(AGENT_MANAGED_CONTENT_CATALOG_MAX_LENGTH).readonly()
|
|
51
|
+
}).strict().readonly();
|
|
52
|
+
const AgentManagedContentCatalogSchema = AgentManagedContentCatalogPortableSchema.superRefine((catalog, context) => {
|
|
53
|
+
let previous = "";
|
|
54
|
+
const ids = /* @__PURE__ */ new Set();
|
|
55
|
+
catalog.entries.forEach((entry, entryIndex) => {
|
|
56
|
+
if (ids.has(entry.contentId)) {
|
|
57
|
+
context.addIssue({ code: "custom", path: ["entries", entryIndex, "contentId"], message: "Managed content IDs must be unique." });
|
|
58
|
+
}
|
|
59
|
+
if (entryIndex > 0 && compareStringsByUnicodeCodePoint(previous, entry.contentId) >= 0) {
|
|
60
|
+
context.addIssue({ code: "custom", path: ["entries", entryIndex, "contentId"], message: "Managed content must be ordered by contentId." });
|
|
61
|
+
}
|
|
62
|
+
ids.add(entry.contentId);
|
|
63
|
+
previous = entry.contentId;
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
export {
|
|
67
|
+
AgentManagedContentCatalogPortableSchema,
|
|
68
|
+
AgentManagedContentCatalogSchema,
|
|
69
|
+
AgentManagedContentDescriptorSchema
|
|
70
|
+
};
|
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
import { type AgentOperationCatalog, type AgentOperationDescriptor, type AgentOperationInvocation, type AgentOperationResult } from '../operations/types.js';
|
|
3
|
+
export declare const AgentOperationFieldSchema: z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
4
|
+
fieldKind: z.ZodLiteral<"text">;
|
|
5
|
+
multiline: z.ZodBoolean;
|
|
6
|
+
maxLength: z.ZodNumber;
|
|
7
|
+
fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
|
|
8
|
+
label: z.ZodString;
|
|
9
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10
|
+
required: z.ZodBoolean;
|
|
11
|
+
sensitivity: z.ZodEnum<{
|
|
12
|
+
ordinary: "ordinary";
|
|
13
|
+
sensitive: "sensitive";
|
|
14
|
+
}>;
|
|
15
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
16
|
+
fieldKind: z.ZodLiteral<"boolean">;
|
|
17
|
+
fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
|
|
18
|
+
label: z.ZodString;
|
|
19
|
+
description: z.ZodOptional<z.ZodString>;
|
|
20
|
+
required: z.ZodBoolean;
|
|
21
|
+
sensitivity: z.ZodEnum<{
|
|
22
|
+
ordinary: "ordinary";
|
|
23
|
+
sensitive: "sensitive";
|
|
24
|
+
}>;
|
|
25
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
26
|
+
fieldKind: z.ZodLiteral<"single_select">;
|
|
27
|
+
options: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
28
|
+
optionId: z.ZodString;
|
|
29
|
+
label: z.ZodString;
|
|
30
|
+
description: z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, z.core.$strict>>>>;
|
|
32
|
+
fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
|
|
33
|
+
label: z.ZodString;
|
|
34
|
+
description: z.ZodOptional<z.ZodString>;
|
|
35
|
+
required: z.ZodBoolean;
|
|
36
|
+
sensitivity: z.ZodEnum<{
|
|
37
|
+
ordinary: "ordinary";
|
|
38
|
+
sensitive: "sensitive";
|
|
39
|
+
}>;
|
|
40
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
41
|
+
fieldKind: z.ZodLiteral<"multi_select">;
|
|
42
|
+
options: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
43
|
+
optionId: z.ZodString;
|
|
44
|
+
label: z.ZodString;
|
|
45
|
+
description: z.ZodOptional<z.ZodString>;
|
|
46
|
+
}, z.core.$strict>>>>;
|
|
47
|
+
maxSelections: z.ZodNumber;
|
|
48
|
+
fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
|
|
49
|
+
label: z.ZodString;
|
|
50
|
+
description: z.ZodOptional<z.ZodString>;
|
|
51
|
+
required: z.ZodBoolean;
|
|
52
|
+
sensitivity: z.ZodEnum<{
|
|
53
|
+
ordinary: "ordinary";
|
|
54
|
+
sensitive: "sensitive";
|
|
55
|
+
}>;
|
|
56
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
57
|
+
fieldKind: z.ZodLiteral<"integer">;
|
|
58
|
+
minimum: z.ZodNumber;
|
|
59
|
+
maximum: z.ZodNumber;
|
|
60
|
+
fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
|
|
61
|
+
label: z.ZodString;
|
|
62
|
+
description: z.ZodOptional<z.ZodString>;
|
|
63
|
+
required: z.ZodBoolean;
|
|
64
|
+
sensitivity: z.ZodEnum<{
|
|
65
|
+
ordinary: "ordinary";
|
|
66
|
+
sensitive: "sensitive";
|
|
67
|
+
}>;
|
|
68
|
+
}, z.core.$strict>>], "fieldKind">;
|
|
69
|
+
declare const AgentOperationDescriptorPortableSchema: z.ZodReadonly<z.ZodObject<{
|
|
70
|
+
operationId: z.ZodType<import("../index.js").AgentOperationId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentOperationId, unknown>>;
|
|
71
|
+
revision: z.ZodNumber;
|
|
72
|
+
kind: z.ZodEnum<{
|
|
73
|
+
session_control: "session_control";
|
|
74
|
+
managed_content_invoke: "managed_content_invoke";
|
|
75
|
+
configuration_select: "configuration_select";
|
|
76
|
+
integration_control: "integration_control";
|
|
77
|
+
collaboration_control: "collaboration_control";
|
|
78
|
+
resource_generate: "resource_generate";
|
|
79
|
+
}>;
|
|
80
|
+
title: z.ZodString;
|
|
81
|
+
description: z.ZodOptional<z.ZodString>;
|
|
82
|
+
context: z.ZodEnum<{
|
|
83
|
+
session: "session";
|
|
84
|
+
workspace: "workspace";
|
|
85
|
+
turn: "turn";
|
|
86
|
+
collaboration: "collaboration";
|
|
87
|
+
resource: "resource";
|
|
88
|
+
}>;
|
|
89
|
+
timing: z.ZodEnum<{
|
|
90
|
+
before_session: "before_session";
|
|
91
|
+
idle_session: "idle_session";
|
|
92
|
+
active_turn: "active_turn";
|
|
93
|
+
}>;
|
|
94
|
+
executionMode: z.ZodEnum<{
|
|
95
|
+
immediate: "immediate";
|
|
96
|
+
request_continuation: "request_continuation";
|
|
97
|
+
durable_job: "durable_job";
|
|
98
|
+
}>;
|
|
99
|
+
fields: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
100
|
+
fieldKind: z.ZodLiteral<"text">;
|
|
101
|
+
multiline: z.ZodBoolean;
|
|
102
|
+
maxLength: z.ZodNumber;
|
|
103
|
+
fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
|
|
104
|
+
label: z.ZodString;
|
|
105
|
+
description: z.ZodOptional<z.ZodString>;
|
|
106
|
+
required: z.ZodBoolean;
|
|
107
|
+
sensitivity: z.ZodEnum<{
|
|
108
|
+
ordinary: "ordinary";
|
|
109
|
+
sensitive: "sensitive";
|
|
110
|
+
}>;
|
|
111
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
112
|
+
fieldKind: z.ZodLiteral<"boolean">;
|
|
113
|
+
fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
|
|
114
|
+
label: z.ZodString;
|
|
115
|
+
description: z.ZodOptional<z.ZodString>;
|
|
116
|
+
required: z.ZodBoolean;
|
|
117
|
+
sensitivity: z.ZodEnum<{
|
|
118
|
+
ordinary: "ordinary";
|
|
119
|
+
sensitive: "sensitive";
|
|
120
|
+
}>;
|
|
121
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
122
|
+
fieldKind: z.ZodLiteral<"single_select">;
|
|
123
|
+
options: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
124
|
+
optionId: z.ZodString;
|
|
125
|
+
label: z.ZodString;
|
|
126
|
+
description: z.ZodOptional<z.ZodString>;
|
|
127
|
+
}, z.core.$strict>>>>;
|
|
128
|
+
fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
|
|
129
|
+
label: z.ZodString;
|
|
130
|
+
description: z.ZodOptional<z.ZodString>;
|
|
131
|
+
required: z.ZodBoolean;
|
|
132
|
+
sensitivity: z.ZodEnum<{
|
|
133
|
+
ordinary: "ordinary";
|
|
134
|
+
sensitive: "sensitive";
|
|
135
|
+
}>;
|
|
136
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
137
|
+
fieldKind: z.ZodLiteral<"multi_select">;
|
|
138
|
+
options: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
139
|
+
optionId: z.ZodString;
|
|
140
|
+
label: z.ZodString;
|
|
141
|
+
description: z.ZodOptional<z.ZodString>;
|
|
142
|
+
}, z.core.$strict>>>>;
|
|
143
|
+
maxSelections: z.ZodNumber;
|
|
144
|
+
fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
|
|
145
|
+
label: z.ZodString;
|
|
146
|
+
description: z.ZodOptional<z.ZodString>;
|
|
147
|
+
required: z.ZodBoolean;
|
|
148
|
+
sensitivity: z.ZodEnum<{
|
|
149
|
+
ordinary: "ordinary";
|
|
150
|
+
sensitive: "sensitive";
|
|
151
|
+
}>;
|
|
152
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
153
|
+
fieldKind: z.ZodLiteral<"integer">;
|
|
154
|
+
minimum: z.ZodNumber;
|
|
155
|
+
maximum: z.ZodNumber;
|
|
156
|
+
fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
|
|
157
|
+
label: z.ZodString;
|
|
158
|
+
description: z.ZodOptional<z.ZodString>;
|
|
159
|
+
required: z.ZodBoolean;
|
|
160
|
+
sensitivity: z.ZodEnum<{
|
|
161
|
+
ordinary: "ordinary";
|
|
162
|
+
sensitive: "sensitive";
|
|
163
|
+
}>;
|
|
164
|
+
}, z.core.$strict>>], "fieldKind">>>;
|
|
165
|
+
confirmation: z.ZodEnum<{
|
|
166
|
+
required: "required";
|
|
167
|
+
none: "none";
|
|
168
|
+
}>;
|
|
169
|
+
idempotency: z.ZodEnum<{
|
|
170
|
+
required: "required";
|
|
171
|
+
not_required: "not_required";
|
|
172
|
+
}>;
|
|
173
|
+
resultKind: z.ZodEnum<{
|
|
174
|
+
resource: "resource";
|
|
175
|
+
none: "none";
|
|
176
|
+
canonical_output: "canonical_output";
|
|
177
|
+
artifact: "artifact";
|
|
178
|
+
}>;
|
|
179
|
+
}, z.core.$strict>>;
|
|
180
|
+
export declare const AgentOperationDescriptorSchema: z.ZodType<AgentOperationDescriptor>;
|
|
181
|
+
export declare const AgentOperationCatalogPortableSchema: z.ZodReadonly<z.ZodObject<{
|
|
182
|
+
revision: z.ZodNumber;
|
|
183
|
+
operations: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
184
|
+
operationId: z.ZodType<import("../index.js").AgentOperationId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentOperationId, unknown>>;
|
|
185
|
+
revision: z.ZodNumber;
|
|
186
|
+
kind: z.ZodEnum<{
|
|
187
|
+
session_control: "session_control";
|
|
188
|
+
managed_content_invoke: "managed_content_invoke";
|
|
189
|
+
configuration_select: "configuration_select";
|
|
190
|
+
integration_control: "integration_control";
|
|
191
|
+
collaboration_control: "collaboration_control";
|
|
192
|
+
resource_generate: "resource_generate";
|
|
193
|
+
}>;
|
|
194
|
+
title: z.ZodString;
|
|
195
|
+
description: z.ZodOptional<z.ZodString>;
|
|
196
|
+
context: z.ZodEnum<{
|
|
197
|
+
session: "session";
|
|
198
|
+
workspace: "workspace";
|
|
199
|
+
turn: "turn";
|
|
200
|
+
collaboration: "collaboration";
|
|
201
|
+
resource: "resource";
|
|
202
|
+
}>;
|
|
203
|
+
timing: z.ZodEnum<{
|
|
204
|
+
before_session: "before_session";
|
|
205
|
+
idle_session: "idle_session";
|
|
206
|
+
active_turn: "active_turn";
|
|
207
|
+
}>;
|
|
208
|
+
executionMode: z.ZodEnum<{
|
|
209
|
+
immediate: "immediate";
|
|
210
|
+
request_continuation: "request_continuation";
|
|
211
|
+
durable_job: "durable_job";
|
|
212
|
+
}>;
|
|
213
|
+
fields: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
214
|
+
fieldKind: z.ZodLiteral<"text">;
|
|
215
|
+
multiline: z.ZodBoolean;
|
|
216
|
+
maxLength: z.ZodNumber;
|
|
217
|
+
fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
|
|
218
|
+
label: z.ZodString;
|
|
219
|
+
description: z.ZodOptional<z.ZodString>;
|
|
220
|
+
required: z.ZodBoolean;
|
|
221
|
+
sensitivity: z.ZodEnum<{
|
|
222
|
+
ordinary: "ordinary";
|
|
223
|
+
sensitive: "sensitive";
|
|
224
|
+
}>;
|
|
225
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
226
|
+
fieldKind: z.ZodLiteral<"boolean">;
|
|
227
|
+
fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
|
|
228
|
+
label: z.ZodString;
|
|
229
|
+
description: z.ZodOptional<z.ZodString>;
|
|
230
|
+
required: z.ZodBoolean;
|
|
231
|
+
sensitivity: z.ZodEnum<{
|
|
232
|
+
ordinary: "ordinary";
|
|
233
|
+
sensitive: "sensitive";
|
|
234
|
+
}>;
|
|
235
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
236
|
+
fieldKind: z.ZodLiteral<"single_select">;
|
|
237
|
+
options: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
238
|
+
optionId: z.ZodString;
|
|
239
|
+
label: z.ZodString;
|
|
240
|
+
description: z.ZodOptional<z.ZodString>;
|
|
241
|
+
}, z.core.$strict>>>>;
|
|
242
|
+
fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
|
|
243
|
+
label: z.ZodString;
|
|
244
|
+
description: z.ZodOptional<z.ZodString>;
|
|
245
|
+
required: z.ZodBoolean;
|
|
246
|
+
sensitivity: z.ZodEnum<{
|
|
247
|
+
ordinary: "ordinary";
|
|
248
|
+
sensitive: "sensitive";
|
|
249
|
+
}>;
|
|
250
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
251
|
+
fieldKind: z.ZodLiteral<"multi_select">;
|
|
252
|
+
options: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
|
|
253
|
+
optionId: z.ZodString;
|
|
254
|
+
label: z.ZodString;
|
|
255
|
+
description: z.ZodOptional<z.ZodString>;
|
|
256
|
+
}, z.core.$strict>>>>;
|
|
257
|
+
maxSelections: z.ZodNumber;
|
|
258
|
+
fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
|
|
259
|
+
label: z.ZodString;
|
|
260
|
+
description: z.ZodOptional<z.ZodString>;
|
|
261
|
+
required: z.ZodBoolean;
|
|
262
|
+
sensitivity: z.ZodEnum<{
|
|
263
|
+
ordinary: "ordinary";
|
|
264
|
+
sensitive: "sensitive";
|
|
265
|
+
}>;
|
|
266
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
267
|
+
fieldKind: z.ZodLiteral<"integer">;
|
|
268
|
+
minimum: z.ZodNumber;
|
|
269
|
+
maximum: z.ZodNumber;
|
|
270
|
+
fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
|
|
271
|
+
label: z.ZodString;
|
|
272
|
+
description: z.ZodOptional<z.ZodString>;
|
|
273
|
+
required: z.ZodBoolean;
|
|
274
|
+
sensitivity: z.ZodEnum<{
|
|
275
|
+
ordinary: "ordinary";
|
|
276
|
+
sensitive: "sensitive";
|
|
277
|
+
}>;
|
|
278
|
+
}, z.core.$strict>>], "fieldKind">>>;
|
|
279
|
+
confirmation: z.ZodEnum<{
|
|
280
|
+
required: "required";
|
|
281
|
+
none: "none";
|
|
282
|
+
}>;
|
|
283
|
+
idempotency: z.ZodEnum<{
|
|
284
|
+
required: "required";
|
|
285
|
+
not_required: "not_required";
|
|
286
|
+
}>;
|
|
287
|
+
resultKind: z.ZodEnum<{
|
|
288
|
+
resource: "resource";
|
|
289
|
+
none: "none";
|
|
290
|
+
canonical_output: "canonical_output";
|
|
291
|
+
artifact: "artifact";
|
|
292
|
+
}>;
|
|
293
|
+
}, z.core.$strict>>>>;
|
|
294
|
+
}, z.core.$strict>>;
|
|
295
|
+
export declare const AgentOperationCatalogSchema: z.ZodType<AgentOperationCatalog>;
|
|
296
|
+
export declare const AgentOperationInvocationPortableSchema: z.ZodReadonly<z.ZodObject<{
|
|
297
|
+
invocationId: z.ZodType<import("../index.js").AgentOperationInvocationId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentOperationInvocationId, unknown>>;
|
|
298
|
+
operationId: z.ZodType<import("../index.js").AgentOperationId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentOperationId, unknown>>;
|
|
299
|
+
expectedRevision: z.ZodNumber;
|
|
300
|
+
values: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
301
|
+
fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
|
|
302
|
+
fieldKind: z.ZodLiteral<"text">;
|
|
303
|
+
value: z.ZodString;
|
|
304
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
305
|
+
fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
|
|
306
|
+
fieldKind: z.ZodLiteral<"boolean">;
|
|
307
|
+
value: z.ZodBoolean;
|
|
308
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
309
|
+
fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
|
|
310
|
+
fieldKind: z.ZodLiteral<"single_select">;
|
|
311
|
+
optionId: z.ZodString;
|
|
312
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
313
|
+
fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
|
|
314
|
+
fieldKind: z.ZodLiteral<"multi_select">;
|
|
315
|
+
optionIds: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
316
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
317
|
+
fieldId: z.ZodType<import("../index.js").AgentRequestFieldId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentRequestFieldId, unknown>>;
|
|
318
|
+
fieldKind: z.ZodLiteral<"integer">;
|
|
319
|
+
value: z.ZodNumber;
|
|
320
|
+
}, z.core.$strict>>], "fieldKind">>>;
|
|
321
|
+
}, z.core.$strict>>;
|
|
322
|
+
export declare const AgentOperationInvocationSchema: z.ZodType<AgentOperationInvocation>;
|
|
323
|
+
export declare const AgentOperationResultPortableSchema: z.ZodReadonly<z.ZodObject<{
|
|
324
|
+
invocationId: z.ZodType<import("../index.js").AgentOperationInvocationId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentOperationInvocationId, unknown>>;
|
|
325
|
+
status: z.ZodEnum<{
|
|
326
|
+
completed: "completed";
|
|
327
|
+
failed: "failed";
|
|
328
|
+
canceled: "canceled";
|
|
329
|
+
waiting_for_request: "waiting_for_request";
|
|
330
|
+
accepted: "accepted";
|
|
331
|
+
}>;
|
|
332
|
+
artifactIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodType<import("../index.js").AgentArtifactId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentArtifactId, unknown>>>>>;
|
|
333
|
+
resourceIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodType<import("../index.js").AgentGeneratedResourceId, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentGeneratedResourceId, unknown>>>>>;
|
|
334
|
+
outputText: z.ZodOptional<z.ZodString>;
|
|
335
|
+
error: z.ZodOptional<z.ZodType<import("../index.js").AgentError, unknown, z.core.$ZodTypeInternals<import("../index.js").AgentError, unknown>>>;
|
|
336
|
+
}, z.core.$strict>>;
|
|
337
|
+
export declare const AgentOperationResultSchema: z.ZodType<AgentOperationResult>;
|
|
338
|
+
export { AgentOperationDescriptorPortableSchema };
|
|
339
|
+
//# sourceMappingURL=operations.d.ts.map
|