import type * as Raw from '@relaycast/types'; import type { Camelize } from './casing.js'; export interface A2aAgentCardSkill { id?: string; name: string; description?: string; tags?: string[]; } export interface A2aAgentCard { name: string; description?: string; url: string; version: string; skills: A2aAgentCardSkill[]; provider?: Record; capabilities?: Record; defaultInputModes?: string[]; defaultOutputModes?: string[]; documentationUrl?: string; } export interface RegisterA2aOptions { agentCardUrl?: string; agentCard?: A2aAgentCard; authScheme?: string; authCredential?: string; } export interface RegisterA2aResponse { relayName: string; relayToken: string; webhookUrl: string; certification: 'level_0' | 'level_1'; } export interface A2aAgentRecord { id: string; workspaceId: string; relayAgentId: string; relayName: string; relayStatus: string; relayPersona: string | null; relayMetadata: Record | null; agentCard: A2aAgentCard; externalUrl: string; authScheme: string | null; authCredential: string | null; status: string; messagesSent: number; messagesRecv: number; lastHealth: string | null; healthFailures: number; createdAt: string; updatedAt: string; } export interface RemoveA2aAgentResponse { name: string; removed: true; } export interface DirectorySkillInput { id?: string; name: string; description?: string; tags?: string[]; metadata?: Record; } export interface DirectorySkill { id: string; skillId: string | null; name: string; description: string | null; tags: string[]; metadata: Record; } export interface DirectoryAgent { id: string; sourceAgentId: string | null; slug: string; name: string; description: string | null; provider: string | null; endpointUrl: string | null; documentationUrl: string | null; version: string | null; tags: string[]; capabilities: Record; metadata: Record; status: string; ratingAvg: number; ratingCount: number; skills: DirectorySkill[]; createdAt: string; updatedAt: string; } export interface SearchDirectoryQuery { q?: string; tags?: string[]; status?: string; limit?: number; } export interface DirectorySearchResult extends DirectoryAgent { relevanceScore: number; } export interface PublishToDirectoryRequest { sourceAgentName?: string; slug?: string; name: string; description?: string; provider?: string; endpointUrl?: string; documentationUrl?: string; version?: string; tags?: string[]; capabilities?: Record; metadata?: Record; status?: string; skills?: DirectorySkillInput[]; } export interface ImportSkillsRequest { agentName: string; metadata?: Record; status?: string; skills?: DirectorySkillInput[]; } export interface RouteResult { agentName: string; score: number; fallback: boolean; } export interface RoutingWeights { skillMatch: number; messageMatch: number; tagMatch: number; rating: number; availability: number; } export interface RoutingConfig { weights: RoutingWeights; circuitBreakerThreshold: number; circuitBreakerCooldownSeconds: number; updatedAt: string | null; } export interface UpdateRoutingConfigRequest { weights?: Partial; circuitBreakerThreshold?: number; circuitBreakerCooldownSeconds?: number; } export type ActivityItem = Camelize; export type Agent = Camelize; export type AgentCommand = Camelize; export type AgentListQuery = Camelize; export type AgentOfflineEvent = Camelize; export type AgentOnlineEvent = Camelize; export type AgentPresenceInfo = Camelize; export type Channel = Camelize; export type ChannelArchivedEvent = Camelize; export type ChannelCreatedEvent = Camelize; export type ChannelMemberInfo = Camelize; export type JoinChannelResponse = Camelize; export type InviteChannelResponse = Camelize; export type ChannelReadStatus = Camelize; export type ChannelUpdatedEvent = Camelize; export type CommandInvocation = Camelize; export type CommandInvokeResult = CommandInvocation; export type CommandInvokedEvent = Camelize; export type CreateAgentRequest = Camelize; export type CreateAgentResponse = Camelize; export type CreateChannelRequest = Camelize; export type CreateCommandRequest = Camelize; export type CreateCommandResponse = Camelize; export type CreateGroupDmRequest = Camelize; export type DmConversation = Camelize; export type CreateGroupDmResponse = Camelize; export type CreateSubscriptionRequest = Camelize; export type CreateSubscriptionResponse = Camelize; export type CreateWebhookRequest = Camelize; export type CreateWebhookResponse = Camelize; export type CreateWorkspaceResponse = Camelize; export type WorkspaceLookup = Camelize; export type SendDmResponse = Camelize; export type DmMessage = Camelize; export type DmConversationSummary = Camelize; export type DmConversationParticipant = Camelize; export type DmLastMessage = Camelize; export type DmReceivedEvent = Camelize; export type EventSubscription = Camelize; export type FileInfo = Camelize; export type CompleteUploadResponse = Camelize; export type FileUploadedEvent = Camelize; export type GroupDmMessageResponse = Camelize; export type GroupDmParticipantResponse = Camelize; export type GroupDmReceivedEvent = Camelize; export type InboxResponse = Camelize; export type InvokeCommandRequest = Camelize; export type MemberJoinedEvent = Camelize; export type MemberLeftEvent = Camelize; export type ChannelMutedEvent = Camelize; export type ChannelUnmutedEvent = Camelize; export type MuteChannelResponse = Camelize; export type MessageBlock = Camelize; export type MessageCreatedEvent = Camelize; export type MessageListQuery = Camelize; export type MessageReadEvent = Camelize; export type SearchMessageResult = Camelize; export type MessageUpdatedEvent = Camelize; export type MessageWithMeta = Camelize; export type PostMessageRequest = Camelize; export type AddedReaction = Camelize; export type ReactionAddedEvent = Camelize; export type ReactionGroup = Camelize; export type ReactionRemovedEvent = Camelize; export type ReadReceipt = Camelize; export type ReaderInfo = Camelize; export type RelaycastMessageEvent = Camelize; export type ReleaseAgentRequest = Camelize; export type ReleaseAgentResponse = Camelize; export type SendDmRequest = Camelize; export type SetSystemPromptRequest = Camelize; export type SpawnAgentRequest = Camelize; export type SpawnAgentResponse = Camelize; export type SystemPrompt = Camelize; export type ThreadReplyEvent = Camelize; export type ThreadReplyRequest = Camelize; export type TokenRotateResponse = Camelize; export type UpdateAgentRequest = Camelize; export type UpdateChannelRequest = Camelize; export type UpdateWorkspaceRequest = Camelize; export type UploadRequest = Camelize; export type UploadResponse = Camelize; export type Webhook = Camelize; export type WebhookReceivedEvent = Camelize; export type WebhookTriggerRequest = Camelize; export type WebhookTriggerResponse = Camelize; export type Workspace = Camelize; export type WorkspaceDmConversation = Camelize; export type SearchResult = SearchMessageResult; export type WsClientEvent = Camelize; export type WsCloseEvent = Camelize; export type WsErrorEvent = Camelize; export type WsOpenEvent = Camelize; export type WsPermanentlyDisconnectedEvent = Camelize; export type WsReconnectingEvent = Camelize; //# sourceMappingURL=types.d.ts.map