acp-sdk
Version:
Agent Communication Protocol SDK
47 lines (44 loc) • 1.5 kB
TypeScript
import { z } from 'zod';
declare const PlatformUIType: z.ZodEnum<["chat", "hands-off"]>;
declare const AgentToolInfo: z.ZodObject<{
name: z.ZodString;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
name: string;
description?: string | null | undefined;
}, {
name: string;
description?: string | null | undefined;
}>;
declare const PlatformUIAnnotation: z.ZodObject<{
ui_type: z.ZodEnum<["chat", "hands-off"]>;
user_greeting: z.ZodOptional<z.ZodNullable<z.ZodString>>;
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
name: z.ZodString;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
name: string;
description?: string | null | undefined;
}, {
name: string;
description?: string | null | undefined;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
ui_type: "chat" | "hands-off";
tools: {
name: string;
description?: string | null | undefined;
}[];
user_greeting?: string | null | undefined;
display_name?: string | null | undefined;
}, {
ui_type: "chat" | "hands-off";
user_greeting?: string | null | undefined;
display_name?: string | null | undefined;
tools?: {
name: string;
description?: string | null | undefined;
}[] | undefined;
}>;
export { AgentToolInfo, PlatformUIAnnotation, PlatformUIType };