acp-sdk
Version:
Agent Communication Protocol SDK
1,112 lines (1,110 loc) • 1.33 MB
TypeScript
import * as z from 'zod';
import { Simplify } from 'type-fest';
declare const AnyModel: z.ZodRecord<z.ZodString, z.ZodAny>;
type AnyModel = z.infer<typeof AnyModel>;
declare const Author: z.ZodObject<{
name: z.ZodString;
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
name: string;
email?: string | null | undefined;
url?: string | null | undefined;
}, {
name: string;
email?: string | null | undefined;
url?: string | null | undefined;
}>;
type Author = z.infer<typeof Author>;
declare const Contributor: z.ZodObject<{
name: z.ZodString;
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
name: string;
email?: string | null | undefined;
url?: string | null | undefined;
}, {
name: string;
email?: string | null | undefined;
url?: string | null | undefined;
}>;
type Contributor = z.infer<typeof Contributor>;
declare const LinkType: z.ZodEnum<["source-code", "container-image", "homepage", "documentation"]>;
type LinkType = z.infer<typeof LinkType>;
declare const Link: z.ZodObject<{
type: z.ZodEnum<["source-code", "container-image", "homepage", "documentation"]>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: "source-code" | "container-image" | "homepage" | "documentation";
url: string;
}, {
type: "source-code" | "container-image" | "homepage" | "documentation";
url: string;
}>;
type Link = z.infer<typeof Link>;
declare const DependencyType: z.ZodEnum<["agent", "tool", "model"]>;
type DependencyType = z.infer<typeof DependencyType>;
declare const Dependency: z.ZodObject<{
type: z.ZodEnum<["agent", "tool", "model"]>;
name: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: "agent" | "tool" | "model";
name: string;
}, {
type: "agent" | "tool" | "model";
name: string;
}>;
type Dependency = z.infer<typeof Dependency>;
declare const Capability: z.ZodObject<{
name: z.ZodString;
description: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
description: string;
}, {
name: string;
description: string;
}>;
type Capability = z.infer<typeof Capability>;
declare const Annotations: z.ZodObject<{
beeai_ui: z.ZodOptional<z.ZodNullable<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;
}>>>;
}, "strip", z.ZodTypeAny, {
beeai_ui?: {
ui_type: "chat" | "hands-off";
tools: {
name: string;
description?: string | null | undefined;
}[];
user_greeting?: string | null | undefined;
display_name?: string | null | undefined;
} | null | undefined;
}, {
beeai_ui?: {
ui_type: "chat" | "hands-off";
user_greeting?: string | null | undefined;
display_name?: string | null | undefined;
tools?: {
name: string;
description?: string | null | undefined;
}[] | undefined;
} | null | undefined;
}>;
type Annotations = z.infer<typeof Annotations>;
declare const Metadata: z.ZodObject<{
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
beeai_ui: z.ZodOptional<z.ZodNullable<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;
}>>>;
}, "strip", z.ZodTypeAny, {
beeai_ui?: {
ui_type: "chat" | "hands-off";
tools: {
name: string;
description?: string | null | undefined;
}[];
user_greeting?: string | null | undefined;
display_name?: string | null | undefined;
} | null | undefined;
}, {
beeai_ui?: {
ui_type: "chat" | "hands-off";
user_greeting?: string | null | undefined;
display_name?: string | null | undefined;
tools?: {
name: string;
description?: string | null | undefined;
}[] | undefined;
} | null | undefined;
}>>>;
documentation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
license: z.ZodNullable<z.ZodOptional<z.ZodString>>;
programming_language: z.ZodNullable<z.ZodOptional<z.ZodString>>;
natural_languages: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
framework: z.ZodNullable<z.ZodOptional<z.ZodString>>;
capabilities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
description: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
description: string;
}, {
name: string;
description: string;
}>, "many">>>;
domains: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
tags: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
created_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
updated_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
author: z.ZodNullable<z.ZodOptional<z.ZodObject<{
name: z.ZodString;
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
name: string;
email?: string | null | undefined;
url?: string | null | undefined;
}, {
name: string;
email?: string | null | undefined;
url?: string | null | undefined;
}>>>;
contributors: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
name: string;
email?: string | null | undefined;
url?: string | null | undefined;
}, {
name: string;
email?: string | null | undefined;
url?: string | null | undefined;
}>, "many">>>;
links: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
type: z.ZodEnum<["source-code", "container-image", "homepage", "documentation"]>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: "source-code" | "container-image" | "homepage" | "documentation";
url: string;
}, {
type: "source-code" | "container-image" | "homepage" | "documentation";
url: string;
}>, "many">>>;
dependencies: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
type: z.ZodEnum<["agent", "tool", "model"]>;
name: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: "agent" | "tool" | "model";
name: string;
}, {
type: "agent" | "tool" | "model";
name: string;
}>, "many">>>;
recommended_models: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
beeai_ui: z.ZodOptional<z.ZodNullable<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;
}>>>;
}, "strip", z.ZodTypeAny, {
beeai_ui?: {
ui_type: "chat" | "hands-off";
tools: {
name: string;
description?: string | null | undefined;
}[];
user_greeting?: string | null | undefined;
display_name?: string | null | undefined;
} | null | undefined;
}, {
beeai_ui?: {
ui_type: "chat" | "hands-off";
user_greeting?: string | null | undefined;
display_name?: string | null | undefined;
tools?: {
name: string;
description?: string | null | undefined;
}[] | undefined;
} | null | undefined;
}>>>;
documentation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
license: z.ZodNullable<z.ZodOptional<z.ZodString>>;
programming_language: z.ZodNullable<z.ZodOptional<z.ZodString>>;
natural_languages: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
framework: z.ZodNullable<z.ZodOptional<z.ZodString>>;
capabilities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
description: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
description: string;
}, {
name: string;
description: string;
}>, "many">>>;
domains: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
tags: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
created_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
updated_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
author: z.ZodNullable<z.ZodOptional<z.ZodObject<{
name: z.ZodString;
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
name: string;
email?: string | null | undefined;
url?: string | null | undefined;
}, {
name: string;
email?: string | null | undefined;
url?: string | null | undefined;
}>>>;
contributors: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
name: string;
email?: string | null | undefined;
url?: string | null | undefined;
}, {
name: string;
email?: string | null | undefined;
url?: string | null | undefined;
}>, "many">>>;
links: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
type: z.ZodEnum<["source-code", "container-image", "homepage", "documentation"]>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: "source-code" | "container-image" | "homepage" | "documentation";
url: string;
}, {
type: "source-code" | "container-image" | "homepage" | "documentation";
url: string;
}>, "many">>>;
dependencies: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
type: z.ZodEnum<["agent", "tool", "model"]>;
name: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: "agent" | "tool" | "model";
name: string;
}, {
type: "agent" | "tool" | "model";
name: string;
}>, "many">>>;
recommended_models: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
annotations: z.ZodNullable<z.ZodOptional<z.ZodObject<{
beeai_ui: z.ZodOptional<z.ZodNullable<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;
}>>>;
}, "strip", z.ZodTypeAny, {
beeai_ui?: {
ui_type: "chat" | "hands-off";
tools: {
name: string;
description?: string | null | undefined;
}[];
user_greeting?: string | null | undefined;
display_name?: string | null | undefined;
} | null | undefined;
}, {
beeai_ui?: {
ui_type: "chat" | "hands-off";
user_greeting?: string | null | undefined;
display_name?: string | null | undefined;
tools?: {
name: string;
description?: string | null | undefined;
}[] | undefined;
} | null | undefined;
}>>>;
documentation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
license: z.ZodNullable<z.ZodOptional<z.ZodString>>;
programming_language: z.ZodNullable<z.ZodOptional<z.ZodString>>;
natural_languages: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
framework: z.ZodNullable<z.ZodOptional<z.ZodString>>;
capabilities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
description: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
description: string;
}, {
name: string;
description: string;
}>, "many">>>;
domains: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
tags: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
created_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
updated_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
author: z.ZodNullable<z.ZodOptional<z.ZodObject<{
name: z.ZodString;
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
name: string;
email?: string | null | undefined;
url?: string | null | undefined;
}, {
name: string;
email?: string | null | undefined;
url?: string | null | undefined;
}>>>;
contributors: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
name: string;
email?: string | null | undefined;
url?: string | null | undefined;
}, {
name: string;
email?: string | null | undefined;
url?: string | null | undefined;
}>, "many">>>;
links: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
type: z.ZodEnum<["source-code", "container-image", "homepage", "documentation"]>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: "source-code" | "container-image" | "homepage" | "documentation";
url: string;
}, {
type: "source-code" | "container-image" | "homepage" | "documentation";
url: string;
}>, "many">>>;
dependencies: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
type: z.ZodEnum<["agent", "tool", "model"]>;
name: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: "agent" | "tool" | "model";
name: string;
}, {
type: "agent" | "tool" | "model";
name: string;
}>, "many">>>;
recommended_models: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
}, z.ZodTypeAny, "passthrough">>;
type Metadata = z.infer<typeof Metadata>;
declare const CitationMetadata: z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"citation">>;
start_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
end_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
kind: "citation";
description?: string | null | undefined;
url?: string | null | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}, {
description?: string | null | undefined;
url?: string | null | undefined;
kind?: "citation" | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}>;
type CitationMetadata = z.infer<typeof CitationMetadata>;
declare const TrajectoryMetadata: z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"trajectory">>;
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
tool_output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
}, "strip", z.ZodTypeAny, {
kind: "trajectory";
message?: string | null | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}, {
message?: string | null | undefined;
kind?: "trajectory" | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}>;
type TrajectoryMetadata = z.infer<typeof TrajectoryMetadata>;
declare const MessagePart: z.ZodEffects<z.ZodObject<{
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_type: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_encoding: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["plain", "base64"]>>>>;
content_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
metadata: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"citation">>;
start_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
end_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
kind: "citation";
description?: string | null | undefined;
url?: string | null | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}, {
description?: string | null | undefined;
url?: string | null | undefined;
kind?: "citation" | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}>, z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"trajectory">>;
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
tool_output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
}, "strip", z.ZodTypeAny, {
kind: "trajectory";
message?: string | null | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}, {
message?: string | null | undefined;
kind?: "trajectory" | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}>]>>>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_type: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_encoding: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["plain", "base64"]>>>>;
content_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
metadata: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"citation">>;
start_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
end_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
kind: "citation";
description?: string | null | undefined;
url?: string | null | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}, {
description?: string | null | undefined;
url?: string | null | undefined;
kind?: "citation" | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}>, z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"trajectory">>;
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
tool_output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
}, "strip", z.ZodTypeAny, {
kind: "trajectory";
message?: string | null | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}, {
message?: string | null | undefined;
kind?: "trajectory" | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}>]>>>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_type: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_encoding: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["plain", "base64"]>>>>;
content_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
metadata: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"citation">>;
start_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
end_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
kind: "citation";
description?: string | null | undefined;
url?: string | null | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}, {
description?: string | null | undefined;
url?: string | null | undefined;
kind?: "citation" | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}>, z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"trajectory">>;
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
tool_output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
}, "strip", z.ZodTypeAny, {
kind: "trajectory";
message?: string | null | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}, {
message?: string | null | undefined;
kind?: "trajectory" | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}>]>>>;
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_type: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_encoding: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["plain", "base64"]>>>>;
content_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
metadata: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"citation">>;
start_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
end_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
kind: "citation";
description?: string | null | undefined;
url?: string | null | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}, {
description?: string | null | undefined;
url?: string | null | undefined;
kind?: "citation" | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}>, z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"trajectory">>;
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
tool_output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
}, "strip", z.ZodTypeAny, {
kind: "trajectory";
message?: string | null | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}, {
message?: string | null | undefined;
kind?: "trajectory" | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}>]>>>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_type: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_encoding: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["plain", "base64"]>>>>;
content_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
metadata: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"citation">>;
start_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
end_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
kind: "citation";
description?: string | null | undefined;
url?: string | null | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}, {
description?: string | null | undefined;
url?: string | null | undefined;
kind?: "citation" | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}>, z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"trajectory">>;
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
tool_output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
}, "strip", z.ZodTypeAny, {
kind: "trajectory";
message?: string | null | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}, {
message?: string | null | undefined;
kind?: "trajectory" | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}>]>>>;
}, z.ZodTypeAny, "passthrough">>;
type MessagePart = Simplify<z.infer<typeof MessagePart>>;
declare const isMessagePart: (data: unknown) => data is z.objectInputType<{
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_type: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_encoding: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["plain", "base64"]>>>>;
content_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
metadata: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"citation">>;
start_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
end_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
kind: "citation";
description?: string | null | undefined;
url?: string | null | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}, {
description?: string | null | undefined;
url?: string | null | undefined;
kind?: "citation" | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}>, z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"trajectory">>;
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
tool_output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
}, "strip", z.ZodTypeAny, {
kind: "trajectory";
message?: string | null | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}, {
message?: string | null | undefined;
kind?: "trajectory" | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}>]>>>;
}, z.ZodTypeAny, "passthrough">;
declare const Artifact: z.ZodEffects<z.ZodObject<{
name: z.ZodNullable<z.ZodString>;
content_type: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_encoding: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["plain", "base64"]>>>>;
content_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
metadata: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"citation">>;
start_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
end_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
kind: "citation";
description?: string | null | undefined;
url?: string | null | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}, {
description?: string | null | undefined;
url?: string | null | undefined;
kind?: "citation" | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}>, z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"trajectory">>;
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
tool_output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
}, "strip", z.ZodTypeAny, {
kind: "trajectory";
message?: string | null | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}, {
message?: string | null | undefined;
kind?: "trajectory" | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}>]>>>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
name: z.ZodNullable<z.ZodString>;
content_type: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_encoding: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["plain", "base64"]>>>>;
content_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
metadata: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"citation">>;
start_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
end_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
kind: "citation";
description?: string | null | undefined;
url?: string | null | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}, {
description?: string | null | undefined;
url?: string | null | undefined;
kind?: "citation" | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}>, z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"trajectory">>;
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
tool_output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
}, "strip", z.ZodTypeAny, {
kind: "trajectory";
message?: string | null | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}, {
message?: string | null | undefined;
kind?: "trajectory" | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}>]>>>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
name: z.ZodNullable<z.ZodString>;
content_type: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_encoding: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["plain", "base64"]>>>>;
content_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
metadata: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"citation">>;
start_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
end_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
kind: "citation";
description?: string | null | undefined;
url?: string | null | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}, {
description?: string | null | undefined;
url?: string | null | undefined;
kind?: "citation" | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}>, z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"trajectory">>;
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
tool_output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
}, "strip", z.ZodTypeAny, {
kind: "trajectory";
message?: string | null | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}, {
message?: string | null | undefined;
kind?: "trajectory" | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}>]>>>;
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
name: z.ZodNullable<z.ZodString>;
content_type: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_encoding: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["plain", "base64"]>>>>;
content_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
metadata: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"citation">>;
start_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
end_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
kind: "citation";
description?: string | null | undefined;
url?: string | null | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}, {
description?: string | null | undefined;
url?: string | null | undefined;
kind?: "citation" | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}>, z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"trajectory">>;
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
tool_output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
}, "strip", z.ZodTypeAny, {
kind: "trajectory";
message?: string | null | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}, {
message?: string | null | undefined;
kind?: "trajectory" | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}>]>>>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
name: z.ZodNullable<z.ZodString>;
content_type: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_encoding: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["plain", "base64"]>>>>;
content_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
metadata: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"citation">>;
start_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
end_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
kind: "citation";
description?: string | null | undefined;
url?: string | null | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}, {
description?: string | null | undefined;
url?: string | null | undefined;
kind?: "citation" | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}>, z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"trajectory">>;
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
tool_output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
}, "strip", z.ZodTypeAny, {
kind: "trajectory";
message?: string | null | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}, {
message?: string | null | undefined;
kind?: "trajectory" | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}>]>>>;
}, z.ZodTypeAny, "passthrough">>;
type Artifact = Exclude<MessagePart, 'name'> & {
name: string;
};
declare const Message: z.ZodObject<{
role: z.ZodDefault<z.ZodString>;
parts: z.ZodArray<z.ZodEffects<z.ZodObject<{
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_type: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_encoding: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["plain", "base64"]>>>>;
content_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
metadata: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"citation">>;
start_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
end_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
kind: "citation";
description?: string | null | undefined;
url?: string | null | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}, {
description?: string | null | undefined;
url?: string | null | undefined;
kind?: "citation" | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}>, z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"trajectory">>;
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
tool_input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
tool_output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
}, "strip", z.ZodTypeAny, {
kind: "trajectory";
message?: string | null | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}, {
message?: string | null | undefined;
kind?: "trajectory" | undefined;
tool_name?: string | null | undefined;
tool_input?: Record<string, any> | null | undefined;
tool_output?: Record<string, any> | null | undefined;
}>]>>>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_type: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
content_encoding: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["plain", "base64"]>>>>;
content_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
metadata: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
kind: z.ZodDefault<z.ZodLiteral<"citation">>;
start_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
end_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
kind: "citation";
description?: string | null | undefined;
url?: string | null | undefined;
start_index?: number | null | undefined;
end_index?: number | null | undefined;
title?: string | null | undefined;
}, {