export { AgentProfileSchema, AgentSkillSelectionSchema, type AgentProfile, type AgentSkillSelection, } from "./agent-profile.js"; export { PluginIdSchema, PluginRequirementsSchema, DirectoryPluginSourceSchema, PluginSourceSchema, type PluginRequirements, type PluginSource, } from "./plugin-config.js"; export { TerminalProfileSchema, type TerminalProfile } from "./terminal-profile.js"; import { z } from "zod"; import { ChatCreateRequestSchema, ChatListRequestSchema, ChatInspectRequestSchema, ChatDeleteRequestSchema, ChatPostRequestSchema, ChatReadRequestSchema, ChatWaitRequestSchema, ChatCreateResponseSchema, ChatListResponseSchema, ChatInspectResponseSchema, ChatDeleteResponseSchema, ChatPostResponseSchema, ChatReadResponseSchema, ChatWaitResponseSchema } from "./chat/rpc-schemas.js"; import { ScheduleCreateRequestSchema, ScheduleListRequestSchema, ScheduleInspectRequestSchema, ScheduleLogsRequestSchema, SchedulePauseRequestSchema, ScheduleResumeRequestSchema, ScheduleDeleteRequestSchema, ScheduleRunOnceRequestSchema, ScheduleUpdateRequestSchema, ScheduleCreateResponseSchema, ScheduleListResponseSchema, ScheduleInspectResponseSchema, ScheduleLogsResponseSchema, SchedulePauseResponseSchema, ScheduleResumeResponseSchema, ScheduleDeleteResponseSchema, ScheduleRunOnceResponseSchema, ScheduleUpdateResponseSchema } from "./schedule/rpc-schemas.js"; import { LoopRunRequestSchema, LoopListRequestSchema, LoopInspectRequestSchema, LoopLogsRequestSchema, LoopStopRequestSchema, LoopRunResponseSchema, LoopListResponseSchema, LoopInspectResponseSchema, LoopLogsResponseSchema, LoopStopResponseSchema } from "./loop/rpc-schemas.js"; import { PaseoConfigRawSchema, PaseoLifecycleCommandRawSchema, PaseoMetadataGenerationEntrySchema, PaseoMetadataGenerationSchema, PaseoScriptEntryRawSchema, PaseoWorktreeConfigRawSchema, type PaseoConfigRaw, type PaseoConfigRevision, type PaseoMetadataGeneration, type PaseoMetadataGenerationEntry, type PaseoScriptEntryRaw, type ProjectConfigRpcError } from "./paseo-config-schema.js"; export { PaseoConfigRawSchema, PaseoLifecycleCommandRawSchema, PaseoMetadataGenerationEntrySchema, PaseoMetadataGenerationSchema, PaseoScriptEntryRawSchema, PaseoWorktreeConfigRawSchema, type PaseoConfigRaw, type PaseoConfigRevision, type PaseoMetadataGeneration, type PaseoMetadataGenerationEntry, type PaseoScriptEntryRaw, type ProjectConfigRpcError, }; export declare const DAEMON_PERMISSIONS: readonly ["daemon.read", "daemon.manage", "tunnel.manage", "access.manage", "workspace.read", "workspace.write", "workspace.manage", "automation.manage", "hub.execute"]; export declare const DaemonPermissionSchema: z.ZodEnum<{ "daemon.read": "daemon.read"; "daemon.manage": "daemon.manage"; "tunnel.manage": "tunnel.manage"; "access.manage": "access.manage"; "workspace.read": "workspace.read"; "workspace.write": "workspace.write"; "workspace.manage": "workspace.manage"; "automation.manage": "automation.manage"; "hub.execute": "hub.execute"; }>; export type DaemonPermission = z.infer; export declare const MutableDaemonConfigSchema: z.ZodObject<{ relay: z.ZodOptional>; mcp: z.ZodObject<{ enabled: z.ZodOptional; injectIntoAgents: z.ZodBoolean; }, z.core.$loose>; hostnames: z.ZodOptional, z.ZodArray]>>; cors: z.ZodOptional; }, z.core.$loose>>; trustedProxies: z.ZodOptional, z.ZodArray]>>; git: z.ZodOptional>; app: z.ZodOptional>; catalogRefreshTimeoutMs: z.ZodOptional; browserTools: z.ZodDefault; }, z.core.$loose>>; providers: z.ZodDefault; disabledTools: z.ZodOptional>; }, z.core.$strip>>; enabled: z.ZodOptional; additionalModels: z.ZodOptional; isDefault: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; metadataGeneration: z.ZodDefault; thinkingOptionId: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>; autoArchiveAfterMerge: z.ZodDefault; enableTerminalAgentHooks: z.ZodDefault; appendSystemPrompt: z.ZodDefault; terminalProfiles: z.ZodOptional>; icon: z.ZodOptional; }, z.core.$loose>>>; agentProfiles: z.ZodOptional; color: z.ZodOptional; provider: z.ZodString; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; notes: z.ZodOptional; }, z.core.$loose>>>; skills: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">>; }, z.core.$strict>>; pluginsEnabled: z.ZodOptional; plugins: z.ZodOptional; path: z.ZodString; enabled: z.ZodOptional; }, z.core.$strict>], "source">>>; }, z.core.$loose>; export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{ relay: z.ZodOptional; }, z.core.$loose>>>; mcp: z.ZodOptional; }, z.core.$loose>>>; browserTools: z.ZodOptional>; }, z.core.$loose>>>; providers: z.ZodOptional; disabledTools: z.ZodOptional>; }, z.core.$strip>>>; enabled: z.ZodOptional>; additionalModels: z.ZodOptional; isDefault: z.ZodOptional; }, z.core.$loose>>>>; }, z.core.$loose>>>>; removeProviders: z.ZodOptional>>; metadataGeneration: z.ZodOptional; thinkingOptionId: z.ZodOptional; }, z.core.$loose>>>>; }, z.core.$loose>>>; autoArchiveAfterMerge: z.ZodOptional>; enableTerminalAgentHooks: z.ZodOptional>; appendSystemPrompt: z.ZodOptional>; terminalProfiles: z.ZodOptional>; icon: z.ZodOptional; }, z.core.$loose>>>>; agentProfiles: z.ZodOptional; color: z.ZodOptional; provider: z.ZodString; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; notes: z.ZodOptional; }, z.core.$loose>>>>; pluginsEnabled: z.ZodOptional>; plugins: z.ZodOptional; path: z.ZodString; enabled: z.ZodOptional; }, z.core.$strict>], "source">>>>; }, z.core.$loose>; export type MutableDaemonConfig = z.infer; export type MutableDaemonConfigPatch = z.infer; import type { AgentCapabilityFlags, AgentMode, AgentPermissionRequest, AgentPermissionResponse, AgentPersistenceHandle, ProviderStatus, AgentRuntimeInfo, AgentTimelineItem, AgentProviderNotice, AgentUsage, JsonValue } from "./agent-types.js"; export declare const AgentStatusSchema: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; export declare const AgentFeatureToggleSchema: z.ZodObject<{ type: z.ZodLiteral<"toggle">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>; export declare const AgentFeatureSelectSchema: z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; export declare const AgentFeatureSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"toggle">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">; export declare const ProviderSnapshotEntrySchema: z.ZodObject<{ provider: z.ZodString; status: z.ZodType>; enabled: z.ZodDefault>; source: z.ZodOptional>; error: z.ZodOptional; models: z.ZodOptional>; isSelectable: z.ZodOptional; label: z.ZodString; description: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; contextWindowMaxTokens: z.ZodOptional; thinkingOptions: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>>; defaultThinkingOptionId: z.ZodOptional; }, z.core.$strip>>>; modes: z.ZodOptional>>>; fetchedAt: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; iconSvg: z.ZodOptional; defaultModeId: z.ZodOptional>; }, z.core.$strip>; export declare const CompactProviderSnapshotModelSchema: z.ZodObject<{ description: z.ZodOptional; metadata: z.ZodOptional>; label: z.ZodString; id: z.ZodString; isDefault: z.ZodOptional; aliases: z.ZodOptional>; isSelectable: z.ZodOptional; contextWindowMaxTokens: z.ZodOptional; defaultThinkingOptionId: z.ZodOptional; thinkingSet: z.ZodOptional; }, z.core.$strip>; export declare const ProviderSnapshotThinkingSetSchema: z.ZodObject<{ options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; defaultOptionId: z.ZodOptional; }, z.core.$strip>; export declare const CompactProviderSnapshotEntrySchema: z.ZodObject<{ error: z.ZodOptional; description: z.ZodOptional; label: z.ZodOptional; provider: z.ZodString; source: z.ZodOptional>; enabled: z.ZodDefault>; status: z.ZodType>; defaultModeId: z.ZodOptional>; modes: z.ZodOptional>>>; fetchedAt: z.ZodOptional; iconSvg: z.ZodOptional; models: z.ZodOptional; metadata: z.ZodOptional>; label: z.ZodString; id: z.ZodString; isDefault: z.ZodOptional; aliases: z.ZodOptional>; isSelectable: z.ZodOptional; contextWindowMaxTokens: z.ZodOptional; defaultThinkingOptionId: z.ZodOptional; thinkingSet: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>; export declare const CompactProviderSnapshotSchema: z.ZodObject<{ entries: z.ZodArray; description: z.ZodOptional; label: z.ZodOptional; provider: z.ZodString; source: z.ZodOptional>; enabled: z.ZodDefault>; status: z.ZodType>; defaultModeId: z.ZodOptional>; modes: z.ZodOptional>>>; fetchedAt: z.ZodOptional; iconSvg: z.ZodOptional; models: z.ZodOptional; metadata: z.ZodOptional>; label: z.ZodString; id: z.ZodString; isDefault: z.ZodOptional; aliases: z.ZodOptional>; isSelectable: z.ZodOptional; contextWindowMaxTokens: z.ZodOptional; defaultThinkingOptionId: z.ZodOptional; thinkingSet: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; thinkingSets: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; defaultOptionId: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export declare const AgentPermissionResponseSchema: z.ZodType; export declare const AgentPermissionRequestPayloadSchema: z.ZodType; export declare const AgentTimelineItemPayloadSchema: z.ZodType; export declare const AgentStreamEventPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"thread_started">; sessionId: z.ZodString; provider: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_started">; provider: z.ZodString; turnId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_completed">; provider: z.ZodString; turnId: z.ZodOptional; usage: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_failed">; provider: z.ZodString; turnId: z.ZodOptional; error: z.ZodString; code: z.ZodOptional; diagnostic: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_canceled">; provider: z.ZodString; turnId: z.ZodOptional; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"timeline">; provider: z.ZodString; item: z.ZodType>; turnId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"permission_requested">; provider: z.ZodString; request: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"permission_resolved">; provider: z.ZodString; requestId: z.ZodString; resolution: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"attention_required">; provider: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; timestamp: z.ZodString; shouldNotify: z.ZodBoolean; notification: z.ZodOptional; agentId: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>], "type">; export declare const AgentSnapshotPayloadSchema: z.ZodObject<{ id: z.ZodString; provider: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; export type AgentSnapshotPayload = z.infer; export declare const AgentListItemPayloadSchema: z.ZodObject<{ id: z.ZodString; shortId: z.ZodString; title: z.ZodNullable; provider: z.ZodString; model: z.ZodNullable; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; cwd: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; archivedAt: z.ZodOptional>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; labels: z.ZodDefault>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; export type AgentListItemPayload = z.infer; export type AgentStreamEventPayload = z.infer; export declare const RecentProviderSessionDescriptorPayloadSchema: z.ZodObject<{ providerId: z.ZodString; providerLabel: z.ZodString; providerHandleId: z.ZodString; cwd: z.ZodString; title: z.ZodNullable; firstPromptPreview: z.ZodNullable; lastPromptPreview: z.ZodNullable; lastActivityAt: z.ZodString; }, z.core.$strip>; export type RecentProviderSessionDescriptorPayload = z.infer; export declare const VoiceAudioChunkMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"voice_audio_chunk">; audio: z.ZodString; format: z.ZodString; isLast: z.ZodBoolean; }, z.core.$strip>; export declare const AbortRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"abort_request">; }, z.core.$strip>; export declare const AudioPlayedMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"audio_played">; id: z.ZodString; }, z.core.$strip>; export declare const DeleteAgentRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"delete_agent_request">; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const ArchiveAgentRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"archive_agent_request">; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const CloseItemsRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"close_items_request">; agentIds: z.ZodDefault>; terminalIds: z.ZodDefault>; requestId: z.ZodString; }, z.core.$strip>; export declare const UpdateAgentRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"update_agent_request">; agentId: z.ZodString; name: z.ZodOptional; labels: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>; export declare const ProjectIconSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"automatic">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"upload">; data: z.ZodString; }, z.core.$strip>], "type">; export declare const ProjectRenameRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"project.rename.request">; projectId: z.ZodString; customName: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; export declare const ProjectIconSetRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"project.icon.set.request">; projectId: z.ZodString; source: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"automatic">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"upload">; data: z.ZodString; }, z.core.$strip>], "type">; requestId: z.ZodString; }, z.core.$strip>; export declare const ProjectRemoveRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"project.remove.request">; projectId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const WorkspaceTitleSetRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.title.set.request">; workspaceId: z.ZodString; title: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; export declare const WorkspacePinSetRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.pin.set.request">; workspaceId: z.ZodString; pinned: z.ZodBoolean; requestId: z.ZodString; }, z.core.$strip>; export declare const WorkspaceLabelColorSchema: z.ZodEnum<{ violet: "violet"; sky: "sky"; emerald: "emerald"; orange: "orange"; pink: "pink"; indigo: "indigo"; teal: "teal"; red: "red"; amber: "amber"; blue: "blue"; }>; export declare const WorkspaceLabelDefinitionSchema: z.ZodObject<{ name: z.ZodString; color: z.ZodEnum<{ violet: "violet"; sky: "sky"; emerald: "emerald"; orange: "orange"; pink: "pink"; indigo: "indigo"; teal: "teal"; red: "red"; amber: "amber"; blue: "blue"; }>; }, z.core.$strip>; export declare const WorkspaceLabelListRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.label.list.request">; requestId: z.ZodString; subscribe: z.ZodOptional; }, z.core.$strip>>; sync: z.ZodOptional>; }, z.core.$strip>; export declare const WorkspaceLabelAssignmentSetRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.label.assignment.set.request">; requestId: z.ZodString; workspaceId: z.ZodString; label: z.ZodObject<{ name: z.ZodString; color: z.ZodEnum<{ violet: "violet"; sky: "sky"; emerald: "emerald"; orange: "orange"; pink: "pink"; indigo: "indigo"; teal: "teal"; red: "red"; amber: "amber"; blue: "blue"; }>; }, z.core.$strip>; assigned: z.ZodBoolean; }, z.core.$strip>; /** * Editing a label is one operation. A name and a colour are two fields of one thing, and two * RPCs can land half-applied — leaving the catalog in a state the user never asked for and the * UI with nothing true to say. Both fields are optional; omitting one leaves it alone. */ export declare const WorkspaceLabelUpdateRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.label.update.request">; requestId: z.ZodString; name: z.ZodString; newName: z.ZodOptional; color: z.ZodOptional>; }, z.core.$strip>; export declare const WorkspaceLabelDeleteRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.label.delete.request">; requestId: z.ZodString; name: z.ZodString; }, z.core.$strip>; export declare const WorkspaceLabelDeleteInspectRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.label.delete.inspect.request">; requestId: z.ZodString; name: z.ZodString; }, z.core.$strip>; export declare const WorkspaceRecoveryInspectRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.recovery.inspect.request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const WorkspaceRecoveryRestoreRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.recovery.restore.request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const SetVoiceModeMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"set_voice_mode">; enabled: z.ZodBoolean; agentId: z.ZodOptional; requestId: z.ZodOptional; }, z.core.$strip>; export declare const GitHubPrAttachmentSchema: z.ZodObject<{ type: z.ZodLiteral<"github_pr">; mimeType: z.ZodLiteral<"application/github-pr">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>; export declare const ForgeChangeRequestAttachmentSchema: z.ZodObject<{ type: z.ZodLiteral<"forge_change_request">; mimeType: z.ZodLiteral<"application/paseo-forge-change-request">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>; export declare const GitHubIssueAttachmentSchema: z.ZodObject<{ type: z.ZodLiteral<"github_issue">; mimeType: z.ZodLiteral<"application/github-issue">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; }, z.core.$strip>; export declare const ForgeIssueAttachmentSchema: z.ZodObject<{ type: z.ZodLiteral<"forge_issue">; mimeType: z.ZodLiteral<"application/paseo-forge-issue">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; }, z.core.$strip>; export declare const ExternalResourceAttachmentMetadataSchema: z.ZodObject<{ provider: z.ZodString; providerLabel: z.ZodString; resourceType: z.ZodString; id: z.ZodString; identifier: z.ZodString; title: z.ZodString; url: z.ZodString; }, z.core.$strip>; export declare const TextAttachmentSchema: z.ZodPipe; mimeType: z.ZodLiteral<"text/plain">; contextKind: z.ZodOptional; title: z.ZodOptional>; text: z.ZodString; externalResource: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ contextKind?: string | undefined; type: "text"; mimeType: "text/plain"; text: string; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }, { type: "text"; mimeType: "text/plain"; text: string; contextKind?: string | undefined; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }>>; export declare const ReviewAttachmentContextLineSchema: z.ZodObject<{ oldLineNumber: z.ZodNullable; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>; export declare const ReviewAttachmentCommentSchema: z.ZodObject<{ filePath: z.ZodString; side: z.ZodEnum<{ old: "old"; new: "new"; }>; lineNumber: z.ZodNumber; body: z.ZodString; context: z.ZodObject<{ hunkHeader: z.ZodString; targetLine: z.ZodObject<{ oldLineNumber: z.ZodNullable; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>; lines: z.ZodArray; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export declare const ReviewAttachmentSchema: z.ZodObject<{ type: z.ZodLiteral<"review">; mimeType: z.ZodLiteral<"application/paseo-review">; cwd: z.ZodString; mode: z.ZodEnum<{ uncommitted: "uncommitted"; base: "base"; }>; baseRef: z.ZodOptional>; comments: z.ZodArray; lineNumber: z.ZodNumber; body: z.ZodString; context: z.ZodObject<{ hunkHeader: z.ZodString; targetLine: z.ZodObject<{ oldLineNumber: z.ZodNullable; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>; lines: z.ZodArray; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>; export declare const UploadedFileAttachmentSchema: z.ZodObject<{ type: z.ZodLiteral<"uploaded_file">; id: z.ZodString; fileName: z.ZodString; mimeType: z.ZodString; size: z.ZodNumber; path: z.ZodString; }, z.core.$strip>; export declare const AgentAttachmentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"forge_change_request">; mimeType: z.ZodLiteral<"application/paseo-forge-change-request">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"forge_issue">; mimeType: z.ZodLiteral<"application/paseo-forge-issue">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_pr">; mimeType: z.ZodLiteral<"application/github-pr">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_issue">; mimeType: z.ZodLiteral<"application/github-issue">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; }, z.core.$strip>, z.ZodPipe; mimeType: z.ZodLiteral<"text/plain">; contextKind: z.ZodOptional; title: z.ZodOptional>; text: z.ZodString; externalResource: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ contextKind?: string | undefined; type: "text"; mimeType: "text/plain"; text: string; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }, { type: "text"; mimeType: "text/plain"; text: string; contextKind?: string | undefined; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }>>, z.ZodObject<{ type: z.ZodLiteral<"review">; mimeType: z.ZodLiteral<"application/paseo-review">; cwd: z.ZodString; mode: z.ZodEnum<{ uncommitted: "uncommitted"; base: "base"; }>; baseRef: z.ZodOptional>; comments: z.ZodArray; lineNumber: z.ZodNumber; body: z.ZodString; context: z.ZodObject<{ hunkHeader: z.ZodString; targetLine: z.ZodObject<{ oldLineNumber: z.ZodNullable; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>; lines: z.ZodArray; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"uploaded_file">; id: z.ZodString; fileName: z.ZodString; mimeType: z.ZodString; size: z.ZodNumber; path: z.ZodString; }, z.core.$strip>], "type">; export declare const ChangeRequestCheckoutSourceSchema: z.ZodObject<{ kind: z.ZodLiteral<"change_request">; forge: z.ZodOptional; number: z.ZodNumber; projectPath: z.ZodOptional; }, z.core.$strip>; export declare const ActiveTurnBehaviorSchema: z.ZodEnum<{ interrupt: "interrupt"; steer: "steer"; }>; export type ActiveTurnBehavior = z.infer; export declare const SendAgentMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"send_agent_message">; agentId: z.ZodString; text: z.ZodString; messageId: z.ZodOptional; activeTurnBehavior: z.ZodOptional>; images: z.ZodOptional>>; attachments: z.ZodOptional>>; }, z.core.$strip>; export declare const FetchAgentsRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"fetch_agents_request">; requestId: z.ZodString; scope: z.ZodOptional>; filter: z.ZodOptional>; projectKeys: z.ZodOptional>; statuses: z.ZodOptional>>; includeArchived: z.ZodOptional; requiresAttention: z.ZodOptional; thinkingOptionId: z.ZodOptional>; }, z.core.$strip>>; sort: z.ZodOptional; direction: z.ZodEnum<{ asc: "asc"; desc: "desc"; }>; }, z.core.$strip>>>; page: z.ZodOptional; }, z.core.$strip>>; subscribe: z.ZodOptional; }, z.core.$strip>>; sync: z.ZodOptional; afterSeq: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; declare const WorkspaceStateBucketSchema: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; export declare const FetchWorkspacesRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"fetch_workspaces_request">; requestId: z.ZodString; filter: z.ZodOptional; projectId: z.ZodOptional; idPrefix: z.ZodOptional; }, z.core.$strip>>; sort: z.ZodOptional; direction: z.ZodEnum<{ asc: "asc"; desc: "desc"; }>; }, z.core.$strip>>>; page: z.ZodOptional; }, z.core.$strip>>; subscribe: z.ZodOptional; }, z.core.$strip>>; sync: z.ZodOptional; afterSeq: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export declare const ProjectListRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"project.list.request">; requestId: z.ZodString; sync: z.ZodOptional; afterSeq: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export declare const FetchAgentHistoryRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_history_request">; requestId: z.ZodString; filter: z.ZodOptional>; projectKeys: z.ZodOptional>; statuses: z.ZodOptional>>; includeArchived: z.ZodOptional; requiresAttention: z.ZodOptional; thinkingOptionId: z.ZodOptional>; }, z.core.$strip>>; search: z.ZodOptional; sort: z.ZodOptional; direction: z.ZodEnum<{ asc: "asc"; desc: "desc"; }>; }, z.core.$strip>>>; page: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export declare const FetchRecentProviderSessionsRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"fetch_recent_provider_sessions_request">; requestId: z.ZodString; cwd: z.ZodOptional; providers: z.ZodOptional>; since: z.ZodOptional; limit: z.ZodOptional; query: z.ZodOptional; }, z.core.$strip>; export declare const FetchAgentRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.core.$strip>; export declare const SendAgentMessageRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"send_agent_message_request">; requestId: z.ZodString; agentId: z.ZodString; text: z.ZodString; messageId: z.ZodOptional; activeTurnBehavior: z.ZodOptional>; images: z.ZodOptional>>; attachments: z.ZodOptional>>; }, z.core.$strip>; export declare const WaitForFinishRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"wait_for_finish_request">; requestId: z.ZodString; agentId: z.ZodString; timeoutMs: z.ZodOptional; }, z.core.$strip>; export declare const DaemonGetStatusRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"daemon.get_status.request">; requestId: z.ZodString; }, z.core.$strip>; export declare const DaemonGetPairingOfferRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"daemon.get_pairing_offer.request">; requestId: z.ZodString; }, z.core.$strip>; export declare const DaemonConfigReloadRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"daemon.config.reload.request">; requestId: z.ZodString; }, z.core.$strip>; export declare const HubManagementDaemonConnectRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.connect.request">; requestId: z.ZodString; hubUrl: z.ZodString; token: z.ZodString; permissions: z.ZodDefault>>; }, z.core.$strip>; export declare const HubManagementDaemonGetStatusRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.get_status.request">; requestId: z.ZodString; }, z.core.$strip>; export declare const HubManagementDaemonDisconnectRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.disconnect.request">; requestId: z.ZodString; force: z.ZodOptional; }, z.core.$strip>; export declare const HubManagementDaemonPermissionsUpdateRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.permissions.update.request">; requestId: z.ZodString; grant: z.ZodDefault>>; revoke: z.ZodDefault>>; }, z.core.$strip>; export declare const DiagnosticsRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"diagnostics.request">; requestId: z.ZodString; }, z.core.$strip>; export declare const PluginCatalogGetRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.catalog.get.request">; requestId: z.ZodString; }, z.core.$strip>; export declare const PluginListRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.list.request">; requestId: z.ZodString; }, z.core.$strip>; export declare const PluginLogsGetRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.logs.get.request">; requestId: z.ZodString; pluginId: z.ZodString; }, z.core.$strip>; export declare const PluginDirectoryInstallRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.directory.install.request">; requestId: z.ZodString; path: z.ZodString; id: z.ZodOptional; }, z.core.$strip>; export declare const PluginDirectoryInspectRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.directory.inspect.request">; requestId: z.ZodString; path: z.ZodString; }, z.core.$strip>; export declare const PluginSourceInstallRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.source.install.request">; requestId: z.ZodString; source: z.ZodString; id: z.ZodOptional; ref: z.ZodOptional; pluginPath: z.ZodOptional; }, z.core.$strip>; export declare const PluginSourceIdentitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"directory">; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; export declare const PluginInstallationSchema: z.ZodObject<{ identity: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"directory">; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>; export type PluginInstallation = z.infer; export declare const PluginUpdateTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"git">; commit: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; resolved: z.ZodString; integrity: z.ZodString; }, z.core.$strip>], "kind">; export type PluginUpdateTarget = z.infer; export declare const PluginUpdateProposalSchema: z.ZodObject<{ id: z.ZodString; expected: z.ZodObject<{ identity: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"directory">; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; installationRoot: z.ZodString; revision: z.ZodString; }, z.core.$strip>; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"git">; commit: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; resolved: z.ZodString; integrity: z.ZodString; }, z.core.$strip>], "kind">; }, z.core.$strip>; export type PluginUpdateProposal = z.infer; export declare const PluginUpdateSelectionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"git">; ref: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; }, z.core.$strip>], "kind">; export type PluginUpdateSelection = z.infer; export declare const PluginUpdatePreviewRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.preview.request">; requestId: z.ZodString; pluginId: z.ZodOptional; target: z.ZodOptional; ref: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; }, z.core.$strip>], "kind">>; }, z.core.$strip>; export declare const PluginUpdateApplyRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.apply.request">; requestId: z.ZodString; proposals: z.ZodArray; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; installationRoot: z.ZodString; revision: z.ZodString; }, z.core.$strip>; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"git">; commit: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; resolved: z.ZodString; integrity: z.ZodString; }, z.core.$strip>], "kind">; }, z.core.$strip>>; }, z.core.$strip>; export declare const PluginSourceStatusRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.source.status.request">; requestId: z.ZodString; pluginId: z.ZodOptional; }, z.core.$strip>; export declare const PluginSourceUpdateRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.request">; requestId: z.ZodString; pluginId: z.ZodOptional; }, z.core.$strip>; export declare const PluginReloadRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.reload.request">; requestId: z.ZodString; pluginId: z.ZodString; }, z.core.$strip>; export declare const PluginEnableRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.enable.request">; requestId: z.ZodString; pluginId: z.ZodString; }, z.core.$strip>; export declare const PluginDisableRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.disable.request">; requestId: z.ZodString; pluginId: z.ZodString; }, z.core.$strip>; export declare const PluginRemoveRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.remove.request">; requestId: z.ZodString; pluginId: z.ZodString; }, z.core.$strip>; export declare const PluginRpcInvokeRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.rpc.invoke.request">; requestId: z.ZodString; pluginId: z.ZodString; method: z.ZodString; input: z.ZodUnknown; }, z.core.$strip>; export declare const AgentTimelineAppendRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.append.request">; requestId: z.ZodString; agentId: z.ZodString; item: z.ZodObject<{ type: z.ZodLiteral<"plugin">; id: z.ZodString; kind: z.ZodString; version: z.ZodNumber; data: z.ZodType>; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentSkillOperationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"add">; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"update">; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"delete">; name: z.ZodString; }, z.core.$strict>], "kind">; export type AgentSkillOperation = z.infer; export declare const AgentSkillsStatusSchema: z.ZodObject<{ state: z.ZodEnum<{ "not-installed": "not-installed"; "up-to-date": "up-to-date"; drift: "drift"; }>; ops: z.ZodArray; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"update">; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"delete">; name: z.ZodString; }, z.core.$strict>], "kind">>; available: z.ZodArray; installed: z.ZodArray; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; }, z.core.$strip>; export type AgentSkillsStatus = z.infer; export declare const AgentSkillsConfirmationSchema: z.ZodObject<{ removals: z.ZodArray; }, z.core.$strict>; export type AgentSkillsConfirmation = z.infer; export declare const AgentSkillsSaveResultSchema: z.ZodObject<{ state: z.ZodEnum<{ "not-installed": "not-installed"; "up-to-date": "up-to-date"; drift: "drift"; }>; ops: z.ZodArray; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"update">; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"delete">; name: z.ZodString; }, z.core.$strict>], "kind">>; available: z.ZodArray; installed: z.ZodArray; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; confirmationRequired: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strip>; export type AgentSkillsSaveResult = z.infer; export declare const AgentSkillsGetStatusRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.skills.get_status.request">; requestId: z.ZodString; }, z.core.$strict>; export declare const AgentSkillsReconcileRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.skills.reconcile.request">; requestId: z.ZodString; }, z.core.$strict>; export declare const AgentSkillsUninstallRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.skills.uninstall.request">; requestId: z.ZodString; }, z.core.$strict>; export declare const AgentSkillsSaveSelectionRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.skills.save_selection.request">; requestId: z.ZodString; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; confirmedRemovals: z.ZodOptional>; }, z.core.$strict>; export declare const AgentSkillsImportLegacySelectionRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.skills.import_legacy_selection.request">; requestId: z.ZodString; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; }, z.core.$strict>; export declare const GetDaemonConfigRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"get_daemon_config_request">; requestId: z.ZodString; }, z.core.$strip>; export declare const SetDaemonConfigRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"set_daemon_config_request">; requestId: z.ZodString; config: z.ZodObject<{ relay: z.ZodOptional; }, z.core.$loose>>>; mcp: z.ZodOptional; }, z.core.$loose>>>; browserTools: z.ZodOptional>; }, z.core.$loose>>>; providers: z.ZodOptional; disabledTools: z.ZodOptional>; }, z.core.$strip>>>; enabled: z.ZodOptional>; additionalModels: z.ZodOptional; isDefault: z.ZodOptional; }, z.core.$loose>>>>; }, z.core.$loose>>>>; removeProviders: z.ZodOptional>>; metadataGeneration: z.ZodOptional; thinkingOptionId: z.ZodOptional; }, z.core.$loose>>>>; }, z.core.$loose>>>; autoArchiveAfterMerge: z.ZodOptional>; enableTerminalAgentHooks: z.ZodOptional>; appendSystemPrompt: z.ZodOptional>; terminalProfiles: z.ZodOptional>; icon: z.ZodOptional; }, z.core.$loose>>>>; agentProfiles: z.ZodOptional; color: z.ZodOptional; provider: z.ZodString; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; notes: z.ZodOptional; }, z.core.$loose>>>>; pluginsEnabled: z.ZodOptional>; plugins: z.ZodOptional; path: z.ZodString; enabled: z.ZodOptional; }, z.core.$strict>], "source">>>>; }, z.core.$loose>; }, z.core.$strip>; export declare const ReadProjectConfigRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"read_project_config_request">; requestId: z.ZodString; repoRoot: z.ZodString; }, z.core.$strip>; export declare const WriteProjectConfigRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"write_project_config_request">; requestId: z.ZodString; repoRoot: z.ZodString; config: z.ZodObject<{ worktree: z.ZodOptional]>>; teardown: z.ZodOptional]>>; terminals: z.ZodOptional; servicePorts: z.ZodOptional; portScript: z.ZodOptional; }, z.core.$strict>>; }, z.core.$loose>>; scripts: z.ZodOptional; command: z.ZodOptional; port: z.ZodOptional; }, z.core.$loose>>>; metadataGeneration: z.ZodOptional; }, z.core.$loose>>>; branchName: z.ZodOptional; }, z.core.$loose>>>; commitMessage: z.ZodOptional; }, z.core.$loose>>>; pullRequest: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; }, z.core.$loose>; expectedRevision: z.ZodNullable>; }, z.core.$strip>; export declare const DictationStreamStartMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_start">; dictationId: z.ZodString; format: z.ZodString; }, z.core.$strip>; export declare const DictationStreamChunkMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_chunk">; dictationId: z.ZodString; seq: z.ZodNumber; audio: z.ZodString; format: z.ZodString; }, z.core.$strip>; export declare const DictationStreamFinishMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_finish">; dictationId: z.ZodString; finalSeq: z.ZodNumber; }, z.core.$strip>; export declare const DictationStreamCancelMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_cancel">; dictationId: z.ZodString; }, z.core.$strip>; declare const GitSetupOptionsSchema: z.ZodObject<{ baseBranch: z.ZodOptional; createNewBranch: z.ZodOptional; newBranchName: z.ZodOptional; createWorktree: z.ZodOptional; worktreeSlug: z.ZodOptional; refName: z.ZodOptional; action: z.ZodOptional>; checkoutSource: z.ZodOptional; forge: z.ZodOptional; number: z.ZodNumber; projectPath: z.ZodOptional; }, z.core.$strip>>; githubPrNumber: z.ZodOptional; }, z.core.$strip>; export type GitSetupOptions = z.infer; export declare const CreateAgentWorktreeTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"branch-off">; newBranch: z.ZodString; base: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-branch">; branch: z.ZodString; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-pr">; prNumber: z.ZodNumber; }, z.core.$strip>], "mode">; export type CreateAgentWorktreeTarget = z.infer; export declare const CreateAgentRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"create_agent_request">; idempotencyKey: z.ZodOptional; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; title: z.ZodNullable>; providerOptions: z.ZodOptional>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>; }, z.core.$strip>; env: z.ZodOptional>; workspaceId: z.ZodOptional; callerAgentId: z.ZodOptional; worktreeName: z.ZodOptional; initialPrompt: z.ZodOptional; clientMessageId: z.ZodOptional; outputSchema: z.ZodOptional>; images: z.ZodOptional>>; attachments: z.ZodOptional>>; git: z.ZodOptional; createNewBranch: z.ZodOptional; newBranchName: z.ZodOptional; createWorktree: z.ZodOptional; worktreeSlug: z.ZodOptional; refName: z.ZodOptional; action: z.ZodOptional>; checkoutSource: z.ZodOptional; forge: z.ZodOptional; number: z.ZodNumber; projectPath: z.ZodOptional; }, z.core.$strip>>; githubPrNumber: z.ZodOptional; }, z.core.$strip>>; worktree: z.ZodOptional; newBranch: z.ZodString; base: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-branch">; branch: z.ZodString; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-pr">; prNumber: z.ZodNumber; }, z.core.$strip>], "mode">>; autoArchive: z.ZodOptional; labels: z.ZodDefault>; requestId: z.ZodString; }, z.core.$strip>; /** Resource IDs are optional on creation; supplied IDs retain their identity on replay. */ export declare const AgentCreateRequestSchema: z.ZodObject<{ idempotencyKey: z.ZodOptional; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; title: z.ZodNullable>; providerOptions: z.ZodOptional>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>; }, z.core.$strip>; env: z.ZodOptional>; workspaceId: z.ZodOptional; callerAgentId: z.ZodOptional; worktreeName: z.ZodOptional; initialPrompt: z.ZodOptional; clientMessageId: z.ZodOptional; outputSchema: z.ZodOptional>; images: z.ZodOptional>>; git: z.ZodOptional; createNewBranch: z.ZodOptional; newBranchName: z.ZodOptional; createWorktree: z.ZodOptional; worktreeSlug: z.ZodOptional; refName: z.ZodOptional; action: z.ZodOptional>; checkoutSource: z.ZodOptional; forge: z.ZodOptional; number: z.ZodNumber; projectPath: z.ZodOptional; }, z.core.$strip>>; githubPrNumber: z.ZodOptional; }, z.core.$strip>>; worktree: z.ZodOptional; newBranch: z.ZodString; base: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-branch">; branch: z.ZodString; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-pr">; prNumber: z.ZodNumber; }, z.core.$strip>], "mode">>; autoArchive: z.ZodOptional; labels: z.ZodDefault>; requestId: z.ZodString; type: z.ZodLiteral<"agent.create.request">; agentId: z.ZodOptional; attachments: z.ZodOptional; mimeType: z.ZodLiteral<"application/paseo-forge-change-request">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"forge_issue">; mimeType: z.ZodLiteral<"application/paseo-forge-issue">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_pr">; mimeType: z.ZodLiteral<"application/github-pr">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_issue">; mimeType: z.ZodLiteral<"application/github-issue">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; }, z.core.$strip>, z.ZodPipe; mimeType: z.ZodLiteral<"text/plain">; contextKind: z.ZodOptional; title: z.ZodOptional>; text: z.ZodString; externalResource: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ contextKind?: string | undefined; type: "text"; mimeType: "text/plain"; text: string; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }, { type: "text"; mimeType: "text/plain"; text: string; contextKind?: string | undefined; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }>>, z.ZodObject<{ type: z.ZodLiteral<"review">; mimeType: z.ZodLiteral<"application/paseo-review">; cwd: z.ZodString; mode: z.ZodEnum<{ uncommitted: "uncommitted"; base: "base"; }>; baseRef: z.ZodOptional>; comments: z.ZodArray; lineNumber: z.ZodNumber; body: z.ZodString; context: z.ZodObject<{ hunkHeader: z.ZodString; targetLine: z.ZodObject<{ oldLineNumber: z.ZodNullable; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>; lines: z.ZodArray; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"uploaded_file">; id: z.ZodString; fileName: z.ZodString; mimeType: z.ZodString; size: z.ZodNumber; path: z.ZodString; }, z.core.$strip>], "type">>>; subscribe: z.ZodOptional; }, z.core.$strip>; export declare const WorkspaceInitialAgentSchema: z.ZodObject<{ agentId: z.ZodOptional; env: z.ZodOptional>; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; title: z.ZodNullable>; providerOptions: z.ZodOptional>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>; }, z.core.$strip>; clientMessageId: z.ZodOptional; labels: z.ZodDefault>; attachments: z.ZodOptional; mimeType: z.ZodLiteral<"application/paseo-forge-change-request">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"forge_issue">; mimeType: z.ZodLiteral<"application/paseo-forge-issue">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_pr">; mimeType: z.ZodLiteral<"application/github-pr">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_issue">; mimeType: z.ZodLiteral<"application/github-issue">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; }, z.core.$strip>, z.ZodPipe; mimeType: z.ZodLiteral<"text/plain">; contextKind: z.ZodOptional; title: z.ZodOptional>; text: z.ZodString; externalResource: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ contextKind?: string | undefined; type: "text"; mimeType: "text/plain"; text: string; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }, { type: "text"; mimeType: "text/plain"; text: string; contextKind?: string | undefined; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }>>, z.ZodObject<{ type: z.ZodLiteral<"review">; mimeType: z.ZodLiteral<"application/paseo-review">; cwd: z.ZodString; mode: z.ZodEnum<{ uncommitted: "uncommitted"; base: "base"; }>; baseRef: z.ZodOptional>; comments: z.ZodArray; lineNumber: z.ZodNumber; body: z.ZodString; context: z.ZodObject<{ hunkHeader: z.ZodString; targetLine: z.ZodObject<{ oldLineNumber: z.ZodNullable; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>; lines: z.ZodArray; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"uploaded_file">; id: z.ZodString; fileName: z.ZodString; mimeType: z.ZodString; size: z.ZodNumber; path: z.ZodString; }, z.core.$strip>], "type">>>; images: z.ZodOptional>>; callerAgentId: z.ZodOptional; initialPrompt: z.ZodOptional; outputSchema: z.ZodOptional>; autoArchive: z.ZodOptional; }, z.core.$strip>; export declare const CreationSubscribeRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"creation.subscribe.request">; requestId: z.ZodString; kind: z.ZodEnum<{ agent: "agent"; workspace: "workspace"; }>; idempotencyKey: z.ZodString; subscribe: z.ZodOptional; }, z.core.$strip>; export declare const ListProviderModelsRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"list_provider_models_request">; provider: z.ZodString; cwd: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const ListProviderModesRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"list_provider_modes_request">; provider: z.ZodString; cwd: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const ListAvailableProvidersRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"list_available_providers_request">; requestId: z.ZodString; }, z.core.$strip>; export declare const GetProvidersSnapshotRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"get_providers_snapshot_request">; cwd: z.ZodOptional; ifNoneMatch: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const RefreshProvidersSnapshotRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"refresh_providers_snapshot_request">; cwd: z.ZodOptional; providers: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>; export declare const ProviderDiagnosticRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"provider_diagnostic_request">; provider: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const ProviderUsageListRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"provider.usage.list.request">; requestId: z.ZodString; }, z.core.$strip>; export declare const ResumeAgentRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"resume_agent_request">; handle: z.ZodType>; overrides: z.ZodOptional; cwd: z.ZodOptional; modeId: z.ZodOptional>; model: z.ZodOptional>; thinkingOptionId: z.ZodOptional>; featureValues: z.ZodOptional>>; title: z.ZodOptional>>; providerOptions: z.ZodOptional>>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>>; systemPrompt: z.ZodOptional>; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>>; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; export declare const ImportAgentRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"import_agent_request">; provider: z.ZodOptional; providerId: z.ZodOptional; sessionId: z.ZodOptional; providerHandleId: z.ZodOptional; cwd: z.ZodOptional; workspaceId: z.ZodOptional; labels: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>; export declare const RefreshAgentRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"refresh_agent_request">; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const CancelAgentRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"cancel_agent_request">; agentId: z.ZodString; requestId: z.ZodOptional; }, z.core.$strip>; export declare const RestartServerRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"restart_server_request">; reason: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const ShutdownServerRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"shutdown_server_request">; requestId: z.ZodString; }, z.core.$strip>; export declare const DaemonUpdateRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"daemon.update.request">; requestId: z.ZodString; }, z.core.$strip>; export declare const AgentTimelineCursorSchema: z.ZodObject<{ epoch: z.ZodString; seq: z.ZodNumber; }, z.core.$strip>; export declare const FetchAgentTimelineRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_timeline_request">; agentId: z.ZodString; requestId: z.ZodString; direction: z.ZodOptional>; cursor: z.ZodOptional>; limit: z.ZodOptional; projection: z.ZodOptional>; mergeWindow: z.ZodOptional; }, z.core.$strip>; export declare const AgentTimelineSearchRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.search.request">; agentId: z.ZodString; requestId: z.ZodString; query: z.ZodString; cursor: z.ZodOptional; }, z.core.$strip>; export declare const AgentTimelineListPromptsRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.list_prompts.request">; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const ProviderSubagentListRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.provider_subagents.list.request">; parentAgentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const ProviderSubagentTimelineRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.provider_subagents.timeline.get.request">; parentAgentId: z.ZodString; subagentId: z.ZodString; requestId: z.ZodString; direction: z.ZodOptional>; cursor: z.ZodOptional>; limit: z.ZodOptional; }, z.core.$strip>; export declare const SetAgentTimelineSubscriptionRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.set_subscription.request">; agentIds: z.ZodArray; requestId: z.ZodString; }, z.core.$strip>; export declare const AgentForkContextRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.fork_context.request">; agentId: z.ZodString; boundaryCursor: z.ZodOptional>; boundaryMessageId: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const SetAgentModeRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"set_agent_mode_request">; agentId: z.ZodString; modeId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const SetAgentModeResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"set_agent_mode_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>; export declare const SetAgentModelRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"set_agent_model_request">; agentId: z.ZodString; modelId: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; export declare const SetAgentModelResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"set_agent_model_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>; export declare const SetAgentThinkingRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"set_agent_thinking_request">; agentId: z.ZodString; thinkingOptionId: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; export declare const SetAgentThinkingResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"set_agent_thinking_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>; export declare const SetAgentFeatureRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"set_agent_feature_request">; agentId: z.ZodString; featureId: z.ZodString; value: z.ZodUnknown; requestId: z.ZodString; }, z.core.$strip>; export declare const SetAgentFeatureResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"set_agent_feature_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>; /** * Every agent-config value a client can change in one shot. Each field is * optional and an omitted field is left alone; `null` on model and thinking * clears them, matching the single-field RPCs above. */ export declare const AgentConfigApplySchema: z.ZodObject<{ modelId: z.ZodOptional>; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional>; featureValues: z.ZodOptional>; }, z.core.$strip>; export type AgentConfigApply = z.infer; /** * Applies a whole config bundle to one agent. The four single-field RPCs above * stay for individual control edits. One request prevents client interruption * and other mutations from interleaving between bundle steps; provider-level * rejection can still leave earlier steps applied. */ export declare const AgentConfigApplyRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.config.apply.request">; agentId: z.ZodString; config: z.ZodObject<{ modelId: z.ZodOptional>; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional>; featureValues: z.ZodOptional>; }, z.core.$strip>; requestId: z.ZodString; }, z.core.$strip>; export declare const AgentConfigApplyResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.config.apply.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentDetachRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.detach.request">; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const AgentDetachResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.detach.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentRewindModeSchema: z.ZodEnum<{ conversation: "conversation"; files: "files"; both: "both"; }>; export declare const AgentRewindRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.rewind.request">; agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<{ conversation: "conversation"; files: "files"; both: "both"; }>; requestId: z.ZodString; }, z.core.$strip>; export declare const AgentRewindResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.rewind.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const UpdateAgentResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"update_agent_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>; export declare const ProjectRenameResponsePayloadSchema: z.ZodObject<{ requestId: z.ZodString; projectId: z.ZodString; accepted: z.ZodBoolean; customName: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; export declare const ProjectRenameResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"project.rename.response">; payload: z.ZodObject<{ requestId: z.ZodString; projectId: z.ZodString; accepted: z.ZodBoolean; customName: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const ProjectIconSetResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"project.icon.set.response">; payload: z.ZodObject<{ requestId: z.ZodString; projectId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const ProjectRemoveResponsePayloadSchema: z.ZodObject<{ requestId: z.ZodString; projectId: z.ZodString; accepted: z.ZodBoolean; removedWorkspaceIds: z.ZodDefault>; error: z.ZodNullable; }, z.core.$strip>; export declare const ProjectRemoveResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"project.remove.response">; payload: z.ZodObject<{ requestId: z.ZodString; projectId: z.ZodString; accepted: z.ZodBoolean; removedWorkspaceIds: z.ZodDefault>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const WorkspaceTitleSetResponsePayloadSchema: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; accepted: z.ZodBoolean; title: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; export declare const WorkspaceTitleSetResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.title.set.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; accepted: z.ZodBoolean; title: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const WorkspacePinSetResponsePayloadSchema: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; accepted: z.ZodBoolean; pinnedAt: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; export declare const WorkspacePinSetResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.pin.set.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; accepted: z.ZodBoolean; pinnedAt: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const WorkspaceRecoveryStateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"recoverable">; workspaceId: z.ZodString; workspaceName: z.ZodString; action: z.ZodString; branch: z.ZodNullable; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"unavailable">; workspaceId: z.ZodString; reason: z.ZodString; message: z.ZodString; }, z.core.$strip>], "kind">; export declare const WorkspaceRecoveryInspectResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.recovery.inspect.response">; payload: z.ZodObject<{ requestId: z.ZodString; state: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"recoverable">; workspaceId: z.ZodString; workspaceName: z.ZodString; action: z.ZodString; branch: z.ZodNullable; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"unavailable">; workspaceId: z.ZodString; reason: z.ZodString; message: z.ZodString; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>; export declare const WorkspaceRecoveryRestoreResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.recovery.restore.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const SetVoiceModeResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"set_voice_mode_response">; payload: z.ZodObject<{ requestId: z.ZodString; enabled: z.ZodBoolean; agentId: z.ZodNullable; accepted: z.ZodBoolean; error: z.ZodNullable; reasonCode: z.ZodOptional; retryable: z.ZodOptional; missingModelIds: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentPermissionResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_permission_response">; agentId: z.ZodString; requestId: z.ZodString; response: z.ZodType>; }, z.core.$strip>; export declare const CheckoutStatusRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_status_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const SubscribeCheckoutDiffRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"subscribe_checkout_diff_request">; subscriptionId: z.ZodOptional; cwd: z.ZodString; compare: z.ZodObject<{ mode: z.ZodEnum<{ uncommitted: "uncommitted"; base: "base"; }>; baseRef: z.ZodOptional; ignoreWhitespace: z.ZodOptional; }, z.core.$strip>; requestId: z.ZodString; }, z.core.$strip>; export declare const CheckoutDiffGetRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout.diff.get.request">; cwd: z.ZodString; compare: z.ZodObject<{ mode: z.ZodEnum<{ uncommitted: "uncommitted"; base: "base"; }>; baseRef: z.ZodOptional; ignoreWhitespace: z.ZodOptional; }, z.core.$strip>; requestId: z.ZodString; }, z.core.$strip>; export declare const UnsubscribeCheckoutDiffRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"unsubscribe_checkout_diff_request">; subscriptionId: z.ZodString; }, z.core.$strip>; export declare const CheckoutCommitRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_commit_request">; cwd: z.ZodString; message: z.ZodOptional; addAll: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const CheckoutMergeRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_merge_request">; cwd: z.ZodString; baseRef: z.ZodOptional; strategy: z.ZodOptional>; requireCleanTarget: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const CheckoutMergeFromBaseRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_merge_from_base_request">; cwd: z.ZodString; baseRef: z.ZodOptional; requireCleanTarget: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const CheckoutPullRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_pull_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const CheckoutPushRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_push_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const CheckoutRefreshRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout.refresh.request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const CheckoutDiscardChangesRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout.discard_changes.request">; cwd: z.ZodString; paths: z.ZodArray; requestId: z.ZodString; }, z.core.$strip>; export declare const CheckoutPrCreateRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_create_request">; cwd: z.ZodString; title: z.ZodOptional; body: z.ZodOptional; baseRef: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const CheckoutPrMergeRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_merge_request">; cwd: z.ZodString; mergeMethod: z.ZodEnum<{ merge: "merge"; squash: "squash"; rebase: "rebase"; }>; requestId: z.ZodString; }, z.core.$strip>; export declare const CheckoutForgeSetAutoMergeRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout.forge.set_auto_merge.request">; cwd: z.ZodString; enabled: z.ZodBoolean; mergeMethod: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>; export declare const CheckoutGithubSetAutoMergeRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout.github.set_auto_merge.request">; cwd: z.ZodString; enabled: z.ZodBoolean; mergeMethod: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>; declare const CheckoutCommitFileSchema: z.ZodObject<{ path: z.ZodString; additions: z.ZodNumber; deletions: z.ZodNumber; status: z.ZodOptional>; }, z.core.$strip>; declare const CheckoutCommitSchema: z.ZodObject<{ sha: z.ZodString; shortSha: z.ZodString; subject: z.ZodString; authorName: z.ZodString; authorDate: z.ZodString; isOnRemote: z.ZodBoolean; isOnBase: z.ZodOptional; files: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>; export declare const CheckoutCommitsListRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout.commits.list.request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const CheckoutCommitFileDiffRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout.commits.file_diff.request">; cwd: z.ZodString; sha: z.ZodString; path: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const CheckoutForgeGetCheckDetailsRequestSchema: z.ZodObject<{ cwd: z.ZodString; repoOwner: z.ZodOptional; repoName: z.ZodOptional; checkRunId: z.ZodOptional; workflowRunId: z.ZodOptional; changeRequestNumber: z.ZodOptional; requestId: z.ZodString; type: z.ZodLiteral<"checkout.forge.get_check_details.request">; }, z.core.$strip>; export declare const CheckoutGithubGetCheckDetailsRequestSchema: z.ZodObject<{ cwd: z.ZodString; repoOwner: z.ZodOptional; repoName: z.ZodOptional; checkRunId: z.ZodOptional; workflowRunId: z.ZodOptional; changeRequestNumber: z.ZodOptional; requestId: z.ZodString; type: z.ZodLiteral<"checkout.github.get_check_details.request">; }, z.core.$strip>; export declare const CheckoutPrStatusRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_status_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const PullRequestTimelineRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"pull_request_timeline_request">; cwd: z.ZodString; prNumber: z.ZodNumber; repoOwner: z.ZodString; repoName: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const ValidateBranchRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"validate_branch_request">; cwd: z.ZodString; branchName: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const CheckoutSwitchBranchRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_switch_branch_request">; cwd: z.ZodString; branch: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const CheckoutRenameBranchRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout.rename_branch.request">; cwd: z.ZodString; branch: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const StashSaveRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"stash_save_request">; cwd: z.ZodString; branch: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const StashPopRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"stash_pop_request">; cwd: z.ZodString; stashIndex: z.ZodNumber; requestId: z.ZodString; }, z.core.$strip>; export declare const StashListRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"stash_list_request">; cwd: z.ZodString; paseoOnly: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const BranchSuggestionsRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"branch_suggestions_request">; cwd: z.ZodString; query: z.ZodOptional; limit: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const GitHubSearchItemSchema: z.ZodObject<{ kind: z.ZodEnum<{ issue: "issue"; pr: "pr"; }>; forge: z.ZodOptional; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; state: z.ZodString; body: z.ZodNullable; labels: z.ZodArray; projectPath: z.ZodOptional; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; updatedAt: z.ZodOptional; }, z.core.$strip>; export declare const ForgeSearchItemSchema: z.ZodObject<{ forge: z.ZodOptional; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; state: z.ZodString; body: z.ZodNullable; labels: z.ZodArray; projectPath: z.ZodOptional; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; updatedAt: z.ZodOptional; kind: z.ZodEnum<{ change_request: "change_request"; issue: "issue"; }>; }, z.core.$strip>; export declare const ForgeSearchKindSchema: z.ZodEnum<{ change_request: "change_request"; issue: "issue"; pr: "pr"; "github-issue": "github-issue"; "github-pr": "github-pr"; }>; export declare const GitHubSearchKindSchema: z.ZodEnum<{ change_request: "change_request"; issue: "issue"; pr: "pr"; "github-issue": "github-issue"; "github-pr": "github-pr"; }>; export declare const ForgeSearchRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"forge.search.request">; cwd: z.ZodString; query: z.ZodString; limit: z.ZodOptional; kinds: z.ZodOptional>>; requestId: z.ZodString; }, z.core.$strip>; export declare const GitHubSearchRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"github_search_request">; cwd: z.ZodString; query: z.ZodString; limit: z.ZodOptional; kinds: z.ZodOptional>>; requestId: z.ZodString; }, z.core.$strip>; export declare const DirectorySuggestionsRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"directory_suggestions_request">; query: z.ZodString; cwd: z.ZodOptional; includeFiles: z.ZodOptional; includeDirectories: z.ZodOptional; matchMode: z.ZodOptional>; limit: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const PaseoWorktreeListRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"paseo_worktree_list_request">; cwd: z.ZodOptional; repoRoot: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const PaseoWorktreeArchiveRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"paseo_worktree_archive_request">; worktreePath: z.ZodOptional; repoRoot: z.ZodOptional; branchName: z.ZodOptional; workspaceId: z.ZodOptional; scope: z.ZodDefault>>; deleteWorktreeFromDisk: z.ZodDefault>; requestId: z.ZodString; }, z.core.$strip>; export declare const FirstAgentContextSchema: z.ZodObject<{ prompt: z.ZodOptional; attachments: z.ZodOptional>>; }, z.core.$strip>; export declare const CreatePaseoWorktreeRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"create_paseo_worktree_request">; cwd: z.ZodString; projectId: z.ZodOptional; worktreeSlug: z.ZodOptional; nameContext: z.ZodOptional; attachments: z.ZodOptional>>>; firstAgentContext: z.ZodOptional; attachments: z.ZodOptional>>; }, z.core.$strip>>; refName: z.ZodOptional; action: z.ZodOptional>; checkoutSource: z.ZodOptional; forge: z.ZodOptional; number: z.ZodNumber; projectPath: z.ZodOptional; }, z.core.$strip>>; githubPrNumber: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const WorkspaceSetupStatusRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace_setup_status_request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const WorkspaceSetupRunRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.setup.run.request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const LegacyListAvailableEditorsRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"list_available_editors_request">; requestId: z.ZodString; }, z.core.$strip>; export declare const LegacyOpenInEditorRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"open_in_editor_request">; path: z.ZodString; editorId: z.ZodString; mode: z.ZodOptional>; cwd: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const OpenProjectRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"open_project_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const ProjectAddRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"project.add.request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const ProjectCreateDirectoryRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"project.create_directory.request">; parentPath: z.ZodString; name: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const GithubRepositorySchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; nameWithOwner: z.ZodString; description: z.ZodNullable; visibility: z.ZodEnum<{ public: "public"; private: "private"; internal: "internal"; }>; updatedAt: z.ZodString; cloneUrl: z.ZodString; }, z.core.$strip>; export declare const WorkspaceGithubSearchRepositoriesRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.github.search_repositories.request">; query: z.ZodString; limit: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const ProjectGithubCloneProtocolSchema: z.ZodEnum<{ https: "https"; ssh: "ssh"; }>; export declare const ProjectGithubCloneRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"project.github.clone.request">; repo: z.ZodString; cloneProtocol: z.ZodOptional>; targetDirectory: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const ArchiveWorkspaceRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"archive_workspace_request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const WorkspaceCreateRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.create.request">; workspaceId: z.ZodOptional; agent: z.ZodOptional; env: z.ZodOptional>; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; title: z.ZodNullable>; providerOptions: z.ZodOptional>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>; }, z.core.$strip>; clientMessageId: z.ZodOptional; labels: z.ZodDefault>; attachments: z.ZodOptional; mimeType: z.ZodLiteral<"application/paseo-forge-change-request">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"forge_issue">; mimeType: z.ZodLiteral<"application/paseo-forge-issue">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_pr">; mimeType: z.ZodLiteral<"application/github-pr">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_issue">; mimeType: z.ZodLiteral<"application/github-issue">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; }, z.core.$strip>, z.ZodPipe; mimeType: z.ZodLiteral<"text/plain">; contextKind: z.ZodOptional; title: z.ZodOptional>; text: z.ZodString; externalResource: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ contextKind?: string | undefined; type: "text"; mimeType: "text/plain"; text: string; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }, { type: "text"; mimeType: "text/plain"; text: string; contextKind?: string | undefined; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }>>, z.ZodObject<{ type: z.ZodLiteral<"review">; mimeType: z.ZodLiteral<"application/paseo-review">; cwd: z.ZodString; mode: z.ZodEnum<{ uncommitted: "uncommitted"; base: "base"; }>; baseRef: z.ZodOptional>; comments: z.ZodArray; lineNumber: z.ZodNumber; body: z.ZodString; context: z.ZodObject<{ hunkHeader: z.ZodString; targetLine: z.ZodObject<{ oldLineNumber: z.ZodNullable; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>; lines: z.ZodArray; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"uploaded_file">; id: z.ZodString; fileName: z.ZodString; mimeType: z.ZodString; size: z.ZodNumber; path: z.ZodString; }, z.core.$strip>], "type">>>; images: z.ZodOptional>>; callerAgentId: z.ZodOptional; initialPrompt: z.ZodOptional; outputSchema: z.ZodOptional>; autoArchive: z.ZodOptional; }, z.core.$strip>>; subscribe: z.ZodOptional; requestId: z.ZodString; idempotencyKey: z.ZodOptional; title: z.ZodOptional; firstAgentContext: z.ZodOptional; attachments: z.ZodOptional>>; }, z.core.$strip>>; source: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"directory">; path: z.ZodString; projectId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"worktree">; cwd: z.ZodOptional; projectId: z.ZodOptional; action: z.ZodOptional>; refName: z.ZodOptional; baseBranch: z.ZodOptional; branchName: z.ZodOptional; checkoutSource: z.ZodOptional; forge: z.ZodOptional; number: z.ZodNumber; projectPath: z.ZodOptional; }, z.core.$strip>>; githubPrNumber: z.ZodOptional; worktreeSlug: z.ZodOptional; }, z.core.$strip>], "kind">; }, z.core.$strip>; export declare const WorkspaceClearAttentionRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.clear_attention.request">; workspaceId: z.ZodUnion]>; requestId: z.ZodString; }, z.core.$strip>; export declare const WorkspaceMarkUnreadRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.mark_unread.request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; declare const ParsedDiffFileSchema: z.ZodObject<{ path: z.ZodString; oldPath: z.ZodOptional; isNew: z.ZodBoolean; isDeleted: z.ZodBoolean; additions: z.ZodNumber; deletions: z.ZodNumber; hunks: z.ZodArray; content: z.ZodString; tokens: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>; status: z.ZodOptional>; }, z.core.$strip>; export declare const FileExplorerRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"file_explorer_request">; cwd: z.ZodString; path: z.ZodOptional; mode: z.ZodEnum<{ file: "file"; list: "list"; }>; requestId: z.ZodString; acceptBinary: z.ZodOptional; maxBytes: z.ZodOptional; }, z.core.$strip>; export declare const FileVersionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ready">; cwd: z.ZodString; path: z.ZodString; size: z.ZodNumber; modifiedAt: z.ZodString; revision: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"missing">; cwd: z.ZodString; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; cwd: z.ZodString; path: z.ZodString; error: z.ZodString; }, z.core.$strip>], "status">; export declare const FileSubscribeRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"fs.file.subscribe.request">; cwd: z.ZodString; path: z.ZodString; subscriptionId: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const FileUnsubscribeRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"fs.file.unsubscribe.request">; subscriptionId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const FileWriteRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"fs.file.write.request">; cwd: z.ZodString; path: z.ZodString; content: z.ZodString; expectedModifiedAt: z.ZodString; expectedRevision: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const FileEntryCreateRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"fs.entry.create.request">; cwd: z.ZodString; parentPath: z.ZodString; name: z.ZodString; kind: z.ZodEnum<{ file: "file"; directory: "directory"; }>; requestId: z.ZodString; }, z.core.$strip>; export declare const FileEntryRenameRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"fs.entry.rename.request">; cwd: z.ZodString; path: z.ZodString; name: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const FileEntryDuplicateRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"fs.entry.duplicate.request">; cwd: z.ZodString; path: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const FileEntryDeleteRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"fs.entry.delete.request">; cwd: z.ZodString; path: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const ProjectIconRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"project_icon_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const ProjectIconGetRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"project.icon.get.request">; projectId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const FileDownloadTokenRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"file_download_token_request">; cwd: z.ZodString; path: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const FileUploadRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"file.upload.request">; fileName: z.ZodString; mimeType: z.ZodString; size: z.ZodNumber; modifiedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const ClearAgentAttentionMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"clear_agent_attention">; agentId: z.ZodUnion]>; requestId: z.ZodOptional; }, z.core.$strip>; export declare const ClientHeartbeatMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"client_heartbeat">; deviceType: z.ZodEnum<{ web: "web"; mobile: "mobile"; }>; focusedAgentId: z.ZodNullable; focusedTerminalId: z.ZodDefault>>; lastActivityAt: z.ZodString; appVisible: z.ZodBoolean; appVisibilityChangedAt: z.ZodOptional; }, z.core.$strip>; export declare const PingMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"ping">; requestId: z.ZodString; clientSentAt: z.ZodOptional; }, z.core.$strip>; export declare const ListProviderFeaturesRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"list_provider_features_request">; draftConfig: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; }, z.core.$strip>; requestId: z.ZodString; }, z.core.$strip>; export declare const ListCommandsRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"list_commands_request">; agentId: z.ZodString; draftConfig: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; export declare const RegisterPushTokenMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"register_push_token">; token: z.ZodString; }, z.core.$strip>; export declare const PushUnregisterRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"push.unregister.request">; token: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const PushUnregisterResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"push.unregister.response">; payload: z.ZodObject<{ requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const ListTerminalsRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"list_terminals_request">; cwd: z.ZodOptional; workspaceId: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const SubscribeTerminalsRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"subscribe_terminals_request">; requestId: z.ZodOptional; cwd: z.ZodString; workspaceId: z.ZodOptional; }, z.core.$strip>; export declare const UnsubscribeTerminalsRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"unsubscribe_terminals_request">; cwd: z.ZodString; workspaceId: z.ZodOptional; }, z.core.$strip>; export declare const CreateTerminalRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"create_terminal_request">; cwd: z.ZodString; workspaceId: z.ZodOptional; name: z.ZodOptional; agentId: z.ZodOptional; command: z.ZodOptional; args: z.ZodOptional>; size: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>; export declare const RenameTerminalRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"terminal.rename.request">; terminalId: z.ZodString; title: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const StartWorkspaceScriptRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"start_workspace_script_request">; workspaceId: z.ZodString; scriptName: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const WorkspaceScriptListRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.script.list.request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const WorkspaceScriptStartRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.script.start.request">; workspaceId: z.ZodString; scriptName: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const WorkspaceScriptStopRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.script.stop.request">; workspaceId: z.ZodString; scriptName: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const SubscribeTerminalRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"subscribe_terminal_request">; terminalId: z.ZodString; requestId: z.ZodString; restore: z.ZodOptional; scrollbackLines: z.ZodOptional; size: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; export declare const UnsubscribeTerminalRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"unsubscribe_terminal_request">; terminalId: z.ZodString; }, z.core.$strip>; export declare const TerminalInputSchema: z.ZodObject<{ type: z.ZodLiteral<"terminal_input">; terminalId: z.ZodString; message: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"input">; data: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resize">; rows: z.ZodNumber; cols: z.ZodNumber; intent: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"mouse">; row: z.ZodNumber; col: z.ZodNumber; button: z.ZodNumber; action: z.ZodEnum<{ down: "down"; up: "up"; move: "move"; }>; }, z.core.$strip>], "type">; }, z.core.$strip>; export declare const KillTerminalRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"kill_terminal_request">; terminalId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const CaptureTerminalRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"capture_terminal_request">; terminalId: z.ZodString; start: z.ZodOptional; end: z.ZodOptional; stripAnsi: z.ZodDefault; requestId: z.ZodString; }, z.core.$strip>; export declare const HubExecutionAgentCreateRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.create.request">; requestId: z.ZodString; executionId: z.ZodString; provider: z.ZodString; cwd: z.ZodString; prompt: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; providerOptions: z.ZodOptional>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; env: z.ZodOptional>; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>; worktree: z.ZodOptional; newBranch: z.ZodString; base: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-branch">; branch: z.ZodString; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-pr">; prNumber: z.ZodNumber; }, z.core.$strip>], "mode">>; }, z.core.$strip>; export type HubExecutionAgentCreateRequest = z.infer; export declare const HubExecutionAgentValidateRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.validate.request">; requestId: z.ZodString; provider: z.ZodString; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; providerOptions: z.ZodOptional>; }, z.core.$strip>; export type HubExecutionAgentValidateRequest = z.infer; declare const HubExecutionAgentCreateErrorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ code: z.ZodLiteral<"provider_options_invalid">; provider: z.ZodString; issues: z.ZodArray>; message: z.ZodString; }, z.core.$strip>>; message: z.ZodString; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"tool_policy_unsupported">; provider: z.ZodString; message: z.ZodString; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"create_failed">; message: z.ZodString; }, z.core.$strip>], "code">; export type HubExecutionAgentCreateError = z.infer; export declare const HubExecutionControlActionSchema: z.ZodEnum<{ archive: "archive"; interrupt: "interrupt"; }>; export type HubExecutionControlAction = z.infer; export declare const HubExecutionControlRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"hub.execution.control.request">; requestId: z.ZodString; executionId: z.ZodString; action: z.ZodEnum<{ archive: "archive"; interrupt: "interrupt"; }>; }, z.core.$strip>; export type HubExecutionControlRequest = z.infer; export declare const SessionEventSubscriptionSchema: z.ZodEnum<{ "project.update": "project.update"; providers_snapshot_update: "providers_snapshot_update"; agent_attention_required: "agent_attention_required"; agent_permission_request: "agent_permission_request"; agent_permission_resolved: "agent_permission_resolved"; checkout_status_update: "checkout_status_update"; script_status_update: "script_status_update"; workspace_setup_progress: "workspace_setup_progress"; "agent.provider_subagents.update": "agent.provider_subagents.update"; terminal_attention_required: "terminal_attention_required"; "status.server_info": "status.server_info"; "status.daemon_config_changed": "status.daemon_config_changed"; "status.plugin_catalog_changed": "status.plugin_catalog_changed"; "status.plugin_settings_changed": "status.plugin_settings_changed"; activity_log: "activity_log"; "hub.execution.agent.update": "hub.execution.agent.update"; "hub.execution.agent.stream": "hub.execution.agent.stream"; }>; export type SessionEventSubscription = z.infer; export declare const SessionEventsSetSubscriptionRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"session.events.set_subscription.request">; requestId: z.ZodString; events: z.ZodArray>; notifications: z.ZodOptional; }, z.core.$strip>; export declare const SessionEventsSetSubscriptionResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"session.events.set_subscription.response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; export declare const BrowserHostRegisterRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"browser.host.register.request">; requestId: z.ZodString; hostKind: z.ZodString; supportedCommands: z.ZodArray>; }, z.core.$strip>; export declare const BrowserHostRegisterResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"browser.host.register.response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const SubscriptionReleaseRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"subscription.release.request">; requestId: z.ZodString; subscriptionId: z.ZodString; }, z.core.$strip>; export declare const SubscriptionReleaseResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"subscription.release.response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"browser.host.register.request">; requestId: z.ZodString; hostKind: z.ZodString; supportedCommands: z.ZodArray>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscription.release.request">; requestId: z.ZodString; subscriptionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"session.events.set_subscription.request">; requestId: z.ZodString; events: z.ZodArray>; notifications: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.create.request">; requestId: z.ZodString; executionId: z.ZodString; provider: z.ZodString; cwd: z.ZodString; prompt: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; providerOptions: z.ZodOptional>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; env: z.ZodOptional>; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>; worktree: z.ZodOptional; newBranch: z.ZodString; base: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-branch">; branch: z.ZodString; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-pr">; prNumber: z.ZodNumber; }, z.core.$strip>], "mode">>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.validate.request">; requestId: z.ZodString; provider: z.ZodString; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; providerOptions: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.control.request">; requestId: z.ZodString; executionId: z.ZodString; action: z.ZodEnum<{ archive: "archive"; interrupt: "interrupt"; }>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"browser.automation.execute.response">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ requestId: z.ZodString; ok: z.ZodLiteral; result: z.ZodDiscriminatedUnion<[z.ZodObject<{ command: z.ZodLiteral<"list_tabs">; tabs: z.ZodArray; url: z.ZodString; title: z.ZodString; isActive: z.ZodDefault; isLoading: z.ZodDefault; canGoBack: z.ZodOptional; canGoForward: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"new_tab">; browserId: z.ZodString; workspaceId: z.ZodString; url: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"snapshot">; browserId: z.ZodString; workspaceId: z.ZodOptional; url: z.ZodString; title: z.ZodString; format: z.ZodLiteral<"aria-yaml">; snapshot: z.ZodString; truncated: z.ZodBoolean; stats: z.ZodObject<{ nodeCount: z.ZodNumber; refCount: z.ZodNumber; textLength: z.ZodNumber; iframeCount: z.ZodOptional; maxDepth: z.ZodOptional; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"click">; browserId: z.ZodString; ref: z.ZodString; x: z.ZodOptional; y: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"fill">; browserId: z.ZodString; ref: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"wait">; browserId: z.ZodString; matched: z.ZodEnum<{ text: "text"; url: "url"; }>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"type">; browserId: z.ZodString; ref: z.ZodOptional; x: z.ZodOptional; y: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"keypress">; browserId: z.ZodString; key: z.ZodString; ref: z.ZodOptional; x: z.ZodOptional; y: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"navigate">; browserId: z.ZodString; url: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"back">; browserId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"forward">; browserId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"reload">; browserId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"screenshot">; browserId: z.ZodString; mimeType: z.ZodLiteral<"image/png">; dataBase64: z.ZodString; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"upload">; browserId: z.ZodString; ref: z.ZodString; filePaths: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"select">; browserId: z.ZodString; ref: z.ZodString; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"hover">; browserId: z.ZodString; ref: z.ZodString; x: z.ZodOptional; y: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"drag">; browserId: z.ZodString; sourceRef: z.ZodString; targetRef: z.ZodString; sourceX: z.ZodOptional; sourceY: z.ZodOptional; targetX: z.ZodOptional; targetY: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"logs">; browserId: z.ZodString; console: z.ZodArray; line: z.ZodOptional; timestamp: z.ZodNumber; }, z.core.$strip>>; network: z.ZodArray; status: z.ZodOptional; type: z.ZodOptional; startTime: z.ZodNumber; duration: z.ZodNumber; transferSize: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"evaluate">; browserId: z.ZodString; resultJson: z.ZodString; truncated: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"scroll">; browserId: z.ZodString; ref: z.ZodOptional; deltaX: z.ZodNumber; deltaY: z.ZodNumber; x: z.ZodOptional; y: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"resize">; browserId: z.ZodString; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"close_tab">; browserId: z.ZodString; }, z.core.$strip>], "command">; dialogs: z.ZodOptional; message: z.ZodString; defaultValue: z.ZodOptional; action: z.ZodEnum<{ accepted: "accepted"; dismissed: "dismissed"; }>; promptText: z.ZodOptional; timestamp: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ requestId: z.ZodString; ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ browser_disabled: "browser_disabled"; browser_no_host: "browser_no_host"; browser_tab_not_found: "browser_tab_not_found"; browser_tab_closed: "browser_tab_closed"; browser_timeout: "browser_timeout"; screenshot_no_frame: "screenshot_no_frame"; browser_denied: "browser_denied"; browser_unsupported: "browser_unsupported"; browser_stale_ref: "browser_stale_ref"; browser_unknown_error: "browser_unknown_error"; }>; message: z.ZodString; retryable: z.ZodDefault; }, z.core.$strip>; dialogs: z.ZodOptional; message: z.ZodString; defaultValue: z.ZodOptional; action: z.ZodEnum<{ accepted: "accepted"; dismissed: "dismissed"; }>; promptText: z.ZodOptional; timestamp: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>], "ok">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"voice_audio_chunk">; audio: z.ZodString; format: z.ZodString; isLast: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"abort_request">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio_played">; id: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agents_request">; requestId: z.ZodString; scope: z.ZodOptional>; filter: z.ZodOptional>; projectKeys: z.ZodOptional>; statuses: z.ZodOptional>>; includeArchived: z.ZodOptional; requiresAttention: z.ZodOptional; thinkingOptionId: z.ZodOptional>; }, z.core.$strip>>; sort: z.ZodOptional; direction: z.ZodEnum<{ asc: "asc"; desc: "desc"; }>; }, z.core.$strip>>>; page: z.ZodOptional; }, z.core.$strip>>; subscribe: z.ZodOptional; }, z.core.$strip>>; sync: z.ZodOptional; afterSeq: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_history_request">; requestId: z.ZodString; filter: z.ZodOptional>; projectKeys: z.ZodOptional>; statuses: z.ZodOptional>>; includeArchived: z.ZodOptional; requiresAttention: z.ZodOptional; thinkingOptionId: z.ZodOptional>; }, z.core.$strip>>; search: z.ZodOptional; sort: z.ZodOptional; direction: z.ZodEnum<{ asc: "asc"; desc: "desc"; }>; }, z.core.$strip>>>; page: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_recent_provider_sessions_request">; requestId: z.ZodString; cwd: z.ZodOptional; providers: z.ZodOptional>; since: z.ZodOptional; limit: z.ZodOptional; query: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_workspaces_request">; requestId: z.ZodString; filter: z.ZodOptional; projectId: z.ZodOptional; idPrefix: z.ZodOptional; }, z.core.$strip>>; sort: z.ZodOptional; direction: z.ZodEnum<{ asc: "asc"; desc: "desc"; }>; }, z.core.$strip>>>; page: z.ZodOptional; }, z.core.$strip>>; subscribe: z.ZodOptional; }, z.core.$strip>>; sync: z.ZodOptional; afterSeq: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.list.request">; requestId: z.ZodString; sync: z.ZodOptional; afterSeq: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"delete_agent_request">; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"archive_agent_request">; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"close_items_request">; agentIds: z.ZodDefault>; terminalIds: z.ZodDefault>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"update_agent_request">; agentId: z.ZodString; name: z.ZodOptional; labels: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.rename.request">; projectId: z.ZodString; customName: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.icon.set.request">; projectId: z.ZodString; source: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"automatic">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"upload">; data: z.ZodString; }, z.core.$strip>], "type">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.remove.request">; projectId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.title.set.request">; workspaceId: z.ZodString; title: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.pin.set.request">; workspaceId: z.ZodString; pinned: z.ZodBoolean; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.list.request">; requestId: z.ZodString; subscribe: z.ZodOptional; }, z.core.$strip>>; sync: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.assignment.set.request">; requestId: z.ZodString; workspaceId: z.ZodString; label: z.ZodObject<{ name: z.ZodString; color: z.ZodEnum<{ violet: "violet"; sky: "sky"; emerald: "emerald"; orange: "orange"; pink: "pink"; indigo: "indigo"; teal: "teal"; red: "red"; amber: "amber"; blue: "blue"; }>; }, z.core.$strip>; assigned: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.update.request">; requestId: z.ZodString; name: z.ZodString; newName: z.ZodOptional; color: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.delete.request">; requestId: z.ZodString; name: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.delete.inspect.request">; requestId: z.ZodString; name: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.recovery.inspect.request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.recovery.restore.request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_voice_mode">; enabled: z.ZodBoolean; agentId: z.ZodOptional; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"send_agent_message_request">; requestId: z.ZodString; agentId: z.ZodString; text: z.ZodString; messageId: z.ZodOptional; activeTurnBehavior: z.ZodOptional>; images: z.ZodOptional>>; attachments: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"wait_for_finish_request">; requestId: z.ZodString; agentId: z.ZodString; timeoutMs: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.get_status.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.get_pairing_offer.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.config.reload.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.connect.request">; requestId: z.ZodString; hubUrl: z.ZodString; token: z.ZodString; permissions: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.get_status.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.disconnect.request">; requestId: z.ZodString; force: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.permissions.update.request">; requestId: z.ZodString; grant: z.ZodDefault>>; revoke: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"diagnostics.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.catalog.get.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.list.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.logs.get.request">; requestId: z.ZodString; pluginId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.directory.install.request">; requestId: z.ZodString; path: z.ZodString; id: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.directory.inspect.request">; requestId: z.ZodString; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.install.request">; requestId: z.ZodString; source: z.ZodString; id: z.ZodOptional; ref: z.ZodOptional; pluginPath: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.status.request">; requestId: z.ZodString; pluginId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.request">; requestId: z.ZodString; pluginId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.preview.request">; requestId: z.ZodString; pluginId: z.ZodOptional; target: z.ZodOptional; ref: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; }, z.core.$strip>], "kind">>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.apply.request">; requestId: z.ZodString; proposals: z.ZodArray; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; installationRoot: z.ZodString; revision: z.ZodString; }, z.core.$strip>; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"git">; commit: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; resolved: z.ZodString; integrity: z.ZodString; }, z.core.$strip>], "kind">; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.reload.request">; requestId: z.ZodString; pluginId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.enable.request">; requestId: z.ZodString; pluginId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.disable.request">; requestId: z.ZodString; pluginId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.remove.request">; requestId: z.ZodString; pluginId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.rpc.invoke.request">; requestId: z.ZodString; pluginId: z.ZodString; method: z.ZodString; input: z.ZodUnknown; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.append.request">; requestId: z.ZodString; agentId: z.ZodString; item: z.ZodObject<{ type: z.ZodLiteral<"plugin">; id: z.ZodString; kind: z.ZodString; version: z.ZodNumber; data: z.ZodType>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.get_status.request">; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.reconcile.request">; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.uninstall.request">; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.save_selection.request">; requestId: z.ZodString; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; confirmedRemovals: z.ZodOptional>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.import_legacy_selection.request">; requestId: z.ZodString; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"get_daemon_config_request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_daemon_config_request">; requestId: z.ZodString; config: z.ZodObject<{ relay: z.ZodOptional; }, z.core.$loose>>>; mcp: z.ZodOptional; }, z.core.$loose>>>; browserTools: z.ZodOptional>; }, z.core.$loose>>>; providers: z.ZodOptional; disabledTools: z.ZodOptional>; }, z.core.$strip>>>; enabled: z.ZodOptional>; additionalModels: z.ZodOptional; isDefault: z.ZodOptional; }, z.core.$loose>>>>; }, z.core.$loose>>>>; removeProviders: z.ZodOptional>>; metadataGeneration: z.ZodOptional; thinkingOptionId: z.ZodOptional; }, z.core.$loose>>>>; }, z.core.$loose>>>; autoArchiveAfterMerge: z.ZodOptional>; enableTerminalAgentHooks: z.ZodOptional>; appendSystemPrompt: z.ZodOptional>; terminalProfiles: z.ZodOptional>; icon: z.ZodOptional; }, z.core.$loose>>>>; agentProfiles: z.ZodOptional; color: z.ZodOptional; provider: z.ZodString; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; notes: z.ZodOptional; }, z.core.$loose>>>>; pluginsEnabled: z.ZodOptional>; plugins: z.ZodOptional; path: z.ZodString; enabled: z.ZodOptional; }, z.core.$strict>], "source">>>>; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"read_project_config_request">; requestId: z.ZodString; repoRoot: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"write_project_config_request">; requestId: z.ZodString; repoRoot: z.ZodString; config: z.ZodObject<{ worktree: z.ZodOptional]>>; teardown: z.ZodOptional]>>; terminals: z.ZodOptional; servicePorts: z.ZodOptional; portScript: z.ZodOptional; }, z.core.$strict>>; }, z.core.$loose>>; scripts: z.ZodOptional; command: z.ZodOptional; port: z.ZodOptional; }, z.core.$loose>>>; metadataGeneration: z.ZodOptional; }, z.core.$loose>>>; branchName: z.ZodOptional; }, z.core.$loose>>>; commitMessage: z.ZodOptional; }, z.core.$loose>>>; pullRequest: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; }, z.core.$loose>; expectedRevision: z.ZodNullable>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_start">; dictationId: z.ZodString; format: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_chunk">; dictationId: z.ZodString; seq: z.ZodNumber; audio: z.ZodString; format: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_finish">; dictationId: z.ZodString; finalSeq: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_cancel">; dictationId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"create_agent_request">; idempotencyKey: z.ZodOptional; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; title: z.ZodNullable>; providerOptions: z.ZodOptional>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>; }, z.core.$strip>; env: z.ZodOptional>; workspaceId: z.ZodOptional; callerAgentId: z.ZodOptional; worktreeName: z.ZodOptional; initialPrompt: z.ZodOptional; clientMessageId: z.ZodOptional; outputSchema: z.ZodOptional>; images: z.ZodOptional>>; attachments: z.ZodOptional>>; git: z.ZodOptional; createNewBranch: z.ZodOptional; newBranchName: z.ZodOptional; createWorktree: z.ZodOptional; worktreeSlug: z.ZodOptional; refName: z.ZodOptional; action: z.ZodOptional>; checkoutSource: z.ZodOptional; forge: z.ZodOptional; number: z.ZodNumber; projectPath: z.ZodOptional; }, z.core.$strip>>; githubPrNumber: z.ZodOptional; }, z.core.$strip>>; worktree: z.ZodOptional; newBranch: z.ZodString; base: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-branch">; branch: z.ZodString; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-pr">; prNumber: z.ZodNumber; }, z.core.$strip>], "mode">>; autoArchive: z.ZodOptional; labels: z.ZodDefault>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_provider_models_request">; provider: z.ZodString; cwd: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_provider_modes_request">; provider: z.ZodString; cwd: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_provider_features_request">; draftConfig: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; }, z.core.$strip>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_available_providers_request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"get_providers_snapshot_request">; cwd: z.ZodOptional; ifNoneMatch: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"refresh_providers_snapshot_request">; cwd: z.ZodOptional; providers: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"provider_diagnostic_request">; provider: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"provider.usage.list.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resume_agent_request">; handle: z.ZodType>; overrides: z.ZodOptional; cwd: z.ZodOptional; modeId: z.ZodOptional>; model: z.ZodOptional>; thinkingOptionId: z.ZodOptional>; featureValues: z.ZodOptional>>; title: z.ZodOptional>>; providerOptions: z.ZodOptional>>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>>; systemPrompt: z.ZodOptional>; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>>; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"import_agent_request">; provider: z.ZodOptional; providerId: z.ZodOptional; sessionId: z.ZodOptional; providerHandleId: z.ZodOptional; cwd: z.ZodOptional; workspaceId: z.ZodOptional; labels: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"refresh_agent_request">; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cancel_agent_request">; agentId: z.ZodString; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"shutdown_server_request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"restart_server_request">; reason: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.update.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_timeline_request">; agentId: z.ZodString; requestId: z.ZodString; direction: z.ZodOptional>; cursor: z.ZodOptional>; limit: z.ZodOptional; projection: z.ZodOptional>; mergeWindow: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.search.request">; agentId: z.ZodString; requestId: z.ZodString; query: z.ZodString; cursor: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.list_prompts.request">; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.provider_subagents.list.request">; parentAgentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.provider_subagents.timeline.get.request">; parentAgentId: z.ZodString; subagentId: z.ZodString; requestId: z.ZodString; direction: z.ZodOptional>; cursor: z.ZodOptional>; limit: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.set_subscription.request">; agentIds: z.ZodArray; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.fork_context.request">; agentId: z.ZodString; boundaryCursor: z.ZodOptional>; boundaryMessageId: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_mode_request">; agentId: z.ZodString; modeId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_model_request">; agentId: z.ZodString; modelId: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_thinking_request">; agentId: z.ZodString; thinkingOptionId: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_feature_request">; agentId: z.ZodString; featureId: z.ZodString; value: z.ZodUnknown; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.config.apply.request">; agentId: z.ZodString; config: z.ZodObject<{ modelId: z.ZodOptional>; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional>; featureValues: z.ZodOptional>; }, z.core.$strip>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.detach.request">; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.rewind.request">; agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<{ conversation: "conversation"; files: "files"; both: "both"; }>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_permission_response">; agentId: z.ZodString; requestId: z.ZodString; response: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_status_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.diff.get.request">; cwd: z.ZodString; compare: z.ZodObject<{ mode: z.ZodEnum<{ uncommitted: "uncommitted"; base: "base"; }>; baseRef: z.ZodOptional; ignoreWhitespace: z.ZodOptional; }, z.core.$strip>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscribe_checkout_diff_request">; subscriptionId: z.ZodOptional; cwd: z.ZodString; compare: z.ZodObject<{ mode: z.ZodEnum<{ uncommitted: "uncommitted"; base: "base"; }>; baseRef: z.ZodOptional; ignoreWhitespace: z.ZodOptional; }, z.core.$strip>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"unsubscribe_checkout_diff_request">; subscriptionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_commit_request">; cwd: z.ZodString; message: z.ZodOptional; addAll: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_merge_request">; cwd: z.ZodString; baseRef: z.ZodOptional; strategy: z.ZodOptional>; requireCleanTarget: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_merge_from_base_request">; cwd: z.ZodString; baseRef: z.ZodOptional; requireCleanTarget: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pull_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_push_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.refresh.request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.discard_changes.request">; cwd: z.ZodString; paths: z.ZodArray; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_create_request">; cwd: z.ZodString; title: z.ZodOptional; body: z.ZodOptional; baseRef: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_merge_request">; cwd: z.ZodString; mergeMethod: z.ZodEnum<{ merge: "merge"; squash: "squash"; rebase: "rebase"; }>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.forge.set_auto_merge.request">; cwd: z.ZodString; enabled: z.ZodBoolean; mergeMethod: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.github.set_auto_merge.request">; cwd: z.ZodString; enabled: z.ZodBoolean; mergeMethod: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.commits.list.request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.commits.file_diff.request">; cwd: z.ZodString; sha: z.ZodString; path: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; repoOwner: z.ZodOptional; repoName: z.ZodOptional; checkRunId: z.ZodOptional; workflowRunId: z.ZodOptional; changeRequestNumber: z.ZodOptional; requestId: z.ZodString; type: z.ZodLiteral<"checkout.forge.get_check_details.request">; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; repoOwner: z.ZodOptional; repoName: z.ZodOptional; checkRunId: z.ZodOptional; workflowRunId: z.ZodOptional; changeRequestNumber: z.ZodOptional; requestId: z.ZodString; type: z.ZodLiteral<"checkout.github.get_check_details.request">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_status_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"pull_request_timeline_request">; cwd: z.ZodString; prNumber: z.ZodNumber; repoOwner: z.ZodString; repoName: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_switch_branch_request">; cwd: z.ZodString; branch: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.rename_branch.request">; cwd: z.ZodString; branch: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stash_save_request">; cwd: z.ZodString; branch: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stash_pop_request">; cwd: z.ZodString; stashIndex: z.ZodNumber; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stash_list_request">; cwd: z.ZodString; paseoOnly: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"validate_branch_request">; cwd: z.ZodString; branchName: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"branch_suggestions_request">; cwd: z.ZodString; query: z.ZodOptional; limit: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"forge.search.request">; cwd: z.ZodString; query: z.ZodString; limit: z.ZodOptional; kinds: z.ZodOptional>>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_search_request">; cwd: z.ZodString; query: z.ZodString; limit: z.ZodOptional; kinds: z.ZodOptional>>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"directory_suggestions_request">; query: z.ZodString; cwd: z.ZodOptional; includeFiles: z.ZodOptional; includeDirectories: z.ZodOptional; matchMode: z.ZodOptional>; limit: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"paseo_worktree_list_request">; cwd: z.ZodOptional; repoRoot: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"paseo_worktree_archive_request">; worktreePath: z.ZodOptional; repoRoot: z.ZodOptional; branchName: z.ZodOptional; workspaceId: z.ZodOptional; scope: z.ZodDefault>>; deleteWorktreeFromDisk: z.ZodDefault>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"create_paseo_worktree_request">; cwd: z.ZodString; projectId: z.ZodOptional; worktreeSlug: z.ZodOptional; nameContext: z.ZodOptional; attachments: z.ZodOptional>>>; firstAgentContext: z.ZodOptional; attachments: z.ZodOptional>>; }, z.core.$strip>>; refName: z.ZodOptional; action: z.ZodOptional>; checkoutSource: z.ZodOptional; forge: z.ZodOptional; number: z.ZodNumber; projectPath: z.ZodOptional; }, z.core.$strip>>; githubPrNumber: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace_setup_status_request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.setup.run.request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_available_editors_request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"open_in_editor_request">; path: z.ZodString; editorId: z.ZodString; mode: z.ZodOptional>; cwd: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"open_project_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.add.request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.create_directory.request">; parentPath: z.ZodString; name: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.github.search_repositories.request">; query: z.ZodString; limit: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.github.clone.request">; repo: z.ZodString; cloneProtocol: z.ZodOptional>; targetDirectory: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"archive_workspace_request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.create.request">; workspaceId: z.ZodOptional; agent: z.ZodOptional; env: z.ZodOptional>; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; title: z.ZodNullable>; providerOptions: z.ZodOptional>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>; }, z.core.$strip>; clientMessageId: z.ZodOptional; labels: z.ZodDefault>; attachments: z.ZodOptional; mimeType: z.ZodLiteral<"application/paseo-forge-change-request">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"forge_issue">; mimeType: z.ZodLiteral<"application/paseo-forge-issue">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_pr">; mimeType: z.ZodLiteral<"application/github-pr">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_issue">; mimeType: z.ZodLiteral<"application/github-issue">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; }, z.core.$strip>, z.ZodPipe; mimeType: z.ZodLiteral<"text/plain">; contextKind: z.ZodOptional; title: z.ZodOptional>; text: z.ZodString; externalResource: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ contextKind?: string | undefined; type: "text"; mimeType: "text/plain"; text: string; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }, { type: "text"; mimeType: "text/plain"; text: string; contextKind?: string | undefined; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }>>, z.ZodObject<{ type: z.ZodLiteral<"review">; mimeType: z.ZodLiteral<"application/paseo-review">; cwd: z.ZodString; mode: z.ZodEnum<{ uncommitted: "uncommitted"; base: "base"; }>; baseRef: z.ZodOptional>; comments: z.ZodArray; lineNumber: z.ZodNumber; body: z.ZodString; context: z.ZodObject<{ hunkHeader: z.ZodString; targetLine: z.ZodObject<{ oldLineNumber: z.ZodNullable; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>; lines: z.ZodArray; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"uploaded_file">; id: z.ZodString; fileName: z.ZodString; mimeType: z.ZodString; size: z.ZodNumber; path: z.ZodString; }, z.core.$strip>], "type">>>; images: z.ZodOptional>>; callerAgentId: z.ZodOptional; initialPrompt: z.ZodOptional; outputSchema: z.ZodOptional>; autoArchive: z.ZodOptional; }, z.core.$strip>>; subscribe: z.ZodOptional; requestId: z.ZodString; idempotencyKey: z.ZodOptional; title: z.ZodOptional; firstAgentContext: z.ZodOptional; attachments: z.ZodOptional>>; }, z.core.$strip>>; source: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"directory">; path: z.ZodString; projectId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"worktree">; cwd: z.ZodOptional; projectId: z.ZodOptional; action: z.ZodOptional>; refName: z.ZodOptional; baseBranch: z.ZodOptional; branchName: z.ZodOptional; checkoutSource: z.ZodOptional; forge: z.ZodOptional; number: z.ZodNumber; projectPath: z.ZodOptional; }, z.core.$strip>>; githubPrNumber: z.ZodOptional; worktreeSlug: z.ZodOptional; }, z.core.$strip>], "kind">; }, z.core.$strip>, z.ZodObject<{ idempotencyKey: z.ZodOptional; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; title: z.ZodNullable>; providerOptions: z.ZodOptional>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>; }, z.core.$strip>; env: z.ZodOptional>; workspaceId: z.ZodOptional; callerAgentId: z.ZodOptional; worktreeName: z.ZodOptional; initialPrompt: z.ZodOptional; clientMessageId: z.ZodOptional; outputSchema: z.ZodOptional>; images: z.ZodOptional>>; git: z.ZodOptional; createNewBranch: z.ZodOptional; newBranchName: z.ZodOptional; createWorktree: z.ZodOptional; worktreeSlug: z.ZodOptional; refName: z.ZodOptional; action: z.ZodOptional>; checkoutSource: z.ZodOptional; forge: z.ZodOptional; number: z.ZodNumber; projectPath: z.ZodOptional; }, z.core.$strip>>; githubPrNumber: z.ZodOptional; }, z.core.$strip>>; worktree: z.ZodOptional; newBranch: z.ZodString; base: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-branch">; branch: z.ZodString; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-pr">; prNumber: z.ZodNumber; }, z.core.$strip>], "mode">>; autoArchive: z.ZodOptional; labels: z.ZodDefault>; requestId: z.ZodString; type: z.ZodLiteral<"agent.create.request">; agentId: z.ZodOptional; attachments: z.ZodOptional; mimeType: z.ZodLiteral<"application/paseo-forge-change-request">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"forge_issue">; mimeType: z.ZodLiteral<"application/paseo-forge-issue">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_pr">; mimeType: z.ZodLiteral<"application/github-pr">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_issue">; mimeType: z.ZodLiteral<"application/github-issue">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; }, z.core.$strip>, z.ZodPipe; mimeType: z.ZodLiteral<"text/plain">; contextKind: z.ZodOptional; title: z.ZodOptional>; text: z.ZodString; externalResource: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ contextKind?: string | undefined; type: "text"; mimeType: "text/plain"; text: string; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }, { type: "text"; mimeType: "text/plain"; text: string; contextKind?: string | undefined; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }>>, z.ZodObject<{ type: z.ZodLiteral<"review">; mimeType: z.ZodLiteral<"application/paseo-review">; cwd: z.ZodString; mode: z.ZodEnum<{ uncommitted: "uncommitted"; base: "base"; }>; baseRef: z.ZodOptional>; comments: z.ZodArray; lineNumber: z.ZodNumber; body: z.ZodString; context: z.ZodObject<{ hunkHeader: z.ZodString; targetLine: z.ZodObject<{ oldLineNumber: z.ZodNullable; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>; lines: z.ZodArray; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"uploaded_file">; id: z.ZodString; fileName: z.ZodString; mimeType: z.ZodString; size: z.ZodNumber; path: z.ZodString; }, z.core.$strip>], "type">>>; subscribe: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"creation.subscribe.request">; requestId: z.ZodString; kind: z.ZodEnum<{ agent: "agent"; workspace: "workspace"; }>; idempotencyKey: z.ZodString; subscribe: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.clear_attention.request">; workspaceId: z.ZodUnion]>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.mark_unread.request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file_explorer_request">; cwd: z.ZodString; path: z.ZodOptional; mode: z.ZodEnum<{ file: "file"; list: "list"; }>; requestId: z.ZodString; acceptBinary: z.ZodOptional; maxBytes: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.subscribe.request">; cwd: z.ZodString; path: z.ZodString; subscriptionId: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.unsubscribe.request">; subscriptionId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.write.request">; cwd: z.ZodString; path: z.ZodString; content: z.ZodString; expectedModifiedAt: z.ZodString; expectedRevision: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.create.request">; cwd: z.ZodString; parentPath: z.ZodString; name: z.ZodString; kind: z.ZodEnum<{ file: "file"; directory: "directory"; }>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.rename.request">; cwd: z.ZodString; path: z.ZodString; name: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.duplicate.request">; cwd: z.ZodString; path: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.delete.request">; cwd: z.ZodString; path: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project_icon_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.icon.get.request">; projectId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file_download_token_request">; cwd: z.ZodString; path: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file.upload.request">; fileName: z.ZodString; mimeType: z.ZodString; size: z.ZodNumber; modifiedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"clear_agent_attention">; agentId: z.ZodUnion]>; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"client_heartbeat">; deviceType: z.ZodEnum<{ web: "web"; mobile: "mobile"; }>; focusedAgentId: z.ZodNullable; focusedTerminalId: z.ZodDefault>>; lastActivityAt: z.ZodString; appVisible: z.ZodBoolean; appVisibilityChangedAt: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"ping">; requestId: z.ZodString; clientSentAt: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_commands_request">; agentId: z.ZodString; draftConfig: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"register_push_token">; token: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"push.unregister.request">; token: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_terminals_request">; cwd: z.ZodOptional; workspaceId: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscribe_terminals_request">; requestId: z.ZodOptional; cwd: z.ZodString; workspaceId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"unsubscribe_terminals_request">; cwd: z.ZodString; workspaceId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"create_terminal_request">; cwd: z.ZodString; workspaceId: z.ZodOptional; name: z.ZodOptional; agentId: z.ZodOptional; command: z.ZodOptional; args: z.ZodOptional>; size: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal.rename.request">; terminalId: z.ZodString; title: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"start_workspace_script_request">; workspaceId: z.ZodString; scriptName: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.script.list.request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.script.start.request">; workspaceId: z.ZodString; scriptName: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.script.stop.request">; workspaceId: z.ZodString; scriptName: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscribe_terminal_request">; terminalId: z.ZodString; requestId: z.ZodString; restore: z.ZodOptional; scrollbackLines: z.ZodOptional; size: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"unsubscribe_terminal_request">; terminalId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal_input">; terminalId: z.ZodString; message: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"input">; data: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resize">; rows: z.ZodNumber; cols: z.ZodNumber; intent: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"mouse">; row: z.ZodNumber; col: z.ZodNumber; button: z.ZodNumber; action: z.ZodEnum<{ down: "down"; up: "up"; move: "move"; }>; }, z.core.$strip>], "type">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"kill_terminal_request">; terminalId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"capture_terminal_request">; terminalId: z.ZodString; start: z.ZodOptional; end: z.ZodOptional; stripAnsi: z.ZodDefault; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/create">; requestId: z.ZodString; name: z.ZodString; purpose: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/list">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/inspect">; requestId: z.ZodString; room: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/delete">; requestId: z.ZodString; room: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/post">; requestId: z.ZodString; room: z.ZodString; body: z.ZodString; authorAgentId: z.ZodOptional; replyToMessageId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/read">; requestId: z.ZodString; room: z.ZodString; limit: z.ZodOptional; since: z.ZodOptional; authorAgentId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/wait">; requestId: z.ZodString; room: z.ZodString; afterMessageId: z.ZodOptional; timeoutMs: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/create">; requestId: z.ZodString; prompt: z.ZodString; name: z.ZodOptional; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"self">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; maxRuns: z.ZodOptional; expiresAt: z.ZodOptional; runOnCreate: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/list">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/inspect">; requestId: z.ZodString; scheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/logs">; requestId: z.ZodString; scheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/pause">; requestId: z.ZodString; scheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/resume">; requestId: z.ZodString; scheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/delete">; requestId: z.ZodString; scheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/run-once">; requestId: z.ZodString; scheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/update">; requestId: z.ZodString; scheduleId: z.ZodString; name: z.ZodOptional>; prompt: z.ZodOptional; cadence: z.ZodOptional; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">>; newAgentConfig: z.ZodOptional; model: z.ZodOptional>; modeId: z.ZodOptional>; thinkingOptionId: z.ZodOptional>; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; cwd: z.ZodOptional; }, z.core.$strip>>; maxRuns: z.ZodOptional>; expiresAt: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/run">; requestId: z.ZodString; prompt: z.ZodString; cwd: z.ZodString; provider: z.ZodOptional; model: z.ZodOptional; modeId: z.ZodOptional; workerProvider: z.ZodOptional; workerModel: z.ZodOptional; verifierProvider: z.ZodOptional; verifierModel: z.ZodOptional; verifierModeId: z.ZodOptional; verifyPrompt: z.ZodOptional; verifyChecks: z.ZodOptional>; archive: z.ZodOptional; name: z.ZodOptional; sleepMs: z.ZodOptional; maxIterations: z.ZodOptional; maxTimeMs: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/list">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/inspect">; requestId: z.ZodString; id: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/logs">; requestId: z.ZodString; id: z.ZodString; afterSeq: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/stop">; requestId: z.ZodString; id: z.ZodString; }, z.core.$strip>], "type">; export type SessionInboundMessage = z.infer; export declare const ActivityLogPayloadSchema: z.ZodObject<{ subscriptionId: z.ZodOptional; id: z.ZodString; timestamp: z.ZodCoercedDate; type: z.ZodEnum<{ error: "error"; tool_call: "tool_call"; transcript: "transcript"; assistant: "assistant"; tool_result: "tool_result"; system: "system"; }>; content: z.ZodString; metadata: z.ZodOptional>; }, z.core.$strip>; export declare const ActivityLogMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"activity_log">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; id: z.ZodString; timestamp: z.ZodCoercedDate; type: z.ZodEnum<{ error: "error"; tool_call: "tool_call"; transcript: "transcript"; assistant: "assistant"; tool_result: "tool_result"; system: "system"; }>; content: z.ZodString; metadata: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>; export declare const AssistantChunkMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"assistant_chunk">; payload: z.ZodObject<{ chunk: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const AudioOutputMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"audio_output">; payload: z.ZodObject<{ audio: z.ZodString; format: z.ZodString; id: z.ZodString; isVoiceMode: z.ZodBoolean; groupId: z.ZodOptional; chunkIndex: z.ZodOptional; isLastChunk: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; export declare const TranscriptionResultMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"transcription_result">; payload: z.ZodObject<{ text: z.ZodString; language: z.ZodOptional; duration: z.ZodOptional; requestId: z.ZodString; avgLogprob: z.ZodOptional; isLowConfidence: z.ZodOptional; byteLength: z.ZodOptional; format: z.ZodOptional; debugRecordingPath: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; export declare const VoiceInputStateMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"voice_input_state">; payload: z.ZodObject<{ isSpeaking: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; export declare const DictationStreamAckMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_ack">; payload: z.ZodObject<{ dictationId: z.ZodString; ackSeq: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; export declare const DictationStreamFinishAcceptedMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_finish_accepted">; payload: z.ZodObject<{ dictationId: z.ZodString; timeoutMs: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; export declare const DictationStreamPartialMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_partial">; payload: z.ZodObject<{ dictationId: z.ZodString; text: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const DictationStreamFinalMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_final">; payload: z.ZodObject<{ dictationId: z.ZodString; text: z.ZodString; debugRecordingPath: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; export declare const DictationStreamErrorMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_error">; payload: z.ZodObject<{ dictationId: z.ZodString; error: z.ZodString; retryable: z.ZodBoolean; reasonCode: z.ZodOptional; missingModelIds: z.ZodOptional>; debugRecordingPath: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; export declare const ServerCapabilityStateSchema: z.ZodObject<{ enabled: z.ZodBoolean; reason: z.ZodString; }, z.core.$strip>; export declare const ServerVoiceCapabilitiesSchema: z.ZodObject<{ dictation: z.ZodObject<{ enabled: z.ZodBoolean; reason: z.ZodString; }, z.core.$strip>; voice: z.ZodObject<{ enabled: z.ZodBoolean; reason: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const ServerCapabilitiesSchema: z.ZodObject<{ voice: z.ZodOptional; voice: z.ZodObject<{ enabled: z.ZodBoolean; reason: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$loose>; export declare const ServerInfoStatusPayloadSchema: z.ZodPipe; serverId: z.ZodString; hostname: z.ZodOptional>>; version: z.ZodOptional>>; permissions: z.ZodOptional>>; desktopManaged: z.ZodOptional; capabilities: z.ZodOptional, z.ZodTransform<{ [x: string]: unknown; voice?: { dictation: { enabled: boolean; reason: string; }; voice: { enabled: boolean; reason: string; }; } | undefined; } | undefined, unknown>>>; features: z.ZodOptional; workspaceRequestReceipts: z.ZodOptional; creationLifecycle: z.ZodOptional; hubAgentRpc: z.ZodOptional; providersSnapshot: z.ZodOptional; providersSnapshotCwd: z.ZodOptional; directorySync: z.ZodOptional; workspaceLabels: z.ZodOptional; workspaceSetupRun: z.ZodOptional; workspaceTerminals: z.ZodOptional; checkoutForgeSetAutoMerge: z.ZodOptional; checkoutGithubSetAutoMerge: z.ZodOptional; githubCheckDetails: z.ZodOptional; forgeCheckDetails: z.ZodOptional; forgeSearch: z.ZodOptional; daemonStatusRpc: z.ZodOptional; daemonConfigReload: z.ZodOptional; relayConfig: z.ZodOptional; pushTokenRevocation: z.ZodOptional; plugins: z.ZodOptional; pluginManagement: z.ZodOptional; pluginLogs: z.ZodOptional; pluginGitManagement: z.ZodOptional; pluginSourceInstallation: z.ZodOptional; pluginSourceUpdates: z.ZodOptional; pluginThemes: z.ZodOptional; pluginSettings: z.ZodOptional; pluginTimelineItems: z.ZodOptional; skillManagement: z.ZodOptional; "terminal-restore-modes": z.ZodOptional; "terminal-input-mode-replay": z.ZodOptional; "terminal-size-ownership": z.ZodOptional; rewind: z.ZodOptional; agentTimelinePromptIndex: z.ZodOptional; agentHistorySearch: z.ZodOptional; checkoutRefresh: z.ZodOptional; workspaceMultiplicity: z.ZodOptional; projectRemove: z.ZodOptional; projectAdd: z.ZodOptional; worktreeRestore: z.ZodOptional; workspaceRecovery: z.ZodOptional; workspaceFileEditing: z.ZodOptional; providerUsageList: z.ZodOptional; agentDetach: z.ZodOptional; agentThinkingUpdate: z.ZodOptional; daemonDiagnostics: z.ZodOptional; daemonSelfUpdate: z.ZodOptional; agentForkContext: z.ZodOptional; agentForkContextCursor: z.ZodOptional; providerSubagents: z.ZodOptional; projectedSubagentTimeline: z.ZodOptional; providerSubagentNesting: z.ZodOptional; workspacePinning: z.ZodOptional; workspaceMarkUnread: z.ZodOptional; hubRelationship: z.ZodOptional; projectGithubClone: z.ZodOptional; workspaceGithubRepositorySearch: z.ZodOptional; projectCreateDirectory: z.ZodOptional; projectList: z.ZodOptional; commitsList: z.ZodOptional; commitBaseClassification: z.ZodOptional; providerRemoval: z.ZodOptional; importSessionWorkspaceTarget: z.ZodOptional; importSessionSearch: z.ZodOptional; forgeProviders: z.ZodOptional; selectiveAgentTimeline: z.ZodOptional; explicitEventSubscriptions: z.ZodOptional; ownedSubscriptions: z.ZodOptional; canonicalSubmittedPrompts: z.ZodOptional; agentTurnIdentity: z.ZodOptional; stableProjectIdentity: z.ZodOptional; workspaceScriptManagement: z.ZodOptional; projectCustomIcon: z.ZodOptional; fsEntryOps: z.ZodOptional; fsEntryDuplicate: z.ZodOptional; checkoutDiscardChanges: z.ZodOptional; agentProfiles: z.ZodOptional; agentConfigApply: z.ZodOptional; }, z.core.$strip>>; }, z.core.$loose>, z.ZodTransform<{ hostname: string | null; version: string | null; status: "server_info"; serverId: string; permissions?: ("daemon.read" | "daemon.manage" | "tunnel.manage" | "access.manage" | "workspace.read" | "workspace.write" | "workspace.manage" | "automation.manage" | "hub.execute")[] | undefined; desktopManaged?: boolean | undefined; capabilities?: { [x: string]: unknown; voice?: { dictation: { enabled: boolean; reason: string; }; voice: { enabled: boolean; reason: string; }; } | undefined; } | undefined; features?: { agentRequestReceipts?: boolean | undefined; workspaceRequestReceipts?: boolean | undefined; creationLifecycle?: boolean | undefined; hubAgentRpc?: boolean | undefined; providersSnapshot?: boolean | undefined; providersSnapshotCwd?: boolean | undefined; directorySync?: boolean | undefined; workspaceLabels?: boolean | undefined; workspaceSetupRun?: boolean | undefined; workspaceTerminals?: boolean | undefined; checkoutForgeSetAutoMerge?: boolean | undefined; checkoutGithubSetAutoMerge?: boolean | undefined; githubCheckDetails?: boolean | undefined; forgeCheckDetails?: boolean | undefined; forgeSearch?: boolean | undefined; daemonStatusRpc?: boolean | undefined; daemonConfigReload?: boolean | undefined; relayConfig?: boolean | undefined; pushTokenRevocation?: boolean | undefined; plugins?: boolean | undefined; pluginManagement?: boolean | undefined; pluginLogs?: boolean | undefined; pluginGitManagement?: boolean | undefined; pluginSourceInstallation?: boolean | undefined; pluginSourceUpdates?: boolean | undefined; pluginThemes?: boolean | undefined; pluginSettings?: boolean | undefined; pluginTimelineItems?: boolean | undefined; skillManagement?: boolean | undefined; "terminal-restore-modes"?: boolean | undefined; "terminal-input-mode-replay"?: boolean | undefined; "terminal-size-ownership"?: boolean | undefined; rewind?: boolean | undefined; agentTimelinePromptIndex?: boolean | undefined; agentHistorySearch?: boolean | undefined; checkoutRefresh?: boolean | undefined; workspaceMultiplicity?: boolean | undefined; projectRemove?: boolean | undefined; projectAdd?: boolean | undefined; worktreeRestore?: boolean | undefined; workspaceRecovery?: boolean | undefined; workspaceFileEditing?: boolean | undefined; providerUsageList?: boolean | undefined; agentDetach?: boolean | undefined; agentThinkingUpdate?: boolean | undefined; daemonDiagnostics?: boolean | undefined; daemonSelfUpdate?: boolean | undefined; agentForkContext?: boolean | undefined; agentForkContextCursor?: boolean | undefined; providerSubagents?: boolean | undefined; projectedSubagentTimeline?: boolean | undefined; providerSubagentNesting?: boolean | undefined; workspacePinning?: boolean | undefined; workspaceMarkUnread?: boolean | undefined; hubRelationship?: boolean | undefined; projectGithubClone?: boolean | undefined; workspaceGithubRepositorySearch?: boolean | undefined; projectCreateDirectory?: boolean | undefined; projectList?: boolean | undefined; commitsList?: boolean | undefined; commitBaseClassification?: boolean | undefined; providerRemoval?: boolean | undefined; importSessionWorkspaceTarget?: boolean | undefined; importSessionSearch?: boolean | undefined; forgeProviders?: boolean | undefined; selectiveAgentTimeline?: boolean | undefined; explicitEventSubscriptions?: boolean | undefined; ownedSubscriptions?: boolean | undefined; canonicalSubmittedPrompts?: boolean | undefined; agentTurnIdentity?: boolean | undefined; stableProjectIdentity?: boolean | undefined; workspaceScriptManagement?: boolean | undefined; projectCustomIcon?: boolean | undefined; fsEntryOps?: boolean | undefined; fsEntryDuplicate?: boolean | undefined; checkoutDiscardChanges?: boolean | undefined; agentProfiles?: boolean | undefined; agentConfigApply?: boolean | undefined; } | undefined; }, { [x: string]: unknown; status: "server_info"; serverId: string; hostname?: string | null | undefined; version?: string | null | undefined; permissions?: ("daemon.read" | "daemon.manage" | "tunnel.manage" | "access.manage" | "workspace.read" | "workspace.write" | "workspace.manage" | "automation.manage" | "hub.execute")[] | undefined; desktopManaged?: boolean | undefined; capabilities?: { [x: string]: unknown; voice?: { dictation: { enabled: boolean; reason: string; }; voice: { enabled: boolean; reason: string; }; } | undefined; } | undefined; features?: { agentRequestReceipts?: boolean | undefined; workspaceRequestReceipts?: boolean | undefined; creationLifecycle?: boolean | undefined; hubAgentRpc?: boolean | undefined; providersSnapshot?: boolean | undefined; providersSnapshotCwd?: boolean | undefined; directorySync?: boolean | undefined; workspaceLabels?: boolean | undefined; workspaceSetupRun?: boolean | undefined; workspaceTerminals?: boolean | undefined; checkoutForgeSetAutoMerge?: boolean | undefined; checkoutGithubSetAutoMerge?: boolean | undefined; githubCheckDetails?: boolean | undefined; forgeCheckDetails?: boolean | undefined; forgeSearch?: boolean | undefined; daemonStatusRpc?: boolean | undefined; daemonConfigReload?: boolean | undefined; relayConfig?: boolean | undefined; pushTokenRevocation?: boolean | undefined; plugins?: boolean | undefined; pluginManagement?: boolean | undefined; pluginLogs?: boolean | undefined; pluginGitManagement?: boolean | undefined; pluginSourceInstallation?: boolean | undefined; pluginSourceUpdates?: boolean | undefined; pluginThemes?: boolean | undefined; pluginSettings?: boolean | undefined; pluginTimelineItems?: boolean | undefined; skillManagement?: boolean | undefined; "terminal-restore-modes"?: boolean | undefined; "terminal-input-mode-replay"?: boolean | undefined; "terminal-size-ownership"?: boolean | undefined; rewind?: boolean | undefined; agentTimelinePromptIndex?: boolean | undefined; agentHistorySearch?: boolean | undefined; checkoutRefresh?: boolean | undefined; workspaceMultiplicity?: boolean | undefined; projectRemove?: boolean | undefined; projectAdd?: boolean | undefined; worktreeRestore?: boolean | undefined; workspaceRecovery?: boolean | undefined; workspaceFileEditing?: boolean | undefined; providerUsageList?: boolean | undefined; agentDetach?: boolean | undefined; agentThinkingUpdate?: boolean | undefined; daemonDiagnostics?: boolean | undefined; daemonSelfUpdate?: boolean | undefined; agentForkContext?: boolean | undefined; agentForkContextCursor?: boolean | undefined; providerSubagents?: boolean | undefined; projectedSubagentTimeline?: boolean | undefined; providerSubagentNesting?: boolean | undefined; workspacePinning?: boolean | undefined; workspaceMarkUnread?: boolean | undefined; hubRelationship?: boolean | undefined; projectGithubClone?: boolean | undefined; workspaceGithubRepositorySearch?: boolean | undefined; projectCreateDirectory?: boolean | undefined; projectList?: boolean | undefined; commitsList?: boolean | undefined; commitBaseClassification?: boolean | undefined; providerRemoval?: boolean | undefined; importSessionWorkspaceTarget?: boolean | undefined; importSessionSearch?: boolean | undefined; forgeProviders?: boolean | undefined; selectiveAgentTimeline?: boolean | undefined; explicitEventSubscriptions?: boolean | undefined; ownedSubscriptions?: boolean | undefined; canonicalSubmittedPrompts?: boolean | undefined; agentTurnIdentity?: boolean | undefined; stableProjectIdentity?: boolean | undefined; workspaceScriptManagement?: boolean | undefined; projectCustomIcon?: boolean | undefined; fsEntryOps?: boolean | undefined; fsEntryDuplicate?: boolean | undefined; checkoutDiscardChanges?: boolean | undefined; agentProfiles?: boolean | undefined; agentConfigApply?: boolean | undefined; } | undefined; }>>; export declare const StatusMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"status">; payload: z.ZodObject<{ status: z.ZodString; }, z.core.$loose>; }, z.core.$strip>; export declare const PongMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"pong">; payload: z.ZodObject<{ requestId: z.ZodString; clientSentAt: z.ZodOptional; serverReceivedAt: z.ZodNumber; serverSentAt: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; export declare const RpcErrorMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"rpc_error">; payload: z.ZodObject<{ requestId: z.ZodString; requestType: z.ZodOptional; error: z.ZodString; code: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentCreatedStatusPayloadSchema: z.ZodObject<{ status: z.ZodLiteral<"agent_created">; agent: z.ZodObject<{ id: z.ZodString; provider: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const AgentCreateFailedStatusPayloadSchema: z.ZodObject<{ status: z.ZodLiteral<"agent_create_failed">; requestId: z.ZodString; error: z.ZodString; errorCode: z.ZodOptional; }, z.core.$strip>; export declare const AgentResumedStatusPayloadSchema: z.ZodObject<{ status: z.ZodLiteral<"agent_resumed">; agent: z.ZodObject<{ id: z.ZodString; provider: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; agentId: z.ZodString; requestId: z.ZodString; timelineSize: z.ZodOptional; }, z.core.$strip>; export declare const AgentRefreshedStatusPayloadSchema: z.ZodObject<{ status: z.ZodLiteral<"agent_refreshed">; agentId: z.ZodString; requestId: z.ZodString; timelineSize: z.ZodOptional; }, z.core.$strip>; export declare const RestartRequestedStatusPayloadSchema: z.ZodObject<{ status: z.ZodLiteral<"restart_requested">; clientId: z.ZodString; reason: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; export declare const ShutdownRequestedStatusPayloadSchema: z.ZodObject<{ status: z.ZodLiteral<"shutdown_requested">; clientId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; export declare const DaemonConfigChangedStatusPayloadSchema: z.ZodObject<{ status: z.ZodLiteral<"daemon_config_changed">; config: z.ZodObject<{ relay: z.ZodOptional>; mcp: z.ZodObject<{ enabled: z.ZodOptional; injectIntoAgents: z.ZodBoolean; }, z.core.$loose>; hostnames: z.ZodOptional, z.ZodArray]>>; cors: z.ZodOptional; }, z.core.$loose>>; trustedProxies: z.ZodOptional, z.ZodArray]>>; git: z.ZodOptional>; app: z.ZodOptional>; catalogRefreshTimeoutMs: z.ZodOptional; browserTools: z.ZodDefault; }, z.core.$loose>>; providers: z.ZodDefault; disabledTools: z.ZodOptional>; }, z.core.$strip>>; enabled: z.ZodOptional; additionalModels: z.ZodOptional; isDefault: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; metadataGeneration: z.ZodDefault; thinkingOptionId: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>; autoArchiveAfterMerge: z.ZodDefault; enableTerminalAgentHooks: z.ZodDefault; appendSystemPrompt: z.ZodDefault; terminalProfiles: z.ZodOptional>; icon: z.ZodOptional; }, z.core.$loose>>>; agentProfiles: z.ZodOptional; color: z.ZodOptional; provider: z.ZodString; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; notes: z.ZodOptional; }, z.core.$loose>>>; skills: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">>; }, z.core.$strict>>; pluginsEnabled: z.ZodOptional; plugins: z.ZodOptional; path: z.ZodString; enabled: z.ZodOptional; }, z.core.$strict>], "source">>>; }, z.core.$loose>; }, z.core.$loose>; export declare const PluginCatalogChangedStatusPayloadSchema: z.ZodObject<{ status: z.ZodLiteral<"plugin_catalog_changed">; pluginId: z.ZodString; }, z.core.$strip>; export declare const PluginSettingsChangedStatusPayloadSchema: z.ZodObject<{ status: z.ZodLiteral<"plugin_settings_changed">; pluginId: z.ZodString; settingsId: z.ZodString; }, z.core.$strip>; export declare const KnownStatusPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"agent_created">; agent: z.ZodObject<{ id: z.ZodString; provider: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"agent_create_failed">; requestId: z.ZodString; error: z.ZodString; errorCode: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"agent_resumed">; agent: z.ZodObject<{ id: z.ZodString; provider: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; agentId: z.ZodString; requestId: z.ZodString; timelineSize: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"agent_refreshed">; agentId: z.ZodString; requestId: z.ZodString; timelineSize: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"shutdown_requested">; clientId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"restart_requested">; clientId: z.ZodString; reason: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"daemon_config_changed">; config: z.ZodObject<{ relay: z.ZodOptional>; mcp: z.ZodObject<{ enabled: z.ZodOptional; injectIntoAgents: z.ZodBoolean; }, z.core.$loose>; hostnames: z.ZodOptional, z.ZodArray]>>; cors: z.ZodOptional; }, z.core.$loose>>; trustedProxies: z.ZodOptional, z.ZodArray]>>; git: z.ZodOptional>; app: z.ZodOptional>; catalogRefreshTimeoutMs: z.ZodOptional; browserTools: z.ZodDefault; }, z.core.$loose>>; providers: z.ZodDefault; disabledTools: z.ZodOptional>; }, z.core.$strip>>; enabled: z.ZodOptional; additionalModels: z.ZodOptional; isDefault: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; metadataGeneration: z.ZodDefault; thinkingOptionId: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>; autoArchiveAfterMerge: z.ZodDefault; enableTerminalAgentHooks: z.ZodDefault; appendSystemPrompt: z.ZodDefault; terminalProfiles: z.ZodOptional>; icon: z.ZodOptional; }, z.core.$loose>>>; agentProfiles: z.ZodOptional; color: z.ZodOptional; provider: z.ZodString; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; notes: z.ZodOptional; }, z.core.$loose>>>; skills: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">>; }, z.core.$strict>>; pluginsEnabled: z.ZodOptional; plugins: z.ZodOptional; path: z.ZodString; enabled: z.ZodOptional; }, z.core.$strict>], "source">>>; }, z.core.$loose>; }, z.core.$loose>, z.ZodObject<{ status: z.ZodLiteral<"plugin_catalog_changed">; pluginId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"plugin_settings_changed">; pluginId: z.ZodString; settingsId: z.ZodString; }, z.core.$strip>], "status">; export type KnownStatusPayload = z.infer; export declare const ArtifactMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"artifact">; payload: z.ZodObject<{ type: z.ZodEnum<{ image: "image"; code: "code"; markdown: "markdown"; diff: "diff"; }>; id: z.ZodString; title: z.ZodString; content: z.ZodString; isBase64: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; export declare const ProjectCheckoutLiteNotGitPayloadSchema: z.ZodPipe; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>; export declare const ProjectCheckoutLiteGitNonPaseoPayloadSchema: z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>; export declare const ProjectCheckoutLiteGitPaseoPayloadSchema: z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>; export declare const ProjectCheckoutLitePayloadSchema: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; export declare const ProjectPlacementPayloadSchema: z.ZodObject<{ projectKey: z.ZodString; projectName: z.ZodString; workspaceName: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>; export declare const WorkspaceScriptLifecycleSchema: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; export declare const WorkspaceScriptHealthSchema: z.ZodEnum<{ healthy: "healthy"; unhealthy: "unhealthy"; }>; export declare const WorkspaceScriptPayloadSchema: z.ZodObject<{ scriptName: z.ZodString; type: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>; export declare const WorkspaceGitHubRuntimePayloadSchema: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>; export declare const AgentUpdateMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"upsert">; agent: z.ZodObject<{ id: z.ZodString; provider: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>>; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"remove">; agentId: z.ZodString; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>], "kind">; }, z.core.$strip>; export declare const AgentStreamMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_stream">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentId: z.ZodString; event: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"thread_started">; sessionId: z.ZodString; provider: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_started">; provider: z.ZodString; turnId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_completed">; provider: z.ZodString; turnId: z.ZodOptional; usage: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_failed">; provider: z.ZodString; turnId: z.ZodOptional; error: z.ZodString; code: z.ZodOptional; diagnostic: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_canceled">; provider: z.ZodString; turnId: z.ZodOptional; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"timeline">; provider: z.ZodString; item: z.ZodType>; turnId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"permission_requested">; provider: z.ZodString; request: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"permission_resolved">; provider: z.ZodString; requestId: z.ZodString; resolution: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"attention_required">; provider: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; timestamp: z.ZodString; shouldNotify: z.ZodBoolean; notification: z.ZodOptional; agentId: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>], "type">; timestamp: z.ZodString; seq: z.ZodOptional; epoch: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentStatusMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_status">; payload: z.ZodObject<{ agentId: z.ZodString; status: z.ZodString; info: z.ZodObject<{ id: z.ZodString; provider: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentListMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_list">; payload: z.ZodObject<{ agents: z.ZodArray; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentSearchMatchFieldSchema: z.ZodEnum<{ title: "title"; branch: "branch"; workspace: "workspace"; project: "project"; }>; export declare const AgentSearchMatchSchema: z.ZodObject<{ field: z.ZodEnum<{ title: "title"; branch: "branch"; workspace: "workspace"; project: "project"; }>; ranges: z.ZodArray>; }, z.core.$strip>; export type AgentSearchMatch = z.infer; export declare const FetchAgentsResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"fetch_agents_response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodOptional>; entries: z.ZodArray; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; project: z.ZodObject<{ projectKey: z.ZodString; projectName: z.ZodString; workspaceName: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>; searchScore: z.ZodOptional; searchMatches: z.ZodOptional; ranges: z.ZodArray>; }, z.core.$strip>>>; syncSeq: z.ZodOptional; }, z.core.$strip>>; pageInfo: z.ZodObject<{ nextCursor: z.ZodNullable; prevCursor: z.ZodNullable; hasMore: z.ZodBoolean; }, z.core.$strip>; sync: z.ZodOptional; reason: z.ZodOptional>; removals: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export declare const FetchAgentHistoryResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_history_response">; payload: z.ZodObject<{ requestId: z.ZodString; entries: z.ZodArray; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; project: z.ZodObject<{ projectKey: z.ZodString; projectName: z.ZodString; workspaceName: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>; searchScore: z.ZodOptional; searchMatches: z.ZodOptional; ranges: z.ZodArray>; }, z.core.$strip>>>; syncSeq: z.ZodOptional; }, z.core.$strip>>; pageInfo: z.ZodObject<{ nextCursor: z.ZodNullable; prevCursor: z.ZodNullable; hasMore: z.ZodBoolean; }, z.core.$strip>; searchTruncated: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; export declare const FetchRecentProviderSessionsResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"fetch_recent_provider_sessions_response">; payload: z.ZodObject<{ requestId: z.ZodString; entries: z.ZodArray; firstPromptPreview: z.ZodNullable; lastPromptPreview: z.ZodNullable; lastActivityAt: z.ZodString; }, z.core.$strip>>; filteredAlreadyImportedCount: z.ZodOptional; providerErrors: z.ZodOptional>>; }, z.core.$strip>; }, z.core.$strip>; export declare const WorkspaceProjectDescriptorPayloadSchema: z.ZodObject<{ projectId: z.ZodString; projectKey: z.ZodOptional; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>; export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"fetch_workspaces_response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodOptional>; entries: z.ZodArray>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; emptyProjects: z.ZodDefault; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>>>; pageInfo: z.ZodObject<{ nextCursor: z.ZodNullable; prevCursor: z.ZodNullable; hasMore: z.ZodBoolean; }, z.core.$strip>; sync: z.ZodOptional; reason: z.ZodOptional>; removals: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace_update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"upsert">; workspace: z.ZodPipe>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"remove">; id: z.ZodString; emptyProject: z.ZodOptional; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>; removedProjectId: z.ZodOptional; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>], "kind">; }, z.core.$strip>; export declare const WorkspaceLabelListResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.label.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodOptional; labels: z.ZodArray; }, z.core.$strip>>; sync: z.ZodObject<{ mode: z.ZodEnum<{ snapshot: "snapshot"; changes: "changes"; }>; generation: z.ZodString; headSeq: z.ZodNumber; removals: z.ZodArray>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; export declare const WorkspaceLabelUpdateSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.label.update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"upsert">; label: z.ZodObject<{ name: z.ZodString; color: z.ZodEnum<{ violet: "violet"; sky: "sky"; emerald: "emerald"; orange: "orange"; pink: "pink"; indigo: "indigo"; teal: "teal"; red: "red"; amber: "amber"; blue: "blue"; }>; }, z.core.$strip>; previousName: z.ZodOptional; generation: z.ZodString; seq: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"remove">; name: z.ZodString; generation: z.ZodString; seq: z.ZodNumber; }, z.core.$strip>], "kind">; }, z.core.$strip>; export declare const WorkspaceLabelAssignmentSetResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.label.assignment.set.response">; payload: z.ZodObject<{ requestId: z.ZodString; label: z.ZodObject<{ name: z.ZodString; color: z.ZodEnum<{ violet: "violet"; sky: "sky"; emerald: "emerald"; orange: "orange"; pink: "pink"; indigo: "indigo"; teal: "teal"; red: "red"; amber: "amber"; blue: "blue"; }>; }, z.core.$strip>; workspaceLabels: z.ZodArray; }, z.core.$strip>; }, z.core.$strip>; export declare const WorkspaceLabelUpdateResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.label.update.response">; payload: z.ZodObject<{ requestId: z.ZodString; label: z.ZodObject<{ name: z.ZodString; color: z.ZodEnum<{ violet: "violet"; sky: "sky"; emerald: "emerald"; orange: "orange"; pink: "pink"; indigo: "indigo"; teal: "teal"; red: "red"; amber: "amber"; blue: "blue"; }>; }, z.core.$strip>; affectedWorkspaceCount: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; export declare const WorkspaceLabelDeleteResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.label.delete.response">; payload: z.ZodObject<{ requestId: z.ZodString; affectedWorkspaceCount: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; export declare const WorkspaceLabelDeleteInspectResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.label.delete.inspect.response">; payload: z.ZodObject<{ requestId: z.ZodString; affectedWorkspaceCount: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; export declare const ProjectUpdateMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"project.update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"upsert">; project: z.ZodObject<{ projectId: z.ZodString; projectKey: z.ZodOptional; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"remove">; projectId: z.ZodString; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>], "kind">; }, z.core.$strip>; export declare const ProjectListResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"project.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; projects: z.ZodArray; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>; sync: z.ZodOptional; reason: z.ZodOptional>; removals: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export declare const ScriptStatusUpdateMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"script_status_update">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; workspaceId: z.ZodString; scripts: z.ZodArray>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export declare const WorkspaceSetupProgressMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace_setup_progress">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; workspaceId: z.ZodString; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; blocked: "blocked"; }>; detail: z.ZodObject<{ type: z.ZodLiteral<"worktree_setup">; worktreePath: z.ZodString; branchName: z.ZodString; log: z.ZodString; commands: z.ZodArray>; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; }>; exitCode: z.ZodNullable; durationMs: z.ZodOptional; }, z.core.$strip>>; truncated: z.ZodOptional; }, z.core.$strip>; error: z.ZodNullable; blockedSource: z.ZodOptional; forge: z.ZodString; number: z.ZodNumber; headRepository: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export declare const WorkspaceSetupSnapshotSchema: z.ZodObject<{ status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; blocked: "blocked"; }>; detail: z.ZodObject<{ type: z.ZodLiteral<"worktree_setup">; worktreePath: z.ZodString; branchName: z.ZodString; log: z.ZodString; commands: z.ZodArray>; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; }>; exitCode: z.ZodNullable; durationMs: z.ZodOptional; }, z.core.$strip>>; truncated: z.ZodOptional; }, z.core.$strip>; error: z.ZodNullable; blockedSource: z.ZodOptional; forge: z.ZodString; number: z.ZodNumber; headRepository: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; export declare const WorkspaceSetupRunResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.setup.run.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; started: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const WorkspaceSetupStatusResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace_setup_status_response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; snapshot: z.ZodNullable; detail: z.ZodObject<{ type: z.ZodLiteral<"worktree_setup">; worktreePath: z.ZodString; branchName: z.ZodString; log: z.ZodString; commands: z.ZodArray>; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; }>; exitCode: z.ZodNullable; durationMs: z.ZodOptional; }, z.core.$strip>>; truncated: z.ZodOptional; }, z.core.$strip>; error: z.ZodNullable; blockedSource: z.ZodOptional; forge: z.ZodString; number: z.ZodNumber; headRepository: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export declare const OpenProjectResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"open_project_response">; payload: z.ZodObject<{ requestId: z.ZodString; workspace: z.ZodNullable>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; error: z.ZodNullable; errorCode: z.ZodCatch>>>; }, z.core.$strip>; }, z.core.$strip>; export declare const ProjectAddResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"project.add.response">; payload: z.ZodObject<{ requestId: z.ZodString; project: z.ZodNullable; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; errorCode: z.ZodCatch>>>; }, z.core.$strip>; }, z.core.$strip>; export declare const ProjectCreateDirectoryErrorCodeSchema: z.ZodEnum<{ invalid_name: "invalid_name"; parent_directory_not_found: "parent_directory_not_found"; directory_exists: "directory_exists"; permission_denied: "permission_denied"; registration_failed: "registration_failed"; filesystem_error: "filesystem_error"; }>; export declare const ProjectCreateDirectoryResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"project.create_directory.response">; payload: z.ZodObject<{ requestId: z.ZodString; directoryPath: z.ZodNullable; project: z.ZodNullable; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; errorCode: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const WorkspaceGithubSearchRepositoriesResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.github.search_repositories.response">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"success">; requestId: z.ZodString; repositories: z.ZodArray; visibility: z.ZodEnum<{ public: "public"; private: "private"; internal: "internal"; }>; updatedAt: z.ZodString; cloneUrl: z.ZodString; }, z.core.$strip>>; available: z.ZodLiteral; error: z.ZodNull; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"unavailable">; requestId: z.ZodString; repositories: z.ZodArray; visibility: z.ZodEnum<{ public: "public"; private: "private"; internal: "internal"; }>; updatedAt: z.ZodString; cloneUrl: z.ZodString; }, z.core.$strip>>; reason: z.ZodLiteral<"gh_missing">; available: z.ZodLiteral; error: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"unauthenticated">; requestId: z.ZodString; repositories: z.ZodArray; visibility: z.ZodEnum<{ public: "public"; private: "private"; internal: "internal"; }>; updatedAt: z.ZodString; cloneUrl: z.ZodString; }, z.core.$strip>>; available: z.ZodLiteral; error: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; requestId: z.ZodString; repositories: z.ZodArray; visibility: z.ZodEnum<{ public: "public"; private: "private"; internal: "internal"; }>; updatedAt: z.ZodString; cloneUrl: z.ZodString; }, z.core.$strip>>; available: z.ZodLiteral; error: z.ZodString; }, z.core.$strip>], "status">; }, z.core.$strip>; export declare const ProjectGithubCloneResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"project.github.clone.response">; payload: z.ZodObject<{ requestId: z.ZodString; repo: z.ZodString; checkoutPath: z.ZodNullable; project: z.ZodNullable; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const StartWorkspaceScriptResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"start_workspace_script_response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; scriptName: z.ZodString; terminalId: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const WorkspaceScriptListResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.script.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; scriptName: z.ZodOptional; script: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; scripts: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const WorkspaceScriptStartResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.script.start.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; scriptName: z.ZodOptional; script: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; scripts: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const WorkspaceScriptStopResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.script.stop.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; scriptName: z.ZodOptional; script: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; scripts: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const LegacyListAvailableEditorsResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"list_available_editors_response">; payload: z.ZodObject<{ requestId: z.ZodString; editors: z.ZodArray>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const LegacyOpenInEditorResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"open_in_editor_response">; payload: z.ZodObject<{ requestId: z.ZodString; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const ArchiveWorkspaceResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"archive_workspace_response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; archivedAt: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const FetchAgentResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_response">; payload: z.ZodObject<{ requestId: z.ZodString; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentTimelineEntryPayloadSchema: z.ZodObject<{ provider: z.ZodString; item: z.ZodType>; turnId: z.ZodOptional; timestamp: z.ZodString; seqStart: z.ZodNumber; seqEnd: z.ZodNumber; sourceSeqRanges: z.ZodArray>; collapsed: z.ZodArray>; }, z.core.$strip>; export declare const FetchAgentTimelineResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_timeline_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; direction: z.ZodEnum<{ tail: "tail"; before: "before"; after: "after"; }>; projection: z.ZodEnum<{ projected: "projected"; canonical: "canonical"; }>; epoch: z.ZodString; reset: z.ZodBoolean; staleCursor: z.ZodBoolean; gap: z.ZodBoolean; window: z.ZodObject<{ minSeq: z.ZodNumber; maxSeq: z.ZodNumber; nextSeq: z.ZodNumber; }, z.core.$strip>; startCursor: z.ZodNullable>; endCursor: z.ZodNullable>; hasOlder: z.ZodBoolean; hasNewer: z.ZodBoolean; mergeWindow: z.ZodOptional; entries: z.ZodArray>; turnId: z.ZodOptional; timestamp: z.ZodString; seqStart: z.ZodNumber; seqEnd: z.ZodNumber; sourceSeqRanges: z.ZodArray>; collapsed: z.ZodArray>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentTimelineReplacementMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.replacement">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentId: z.ZodString; epoch: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentTimelineSearchResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.search.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; epoch: z.ZodString; locations: z.ZodArray; count: z.ZodOptional; }, z.core.$strip>>; nextCursor: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentTimelineListPromptsResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.list_prompts.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; epoch: z.ZodString; prompts: z.ZodArray>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const ProviderSubagentDescriptorPayloadSchema: z.ZodObject<{ id: z.ZodString; parentAgentId: z.ZodString; parentSubagentId: z.ZodOptional>; provider: z.ZodString; title: z.ZodNullable; description: z.ZodNullable; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; canceled: "canceled"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; toolCallId: z.ZodNullable; cwd: z.ZodOptional>; subtitle: z.ZodOptional>; }, z.core.$strip>; export type ProviderSubagentDescriptorPayload = z.infer; export declare const ProviderSubagentListResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.provider_subagents.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; parentAgentId: z.ZodString; subagents: z.ZodArray>; provider: z.ZodString; title: z.ZodNullable; description: z.ZodNullable; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; canceled: "canceled"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; toolCallId: z.ZodNullable; cwd: z.ZodOptional>; subtitle: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const ProviderSubagentTimelineResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.provider_subagents.timeline.get.response">; payload: z.ZodObject<{ requestId: z.ZodString; parentAgentId: z.ZodString; subagentId: z.ZodString; provider: z.ZodNullable; direction: z.ZodEnum<{ tail: "tail"; before: "before"; after: "after"; }>; epoch: z.ZodString; projection: z.ZodOptional>; startCursor: z.ZodOptional>>; endCursor: z.ZodOptional>>; reset: z.ZodBoolean; staleCursor: z.ZodBoolean; gap: z.ZodBoolean; window: z.ZodObject<{ minSeq: z.ZodNumber; maxSeq: z.ZodNumber; nextSeq: z.ZodNumber; }, z.core.$strip>; hasOlder: z.ZodBoolean; hasNewer: z.ZodBoolean; rows: z.ZodArray>; timestamp: z.ZodString; seq: z.ZodNumber; seqStart: z.ZodOptional; seqEnd: z.ZodOptional; sourceSeqRanges: z.ZodOptional>>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const ProviderSubagentUpdateMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.provider_subagents.update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"upsert">; subagent: z.ZodObject<{ id: z.ZodString; parentAgentId: z.ZodString; parentSubagentId: z.ZodOptional>; provider: z.ZodString; title: z.ZodNullable; description: z.ZodNullable; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; canceled: "canceled"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; toolCallId: z.ZodNullable; cwd: z.ZodOptional>; subtitle: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"timeline">; parentAgentId: z.ZodString; subagentId: z.ZodString; provider: z.ZodString; item: z.ZodType>; timestamp: z.ZodString; seq: z.ZodNumber; epoch: z.ZodString; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"remove">; parentAgentId: z.ZodString; subagentId: z.ZodString; }, z.core.$strip>], "kind">; }, z.core.$strip>; export declare const SetAgentTimelineSubscriptionResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.set_subscription.response">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentIds: z.ZodArray; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentAttentionRequiredMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_attention_required">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentId: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; timestamp: z.ZodString; shouldNotify: z.ZodBoolean; notification: z.ZodOptional; agentId: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentForkContextResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.fork_context.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; attachment: z.ZodNullable; mimeType: z.ZodLiteral<"text/plain">; contextKind: z.ZodOptional; title: z.ZodOptional>; text: z.ZodString; externalResource: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ contextKind?: string | undefined; type: "text"; mimeType: "text/plain"; text: string; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }, { type: "text"; mimeType: "text/plain"; text: string; contextKind?: string | undefined; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }>>>; itemCount: z.ZodNumber; boundaryMessageId: z.ZodNullable; boundaryCursor: z.ZodOptional>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const CancelAgentResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"cancel_agent_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>; export declare const ClearAgentAttentionResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"clear_agent_attention_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodUnion<[z.ZodString, z.ZodArray]>; agents: z.ZodArray; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export declare const CreationSnapshotSchema: z.ZodObject<{ kind: z.ZodEnum<{ agent: "agent"; workspace: "workspace"; }>; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; }, z.core.$strip>; export type CreationSnapshot = z.infer; export type AgentCreateRequest = z.infer; export type WorkspaceInitialAgent = z.infer; export declare const WorkspaceCreationUpdateSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.create.update">; payload: z.ZodObject<{ kind: z.ZodEnum<{ agent: "agent"; workspace: "workspace"; }>; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; subscriptionId: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentCreationUpdateSchema: z.ZodObject<{ payload: z.ZodObject<{ kind: z.ZodEnum<{ agent: "agent"; workspace: "workspace"; }>; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; subscriptionId: z.ZodOptional; }, z.core.$strip>; type: z.ZodLiteral<"agent.create.update">; }, z.core.$strip>; export declare const CreationSubscribeResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"creation.subscribe.response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodOptional; snapshot: z.ZodNullable; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentCreateResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.create.response">; payload: z.ZodObject<{ requestId: z.ZodString; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; creation: z.ZodOptional; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export declare const WorkspaceCreateResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.create.response">; payload: z.ZodObject<{ agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; creation: z.ZodOptional; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; }, z.core.$strip>>; workspace: z.ZodNullable>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; setupTerminalId: z.ZodNullable; setupSkippedReason: z.ZodOptional; error: z.ZodNullable; errorCode: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const WorkspaceClearAttentionResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.clear_attention.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodUnion]>; clearedAgentIds: z.ZodArray; results: z.ZodArray; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>>; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const WorkspaceMarkUnreadResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"workspace.mark_unread.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; markedAgentId: z.ZodNullable; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const SendAgentMessageResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"send_agent_message_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const WaitForFinishResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"wait_for_finish_response">; payload: z.ZodObject<{ requestId: z.ZodString; status: z.ZodEnum<{ error: "error"; permission: "permission"; idle: "idle"; timeout: "timeout"; }>; final: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; lastMessage: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const GetDaemonConfigResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"get_daemon_config_response">; payload: z.ZodObject<{ requestId: z.ZodString; config: z.ZodObject<{ relay: z.ZodOptional>; mcp: z.ZodObject<{ enabled: z.ZodOptional; injectIntoAgents: z.ZodBoolean; }, z.core.$loose>; hostnames: z.ZodOptional, z.ZodArray]>>; cors: z.ZodOptional; }, z.core.$loose>>; trustedProxies: z.ZodOptional, z.ZodArray]>>; git: z.ZodOptional>; app: z.ZodOptional>; catalogRefreshTimeoutMs: z.ZodOptional; browserTools: z.ZodDefault; }, z.core.$loose>>; providers: z.ZodDefault; disabledTools: z.ZodOptional>; }, z.core.$strip>>; enabled: z.ZodOptional; additionalModels: z.ZodOptional; isDefault: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; metadataGeneration: z.ZodDefault; thinkingOptionId: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>; autoArchiveAfterMerge: z.ZodDefault; enableTerminalAgentHooks: z.ZodDefault; appendSystemPrompt: z.ZodDefault; terminalProfiles: z.ZodOptional>; icon: z.ZodOptional; }, z.core.$loose>>>; agentProfiles: z.ZodOptional; color: z.ZodOptional; provider: z.ZodString; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; notes: z.ZodOptional; }, z.core.$loose>>>; skills: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">>; }, z.core.$strict>>; pluginsEnabled: z.ZodOptional; plugins: z.ZodOptional; path: z.ZodString; enabled: z.ZodOptional; }, z.core.$strict>], "source">>>; }, z.core.$loose>; }, z.core.$loose>; }, z.core.$strip>; export declare const DaemonGetStatusResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"daemon.get_status.response">; payload: z.ZodObject<{ requestId: z.ZodString; serverId: z.ZodString; version: z.ZodOptional>; pid: z.ZodNumber; nodePath: z.ZodString; startedAt: z.ZodOptional>; listen: z.ZodNullable; relay: z.ZodOptional>>; providers: z.ZodArray>; }, z.core.$strip>>; }, z.core.$loose>; }, z.core.$strip>; export declare const HubRelationshipStatusSchema: z.ZodObject<{ state: z.ZodEnum<{ not_connected: "not_connected"; connecting: "connecting"; connected: "connected"; reconnecting: "reconnecting"; disconnecting: "disconnecting"; revoked: "revoked"; }>; daemonId: z.ZodNullable; hubOrigin: z.ZodNullable; permissions: z.ZodArray>; connectedAt: z.ZodNullable; lastError: z.ZodNullable; }, z.core.$strip>; export declare const HubManagementDaemonConnectResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.connect.response">; payload: z.ZodObject<{ requestId: z.ZodString; status: z.ZodObject<{ state: z.ZodEnum<{ not_connected: "not_connected"; connecting: "connecting"; connected: "connected"; reconnecting: "reconnecting"; disconnecting: "disconnecting"; revoked: "revoked"; }>; daemonId: z.ZodNullable; hubOrigin: z.ZodNullable; permissions: z.ZodArray>; connectedAt: z.ZodNullable; lastError: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; export declare const HubManagementDaemonGetStatusResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.get_status.response">; payload: z.ZodObject<{ requestId: z.ZodString; status: z.ZodObject<{ state: z.ZodEnum<{ not_connected: "not_connected"; connecting: "connecting"; connected: "connected"; reconnecting: "reconnecting"; disconnecting: "disconnecting"; revoked: "revoked"; }>; daemonId: z.ZodNullable; hubOrigin: z.ZodNullable; permissions: z.ZodArray>; connectedAt: z.ZodNullable; lastError: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; export declare const HubManagementDaemonDisconnectResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.disconnect.response">; payload: z.ZodObject<{ requestId: z.ZodString; status: z.ZodObject<{ state: z.ZodEnum<{ not_connected: "not_connected"; connecting: "connecting"; connected: "connected"; reconnecting: "reconnecting"; disconnecting: "disconnecting"; revoked: "revoked"; }>; daemonId: z.ZodNullable; hubOrigin: z.ZodNullable; permissions: z.ZodArray>; connectedAt: z.ZodNullable; lastError: z.ZodNullable; }, z.core.$strip>; warning: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; export declare const HubManagementDaemonPermissionsUpdateResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.permissions.update.response">; payload: z.ZodObject<{ requestId: z.ZodString; status: z.ZodObject<{ state: z.ZodEnum<{ not_connected: "not_connected"; connecting: "connecting"; connected: "connected"; reconnecting: "reconnecting"; disconnecting: "disconnecting"; revoked: "revoked"; }>; daemonId: z.ZodNullable; hubOrigin: z.ZodNullable; permissions: z.ZodArray>; connectedAt: z.ZodNullable; lastError: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; export declare const DaemonGetPairingOfferResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"daemon.get_pairing_offer.response">; payload: z.ZodObject<{ requestId: z.ZodString; url: z.ZodString; qr: z.ZodOptional>; relayEnabled: z.ZodBoolean; }, z.core.$loose>; }, z.core.$strip>; export declare const DaemonConfigReloadResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"daemon.config.reload.response">; payload: z.ZodObject<{ requestId: z.ZodString; appliedPaths: z.ZodArray; restartRequiredPaths: z.ZodArray; overrideControlledPaths: z.ZodArray; }, z.core.$loose>; }, z.core.$strip>; export declare const DiagnosticsResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"diagnostics.response">; payload: z.ZodObject<{ requestId: z.ZodString; diagnostic: z.ZodString; }, z.core.$loose>; }, z.core.$strip>; export declare const SetDaemonConfigResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"set_daemon_config_response">; payload: z.ZodObject<{ requestId: z.ZodString; config: z.ZodObject<{ relay: z.ZodOptional>; mcp: z.ZodObject<{ enabled: z.ZodOptional; injectIntoAgents: z.ZodBoolean; }, z.core.$loose>; hostnames: z.ZodOptional, z.ZodArray]>>; cors: z.ZodOptional; }, z.core.$loose>>; trustedProxies: z.ZodOptional, z.ZodArray]>>; git: z.ZodOptional>; app: z.ZodOptional>; catalogRefreshTimeoutMs: z.ZodOptional; browserTools: z.ZodDefault; }, z.core.$loose>>; providers: z.ZodDefault; disabledTools: z.ZodOptional>; }, z.core.$strip>>; enabled: z.ZodOptional; additionalModels: z.ZodOptional; isDefault: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; metadataGeneration: z.ZodDefault; thinkingOptionId: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>; autoArchiveAfterMerge: z.ZodDefault; enableTerminalAgentHooks: z.ZodDefault; appendSystemPrompt: z.ZodDefault; terminalProfiles: z.ZodOptional>; icon: z.ZodOptional; }, z.core.$loose>>>; agentProfiles: z.ZodOptional; color: z.ZodOptional; provider: z.ZodString; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; notes: z.ZodOptional; }, z.core.$loose>>>; skills: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">>; }, z.core.$strict>>; pluginsEnabled: z.ZodOptional; plugins: z.ZodOptional; path: z.ZodString; enabled: z.ZodOptional; }, z.core.$strict>], "source">>>; }, z.core.$loose>; }, z.core.$loose>; }, z.core.$strip>; export declare const ReadProjectConfigResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"read_project_config_response">; payload: z.ZodUnion; config: z.ZodNullable]>>; teardown: z.ZodOptional]>>; terminals: z.ZodOptional; servicePorts: z.ZodOptional; portScript: z.ZodOptional; }, z.core.$strict>>; }, z.core.$loose>>; scripts: z.ZodOptional; command: z.ZodOptional; port: z.ZodOptional; }, z.core.$loose>>>; metadataGeneration: z.ZodOptional; }, z.core.$loose>>>; branchName: z.ZodOptional; }, z.core.$loose>>>; commitMessage: z.ZodOptional; }, z.core.$loose>>>; pullRequest: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; }, z.core.$loose>>; revision: z.ZodNullable>; hasUncommittedWorktreeSetupChanges: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ requestId: z.ZodString; repoRoot: z.ZodString; ok: z.ZodLiteral; error: z.ZodDiscriminatedUnion<[z.ZodObject<{ code: z.ZodLiteral<"project_not_found">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"invalid_project_config">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"stale_project_config">; currentRevision: z.ZodNullable>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"write_failed">; }, z.core.$strip>], "code">; }, z.core.$strip>]>; }, z.core.$strip>; export declare const WriteProjectConfigResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"write_project_config_response">; payload: z.ZodUnion; config: z.ZodObject<{ worktree: z.ZodOptional]>>; teardown: z.ZodOptional]>>; terminals: z.ZodOptional; servicePorts: z.ZodOptional; portScript: z.ZodOptional; }, z.core.$strict>>; }, z.core.$loose>>; scripts: z.ZodOptional; command: z.ZodOptional; port: z.ZodOptional; }, z.core.$loose>>>; metadataGeneration: z.ZodOptional; }, z.core.$loose>>>; branchName: z.ZodOptional; }, z.core.$loose>>>; commitMessage: z.ZodOptional; }, z.core.$loose>>>; pullRequest: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; }, z.core.$loose>; revision: z.ZodObject<{ mtimeMs: z.ZodNumber; size: z.ZodNumber; }, z.core.$strip>; hasUncommittedWorktreeSetupChanges: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ requestId: z.ZodString; repoRoot: z.ZodString; ok: z.ZodLiteral; error: z.ZodDiscriminatedUnion<[z.ZodObject<{ code: z.ZodLiteral<"project_not_found">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"invalid_project_config">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"stale_project_config">; currentRevision: z.ZodNullable>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"write_failed">; }, z.core.$strip>], "code">; }, z.core.$strip>]>; }, z.core.$strip>; export declare const AgentPermissionRequestMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_permission_request">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentId: z.ZodString; request: z.ZodType>; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentPermissionResolvedMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_permission_resolved">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentId: z.ZodString; requestId: z.ZodString; resolution: z.ZodType>; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentDeletedMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_deleted">; payload: z.ZodObject<{ agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentArchivedMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_archived">; payload: z.ZodObject<{ agentId: z.ZodString; archivedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CloseItemsResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"close_items_response">; payload: z.ZodObject<{ agents: z.ZodArray>; terminals: z.ZodArray>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CheckoutStatusResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_status_response">; payload: z.ZodUnion; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodNull; currentBranch: z.ZodNull; isDirty: z.ZodNull; baseRef: z.ZodNull; aheadBehind: z.ZodNull; aheadOfOrigin: z.ZodNull; behindOfOrigin: z.ZodNull; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNull; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodString; mainRepoRoot: z.ZodDefault>>; currentBranch: z.ZodNullable; isDirty: z.ZodBoolean; baseRef: z.ZodNullable; aheadBehind: z.ZodNullable>; aheadOfOrigin: z.ZodNullable; behindOfOrigin: z.ZodNullable; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNullable; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodString; mainRepoRoot: z.ZodString; currentBranch: z.ZodNullable; isDirty: z.ZodBoolean; baseRef: z.ZodString; aheadBehind: z.ZodNullable>; aheadOfOrigin: z.ZodNullable; behindOfOrigin: z.ZodNullable; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNullable; }, z.core.$strip>]>; }, z.core.$strip>; export declare const CheckoutPrStatusSchema: z.ZodObject<{ forge: z.ZodDefault>; projectPath: z.ZodOptional; number: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodDefault>; mergeable: z.ZodDefault>>>; checks: z.ZodDefault; workflow: z.ZodOptional; duration: z.ZodOptional; checkRunId: z.ZodOptional; workflowRunId: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>>; checksStatus: z.ZodOptional; reviewDecision: z.ZodOptional>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional>>; autoMergeRequest: z.ZodDefault>>; mergeMethod: z.ZodDefault>>; enabledBy: z.ZodDefault>>; }, z.core.$strip>>>>; viewerCanEnableAutoMerge: z.ZodDefault>; viewerCanDisableAutoMerge: z.ZodDefault>; viewerCanMergeAsAdmin: z.ZodDefault>; viewerCanUpdateBranch: z.ZodDefault>; repository: z.ZodDefault>; mergeCommitAllowed: z.ZodDefault>; squashMergeAllowed: z.ZodDefault>; rebaseMergeAllowed: z.ZodDefault>; viewerDefaultMergeMethod: z.ZodDefault>>; }, z.core.$strip>>>; isMergeQueueEnabled: z.ZodDefault>; isInMergeQueue: z.ZodDefault>; }, z.core.$strip>>; forgeSpecific: z.ZodOptional; }, z.core.$strip>; export type ForgeAuthState = "authenticated" | "unauthenticated" | "cli_missing" | "no_remote" | "error"; export declare const ForgeAuthStateSchema: z.ZodOptional; export declare const CheckoutStatusUpdateSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_status_update">; payload: z.ZodIntersection; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodNull; currentBranch: z.ZodNull; isDirty: z.ZodNull; baseRef: z.ZodNull; aheadBehind: z.ZodNull; aheadOfOrigin: z.ZodNull; behindOfOrigin: z.ZodNull; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNull; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodString; mainRepoRoot: z.ZodDefault>>; currentBranch: z.ZodNullable; isDirty: z.ZodBoolean; baseRef: z.ZodNullable; aheadBehind: z.ZodNullable>; aheadOfOrigin: z.ZodNullable; behindOfOrigin: z.ZodNullable; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNullable; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodString; mainRepoRoot: z.ZodString; currentBranch: z.ZodNullable; isDirty: z.ZodBoolean; baseRef: z.ZodString; aheadBehind: z.ZodNullable>; aheadOfOrigin: z.ZodNullable; behindOfOrigin: z.ZodNullable; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNullable; }, z.core.$strip>]>, z.ZodObject<{ subscriptionId: z.ZodOptional; prStatus: z.ZodOptional>; projectPath: z.ZodOptional; number: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodDefault>; mergeable: z.ZodDefault>>>; checks: z.ZodDefault; workflow: z.ZodOptional; duration: z.ZodOptional; checkRunId: z.ZodOptional; workflowRunId: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>>; checksStatus: z.ZodOptional; reviewDecision: z.ZodOptional>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional>>; autoMergeRequest: z.ZodDefault>>; mergeMethod: z.ZodDefault>>; enabledBy: z.ZodDefault>>; }, z.core.$strip>>>>; viewerCanEnableAutoMerge: z.ZodDefault>; viewerCanDisableAutoMerge: z.ZodDefault>; viewerCanMergeAsAdmin: z.ZodDefault>; viewerCanUpdateBranch: z.ZodDefault>; repository: z.ZodDefault>; mergeCommitAllowed: z.ZodDefault>; squashMergeAllowed: z.ZodDefault>; rebaseMergeAllowed: z.ZodDefault>; viewerDefaultMergeMethod: z.ZodDefault>>; }, z.core.$strip>>>; isMergeQueueEnabled: z.ZodDefault>; isInMergeQueue: z.ZodDefault>; }, z.core.$strip>>; forgeSpecific: z.ZodOptional; }, z.core.$strip>>; githubFeaturesEnabled: z.ZodBoolean; authState: z.ZodOptional; forge: z.ZodDefault>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; export declare const SubscribeCheckoutDiffResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"subscribe_checkout_diff_response">; payload: z.ZodObject<{ subscriptionId: z.ZodString; cwd: z.ZodString; files: z.ZodArray; isNew: z.ZodBoolean; isDeleted: z.ZodBoolean; additions: z.ZodNumber; deletions: z.ZodNumber; hunks: z.ZodArray; content: z.ZodString; tokens: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>; status: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; diffTooLarge: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CheckoutDiffGetResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout.diff.get.response">; payload: z.ZodObject<{ error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; cwd: z.ZodString; files: z.ZodArray; isNew: z.ZodBoolean; isDeleted: z.ZodBoolean; additions: z.ZodNumber; deletions: z.ZodNumber; hunks: z.ZodArray; content: z.ZodString; tokens: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>; status: z.ZodOptional>; }, z.core.$strip>>; diffTooLarge: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CheckoutDiffUpdateSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_diff_update">; payload: z.ZodObject<{ subscriptionId: z.ZodString; cwd: z.ZodString; files: z.ZodArray; isNew: z.ZodBoolean; isDeleted: z.ZodBoolean; additions: z.ZodNumber; deletions: z.ZodNumber; hunks: z.ZodArray; content: z.ZodString; tokens: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>; status: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; diffTooLarge: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; export declare const CheckoutCommitResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_commit_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CheckoutMergeResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_merge_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CheckoutMergeFromBaseResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_merge_from_base_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CheckoutPullResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_pull_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CheckoutPushResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_push_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CheckoutRefreshResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout.refresh.response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CheckoutPrCreateResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_create_response">; payload: z.ZodObject<{ cwd: z.ZodString; url: z.ZodNullable; number: z.ZodNullable; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CheckoutPrMergeResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_merge_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CheckoutForgeSetAutoMergeResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout.forge.set_auto_merge.response">; payload: z.ZodObject<{ cwd: z.ZodString; enabled: z.ZodBoolean; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CheckoutGithubSetAutoMergeResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout.github.set_auto_merge.response">; payload: z.ZodObject<{ cwd: z.ZodString; enabled: z.ZodBoolean; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CheckoutDiscardChangesResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout.discard_changes.response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CheckoutCommitsListResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout.commits.list.response">; payload: z.ZodObject<{ cwd: z.ZodString; baseRef: z.ZodNullable; commits: z.ZodArray; files: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CheckoutCommitFileDiffResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout.commits.file_diff.response">; payload: z.ZodObject<{ cwd: z.ZodString; sha: z.ZodString; path: z.ZodString; file: z.ZodNullable; isNew: z.ZodBoolean; isDeleted: z.ZodBoolean; additions: z.ZodNumber; deletions: z.ZodNumber; hunks: z.ZodArray; content: z.ZodString; tokens: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>; status: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; declare const CheckoutPipelineJobSchema: z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; stage: z.ZodString; status: z.ZodString; rawStatus: z.ZodOptional; url: z.ZodDefault>>; allowFailure: z.ZodDefault>; durationSeconds: z.ZodDefault>>; }, z.core.$strip>; declare const CheckoutPipelineStageSchema: z.ZodObject<{ name: z.ZodString; status: z.ZodString; jobs: z.ZodDefault; url: z.ZodDefault>>; allowFailure: z.ZodDefault>; durationSeconds: z.ZodDefault>>; }, z.core.$strip>>>>; }, z.core.$strip>; declare const CheckoutPipelineSchema: z.ZodObject<{ id: z.ZodNumber; status: z.ZodString; rawStatus: z.ZodOptional; url: z.ZodDefault>>; ref: z.ZodDefault>>; sha: z.ZodDefault>>; stages: z.ZodDefault; url: z.ZodDefault>>; allowFailure: z.ZodDefault>; durationSeconds: z.ZodDefault>>; }, z.core.$strip>>>>; }, z.core.$strip>>>>; }, z.core.$strip>; export declare const CheckoutGithubCheckDetailsSchema: z.ZodObject<{ checkRunId: z.ZodNumber; workflowRunId: z.ZodOptional>; name: z.ZodString; status: z.ZodOptional>; conclusion: z.ZodOptional>; url: z.ZodOptional>; detailsUrl: z.ZodOptional>; output: z.ZodOptional>; summary: z.ZodOptional>; text: z.ZodOptional>; }, z.core.$strip>>>; annotations: z.ZodDefault; startLine: z.ZodOptional; endLine: z.ZodOptional; annotationLevel: z.ZodOptional; message: z.ZodOptional; title: z.ZodOptional; rawDetails: z.ZodOptional; }, z.core.$strip>>>>; failedJobs: z.ZodDefault>; conclusion: z.ZodOptional>; url: z.ZodOptional>; logTail: z.ZodOptional; logTruncated: z.ZodOptional; }, z.core.$strip>>>>; truncated: z.ZodDefault>; pipeline: z.ZodOptional; url: z.ZodDefault>>; ref: z.ZodDefault>>; sha: z.ZodDefault>>; stages: z.ZodDefault; url: z.ZodDefault>>; allowFailure: z.ZodDefault>; durationSeconds: z.ZodDefault>>; }, z.core.$strip>>>>; }, z.core.$strip>>>>; }, z.core.$strip>>>; }, z.core.$strip>; export declare const CheckoutCheckDetailsSchema: z.ZodObject<{ checkRunId: z.ZodNumber; workflowRunId: z.ZodOptional>; name: z.ZodString; status: z.ZodOptional>; conclusion: z.ZodOptional>; url: z.ZodOptional>; detailsUrl: z.ZodOptional>; output: z.ZodOptional>; summary: z.ZodOptional>; text: z.ZodOptional>; }, z.core.$strip>>>; annotations: z.ZodDefault; startLine: z.ZodOptional; endLine: z.ZodOptional; annotationLevel: z.ZodOptional; message: z.ZodOptional; title: z.ZodOptional; rawDetails: z.ZodOptional; }, z.core.$strip>>>>; failedJobs: z.ZodDefault>; conclusion: z.ZodOptional>; url: z.ZodOptional>; logTail: z.ZodOptional; logTruncated: z.ZodOptional; }, z.core.$strip>>>>; truncated: z.ZodDefault>; pipeline: z.ZodOptional; url: z.ZodDefault>>; ref: z.ZodDefault>>; sha: z.ZodDefault>>; stages: z.ZodDefault; url: z.ZodDefault>>; allowFailure: z.ZodDefault>; durationSeconds: z.ZodDefault>>; }, z.core.$strip>>>>; }, z.core.$strip>>>>; }, z.core.$strip>>>; }, z.core.$strip>; export declare const CheckoutForgeGetCheckDetailsResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout.forge.get_check_details.response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; details: z.ZodDefault>; name: z.ZodString; status: z.ZodOptional>; conclusion: z.ZodOptional>; url: z.ZodOptional>; detailsUrl: z.ZodOptional>; output: z.ZodOptional>; summary: z.ZodOptional>; text: z.ZodOptional>; }, z.core.$strip>>>; annotations: z.ZodDefault; startLine: z.ZodOptional; endLine: z.ZodOptional; annotationLevel: z.ZodOptional; message: z.ZodOptional; title: z.ZodOptional; rawDetails: z.ZodOptional; }, z.core.$strip>>>>; failedJobs: z.ZodDefault>; conclusion: z.ZodOptional>; url: z.ZodOptional>; logTail: z.ZodOptional; logTruncated: z.ZodOptional; }, z.core.$strip>>>>; truncated: z.ZodDefault>; pipeline: z.ZodOptional; url: z.ZodDefault>>; ref: z.ZodDefault>>; sha: z.ZodDefault>>; stages: z.ZodDefault; url: z.ZodDefault>>; allowFailure: z.ZodDefault>; durationSeconds: z.ZodDefault>>; }, z.core.$strip>>>>; }, z.core.$strip>>>>; }, z.core.$strip>>>; }, z.core.$strip>>>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CheckoutGithubGetCheckDetailsResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout.github.get_check_details.response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; details: z.ZodDefault>; name: z.ZodString; status: z.ZodOptional>; conclusion: z.ZodOptional>; url: z.ZodOptional>; detailsUrl: z.ZodOptional>; output: z.ZodOptional>; summary: z.ZodOptional>; text: z.ZodOptional>; }, z.core.$strip>>>; annotations: z.ZodDefault; startLine: z.ZodOptional; endLine: z.ZodOptional; annotationLevel: z.ZodOptional; message: z.ZodOptional; title: z.ZodOptional; rawDetails: z.ZodOptional; }, z.core.$strip>>>>; failedJobs: z.ZodDefault>; conclusion: z.ZodOptional>; url: z.ZodOptional>; logTail: z.ZodOptional; logTruncated: z.ZodOptional; }, z.core.$strip>>>>; truncated: z.ZodDefault>; pipeline: z.ZodOptional; url: z.ZodDefault>>; ref: z.ZodDefault>>; sha: z.ZodDefault>>; stages: z.ZodDefault; url: z.ZodDefault>>; allowFailure: z.ZodDefault>; durationSeconds: z.ZodDefault>>; }, z.core.$strip>>>>; }, z.core.$strip>>>>; }, z.core.$strip>>>; }, z.core.$strip>>>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CheckoutPrStatusResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_status_response">; payload: z.ZodObject<{ cwd: z.ZodString; status: z.ZodNullable>; projectPath: z.ZodOptional; number: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodDefault>; mergeable: z.ZodDefault>>>; checks: z.ZodDefault; workflow: z.ZodOptional; duration: z.ZodOptional; checkRunId: z.ZodOptional; workflowRunId: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>>; checksStatus: z.ZodOptional; reviewDecision: z.ZodOptional>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional>>; autoMergeRequest: z.ZodDefault>>; mergeMethod: z.ZodDefault>>; enabledBy: z.ZodDefault>>; }, z.core.$strip>>>>; viewerCanEnableAutoMerge: z.ZodDefault>; viewerCanDisableAutoMerge: z.ZodDefault>; viewerCanMergeAsAdmin: z.ZodDefault>; viewerCanUpdateBranch: z.ZodDefault>; repository: z.ZodDefault>; mergeCommitAllowed: z.ZodDefault>; squashMergeAllowed: z.ZodDefault>; rebaseMergeAllowed: z.ZodDefault>; viewerDefaultMergeMethod: z.ZodDefault>>; }, z.core.$strip>>>; isMergeQueueEnabled: z.ZodDefault>; isInMergeQueue: z.ZodDefault>; }, z.core.$strip>>; forgeSpecific: z.ZodOptional; }, z.core.$strip>>; githubFeaturesEnabled: z.ZodBoolean; authState: z.ZodOptional; forge: z.ZodDefault>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const PullRequestTimelineItemSchema: z.ZodPreprocess>; kind: z.ZodLiteral<"review">; author: z.ZodDefault>; authorUrl: z.ZodOptional>; avatarUrl: z.ZodOptional>; body: z.ZodDefault>; createdAt: z.ZodDefault>; url: z.ZodDefault>; reviewState: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodDefault>; kind: z.ZodLiteral<"comment">; author: z.ZodDefault>; authorUrl: z.ZodOptional>; avatarUrl: z.ZodOptional>; body: z.ZodDefault>; createdAt: z.ZodDefault>; url: z.ZodDefault>; reviewId: z.ZodOptional; threadId: z.ZodOptional; threadIsResolved: z.ZodOptional; location: z.ZodOptional; startLine: z.ZodOptional; threadId: z.ZodOptional; isResolved: z.ZodOptional; isOutdated: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>], "kind">>; export declare const PullRequestTimelineResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"pull_request_timeline_response">; payload: z.ZodPrefault>; prNumber: z.ZodDefault>>; items: z.ZodDefault>; kind: z.ZodLiteral<"review">; author: z.ZodDefault>; authorUrl: z.ZodOptional>; avatarUrl: z.ZodOptional>; body: z.ZodDefault>; createdAt: z.ZodDefault>; url: z.ZodDefault>; reviewState: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodDefault>; kind: z.ZodLiteral<"comment">; author: z.ZodDefault>; authorUrl: z.ZodOptional>; avatarUrl: z.ZodOptional>; body: z.ZodDefault>; createdAt: z.ZodDefault>; url: z.ZodDefault>; reviewId: z.ZodOptional; threadId: z.ZodOptional; threadIsResolved: z.ZodOptional; location: z.ZodOptional; startLine: z.ZodOptional; threadId: z.ZodOptional; isResolved: z.ZodOptional; isOutdated: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>], "kind">>>>>; truncated: z.ZodDefault>; error: z.ZodDefault; message: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"forbidden">; message: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"unknown">; message: z.ZodDefault>; }, z.core.$strip>], "kind">>>>>; requestId: z.ZodDefault>; githubFeaturesEnabled: z.ZodDefault>; authState: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>; export declare const CheckoutSwitchBranchResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout_switch_branch_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; branch: z.ZodString; source: z.ZodOptional>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CheckoutRenameBranchResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"checkout.rename_branch.response">; payload: z.ZodObject<{ requestId: z.ZodString; success: z.ZodBoolean; cwd: z.ZodString; currentBranch: z.ZodNullable; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; declare const StashEntrySchema: z.ZodObject<{ index: z.ZodNumber; message: z.ZodString; branch: z.ZodNullable; isPaseo: z.ZodBoolean; }, z.core.$strip>; export declare const StashSaveResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"stash_save_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const StashPopResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"stash_pop_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const StashListResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"stash_list_response">; payload: z.ZodObject<{ cwd: z.ZodString; entries: z.ZodArray; isPaseo: z.ZodBoolean; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const ValidateBranchResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"validate_branch_response">; payload: z.ZodObject<{ exists: z.ZodBoolean; resolvedRef: z.ZodNullable; isRemote: z.ZodBoolean; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const BranchSuggestionsResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"branch_suggestions_response">; payload: z.ZodObject<{ branches: z.ZodArray; branchDetails: z.ZodOptional; hasRemote: z.ZodOptional; localAhead: z.ZodOptional; localBehind: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const ForgeSearchResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"forge.search.response">; payload: z.ZodObject<{ items: z.ZodArray; authState: z.ZodOptional; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const GitHubSearchResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"github_search_response">; payload: z.ZodObject<{ items: z.ZodArray; featuresEnabled: z.ZodOptional; authState: z.ZodOptional; githubFeaturesEnabled: z.ZodOptional; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const DirectorySuggestionsResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"directory_suggestions_response">; payload: z.ZodObject<{ directories: z.ZodArray; entries: z.ZodDefault; }, z.core.$strip>>>>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const PaseoWorktreeListResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"paseo_worktree_list_response">; payload: z.ZodObject<{ worktrees: z.ZodArray>; head: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const PaseoWorktreeArchiveResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"paseo_worktree_archive_response">; payload: z.ZodObject<{ success: z.ZodBoolean; removedAgents: z.ZodOptional>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CreatePaseoWorktreeResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"create_paseo_worktree_response">; payload: z.ZodObject<{ workspace: z.ZodNullable>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; error: z.ZodNullable; errorCode: z.ZodOptional; setupTerminalId: z.ZodNullable; setupSkippedReason: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const FileExplorerResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"file_explorer_response">; payload: z.ZodObject<{ cwd: z.ZodString; path: z.ZodString; mode: z.ZodEnum<{ file: "file"; list: "list"; }>; directory: z.ZodNullable; size: z.ZodNumber; modifiedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; file: z.ZodNullable; encoding: z.ZodEnum<{ "utf-8": "utf-8"; base64: "base64"; none: "none"; }>; content: z.ZodOptional; mimeType: z.ZodOptional; size: z.ZodNumber; modifiedAt: z.ZodString; revision: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const FileSubscribeResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"fs.file.subscribe.response">; payload: z.ZodObject<{ subscriptionId: z.ZodString; initial: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ready">; cwd: z.ZodString; path: z.ZodString; size: z.ZodNumber; modifiedAt: z.ZodString; revision: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"missing">; cwd: z.ZodString; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; cwd: z.ZodString; path: z.ZodString; error: z.ZodString; }, z.core.$strip>], "status">; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const FileUnsubscribeResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"fs.file.unsubscribe.response">; payload: z.ZodObject<{ subscriptionId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const FileWriteResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"written">; modifiedAt: z.ZodString; size: z.ZodNumber; revision: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"conflict">; version: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ready">; cwd: z.ZodString; path: z.ZodString; size: z.ZodNumber; modifiedAt: z.ZodString; revision: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"missing">; cwd: z.ZodString; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; cwd: z.ZodString; path: z.ZodString; error: z.ZodString; }, z.core.$strip>], "status">; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; error: z.ZodString; }, z.core.$strip>], "status">; export declare const FileWriteResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"fs.file.write.response">; payload: z.ZodObject<{ result: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"written">; modifiedAt: z.ZodString; size: z.ZodNumber; revision: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"conflict">; version: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ready">; cwd: z.ZodString; path: z.ZodString; size: z.ZodNumber; modifiedAt: z.ZodString; revision: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"missing">; cwd: z.ZodString; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; cwd: z.ZodString; path: z.ZodString; error: z.ZodString; }, z.core.$strip>], "status">; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; error: z.ZodString; }, z.core.$strip>], "status">; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const FileEntryCreateResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"fs.entry.create.response">; payload: z.ZodObject<{ cwd: z.ZodString; parentPath: z.ZodString; path: z.ZodNullable; success: z.ZodBoolean; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const FileEntryRenameResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"fs.entry.rename.response">; payload: z.ZodObject<{ cwd: z.ZodString; path: z.ZodString; renamedPath: z.ZodNullable; success: z.ZodBoolean; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const FileEntryDuplicateResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"fs.entry.duplicate.response">; payload: z.ZodObject<{ cwd: z.ZodString; path: z.ZodString; duplicatedPath: z.ZodNullable; success: z.ZodBoolean; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const FileEntryDeleteResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"fs.entry.delete.response">; payload: z.ZodObject<{ cwd: z.ZodString; path: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const FileUpdateSchema: z.ZodObject<{ type: z.ZodLiteral<"fs.file.update">; payload: z.ZodObject<{ subscriptionId: z.ZodString; version: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ready">; cwd: z.ZodString; path: z.ZodString; size: z.ZodNumber; modifiedAt: z.ZodString; revision: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"missing">; cwd: z.ZodString; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; cwd: z.ZodString; path: z.ZodString; error: z.ZodString; }, z.core.$strip>], "status">; }, z.core.$strip>; }, z.core.$strip>; declare const ProjectIconSchema: z.ZodObject<{ data: z.ZodString; mimeType: z.ZodString; }, z.core.$strip>; export declare const ProjectIconResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"project_icon_response">; payload: z.ZodObject<{ cwd: z.ZodString; icon: z.ZodNullable>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const ProjectIconGetResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"project.icon.get.response">; payload: z.ZodObject<{ projectId: z.ZodString; icon: z.ZodNullable>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const FileDownloadTokenResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"file_download_token_response">; payload: z.ZodObject<{ cwd: z.ZodString; path: z.ZodString; token: z.ZodNullable; fileName: z.ZodNullable; mimeType: z.ZodNullable; size: z.ZodNullable; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const FileUploadResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"file.upload.response">; payload: z.ZodObject<{ requestId: z.ZodString; file: z.ZodNullable; id: z.ZodString; fileName: z.ZodString; mimeType: z.ZodString; size: z.ZodNumber; path: z.ZodString; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const ListProviderModelsResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"list_provider_models_response">; payload: z.ZodObject<{ provider: z.ZodString; models: z.ZodOptional>; isSelectable: z.ZodOptional; label: z.ZodString; description: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; contextWindowMaxTokens: z.ZodOptional; thinkingOptions: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>>; defaultThinkingOptionId: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>; fetchedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const ListProviderModesResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"list_provider_modes_response">; payload: z.ZodObject<{ provider: z.ZodString; modes: z.ZodOptional>>>; error: z.ZodOptional>; fetchedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const ListProviderFeaturesResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"list_provider_features_response">; payload: z.ZodObject<{ provider: z.ZodString; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; error: z.ZodOptional>; fetchedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const ListAvailableProvidersResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"list_available_providers_response">; payload: z.ZodObject<{ providers: z.ZodArray>; }, z.core.$strip>>; error: z.ZodOptional>; fetchedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const GetProvidersSnapshotResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"get_providers_snapshot_response">; payload: z.ZodObject<{ cwd: z.ZodOptional; entries: z.ZodArray>; enabled: z.ZodDefault>; source: z.ZodOptional>; error: z.ZodOptional; models: z.ZodOptional>; isSelectable: z.ZodOptional; label: z.ZodString; description: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; contextWindowMaxTokens: z.ZodOptional; thinkingOptions: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>>; defaultThinkingOptionId: z.ZodOptional; }, z.core.$strip>>>; modes: z.ZodOptional>>>; fetchedAt: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; iconSvg: z.ZodOptional; defaultModeId: z.ZodOptional>; }, z.core.$strip>>; compactSnapshot: z.ZodOptional; description: z.ZodOptional; label: z.ZodOptional; provider: z.ZodString; source: z.ZodOptional>; enabled: z.ZodDefault>; status: z.ZodType>; defaultModeId: z.ZodOptional>; modes: z.ZodOptional>>>; fetchedAt: z.ZodOptional; iconSvg: z.ZodOptional; models: z.ZodOptional; metadata: z.ZodOptional>; label: z.ZodString; id: z.ZodString; isDefault: z.ZodOptional; aliases: z.ZodOptional>; isSelectable: z.ZodOptional; contextWindowMaxTokens: z.ZodOptional; defaultThinkingOptionId: z.ZodOptional; thinkingSet: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; thinkingSets: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; defaultOptionId: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; snapshotHash: z.ZodOptional; fetchedAt: z.ZodOptional>; notModified: z.ZodOptional; generatedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const ProvidersSnapshotUpdateMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"providers_snapshot_update">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; cwd: z.ZodOptional; entries: z.ZodArray>; enabled: z.ZodDefault>; source: z.ZodOptional>; error: z.ZodOptional; models: z.ZodOptional>; isSelectable: z.ZodOptional; label: z.ZodString; description: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; contextWindowMaxTokens: z.ZodOptional; thinkingOptions: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>>; defaultThinkingOptionId: z.ZodOptional; }, z.core.$strip>>>; modes: z.ZodOptional>>>; fetchedAt: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; iconSvg: z.ZodOptional; defaultModeId: z.ZodOptional>; }, z.core.$strip>>; compactSnapshot: z.ZodOptional; description: z.ZodOptional; label: z.ZodOptional; provider: z.ZodString; source: z.ZodOptional>; enabled: z.ZodDefault>; status: z.ZodType>; defaultModeId: z.ZodOptional>; modes: z.ZodOptional>>>; fetchedAt: z.ZodOptional; iconSvg: z.ZodOptional; models: z.ZodOptional; metadata: z.ZodOptional>; label: z.ZodString; id: z.ZodString; isDefault: z.ZodOptional; aliases: z.ZodOptional>; isSelectable: z.ZodOptional; contextWindowMaxTokens: z.ZodOptional; defaultThinkingOptionId: z.ZodOptional; thinkingSet: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; thinkingSets: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; defaultOptionId: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; snapshotHash: z.ZodOptional; fetchedAt: z.ZodOptional>; generatedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const RefreshProvidersSnapshotResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"refresh_providers_snapshot_response">; payload: z.ZodObject<{ requestId: z.ZodString; acknowledged: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; export declare const ProviderDiagnosticResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"provider_diagnostic_response">; payload: z.ZodObject<{ provider: z.ZodString; diagnostic: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const ProviderUsageToneSchema: z.ZodEnum<{ default: "default"; warning: "warning"; danger: "danger"; ok: "ok"; }>; export declare const ProviderUsageStatusSchema: z.ZodEnum<{ error: "error"; unavailable: "unavailable"; available: "available"; }>; export declare const ProviderUsageWindowSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; usedPct: z.ZodOptional>; remainingPct: z.ZodOptional>; resetsAt: z.ZodOptional>; runsOutAt: z.ZodOptional>; shortfallPct: z.ZodOptional>; tone: z.ZodOptional>; }, z.core.$strip>; export declare const ProviderUsageBalanceSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; used: z.ZodOptional>; remaining: z.ZodOptional>; limit: z.ZodOptional>; unit: z.ZodEnum<{ tokens: "tokens"; usd: "usd"; credits: "credits"; requests: "requests"; }>; resetsAt: z.ZodOptional>; tone: z.ZodOptional>; }, z.core.$strip>; export declare const ProviderUsageDetailSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; value: z.ZodString; tone: z.ZodOptional>; }, z.core.$strip>; export declare const ProviderUsageSchema: z.ZodObject<{ providerId: z.ZodString; displayName: z.ZodString; status: z.ZodEnum<{ error: "error"; unavailable: "unavailable"; available: "available"; }>; planLabel: z.ZodNullable; sourceLabel: z.ZodOptional>; fetchedAt: z.ZodOptional>; nextRefreshAt: z.ZodOptional>; windows: z.ZodArray>; remainingPct: z.ZodOptional>; resetsAt: z.ZodOptional>; runsOutAt: z.ZodOptional>; shortfallPct: z.ZodOptional>; tone: z.ZodOptional>; }, z.core.$strip>>; balances: z.ZodOptional>; remaining: z.ZodOptional>; limit: z.ZodOptional>; unit: z.ZodEnum<{ tokens: "tokens"; usd: "usd"; credits: "credits"; requests: "requests"; }>; resetsAt: z.ZodOptional>; tone: z.ZodOptional>; }, z.core.$strip>>>; details: z.ZodOptional>; }, z.core.$strip>>>; error: z.ZodOptional>; }, z.core.$strip>; export declare const ProviderUsageListResponseMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"provider.usage.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; fetchedAt: z.ZodString; providers: z.ZodArray; planLabel: z.ZodNullable; sourceLabel: z.ZodOptional>; fetchedAt: z.ZodOptional>; nextRefreshAt: z.ZodOptional>; windows: z.ZodArray>; remainingPct: z.ZodOptional>; resetsAt: z.ZodOptional>; runsOutAt: z.ZodOptional>; shortfallPct: z.ZodOptional>; tone: z.ZodOptional>; }, z.core.$strip>>; balances: z.ZodOptional>; remaining: z.ZodOptional>; limit: z.ZodOptional>; unit: z.ZodEnum<{ tokens: "tokens"; usd: "usd"; credits: "credits"; requests: "requests"; }>; resetsAt: z.ZodOptional>; tone: z.ZodOptional>; }, z.core.$strip>>>; details: z.ZodOptional>; }, z.core.$strip>>>; error: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export declare const ListCommandsResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"list_commands_response">; payload: z.ZodObject<{ agentId: z.ZodString; commands: z.ZodArray>>; }, z.core.$strip>>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const TerminalCellSchema: z.ZodObject<{ char: z.ZodString; fg: z.ZodOptional; bg: z.ZodOptional; fgMode: z.ZodOptional; bgMode: z.ZodOptional; bold: z.ZodOptional; italic: z.ZodOptional; underline: z.ZodOptional; dim: z.ZodOptional; inverse: z.ZodOptional; strikethrough: z.ZodOptional; }, z.core.$strip>; export declare const TerminalCursorStyleSchema: z.ZodEnum<{ underline: "underline"; block: "block"; bar: "bar"; }>; export declare const TerminalCursorSchema: z.ZodObject<{ row: z.ZodNumber; col: z.ZodNumber; hidden: z.ZodOptional; style: z.ZodOptional>; blink: z.ZodOptional; }, z.core.$strip>; export declare const TerminalStateSchema: z.ZodObject<{ rows: z.ZodNumber; cols: z.ZodNumber; grid: z.ZodArray; bg: z.ZodOptional; fgMode: z.ZodOptional; bgMode: z.ZodOptional; bold: z.ZodOptional; italic: z.ZodOptional; underline: z.ZodOptional; dim: z.ZodOptional; inverse: z.ZodOptional; strikethrough: z.ZodOptional; }, z.core.$strip>>>; scrollback: z.ZodArray; bg: z.ZodOptional; fgMode: z.ZodOptional; bgMode: z.ZodOptional; bold: z.ZodOptional; italic: z.ZodOptional; underline: z.ZodOptional; dim: z.ZodOptional; inverse: z.ZodOptional; strikethrough: z.ZodOptional; }, z.core.$strip>>>; cursor: z.ZodObject<{ row: z.ZodNumber; col: z.ZodNumber; hidden: z.ZodOptional; style: z.ZodOptional>; blink: z.ZodOptional; }, z.core.$strip>; title: z.ZodOptional; gridWrapped: z.ZodOptional>; scrollbackWrapped: z.ZodOptional>; }, z.core.$strip>; export declare const ListTerminalsResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"list_terminals_response">; payload: z.ZodObject<{ cwd: z.ZodOptional; terminals: z.ZodArray; workspaceId: z.ZodOptional; title: z.ZodOptional; activity: z.ZodOptional>; attentionReason: z.ZodCatch>>>; changedAt: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const TerminalsChangedSchema: z.ZodObject<{ type: z.ZodLiteral<"terminals_changed">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; requestId: z.ZodOptional; workspaceId: z.ZodOptional; cwd: z.ZodString; terminals: z.ZodArray; title: z.ZodOptional; name: z.ZodString; id: z.ZodString; activity: z.ZodOptional>; attentionReason: z.ZodCatch>>>; changedAt: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export declare const CreateTerminalResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"create_terminal_response">; payload: z.ZodObject<{ terminal: z.ZodNullable; title: z.ZodOptional; activity: z.ZodOptional>; attentionReason: z.ZodCatch>>>; changedAt: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const RenameTerminalResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"terminal.rename.response">; payload: z.ZodObject<{ requestId: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const SubscribeTerminalResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"subscribe_terminal_response">; payload: z.ZodUnion; error: z.ZodNull; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ terminalId: z.ZodString; error: z.ZodString; requestId: z.ZodString; }, z.core.$strip>]>; }, z.core.$strip>; export declare const KillTerminalResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"kill_terminal_response">; payload: z.ZodObject<{ terminalId: z.ZodString; success: z.ZodBoolean; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const CaptureTerminalResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"capture_terminal_response">; payload: z.ZodObject<{ terminalId: z.ZodString; lines: z.ZodArray; totalLines: z.ZodNumber; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const TerminalStreamExitSchema: z.ZodObject<{ type: z.ZodLiteral<"terminal_stream_exit">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; terminalId: z.ZodString; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; export declare const TerminalAttentionRequiredSchema: z.ZodObject<{ type: z.ZodLiteral<"terminal_attention_required">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; serverId: z.ZodOptional; terminalId: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; reason: z.ZodEnum<{ finished: "finished"; needs_input: "needs_input"; }>; title: z.ZodString; body: z.ZodString; shouldNotify: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; export declare const DaemonUpdateResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"daemon.update.response">; payload: z.ZodObject<{ requestId: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; previousVersion: z.ZodNullable; newVersion: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export type DaemonUpdateResponse = z.infer; export declare const DaemonUpdateProgressMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"daemon.update.progress">; payload: z.ZodObject<{ requestId: z.ZodString; phase: z.ZodEnum<{ starting: "starting"; downloading: "downloading"; installing: "installing"; complete: "complete"; }>; }, z.core.$strip>; }, z.core.$strip>; export declare const HubExecutionAgentCreateResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.create.response">; payload: z.ZodObject<{ requestId: z.ZodString; executionId: z.ZodString; agentId: z.ZodNullable; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; success: z.ZodBoolean; toolPolicyApplied: z.ZodOptional>; error: z.ZodNullable; provider: z.ZodString; issues: z.ZodArray>; message: z.ZodString; }, z.core.$strip>>; message: z.ZodString; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"tool_policy_unsupported">; provider: z.ZodString; message: z.ZodString; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"create_failed">; message: z.ZodString; }, z.core.$strip>], "code">>; }, z.core.$strip>; }, z.core.$strip>; export declare const HubExecutionAgentValidationIssueSchema: z.ZodObject<{ path: z.ZodArray>; message: z.ZodString; }, z.core.$strip>; export type HubExecutionAgentValidationIssue = z.infer; export declare const HubExecutionAgentValidateResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.validate.response">; payload: z.ZodObject<{ requestId: z.ZodString; valid: z.ZodBoolean; issues: z.ZodArray>; message: z.ZodString; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const HubExecutionControlResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"hub.execution.control.response">; payload: z.ZodObject<{ requestId: z.ZodString; executionId: z.ZodString; action: z.ZodEnum<{ archive: "archive"; interrupt: "interrupt"; }>; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; export declare const HubExecutionAgentUpdateSchema: z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.update">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; executionId: z.ZodString; agentId: z.ZodString; agent: z.ZodObject<{ id: z.ZodString; provider: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; export declare const HubExecutionAgentStreamSchema: z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.stream">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; executionId: z.ZodString; agentId: z.ZodString; event: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"thread_started">; sessionId: z.ZodString; provider: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_started">; provider: z.ZodString; turnId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_completed">; provider: z.ZodString; turnId: z.ZodOptional; usage: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_failed">; provider: z.ZodString; turnId: z.ZodOptional; error: z.ZodString; code: z.ZodOptional; diagnostic: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_canceled">; provider: z.ZodString; turnId: z.ZodOptional; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"timeline">; provider: z.ZodString; item: z.ZodType>; turnId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"permission_requested">; provider: z.ZodString; request: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"permission_resolved">; provider: z.ZodString; requestId: z.ZodString; resolution: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"attention_required">; provider: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; timestamp: z.ZodString; shouldNotify: z.ZodBoolean; notification: z.ZodOptional; agentId: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>], "type">; }, z.core.$strip>; }, z.core.$strip>; export type HubExecutionAgentCreateResponse = z.infer; export type HubExecutionAgentValidateResponse = z.infer; export type HubExecutionControlResponse = z.infer; export type HubExecutionAgentUpdate = z.infer; export type HubExecutionAgentStream = z.infer; export declare const HubExecutionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.create.response">; payload: z.ZodObject<{ requestId: z.ZodString; executionId: z.ZodString; agentId: z.ZodNullable; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; success: z.ZodBoolean; toolPolicyApplied: z.ZodOptional>; error: z.ZodNullable; provider: z.ZodString; issues: z.ZodArray>; message: z.ZodString; }, z.core.$strip>>; message: z.ZodString; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"tool_policy_unsupported">; provider: z.ZodString; message: z.ZodString; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"create_failed">; message: z.ZodString; }, z.core.$strip>], "code">>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.validate.response">; payload: z.ZodObject<{ requestId: z.ZodString; valid: z.ZodBoolean; issues: z.ZodArray>; message: z.ZodString; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.control.response">; payload: z.ZodObject<{ requestId: z.ZodString; executionId: z.ZodString; action: z.ZodEnum<{ archive: "archive"; interrupt: "interrupt"; }>; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.update">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; executionId: z.ZodString; agentId: z.ZodString; agent: z.ZodObject<{ id: z.ZodString; provider: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.stream">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; executionId: z.ZodString; agentId: z.ZodString; event: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"thread_started">; sessionId: z.ZodString; provider: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_started">; provider: z.ZodString; turnId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_completed">; provider: z.ZodString; turnId: z.ZodOptional; usage: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_failed">; provider: z.ZodString; turnId: z.ZodOptional; error: z.ZodString; code: z.ZodOptional; diagnostic: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_canceled">; provider: z.ZodString; turnId: z.ZodOptional; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"timeline">; provider: z.ZodString; item: z.ZodType>; turnId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"permission_requested">; provider: z.ZodString; request: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"permission_resolved">; provider: z.ZodString; requestId: z.ZodString; resolution: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"attention_required">; provider: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; timestamp: z.ZodString; shouldNotify: z.ZodBoolean; notification: z.ZodOptional; agentId: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>], "type">; }, z.core.$strip>; }, z.core.$strip>], "type">; export type HubExecutionOutboundMessage = z.infer; export declare class HubMessageCorrelationError extends Error { constructor(messageType: HubExecutionOutboundMessage["type"]); } export declare function parseHubExecutionOutboundMessage(value: unknown): HubExecutionOutboundMessage; export type DaemonUpdateProgressMessage = z.infer; export declare const PluginCatalogGetResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.catalog.get.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export declare const PluginStatusSchema: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; export type PluginStatus = z.infer; export declare const PluginNpmInstallationSchema: z.ZodObject<{ packageName: z.ZodString; requestedSpec: z.ZodString; version: z.ZodString; integrity: z.ZodString; }, z.core.$strip>; export declare const PluginListItemSchema: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; export type PluginListItem = z.infer; export declare const PluginLogEntrySchema: z.ZodObject<{ sequence: z.ZodNumber; timestamp: z.ZodString; stream: z.ZodEnum<{ stdout: "stdout"; stderr: "stderr"; }>; message: z.ZodString; }, z.core.$strip>; export type PluginLogEntry = z.infer; export declare const PluginListResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export declare const PluginLogsGetResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.logs.get.response">; payload: z.ZodObject<{ requestId: z.ZodString; pluginId: z.ZodString; entries: z.ZodArray; message: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export declare const PluginDirectoryInstallResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.directory.install.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugin: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; export declare const PluginDirectoryInspectResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.directory.inspect.response">; payload: z.ZodObject<{ requestId: z.ZodString; id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const PluginSourceInstallResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.source.install.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugin: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; export declare const PluginSourceStatusItemSchema: z.ZodObject<{ id: z.ZodString; source: z.ZodEnum<{ directory: "directory"; git: "git"; }>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; path: z.ZodString; remote: z.ZodOptional; ref: z.ZodOptional; currentCommit: z.ZodOptional; latestCommit: z.ZodOptional; commitsBehind: z.ZodOptional; updateAvailable: z.ZodOptional; }, z.core.$strip>; export type PluginSourceStatusItem = z.infer; export declare const PluginSourceStatusResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.source.status.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; path: z.ZodString; remote: z.ZodOptional; ref: z.ZodOptional; currentCommit: z.ZodOptional; latestCommit: z.ZodOptional; commitsBehind: z.ZodOptional; updateAvailable: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export declare const PluginSourceUpdateItemSchema: z.ZodObject<{ id: z.ZodString; previousCommit: z.ZodString; currentCommit: z.ZodString; commits: z.ZodNumber; updated: z.ZodBoolean; }, z.core.$strip>; export type PluginSourceUpdateItem = z.infer; export declare const PluginSourceUpdateResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray>; }, z.core.$strip>; }, z.core.$strip>; export declare const PluginUpdatePreviewSchema: z.ZodObject<{ id: z.ZodString; outcome: z.ZodEnum<{ error: "error"; local: "local"; update: "update"; current: "current"; "installed-newer": "installed-newer"; }>; current: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; target: z.ZodOptional; commit: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; resolved: z.ZodString; integrity: z.ZodString; }, z.core.$strip>], "kind">>; links: z.ZodArray; proposal: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; installationRoot: z.ZodString; revision: z.ZodString; }, z.core.$strip>; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"git">; commit: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; resolved: z.ZodString; integrity: z.ZodString; }, z.core.$strip>], "kind">; }, z.core.$strip>>; error: z.ZodOptional; }, z.core.$strip>; export type PluginUpdatePreview = z.infer; export declare const PluginUpdateResultSchema: z.ZodObject<{ id: z.ZodString; outcome: z.ZodEnum<{ error: "error"; updated: "updated"; }>; plugin: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>>; error: z.ZodOptional; warning: z.ZodOptional; }, z.core.$strip>; export type PluginUpdateResult = z.infer; export declare const PluginUpdatePreviewResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.preview.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray; current: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; target: z.ZodOptional; commit: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; resolved: z.ZodString; integrity: z.ZodString; }, z.core.$strip>], "kind">>; links: z.ZodArray; proposal: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; installationRoot: z.ZodString; revision: z.ZodString; }, z.core.$strip>; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"git">; commit: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; resolved: z.ZodString; integrity: z.ZodString; }, z.core.$strip>], "kind">; }, z.core.$strip>>; error: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export declare const PluginUpdateApplyResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.apply.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray; plugin: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>>; error: z.ZodOptional; warning: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export declare const PluginReloadResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.reload.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugin: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; export declare const PluginEnableResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.enable.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugin: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; export declare const PluginDisableResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.disable.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugin: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; export declare const PluginRemoveResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.remove.response">; payload: z.ZodObject<{ requestId: z.ZodString; }, z.core.$strict>; }, z.core.$strip>; export declare const PluginRpcInvokeResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"plugin.rpc.invoke.response">; payload: z.ZodObject<{ requestId: z.ZodString; output: z.ZodUnknown; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentTimelineAppendResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.append.response">; payload: z.ZodObject<{ requestId: z.ZodString; seq: z.ZodNumber; epoch: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentSkillsGetStatusResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.skills.get_status.response">; payload: z.ZodObject<{ state: z.ZodEnum<{ "not-installed": "not-installed"; "up-to-date": "up-to-date"; drift: "drift"; }>; ops: z.ZodArray; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"update">; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"delete">; name: z.ZodString; }, z.core.$strict>], "kind">>; available: z.ZodArray; installed: z.ZodArray; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentSkillsReconcileResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.skills.reconcile.response">; payload: z.ZodObject<{ state: z.ZodEnum<{ "not-installed": "not-installed"; "up-to-date": "up-to-date"; drift: "drift"; }>; ops: z.ZodArray; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"update">; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"delete">; name: z.ZodString; }, z.core.$strict>], "kind">>; available: z.ZodArray; installed: z.ZodArray; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentSkillsUninstallResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.skills.uninstall.response">; payload: z.ZodObject<{ state: z.ZodEnum<{ "not-installed": "not-installed"; "up-to-date": "up-to-date"; drift: "drift"; }>; ops: z.ZodArray; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"update">; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"delete">; name: z.ZodString; }, z.core.$strict>], "kind">>; available: z.ZodArray; installed: z.ZodArray; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentSkillsSaveSelectionResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.skills.save_selection.response">; payload: z.ZodObject<{ state: z.ZodEnum<{ "not-installed": "not-installed"; "up-to-date": "up-to-date"; drift: "drift"; }>; ops: z.ZodArray; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"update">; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"delete">; name: z.ZodString; }, z.core.$strict>], "kind">>; available: z.ZodArray; installed: z.ZodArray; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; confirmationRequired: z.ZodNullable; }, z.core.$strict>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export declare const AgentSkillsImportLegacySelectionResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.skills.import_legacy_selection.response">; payload: z.ZodObject<{ requestId: z.ZodString; imported: z.ZodBoolean; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; }, z.core.$strip>; }, z.core.$strip>; export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"browser.host.register.response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscription.release.response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"session.events.set_subscription.response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.create.response">; payload: z.ZodObject<{ requestId: z.ZodString; executionId: z.ZodString; agentId: z.ZodNullable; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; success: z.ZodBoolean; toolPolicyApplied: z.ZodOptional>; error: z.ZodNullable; provider: z.ZodString; issues: z.ZodArray>; message: z.ZodString; }, z.core.$strip>>; message: z.ZodString; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"tool_policy_unsupported">; provider: z.ZodString; message: z.ZodString; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"create_failed">; message: z.ZodString; }, z.core.$strip>], "code">>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.validate.response">; payload: z.ZodObject<{ requestId: z.ZodString; valid: z.ZodBoolean; issues: z.ZodArray>; message: z.ZodString; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.control.response">; payload: z.ZodObject<{ requestId: z.ZodString; executionId: z.ZodString; action: z.ZodEnum<{ archive: "archive"; interrupt: "interrupt"; }>; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.update">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; executionId: z.ZodString; agentId: z.ZodString; agent: z.ZodObject<{ id: z.ZodString; provider: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.stream">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; executionId: z.ZodString; agentId: z.ZodString; event: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"thread_started">; sessionId: z.ZodString; provider: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_started">; provider: z.ZodString; turnId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_completed">; provider: z.ZodString; turnId: z.ZodOptional; usage: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_failed">; provider: z.ZodString; turnId: z.ZodOptional; error: z.ZodString; code: z.ZodOptional; diagnostic: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_canceled">; provider: z.ZodString; turnId: z.ZodOptional; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"timeline">; provider: z.ZodString; item: z.ZodType>; turnId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"permission_requested">; provider: z.ZodString; request: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"permission_resolved">; provider: z.ZodString; requestId: z.ZodString; resolution: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"attention_required">; provider: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; timestamp: z.ZodString; shouldNotify: z.ZodBoolean; notification: z.ZodOptional; agentId: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>], "type">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"browser.automation.execute.request">; subscriptionId: z.ZodOptional; requestId: z.ZodString; agentId: z.ZodOptional; cwd: z.ZodOptional; workspaceId: z.ZodOptional; command: z.ZodDiscriminatedUnion<[z.ZodObject<{ command: z.ZodLiteral<"list_tabs">; args: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"new_tab">; args: z.ZodDefault; }, z.core.$strict>>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"snapshot">; args: z.ZodObject<{ browserId: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"click">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodString; button: z.ZodDefault>; doubleClick: z.ZodDefault; modifiers: z.ZodDefault>>; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"fill">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodString; value: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"wait">; args: z.ZodObject<{ browserId: z.ZodString; text: z.ZodOptional; url: z.ZodOptional; timeoutMs: z.ZodOptional; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"type">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodOptional; text: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"keypress">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodOptional; key: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"navigate">; args: z.ZodObject<{ browserId: z.ZodString; url: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"back">; args: z.ZodObject<{ browserId: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"forward">; args: z.ZodObject<{ browserId: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"reload">; args: z.ZodObject<{ browserId: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"screenshot">; args: z.ZodObject<{ browserId: z.ZodString; fullPage: z.ZodDefault; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"upload">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodString; filePaths: z.ZodArray; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"select">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodString; value: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"hover">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"drag">; args: z.ZodObject<{ browserId: z.ZodString; sourceRef: z.ZodString; targetRef: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"logs">; args: z.ZodObject<{ browserId: z.ZodString; maxEntries: z.ZodDefault; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"evaluate">; args: z.ZodObject<{ browserId: z.ZodString; function: z.ZodString; ref: z.ZodOptional; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"scroll">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodOptional; deltaX: z.ZodNumber; deltaY: z.ZodNumber; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"resize">; args: z.ZodObject<{ browserId: z.ZodString; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"close_tab">; args: z.ZodObject<{ browserId: z.ZodString; }, z.core.$strict>; }, z.core.$strip>], "command">; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"plugin.catalog.get.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.logs.get.response">; payload: z.ZodObject<{ requestId: z.ZodString; pluginId: z.ZodString; entries: z.ZodArray; message: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.directory.install.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugin: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.directory.inspect.response">; payload: z.ZodObject<{ requestId: z.ZodString; id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.install.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugin: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.status.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; path: z.ZodString; remote: z.ZodOptional; ref: z.ZodOptional; currentCommit: z.ZodOptional; latestCommit: z.ZodOptional; commitsBehind: z.ZodOptional; updateAvailable: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.preview.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray; current: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; target: z.ZodOptional; commit: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; resolved: z.ZodString; integrity: z.ZodString; }, z.core.$strip>], "kind">>; links: z.ZodArray; proposal: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; installationRoot: z.ZodString; revision: z.ZodString; }, z.core.$strip>; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"git">; commit: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; resolved: z.ZodString; integrity: z.ZodString; }, z.core.$strip>], "kind">; }, z.core.$strip>>; error: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.apply.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray; plugin: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>>; error: z.ZodOptional; warning: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.reload.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugin: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.enable.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugin: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.disable.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugin: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.remove.response">; payload: z.ZodObject<{ requestId: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.rpc.invoke.response">; payload: z.ZodObject<{ requestId: z.ZodString; output: z.ZodUnknown; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.append.response">; payload: z.ZodObject<{ requestId: z.ZodString; seq: z.ZodNumber; epoch: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.get_status.response">; payload: z.ZodObject<{ state: z.ZodEnum<{ "not-installed": "not-installed"; "up-to-date": "up-to-date"; drift: "drift"; }>; ops: z.ZodArray; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"update">; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"delete">; name: z.ZodString; }, z.core.$strict>], "kind">>; available: z.ZodArray; installed: z.ZodArray; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.reconcile.response">; payload: z.ZodObject<{ state: z.ZodEnum<{ "not-installed": "not-installed"; "up-to-date": "up-to-date"; drift: "drift"; }>; ops: z.ZodArray; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"update">; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"delete">; name: z.ZodString; }, z.core.$strict>], "kind">>; available: z.ZodArray; installed: z.ZodArray; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.uninstall.response">; payload: z.ZodObject<{ state: z.ZodEnum<{ "not-installed": "not-installed"; "up-to-date": "up-to-date"; drift: "drift"; }>; ops: z.ZodArray; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"update">; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"delete">; name: z.ZodString; }, z.core.$strict>], "kind">>; available: z.ZodArray; installed: z.ZodArray; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.save_selection.response">; payload: z.ZodObject<{ state: z.ZodEnum<{ "not-installed": "not-installed"; "up-to-date": "up-to-date"; drift: "drift"; }>; ops: z.ZodArray; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"update">; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"delete">; name: z.ZodString; }, z.core.$strict>], "kind">>; available: z.ZodArray; installed: z.ZodArray; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; confirmationRequired: z.ZodNullable; }, z.core.$strict>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.import_legacy_selection.response">; payload: z.ZodObject<{ requestId: z.ZodString; imported: z.ZodBoolean; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"activity_log">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; id: z.ZodString; timestamp: z.ZodCoercedDate; type: z.ZodEnum<{ error: "error"; tool_call: "tool_call"; transcript: "transcript"; assistant: "assistant"; tool_result: "tool_result"; system: "system"; }>; content: z.ZodString; metadata: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"assistant_chunk">; payload: z.ZodObject<{ chunk: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio_output">; payload: z.ZodObject<{ audio: z.ZodString; format: z.ZodString; id: z.ZodString; isVoiceMode: z.ZodBoolean; groupId: z.ZodOptional; chunkIndex: z.ZodOptional; isLastChunk: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"transcription_result">; payload: z.ZodObject<{ text: z.ZodString; language: z.ZodOptional; duration: z.ZodOptional; requestId: z.ZodString; avgLogprob: z.ZodOptional; isLowConfidence: z.ZodOptional; byteLength: z.ZodOptional; format: z.ZodOptional; debugRecordingPath: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"voice_input_state">; payload: z.ZodObject<{ isSpeaking: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_ack">; payload: z.ZodObject<{ dictationId: z.ZodString; ackSeq: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_finish_accepted">; payload: z.ZodObject<{ dictationId: z.ZodString; timeoutMs: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_partial">; payload: z.ZodObject<{ dictationId: z.ZodString; text: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_final">; payload: z.ZodObject<{ dictationId: z.ZodString; text: z.ZodString; debugRecordingPath: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_error">; payload: z.ZodObject<{ dictationId: z.ZodString; error: z.ZodString; retryable: z.ZodBoolean; reasonCode: z.ZodOptional; missingModelIds: z.ZodOptional>; debugRecordingPath: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"status">; payload: z.ZodObject<{ status: z.ZodString; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"pong">; payload: z.ZodObject<{ requestId: z.ZodString; clientSentAt: z.ZodOptional; serverReceivedAt: z.ZodNumber; serverSentAt: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"push.unregister.response">; payload: z.ZodObject<{ requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"rpc_error">; payload: z.ZodObject<{ requestId: z.ZodString; requestType: z.ZodOptional; error: z.ZodString; code: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"artifact">; payload: z.ZodObject<{ type: z.ZodEnum<{ image: "image"; code: "code"; markdown: "markdown"; diff: "diff"; }>; id: z.ZodString; title: z.ZodString; content: z.ZodString; isBase64: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"upsert">; agent: z.ZodObject<{ id: z.ZodString; provider: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>>; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"remove">; agentId: z.ZodString; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>], "kind">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace_update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"upsert">; workspace: z.ZodPipe>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"remove">; id: z.ZodString; emptyProject: z.ZodOptional; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>; removedProjectId: z.ZodOptional; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>], "kind">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodOptional; labels: z.ZodArray; }, z.core.$strip>>; sync: z.ZodObject<{ mode: z.ZodEnum<{ snapshot: "snapshot"; changes: "changes"; }>; generation: z.ZodString; headSeq: z.ZodNumber; removals: z.ZodArray>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"upsert">; label: z.ZodObject<{ name: z.ZodString; color: z.ZodEnum<{ violet: "violet"; sky: "sky"; emerald: "emerald"; orange: "orange"; pink: "pink"; indigo: "indigo"; teal: "teal"; red: "red"; amber: "amber"; blue: "blue"; }>; }, z.core.$strip>; previousName: z.ZodOptional; generation: z.ZodString; seq: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"remove">; name: z.ZodString; generation: z.ZodString; seq: z.ZodNumber; }, z.core.$strip>], "kind">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.assignment.set.response">; payload: z.ZodObject<{ requestId: z.ZodString; label: z.ZodObject<{ name: z.ZodString; color: z.ZodEnum<{ violet: "violet"; sky: "sky"; emerald: "emerald"; orange: "orange"; pink: "pink"; indigo: "indigo"; teal: "teal"; red: "red"; amber: "amber"; blue: "blue"; }>; }, z.core.$strip>; workspaceLabels: z.ZodArray; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.update.response">; payload: z.ZodObject<{ requestId: z.ZodString; label: z.ZodObject<{ name: z.ZodString; color: z.ZodEnum<{ violet: "violet"; sky: "sky"; emerald: "emerald"; orange: "orange"; pink: "pink"; indigo: "indigo"; teal: "teal"; red: "red"; amber: "amber"; blue: "blue"; }>; }, z.core.$strip>; affectedWorkspaceCount: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.delete.response">; payload: z.ZodObject<{ requestId: z.ZodString; affectedWorkspaceCount: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.delete.inspect.response">; payload: z.ZodObject<{ requestId: z.ZodString; affectedWorkspaceCount: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"upsert">; project: z.ZodObject<{ projectId: z.ZodString; projectKey: z.ZodOptional; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"remove">; projectId: z.ZodString; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>], "kind">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; projects: z.ZodArray; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>; sync: z.ZodOptional; reason: z.ZodOptional>; removals: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"script_status_update">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; workspaceId: z.ZodString; scripts: z.ZodArray>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace_setup_progress">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; workspaceId: z.ZodString; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; blocked: "blocked"; }>; detail: z.ZodObject<{ type: z.ZodLiteral<"worktree_setup">; worktreePath: z.ZodString; branchName: z.ZodString; log: z.ZodString; commands: z.ZodArray>; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; }>; exitCode: z.ZodNullable; durationMs: z.ZodOptional; }, z.core.$strip>>; truncated: z.ZodOptional; }, z.core.$strip>; error: z.ZodNullable; blockedSource: z.ZodOptional; forge: z.ZodString; number: z.ZodNumber; headRepository: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace_setup_status_response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; snapshot: z.ZodNullable; detail: z.ZodObject<{ type: z.ZodLiteral<"worktree_setup">; worktreePath: z.ZodString; branchName: z.ZodString; log: z.ZodString; commands: z.ZodArray>; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; }>; exitCode: z.ZodNullable; durationMs: z.ZodOptional; }, z.core.$strip>>; truncated: z.ZodOptional; }, z.core.$strip>; error: z.ZodNullable; blockedSource: z.ZodOptional; forge: z.ZodString; number: z.ZodNumber; headRepository: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.setup.run.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; started: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_stream">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentId: z.ZodString; event: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"thread_started">; sessionId: z.ZodString; provider: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_started">; provider: z.ZodString; turnId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_completed">; provider: z.ZodString; turnId: z.ZodOptional; usage: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_failed">; provider: z.ZodString; turnId: z.ZodOptional; error: z.ZodString; code: z.ZodOptional; diagnostic: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_canceled">; provider: z.ZodString; turnId: z.ZodOptional; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"timeline">; provider: z.ZodString; item: z.ZodType>; turnId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"permission_requested">; provider: z.ZodString; request: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"permission_resolved">; provider: z.ZodString; requestId: z.ZodString; resolution: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"attention_required">; provider: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; timestamp: z.ZodString; shouldNotify: z.ZodBoolean; notification: z.ZodOptional; agentId: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>], "type">; timestamp: z.ZodString; seq: z.ZodOptional; epoch: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_status">; payload: z.ZodObject<{ agentId: z.ZodString; status: z.ZodString; info: z.ZodObject<{ id: z.ZodString; provider: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agents_response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodOptional>; entries: z.ZodArray; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; project: z.ZodObject<{ projectKey: z.ZodString; projectName: z.ZodString; workspaceName: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>; searchScore: z.ZodOptional; searchMatches: z.ZodOptional; ranges: z.ZodArray>; }, z.core.$strip>>>; syncSeq: z.ZodOptional; }, z.core.$strip>>; pageInfo: z.ZodObject<{ nextCursor: z.ZodNullable; prevCursor: z.ZodNullable; hasMore: z.ZodBoolean; }, z.core.$strip>; sync: z.ZodOptional; reason: z.ZodOptional>; removals: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_history_response">; payload: z.ZodObject<{ requestId: z.ZodString; entries: z.ZodArray; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; project: z.ZodObject<{ projectKey: z.ZodString; projectName: z.ZodString; workspaceName: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>; searchScore: z.ZodOptional; searchMatches: z.ZodOptional; ranges: z.ZodArray>; }, z.core.$strip>>>; syncSeq: z.ZodOptional; }, z.core.$strip>>; pageInfo: z.ZodObject<{ nextCursor: z.ZodNullable; prevCursor: z.ZodNullable; hasMore: z.ZodBoolean; }, z.core.$strip>; searchTruncated: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_recent_provider_sessions_response">; payload: z.ZodObject<{ requestId: z.ZodString; entries: z.ZodArray; firstPromptPreview: z.ZodNullable; lastPromptPreview: z.ZodNullable; lastActivityAt: z.ZodString; }, z.core.$strip>>; filteredAlreadyImportedCount: z.ZodOptional; providerErrors: z.ZodOptional>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_workspaces_response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodOptional>; entries: z.ZodArray>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; emptyProjects: z.ZodDefault; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>>>; pageInfo: z.ZodObject<{ nextCursor: z.ZodNullable; prevCursor: z.ZodNullable; hasMore: z.ZodBoolean; }, z.core.$strip>; sync: z.ZodOptional; reason: z.ZodOptional>; removals: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.add.response">; payload: z.ZodObject<{ requestId: z.ZodString; project: z.ZodNullable; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; errorCode: z.ZodCatch>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.create_directory.response">; payload: z.ZodObject<{ requestId: z.ZodString; directoryPath: z.ZodNullable; project: z.ZodNullable; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; errorCode: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"open_project_response">; payload: z.ZodObject<{ requestId: z.ZodString; workspace: z.ZodNullable>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; error: z.ZodNullable; errorCode: z.ZodCatch>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.github.search_repositories.response">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"success">; requestId: z.ZodString; repositories: z.ZodArray; visibility: z.ZodEnum<{ public: "public"; private: "private"; internal: "internal"; }>; updatedAt: z.ZodString; cloneUrl: z.ZodString; }, z.core.$strip>>; available: z.ZodLiteral; error: z.ZodNull; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"unavailable">; requestId: z.ZodString; repositories: z.ZodArray; visibility: z.ZodEnum<{ public: "public"; private: "private"; internal: "internal"; }>; updatedAt: z.ZodString; cloneUrl: z.ZodString; }, z.core.$strip>>; reason: z.ZodLiteral<"gh_missing">; available: z.ZodLiteral; error: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"unauthenticated">; requestId: z.ZodString; repositories: z.ZodArray; visibility: z.ZodEnum<{ public: "public"; private: "private"; internal: "internal"; }>; updatedAt: z.ZodString; cloneUrl: z.ZodString; }, z.core.$strip>>; available: z.ZodLiteral; error: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; requestId: z.ZodString; repositories: z.ZodArray; visibility: z.ZodEnum<{ public: "public"; private: "private"; internal: "internal"; }>; updatedAt: z.ZodString; cloneUrl: z.ZodString; }, z.core.$strip>>; available: z.ZodLiteral; error: z.ZodString; }, z.core.$strip>], "status">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.github.clone.response">; payload: z.ZodObject<{ requestId: z.ZodString; repo: z.ZodString; checkoutPath: z.ZodNullable; project: z.ZodNullable; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"start_workspace_script_response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; scriptName: z.ZodString; terminalId: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.script.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; scriptName: z.ZodOptional; script: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; scripts: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.script.start.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; scriptName: z.ZodOptional; script: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; scripts: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.script.stop.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; scriptName: z.ZodOptional; script: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; scripts: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_available_editors_response">; payload: z.ZodObject<{ requestId: z.ZodString; editors: z.ZodArray>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"open_in_editor_response">; payload: z.ZodObject<{ requestId: z.ZodString; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"archive_workspace_response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; archivedAt: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_response">; payload: z.ZodObject<{ requestId: z.ZodString; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_timeline_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; direction: z.ZodEnum<{ tail: "tail"; before: "before"; after: "after"; }>; projection: z.ZodEnum<{ projected: "projected"; canonical: "canonical"; }>; epoch: z.ZodString; reset: z.ZodBoolean; staleCursor: z.ZodBoolean; gap: z.ZodBoolean; window: z.ZodObject<{ minSeq: z.ZodNumber; maxSeq: z.ZodNumber; nextSeq: z.ZodNumber; }, z.core.$strip>; startCursor: z.ZodNullable>; endCursor: z.ZodNullable>; hasOlder: z.ZodBoolean; hasNewer: z.ZodBoolean; mergeWindow: z.ZodOptional; entries: z.ZodArray>; turnId: z.ZodOptional; timestamp: z.ZodString; seqStart: z.ZodNumber; seqEnd: z.ZodNumber; sourceSeqRanges: z.ZodArray>; collapsed: z.ZodArray>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.replacement">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentId: z.ZodString; epoch: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.search.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; epoch: z.ZodString; locations: z.ZodArray; count: z.ZodOptional; }, z.core.$strip>>; nextCursor: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.list_prompts.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; epoch: z.ZodString; prompts: z.ZodArray>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.provider_subagents.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; parentAgentId: z.ZodString; subagents: z.ZodArray>; provider: z.ZodString; title: z.ZodNullable; description: z.ZodNullable; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; canceled: "canceled"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; toolCallId: z.ZodNullable; cwd: z.ZodOptional>; subtitle: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.provider_subagents.timeline.get.response">; payload: z.ZodObject<{ requestId: z.ZodString; parentAgentId: z.ZodString; subagentId: z.ZodString; provider: z.ZodNullable; direction: z.ZodEnum<{ tail: "tail"; before: "before"; after: "after"; }>; epoch: z.ZodString; projection: z.ZodOptional>; startCursor: z.ZodOptional>>; endCursor: z.ZodOptional>>; reset: z.ZodBoolean; staleCursor: z.ZodBoolean; gap: z.ZodBoolean; window: z.ZodObject<{ minSeq: z.ZodNumber; maxSeq: z.ZodNumber; nextSeq: z.ZodNumber; }, z.core.$strip>; hasOlder: z.ZodBoolean; hasNewer: z.ZodBoolean; rows: z.ZodArray>; timestamp: z.ZodString; seq: z.ZodNumber; seqStart: z.ZodOptional; seqEnd: z.ZodOptional; sourceSeqRanges: z.ZodOptional>>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.provider_subagents.update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"upsert">; subagent: z.ZodObject<{ id: z.ZodString; parentAgentId: z.ZodString; parentSubagentId: z.ZodOptional>; provider: z.ZodString; title: z.ZodNullable; description: z.ZodNullable; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; canceled: "canceled"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; toolCallId: z.ZodNullable; cwd: z.ZodOptional>; subtitle: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"timeline">; parentAgentId: z.ZodString; subagentId: z.ZodString; provider: z.ZodString; item: z.ZodType>; timestamp: z.ZodString; seq: z.ZodNumber; epoch: z.ZodString; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"remove">; parentAgentId: z.ZodString; subagentId: z.ZodString; }, z.core.$strip>], "kind">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.set_subscription.response">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentIds: z.ZodArray; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_attention_required">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentId: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; timestamp: z.ZodString; shouldNotify: z.ZodBoolean; notification: z.ZodOptional; agentId: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.fork_context.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; attachment: z.ZodNullable; mimeType: z.ZodLiteral<"text/plain">; contextKind: z.ZodOptional; title: z.ZodOptional>; text: z.ZodString; externalResource: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ contextKind?: string | undefined; type: "text"; mimeType: "text/plain"; text: string; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }, { type: "text"; mimeType: "text/plain"; text: string; contextKind?: string | undefined; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }>>>; itemCount: z.ZodNumber; boundaryMessageId: z.ZodNullable; boundaryCursor: z.ZodOptional>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cancel_agent_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"clear_agent_attention_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodUnion<[z.ZodString, z.ZodArray]>; agents: z.ZodArray; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.create.response">; payload: z.ZodObject<{ agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; creation: z.ZodOptional; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; }, z.core.$strip>>; workspace: z.ZodNullable>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; setupTerminalId: z.ZodNullable; setupSkippedReason: z.ZodOptional; error: z.ZodNullable; errorCode: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.create.response">; payload: z.ZodObject<{ requestId: z.ZodString; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; creation: z.ZodOptional; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.create.update">; payload: z.ZodObject<{ kind: z.ZodEnum<{ agent: "agent"; workspace: "workspace"; }>; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; subscriptionId: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ payload: z.ZodObject<{ kind: z.ZodEnum<{ agent: "agent"; workspace: "workspace"; }>; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; subscriptionId: z.ZodOptional; }, z.core.$strip>; type: z.ZodLiteral<"agent.create.update">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"creation.subscribe.response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodOptional; snapshot: z.ZodNullable; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.clear_attention.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodUnion]>; clearedAgentIds: z.ZodArray; results: z.ZodArray; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>>; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.mark_unread.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; markedAgentId: z.ZodNullable; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"send_agent_message_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_voice_mode_response">; payload: z.ZodObject<{ requestId: z.ZodString; enabled: z.ZodBoolean; agentId: z.ZodNullable; accepted: z.ZodBoolean; error: z.ZodNullable; reasonCode: z.ZodOptional; retryable: z.ZodOptional; missingModelIds: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.get_status.response">; payload: z.ZodObject<{ requestId: z.ZodString; serverId: z.ZodString; version: z.ZodOptional>; pid: z.ZodNumber; nodePath: z.ZodString; startedAt: z.ZodOptional>; listen: z.ZodNullable; relay: z.ZodOptional>>; providers: z.ZodArray>; }, z.core.$strip>>; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.get_pairing_offer.response">; payload: z.ZodObject<{ requestId: z.ZodString; url: z.ZodString; qr: z.ZodOptional>; relayEnabled: z.ZodBoolean; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.config.reload.response">; payload: z.ZodObject<{ requestId: z.ZodString; appliedPaths: z.ZodArray; restartRequiredPaths: z.ZodArray; overrideControlledPaths: z.ZodArray; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.connect.response">; payload: z.ZodObject<{ requestId: z.ZodString; status: z.ZodObject<{ state: z.ZodEnum<{ not_connected: "not_connected"; connecting: "connecting"; connected: "connected"; reconnecting: "reconnecting"; disconnecting: "disconnecting"; revoked: "revoked"; }>; daemonId: z.ZodNullable; hubOrigin: z.ZodNullable; permissions: z.ZodArray>; connectedAt: z.ZodNullable; lastError: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.get_status.response">; payload: z.ZodObject<{ requestId: z.ZodString; status: z.ZodObject<{ state: z.ZodEnum<{ not_connected: "not_connected"; connecting: "connecting"; connected: "connected"; reconnecting: "reconnecting"; disconnecting: "disconnecting"; revoked: "revoked"; }>; daemonId: z.ZodNullable; hubOrigin: z.ZodNullable; permissions: z.ZodArray>; connectedAt: z.ZodNullable; lastError: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.disconnect.response">; payload: z.ZodObject<{ requestId: z.ZodString; status: z.ZodObject<{ state: z.ZodEnum<{ not_connected: "not_connected"; connecting: "connecting"; connected: "connected"; reconnecting: "reconnecting"; disconnecting: "disconnecting"; revoked: "revoked"; }>; daemonId: z.ZodNullable; hubOrigin: z.ZodNullable; permissions: z.ZodArray>; connectedAt: z.ZodNullable; lastError: z.ZodNullable; }, z.core.$strip>; warning: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.permissions.update.response">; payload: z.ZodObject<{ requestId: z.ZodString; status: z.ZodObject<{ state: z.ZodEnum<{ not_connected: "not_connected"; connecting: "connecting"; connected: "connected"; reconnecting: "reconnecting"; disconnecting: "disconnecting"; revoked: "revoked"; }>; daemonId: z.ZodNullable; hubOrigin: z.ZodNullable; permissions: z.ZodArray>; connectedAt: z.ZodNullable; lastError: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"diagnostics.response">; payload: z.ZodObject<{ requestId: z.ZodString; diagnostic: z.ZodString; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"get_daemon_config_response">; payload: z.ZodObject<{ requestId: z.ZodString; config: z.ZodObject<{ relay: z.ZodOptional>; mcp: z.ZodObject<{ enabled: z.ZodOptional; injectIntoAgents: z.ZodBoolean; }, z.core.$loose>; hostnames: z.ZodOptional, z.ZodArray]>>; cors: z.ZodOptional; }, z.core.$loose>>; trustedProxies: z.ZodOptional, z.ZodArray]>>; git: z.ZodOptional>; app: z.ZodOptional>; catalogRefreshTimeoutMs: z.ZodOptional; browserTools: z.ZodDefault; }, z.core.$loose>>; providers: z.ZodDefault; disabledTools: z.ZodOptional>; }, z.core.$strip>>; enabled: z.ZodOptional; additionalModels: z.ZodOptional; isDefault: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; metadataGeneration: z.ZodDefault; thinkingOptionId: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>; autoArchiveAfterMerge: z.ZodDefault; enableTerminalAgentHooks: z.ZodDefault; appendSystemPrompt: z.ZodDefault; terminalProfiles: z.ZodOptional>; icon: z.ZodOptional; }, z.core.$loose>>>; agentProfiles: z.ZodOptional; color: z.ZodOptional; provider: z.ZodString; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; notes: z.ZodOptional; }, z.core.$loose>>>; skills: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">>; }, z.core.$strict>>; pluginsEnabled: z.ZodOptional; plugins: z.ZodOptional; path: z.ZodString; enabled: z.ZodOptional; }, z.core.$strict>], "source">>>; }, z.core.$loose>; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_daemon_config_response">; payload: z.ZodObject<{ requestId: z.ZodString; config: z.ZodObject<{ relay: z.ZodOptional>; mcp: z.ZodObject<{ enabled: z.ZodOptional; injectIntoAgents: z.ZodBoolean; }, z.core.$loose>; hostnames: z.ZodOptional, z.ZodArray]>>; cors: z.ZodOptional; }, z.core.$loose>>; trustedProxies: z.ZodOptional, z.ZodArray]>>; git: z.ZodOptional>; app: z.ZodOptional>; catalogRefreshTimeoutMs: z.ZodOptional; browserTools: z.ZodDefault; }, z.core.$loose>>; providers: z.ZodDefault; disabledTools: z.ZodOptional>; }, z.core.$strip>>; enabled: z.ZodOptional; additionalModels: z.ZodOptional; isDefault: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; metadataGeneration: z.ZodDefault; thinkingOptionId: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>; autoArchiveAfterMerge: z.ZodDefault; enableTerminalAgentHooks: z.ZodDefault; appendSystemPrompt: z.ZodDefault; terminalProfiles: z.ZodOptional>; icon: z.ZodOptional; }, z.core.$loose>>>; agentProfiles: z.ZodOptional; color: z.ZodOptional; provider: z.ZodString; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; notes: z.ZodOptional; }, z.core.$loose>>>; skills: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">>; }, z.core.$strict>>; pluginsEnabled: z.ZodOptional; plugins: z.ZodOptional; path: z.ZodString; enabled: z.ZodOptional; }, z.core.$strict>], "source">>>; }, z.core.$loose>; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"read_project_config_response">; payload: z.ZodUnion; config: z.ZodNullable]>>; teardown: z.ZodOptional]>>; terminals: z.ZodOptional; servicePorts: z.ZodOptional; portScript: z.ZodOptional; }, z.core.$strict>>; }, z.core.$loose>>; scripts: z.ZodOptional; command: z.ZodOptional; port: z.ZodOptional; }, z.core.$loose>>>; metadataGeneration: z.ZodOptional; }, z.core.$loose>>>; branchName: z.ZodOptional; }, z.core.$loose>>>; commitMessage: z.ZodOptional; }, z.core.$loose>>>; pullRequest: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; }, z.core.$loose>>; revision: z.ZodNullable>; hasUncommittedWorktreeSetupChanges: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ requestId: z.ZodString; repoRoot: z.ZodString; ok: z.ZodLiteral; error: z.ZodDiscriminatedUnion<[z.ZodObject<{ code: z.ZodLiteral<"project_not_found">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"invalid_project_config">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"stale_project_config">; currentRevision: z.ZodNullable>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"write_failed">; }, z.core.$strip>], "code">; }, z.core.$strip>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"write_project_config_response">; payload: z.ZodUnion; config: z.ZodObject<{ worktree: z.ZodOptional]>>; teardown: z.ZodOptional]>>; terminals: z.ZodOptional; servicePorts: z.ZodOptional; portScript: z.ZodOptional; }, z.core.$strict>>; }, z.core.$loose>>; scripts: z.ZodOptional; command: z.ZodOptional; port: z.ZodOptional; }, z.core.$loose>>>; metadataGeneration: z.ZodOptional; }, z.core.$loose>>>; branchName: z.ZodOptional; }, z.core.$loose>>>; commitMessage: z.ZodOptional; }, z.core.$loose>>>; pullRequest: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; }, z.core.$loose>; revision: z.ZodObject<{ mtimeMs: z.ZodNumber; size: z.ZodNumber; }, z.core.$strip>; hasUncommittedWorktreeSetupChanges: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ requestId: z.ZodString; repoRoot: z.ZodString; ok: z.ZodLiteral; error: z.ZodDiscriminatedUnion<[z.ZodObject<{ code: z.ZodLiteral<"project_not_found">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"invalid_project_config">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"stale_project_config">; currentRevision: z.ZodNullable>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"write_failed">; }, z.core.$strip>], "code">; }, z.core.$strip>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_mode_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_model_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_thinking_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_feature_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.config.apply.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.detach.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.rewind.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"update_agent_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.rename.response">; payload: z.ZodObject<{ requestId: z.ZodString; projectId: z.ZodString; accepted: z.ZodBoolean; customName: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.icon.set.response">; payload: z.ZodObject<{ requestId: z.ZodString; projectId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.remove.response">; payload: z.ZodObject<{ requestId: z.ZodString; projectId: z.ZodString; accepted: z.ZodBoolean; removedWorkspaceIds: z.ZodDefault>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.title.set.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; accepted: z.ZodBoolean; title: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.pin.set.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; accepted: z.ZodBoolean; pinnedAt: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.recovery.inspect.response">; payload: z.ZodObject<{ requestId: z.ZodString; state: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"recoverable">; workspaceId: z.ZodString; workspaceName: z.ZodString; action: z.ZodString; branch: z.ZodNullable; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"unavailable">; workspaceId: z.ZodString; reason: z.ZodString; message: z.ZodString; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.recovery.restore.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"wait_for_finish_response">; payload: z.ZodObject<{ requestId: z.ZodString; status: z.ZodEnum<{ error: "error"; permission: "permission"; idle: "idle"; timeout: "timeout"; }>; final: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; lastMessage: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_permission_request">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentId: z.ZodString; request: z.ZodType>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_permission_resolved">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentId: z.ZodString; requestId: z.ZodString; resolution: z.ZodType>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_deleted">; payload: z.ZodObject<{ agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_archived">; payload: z.ZodObject<{ agentId: z.ZodString; archivedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"close_items_response">; payload: z.ZodObject<{ agents: z.ZodArray>; terminals: z.ZodArray>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_status_response">; payload: z.ZodUnion; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodNull; currentBranch: z.ZodNull; isDirty: z.ZodNull; baseRef: z.ZodNull; aheadBehind: z.ZodNull; aheadOfOrigin: z.ZodNull; behindOfOrigin: z.ZodNull; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNull; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodString; mainRepoRoot: z.ZodDefault>>; currentBranch: z.ZodNullable; isDirty: z.ZodBoolean; baseRef: z.ZodNullable; aheadBehind: z.ZodNullable>; aheadOfOrigin: z.ZodNullable; behindOfOrigin: z.ZodNullable; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNullable; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodString; mainRepoRoot: z.ZodString; currentBranch: z.ZodNullable; isDirty: z.ZodBoolean; baseRef: z.ZodString; aheadBehind: z.ZodNullable>; aheadOfOrigin: z.ZodNullable; behindOfOrigin: z.ZodNullable; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNullable; }, z.core.$strip>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_status_update">; payload: z.ZodIntersection; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodNull; currentBranch: z.ZodNull; isDirty: z.ZodNull; baseRef: z.ZodNull; aheadBehind: z.ZodNull; aheadOfOrigin: z.ZodNull; behindOfOrigin: z.ZodNull; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNull; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodString; mainRepoRoot: z.ZodDefault>>; currentBranch: z.ZodNullable; isDirty: z.ZodBoolean; baseRef: z.ZodNullable; aheadBehind: z.ZodNullable>; aheadOfOrigin: z.ZodNullable; behindOfOrigin: z.ZodNullable; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNullable; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodString; mainRepoRoot: z.ZodString; currentBranch: z.ZodNullable; isDirty: z.ZodBoolean; baseRef: z.ZodString; aheadBehind: z.ZodNullable>; aheadOfOrigin: z.ZodNullable; behindOfOrigin: z.ZodNullable; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNullable; }, z.core.$strip>]>, z.ZodObject<{ subscriptionId: z.ZodOptional; prStatus: z.ZodOptional>; projectPath: z.ZodOptional; number: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodDefault>; mergeable: z.ZodDefault>>>; checks: z.ZodDefault; workflow: z.ZodOptional; duration: z.ZodOptional; checkRunId: z.ZodOptional; workflowRunId: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>>; checksStatus: z.ZodOptional; reviewDecision: z.ZodOptional>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional>>; autoMergeRequest: z.ZodDefault>>; mergeMethod: z.ZodDefault>>; enabledBy: z.ZodDefault>>; }, z.core.$strip>>>>; viewerCanEnableAutoMerge: z.ZodDefault>; viewerCanDisableAutoMerge: z.ZodDefault>; viewerCanMergeAsAdmin: z.ZodDefault>; viewerCanUpdateBranch: z.ZodDefault>; repository: z.ZodDefault>; mergeCommitAllowed: z.ZodDefault>; squashMergeAllowed: z.ZodDefault>; rebaseMergeAllowed: z.ZodDefault>; viewerDefaultMergeMethod: z.ZodDefault>>; }, z.core.$strip>>>; isMergeQueueEnabled: z.ZodDefault>; isInMergeQueue: z.ZodDefault>; }, z.core.$strip>>; forgeSpecific: z.ZodOptional; }, z.core.$strip>>; githubFeaturesEnabled: z.ZodBoolean; authState: z.ZodOptional; forge: z.ZodDefault>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.diff.get.response">; payload: z.ZodObject<{ error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; cwd: z.ZodString; files: z.ZodArray; isNew: z.ZodBoolean; isDeleted: z.ZodBoolean; additions: z.ZodNumber; deletions: z.ZodNumber; hunks: z.ZodArray; content: z.ZodString; tokens: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>; status: z.ZodOptional>; }, z.core.$strip>>; diffTooLarge: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscribe_checkout_diff_response">; payload: z.ZodObject<{ subscriptionId: z.ZodString; cwd: z.ZodString; files: z.ZodArray; isNew: z.ZodBoolean; isDeleted: z.ZodBoolean; additions: z.ZodNumber; deletions: z.ZodNumber; hunks: z.ZodArray; content: z.ZodString; tokens: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>; status: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; diffTooLarge: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_diff_update">; payload: z.ZodObject<{ subscriptionId: z.ZodString; cwd: z.ZodString; files: z.ZodArray; isNew: z.ZodBoolean; isDeleted: z.ZodBoolean; additions: z.ZodNumber; deletions: z.ZodNumber; hunks: z.ZodArray; content: z.ZodString; tokens: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>; status: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; diffTooLarge: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_commit_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_merge_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_merge_from_base_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pull_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_push_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.refresh.response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.discard_changes.response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_create_response">; payload: z.ZodObject<{ cwd: z.ZodString; url: z.ZodNullable; number: z.ZodNullable; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_merge_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.forge.set_auto_merge.response">; payload: z.ZodObject<{ cwd: z.ZodString; enabled: z.ZodBoolean; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.github.set_auto_merge.response">; payload: z.ZodObject<{ cwd: z.ZodString; enabled: z.ZodBoolean; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.commits.list.response">; payload: z.ZodObject<{ cwd: z.ZodString; baseRef: z.ZodNullable; commits: z.ZodArray; files: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.commits.file_diff.response">; payload: z.ZodObject<{ cwd: z.ZodString; sha: z.ZodString; path: z.ZodString; file: z.ZodNullable; isNew: z.ZodBoolean; isDeleted: z.ZodBoolean; additions: z.ZodNumber; deletions: z.ZodNumber; hunks: z.ZodArray; content: z.ZodString; tokens: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>; status: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.forge.get_check_details.response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; details: z.ZodDefault>; name: z.ZodString; status: z.ZodOptional>; conclusion: z.ZodOptional>; url: z.ZodOptional>; detailsUrl: z.ZodOptional>; output: z.ZodOptional>; summary: z.ZodOptional>; text: z.ZodOptional>; }, z.core.$strip>>>; annotations: z.ZodDefault; startLine: z.ZodOptional; endLine: z.ZodOptional; annotationLevel: z.ZodOptional; message: z.ZodOptional; title: z.ZodOptional; rawDetails: z.ZodOptional; }, z.core.$strip>>>>; failedJobs: z.ZodDefault>; conclusion: z.ZodOptional>; url: z.ZodOptional>; logTail: z.ZodOptional; logTruncated: z.ZodOptional; }, z.core.$strip>>>>; truncated: z.ZodDefault>; pipeline: z.ZodOptional; url: z.ZodDefault>>; ref: z.ZodDefault>>; sha: z.ZodDefault>>; stages: z.ZodDefault; url: z.ZodDefault>>; allowFailure: z.ZodDefault>; durationSeconds: z.ZodDefault>>; }, z.core.$strip>>>>; }, z.core.$strip>>>>; }, z.core.$strip>>>; }, z.core.$strip>>>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.github.get_check_details.response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; details: z.ZodDefault>; name: z.ZodString; status: z.ZodOptional>; conclusion: z.ZodOptional>; url: z.ZodOptional>; detailsUrl: z.ZodOptional>; output: z.ZodOptional>; summary: z.ZodOptional>; text: z.ZodOptional>; }, z.core.$strip>>>; annotations: z.ZodDefault; startLine: z.ZodOptional; endLine: z.ZodOptional; annotationLevel: z.ZodOptional; message: z.ZodOptional; title: z.ZodOptional; rawDetails: z.ZodOptional; }, z.core.$strip>>>>; failedJobs: z.ZodDefault>; conclusion: z.ZodOptional>; url: z.ZodOptional>; logTail: z.ZodOptional; logTruncated: z.ZodOptional; }, z.core.$strip>>>>; truncated: z.ZodDefault>; pipeline: z.ZodOptional; url: z.ZodDefault>>; ref: z.ZodDefault>>; sha: z.ZodDefault>>; stages: z.ZodDefault; url: z.ZodDefault>>; allowFailure: z.ZodDefault>; durationSeconds: z.ZodDefault>>; }, z.core.$strip>>>>; }, z.core.$strip>>>>; }, z.core.$strip>>>; }, z.core.$strip>>>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_status_response">; payload: z.ZodObject<{ cwd: z.ZodString; status: z.ZodNullable>; projectPath: z.ZodOptional; number: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodDefault>; mergeable: z.ZodDefault>>>; checks: z.ZodDefault; workflow: z.ZodOptional; duration: z.ZodOptional; checkRunId: z.ZodOptional; workflowRunId: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>>; checksStatus: z.ZodOptional; reviewDecision: z.ZodOptional>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional>>; autoMergeRequest: z.ZodDefault>>; mergeMethod: z.ZodDefault>>; enabledBy: z.ZodDefault>>; }, z.core.$strip>>>>; viewerCanEnableAutoMerge: z.ZodDefault>; viewerCanDisableAutoMerge: z.ZodDefault>; viewerCanMergeAsAdmin: z.ZodDefault>; viewerCanUpdateBranch: z.ZodDefault>; repository: z.ZodDefault>; mergeCommitAllowed: z.ZodDefault>; squashMergeAllowed: z.ZodDefault>; rebaseMergeAllowed: z.ZodDefault>; viewerDefaultMergeMethod: z.ZodDefault>>; }, z.core.$strip>>>; isMergeQueueEnabled: z.ZodDefault>; isInMergeQueue: z.ZodDefault>; }, z.core.$strip>>; forgeSpecific: z.ZodOptional; }, z.core.$strip>>; githubFeaturesEnabled: z.ZodBoolean; authState: z.ZodOptional; forge: z.ZodDefault>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"pull_request_timeline_response">; payload: z.ZodPrefault>; prNumber: z.ZodDefault>>; items: z.ZodDefault>; kind: z.ZodLiteral<"review">; author: z.ZodDefault>; authorUrl: z.ZodOptional>; avatarUrl: z.ZodOptional>; body: z.ZodDefault>; createdAt: z.ZodDefault>; url: z.ZodDefault>; reviewState: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodDefault>; kind: z.ZodLiteral<"comment">; author: z.ZodDefault>; authorUrl: z.ZodOptional>; avatarUrl: z.ZodOptional>; body: z.ZodDefault>; createdAt: z.ZodDefault>; url: z.ZodDefault>; reviewId: z.ZodOptional; threadId: z.ZodOptional; threadIsResolved: z.ZodOptional; location: z.ZodOptional; startLine: z.ZodOptional; threadId: z.ZodOptional; isResolved: z.ZodOptional; isOutdated: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>], "kind">>>>>; truncated: z.ZodDefault>; error: z.ZodDefault; message: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"forbidden">; message: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"unknown">; message: z.ZodDefault>; }, z.core.$strip>], "kind">>>>>; requestId: z.ZodDefault>; githubFeaturesEnabled: z.ZodDefault>; authState: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_switch_branch_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; branch: z.ZodString; source: z.ZodOptional>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.rename_branch.response">; payload: z.ZodObject<{ requestId: z.ZodString; success: z.ZodBoolean; cwd: z.ZodString; currentBranch: z.ZodNullable; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stash_save_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stash_pop_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stash_list_response">; payload: z.ZodObject<{ cwd: z.ZodString; entries: z.ZodArray; isPaseo: z.ZodBoolean; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"validate_branch_response">; payload: z.ZodObject<{ exists: z.ZodBoolean; resolvedRef: z.ZodNullable; isRemote: z.ZodBoolean; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"branch_suggestions_response">; payload: z.ZodObject<{ branches: z.ZodArray; branchDetails: z.ZodOptional; hasRemote: z.ZodOptional; localAhead: z.ZodOptional; localBehind: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"forge.search.response">; payload: z.ZodObject<{ items: z.ZodArray; authState: z.ZodOptional; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_search_response">; payload: z.ZodObject<{ items: z.ZodArray; featuresEnabled: z.ZodOptional; authState: z.ZodOptional; githubFeaturesEnabled: z.ZodOptional; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"directory_suggestions_response">; payload: z.ZodObject<{ directories: z.ZodArray; entries: z.ZodDefault; }, z.core.$strip>>>>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"paseo_worktree_list_response">; payload: z.ZodObject<{ worktrees: z.ZodArray>; head: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"paseo_worktree_archive_response">; payload: z.ZodObject<{ success: z.ZodBoolean; removedAgents: z.ZodOptional>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"create_paseo_worktree_response">; payload: z.ZodObject<{ workspace: z.ZodNullable>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; error: z.ZodNullable; errorCode: z.ZodOptional; setupTerminalId: z.ZodNullable; setupSkippedReason: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file_explorer_response">; payload: z.ZodObject<{ cwd: z.ZodString; path: z.ZodString; mode: z.ZodEnum<{ file: "file"; list: "list"; }>; directory: z.ZodNullable; size: z.ZodNumber; modifiedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; file: z.ZodNullable; encoding: z.ZodEnum<{ "utf-8": "utf-8"; base64: "base64"; none: "none"; }>; content: z.ZodOptional; mimeType: z.ZodOptional; size: z.ZodNumber; modifiedAt: z.ZodString; revision: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.subscribe.response">; payload: z.ZodObject<{ subscriptionId: z.ZodString; initial: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ready">; cwd: z.ZodString; path: z.ZodString; size: z.ZodNumber; modifiedAt: z.ZodString; revision: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"missing">; cwd: z.ZodString; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; cwd: z.ZodString; path: z.ZodString; error: z.ZodString; }, z.core.$strip>], "status">; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.unsubscribe.response">; payload: z.ZodObject<{ subscriptionId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.write.response">; payload: z.ZodObject<{ result: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"written">; modifiedAt: z.ZodString; size: z.ZodNumber; revision: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"conflict">; version: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ready">; cwd: z.ZodString; path: z.ZodString; size: z.ZodNumber; modifiedAt: z.ZodString; revision: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"missing">; cwd: z.ZodString; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; cwd: z.ZodString; path: z.ZodString; error: z.ZodString; }, z.core.$strip>], "status">; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; error: z.ZodString; }, z.core.$strip>], "status">; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.create.response">; payload: z.ZodObject<{ cwd: z.ZodString; parentPath: z.ZodString; path: z.ZodNullable; success: z.ZodBoolean; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.rename.response">; payload: z.ZodObject<{ cwd: z.ZodString; path: z.ZodString; renamedPath: z.ZodNullable; success: z.ZodBoolean; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.duplicate.response">; payload: z.ZodObject<{ cwd: z.ZodString; path: z.ZodString; duplicatedPath: z.ZodNullable; success: z.ZodBoolean; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.delete.response">; payload: z.ZodObject<{ cwd: z.ZodString; path: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.update">; payload: z.ZodObject<{ subscriptionId: z.ZodString; version: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ready">; cwd: z.ZodString; path: z.ZodString; size: z.ZodNumber; modifiedAt: z.ZodString; revision: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"missing">; cwd: z.ZodString; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; cwd: z.ZodString; path: z.ZodString; error: z.ZodString; }, z.core.$strip>], "status">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project_icon_response">; payload: z.ZodObject<{ cwd: z.ZodString; icon: z.ZodNullable>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.icon.get.response">; payload: z.ZodObject<{ projectId: z.ZodString; icon: z.ZodNullable>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file_download_token_response">; payload: z.ZodObject<{ cwd: z.ZodString; path: z.ZodString; token: z.ZodNullable; fileName: z.ZodNullable; mimeType: z.ZodNullable; size: z.ZodNullable; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file.upload.response">; payload: z.ZodObject<{ requestId: z.ZodString; file: z.ZodNullable; id: z.ZodString; fileName: z.ZodString; mimeType: z.ZodString; size: z.ZodNumber; path: z.ZodString; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_provider_models_response">; payload: z.ZodObject<{ provider: z.ZodString; models: z.ZodOptional>; isSelectable: z.ZodOptional; label: z.ZodString; description: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; contextWindowMaxTokens: z.ZodOptional; thinkingOptions: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>>; defaultThinkingOptionId: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>; fetchedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_provider_modes_response">; payload: z.ZodObject<{ provider: z.ZodString; modes: z.ZodOptional>>>; error: z.ZodOptional>; fetchedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_provider_features_response">; payload: z.ZodObject<{ provider: z.ZodString; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; error: z.ZodOptional>; fetchedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_available_providers_response">; payload: z.ZodObject<{ providers: z.ZodArray>; }, z.core.$strip>>; error: z.ZodOptional>; fetchedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"get_providers_snapshot_response">; payload: z.ZodObject<{ cwd: z.ZodOptional; entries: z.ZodArray>; enabled: z.ZodDefault>; source: z.ZodOptional>; error: z.ZodOptional; models: z.ZodOptional>; isSelectable: z.ZodOptional; label: z.ZodString; description: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; contextWindowMaxTokens: z.ZodOptional; thinkingOptions: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>>; defaultThinkingOptionId: z.ZodOptional; }, z.core.$strip>>>; modes: z.ZodOptional>>>; fetchedAt: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; iconSvg: z.ZodOptional; defaultModeId: z.ZodOptional>; }, z.core.$strip>>; compactSnapshot: z.ZodOptional; description: z.ZodOptional; label: z.ZodOptional; provider: z.ZodString; source: z.ZodOptional>; enabled: z.ZodDefault>; status: z.ZodType>; defaultModeId: z.ZodOptional>; modes: z.ZodOptional>>>; fetchedAt: z.ZodOptional; iconSvg: z.ZodOptional; models: z.ZodOptional; metadata: z.ZodOptional>; label: z.ZodString; id: z.ZodString; isDefault: z.ZodOptional; aliases: z.ZodOptional>; isSelectable: z.ZodOptional; contextWindowMaxTokens: z.ZodOptional; defaultThinkingOptionId: z.ZodOptional; thinkingSet: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; thinkingSets: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; defaultOptionId: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; snapshotHash: z.ZodOptional; fetchedAt: z.ZodOptional>; notModified: z.ZodOptional; generatedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"providers_snapshot_update">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; cwd: z.ZodOptional; entries: z.ZodArray>; enabled: z.ZodDefault>; source: z.ZodOptional>; error: z.ZodOptional; models: z.ZodOptional>; isSelectable: z.ZodOptional; label: z.ZodString; description: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; contextWindowMaxTokens: z.ZodOptional; thinkingOptions: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>>; defaultThinkingOptionId: z.ZodOptional; }, z.core.$strip>>>; modes: z.ZodOptional>>>; fetchedAt: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; iconSvg: z.ZodOptional; defaultModeId: z.ZodOptional>; }, z.core.$strip>>; compactSnapshot: z.ZodOptional; description: z.ZodOptional; label: z.ZodOptional; provider: z.ZodString; source: z.ZodOptional>; enabled: z.ZodDefault>; status: z.ZodType>; defaultModeId: z.ZodOptional>; modes: z.ZodOptional>>>; fetchedAt: z.ZodOptional; iconSvg: z.ZodOptional; models: z.ZodOptional; metadata: z.ZodOptional>; label: z.ZodString; id: z.ZodString; isDefault: z.ZodOptional; aliases: z.ZodOptional>; isSelectable: z.ZodOptional; contextWindowMaxTokens: z.ZodOptional; defaultThinkingOptionId: z.ZodOptional; thinkingSet: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; thinkingSets: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; defaultOptionId: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; snapshotHash: z.ZodOptional; fetchedAt: z.ZodOptional>; generatedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"refresh_providers_snapshot_response">; payload: z.ZodObject<{ requestId: z.ZodString; acknowledged: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"provider_diagnostic_response">; payload: z.ZodObject<{ provider: z.ZodString; diagnostic: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"provider.usage.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; fetchedAt: z.ZodString; providers: z.ZodArray; planLabel: z.ZodNullable; sourceLabel: z.ZodOptional>; fetchedAt: z.ZodOptional>; nextRefreshAt: z.ZodOptional>; windows: z.ZodArray>; remainingPct: z.ZodOptional>; resetsAt: z.ZodOptional>; runsOutAt: z.ZodOptional>; shortfallPct: z.ZodOptional>; tone: z.ZodOptional>; }, z.core.$strip>>; balances: z.ZodOptional>; remaining: z.ZodOptional>; limit: z.ZodOptional>; unit: z.ZodEnum<{ tokens: "tokens"; usd: "usd"; credits: "credits"; requests: "requests"; }>; resetsAt: z.ZodOptional>; tone: z.ZodOptional>; }, z.core.$strip>>>; details: z.ZodOptional>; }, z.core.$strip>>>; error: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_commands_response">; payload: z.ZodObject<{ agentId: z.ZodString; commands: z.ZodArray>>; }, z.core.$strip>>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_terminals_response">; payload: z.ZodObject<{ cwd: z.ZodOptional; terminals: z.ZodArray; workspaceId: z.ZodOptional; title: z.ZodOptional; activity: z.ZodOptional>; attentionReason: z.ZodCatch>>>; changedAt: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminals_changed">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; requestId: z.ZodOptional; workspaceId: z.ZodOptional; cwd: z.ZodString; terminals: z.ZodArray; title: z.ZodOptional; name: z.ZodString; id: z.ZodString; activity: z.ZodOptional>; attentionReason: z.ZodCatch>>>; changedAt: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"create_terminal_response">; payload: z.ZodObject<{ terminal: z.ZodNullable; title: z.ZodOptional; activity: z.ZodOptional>; attentionReason: z.ZodCatch>>>; changedAt: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal.rename.response">; payload: z.ZodObject<{ requestId: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscribe_terminal_response">; payload: z.ZodUnion; error: z.ZodNull; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ terminalId: z.ZodString; error: z.ZodString; requestId: z.ZodString; }, z.core.$strip>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"kill_terminal_response">; payload: z.ZodObject<{ terminalId: z.ZodString; success: z.ZodBoolean; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"capture_terminal_response">; payload: z.ZodObject<{ terminalId: z.ZodString; lines: z.ZodArray; totalLines: z.ZodNumber; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal_stream_exit">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; terminalId: z.ZodString; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal_attention_required">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; serverId: z.ZodOptional; terminalId: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; reason: z.ZodEnum<{ finished: "finished"; needs_input: "needs_input"; }>; title: z.ZodString; body: z.ZodString; shouldNotify: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/create/response">; payload: z.ZodObject<{ requestId: z.ZodString; room: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; messageCount: z.ZodNumber; lastMessageAt: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/list/response">; payload: z.ZodObject<{ requestId: z.ZodString; rooms: z.ZodArray; createdAt: z.ZodString; updatedAt: z.ZodString; messageCount: z.ZodNumber; lastMessageAt: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/inspect/response">; payload: z.ZodObject<{ requestId: z.ZodString; room: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; messageCount: z.ZodNumber; lastMessageAt: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/delete/response">; payload: z.ZodObject<{ requestId: z.ZodString; room: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; messageCount: z.ZodNumber; lastMessageAt: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/post/response">; payload: z.ZodObject<{ requestId: z.ZodString; message: z.ZodNullable; mentionAgentIds: z.ZodArray; createdAt: z.ZodString; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/read/response">; payload: z.ZodObject<{ requestId: z.ZodString; messages: z.ZodArray; mentionAgentIds: z.ZodArray; createdAt: z.ZodString; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/wait/response">; payload: z.ZodObject<{ requestId: z.ZodString; messages: z.ZodArray; mentionAgentIds: z.ZodArray; createdAt: z.ZodString; }, z.core.$strip>>; timedOut: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/create/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedule: z.ZodNullable; id: z.ZodString; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; prompt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/list/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedules: z.ZodArray; id: z.ZodString; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; prompt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/inspect/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedule: z.ZodNullable; prompt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; runs: z.ZodArray; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; }>; agentId: z.ZodNullable; workspaceId: z.ZodOptional>; output: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/logs/response">; payload: z.ZodObject<{ requestId: z.ZodString; runs: z.ZodArray; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; }>; agentId: z.ZodNullable; workspaceId: z.ZodOptional>; output: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/pause/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedule: z.ZodNullable; id: z.ZodString; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; prompt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/resume/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedule: z.ZodNullable; id: z.ZodString; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; prompt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/delete/response">; payload: z.ZodObject<{ requestId: z.ZodString; scheduleId: z.ZodString; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/run-once/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedule: z.ZodNullable; prompt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; runs: z.ZodArray; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; }>; agentId: z.ZodNullable; workspaceId: z.ZodOptional>; output: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/update/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedule: z.ZodNullable; prompt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; runs: z.ZodArray; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; }>; agentId: z.ZodNullable; workspaceId: z.ZodOptional>; output: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/run/response">; payload: z.ZodObject<{ requestId: z.ZodString; loop: z.ZodNullable; prompt: z.ZodString; cwd: z.ZodString; provider: z.ZodString; model: z.ZodNullable; modeId: z.ZodDefault>; workerProvider: z.ZodNullable; workerModel: z.ZodNullable; verifierProvider: z.ZodNullable; verifierModel: z.ZodNullable; verifierModeId: z.ZodDefault>; verifyPrompt: z.ZodNullable; verifyChecks: z.ZodArray; archive: z.ZodBoolean; sleepMs: z.ZodNumber; maxIterations: z.ZodNullable; maxTimeMs: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; startedAt: z.ZodString; completedAt: z.ZodNullable; stopRequestedAt: z.ZodNullable; iterations: z.ZodArray; workerStartedAt: z.ZodString; workerCompletedAt: z.ZodNullable; verifierAgentId: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; workerOutcome: z.ZodNullable>; failureReason: z.ZodNullable; verifyChecks: z.ZodArray>; verifyPrompt: z.ZodNullable; startedAt: z.ZodString; completedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; logs: z.ZodArray; source: z.ZodEnum<{ loop: "loop"; worker: "worker"; verifier: "verifier"; "verify-check": "verify-check"; }>; level: z.ZodEnum<{ error: "error"; info: "info"; }>; text: z.ZodString; }, z.core.$strip>>; nextLogSeq: z.ZodNumber; activeIteration: z.ZodNullable; activeWorkerAgentId: z.ZodNullable; activeVerifierAgentId: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/list/response">; payload: z.ZodObject<{ requestId: z.ZodString; loops: z.ZodArray; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; cwd: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; activeIteration: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/inspect/response">; payload: z.ZodObject<{ requestId: z.ZodString; loop: z.ZodNullable; prompt: z.ZodString; cwd: z.ZodString; provider: z.ZodString; model: z.ZodNullable; modeId: z.ZodDefault>; workerProvider: z.ZodNullable; workerModel: z.ZodNullable; verifierProvider: z.ZodNullable; verifierModel: z.ZodNullable; verifierModeId: z.ZodDefault>; verifyPrompt: z.ZodNullable; verifyChecks: z.ZodArray; archive: z.ZodBoolean; sleepMs: z.ZodNumber; maxIterations: z.ZodNullable; maxTimeMs: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; startedAt: z.ZodString; completedAt: z.ZodNullable; stopRequestedAt: z.ZodNullable; iterations: z.ZodArray; workerStartedAt: z.ZodString; workerCompletedAt: z.ZodNullable; verifierAgentId: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; workerOutcome: z.ZodNullable>; failureReason: z.ZodNullable; verifyChecks: z.ZodArray>; verifyPrompt: z.ZodNullable; startedAt: z.ZodString; completedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; logs: z.ZodArray; source: z.ZodEnum<{ loop: "loop"; worker: "worker"; verifier: "verifier"; "verify-check": "verify-check"; }>; level: z.ZodEnum<{ error: "error"; info: "info"; }>; text: z.ZodString; }, z.core.$strip>>; nextLogSeq: z.ZodNumber; activeIteration: z.ZodNullable; activeWorkerAgentId: z.ZodNullable; activeVerifierAgentId: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/logs/response">; payload: z.ZodObject<{ requestId: z.ZodString; loop: z.ZodNullable; prompt: z.ZodString; cwd: z.ZodString; provider: z.ZodString; model: z.ZodNullable; modeId: z.ZodDefault>; workerProvider: z.ZodNullable; workerModel: z.ZodNullable; verifierProvider: z.ZodNullable; verifierModel: z.ZodNullable; verifierModeId: z.ZodDefault>; verifyPrompt: z.ZodNullable; verifyChecks: z.ZodArray; archive: z.ZodBoolean; sleepMs: z.ZodNumber; maxIterations: z.ZodNullable; maxTimeMs: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; startedAt: z.ZodString; completedAt: z.ZodNullable; stopRequestedAt: z.ZodNullable; iterations: z.ZodArray; workerStartedAt: z.ZodString; workerCompletedAt: z.ZodNullable; verifierAgentId: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; workerOutcome: z.ZodNullable>; failureReason: z.ZodNullable; verifyChecks: z.ZodArray>; verifyPrompt: z.ZodNullable; startedAt: z.ZodString; completedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; logs: z.ZodArray; source: z.ZodEnum<{ loop: "loop"; worker: "worker"; verifier: "verifier"; "verify-check": "verify-check"; }>; level: z.ZodEnum<{ error: "error"; info: "info"; }>; text: z.ZodString; }, z.core.$strip>>; nextLogSeq: z.ZodNumber; activeIteration: z.ZodNullable; activeWorkerAgentId: z.ZodNullable; activeVerifierAgentId: z.ZodNullable; }, z.core.$strip>>; entries: z.ZodArray; source: z.ZodEnum<{ loop: "loop"; worker: "worker"; verifier: "verifier"; "verify-check": "verify-check"; }>; level: z.ZodEnum<{ error: "error"; info: "info"; }>; text: z.ZodString; }, z.core.$strip>>; nextCursor: z.ZodNumber; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/stop/response">; payload: z.ZodObject<{ requestId: z.ZodString; loop: z.ZodNullable; prompt: z.ZodString; cwd: z.ZodString; provider: z.ZodString; model: z.ZodNullable; modeId: z.ZodDefault>; workerProvider: z.ZodNullable; workerModel: z.ZodNullable; verifierProvider: z.ZodNullable; verifierModel: z.ZodNullable; verifierModeId: z.ZodDefault>; verifyPrompt: z.ZodNullable; verifyChecks: z.ZodArray; archive: z.ZodBoolean; sleepMs: z.ZodNumber; maxIterations: z.ZodNullable; maxTimeMs: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; startedAt: z.ZodString; completedAt: z.ZodNullable; stopRequestedAt: z.ZodNullable; iterations: z.ZodArray; workerStartedAt: z.ZodString; workerCompletedAt: z.ZodNullable; verifierAgentId: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; workerOutcome: z.ZodNullable>; failureReason: z.ZodNullable; verifyChecks: z.ZodArray>; verifyPrompt: z.ZodNullable; startedAt: z.ZodString; completedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; logs: z.ZodArray; source: z.ZodEnum<{ loop: "loop"; worker: "worker"; verifier: "verifier"; "verify-check": "verify-check"; }>; level: z.ZodEnum<{ error: "error"; info: "info"; }>; text: z.ZodString; }, z.core.$strip>>; nextLogSeq: z.ZodNumber; activeIteration: z.ZodNullable; activeWorkerAgentId: z.ZodNullable; activeVerifierAgentId: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.update.progress">; payload: z.ZodObject<{ requestId: z.ZodString; phase: z.ZodEnum<{ starting: "starting"; downloading: "downloading"; installing: "installing"; complete: "complete"; }>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.update.response">; payload: z.ZodObject<{ requestId: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; previousVersion: z.ZodNullable; newVersion: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>], "type">; export type SessionOutboundMessage = z.infer; export type ActivityLogMessage = z.infer; export type AssistantChunkMessage = z.infer; export type AudioOutputMessage = z.infer; export type TranscriptionResultMessage = z.infer; export type StatusMessage = z.infer; export type ServerCapabilityState = z.infer; export type ServerVoiceCapabilities = z.infer; export type ServerCapabilities = z.infer; export type ServerInfoStatusPayload = z.infer; export type RpcErrorMessage = z.infer; export type ArtifactMessage = z.infer; export type AgentUpdateMessage = z.infer; export type WorkspaceSetupProgressMessage = z.infer; export type WorkspaceSetupSnapshot = z.infer; export type WorkspaceSetupStatusResponseMessage = z.infer; export type WorkspaceSetupRunResponseMessage = z.infer; export type AgentStreamMessage = z.infer; export type AgentStatusMessage = z.infer; export type ProjectCheckoutLitePayload = z.infer; export type ProjectPlacementPayload = z.infer; export type WorkspaceStateBucket = z.infer; export type WorkspaceDescriptorPayload = z.infer; export type WorkspaceProjectDescriptorPayload = z.infer; export type ProjectListResponseMessage = z.infer; export type WorkspaceScriptLifecycle = z.infer; export type WorkspaceScriptHealth = z.infer; export type WorkspaceScriptPayload = z.infer; export type FetchAgentsResponseMessage = z.infer; export type FetchAgentHistoryResponseMessage = z.infer; export type FetchRecentProviderSessionsResponseMessage = z.infer; export type FetchWorkspacesResponseMessage = z.infer; export type ProjectAddResponse = z.infer; export type ProjectCreateDirectoryResponse = z.infer; export type ScriptStatusUpdateMessage = z.infer; export type OpenProjectResponseMessage = z.infer; export type WorkspaceGithubSearchRepositoriesResponse = z.infer; export type GithubRepository = z.infer; export type ProjectGithubCloneResponse = z.infer; export type StartWorkspaceScriptResponseMessage = z.infer; export type WorkspaceScriptListRequest = z.infer; export type WorkspaceScriptStartRequest = z.infer; export type WorkspaceScriptStopRequest = z.infer; export type WorkspaceScriptListResponseMessage = z.infer; export type WorkspaceScriptStartResponseMessage = z.infer; export type WorkspaceScriptStopResponseMessage = z.infer; export type LegacyListAvailableEditorsResponseMessage = z.infer; export type LegacyOpenInEditorResponseMessage = z.infer; export type ArchiveWorkspaceResponseMessage = z.infer; export type FetchAgentResponseMessage = z.infer; export type FetchAgentTimelineResponseMessage = z.infer; export type AgentTimelineListPromptsResponseMessage = z.infer; export type AgentForkContextResponseMessage = z.infer; export type CancelAgentResponseMessage = z.infer; export type SendAgentMessageResponseMessage = z.infer; export type SetVoiceModeResponseMessage = z.infer; export type SetAgentModeResponseMessage = z.infer; export type SetAgentModelResponseMessage = z.infer; export type SetAgentThinkingResponseMessage = z.infer; export type SetAgentFeatureResponseMessage = z.infer; export type AgentConfigApplyResponseMessage = z.infer; export type AgentDetachResponseMessage = z.infer; export type AgentRewindResponseMessage = z.infer; export type UpdateAgentResponseMessage = z.infer; export type ProjectRenameResponse = z.infer; export type ProjectIconSetResponse = z.infer; export type ProjectRemoveResponse = z.infer; export type WorkspaceTitleSetResponse = z.infer; export type WorkspaceTitleSetResponsePayload = z.infer; export type WorkspacePinSetResponse = z.infer; export type WorkspacePinSetResponsePayload = z.infer; export type WorkspaceRecoveryState = z.infer; export type WorkspaceRecoveryInspectResponse = z.infer; export type WorkspaceRecoveryRestoreResponse = z.infer; export type WorkspaceCreateRequest = z.infer; export type WorkspaceCreateResponse = z.infer; export type ProjectRenameResponsePayload = z.infer; export type ProjectRemoveResponsePayload = z.infer; export type WaitForFinishResponseMessage = z.infer; export type AgentPermissionRequestMessage = z.infer; export type AgentPermissionResolvedMessage = z.infer; export type AgentDeletedMessage = z.infer; export type ListProviderModelsResponseMessage = z.infer; export type ListProviderModesResponseMessage = z.infer; export type ListProviderFeaturesResponseMessage = z.infer; export type ListAvailableProvidersResponse = z.infer; export type DaemonGetStatusResponse = z.infer; export type DaemonGetPairingOfferResponse = z.infer; export type DaemonConfigReloadResponse = z.infer; export type DiagnosticsResponse = z.infer; export type GetProvidersSnapshotResponseMessage = z.infer; export type ProvidersSnapshotUpdateMessage = z.infer; export type RefreshProvidersSnapshotResponseMessage = z.infer; export type ProviderDiagnosticResponseMessage = z.infer; export type ProviderUsageTone = z.infer; export type ProviderUsageStatus = z.infer; export type ProviderUsage = z.infer; export type ProviderUsageWindow = z.infer; export type ProviderUsageBalance = z.infer; export type ProviderUsageDetail = z.infer; export type ProviderUsageListResponseMessage = z.infer; export type ChatCreateResponse = z.infer; export type ChatListResponse = z.infer; export type ChatInspectResponse = z.infer; export type ChatDeleteResponse = z.infer; export type ChatPostResponse = z.infer; export type ChatReadResponse = z.infer; export type ChatWaitResponse = z.infer; export type ScheduleCreateResponse = z.infer; export type ScheduleListResponse = z.infer; export type ScheduleInspectResponse = z.infer; export type ScheduleLogsResponse = z.infer; export type SchedulePauseResponse = z.infer; export type ScheduleResumeResponse = z.infer; export type ScheduleDeleteResponse = z.infer; export type ScheduleRunOnceResponse = z.infer; export type ScheduleUpdateResponse = z.infer; export type LoopRunResponse = z.infer; export type LoopListResponse = z.infer; export type LoopInspectResponse = z.infer; export type LoopLogsResponse = z.infer; export type LoopStopResponse = z.infer; export type ActivityLogPayload = z.infer; export type VoiceAudioChunkMessage = z.infer; export type FetchAgentsRequestMessage = z.infer; export type FetchAgentHistoryRequestMessage = z.infer; export type FetchRecentProviderSessionsRequestMessage = z.infer; export type FetchWorkspacesRequestMessage = z.infer; export type ProjectListRequestMessage = z.infer; export type FetchAgentRequestMessage = z.infer; export type AgentForkContextRequestMessage = z.infer; export type SendAgentMessageRequest = z.infer; export type WaitForFinishRequest = z.infer; export type DictationStreamStartMessage = z.infer; export type DictationStreamChunkMessage = z.infer; export type DictationStreamFinishMessage = z.infer; export type DictationStreamCancelMessage = z.infer; export type CreateAgentRequestMessage = z.infer; export type AgentAttachment = z.infer; export type ForgeChangeRequestAttachment = z.infer; export type ForgeIssueAttachment = z.infer; export type UploadedFileAttachment = z.infer; export type FirstAgentContext = z.infer; export type ReviewAttachment = z.infer; export type ListProviderModelsRequestMessage = z.infer; export type ListProviderModesRequestMessage = z.infer; export type ListProviderFeaturesRequestMessage = z.infer; export type ListAvailableProvidersRequestMessage = z.infer; export type GetProvidersSnapshotRequestMessage = z.infer; export type RefreshProvidersSnapshotRequestMessage = z.infer; export type ProviderDiagnosticRequestMessage = z.infer; export type ChatCreateRequest = z.infer; export type ChatListRequest = z.infer; export type ChatInspectRequest = z.infer; export type ChatDeleteRequest = z.infer; export type ChatPostRequest = z.infer; export type ChatReadRequest = z.infer; export type ChatWaitRequest = z.infer; export type ScheduleCreateRequest = z.infer; export type ScheduleListRequest = z.infer; export type ScheduleInspectRequest = z.infer; export type ScheduleLogsRequest = z.infer; export type SchedulePauseRequest = z.infer; export type ScheduleResumeRequest = z.infer; export type ScheduleDeleteRequest = z.infer; export type ScheduleRunOnceRequest = z.infer; export type ScheduleUpdateRequest = z.infer; export type LoopRunRequest = z.infer; export type LoopListRequest = z.infer; export type LoopInspectRequest = z.infer; export type LoopLogsRequest = z.infer; export type LoopStopRequest = z.infer; export type ResumeAgentRequestMessage = z.infer; export type DeleteAgentRequestMessage = z.infer; export type UpdateAgentRequestMessage = z.infer; export type ProjectIconSource = z.infer; export type ProjectRenameRequest = z.infer; export type ProjectIconSetRequest = z.infer; export type ProjectRemoveRequest = z.infer; export type WorkspaceTitleSetRequest = z.infer; export type WorkspacePinSetRequest = z.infer; export type WorkspaceRecoveryInspectRequest = z.infer; export type WorkspaceRecoveryRestoreRequest = z.infer; export type SetAgentModeRequestMessage = z.infer; export type SetAgentModelRequestMessage = z.infer; export type SetAgentThinkingRequestMessage = z.infer; export type SetAgentFeatureRequestMessage = z.infer; export type AgentConfigApplyRequestMessage = z.infer; export type AgentDetachRequestMessage = z.infer; export type AgentPermissionResponseMessage = z.infer; export type CheckoutStatusRequest = z.infer; export type CheckoutStatusResponse = z.infer; export type CheckoutStatusUpdate = z.infer; export type SubscribeCheckoutDiffRequest = z.infer; export type UnsubscribeCheckoutDiffRequest = z.infer; export type SubscribeCheckoutDiffResponse = z.infer; export type CheckoutDiffUpdate = z.infer; export type CheckoutCommitRequest = z.infer; export type CheckoutCommitResponse = z.infer; export type CheckoutMergeRequest = z.infer; export type CheckoutMergeResponse = z.infer; export type CheckoutMergeFromBaseRequest = z.infer; export type CheckoutMergeFromBaseResponse = z.infer; export type CheckoutPullRequest = z.infer; export type CheckoutPullResponse = z.infer; export type CheckoutPushRequest = z.infer; export type CheckoutPushResponse = z.infer; export type CheckoutRefreshRequest = z.infer; export type CheckoutRefreshResponse = z.infer; export type CheckoutDiscardChangesRequest = z.infer; export type CheckoutDiscardChangesResponse = z.infer; export type CheckoutCommitFile = z.infer; export type CheckoutCommit = z.infer; export type CheckoutCommitsListRequest = z.infer; export type CheckoutCommitsListResponse = z.infer; export type CheckoutCommitFileDiffRequest = z.infer; export type CheckoutCommitFileDiffResponse = z.infer; export type ParsedDiffFile = z.infer; export type CheckoutPrCreateRequest = z.infer; export type CheckoutPrCreateResponse = z.infer; export type CheckoutPrMergeRequest = z.infer; export type CheckoutPrMergeResponse = z.infer; export type CheckoutPrMergeMethod = z.infer["mergeMethod"]; export type CheckoutForgeSetAutoMergeRequest = z.infer; export type CheckoutForgeSetAutoMergeResponse = z.infer; export type CheckoutGithubSetAutoMergeRequest = z.infer; export type CheckoutGithubSetAutoMergeResponse = z.infer; export type CheckoutForgeGetCheckDetailsRequest = z.infer; export type CheckoutGithubGetCheckDetailsRequest = z.infer; export type CheckoutCheckDetails = z.infer; export type CheckoutGithubCheckDetails = z.infer; export type CheckoutPipeline = z.infer; export type CheckoutPipelineStage = z.infer; export type CheckoutPipelineJob = z.infer; export type CheckoutForgeGetCheckDetailsResponse = z.infer; export type CheckoutGithubGetCheckDetailsResponse = z.infer; export type PullRequestMergeable = z.infer["mergeable"]; export type CheckoutPrStatusRequest = z.infer; export type CheckoutPrStatusResponse = z.infer; export type PullRequestTimelineRequest = z.infer; export type PullRequestTimelineItem = z.infer; export type PullRequestTimelineResponse = z.infer; export type CheckoutSwitchBranchRequest = z.infer; export type CheckoutSwitchBranchResponse = z.infer; export type CheckoutRenameBranchRequest = z.infer; export type CheckoutRenameBranchResponse = z.infer; export type StashSaveRequest = z.infer; export type StashSaveResponse = z.infer; export type StashPopRequest = z.infer; export type StashPopResponse = z.infer; export type StashListRequest = z.infer; export type StashListResponse = z.infer; export type StashEntry = z.infer; export type ValidateBranchRequest = z.infer; export type ValidateBranchResponse = z.infer; export type BranchSuggestionsRequest = z.infer; export type BranchSuggestionsResponse = z.infer; export type ForgeSearchItem = z.infer; export type ForgeSearchKind = "issue" | "change_request"; export type ForgeSearchRequest = z.infer; export type ForgeSearchResponse = z.infer; export type GitHubSearchItem = z.infer; export type GitHubSearchKind = z.infer; export type GitHubSearchRequest = z.infer; export type GitHubSearchResponse = z.infer; export type ChangeRequestCheckoutSource = z.infer; export type CreatePaseoWorktreeRequest = z.infer; export type DirectorySuggestionsRequest = z.infer; export type DirectorySuggestionsResponse = z.infer; export type PaseoWorktreeListRequest = z.infer; export type PaseoWorktreeListResponse = z.infer; export type PaseoWorktreeArchiveRequest = z.infer; export type PaseoWorktreeArchiveResponse = z.infer; export type WorkspaceSetupStatusRequest = z.infer; export type WorkspaceSetupRunRequest = z.infer; export type LegacyListAvailableEditorsRequest = z.infer; export type LegacyOpenInEditorRequest = z.infer; export type OpenProjectRequest = z.infer; export type ProjectAddRequest = z.infer; export type ProjectCreateDirectoryRequest = z.infer; export type ProjectCreateDirectoryErrorCode = z.infer; export type WorkspaceGithubSearchRepositoriesRequest = z.infer; export type ProjectGithubCloneRequest = z.infer; export type ProjectGithubCloneProtocol = z.infer; export type ArchiveWorkspaceRequest = z.infer; export type WorkspaceClearAttentionRequest = z.infer; export type WorkspaceMarkUnreadRequest = z.infer; export type FileExplorerRequest = z.infer; export type FileExplorerResponse = z.infer; export type FileVersion = z.infer; export type FileSubscribeRequest = z.infer; export type FileSubscribeResponse = z.infer; export type FileUnsubscribeRequest = z.infer; export type FileUnsubscribeResponse = z.infer; export type FileWriteRequest = z.infer; export type FileWriteResponse = z.infer; export type FileEntryCreateRequest = z.infer; export type FileEntryCreateResponse = z.infer; export type FileEntryRenameRequest = z.infer; export type FileEntryRenameResponse = z.infer; export type FileEntryDuplicateRequest = z.infer; export type FileEntryDuplicateResponse = z.infer; export type FileEntryDeleteRequest = z.infer; export type FileEntryDeleteResponse = z.infer; export type FileWriteResult = z.infer; export type FileUpdate = z.infer; export type ProjectIconRequest = z.infer; export type ProjectIconResponse = z.infer; export type ProjectIconGetRequest = z.infer; export type ProjectIconGetResponse = z.infer; export type ProjectIcon = z.infer; export type FileDownloadTokenRequest = z.infer; export type FileDownloadTokenResponse = z.infer; export type FileUploadRequest = z.infer; export type FileUploadResponse = z.infer; export type RestartServerRequestMessage = z.infer; export type ShutdownServerRequestMessage = z.infer; export type ClearAgentAttentionMessage = z.infer; export type ClearAgentAttentionResponseMessage = z.infer; export type ClientHeartbeatMessage = z.infer; export type ListCommandsRequest = z.infer; export type ListCommandsResponse = z.infer; export type RegisterPushTokenMessage = z.infer; export type PushUnregisterRequest = z.infer; export type PushUnregisterResponse = z.infer; export type ListTerminalsRequest = z.infer; export type ListTerminalsResponse = z.infer; export type SubscribeTerminalsRequest = z.infer; export type UnsubscribeTerminalsRequest = z.infer; export type TerminalsChanged = z.infer; export type CreateTerminalRequest = z.infer; export type CreateTerminalResponse = z.infer; export type RenameTerminalRequest = z.infer; export type RenameTerminalResponse = z.infer; export type StartWorkspaceScriptRequest = z.infer; export type StartWorkspaceScriptResponse = z.infer; export type SubscribeTerminalRequest = z.infer; export type SubscribeTerminalResponse = z.infer; export type UnsubscribeTerminalRequest = z.infer; export type TerminalInput = z.infer; export type TerminalCell = z.infer; export type TerminalCursorStyle = z.infer; export type TerminalCursor = z.infer; export type TerminalState = z.infer; export type CloseItemsRequest = z.infer; export type CloseItemsResponse = z.infer; export type KillTerminalRequest = z.infer; export type KillTerminalResponse = z.infer; export type CaptureTerminalRequest = z.infer; export type CaptureTerminalResponse = z.infer; export type TerminalStreamExit = z.infer; export declare const WSPingMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"ping">; }, z.core.$strip>; export declare const WSPongMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"pong">; }, z.core.$strip>; export declare const WSHelloMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"hello">; clientId: z.ZodString; clientType: z.ZodEnum<{ mcp: "mcp"; mobile: "mobile"; browser: "browser"; cli: "cli"; hub: "hub"; }>; protocolVersion: z.ZodNumber; appVersion: z.ZodOptional; capabilities: z.ZodOptional; pushNotifications: z.ZodOptional; explicit_event_subscriptions: z.ZodOptional; all_providers: z.ZodOptional; reasoning_merge_enum: z.ZodOptional; selective_agent_timeline: z.ZodOptional; custom_mode_icons: z.ZodOptional; terminal_reflowable_snapshot: z.ZodOptional; provider_subagents: z.ZodOptional; project_updates: z.ZodOptional; compact_provider_snapshots: z.ZodOptional; provider_snapshot_references: z.ZodOptional; timeline_replacement_invalidation: z.ZodOptional; timeline_notifications: z.ZodOptional; browser_host: z.ZodOptional, z.ZodTransform<("type" | "select" | "fill" | "logs" | "list_tabs" | "new_tab" | "snapshot" | "click" | "wait" | "keypress" | "navigate" | "back" | "forward" | "reload" | "screenshot" | "upload" | "hover" | "drag" | "evaluate" | "scroll" | "resize" | "close_tab")[], string[]>>; hostKind: z.ZodDefault; }, z.core.$loose>>; }, z.core.$loose>>; }, z.core.$strip>; export declare const WSRecordingStateMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"recording_state">; isRecording: z.ZodBoolean; }, z.core.$strip>; export declare const WSSessionInboundSchema: z.ZodObject<{ type: z.ZodLiteral<"session">; message: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"browser.host.register.request">; requestId: z.ZodString; hostKind: z.ZodString; supportedCommands: z.ZodArray>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscription.release.request">; requestId: z.ZodString; subscriptionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"session.events.set_subscription.request">; requestId: z.ZodString; events: z.ZodArray>; notifications: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.create.request">; requestId: z.ZodString; executionId: z.ZodString; provider: z.ZodString; cwd: z.ZodString; prompt: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; providerOptions: z.ZodOptional>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; env: z.ZodOptional>; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>; worktree: z.ZodOptional; newBranch: z.ZodString; base: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-branch">; branch: z.ZodString; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-pr">; prNumber: z.ZodNumber; }, z.core.$strip>], "mode">>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.validate.request">; requestId: z.ZodString; provider: z.ZodString; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; providerOptions: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.control.request">; requestId: z.ZodString; executionId: z.ZodString; action: z.ZodEnum<{ archive: "archive"; interrupt: "interrupt"; }>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"browser.automation.execute.response">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ requestId: z.ZodString; ok: z.ZodLiteral; result: z.ZodDiscriminatedUnion<[z.ZodObject<{ command: z.ZodLiteral<"list_tabs">; tabs: z.ZodArray; url: z.ZodString; title: z.ZodString; isActive: z.ZodDefault; isLoading: z.ZodDefault; canGoBack: z.ZodOptional; canGoForward: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"new_tab">; browserId: z.ZodString; workspaceId: z.ZodString; url: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"snapshot">; browserId: z.ZodString; workspaceId: z.ZodOptional; url: z.ZodString; title: z.ZodString; format: z.ZodLiteral<"aria-yaml">; snapshot: z.ZodString; truncated: z.ZodBoolean; stats: z.ZodObject<{ nodeCount: z.ZodNumber; refCount: z.ZodNumber; textLength: z.ZodNumber; iframeCount: z.ZodOptional; maxDepth: z.ZodOptional; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"click">; browserId: z.ZodString; ref: z.ZodString; x: z.ZodOptional; y: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"fill">; browserId: z.ZodString; ref: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"wait">; browserId: z.ZodString; matched: z.ZodEnum<{ text: "text"; url: "url"; }>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"type">; browserId: z.ZodString; ref: z.ZodOptional; x: z.ZodOptional; y: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"keypress">; browserId: z.ZodString; key: z.ZodString; ref: z.ZodOptional; x: z.ZodOptional; y: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"navigate">; browserId: z.ZodString; url: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"back">; browserId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"forward">; browserId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"reload">; browserId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"screenshot">; browserId: z.ZodString; mimeType: z.ZodLiteral<"image/png">; dataBase64: z.ZodString; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"upload">; browserId: z.ZodString; ref: z.ZodString; filePaths: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"select">; browserId: z.ZodString; ref: z.ZodString; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"hover">; browserId: z.ZodString; ref: z.ZodString; x: z.ZodOptional; y: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"drag">; browserId: z.ZodString; sourceRef: z.ZodString; targetRef: z.ZodString; sourceX: z.ZodOptional; sourceY: z.ZodOptional; targetX: z.ZodOptional; targetY: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"logs">; browserId: z.ZodString; console: z.ZodArray; line: z.ZodOptional; timestamp: z.ZodNumber; }, z.core.$strip>>; network: z.ZodArray; status: z.ZodOptional; type: z.ZodOptional; startTime: z.ZodNumber; duration: z.ZodNumber; transferSize: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"evaluate">; browserId: z.ZodString; resultJson: z.ZodString; truncated: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"scroll">; browserId: z.ZodString; ref: z.ZodOptional; deltaX: z.ZodNumber; deltaY: z.ZodNumber; x: z.ZodOptional; y: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"resize">; browserId: z.ZodString; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"close_tab">; browserId: z.ZodString; }, z.core.$strip>], "command">; dialogs: z.ZodOptional; message: z.ZodString; defaultValue: z.ZodOptional; action: z.ZodEnum<{ accepted: "accepted"; dismissed: "dismissed"; }>; promptText: z.ZodOptional; timestamp: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ requestId: z.ZodString; ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ browser_disabled: "browser_disabled"; browser_no_host: "browser_no_host"; browser_tab_not_found: "browser_tab_not_found"; browser_tab_closed: "browser_tab_closed"; browser_timeout: "browser_timeout"; screenshot_no_frame: "screenshot_no_frame"; browser_denied: "browser_denied"; browser_unsupported: "browser_unsupported"; browser_stale_ref: "browser_stale_ref"; browser_unknown_error: "browser_unknown_error"; }>; message: z.ZodString; retryable: z.ZodDefault; }, z.core.$strip>; dialogs: z.ZodOptional; message: z.ZodString; defaultValue: z.ZodOptional; action: z.ZodEnum<{ accepted: "accepted"; dismissed: "dismissed"; }>; promptText: z.ZodOptional; timestamp: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>], "ok">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"voice_audio_chunk">; audio: z.ZodString; format: z.ZodString; isLast: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"abort_request">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio_played">; id: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agents_request">; requestId: z.ZodString; scope: z.ZodOptional>; filter: z.ZodOptional>; projectKeys: z.ZodOptional>; statuses: z.ZodOptional>>; includeArchived: z.ZodOptional; requiresAttention: z.ZodOptional; thinkingOptionId: z.ZodOptional>; }, z.core.$strip>>; sort: z.ZodOptional; direction: z.ZodEnum<{ asc: "asc"; desc: "desc"; }>; }, z.core.$strip>>>; page: z.ZodOptional; }, z.core.$strip>>; subscribe: z.ZodOptional; }, z.core.$strip>>; sync: z.ZodOptional; afterSeq: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_history_request">; requestId: z.ZodString; filter: z.ZodOptional>; projectKeys: z.ZodOptional>; statuses: z.ZodOptional>>; includeArchived: z.ZodOptional; requiresAttention: z.ZodOptional; thinkingOptionId: z.ZodOptional>; }, z.core.$strip>>; search: z.ZodOptional; sort: z.ZodOptional; direction: z.ZodEnum<{ asc: "asc"; desc: "desc"; }>; }, z.core.$strip>>>; page: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_recent_provider_sessions_request">; requestId: z.ZodString; cwd: z.ZodOptional; providers: z.ZodOptional>; since: z.ZodOptional; limit: z.ZodOptional; query: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_workspaces_request">; requestId: z.ZodString; filter: z.ZodOptional; projectId: z.ZodOptional; idPrefix: z.ZodOptional; }, z.core.$strip>>; sort: z.ZodOptional; direction: z.ZodEnum<{ asc: "asc"; desc: "desc"; }>; }, z.core.$strip>>>; page: z.ZodOptional; }, z.core.$strip>>; subscribe: z.ZodOptional; }, z.core.$strip>>; sync: z.ZodOptional; afterSeq: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.list.request">; requestId: z.ZodString; sync: z.ZodOptional; afterSeq: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"delete_agent_request">; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"archive_agent_request">; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"close_items_request">; agentIds: z.ZodDefault>; terminalIds: z.ZodDefault>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"update_agent_request">; agentId: z.ZodString; name: z.ZodOptional; labels: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.rename.request">; projectId: z.ZodString; customName: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.icon.set.request">; projectId: z.ZodString; source: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"automatic">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"upload">; data: z.ZodString; }, z.core.$strip>], "type">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.remove.request">; projectId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.title.set.request">; workspaceId: z.ZodString; title: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.pin.set.request">; workspaceId: z.ZodString; pinned: z.ZodBoolean; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.list.request">; requestId: z.ZodString; subscribe: z.ZodOptional; }, z.core.$strip>>; sync: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.assignment.set.request">; requestId: z.ZodString; workspaceId: z.ZodString; label: z.ZodObject<{ name: z.ZodString; color: z.ZodEnum<{ violet: "violet"; sky: "sky"; emerald: "emerald"; orange: "orange"; pink: "pink"; indigo: "indigo"; teal: "teal"; red: "red"; amber: "amber"; blue: "blue"; }>; }, z.core.$strip>; assigned: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.update.request">; requestId: z.ZodString; name: z.ZodString; newName: z.ZodOptional; color: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.delete.request">; requestId: z.ZodString; name: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.delete.inspect.request">; requestId: z.ZodString; name: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.recovery.inspect.request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.recovery.restore.request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_voice_mode">; enabled: z.ZodBoolean; agentId: z.ZodOptional; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"send_agent_message_request">; requestId: z.ZodString; agentId: z.ZodString; text: z.ZodString; messageId: z.ZodOptional; activeTurnBehavior: z.ZodOptional>; images: z.ZodOptional>>; attachments: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"wait_for_finish_request">; requestId: z.ZodString; agentId: z.ZodString; timeoutMs: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.get_status.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.get_pairing_offer.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.config.reload.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.connect.request">; requestId: z.ZodString; hubUrl: z.ZodString; token: z.ZodString; permissions: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.get_status.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.disconnect.request">; requestId: z.ZodString; force: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.permissions.update.request">; requestId: z.ZodString; grant: z.ZodDefault>>; revoke: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"diagnostics.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.catalog.get.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.list.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.logs.get.request">; requestId: z.ZodString; pluginId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.directory.install.request">; requestId: z.ZodString; path: z.ZodString; id: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.directory.inspect.request">; requestId: z.ZodString; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.install.request">; requestId: z.ZodString; source: z.ZodString; id: z.ZodOptional; ref: z.ZodOptional; pluginPath: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.status.request">; requestId: z.ZodString; pluginId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.request">; requestId: z.ZodString; pluginId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.preview.request">; requestId: z.ZodString; pluginId: z.ZodOptional; target: z.ZodOptional; ref: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; }, z.core.$strip>], "kind">>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.apply.request">; requestId: z.ZodString; proposals: z.ZodArray; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; installationRoot: z.ZodString; revision: z.ZodString; }, z.core.$strip>; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"git">; commit: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; resolved: z.ZodString; integrity: z.ZodString; }, z.core.$strip>], "kind">; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.reload.request">; requestId: z.ZodString; pluginId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.enable.request">; requestId: z.ZodString; pluginId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.disable.request">; requestId: z.ZodString; pluginId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.remove.request">; requestId: z.ZodString; pluginId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.rpc.invoke.request">; requestId: z.ZodString; pluginId: z.ZodString; method: z.ZodString; input: z.ZodUnknown; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.append.request">; requestId: z.ZodString; agentId: z.ZodString; item: z.ZodObject<{ type: z.ZodLiteral<"plugin">; id: z.ZodString; kind: z.ZodString; version: z.ZodNumber; data: z.ZodType>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.get_status.request">; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.reconcile.request">; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.uninstall.request">; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.save_selection.request">; requestId: z.ZodString; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; confirmedRemovals: z.ZodOptional>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.import_legacy_selection.request">; requestId: z.ZodString; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"get_daemon_config_request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_daemon_config_request">; requestId: z.ZodString; config: z.ZodObject<{ relay: z.ZodOptional; }, z.core.$loose>>>; mcp: z.ZodOptional; }, z.core.$loose>>>; browserTools: z.ZodOptional>; }, z.core.$loose>>>; providers: z.ZodOptional; disabledTools: z.ZodOptional>; }, z.core.$strip>>>; enabled: z.ZodOptional>; additionalModels: z.ZodOptional; isDefault: z.ZodOptional; }, z.core.$loose>>>>; }, z.core.$loose>>>>; removeProviders: z.ZodOptional>>; metadataGeneration: z.ZodOptional; thinkingOptionId: z.ZodOptional; }, z.core.$loose>>>>; }, z.core.$loose>>>; autoArchiveAfterMerge: z.ZodOptional>; enableTerminalAgentHooks: z.ZodOptional>; appendSystemPrompt: z.ZodOptional>; terminalProfiles: z.ZodOptional>; icon: z.ZodOptional; }, z.core.$loose>>>>; agentProfiles: z.ZodOptional; color: z.ZodOptional; provider: z.ZodString; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; notes: z.ZodOptional; }, z.core.$loose>>>>; pluginsEnabled: z.ZodOptional>; plugins: z.ZodOptional; path: z.ZodString; enabled: z.ZodOptional; }, z.core.$strict>], "source">>>>; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"read_project_config_request">; requestId: z.ZodString; repoRoot: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"write_project_config_request">; requestId: z.ZodString; repoRoot: z.ZodString; config: z.ZodObject<{ worktree: z.ZodOptional]>>; teardown: z.ZodOptional]>>; terminals: z.ZodOptional; servicePorts: z.ZodOptional; portScript: z.ZodOptional; }, z.core.$strict>>; }, z.core.$loose>>; scripts: z.ZodOptional; command: z.ZodOptional; port: z.ZodOptional; }, z.core.$loose>>>; metadataGeneration: z.ZodOptional; }, z.core.$loose>>>; branchName: z.ZodOptional; }, z.core.$loose>>>; commitMessage: z.ZodOptional; }, z.core.$loose>>>; pullRequest: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; }, z.core.$loose>; expectedRevision: z.ZodNullable>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_start">; dictationId: z.ZodString; format: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_chunk">; dictationId: z.ZodString; seq: z.ZodNumber; audio: z.ZodString; format: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_finish">; dictationId: z.ZodString; finalSeq: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_cancel">; dictationId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"create_agent_request">; idempotencyKey: z.ZodOptional; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; title: z.ZodNullable>; providerOptions: z.ZodOptional>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>; }, z.core.$strip>; env: z.ZodOptional>; workspaceId: z.ZodOptional; callerAgentId: z.ZodOptional; worktreeName: z.ZodOptional; initialPrompt: z.ZodOptional; clientMessageId: z.ZodOptional; outputSchema: z.ZodOptional>; images: z.ZodOptional>>; attachments: z.ZodOptional>>; git: z.ZodOptional; createNewBranch: z.ZodOptional; newBranchName: z.ZodOptional; createWorktree: z.ZodOptional; worktreeSlug: z.ZodOptional; refName: z.ZodOptional; action: z.ZodOptional>; checkoutSource: z.ZodOptional; forge: z.ZodOptional; number: z.ZodNumber; projectPath: z.ZodOptional; }, z.core.$strip>>; githubPrNumber: z.ZodOptional; }, z.core.$strip>>; worktree: z.ZodOptional; newBranch: z.ZodString; base: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-branch">; branch: z.ZodString; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-pr">; prNumber: z.ZodNumber; }, z.core.$strip>], "mode">>; autoArchive: z.ZodOptional; labels: z.ZodDefault>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_provider_models_request">; provider: z.ZodString; cwd: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_provider_modes_request">; provider: z.ZodString; cwd: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_provider_features_request">; draftConfig: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; }, z.core.$strip>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_available_providers_request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"get_providers_snapshot_request">; cwd: z.ZodOptional; ifNoneMatch: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"refresh_providers_snapshot_request">; cwd: z.ZodOptional; providers: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"provider_diagnostic_request">; provider: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"provider.usage.list.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resume_agent_request">; handle: z.ZodType>; overrides: z.ZodOptional; cwd: z.ZodOptional; modeId: z.ZodOptional>; model: z.ZodOptional>; thinkingOptionId: z.ZodOptional>; featureValues: z.ZodOptional>>; title: z.ZodOptional>>; providerOptions: z.ZodOptional>>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>>; systemPrompt: z.ZodOptional>; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>>; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"import_agent_request">; provider: z.ZodOptional; providerId: z.ZodOptional; sessionId: z.ZodOptional; providerHandleId: z.ZodOptional; cwd: z.ZodOptional; workspaceId: z.ZodOptional; labels: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"refresh_agent_request">; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cancel_agent_request">; agentId: z.ZodString; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"shutdown_server_request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"restart_server_request">; reason: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.update.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_timeline_request">; agentId: z.ZodString; requestId: z.ZodString; direction: z.ZodOptional>; cursor: z.ZodOptional>; limit: z.ZodOptional; projection: z.ZodOptional>; mergeWindow: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.search.request">; agentId: z.ZodString; requestId: z.ZodString; query: z.ZodString; cursor: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.list_prompts.request">; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.provider_subagents.list.request">; parentAgentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.provider_subagents.timeline.get.request">; parentAgentId: z.ZodString; subagentId: z.ZodString; requestId: z.ZodString; direction: z.ZodOptional>; cursor: z.ZodOptional>; limit: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.set_subscription.request">; agentIds: z.ZodArray; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.fork_context.request">; agentId: z.ZodString; boundaryCursor: z.ZodOptional>; boundaryMessageId: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_mode_request">; agentId: z.ZodString; modeId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_model_request">; agentId: z.ZodString; modelId: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_thinking_request">; agentId: z.ZodString; thinkingOptionId: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_feature_request">; agentId: z.ZodString; featureId: z.ZodString; value: z.ZodUnknown; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.config.apply.request">; agentId: z.ZodString; config: z.ZodObject<{ modelId: z.ZodOptional>; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional>; featureValues: z.ZodOptional>; }, z.core.$strip>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.detach.request">; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.rewind.request">; agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<{ conversation: "conversation"; files: "files"; both: "both"; }>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_permission_response">; agentId: z.ZodString; requestId: z.ZodString; response: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_status_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.diff.get.request">; cwd: z.ZodString; compare: z.ZodObject<{ mode: z.ZodEnum<{ uncommitted: "uncommitted"; base: "base"; }>; baseRef: z.ZodOptional; ignoreWhitespace: z.ZodOptional; }, z.core.$strip>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscribe_checkout_diff_request">; subscriptionId: z.ZodOptional; cwd: z.ZodString; compare: z.ZodObject<{ mode: z.ZodEnum<{ uncommitted: "uncommitted"; base: "base"; }>; baseRef: z.ZodOptional; ignoreWhitespace: z.ZodOptional; }, z.core.$strip>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"unsubscribe_checkout_diff_request">; subscriptionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_commit_request">; cwd: z.ZodString; message: z.ZodOptional; addAll: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_merge_request">; cwd: z.ZodString; baseRef: z.ZodOptional; strategy: z.ZodOptional>; requireCleanTarget: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_merge_from_base_request">; cwd: z.ZodString; baseRef: z.ZodOptional; requireCleanTarget: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pull_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_push_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.refresh.request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.discard_changes.request">; cwd: z.ZodString; paths: z.ZodArray; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_create_request">; cwd: z.ZodString; title: z.ZodOptional; body: z.ZodOptional; baseRef: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_merge_request">; cwd: z.ZodString; mergeMethod: z.ZodEnum<{ merge: "merge"; squash: "squash"; rebase: "rebase"; }>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.forge.set_auto_merge.request">; cwd: z.ZodString; enabled: z.ZodBoolean; mergeMethod: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.github.set_auto_merge.request">; cwd: z.ZodString; enabled: z.ZodBoolean; mergeMethod: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.commits.list.request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.commits.file_diff.request">; cwd: z.ZodString; sha: z.ZodString; path: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; repoOwner: z.ZodOptional; repoName: z.ZodOptional; checkRunId: z.ZodOptional; workflowRunId: z.ZodOptional; changeRequestNumber: z.ZodOptional; requestId: z.ZodString; type: z.ZodLiteral<"checkout.forge.get_check_details.request">; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; repoOwner: z.ZodOptional; repoName: z.ZodOptional; checkRunId: z.ZodOptional; workflowRunId: z.ZodOptional; changeRequestNumber: z.ZodOptional; requestId: z.ZodString; type: z.ZodLiteral<"checkout.github.get_check_details.request">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_status_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"pull_request_timeline_request">; cwd: z.ZodString; prNumber: z.ZodNumber; repoOwner: z.ZodString; repoName: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_switch_branch_request">; cwd: z.ZodString; branch: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.rename_branch.request">; cwd: z.ZodString; branch: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stash_save_request">; cwd: z.ZodString; branch: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stash_pop_request">; cwd: z.ZodString; stashIndex: z.ZodNumber; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stash_list_request">; cwd: z.ZodString; paseoOnly: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"validate_branch_request">; cwd: z.ZodString; branchName: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"branch_suggestions_request">; cwd: z.ZodString; query: z.ZodOptional; limit: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"forge.search.request">; cwd: z.ZodString; query: z.ZodString; limit: z.ZodOptional; kinds: z.ZodOptional>>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_search_request">; cwd: z.ZodString; query: z.ZodString; limit: z.ZodOptional; kinds: z.ZodOptional>>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"directory_suggestions_request">; query: z.ZodString; cwd: z.ZodOptional; includeFiles: z.ZodOptional; includeDirectories: z.ZodOptional; matchMode: z.ZodOptional>; limit: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"paseo_worktree_list_request">; cwd: z.ZodOptional; repoRoot: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"paseo_worktree_archive_request">; worktreePath: z.ZodOptional; repoRoot: z.ZodOptional; branchName: z.ZodOptional; workspaceId: z.ZodOptional; scope: z.ZodDefault>>; deleteWorktreeFromDisk: z.ZodDefault>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"create_paseo_worktree_request">; cwd: z.ZodString; projectId: z.ZodOptional; worktreeSlug: z.ZodOptional; nameContext: z.ZodOptional; attachments: z.ZodOptional>>>; firstAgentContext: z.ZodOptional; attachments: z.ZodOptional>>; }, z.core.$strip>>; refName: z.ZodOptional; action: z.ZodOptional>; checkoutSource: z.ZodOptional; forge: z.ZodOptional; number: z.ZodNumber; projectPath: z.ZodOptional; }, z.core.$strip>>; githubPrNumber: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace_setup_status_request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.setup.run.request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_available_editors_request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"open_in_editor_request">; path: z.ZodString; editorId: z.ZodString; mode: z.ZodOptional>; cwd: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"open_project_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.add.request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.create_directory.request">; parentPath: z.ZodString; name: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.github.search_repositories.request">; query: z.ZodString; limit: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.github.clone.request">; repo: z.ZodString; cloneProtocol: z.ZodOptional>; targetDirectory: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"archive_workspace_request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.create.request">; workspaceId: z.ZodOptional; agent: z.ZodOptional; env: z.ZodOptional>; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; title: z.ZodNullable>; providerOptions: z.ZodOptional>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>; }, z.core.$strip>; clientMessageId: z.ZodOptional; labels: z.ZodDefault>; attachments: z.ZodOptional; mimeType: z.ZodLiteral<"application/paseo-forge-change-request">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"forge_issue">; mimeType: z.ZodLiteral<"application/paseo-forge-issue">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_pr">; mimeType: z.ZodLiteral<"application/github-pr">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_issue">; mimeType: z.ZodLiteral<"application/github-issue">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; }, z.core.$strip>, z.ZodPipe; mimeType: z.ZodLiteral<"text/plain">; contextKind: z.ZodOptional; title: z.ZodOptional>; text: z.ZodString; externalResource: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ contextKind?: string | undefined; type: "text"; mimeType: "text/plain"; text: string; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }, { type: "text"; mimeType: "text/plain"; text: string; contextKind?: string | undefined; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }>>, z.ZodObject<{ type: z.ZodLiteral<"review">; mimeType: z.ZodLiteral<"application/paseo-review">; cwd: z.ZodString; mode: z.ZodEnum<{ uncommitted: "uncommitted"; base: "base"; }>; baseRef: z.ZodOptional>; comments: z.ZodArray; lineNumber: z.ZodNumber; body: z.ZodString; context: z.ZodObject<{ hunkHeader: z.ZodString; targetLine: z.ZodObject<{ oldLineNumber: z.ZodNullable; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>; lines: z.ZodArray; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"uploaded_file">; id: z.ZodString; fileName: z.ZodString; mimeType: z.ZodString; size: z.ZodNumber; path: z.ZodString; }, z.core.$strip>], "type">>>; images: z.ZodOptional>>; callerAgentId: z.ZodOptional; initialPrompt: z.ZodOptional; outputSchema: z.ZodOptional>; autoArchive: z.ZodOptional; }, z.core.$strip>>; subscribe: z.ZodOptional; requestId: z.ZodString; idempotencyKey: z.ZodOptional; title: z.ZodOptional; firstAgentContext: z.ZodOptional; attachments: z.ZodOptional>>; }, z.core.$strip>>; source: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"directory">; path: z.ZodString; projectId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"worktree">; cwd: z.ZodOptional; projectId: z.ZodOptional; action: z.ZodOptional>; refName: z.ZodOptional; baseBranch: z.ZodOptional; branchName: z.ZodOptional; checkoutSource: z.ZodOptional; forge: z.ZodOptional; number: z.ZodNumber; projectPath: z.ZodOptional; }, z.core.$strip>>; githubPrNumber: z.ZodOptional; worktreeSlug: z.ZodOptional; }, z.core.$strip>], "kind">; }, z.core.$strip>, z.ZodObject<{ idempotencyKey: z.ZodOptional; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; title: z.ZodNullable>; providerOptions: z.ZodOptional>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>; }, z.core.$strip>; env: z.ZodOptional>; workspaceId: z.ZodOptional; callerAgentId: z.ZodOptional; worktreeName: z.ZodOptional; initialPrompt: z.ZodOptional; clientMessageId: z.ZodOptional; outputSchema: z.ZodOptional>; images: z.ZodOptional>>; git: z.ZodOptional; createNewBranch: z.ZodOptional; newBranchName: z.ZodOptional; createWorktree: z.ZodOptional; worktreeSlug: z.ZodOptional; refName: z.ZodOptional; action: z.ZodOptional>; checkoutSource: z.ZodOptional; forge: z.ZodOptional; number: z.ZodNumber; projectPath: z.ZodOptional; }, z.core.$strip>>; githubPrNumber: z.ZodOptional; }, z.core.$strip>>; worktree: z.ZodOptional; newBranch: z.ZodString; base: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-branch">; branch: z.ZodString; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-pr">; prNumber: z.ZodNumber; }, z.core.$strip>], "mode">>; autoArchive: z.ZodOptional; labels: z.ZodDefault>; requestId: z.ZodString; type: z.ZodLiteral<"agent.create.request">; agentId: z.ZodOptional; attachments: z.ZodOptional; mimeType: z.ZodLiteral<"application/paseo-forge-change-request">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"forge_issue">; mimeType: z.ZodLiteral<"application/paseo-forge-issue">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_pr">; mimeType: z.ZodLiteral<"application/github-pr">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_issue">; mimeType: z.ZodLiteral<"application/github-issue">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; }, z.core.$strip>, z.ZodPipe; mimeType: z.ZodLiteral<"text/plain">; contextKind: z.ZodOptional; title: z.ZodOptional>; text: z.ZodString; externalResource: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ contextKind?: string | undefined; type: "text"; mimeType: "text/plain"; text: string; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }, { type: "text"; mimeType: "text/plain"; text: string; contextKind?: string | undefined; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }>>, z.ZodObject<{ type: z.ZodLiteral<"review">; mimeType: z.ZodLiteral<"application/paseo-review">; cwd: z.ZodString; mode: z.ZodEnum<{ uncommitted: "uncommitted"; base: "base"; }>; baseRef: z.ZodOptional>; comments: z.ZodArray; lineNumber: z.ZodNumber; body: z.ZodString; context: z.ZodObject<{ hunkHeader: z.ZodString; targetLine: z.ZodObject<{ oldLineNumber: z.ZodNullable; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>; lines: z.ZodArray; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"uploaded_file">; id: z.ZodString; fileName: z.ZodString; mimeType: z.ZodString; size: z.ZodNumber; path: z.ZodString; }, z.core.$strip>], "type">>>; subscribe: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"creation.subscribe.request">; requestId: z.ZodString; kind: z.ZodEnum<{ agent: "agent"; workspace: "workspace"; }>; idempotencyKey: z.ZodString; subscribe: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.clear_attention.request">; workspaceId: z.ZodUnion]>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.mark_unread.request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file_explorer_request">; cwd: z.ZodString; path: z.ZodOptional; mode: z.ZodEnum<{ file: "file"; list: "list"; }>; requestId: z.ZodString; acceptBinary: z.ZodOptional; maxBytes: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.subscribe.request">; cwd: z.ZodString; path: z.ZodString; subscriptionId: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.unsubscribe.request">; subscriptionId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.write.request">; cwd: z.ZodString; path: z.ZodString; content: z.ZodString; expectedModifiedAt: z.ZodString; expectedRevision: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.create.request">; cwd: z.ZodString; parentPath: z.ZodString; name: z.ZodString; kind: z.ZodEnum<{ file: "file"; directory: "directory"; }>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.rename.request">; cwd: z.ZodString; path: z.ZodString; name: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.duplicate.request">; cwd: z.ZodString; path: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.delete.request">; cwd: z.ZodString; path: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project_icon_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.icon.get.request">; projectId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file_download_token_request">; cwd: z.ZodString; path: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file.upload.request">; fileName: z.ZodString; mimeType: z.ZodString; size: z.ZodNumber; modifiedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"clear_agent_attention">; agentId: z.ZodUnion]>; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"client_heartbeat">; deviceType: z.ZodEnum<{ web: "web"; mobile: "mobile"; }>; focusedAgentId: z.ZodNullable; focusedTerminalId: z.ZodDefault>>; lastActivityAt: z.ZodString; appVisible: z.ZodBoolean; appVisibilityChangedAt: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"ping">; requestId: z.ZodString; clientSentAt: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_commands_request">; agentId: z.ZodString; draftConfig: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"register_push_token">; token: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"push.unregister.request">; token: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_terminals_request">; cwd: z.ZodOptional; workspaceId: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscribe_terminals_request">; requestId: z.ZodOptional; cwd: z.ZodString; workspaceId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"unsubscribe_terminals_request">; cwd: z.ZodString; workspaceId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"create_terminal_request">; cwd: z.ZodString; workspaceId: z.ZodOptional; name: z.ZodOptional; agentId: z.ZodOptional; command: z.ZodOptional; args: z.ZodOptional>; size: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal.rename.request">; terminalId: z.ZodString; title: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"start_workspace_script_request">; workspaceId: z.ZodString; scriptName: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.script.list.request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.script.start.request">; workspaceId: z.ZodString; scriptName: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.script.stop.request">; workspaceId: z.ZodString; scriptName: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscribe_terminal_request">; terminalId: z.ZodString; requestId: z.ZodString; restore: z.ZodOptional; scrollbackLines: z.ZodOptional; size: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"unsubscribe_terminal_request">; terminalId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal_input">; terminalId: z.ZodString; message: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"input">; data: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resize">; rows: z.ZodNumber; cols: z.ZodNumber; intent: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"mouse">; row: z.ZodNumber; col: z.ZodNumber; button: z.ZodNumber; action: z.ZodEnum<{ down: "down"; up: "up"; move: "move"; }>; }, z.core.$strip>], "type">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"kill_terminal_request">; terminalId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"capture_terminal_request">; terminalId: z.ZodString; start: z.ZodOptional; end: z.ZodOptional; stripAnsi: z.ZodDefault; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/create">; requestId: z.ZodString; name: z.ZodString; purpose: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/list">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/inspect">; requestId: z.ZodString; room: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/delete">; requestId: z.ZodString; room: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/post">; requestId: z.ZodString; room: z.ZodString; body: z.ZodString; authorAgentId: z.ZodOptional; replyToMessageId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/read">; requestId: z.ZodString; room: z.ZodString; limit: z.ZodOptional; since: z.ZodOptional; authorAgentId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/wait">; requestId: z.ZodString; room: z.ZodString; afterMessageId: z.ZodOptional; timeoutMs: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/create">; requestId: z.ZodString; prompt: z.ZodString; name: z.ZodOptional; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"self">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; maxRuns: z.ZodOptional; expiresAt: z.ZodOptional; runOnCreate: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/list">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/inspect">; requestId: z.ZodString; scheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/logs">; requestId: z.ZodString; scheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/pause">; requestId: z.ZodString; scheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/resume">; requestId: z.ZodString; scheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/delete">; requestId: z.ZodString; scheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/run-once">; requestId: z.ZodString; scheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/update">; requestId: z.ZodString; scheduleId: z.ZodString; name: z.ZodOptional>; prompt: z.ZodOptional; cadence: z.ZodOptional; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">>; newAgentConfig: z.ZodOptional; model: z.ZodOptional>; modeId: z.ZodOptional>; thinkingOptionId: z.ZodOptional>; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; cwd: z.ZodOptional; }, z.core.$strip>>; maxRuns: z.ZodOptional>; expiresAt: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/run">; requestId: z.ZodString; prompt: z.ZodString; cwd: z.ZodString; provider: z.ZodOptional; model: z.ZodOptional; modeId: z.ZodOptional; workerProvider: z.ZodOptional; workerModel: z.ZodOptional; verifierProvider: z.ZodOptional; verifierModel: z.ZodOptional; verifierModeId: z.ZodOptional; verifyPrompt: z.ZodOptional; verifyChecks: z.ZodOptional>; archive: z.ZodOptional; name: z.ZodOptional; sleepMs: z.ZodOptional; maxIterations: z.ZodOptional; maxTimeMs: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/list">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/inspect">; requestId: z.ZodString; id: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/logs">; requestId: z.ZodString; id: z.ZodString; afterSeq: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/stop">; requestId: z.ZodString; id: z.ZodString; }, z.core.$strip>], "type">; }, z.core.$strip>; export declare const WSSessionOutboundSchema: z.ZodObject<{ type: z.ZodLiteral<"session">; message: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"browser.host.register.response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscription.release.response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"session.events.set_subscription.response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.create.response">; payload: z.ZodObject<{ requestId: z.ZodString; executionId: z.ZodString; agentId: z.ZodNullable; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; success: z.ZodBoolean; toolPolicyApplied: z.ZodOptional>; error: z.ZodNullable; provider: z.ZodString; issues: z.ZodArray>; message: z.ZodString; }, z.core.$strip>>; message: z.ZodString; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"tool_policy_unsupported">; provider: z.ZodString; message: z.ZodString; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"create_failed">; message: z.ZodString; }, z.core.$strip>], "code">>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.validate.response">; payload: z.ZodObject<{ requestId: z.ZodString; valid: z.ZodBoolean; issues: z.ZodArray>; message: z.ZodString; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.control.response">; payload: z.ZodObject<{ requestId: z.ZodString; executionId: z.ZodString; action: z.ZodEnum<{ archive: "archive"; interrupt: "interrupt"; }>; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.update">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; executionId: z.ZodString; agentId: z.ZodString; agent: z.ZodObject<{ id: z.ZodString; provider: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.stream">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; executionId: z.ZodString; agentId: z.ZodString; event: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"thread_started">; sessionId: z.ZodString; provider: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_started">; provider: z.ZodString; turnId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_completed">; provider: z.ZodString; turnId: z.ZodOptional; usage: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_failed">; provider: z.ZodString; turnId: z.ZodOptional; error: z.ZodString; code: z.ZodOptional; diagnostic: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_canceled">; provider: z.ZodString; turnId: z.ZodOptional; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"timeline">; provider: z.ZodString; item: z.ZodType>; turnId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"permission_requested">; provider: z.ZodString; request: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"permission_resolved">; provider: z.ZodString; requestId: z.ZodString; resolution: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"attention_required">; provider: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; timestamp: z.ZodString; shouldNotify: z.ZodBoolean; notification: z.ZodOptional; agentId: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>], "type">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"browser.automation.execute.request">; subscriptionId: z.ZodOptional; requestId: z.ZodString; agentId: z.ZodOptional; cwd: z.ZodOptional; workspaceId: z.ZodOptional; command: z.ZodDiscriminatedUnion<[z.ZodObject<{ command: z.ZodLiteral<"list_tabs">; args: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"new_tab">; args: z.ZodDefault; }, z.core.$strict>>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"snapshot">; args: z.ZodObject<{ browserId: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"click">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodString; button: z.ZodDefault>; doubleClick: z.ZodDefault; modifiers: z.ZodDefault>>; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"fill">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodString; value: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"wait">; args: z.ZodObject<{ browserId: z.ZodString; text: z.ZodOptional; url: z.ZodOptional; timeoutMs: z.ZodOptional; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"type">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodOptional; text: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"keypress">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodOptional; key: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"navigate">; args: z.ZodObject<{ browserId: z.ZodString; url: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"back">; args: z.ZodObject<{ browserId: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"forward">; args: z.ZodObject<{ browserId: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"reload">; args: z.ZodObject<{ browserId: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"screenshot">; args: z.ZodObject<{ browserId: z.ZodString; fullPage: z.ZodDefault; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"upload">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodString; filePaths: z.ZodArray; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"select">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodString; value: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"hover">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"drag">; args: z.ZodObject<{ browserId: z.ZodString; sourceRef: z.ZodString; targetRef: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"logs">; args: z.ZodObject<{ browserId: z.ZodString; maxEntries: z.ZodDefault; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"evaluate">; args: z.ZodObject<{ browserId: z.ZodString; function: z.ZodString; ref: z.ZodOptional; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"scroll">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodOptional; deltaX: z.ZodNumber; deltaY: z.ZodNumber; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"resize">; args: z.ZodObject<{ browserId: z.ZodString; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"close_tab">; args: z.ZodObject<{ browserId: z.ZodString; }, z.core.$strict>; }, z.core.$strip>], "command">; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"plugin.catalog.get.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.logs.get.response">; payload: z.ZodObject<{ requestId: z.ZodString; pluginId: z.ZodString; entries: z.ZodArray; message: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.directory.install.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugin: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.directory.inspect.response">; payload: z.ZodObject<{ requestId: z.ZodString; id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.install.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugin: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.status.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; path: z.ZodString; remote: z.ZodOptional; ref: z.ZodOptional; currentCommit: z.ZodOptional; latestCommit: z.ZodOptional; commitsBehind: z.ZodOptional; updateAvailable: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.preview.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray; current: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; target: z.ZodOptional; commit: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; resolved: z.ZodString; integrity: z.ZodString; }, z.core.$strip>], "kind">>; links: z.ZodArray; proposal: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; installationRoot: z.ZodString; revision: z.ZodString; }, z.core.$strip>; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"git">; commit: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; resolved: z.ZodString; integrity: z.ZodString; }, z.core.$strip>], "kind">; }, z.core.$strip>>; error: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.apply.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray; plugin: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>>; error: z.ZodOptional; warning: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.reload.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugin: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.enable.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugin: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.disable.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugin: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.remove.response">; payload: z.ZodObject<{ requestId: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.rpc.invoke.response">; payload: z.ZodObject<{ requestId: z.ZodString; output: z.ZodUnknown; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.append.response">; payload: z.ZodObject<{ requestId: z.ZodString; seq: z.ZodNumber; epoch: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.get_status.response">; payload: z.ZodObject<{ state: z.ZodEnum<{ "not-installed": "not-installed"; "up-to-date": "up-to-date"; drift: "drift"; }>; ops: z.ZodArray; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"update">; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"delete">; name: z.ZodString; }, z.core.$strict>], "kind">>; available: z.ZodArray; installed: z.ZodArray; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.reconcile.response">; payload: z.ZodObject<{ state: z.ZodEnum<{ "not-installed": "not-installed"; "up-to-date": "up-to-date"; drift: "drift"; }>; ops: z.ZodArray; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"update">; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"delete">; name: z.ZodString; }, z.core.$strict>], "kind">>; available: z.ZodArray; installed: z.ZodArray; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.uninstall.response">; payload: z.ZodObject<{ state: z.ZodEnum<{ "not-installed": "not-installed"; "up-to-date": "up-to-date"; drift: "drift"; }>; ops: z.ZodArray; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"update">; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"delete">; name: z.ZodString; }, z.core.$strict>], "kind">>; available: z.ZodArray; installed: z.ZodArray; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.save_selection.response">; payload: z.ZodObject<{ state: z.ZodEnum<{ "not-installed": "not-installed"; "up-to-date": "up-to-date"; drift: "drift"; }>; ops: z.ZodArray; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"update">; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"delete">; name: z.ZodString; }, z.core.$strict>], "kind">>; available: z.ZodArray; installed: z.ZodArray; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; confirmationRequired: z.ZodNullable; }, z.core.$strict>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.import_legacy_selection.response">; payload: z.ZodObject<{ requestId: z.ZodString; imported: z.ZodBoolean; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"activity_log">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; id: z.ZodString; timestamp: z.ZodCoercedDate; type: z.ZodEnum<{ error: "error"; tool_call: "tool_call"; transcript: "transcript"; assistant: "assistant"; tool_result: "tool_result"; system: "system"; }>; content: z.ZodString; metadata: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"assistant_chunk">; payload: z.ZodObject<{ chunk: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio_output">; payload: z.ZodObject<{ audio: z.ZodString; format: z.ZodString; id: z.ZodString; isVoiceMode: z.ZodBoolean; groupId: z.ZodOptional; chunkIndex: z.ZodOptional; isLastChunk: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"transcription_result">; payload: z.ZodObject<{ text: z.ZodString; language: z.ZodOptional; duration: z.ZodOptional; requestId: z.ZodString; avgLogprob: z.ZodOptional; isLowConfidence: z.ZodOptional; byteLength: z.ZodOptional; format: z.ZodOptional; debugRecordingPath: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"voice_input_state">; payload: z.ZodObject<{ isSpeaking: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_ack">; payload: z.ZodObject<{ dictationId: z.ZodString; ackSeq: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_finish_accepted">; payload: z.ZodObject<{ dictationId: z.ZodString; timeoutMs: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_partial">; payload: z.ZodObject<{ dictationId: z.ZodString; text: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_final">; payload: z.ZodObject<{ dictationId: z.ZodString; text: z.ZodString; debugRecordingPath: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_error">; payload: z.ZodObject<{ dictationId: z.ZodString; error: z.ZodString; retryable: z.ZodBoolean; reasonCode: z.ZodOptional; missingModelIds: z.ZodOptional>; debugRecordingPath: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"status">; payload: z.ZodObject<{ status: z.ZodString; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"pong">; payload: z.ZodObject<{ requestId: z.ZodString; clientSentAt: z.ZodOptional; serverReceivedAt: z.ZodNumber; serverSentAt: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"push.unregister.response">; payload: z.ZodObject<{ requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"rpc_error">; payload: z.ZodObject<{ requestId: z.ZodString; requestType: z.ZodOptional; error: z.ZodString; code: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"artifact">; payload: z.ZodObject<{ type: z.ZodEnum<{ image: "image"; code: "code"; markdown: "markdown"; diff: "diff"; }>; id: z.ZodString; title: z.ZodString; content: z.ZodString; isBase64: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"upsert">; agent: z.ZodObject<{ id: z.ZodString; provider: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>>; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"remove">; agentId: z.ZodString; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>], "kind">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace_update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"upsert">; workspace: z.ZodPipe>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"remove">; id: z.ZodString; emptyProject: z.ZodOptional; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>; removedProjectId: z.ZodOptional; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>], "kind">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodOptional; labels: z.ZodArray; }, z.core.$strip>>; sync: z.ZodObject<{ mode: z.ZodEnum<{ snapshot: "snapshot"; changes: "changes"; }>; generation: z.ZodString; headSeq: z.ZodNumber; removals: z.ZodArray>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"upsert">; label: z.ZodObject<{ name: z.ZodString; color: z.ZodEnum<{ violet: "violet"; sky: "sky"; emerald: "emerald"; orange: "orange"; pink: "pink"; indigo: "indigo"; teal: "teal"; red: "red"; amber: "amber"; blue: "blue"; }>; }, z.core.$strip>; previousName: z.ZodOptional; generation: z.ZodString; seq: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"remove">; name: z.ZodString; generation: z.ZodString; seq: z.ZodNumber; }, z.core.$strip>], "kind">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.assignment.set.response">; payload: z.ZodObject<{ requestId: z.ZodString; label: z.ZodObject<{ name: z.ZodString; color: z.ZodEnum<{ violet: "violet"; sky: "sky"; emerald: "emerald"; orange: "orange"; pink: "pink"; indigo: "indigo"; teal: "teal"; red: "red"; amber: "amber"; blue: "blue"; }>; }, z.core.$strip>; workspaceLabels: z.ZodArray; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.update.response">; payload: z.ZodObject<{ requestId: z.ZodString; label: z.ZodObject<{ name: z.ZodString; color: z.ZodEnum<{ violet: "violet"; sky: "sky"; emerald: "emerald"; orange: "orange"; pink: "pink"; indigo: "indigo"; teal: "teal"; red: "red"; amber: "amber"; blue: "blue"; }>; }, z.core.$strip>; affectedWorkspaceCount: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.delete.response">; payload: z.ZodObject<{ requestId: z.ZodString; affectedWorkspaceCount: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.delete.inspect.response">; payload: z.ZodObject<{ requestId: z.ZodString; affectedWorkspaceCount: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"upsert">; project: z.ZodObject<{ projectId: z.ZodString; projectKey: z.ZodOptional; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"remove">; projectId: z.ZodString; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>], "kind">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; projects: z.ZodArray; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>; sync: z.ZodOptional; reason: z.ZodOptional>; removals: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"script_status_update">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; workspaceId: z.ZodString; scripts: z.ZodArray>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace_setup_progress">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; workspaceId: z.ZodString; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; blocked: "blocked"; }>; detail: z.ZodObject<{ type: z.ZodLiteral<"worktree_setup">; worktreePath: z.ZodString; branchName: z.ZodString; log: z.ZodString; commands: z.ZodArray>; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; }>; exitCode: z.ZodNullable; durationMs: z.ZodOptional; }, z.core.$strip>>; truncated: z.ZodOptional; }, z.core.$strip>; error: z.ZodNullable; blockedSource: z.ZodOptional; forge: z.ZodString; number: z.ZodNumber; headRepository: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace_setup_status_response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; snapshot: z.ZodNullable; detail: z.ZodObject<{ type: z.ZodLiteral<"worktree_setup">; worktreePath: z.ZodString; branchName: z.ZodString; log: z.ZodString; commands: z.ZodArray>; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; }>; exitCode: z.ZodNullable; durationMs: z.ZodOptional; }, z.core.$strip>>; truncated: z.ZodOptional; }, z.core.$strip>; error: z.ZodNullable; blockedSource: z.ZodOptional; forge: z.ZodString; number: z.ZodNumber; headRepository: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.setup.run.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; started: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_stream">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentId: z.ZodString; event: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"thread_started">; sessionId: z.ZodString; provider: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_started">; provider: z.ZodString; turnId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_completed">; provider: z.ZodString; turnId: z.ZodOptional; usage: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_failed">; provider: z.ZodString; turnId: z.ZodOptional; error: z.ZodString; code: z.ZodOptional; diagnostic: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_canceled">; provider: z.ZodString; turnId: z.ZodOptional; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"timeline">; provider: z.ZodString; item: z.ZodType>; turnId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"permission_requested">; provider: z.ZodString; request: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"permission_resolved">; provider: z.ZodString; requestId: z.ZodString; resolution: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"attention_required">; provider: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; timestamp: z.ZodString; shouldNotify: z.ZodBoolean; notification: z.ZodOptional; agentId: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>], "type">; timestamp: z.ZodString; seq: z.ZodOptional; epoch: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_status">; payload: z.ZodObject<{ agentId: z.ZodString; status: z.ZodString; info: z.ZodObject<{ id: z.ZodString; provider: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agents_response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodOptional>; entries: z.ZodArray; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; project: z.ZodObject<{ projectKey: z.ZodString; projectName: z.ZodString; workspaceName: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>; searchScore: z.ZodOptional; searchMatches: z.ZodOptional; ranges: z.ZodArray>; }, z.core.$strip>>>; syncSeq: z.ZodOptional; }, z.core.$strip>>; pageInfo: z.ZodObject<{ nextCursor: z.ZodNullable; prevCursor: z.ZodNullable; hasMore: z.ZodBoolean; }, z.core.$strip>; sync: z.ZodOptional; reason: z.ZodOptional>; removals: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_history_response">; payload: z.ZodObject<{ requestId: z.ZodString; entries: z.ZodArray; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; project: z.ZodObject<{ projectKey: z.ZodString; projectName: z.ZodString; workspaceName: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>; searchScore: z.ZodOptional; searchMatches: z.ZodOptional; ranges: z.ZodArray>; }, z.core.$strip>>>; syncSeq: z.ZodOptional; }, z.core.$strip>>; pageInfo: z.ZodObject<{ nextCursor: z.ZodNullable; prevCursor: z.ZodNullable; hasMore: z.ZodBoolean; }, z.core.$strip>; searchTruncated: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_recent_provider_sessions_response">; payload: z.ZodObject<{ requestId: z.ZodString; entries: z.ZodArray; firstPromptPreview: z.ZodNullable; lastPromptPreview: z.ZodNullable; lastActivityAt: z.ZodString; }, z.core.$strip>>; filteredAlreadyImportedCount: z.ZodOptional; providerErrors: z.ZodOptional>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_workspaces_response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodOptional>; entries: z.ZodArray>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; emptyProjects: z.ZodDefault; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>>>; pageInfo: z.ZodObject<{ nextCursor: z.ZodNullable; prevCursor: z.ZodNullable; hasMore: z.ZodBoolean; }, z.core.$strip>; sync: z.ZodOptional; reason: z.ZodOptional>; removals: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.add.response">; payload: z.ZodObject<{ requestId: z.ZodString; project: z.ZodNullable; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; errorCode: z.ZodCatch>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.create_directory.response">; payload: z.ZodObject<{ requestId: z.ZodString; directoryPath: z.ZodNullable; project: z.ZodNullable; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; errorCode: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"open_project_response">; payload: z.ZodObject<{ requestId: z.ZodString; workspace: z.ZodNullable>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; error: z.ZodNullable; errorCode: z.ZodCatch>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.github.search_repositories.response">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"success">; requestId: z.ZodString; repositories: z.ZodArray; visibility: z.ZodEnum<{ public: "public"; private: "private"; internal: "internal"; }>; updatedAt: z.ZodString; cloneUrl: z.ZodString; }, z.core.$strip>>; available: z.ZodLiteral; error: z.ZodNull; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"unavailable">; requestId: z.ZodString; repositories: z.ZodArray; visibility: z.ZodEnum<{ public: "public"; private: "private"; internal: "internal"; }>; updatedAt: z.ZodString; cloneUrl: z.ZodString; }, z.core.$strip>>; reason: z.ZodLiteral<"gh_missing">; available: z.ZodLiteral; error: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"unauthenticated">; requestId: z.ZodString; repositories: z.ZodArray; visibility: z.ZodEnum<{ public: "public"; private: "private"; internal: "internal"; }>; updatedAt: z.ZodString; cloneUrl: z.ZodString; }, z.core.$strip>>; available: z.ZodLiteral; error: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; requestId: z.ZodString; repositories: z.ZodArray; visibility: z.ZodEnum<{ public: "public"; private: "private"; internal: "internal"; }>; updatedAt: z.ZodString; cloneUrl: z.ZodString; }, z.core.$strip>>; available: z.ZodLiteral; error: z.ZodString; }, z.core.$strip>], "status">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.github.clone.response">; payload: z.ZodObject<{ requestId: z.ZodString; repo: z.ZodString; checkoutPath: z.ZodNullable; project: z.ZodNullable; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"start_workspace_script_response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; scriptName: z.ZodString; terminalId: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.script.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; scriptName: z.ZodOptional; script: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; scripts: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.script.start.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; scriptName: z.ZodOptional; script: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; scripts: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.script.stop.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; scriptName: z.ZodOptional; script: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; scripts: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_available_editors_response">; payload: z.ZodObject<{ requestId: z.ZodString; editors: z.ZodArray>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"open_in_editor_response">; payload: z.ZodObject<{ requestId: z.ZodString; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"archive_workspace_response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; archivedAt: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_response">; payload: z.ZodObject<{ requestId: z.ZodString; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_timeline_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; direction: z.ZodEnum<{ tail: "tail"; before: "before"; after: "after"; }>; projection: z.ZodEnum<{ projected: "projected"; canonical: "canonical"; }>; epoch: z.ZodString; reset: z.ZodBoolean; staleCursor: z.ZodBoolean; gap: z.ZodBoolean; window: z.ZodObject<{ minSeq: z.ZodNumber; maxSeq: z.ZodNumber; nextSeq: z.ZodNumber; }, z.core.$strip>; startCursor: z.ZodNullable>; endCursor: z.ZodNullable>; hasOlder: z.ZodBoolean; hasNewer: z.ZodBoolean; mergeWindow: z.ZodOptional; entries: z.ZodArray>; turnId: z.ZodOptional; timestamp: z.ZodString; seqStart: z.ZodNumber; seqEnd: z.ZodNumber; sourceSeqRanges: z.ZodArray>; collapsed: z.ZodArray>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.replacement">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentId: z.ZodString; epoch: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.search.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; epoch: z.ZodString; locations: z.ZodArray; count: z.ZodOptional; }, z.core.$strip>>; nextCursor: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.list_prompts.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; epoch: z.ZodString; prompts: z.ZodArray>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.provider_subagents.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; parentAgentId: z.ZodString; subagents: z.ZodArray>; provider: z.ZodString; title: z.ZodNullable; description: z.ZodNullable; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; canceled: "canceled"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; toolCallId: z.ZodNullable; cwd: z.ZodOptional>; subtitle: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.provider_subagents.timeline.get.response">; payload: z.ZodObject<{ requestId: z.ZodString; parentAgentId: z.ZodString; subagentId: z.ZodString; provider: z.ZodNullable; direction: z.ZodEnum<{ tail: "tail"; before: "before"; after: "after"; }>; epoch: z.ZodString; projection: z.ZodOptional>; startCursor: z.ZodOptional>>; endCursor: z.ZodOptional>>; reset: z.ZodBoolean; staleCursor: z.ZodBoolean; gap: z.ZodBoolean; window: z.ZodObject<{ minSeq: z.ZodNumber; maxSeq: z.ZodNumber; nextSeq: z.ZodNumber; }, z.core.$strip>; hasOlder: z.ZodBoolean; hasNewer: z.ZodBoolean; rows: z.ZodArray>; timestamp: z.ZodString; seq: z.ZodNumber; seqStart: z.ZodOptional; seqEnd: z.ZodOptional; sourceSeqRanges: z.ZodOptional>>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.provider_subagents.update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"upsert">; subagent: z.ZodObject<{ id: z.ZodString; parentAgentId: z.ZodString; parentSubagentId: z.ZodOptional>; provider: z.ZodString; title: z.ZodNullable; description: z.ZodNullable; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; canceled: "canceled"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; toolCallId: z.ZodNullable; cwd: z.ZodOptional>; subtitle: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"timeline">; parentAgentId: z.ZodString; subagentId: z.ZodString; provider: z.ZodString; item: z.ZodType>; timestamp: z.ZodString; seq: z.ZodNumber; epoch: z.ZodString; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"remove">; parentAgentId: z.ZodString; subagentId: z.ZodString; }, z.core.$strip>], "kind">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.set_subscription.response">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentIds: z.ZodArray; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_attention_required">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentId: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; timestamp: z.ZodString; shouldNotify: z.ZodBoolean; notification: z.ZodOptional; agentId: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.fork_context.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; attachment: z.ZodNullable; mimeType: z.ZodLiteral<"text/plain">; contextKind: z.ZodOptional; title: z.ZodOptional>; text: z.ZodString; externalResource: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ contextKind?: string | undefined; type: "text"; mimeType: "text/plain"; text: string; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }, { type: "text"; mimeType: "text/plain"; text: string; contextKind?: string | undefined; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }>>>; itemCount: z.ZodNumber; boundaryMessageId: z.ZodNullable; boundaryCursor: z.ZodOptional>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cancel_agent_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"clear_agent_attention_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodUnion<[z.ZodString, z.ZodArray]>; agents: z.ZodArray; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.create.response">; payload: z.ZodObject<{ agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; creation: z.ZodOptional; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; }, z.core.$strip>>; workspace: z.ZodNullable>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; setupTerminalId: z.ZodNullable; setupSkippedReason: z.ZodOptional; error: z.ZodNullable; errorCode: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.create.response">; payload: z.ZodObject<{ requestId: z.ZodString; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; creation: z.ZodOptional; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.create.update">; payload: z.ZodObject<{ kind: z.ZodEnum<{ agent: "agent"; workspace: "workspace"; }>; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; subscriptionId: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ payload: z.ZodObject<{ kind: z.ZodEnum<{ agent: "agent"; workspace: "workspace"; }>; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; subscriptionId: z.ZodOptional; }, z.core.$strip>; type: z.ZodLiteral<"agent.create.update">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"creation.subscribe.response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodOptional; snapshot: z.ZodNullable; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.clear_attention.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodUnion]>; clearedAgentIds: z.ZodArray; results: z.ZodArray; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>>; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.mark_unread.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; markedAgentId: z.ZodNullable; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"send_agent_message_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_voice_mode_response">; payload: z.ZodObject<{ requestId: z.ZodString; enabled: z.ZodBoolean; agentId: z.ZodNullable; accepted: z.ZodBoolean; error: z.ZodNullable; reasonCode: z.ZodOptional; retryable: z.ZodOptional; missingModelIds: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.get_status.response">; payload: z.ZodObject<{ requestId: z.ZodString; serverId: z.ZodString; version: z.ZodOptional>; pid: z.ZodNumber; nodePath: z.ZodString; startedAt: z.ZodOptional>; listen: z.ZodNullable; relay: z.ZodOptional>>; providers: z.ZodArray>; }, z.core.$strip>>; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.get_pairing_offer.response">; payload: z.ZodObject<{ requestId: z.ZodString; url: z.ZodString; qr: z.ZodOptional>; relayEnabled: z.ZodBoolean; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.config.reload.response">; payload: z.ZodObject<{ requestId: z.ZodString; appliedPaths: z.ZodArray; restartRequiredPaths: z.ZodArray; overrideControlledPaths: z.ZodArray; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.connect.response">; payload: z.ZodObject<{ requestId: z.ZodString; status: z.ZodObject<{ state: z.ZodEnum<{ not_connected: "not_connected"; connecting: "connecting"; connected: "connected"; reconnecting: "reconnecting"; disconnecting: "disconnecting"; revoked: "revoked"; }>; daemonId: z.ZodNullable; hubOrigin: z.ZodNullable; permissions: z.ZodArray>; connectedAt: z.ZodNullable; lastError: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.get_status.response">; payload: z.ZodObject<{ requestId: z.ZodString; status: z.ZodObject<{ state: z.ZodEnum<{ not_connected: "not_connected"; connecting: "connecting"; connected: "connected"; reconnecting: "reconnecting"; disconnecting: "disconnecting"; revoked: "revoked"; }>; daemonId: z.ZodNullable; hubOrigin: z.ZodNullable; permissions: z.ZodArray>; connectedAt: z.ZodNullable; lastError: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.disconnect.response">; payload: z.ZodObject<{ requestId: z.ZodString; status: z.ZodObject<{ state: z.ZodEnum<{ not_connected: "not_connected"; connecting: "connecting"; connected: "connected"; reconnecting: "reconnecting"; disconnecting: "disconnecting"; revoked: "revoked"; }>; daemonId: z.ZodNullable; hubOrigin: z.ZodNullable; permissions: z.ZodArray>; connectedAt: z.ZodNullable; lastError: z.ZodNullable; }, z.core.$strip>; warning: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.permissions.update.response">; payload: z.ZodObject<{ requestId: z.ZodString; status: z.ZodObject<{ state: z.ZodEnum<{ not_connected: "not_connected"; connecting: "connecting"; connected: "connected"; reconnecting: "reconnecting"; disconnecting: "disconnecting"; revoked: "revoked"; }>; daemonId: z.ZodNullable; hubOrigin: z.ZodNullable; permissions: z.ZodArray>; connectedAt: z.ZodNullable; lastError: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"diagnostics.response">; payload: z.ZodObject<{ requestId: z.ZodString; diagnostic: z.ZodString; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"get_daemon_config_response">; payload: z.ZodObject<{ requestId: z.ZodString; config: z.ZodObject<{ relay: z.ZodOptional>; mcp: z.ZodObject<{ enabled: z.ZodOptional; injectIntoAgents: z.ZodBoolean; }, z.core.$loose>; hostnames: z.ZodOptional, z.ZodArray]>>; cors: z.ZodOptional; }, z.core.$loose>>; trustedProxies: z.ZodOptional, z.ZodArray]>>; git: z.ZodOptional>; app: z.ZodOptional>; catalogRefreshTimeoutMs: z.ZodOptional; browserTools: z.ZodDefault; }, z.core.$loose>>; providers: z.ZodDefault; disabledTools: z.ZodOptional>; }, z.core.$strip>>; enabled: z.ZodOptional; additionalModels: z.ZodOptional; isDefault: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; metadataGeneration: z.ZodDefault; thinkingOptionId: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>; autoArchiveAfterMerge: z.ZodDefault; enableTerminalAgentHooks: z.ZodDefault; appendSystemPrompt: z.ZodDefault; terminalProfiles: z.ZodOptional>; icon: z.ZodOptional; }, z.core.$loose>>>; agentProfiles: z.ZodOptional; color: z.ZodOptional; provider: z.ZodString; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; notes: z.ZodOptional; }, z.core.$loose>>>; skills: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">>; }, z.core.$strict>>; pluginsEnabled: z.ZodOptional; plugins: z.ZodOptional; path: z.ZodString; enabled: z.ZodOptional; }, z.core.$strict>], "source">>>; }, z.core.$loose>; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_daemon_config_response">; payload: z.ZodObject<{ requestId: z.ZodString; config: z.ZodObject<{ relay: z.ZodOptional>; mcp: z.ZodObject<{ enabled: z.ZodOptional; injectIntoAgents: z.ZodBoolean; }, z.core.$loose>; hostnames: z.ZodOptional, z.ZodArray]>>; cors: z.ZodOptional; }, z.core.$loose>>; trustedProxies: z.ZodOptional, z.ZodArray]>>; git: z.ZodOptional>; app: z.ZodOptional>; catalogRefreshTimeoutMs: z.ZodOptional; browserTools: z.ZodDefault; }, z.core.$loose>>; providers: z.ZodDefault; disabledTools: z.ZodOptional>; }, z.core.$strip>>; enabled: z.ZodOptional; additionalModels: z.ZodOptional; isDefault: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; metadataGeneration: z.ZodDefault; thinkingOptionId: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>; autoArchiveAfterMerge: z.ZodDefault; enableTerminalAgentHooks: z.ZodDefault; appendSystemPrompt: z.ZodDefault; terminalProfiles: z.ZodOptional>; icon: z.ZodOptional; }, z.core.$loose>>>; agentProfiles: z.ZodOptional; color: z.ZodOptional; provider: z.ZodString; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; notes: z.ZodOptional; }, z.core.$loose>>>; skills: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">>; }, z.core.$strict>>; pluginsEnabled: z.ZodOptional; plugins: z.ZodOptional; path: z.ZodString; enabled: z.ZodOptional; }, z.core.$strict>], "source">>>; }, z.core.$loose>; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"read_project_config_response">; payload: z.ZodUnion; config: z.ZodNullable]>>; teardown: z.ZodOptional]>>; terminals: z.ZodOptional; servicePorts: z.ZodOptional; portScript: z.ZodOptional; }, z.core.$strict>>; }, z.core.$loose>>; scripts: z.ZodOptional; command: z.ZodOptional; port: z.ZodOptional; }, z.core.$loose>>>; metadataGeneration: z.ZodOptional; }, z.core.$loose>>>; branchName: z.ZodOptional; }, z.core.$loose>>>; commitMessage: z.ZodOptional; }, z.core.$loose>>>; pullRequest: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; }, z.core.$loose>>; revision: z.ZodNullable>; hasUncommittedWorktreeSetupChanges: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ requestId: z.ZodString; repoRoot: z.ZodString; ok: z.ZodLiteral; error: z.ZodDiscriminatedUnion<[z.ZodObject<{ code: z.ZodLiteral<"project_not_found">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"invalid_project_config">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"stale_project_config">; currentRevision: z.ZodNullable>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"write_failed">; }, z.core.$strip>], "code">; }, z.core.$strip>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"write_project_config_response">; payload: z.ZodUnion; config: z.ZodObject<{ worktree: z.ZodOptional]>>; teardown: z.ZodOptional]>>; terminals: z.ZodOptional; servicePorts: z.ZodOptional; portScript: z.ZodOptional; }, z.core.$strict>>; }, z.core.$loose>>; scripts: z.ZodOptional; command: z.ZodOptional; port: z.ZodOptional; }, z.core.$loose>>>; metadataGeneration: z.ZodOptional; }, z.core.$loose>>>; branchName: z.ZodOptional; }, z.core.$loose>>>; commitMessage: z.ZodOptional; }, z.core.$loose>>>; pullRequest: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; }, z.core.$loose>; revision: z.ZodObject<{ mtimeMs: z.ZodNumber; size: z.ZodNumber; }, z.core.$strip>; hasUncommittedWorktreeSetupChanges: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ requestId: z.ZodString; repoRoot: z.ZodString; ok: z.ZodLiteral; error: z.ZodDiscriminatedUnion<[z.ZodObject<{ code: z.ZodLiteral<"project_not_found">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"invalid_project_config">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"stale_project_config">; currentRevision: z.ZodNullable>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"write_failed">; }, z.core.$strip>], "code">; }, z.core.$strip>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_mode_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_model_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_thinking_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_feature_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.config.apply.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.detach.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.rewind.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"update_agent_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.rename.response">; payload: z.ZodObject<{ requestId: z.ZodString; projectId: z.ZodString; accepted: z.ZodBoolean; customName: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.icon.set.response">; payload: z.ZodObject<{ requestId: z.ZodString; projectId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.remove.response">; payload: z.ZodObject<{ requestId: z.ZodString; projectId: z.ZodString; accepted: z.ZodBoolean; removedWorkspaceIds: z.ZodDefault>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.title.set.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; accepted: z.ZodBoolean; title: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.pin.set.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; accepted: z.ZodBoolean; pinnedAt: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.recovery.inspect.response">; payload: z.ZodObject<{ requestId: z.ZodString; state: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"recoverable">; workspaceId: z.ZodString; workspaceName: z.ZodString; action: z.ZodString; branch: z.ZodNullable; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"unavailable">; workspaceId: z.ZodString; reason: z.ZodString; message: z.ZodString; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.recovery.restore.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"wait_for_finish_response">; payload: z.ZodObject<{ requestId: z.ZodString; status: z.ZodEnum<{ error: "error"; permission: "permission"; idle: "idle"; timeout: "timeout"; }>; final: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; lastMessage: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_permission_request">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentId: z.ZodString; request: z.ZodType>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_permission_resolved">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentId: z.ZodString; requestId: z.ZodString; resolution: z.ZodType>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_deleted">; payload: z.ZodObject<{ agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_archived">; payload: z.ZodObject<{ agentId: z.ZodString; archivedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"close_items_response">; payload: z.ZodObject<{ agents: z.ZodArray>; terminals: z.ZodArray>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_status_response">; payload: z.ZodUnion; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodNull; currentBranch: z.ZodNull; isDirty: z.ZodNull; baseRef: z.ZodNull; aheadBehind: z.ZodNull; aheadOfOrigin: z.ZodNull; behindOfOrigin: z.ZodNull; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNull; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodString; mainRepoRoot: z.ZodDefault>>; currentBranch: z.ZodNullable; isDirty: z.ZodBoolean; baseRef: z.ZodNullable; aheadBehind: z.ZodNullable>; aheadOfOrigin: z.ZodNullable; behindOfOrigin: z.ZodNullable; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNullable; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodString; mainRepoRoot: z.ZodString; currentBranch: z.ZodNullable; isDirty: z.ZodBoolean; baseRef: z.ZodString; aheadBehind: z.ZodNullable>; aheadOfOrigin: z.ZodNullable; behindOfOrigin: z.ZodNullable; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNullable; }, z.core.$strip>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_status_update">; payload: z.ZodIntersection; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodNull; currentBranch: z.ZodNull; isDirty: z.ZodNull; baseRef: z.ZodNull; aheadBehind: z.ZodNull; aheadOfOrigin: z.ZodNull; behindOfOrigin: z.ZodNull; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNull; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodString; mainRepoRoot: z.ZodDefault>>; currentBranch: z.ZodNullable; isDirty: z.ZodBoolean; baseRef: z.ZodNullable; aheadBehind: z.ZodNullable>; aheadOfOrigin: z.ZodNullable; behindOfOrigin: z.ZodNullable; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNullable; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodString; mainRepoRoot: z.ZodString; currentBranch: z.ZodNullable; isDirty: z.ZodBoolean; baseRef: z.ZodString; aheadBehind: z.ZodNullable>; aheadOfOrigin: z.ZodNullable; behindOfOrigin: z.ZodNullable; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNullable; }, z.core.$strip>]>, z.ZodObject<{ subscriptionId: z.ZodOptional; prStatus: z.ZodOptional>; projectPath: z.ZodOptional; number: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodDefault>; mergeable: z.ZodDefault>>>; checks: z.ZodDefault; workflow: z.ZodOptional; duration: z.ZodOptional; checkRunId: z.ZodOptional; workflowRunId: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>>; checksStatus: z.ZodOptional; reviewDecision: z.ZodOptional>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional>>; autoMergeRequest: z.ZodDefault>>; mergeMethod: z.ZodDefault>>; enabledBy: z.ZodDefault>>; }, z.core.$strip>>>>; viewerCanEnableAutoMerge: z.ZodDefault>; viewerCanDisableAutoMerge: z.ZodDefault>; viewerCanMergeAsAdmin: z.ZodDefault>; viewerCanUpdateBranch: z.ZodDefault>; repository: z.ZodDefault>; mergeCommitAllowed: z.ZodDefault>; squashMergeAllowed: z.ZodDefault>; rebaseMergeAllowed: z.ZodDefault>; viewerDefaultMergeMethod: z.ZodDefault>>; }, z.core.$strip>>>; isMergeQueueEnabled: z.ZodDefault>; isInMergeQueue: z.ZodDefault>; }, z.core.$strip>>; forgeSpecific: z.ZodOptional; }, z.core.$strip>>; githubFeaturesEnabled: z.ZodBoolean; authState: z.ZodOptional; forge: z.ZodDefault>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.diff.get.response">; payload: z.ZodObject<{ error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; cwd: z.ZodString; files: z.ZodArray; isNew: z.ZodBoolean; isDeleted: z.ZodBoolean; additions: z.ZodNumber; deletions: z.ZodNumber; hunks: z.ZodArray; content: z.ZodString; tokens: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>; status: z.ZodOptional>; }, z.core.$strip>>; diffTooLarge: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscribe_checkout_diff_response">; payload: z.ZodObject<{ subscriptionId: z.ZodString; cwd: z.ZodString; files: z.ZodArray; isNew: z.ZodBoolean; isDeleted: z.ZodBoolean; additions: z.ZodNumber; deletions: z.ZodNumber; hunks: z.ZodArray; content: z.ZodString; tokens: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>; status: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; diffTooLarge: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_diff_update">; payload: z.ZodObject<{ subscriptionId: z.ZodString; cwd: z.ZodString; files: z.ZodArray; isNew: z.ZodBoolean; isDeleted: z.ZodBoolean; additions: z.ZodNumber; deletions: z.ZodNumber; hunks: z.ZodArray; content: z.ZodString; tokens: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>; status: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; diffTooLarge: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_commit_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_merge_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_merge_from_base_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pull_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_push_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.refresh.response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.discard_changes.response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_create_response">; payload: z.ZodObject<{ cwd: z.ZodString; url: z.ZodNullable; number: z.ZodNullable; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_merge_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.forge.set_auto_merge.response">; payload: z.ZodObject<{ cwd: z.ZodString; enabled: z.ZodBoolean; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.github.set_auto_merge.response">; payload: z.ZodObject<{ cwd: z.ZodString; enabled: z.ZodBoolean; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.commits.list.response">; payload: z.ZodObject<{ cwd: z.ZodString; baseRef: z.ZodNullable; commits: z.ZodArray; files: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.commits.file_diff.response">; payload: z.ZodObject<{ cwd: z.ZodString; sha: z.ZodString; path: z.ZodString; file: z.ZodNullable; isNew: z.ZodBoolean; isDeleted: z.ZodBoolean; additions: z.ZodNumber; deletions: z.ZodNumber; hunks: z.ZodArray; content: z.ZodString; tokens: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>; status: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.forge.get_check_details.response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; details: z.ZodDefault>; name: z.ZodString; status: z.ZodOptional>; conclusion: z.ZodOptional>; url: z.ZodOptional>; detailsUrl: z.ZodOptional>; output: z.ZodOptional>; summary: z.ZodOptional>; text: z.ZodOptional>; }, z.core.$strip>>>; annotations: z.ZodDefault; startLine: z.ZodOptional; endLine: z.ZodOptional; annotationLevel: z.ZodOptional; message: z.ZodOptional; title: z.ZodOptional; rawDetails: z.ZodOptional; }, z.core.$strip>>>>; failedJobs: z.ZodDefault>; conclusion: z.ZodOptional>; url: z.ZodOptional>; logTail: z.ZodOptional; logTruncated: z.ZodOptional; }, z.core.$strip>>>>; truncated: z.ZodDefault>; pipeline: z.ZodOptional; url: z.ZodDefault>>; ref: z.ZodDefault>>; sha: z.ZodDefault>>; stages: z.ZodDefault; url: z.ZodDefault>>; allowFailure: z.ZodDefault>; durationSeconds: z.ZodDefault>>; }, z.core.$strip>>>>; }, z.core.$strip>>>>; }, z.core.$strip>>>; }, z.core.$strip>>>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.github.get_check_details.response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; details: z.ZodDefault>; name: z.ZodString; status: z.ZodOptional>; conclusion: z.ZodOptional>; url: z.ZodOptional>; detailsUrl: z.ZodOptional>; output: z.ZodOptional>; summary: z.ZodOptional>; text: z.ZodOptional>; }, z.core.$strip>>>; annotations: z.ZodDefault; startLine: z.ZodOptional; endLine: z.ZodOptional; annotationLevel: z.ZodOptional; message: z.ZodOptional; title: z.ZodOptional; rawDetails: z.ZodOptional; }, z.core.$strip>>>>; failedJobs: z.ZodDefault>; conclusion: z.ZodOptional>; url: z.ZodOptional>; logTail: z.ZodOptional; logTruncated: z.ZodOptional; }, z.core.$strip>>>>; truncated: z.ZodDefault>; pipeline: z.ZodOptional; url: z.ZodDefault>>; ref: z.ZodDefault>>; sha: z.ZodDefault>>; stages: z.ZodDefault; url: z.ZodDefault>>; allowFailure: z.ZodDefault>; durationSeconds: z.ZodDefault>>; }, z.core.$strip>>>>; }, z.core.$strip>>>>; }, z.core.$strip>>>; }, z.core.$strip>>>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_status_response">; payload: z.ZodObject<{ cwd: z.ZodString; status: z.ZodNullable>; projectPath: z.ZodOptional; number: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodDefault>; mergeable: z.ZodDefault>>>; checks: z.ZodDefault; workflow: z.ZodOptional; duration: z.ZodOptional; checkRunId: z.ZodOptional; workflowRunId: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>>; checksStatus: z.ZodOptional; reviewDecision: z.ZodOptional>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional>>; autoMergeRequest: z.ZodDefault>>; mergeMethod: z.ZodDefault>>; enabledBy: z.ZodDefault>>; }, z.core.$strip>>>>; viewerCanEnableAutoMerge: z.ZodDefault>; viewerCanDisableAutoMerge: z.ZodDefault>; viewerCanMergeAsAdmin: z.ZodDefault>; viewerCanUpdateBranch: z.ZodDefault>; repository: z.ZodDefault>; mergeCommitAllowed: z.ZodDefault>; squashMergeAllowed: z.ZodDefault>; rebaseMergeAllowed: z.ZodDefault>; viewerDefaultMergeMethod: z.ZodDefault>>; }, z.core.$strip>>>; isMergeQueueEnabled: z.ZodDefault>; isInMergeQueue: z.ZodDefault>; }, z.core.$strip>>; forgeSpecific: z.ZodOptional; }, z.core.$strip>>; githubFeaturesEnabled: z.ZodBoolean; authState: z.ZodOptional; forge: z.ZodDefault>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"pull_request_timeline_response">; payload: z.ZodPrefault>; prNumber: z.ZodDefault>>; items: z.ZodDefault>; kind: z.ZodLiteral<"review">; author: z.ZodDefault>; authorUrl: z.ZodOptional>; avatarUrl: z.ZodOptional>; body: z.ZodDefault>; createdAt: z.ZodDefault>; url: z.ZodDefault>; reviewState: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodDefault>; kind: z.ZodLiteral<"comment">; author: z.ZodDefault>; authorUrl: z.ZodOptional>; avatarUrl: z.ZodOptional>; body: z.ZodDefault>; createdAt: z.ZodDefault>; url: z.ZodDefault>; reviewId: z.ZodOptional; threadId: z.ZodOptional; threadIsResolved: z.ZodOptional; location: z.ZodOptional; startLine: z.ZodOptional; threadId: z.ZodOptional; isResolved: z.ZodOptional; isOutdated: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>], "kind">>>>>; truncated: z.ZodDefault>; error: z.ZodDefault; message: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"forbidden">; message: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"unknown">; message: z.ZodDefault>; }, z.core.$strip>], "kind">>>>>; requestId: z.ZodDefault>; githubFeaturesEnabled: z.ZodDefault>; authState: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_switch_branch_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; branch: z.ZodString; source: z.ZodOptional>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.rename_branch.response">; payload: z.ZodObject<{ requestId: z.ZodString; success: z.ZodBoolean; cwd: z.ZodString; currentBranch: z.ZodNullable; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stash_save_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stash_pop_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stash_list_response">; payload: z.ZodObject<{ cwd: z.ZodString; entries: z.ZodArray; isPaseo: z.ZodBoolean; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"validate_branch_response">; payload: z.ZodObject<{ exists: z.ZodBoolean; resolvedRef: z.ZodNullable; isRemote: z.ZodBoolean; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"branch_suggestions_response">; payload: z.ZodObject<{ branches: z.ZodArray; branchDetails: z.ZodOptional; hasRemote: z.ZodOptional; localAhead: z.ZodOptional; localBehind: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"forge.search.response">; payload: z.ZodObject<{ items: z.ZodArray; authState: z.ZodOptional; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_search_response">; payload: z.ZodObject<{ items: z.ZodArray; featuresEnabled: z.ZodOptional; authState: z.ZodOptional; githubFeaturesEnabled: z.ZodOptional; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"directory_suggestions_response">; payload: z.ZodObject<{ directories: z.ZodArray; entries: z.ZodDefault; }, z.core.$strip>>>>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"paseo_worktree_list_response">; payload: z.ZodObject<{ worktrees: z.ZodArray>; head: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"paseo_worktree_archive_response">; payload: z.ZodObject<{ success: z.ZodBoolean; removedAgents: z.ZodOptional>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"create_paseo_worktree_response">; payload: z.ZodObject<{ workspace: z.ZodNullable>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; error: z.ZodNullable; errorCode: z.ZodOptional; setupTerminalId: z.ZodNullable; setupSkippedReason: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file_explorer_response">; payload: z.ZodObject<{ cwd: z.ZodString; path: z.ZodString; mode: z.ZodEnum<{ file: "file"; list: "list"; }>; directory: z.ZodNullable; size: z.ZodNumber; modifiedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; file: z.ZodNullable; encoding: z.ZodEnum<{ "utf-8": "utf-8"; base64: "base64"; none: "none"; }>; content: z.ZodOptional; mimeType: z.ZodOptional; size: z.ZodNumber; modifiedAt: z.ZodString; revision: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.subscribe.response">; payload: z.ZodObject<{ subscriptionId: z.ZodString; initial: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ready">; cwd: z.ZodString; path: z.ZodString; size: z.ZodNumber; modifiedAt: z.ZodString; revision: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"missing">; cwd: z.ZodString; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; cwd: z.ZodString; path: z.ZodString; error: z.ZodString; }, z.core.$strip>], "status">; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.unsubscribe.response">; payload: z.ZodObject<{ subscriptionId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.write.response">; payload: z.ZodObject<{ result: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"written">; modifiedAt: z.ZodString; size: z.ZodNumber; revision: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"conflict">; version: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ready">; cwd: z.ZodString; path: z.ZodString; size: z.ZodNumber; modifiedAt: z.ZodString; revision: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"missing">; cwd: z.ZodString; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; cwd: z.ZodString; path: z.ZodString; error: z.ZodString; }, z.core.$strip>], "status">; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; error: z.ZodString; }, z.core.$strip>], "status">; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.create.response">; payload: z.ZodObject<{ cwd: z.ZodString; parentPath: z.ZodString; path: z.ZodNullable; success: z.ZodBoolean; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.rename.response">; payload: z.ZodObject<{ cwd: z.ZodString; path: z.ZodString; renamedPath: z.ZodNullable; success: z.ZodBoolean; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.duplicate.response">; payload: z.ZodObject<{ cwd: z.ZodString; path: z.ZodString; duplicatedPath: z.ZodNullable; success: z.ZodBoolean; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.delete.response">; payload: z.ZodObject<{ cwd: z.ZodString; path: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.update">; payload: z.ZodObject<{ subscriptionId: z.ZodString; version: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ready">; cwd: z.ZodString; path: z.ZodString; size: z.ZodNumber; modifiedAt: z.ZodString; revision: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"missing">; cwd: z.ZodString; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; cwd: z.ZodString; path: z.ZodString; error: z.ZodString; }, z.core.$strip>], "status">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project_icon_response">; payload: z.ZodObject<{ cwd: z.ZodString; icon: z.ZodNullable>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.icon.get.response">; payload: z.ZodObject<{ projectId: z.ZodString; icon: z.ZodNullable>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file_download_token_response">; payload: z.ZodObject<{ cwd: z.ZodString; path: z.ZodString; token: z.ZodNullable; fileName: z.ZodNullable; mimeType: z.ZodNullable; size: z.ZodNullable; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file.upload.response">; payload: z.ZodObject<{ requestId: z.ZodString; file: z.ZodNullable; id: z.ZodString; fileName: z.ZodString; mimeType: z.ZodString; size: z.ZodNumber; path: z.ZodString; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_provider_models_response">; payload: z.ZodObject<{ provider: z.ZodString; models: z.ZodOptional>; isSelectable: z.ZodOptional; label: z.ZodString; description: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; contextWindowMaxTokens: z.ZodOptional; thinkingOptions: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>>; defaultThinkingOptionId: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>; fetchedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_provider_modes_response">; payload: z.ZodObject<{ provider: z.ZodString; modes: z.ZodOptional>>>; error: z.ZodOptional>; fetchedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_provider_features_response">; payload: z.ZodObject<{ provider: z.ZodString; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; error: z.ZodOptional>; fetchedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_available_providers_response">; payload: z.ZodObject<{ providers: z.ZodArray>; }, z.core.$strip>>; error: z.ZodOptional>; fetchedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"get_providers_snapshot_response">; payload: z.ZodObject<{ cwd: z.ZodOptional; entries: z.ZodArray>; enabled: z.ZodDefault>; source: z.ZodOptional>; error: z.ZodOptional; models: z.ZodOptional>; isSelectable: z.ZodOptional; label: z.ZodString; description: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; contextWindowMaxTokens: z.ZodOptional; thinkingOptions: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>>; defaultThinkingOptionId: z.ZodOptional; }, z.core.$strip>>>; modes: z.ZodOptional>>>; fetchedAt: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; iconSvg: z.ZodOptional; defaultModeId: z.ZodOptional>; }, z.core.$strip>>; compactSnapshot: z.ZodOptional; description: z.ZodOptional; label: z.ZodOptional; provider: z.ZodString; source: z.ZodOptional>; enabled: z.ZodDefault>; status: z.ZodType>; defaultModeId: z.ZodOptional>; modes: z.ZodOptional>>>; fetchedAt: z.ZodOptional; iconSvg: z.ZodOptional; models: z.ZodOptional; metadata: z.ZodOptional>; label: z.ZodString; id: z.ZodString; isDefault: z.ZodOptional; aliases: z.ZodOptional>; isSelectable: z.ZodOptional; contextWindowMaxTokens: z.ZodOptional; defaultThinkingOptionId: z.ZodOptional; thinkingSet: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; thinkingSets: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; defaultOptionId: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; snapshotHash: z.ZodOptional; fetchedAt: z.ZodOptional>; notModified: z.ZodOptional; generatedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"providers_snapshot_update">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; cwd: z.ZodOptional; entries: z.ZodArray>; enabled: z.ZodDefault>; source: z.ZodOptional>; error: z.ZodOptional; models: z.ZodOptional>; isSelectable: z.ZodOptional; label: z.ZodString; description: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; contextWindowMaxTokens: z.ZodOptional; thinkingOptions: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>>; defaultThinkingOptionId: z.ZodOptional; }, z.core.$strip>>>; modes: z.ZodOptional>>>; fetchedAt: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; iconSvg: z.ZodOptional; defaultModeId: z.ZodOptional>; }, z.core.$strip>>; compactSnapshot: z.ZodOptional; description: z.ZodOptional; label: z.ZodOptional; provider: z.ZodString; source: z.ZodOptional>; enabled: z.ZodDefault>; status: z.ZodType>; defaultModeId: z.ZodOptional>; modes: z.ZodOptional>>>; fetchedAt: z.ZodOptional; iconSvg: z.ZodOptional; models: z.ZodOptional; metadata: z.ZodOptional>; label: z.ZodString; id: z.ZodString; isDefault: z.ZodOptional; aliases: z.ZodOptional>; isSelectable: z.ZodOptional; contextWindowMaxTokens: z.ZodOptional; defaultThinkingOptionId: z.ZodOptional; thinkingSet: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; thinkingSets: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; defaultOptionId: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; snapshotHash: z.ZodOptional; fetchedAt: z.ZodOptional>; generatedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"refresh_providers_snapshot_response">; payload: z.ZodObject<{ requestId: z.ZodString; acknowledged: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"provider_diagnostic_response">; payload: z.ZodObject<{ provider: z.ZodString; diagnostic: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"provider.usage.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; fetchedAt: z.ZodString; providers: z.ZodArray; planLabel: z.ZodNullable; sourceLabel: z.ZodOptional>; fetchedAt: z.ZodOptional>; nextRefreshAt: z.ZodOptional>; windows: z.ZodArray>; remainingPct: z.ZodOptional>; resetsAt: z.ZodOptional>; runsOutAt: z.ZodOptional>; shortfallPct: z.ZodOptional>; tone: z.ZodOptional>; }, z.core.$strip>>; balances: z.ZodOptional>; remaining: z.ZodOptional>; limit: z.ZodOptional>; unit: z.ZodEnum<{ tokens: "tokens"; usd: "usd"; credits: "credits"; requests: "requests"; }>; resetsAt: z.ZodOptional>; tone: z.ZodOptional>; }, z.core.$strip>>>; details: z.ZodOptional>; }, z.core.$strip>>>; error: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_commands_response">; payload: z.ZodObject<{ agentId: z.ZodString; commands: z.ZodArray>>; }, z.core.$strip>>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_terminals_response">; payload: z.ZodObject<{ cwd: z.ZodOptional; terminals: z.ZodArray; workspaceId: z.ZodOptional; title: z.ZodOptional; activity: z.ZodOptional>; attentionReason: z.ZodCatch>>>; changedAt: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminals_changed">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; requestId: z.ZodOptional; workspaceId: z.ZodOptional; cwd: z.ZodString; terminals: z.ZodArray; title: z.ZodOptional; name: z.ZodString; id: z.ZodString; activity: z.ZodOptional>; attentionReason: z.ZodCatch>>>; changedAt: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"create_terminal_response">; payload: z.ZodObject<{ terminal: z.ZodNullable; title: z.ZodOptional; activity: z.ZodOptional>; attentionReason: z.ZodCatch>>>; changedAt: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal.rename.response">; payload: z.ZodObject<{ requestId: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscribe_terminal_response">; payload: z.ZodUnion; error: z.ZodNull; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ terminalId: z.ZodString; error: z.ZodString; requestId: z.ZodString; }, z.core.$strip>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"kill_terminal_response">; payload: z.ZodObject<{ terminalId: z.ZodString; success: z.ZodBoolean; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"capture_terminal_response">; payload: z.ZodObject<{ terminalId: z.ZodString; lines: z.ZodArray; totalLines: z.ZodNumber; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal_stream_exit">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; terminalId: z.ZodString; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal_attention_required">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; serverId: z.ZodOptional; terminalId: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; reason: z.ZodEnum<{ finished: "finished"; needs_input: "needs_input"; }>; title: z.ZodString; body: z.ZodString; shouldNotify: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/create/response">; payload: z.ZodObject<{ requestId: z.ZodString; room: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; messageCount: z.ZodNumber; lastMessageAt: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/list/response">; payload: z.ZodObject<{ requestId: z.ZodString; rooms: z.ZodArray; createdAt: z.ZodString; updatedAt: z.ZodString; messageCount: z.ZodNumber; lastMessageAt: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/inspect/response">; payload: z.ZodObject<{ requestId: z.ZodString; room: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; messageCount: z.ZodNumber; lastMessageAt: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/delete/response">; payload: z.ZodObject<{ requestId: z.ZodString; room: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; messageCount: z.ZodNumber; lastMessageAt: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/post/response">; payload: z.ZodObject<{ requestId: z.ZodString; message: z.ZodNullable; mentionAgentIds: z.ZodArray; createdAt: z.ZodString; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/read/response">; payload: z.ZodObject<{ requestId: z.ZodString; messages: z.ZodArray; mentionAgentIds: z.ZodArray; createdAt: z.ZodString; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/wait/response">; payload: z.ZodObject<{ requestId: z.ZodString; messages: z.ZodArray; mentionAgentIds: z.ZodArray; createdAt: z.ZodString; }, z.core.$strip>>; timedOut: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/create/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedule: z.ZodNullable; id: z.ZodString; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; prompt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/list/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedules: z.ZodArray; id: z.ZodString; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; prompt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/inspect/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedule: z.ZodNullable; prompt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; runs: z.ZodArray; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; }>; agentId: z.ZodNullable; workspaceId: z.ZodOptional>; output: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/logs/response">; payload: z.ZodObject<{ requestId: z.ZodString; runs: z.ZodArray; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; }>; agentId: z.ZodNullable; workspaceId: z.ZodOptional>; output: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/pause/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedule: z.ZodNullable; id: z.ZodString; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; prompt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/resume/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedule: z.ZodNullable; id: z.ZodString; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; prompt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/delete/response">; payload: z.ZodObject<{ requestId: z.ZodString; scheduleId: z.ZodString; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/run-once/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedule: z.ZodNullable; prompt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; runs: z.ZodArray; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; }>; agentId: z.ZodNullable; workspaceId: z.ZodOptional>; output: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/update/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedule: z.ZodNullable; prompt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; runs: z.ZodArray; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; }>; agentId: z.ZodNullable; workspaceId: z.ZodOptional>; output: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/run/response">; payload: z.ZodObject<{ requestId: z.ZodString; loop: z.ZodNullable; prompt: z.ZodString; cwd: z.ZodString; provider: z.ZodString; model: z.ZodNullable; modeId: z.ZodDefault>; workerProvider: z.ZodNullable; workerModel: z.ZodNullable; verifierProvider: z.ZodNullable; verifierModel: z.ZodNullable; verifierModeId: z.ZodDefault>; verifyPrompt: z.ZodNullable; verifyChecks: z.ZodArray; archive: z.ZodBoolean; sleepMs: z.ZodNumber; maxIterations: z.ZodNullable; maxTimeMs: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; startedAt: z.ZodString; completedAt: z.ZodNullable; stopRequestedAt: z.ZodNullable; iterations: z.ZodArray; workerStartedAt: z.ZodString; workerCompletedAt: z.ZodNullable; verifierAgentId: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; workerOutcome: z.ZodNullable>; failureReason: z.ZodNullable; verifyChecks: z.ZodArray>; verifyPrompt: z.ZodNullable; startedAt: z.ZodString; completedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; logs: z.ZodArray; source: z.ZodEnum<{ loop: "loop"; worker: "worker"; verifier: "verifier"; "verify-check": "verify-check"; }>; level: z.ZodEnum<{ error: "error"; info: "info"; }>; text: z.ZodString; }, z.core.$strip>>; nextLogSeq: z.ZodNumber; activeIteration: z.ZodNullable; activeWorkerAgentId: z.ZodNullable; activeVerifierAgentId: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/list/response">; payload: z.ZodObject<{ requestId: z.ZodString; loops: z.ZodArray; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; cwd: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; activeIteration: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/inspect/response">; payload: z.ZodObject<{ requestId: z.ZodString; loop: z.ZodNullable; prompt: z.ZodString; cwd: z.ZodString; provider: z.ZodString; model: z.ZodNullable; modeId: z.ZodDefault>; workerProvider: z.ZodNullable; workerModel: z.ZodNullable; verifierProvider: z.ZodNullable; verifierModel: z.ZodNullable; verifierModeId: z.ZodDefault>; verifyPrompt: z.ZodNullable; verifyChecks: z.ZodArray; archive: z.ZodBoolean; sleepMs: z.ZodNumber; maxIterations: z.ZodNullable; maxTimeMs: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; startedAt: z.ZodString; completedAt: z.ZodNullable; stopRequestedAt: z.ZodNullable; iterations: z.ZodArray; workerStartedAt: z.ZodString; workerCompletedAt: z.ZodNullable; verifierAgentId: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; workerOutcome: z.ZodNullable>; failureReason: z.ZodNullable; verifyChecks: z.ZodArray>; verifyPrompt: z.ZodNullable; startedAt: z.ZodString; completedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; logs: z.ZodArray; source: z.ZodEnum<{ loop: "loop"; worker: "worker"; verifier: "verifier"; "verify-check": "verify-check"; }>; level: z.ZodEnum<{ error: "error"; info: "info"; }>; text: z.ZodString; }, z.core.$strip>>; nextLogSeq: z.ZodNumber; activeIteration: z.ZodNullable; activeWorkerAgentId: z.ZodNullable; activeVerifierAgentId: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/logs/response">; payload: z.ZodObject<{ requestId: z.ZodString; loop: z.ZodNullable; prompt: z.ZodString; cwd: z.ZodString; provider: z.ZodString; model: z.ZodNullable; modeId: z.ZodDefault>; workerProvider: z.ZodNullable; workerModel: z.ZodNullable; verifierProvider: z.ZodNullable; verifierModel: z.ZodNullable; verifierModeId: z.ZodDefault>; verifyPrompt: z.ZodNullable; verifyChecks: z.ZodArray; archive: z.ZodBoolean; sleepMs: z.ZodNumber; maxIterations: z.ZodNullable; maxTimeMs: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; startedAt: z.ZodString; completedAt: z.ZodNullable; stopRequestedAt: z.ZodNullable; iterations: z.ZodArray; workerStartedAt: z.ZodString; workerCompletedAt: z.ZodNullable; verifierAgentId: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; workerOutcome: z.ZodNullable>; failureReason: z.ZodNullable; verifyChecks: z.ZodArray>; verifyPrompt: z.ZodNullable; startedAt: z.ZodString; completedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; logs: z.ZodArray; source: z.ZodEnum<{ loop: "loop"; worker: "worker"; verifier: "verifier"; "verify-check": "verify-check"; }>; level: z.ZodEnum<{ error: "error"; info: "info"; }>; text: z.ZodString; }, z.core.$strip>>; nextLogSeq: z.ZodNumber; activeIteration: z.ZodNullable; activeWorkerAgentId: z.ZodNullable; activeVerifierAgentId: z.ZodNullable; }, z.core.$strip>>; entries: z.ZodArray; source: z.ZodEnum<{ loop: "loop"; worker: "worker"; verifier: "verifier"; "verify-check": "verify-check"; }>; level: z.ZodEnum<{ error: "error"; info: "info"; }>; text: z.ZodString; }, z.core.$strip>>; nextCursor: z.ZodNumber; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/stop/response">; payload: z.ZodObject<{ requestId: z.ZodString; loop: z.ZodNullable; prompt: z.ZodString; cwd: z.ZodString; provider: z.ZodString; model: z.ZodNullable; modeId: z.ZodDefault>; workerProvider: z.ZodNullable; workerModel: z.ZodNullable; verifierProvider: z.ZodNullable; verifierModel: z.ZodNullable; verifierModeId: z.ZodDefault>; verifyPrompt: z.ZodNullable; verifyChecks: z.ZodArray; archive: z.ZodBoolean; sleepMs: z.ZodNumber; maxIterations: z.ZodNullable; maxTimeMs: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; startedAt: z.ZodString; completedAt: z.ZodNullable; stopRequestedAt: z.ZodNullable; iterations: z.ZodArray; workerStartedAt: z.ZodString; workerCompletedAt: z.ZodNullable; verifierAgentId: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; workerOutcome: z.ZodNullable>; failureReason: z.ZodNullable; verifyChecks: z.ZodArray>; verifyPrompt: z.ZodNullable; startedAt: z.ZodString; completedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; logs: z.ZodArray; source: z.ZodEnum<{ loop: "loop"; worker: "worker"; verifier: "verifier"; "verify-check": "verify-check"; }>; level: z.ZodEnum<{ error: "error"; info: "info"; }>; text: z.ZodString; }, z.core.$strip>>; nextLogSeq: z.ZodNumber; activeIteration: z.ZodNullable; activeWorkerAgentId: z.ZodNullable; activeVerifierAgentId: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.update.progress">; payload: z.ZodObject<{ requestId: z.ZodString; phase: z.ZodEnum<{ starting: "starting"; downloading: "downloading"; installing: "installing"; complete: "complete"; }>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.update.response">; payload: z.ZodObject<{ requestId: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; previousVersion: z.ZodNullable; newVersion: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>], "type">; }, z.core.$strip>; export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"ping">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hello">; clientId: z.ZodString; clientType: z.ZodEnum<{ mcp: "mcp"; mobile: "mobile"; browser: "browser"; cli: "cli"; hub: "hub"; }>; protocolVersion: z.ZodNumber; appVersion: z.ZodOptional; capabilities: z.ZodOptional; pushNotifications: z.ZodOptional; explicit_event_subscriptions: z.ZodOptional; all_providers: z.ZodOptional; reasoning_merge_enum: z.ZodOptional; selective_agent_timeline: z.ZodOptional; custom_mode_icons: z.ZodOptional; terminal_reflowable_snapshot: z.ZodOptional; provider_subagents: z.ZodOptional; project_updates: z.ZodOptional; compact_provider_snapshots: z.ZodOptional; provider_snapshot_references: z.ZodOptional; timeline_replacement_invalidation: z.ZodOptional; timeline_notifications: z.ZodOptional; browser_host: z.ZodOptional, z.ZodTransform<("type" | "select" | "fill" | "logs" | "list_tabs" | "new_tab" | "snapshot" | "click" | "wait" | "keypress" | "navigate" | "back" | "forward" | "reload" | "screenshot" | "upload" | "hover" | "drag" | "evaluate" | "scroll" | "resize" | "close_tab")[], string[]>>; hostKind: z.ZodDefault; }, z.core.$loose>>; }, z.core.$loose>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"recording_state">; isRecording: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"session">; message: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"browser.host.register.request">; requestId: z.ZodString; hostKind: z.ZodString; supportedCommands: z.ZodArray>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscription.release.request">; requestId: z.ZodString; subscriptionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"session.events.set_subscription.request">; requestId: z.ZodString; events: z.ZodArray>; notifications: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.create.request">; requestId: z.ZodString; executionId: z.ZodString; provider: z.ZodString; cwd: z.ZodString; prompt: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; providerOptions: z.ZodOptional>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; env: z.ZodOptional>; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>; worktree: z.ZodOptional; newBranch: z.ZodString; base: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-branch">; branch: z.ZodString; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-pr">; prNumber: z.ZodNumber; }, z.core.$strip>], "mode">>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.validate.request">; requestId: z.ZodString; provider: z.ZodString; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; providerOptions: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.control.request">; requestId: z.ZodString; executionId: z.ZodString; action: z.ZodEnum<{ archive: "archive"; interrupt: "interrupt"; }>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"browser.automation.execute.response">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ requestId: z.ZodString; ok: z.ZodLiteral; result: z.ZodDiscriminatedUnion<[z.ZodObject<{ command: z.ZodLiteral<"list_tabs">; tabs: z.ZodArray; url: z.ZodString; title: z.ZodString; isActive: z.ZodDefault; isLoading: z.ZodDefault; canGoBack: z.ZodOptional; canGoForward: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"new_tab">; browserId: z.ZodString; workspaceId: z.ZodString; url: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"snapshot">; browserId: z.ZodString; workspaceId: z.ZodOptional; url: z.ZodString; title: z.ZodString; format: z.ZodLiteral<"aria-yaml">; snapshot: z.ZodString; truncated: z.ZodBoolean; stats: z.ZodObject<{ nodeCount: z.ZodNumber; refCount: z.ZodNumber; textLength: z.ZodNumber; iframeCount: z.ZodOptional; maxDepth: z.ZodOptional; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"click">; browserId: z.ZodString; ref: z.ZodString; x: z.ZodOptional; y: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"fill">; browserId: z.ZodString; ref: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"wait">; browserId: z.ZodString; matched: z.ZodEnum<{ text: "text"; url: "url"; }>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"type">; browserId: z.ZodString; ref: z.ZodOptional; x: z.ZodOptional; y: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"keypress">; browserId: z.ZodString; key: z.ZodString; ref: z.ZodOptional; x: z.ZodOptional; y: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"navigate">; browserId: z.ZodString; url: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"back">; browserId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"forward">; browserId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"reload">; browserId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"screenshot">; browserId: z.ZodString; mimeType: z.ZodLiteral<"image/png">; dataBase64: z.ZodString; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"upload">; browserId: z.ZodString; ref: z.ZodString; filePaths: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"select">; browserId: z.ZodString; ref: z.ZodString; value: z.ZodString; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"hover">; browserId: z.ZodString; ref: z.ZodString; x: z.ZodOptional; y: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"drag">; browserId: z.ZodString; sourceRef: z.ZodString; targetRef: z.ZodString; sourceX: z.ZodOptional; sourceY: z.ZodOptional; targetX: z.ZodOptional; targetY: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"logs">; browserId: z.ZodString; console: z.ZodArray; line: z.ZodOptional; timestamp: z.ZodNumber; }, z.core.$strip>>; network: z.ZodArray; status: z.ZodOptional; type: z.ZodOptional; startTime: z.ZodNumber; duration: z.ZodNumber; transferSize: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"evaluate">; browserId: z.ZodString; resultJson: z.ZodString; truncated: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"scroll">; browserId: z.ZodString; ref: z.ZodOptional; deltaX: z.ZodNumber; deltaY: z.ZodNumber; x: z.ZodOptional; y: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"resize">; browserId: z.ZodString; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"close_tab">; browserId: z.ZodString; }, z.core.$strip>], "command">; dialogs: z.ZodOptional; message: z.ZodString; defaultValue: z.ZodOptional; action: z.ZodEnum<{ accepted: "accepted"; dismissed: "dismissed"; }>; promptText: z.ZodOptional; timestamp: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ requestId: z.ZodString; ok: z.ZodLiteral; error: z.ZodObject<{ code: z.ZodEnum<{ browser_disabled: "browser_disabled"; browser_no_host: "browser_no_host"; browser_tab_not_found: "browser_tab_not_found"; browser_tab_closed: "browser_tab_closed"; browser_timeout: "browser_timeout"; screenshot_no_frame: "screenshot_no_frame"; browser_denied: "browser_denied"; browser_unsupported: "browser_unsupported"; browser_stale_ref: "browser_stale_ref"; browser_unknown_error: "browser_unknown_error"; }>; message: z.ZodString; retryable: z.ZodDefault; }, z.core.$strip>; dialogs: z.ZodOptional; message: z.ZodString; defaultValue: z.ZodOptional; action: z.ZodEnum<{ accepted: "accepted"; dismissed: "dismissed"; }>; promptText: z.ZodOptional; timestamp: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>], "ok">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"voice_audio_chunk">; audio: z.ZodString; format: z.ZodString; isLast: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"abort_request">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio_played">; id: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agents_request">; requestId: z.ZodString; scope: z.ZodOptional>; filter: z.ZodOptional>; projectKeys: z.ZodOptional>; statuses: z.ZodOptional>>; includeArchived: z.ZodOptional; requiresAttention: z.ZodOptional; thinkingOptionId: z.ZodOptional>; }, z.core.$strip>>; sort: z.ZodOptional; direction: z.ZodEnum<{ asc: "asc"; desc: "desc"; }>; }, z.core.$strip>>>; page: z.ZodOptional; }, z.core.$strip>>; subscribe: z.ZodOptional; }, z.core.$strip>>; sync: z.ZodOptional; afterSeq: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_history_request">; requestId: z.ZodString; filter: z.ZodOptional>; projectKeys: z.ZodOptional>; statuses: z.ZodOptional>>; includeArchived: z.ZodOptional; requiresAttention: z.ZodOptional; thinkingOptionId: z.ZodOptional>; }, z.core.$strip>>; search: z.ZodOptional; sort: z.ZodOptional; direction: z.ZodEnum<{ asc: "asc"; desc: "desc"; }>; }, z.core.$strip>>>; page: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_recent_provider_sessions_request">; requestId: z.ZodString; cwd: z.ZodOptional; providers: z.ZodOptional>; since: z.ZodOptional; limit: z.ZodOptional; query: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_workspaces_request">; requestId: z.ZodString; filter: z.ZodOptional; projectId: z.ZodOptional; idPrefix: z.ZodOptional; }, z.core.$strip>>; sort: z.ZodOptional; direction: z.ZodEnum<{ asc: "asc"; desc: "desc"; }>; }, z.core.$strip>>>; page: z.ZodOptional; }, z.core.$strip>>; subscribe: z.ZodOptional; }, z.core.$strip>>; sync: z.ZodOptional; afterSeq: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.list.request">; requestId: z.ZodString; sync: z.ZodOptional; afterSeq: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"delete_agent_request">; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"archive_agent_request">; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"close_items_request">; agentIds: z.ZodDefault>; terminalIds: z.ZodDefault>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"update_agent_request">; agentId: z.ZodString; name: z.ZodOptional; labels: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.rename.request">; projectId: z.ZodString; customName: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.icon.set.request">; projectId: z.ZodString; source: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"automatic">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"upload">; data: z.ZodString; }, z.core.$strip>], "type">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.remove.request">; projectId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.title.set.request">; workspaceId: z.ZodString; title: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.pin.set.request">; workspaceId: z.ZodString; pinned: z.ZodBoolean; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.list.request">; requestId: z.ZodString; subscribe: z.ZodOptional; }, z.core.$strip>>; sync: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.assignment.set.request">; requestId: z.ZodString; workspaceId: z.ZodString; label: z.ZodObject<{ name: z.ZodString; color: z.ZodEnum<{ violet: "violet"; sky: "sky"; emerald: "emerald"; orange: "orange"; pink: "pink"; indigo: "indigo"; teal: "teal"; red: "red"; amber: "amber"; blue: "blue"; }>; }, z.core.$strip>; assigned: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.update.request">; requestId: z.ZodString; name: z.ZodString; newName: z.ZodOptional; color: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.delete.request">; requestId: z.ZodString; name: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.delete.inspect.request">; requestId: z.ZodString; name: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.recovery.inspect.request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.recovery.restore.request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_voice_mode">; enabled: z.ZodBoolean; agentId: z.ZodOptional; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"send_agent_message_request">; requestId: z.ZodString; agentId: z.ZodString; text: z.ZodString; messageId: z.ZodOptional; activeTurnBehavior: z.ZodOptional>; images: z.ZodOptional>>; attachments: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"wait_for_finish_request">; requestId: z.ZodString; agentId: z.ZodString; timeoutMs: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.get_status.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.get_pairing_offer.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.config.reload.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.connect.request">; requestId: z.ZodString; hubUrl: z.ZodString; token: z.ZodString; permissions: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.get_status.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.disconnect.request">; requestId: z.ZodString; force: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.permissions.update.request">; requestId: z.ZodString; grant: z.ZodDefault>>; revoke: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"diagnostics.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.catalog.get.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.list.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.logs.get.request">; requestId: z.ZodString; pluginId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.directory.install.request">; requestId: z.ZodString; path: z.ZodString; id: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.directory.inspect.request">; requestId: z.ZodString; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.install.request">; requestId: z.ZodString; source: z.ZodString; id: z.ZodOptional; ref: z.ZodOptional; pluginPath: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.status.request">; requestId: z.ZodString; pluginId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.request">; requestId: z.ZodString; pluginId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.preview.request">; requestId: z.ZodString; pluginId: z.ZodOptional; target: z.ZodOptional; ref: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; }, z.core.$strip>], "kind">>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.apply.request">; requestId: z.ZodString; proposals: z.ZodArray; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; installationRoot: z.ZodString; revision: z.ZodString; }, z.core.$strip>; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"git">; commit: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; resolved: z.ZodString; integrity: z.ZodString; }, z.core.$strip>], "kind">; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.reload.request">; requestId: z.ZodString; pluginId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.enable.request">; requestId: z.ZodString; pluginId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.disable.request">; requestId: z.ZodString; pluginId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.remove.request">; requestId: z.ZodString; pluginId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.rpc.invoke.request">; requestId: z.ZodString; pluginId: z.ZodString; method: z.ZodString; input: z.ZodUnknown; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.append.request">; requestId: z.ZodString; agentId: z.ZodString; item: z.ZodObject<{ type: z.ZodLiteral<"plugin">; id: z.ZodString; kind: z.ZodString; version: z.ZodNumber; data: z.ZodType>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.get_status.request">; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.reconcile.request">; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.uninstall.request">; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.save_selection.request">; requestId: z.ZodString; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; confirmedRemovals: z.ZodOptional>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.import_legacy_selection.request">; requestId: z.ZodString; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"get_daemon_config_request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_daemon_config_request">; requestId: z.ZodString; config: z.ZodObject<{ relay: z.ZodOptional; }, z.core.$loose>>>; mcp: z.ZodOptional; }, z.core.$loose>>>; browserTools: z.ZodOptional>; }, z.core.$loose>>>; providers: z.ZodOptional; disabledTools: z.ZodOptional>; }, z.core.$strip>>>; enabled: z.ZodOptional>; additionalModels: z.ZodOptional; isDefault: z.ZodOptional; }, z.core.$loose>>>>; }, z.core.$loose>>>>; removeProviders: z.ZodOptional>>; metadataGeneration: z.ZodOptional; thinkingOptionId: z.ZodOptional; }, z.core.$loose>>>>; }, z.core.$loose>>>; autoArchiveAfterMerge: z.ZodOptional>; enableTerminalAgentHooks: z.ZodOptional>; appendSystemPrompt: z.ZodOptional>; terminalProfiles: z.ZodOptional>; icon: z.ZodOptional; }, z.core.$loose>>>>; agentProfiles: z.ZodOptional; color: z.ZodOptional; provider: z.ZodString; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; notes: z.ZodOptional; }, z.core.$loose>>>>; pluginsEnabled: z.ZodOptional>; plugins: z.ZodOptional; path: z.ZodString; enabled: z.ZodOptional; }, z.core.$strict>], "source">>>>; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"read_project_config_request">; requestId: z.ZodString; repoRoot: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"write_project_config_request">; requestId: z.ZodString; repoRoot: z.ZodString; config: z.ZodObject<{ worktree: z.ZodOptional]>>; teardown: z.ZodOptional]>>; terminals: z.ZodOptional; servicePorts: z.ZodOptional; portScript: z.ZodOptional; }, z.core.$strict>>; }, z.core.$loose>>; scripts: z.ZodOptional; command: z.ZodOptional; port: z.ZodOptional; }, z.core.$loose>>>; metadataGeneration: z.ZodOptional; }, z.core.$loose>>>; branchName: z.ZodOptional; }, z.core.$loose>>>; commitMessage: z.ZodOptional; }, z.core.$loose>>>; pullRequest: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; }, z.core.$loose>; expectedRevision: z.ZodNullable>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_start">; dictationId: z.ZodString; format: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_chunk">; dictationId: z.ZodString; seq: z.ZodNumber; audio: z.ZodString; format: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_finish">; dictationId: z.ZodString; finalSeq: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_cancel">; dictationId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"create_agent_request">; idempotencyKey: z.ZodOptional; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; title: z.ZodNullable>; providerOptions: z.ZodOptional>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>; }, z.core.$strip>; env: z.ZodOptional>; workspaceId: z.ZodOptional; callerAgentId: z.ZodOptional; worktreeName: z.ZodOptional; initialPrompt: z.ZodOptional; clientMessageId: z.ZodOptional; outputSchema: z.ZodOptional>; images: z.ZodOptional>>; attachments: z.ZodOptional>>; git: z.ZodOptional; createNewBranch: z.ZodOptional; newBranchName: z.ZodOptional; createWorktree: z.ZodOptional; worktreeSlug: z.ZodOptional; refName: z.ZodOptional; action: z.ZodOptional>; checkoutSource: z.ZodOptional; forge: z.ZodOptional; number: z.ZodNumber; projectPath: z.ZodOptional; }, z.core.$strip>>; githubPrNumber: z.ZodOptional; }, z.core.$strip>>; worktree: z.ZodOptional; newBranch: z.ZodString; base: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-branch">; branch: z.ZodString; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-pr">; prNumber: z.ZodNumber; }, z.core.$strip>], "mode">>; autoArchive: z.ZodOptional; labels: z.ZodDefault>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_provider_models_request">; provider: z.ZodString; cwd: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_provider_modes_request">; provider: z.ZodString; cwd: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_provider_features_request">; draftConfig: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; }, z.core.$strip>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_available_providers_request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"get_providers_snapshot_request">; cwd: z.ZodOptional; ifNoneMatch: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"refresh_providers_snapshot_request">; cwd: z.ZodOptional; providers: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"provider_diagnostic_request">; provider: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"provider.usage.list.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resume_agent_request">; handle: z.ZodType>; overrides: z.ZodOptional; cwd: z.ZodOptional; modeId: z.ZodOptional>; model: z.ZodOptional>; thinkingOptionId: z.ZodOptional>; featureValues: z.ZodOptional>>; title: z.ZodOptional>>; providerOptions: z.ZodOptional>>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>>; systemPrompt: z.ZodOptional>; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>>; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"import_agent_request">; provider: z.ZodOptional; providerId: z.ZodOptional; sessionId: z.ZodOptional; providerHandleId: z.ZodOptional; cwd: z.ZodOptional; workspaceId: z.ZodOptional; labels: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"refresh_agent_request">; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cancel_agent_request">; agentId: z.ZodString; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"shutdown_server_request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"restart_server_request">; reason: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.update.request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_timeline_request">; agentId: z.ZodString; requestId: z.ZodString; direction: z.ZodOptional>; cursor: z.ZodOptional>; limit: z.ZodOptional; projection: z.ZodOptional>; mergeWindow: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.search.request">; agentId: z.ZodString; requestId: z.ZodString; query: z.ZodString; cursor: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.list_prompts.request">; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.provider_subagents.list.request">; parentAgentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.provider_subagents.timeline.get.request">; parentAgentId: z.ZodString; subagentId: z.ZodString; requestId: z.ZodString; direction: z.ZodOptional>; cursor: z.ZodOptional>; limit: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.set_subscription.request">; agentIds: z.ZodArray; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.fork_context.request">; agentId: z.ZodString; boundaryCursor: z.ZodOptional>; boundaryMessageId: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_mode_request">; agentId: z.ZodString; modeId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_model_request">; agentId: z.ZodString; modelId: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_thinking_request">; agentId: z.ZodString; thinkingOptionId: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_feature_request">; agentId: z.ZodString; featureId: z.ZodString; value: z.ZodUnknown; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.config.apply.request">; agentId: z.ZodString; config: z.ZodObject<{ modelId: z.ZodOptional>; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional>; featureValues: z.ZodOptional>; }, z.core.$strip>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.detach.request">; agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.rewind.request">; agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<{ conversation: "conversation"; files: "files"; both: "both"; }>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_permission_response">; agentId: z.ZodString; requestId: z.ZodString; response: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_status_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.diff.get.request">; cwd: z.ZodString; compare: z.ZodObject<{ mode: z.ZodEnum<{ uncommitted: "uncommitted"; base: "base"; }>; baseRef: z.ZodOptional; ignoreWhitespace: z.ZodOptional; }, z.core.$strip>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscribe_checkout_diff_request">; subscriptionId: z.ZodOptional; cwd: z.ZodString; compare: z.ZodObject<{ mode: z.ZodEnum<{ uncommitted: "uncommitted"; base: "base"; }>; baseRef: z.ZodOptional; ignoreWhitespace: z.ZodOptional; }, z.core.$strip>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"unsubscribe_checkout_diff_request">; subscriptionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_commit_request">; cwd: z.ZodString; message: z.ZodOptional; addAll: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_merge_request">; cwd: z.ZodString; baseRef: z.ZodOptional; strategy: z.ZodOptional>; requireCleanTarget: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_merge_from_base_request">; cwd: z.ZodString; baseRef: z.ZodOptional; requireCleanTarget: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pull_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_push_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.refresh.request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.discard_changes.request">; cwd: z.ZodString; paths: z.ZodArray; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_create_request">; cwd: z.ZodString; title: z.ZodOptional; body: z.ZodOptional; baseRef: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_merge_request">; cwd: z.ZodString; mergeMethod: z.ZodEnum<{ merge: "merge"; squash: "squash"; rebase: "rebase"; }>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.forge.set_auto_merge.request">; cwd: z.ZodString; enabled: z.ZodBoolean; mergeMethod: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.github.set_auto_merge.request">; cwd: z.ZodString; enabled: z.ZodBoolean; mergeMethod: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.commits.list.request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.commits.file_diff.request">; cwd: z.ZodString; sha: z.ZodString; path: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; repoOwner: z.ZodOptional; repoName: z.ZodOptional; checkRunId: z.ZodOptional; workflowRunId: z.ZodOptional; changeRequestNumber: z.ZodOptional; requestId: z.ZodString; type: z.ZodLiteral<"checkout.forge.get_check_details.request">; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; repoOwner: z.ZodOptional; repoName: z.ZodOptional; checkRunId: z.ZodOptional; workflowRunId: z.ZodOptional; changeRequestNumber: z.ZodOptional; requestId: z.ZodString; type: z.ZodLiteral<"checkout.github.get_check_details.request">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_status_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"pull_request_timeline_request">; cwd: z.ZodString; prNumber: z.ZodNumber; repoOwner: z.ZodString; repoName: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_switch_branch_request">; cwd: z.ZodString; branch: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.rename_branch.request">; cwd: z.ZodString; branch: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stash_save_request">; cwd: z.ZodString; branch: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stash_pop_request">; cwd: z.ZodString; stashIndex: z.ZodNumber; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stash_list_request">; cwd: z.ZodString; paseoOnly: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"validate_branch_request">; cwd: z.ZodString; branchName: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"branch_suggestions_request">; cwd: z.ZodString; query: z.ZodOptional; limit: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"forge.search.request">; cwd: z.ZodString; query: z.ZodString; limit: z.ZodOptional; kinds: z.ZodOptional>>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_search_request">; cwd: z.ZodString; query: z.ZodString; limit: z.ZodOptional; kinds: z.ZodOptional>>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"directory_suggestions_request">; query: z.ZodString; cwd: z.ZodOptional; includeFiles: z.ZodOptional; includeDirectories: z.ZodOptional; matchMode: z.ZodOptional>; limit: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"paseo_worktree_list_request">; cwd: z.ZodOptional; repoRoot: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"paseo_worktree_archive_request">; worktreePath: z.ZodOptional; repoRoot: z.ZodOptional; branchName: z.ZodOptional; workspaceId: z.ZodOptional; scope: z.ZodDefault>>; deleteWorktreeFromDisk: z.ZodDefault>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"create_paseo_worktree_request">; cwd: z.ZodString; projectId: z.ZodOptional; worktreeSlug: z.ZodOptional; nameContext: z.ZodOptional; attachments: z.ZodOptional>>>; firstAgentContext: z.ZodOptional; attachments: z.ZodOptional>>; }, z.core.$strip>>; refName: z.ZodOptional; action: z.ZodOptional>; checkoutSource: z.ZodOptional; forge: z.ZodOptional; number: z.ZodNumber; projectPath: z.ZodOptional; }, z.core.$strip>>; githubPrNumber: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace_setup_status_request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.setup.run.request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_available_editors_request">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"open_in_editor_request">; path: z.ZodString; editorId: z.ZodString; mode: z.ZodOptional>; cwd: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"open_project_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.add.request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.create_directory.request">; parentPath: z.ZodString; name: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.github.search_repositories.request">; query: z.ZodString; limit: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.github.clone.request">; repo: z.ZodString; cloneProtocol: z.ZodOptional>; targetDirectory: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"archive_workspace_request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.create.request">; workspaceId: z.ZodOptional; agent: z.ZodOptional; env: z.ZodOptional>; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; title: z.ZodNullable>; providerOptions: z.ZodOptional>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>; }, z.core.$strip>; clientMessageId: z.ZodOptional; labels: z.ZodDefault>; attachments: z.ZodOptional; mimeType: z.ZodLiteral<"application/paseo-forge-change-request">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"forge_issue">; mimeType: z.ZodLiteral<"application/paseo-forge-issue">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_pr">; mimeType: z.ZodLiteral<"application/github-pr">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_issue">; mimeType: z.ZodLiteral<"application/github-issue">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; }, z.core.$strip>, z.ZodPipe; mimeType: z.ZodLiteral<"text/plain">; contextKind: z.ZodOptional; title: z.ZodOptional>; text: z.ZodString; externalResource: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ contextKind?: string | undefined; type: "text"; mimeType: "text/plain"; text: string; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }, { type: "text"; mimeType: "text/plain"; text: string; contextKind?: string | undefined; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }>>, z.ZodObject<{ type: z.ZodLiteral<"review">; mimeType: z.ZodLiteral<"application/paseo-review">; cwd: z.ZodString; mode: z.ZodEnum<{ uncommitted: "uncommitted"; base: "base"; }>; baseRef: z.ZodOptional>; comments: z.ZodArray; lineNumber: z.ZodNumber; body: z.ZodString; context: z.ZodObject<{ hunkHeader: z.ZodString; targetLine: z.ZodObject<{ oldLineNumber: z.ZodNullable; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>; lines: z.ZodArray; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"uploaded_file">; id: z.ZodString; fileName: z.ZodString; mimeType: z.ZodString; size: z.ZodNumber; path: z.ZodString; }, z.core.$strip>], "type">>>; images: z.ZodOptional>>; callerAgentId: z.ZodOptional; initialPrompt: z.ZodOptional; outputSchema: z.ZodOptional>; autoArchive: z.ZodOptional; }, z.core.$strip>>; subscribe: z.ZodOptional; requestId: z.ZodString; idempotencyKey: z.ZodOptional; title: z.ZodOptional; firstAgentContext: z.ZodOptional; attachments: z.ZodOptional>>; }, z.core.$strip>>; source: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"directory">; path: z.ZodString; projectId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"worktree">; cwd: z.ZodOptional; projectId: z.ZodOptional; action: z.ZodOptional>; refName: z.ZodOptional; baseBranch: z.ZodOptional; branchName: z.ZodOptional; checkoutSource: z.ZodOptional; forge: z.ZodOptional; number: z.ZodNumber; projectPath: z.ZodOptional; }, z.core.$strip>>; githubPrNumber: z.ZodOptional; worktreeSlug: z.ZodOptional; }, z.core.$strip>], "kind">; }, z.core.$strip>, z.ZodObject<{ idempotencyKey: z.ZodOptional; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; title: z.ZodNullable>; providerOptions: z.ZodOptional>; toolPolicy: z.ZodOptional; server: z.ZodString; tool: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; alwaysLoad: z.ZodOptional; }, z.core.$strip>], "type">>>; }, z.core.$strip>; env: z.ZodOptional>; workspaceId: z.ZodOptional; callerAgentId: z.ZodOptional; worktreeName: z.ZodOptional; initialPrompt: z.ZodOptional; clientMessageId: z.ZodOptional; outputSchema: z.ZodOptional>; images: z.ZodOptional>>; git: z.ZodOptional; createNewBranch: z.ZodOptional; newBranchName: z.ZodOptional; createWorktree: z.ZodOptional; worktreeSlug: z.ZodOptional; refName: z.ZodOptional; action: z.ZodOptional>; checkoutSource: z.ZodOptional; forge: z.ZodOptional; number: z.ZodNumber; projectPath: z.ZodOptional; }, z.core.$strip>>; githubPrNumber: z.ZodOptional; }, z.core.$strip>>; worktree: z.ZodOptional; newBranch: z.ZodString; base: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-branch">; branch: z.ZodString; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"checkout-pr">; prNumber: z.ZodNumber; }, z.core.$strip>], "mode">>; autoArchive: z.ZodOptional; labels: z.ZodDefault>; requestId: z.ZodString; type: z.ZodLiteral<"agent.create.request">; agentId: z.ZodOptional; attachments: z.ZodOptional; mimeType: z.ZodLiteral<"application/paseo-forge-change-request">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"forge_issue">; mimeType: z.ZodLiteral<"application/paseo-forge-issue">; forge: z.ZodDefault>; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; projectPath: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_pr">; mimeType: z.ZodLiteral<"application/github-pr">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; baseRefName: z.ZodOptional>; headRefName: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_issue">; mimeType: z.ZodLiteral<"application/github-issue">; number: z.ZodNumber; title: z.ZodString; url: z.ZodString; body: z.ZodOptional>; }, z.core.$strip>, z.ZodPipe; mimeType: z.ZodLiteral<"text/plain">; contextKind: z.ZodOptional; title: z.ZodOptional>; text: z.ZodString; externalResource: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ contextKind?: string | undefined; type: "text"; mimeType: "text/plain"; text: string; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }, { type: "text"; mimeType: "text/plain"; text: string; contextKind?: string | undefined; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }>>, z.ZodObject<{ type: z.ZodLiteral<"review">; mimeType: z.ZodLiteral<"application/paseo-review">; cwd: z.ZodString; mode: z.ZodEnum<{ uncommitted: "uncommitted"; base: "base"; }>; baseRef: z.ZodOptional>; comments: z.ZodArray; lineNumber: z.ZodNumber; body: z.ZodString; context: z.ZodObject<{ hunkHeader: z.ZodString; targetLine: z.ZodObject<{ oldLineNumber: z.ZodNullable; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>; lines: z.ZodArray; newLineNumber: z.ZodNullable; type: z.ZodEnum<{ context: "context"; add: "add"; remove: "remove"; }>; content: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"uploaded_file">; id: z.ZodString; fileName: z.ZodString; mimeType: z.ZodString; size: z.ZodNumber; path: z.ZodString; }, z.core.$strip>], "type">>>; subscribe: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"creation.subscribe.request">; requestId: z.ZodString; kind: z.ZodEnum<{ agent: "agent"; workspace: "workspace"; }>; idempotencyKey: z.ZodString; subscribe: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.clear_attention.request">; workspaceId: z.ZodUnion]>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.mark_unread.request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file_explorer_request">; cwd: z.ZodString; path: z.ZodOptional; mode: z.ZodEnum<{ file: "file"; list: "list"; }>; requestId: z.ZodString; acceptBinary: z.ZodOptional; maxBytes: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.subscribe.request">; cwd: z.ZodString; path: z.ZodString; subscriptionId: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.unsubscribe.request">; subscriptionId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.write.request">; cwd: z.ZodString; path: z.ZodString; content: z.ZodString; expectedModifiedAt: z.ZodString; expectedRevision: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.create.request">; cwd: z.ZodString; parentPath: z.ZodString; name: z.ZodString; kind: z.ZodEnum<{ file: "file"; directory: "directory"; }>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.rename.request">; cwd: z.ZodString; path: z.ZodString; name: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.duplicate.request">; cwd: z.ZodString; path: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.delete.request">; cwd: z.ZodString; path: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project_icon_request">; cwd: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.icon.get.request">; projectId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file_download_token_request">; cwd: z.ZodString; path: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file.upload.request">; fileName: z.ZodString; mimeType: z.ZodString; size: z.ZodNumber; modifiedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"clear_agent_attention">; agentId: z.ZodUnion]>; requestId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"client_heartbeat">; deviceType: z.ZodEnum<{ web: "web"; mobile: "mobile"; }>; focusedAgentId: z.ZodNullable; focusedTerminalId: z.ZodDefault>>; lastActivityAt: z.ZodString; appVisible: z.ZodBoolean; appVisibilityChangedAt: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"ping">; requestId: z.ZodString; clientSentAt: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_commands_request">; agentId: z.ZodString; draftConfig: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"register_push_token">; token: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"push.unregister.request">; token: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_terminals_request">; cwd: z.ZodOptional; workspaceId: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscribe_terminals_request">; requestId: z.ZodOptional; cwd: z.ZodString; workspaceId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"unsubscribe_terminals_request">; cwd: z.ZodString; workspaceId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"create_terminal_request">; cwd: z.ZodString; workspaceId: z.ZodOptional; name: z.ZodOptional; agentId: z.ZodOptional; command: z.ZodOptional; args: z.ZodOptional>; size: z.ZodOptional>; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal.rename.request">; terminalId: z.ZodString; title: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"start_workspace_script_request">; workspaceId: z.ZodString; scriptName: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.script.list.request">; workspaceId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.script.start.request">; workspaceId: z.ZodString; scriptName: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.script.stop.request">; workspaceId: z.ZodString; scriptName: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscribe_terminal_request">; terminalId: z.ZodString; requestId: z.ZodString; restore: z.ZodOptional; scrollbackLines: z.ZodOptional; size: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"unsubscribe_terminal_request">; terminalId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal_input">; terminalId: z.ZodString; message: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"input">; data: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resize">; rows: z.ZodNumber; cols: z.ZodNumber; intent: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"mouse">; row: z.ZodNumber; col: z.ZodNumber; button: z.ZodNumber; action: z.ZodEnum<{ down: "down"; up: "up"; move: "move"; }>; }, z.core.$strip>], "type">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"kill_terminal_request">; terminalId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"capture_terminal_request">; terminalId: z.ZodString; start: z.ZodOptional; end: z.ZodOptional; stripAnsi: z.ZodDefault; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/create">; requestId: z.ZodString; name: z.ZodString; purpose: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/list">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/inspect">; requestId: z.ZodString; room: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/delete">; requestId: z.ZodString; room: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/post">; requestId: z.ZodString; room: z.ZodString; body: z.ZodString; authorAgentId: z.ZodOptional; replyToMessageId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/read">; requestId: z.ZodString; room: z.ZodString; limit: z.ZodOptional; since: z.ZodOptional; authorAgentId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/wait">; requestId: z.ZodString; room: z.ZodString; afterMessageId: z.ZodOptional; timeoutMs: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/create">; requestId: z.ZodString; prompt: z.ZodString; name: z.ZodOptional; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"self">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; maxRuns: z.ZodOptional; expiresAt: z.ZodOptional; runOnCreate: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/list">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/inspect">; requestId: z.ZodString; scheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/logs">; requestId: z.ZodString; scheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/pause">; requestId: z.ZodString; scheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/resume">; requestId: z.ZodString; scheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/delete">; requestId: z.ZodString; scheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/run-once">; requestId: z.ZodString; scheduleId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/update">; requestId: z.ZodString; scheduleId: z.ZodString; name: z.ZodOptional>; prompt: z.ZodOptional; cadence: z.ZodOptional; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">>; newAgentConfig: z.ZodOptional; model: z.ZodOptional>; modeId: z.ZodOptional>; thinkingOptionId: z.ZodOptional>; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; cwd: z.ZodOptional; }, z.core.$strip>>; maxRuns: z.ZodOptional>; expiresAt: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/run">; requestId: z.ZodString; prompt: z.ZodString; cwd: z.ZodString; provider: z.ZodOptional; model: z.ZodOptional; modeId: z.ZodOptional; workerProvider: z.ZodOptional; workerModel: z.ZodOptional; verifierProvider: z.ZodOptional; verifierModel: z.ZodOptional; verifierModeId: z.ZodOptional; verifyPrompt: z.ZodOptional; verifyChecks: z.ZodOptional>; archive: z.ZodOptional; name: z.ZodOptional; sleepMs: z.ZodOptional; maxIterations: z.ZodOptional; maxTimeMs: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/list">; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/inspect">; requestId: z.ZodString; id: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/logs">; requestId: z.ZodString; id: z.ZodString; afterSeq: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/stop">; requestId: z.ZodString; id: z.ZodString; }, z.core.$strip>], "type">; }, z.core.$strip>], "type">; export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"pong">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"session">; message: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"browser.host.register.response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscription.release.response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"session.events.set_subscription.response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.create.response">; payload: z.ZodObject<{ requestId: z.ZodString; executionId: z.ZodString; agentId: z.ZodNullable; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; success: z.ZodBoolean; toolPolicyApplied: z.ZodOptional>; error: z.ZodNullable; provider: z.ZodString; issues: z.ZodArray>; message: z.ZodString; }, z.core.$strip>>; message: z.ZodString; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"tool_policy_unsupported">; provider: z.ZodString; message: z.ZodString; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"create_failed">; message: z.ZodString; }, z.core.$strip>], "code">>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.validate.response">; payload: z.ZodObject<{ requestId: z.ZodString; valid: z.ZodBoolean; issues: z.ZodArray>; message: z.ZodString; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.control.response">; payload: z.ZodObject<{ requestId: z.ZodString; executionId: z.ZodString; action: z.ZodEnum<{ archive: "archive"; interrupt: "interrupt"; }>; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.update">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; executionId: z.ZodString; agentId: z.ZodString; agent: z.ZodObject<{ id: z.ZodString; provider: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.execution.agent.stream">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; executionId: z.ZodString; agentId: z.ZodString; event: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"thread_started">; sessionId: z.ZodString; provider: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_started">; provider: z.ZodString; turnId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_completed">; provider: z.ZodString; turnId: z.ZodOptional; usage: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_failed">; provider: z.ZodString; turnId: z.ZodOptional; error: z.ZodString; code: z.ZodOptional; diagnostic: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_canceled">; provider: z.ZodString; turnId: z.ZodOptional; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"timeline">; provider: z.ZodString; item: z.ZodType>; turnId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"permission_requested">; provider: z.ZodString; request: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"permission_resolved">; provider: z.ZodString; requestId: z.ZodString; resolution: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"attention_required">; provider: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; timestamp: z.ZodString; shouldNotify: z.ZodBoolean; notification: z.ZodOptional; agentId: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>], "type">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"browser.automation.execute.request">; subscriptionId: z.ZodOptional; requestId: z.ZodString; agentId: z.ZodOptional; cwd: z.ZodOptional; workspaceId: z.ZodOptional; command: z.ZodDiscriminatedUnion<[z.ZodObject<{ command: z.ZodLiteral<"list_tabs">; args: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"new_tab">; args: z.ZodDefault; }, z.core.$strict>>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"snapshot">; args: z.ZodObject<{ browserId: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"click">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodString; button: z.ZodDefault>; doubleClick: z.ZodDefault; modifiers: z.ZodDefault>>; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"fill">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodString; value: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"wait">; args: z.ZodObject<{ browserId: z.ZodString; text: z.ZodOptional; url: z.ZodOptional; timeoutMs: z.ZodOptional; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"type">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodOptional; text: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"keypress">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodOptional; key: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"navigate">; args: z.ZodObject<{ browserId: z.ZodString; url: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"back">; args: z.ZodObject<{ browserId: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"forward">; args: z.ZodObject<{ browserId: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"reload">; args: z.ZodObject<{ browserId: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"screenshot">; args: z.ZodObject<{ browserId: z.ZodString; fullPage: z.ZodDefault; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"upload">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodString; filePaths: z.ZodArray; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"select">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodString; value: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"hover">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"drag">; args: z.ZodObject<{ browserId: z.ZodString; sourceRef: z.ZodString; targetRef: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"logs">; args: z.ZodObject<{ browserId: z.ZodString; maxEntries: z.ZodDefault; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"evaluate">; args: z.ZodObject<{ browserId: z.ZodString; function: z.ZodString; ref: z.ZodOptional; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"scroll">; args: z.ZodObject<{ browserId: z.ZodString; ref: z.ZodOptional; deltaX: z.ZodNumber; deltaY: z.ZodNumber; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"resize">; args: z.ZodObject<{ browserId: z.ZodString; width: z.ZodNumber; height: z.ZodNumber; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ command: z.ZodLiteral<"close_tab">; args: z.ZodObject<{ browserId: z.ZodString; }, z.core.$strict>; }, z.core.$strip>], "command">; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"plugin.catalog.get.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.logs.get.response">; payload: z.ZodObject<{ requestId: z.ZodString; pluginId: z.ZodString; entries: z.ZodArray; message: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.directory.install.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugin: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.directory.inspect.response">; payload: z.ZodObject<{ requestId: z.ZodString; id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.install.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugin: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.status.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; path: z.ZodString; remote: z.ZodOptional; ref: z.ZodOptional; currentCommit: z.ZodOptional; latestCommit: z.ZodOptional; commitsBehind: z.ZodOptional; updateAvailable: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.preview.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray; current: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; target: z.ZodOptional; commit: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; resolved: z.ZodString; integrity: z.ZodString; }, z.core.$strip>], "kind">>; links: z.ZodArray; proposal: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; installationRoot: z.ZodString; revision: z.ZodString; }, z.core.$strip>; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"git">; commit: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; version: z.ZodString; resolved: z.ZodString; integrity: z.ZodString; }, z.core.$strip>], "kind">; }, z.core.$strip>>; error: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.source.update.apply.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugins: z.ZodArray; plugin: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>>; error: z.ZodOptional; warning: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.reload.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugin: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.enable.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugin: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.disable.response">; payload: z.ZodObject<{ requestId: z.ZodString; plugin: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; path: z.ZodString; enabled: z.ZodBoolean; status: z.ZodEnum<{ running: "running"; failed: "failed"; disabled: "disabled"; }>; source: z.ZodOptional>; npm: z.ZodOptional>; installation: z.ZodOptional; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"git">; remote: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"npm">; packageName: z.ZodString; pluginPath: z.ZodString; }, z.core.$strip>], "kind">; currentRevision: z.ZodOptional; }, z.core.$strip>>; remote: z.ZodOptional; ref: z.ZodOptional; commit: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.remove.response">; payload: z.ZodObject<{ requestId: z.ZodString; }, z.core.$strict>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"plugin.rpc.invoke.response">; payload: z.ZodObject<{ requestId: z.ZodString; output: z.ZodUnknown; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.append.response">; payload: z.ZodObject<{ requestId: z.ZodString; seq: z.ZodNumber; epoch: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.get_status.response">; payload: z.ZodObject<{ state: z.ZodEnum<{ "not-installed": "not-installed"; "up-to-date": "up-to-date"; drift: "drift"; }>; ops: z.ZodArray; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"update">; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"delete">; name: z.ZodString; }, z.core.$strict>], "kind">>; available: z.ZodArray; installed: z.ZodArray; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.reconcile.response">; payload: z.ZodObject<{ state: z.ZodEnum<{ "not-installed": "not-installed"; "up-to-date": "up-to-date"; drift: "drift"; }>; ops: z.ZodArray; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"update">; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"delete">; name: z.ZodString; }, z.core.$strict>], "kind">>; available: z.ZodArray; installed: z.ZodArray; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.uninstall.response">; payload: z.ZodObject<{ state: z.ZodEnum<{ "not-installed": "not-installed"; "up-to-date": "up-to-date"; drift: "drift"; }>; ops: z.ZodArray; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"update">; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"delete">; name: z.ZodString; }, z.core.$strict>], "kind">>; available: z.ZodArray; installed: z.ZodArray; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.save_selection.response">; payload: z.ZodObject<{ state: z.ZodEnum<{ "not-installed": "not-installed"; "up-to-date": "up-to-date"; drift: "drift"; }>; ops: z.ZodArray; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"update">; name: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"delete">; name: z.ZodString; }, z.core.$strict>], "kind">>; available: z.ZodArray; installed: z.ZodArray; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; confirmationRequired: z.ZodNullable; }, z.core.$strict>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.skills.import_legacy_selection.response">; payload: z.ZodObject<{ requestId: z.ZodString; imported: z.ZodBoolean; selection: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"all">; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"activity_log">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; id: z.ZodString; timestamp: z.ZodCoercedDate; type: z.ZodEnum<{ error: "error"; tool_call: "tool_call"; transcript: "transcript"; assistant: "assistant"; tool_result: "tool_result"; system: "system"; }>; content: z.ZodString; metadata: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"assistant_chunk">; payload: z.ZodObject<{ chunk: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio_output">; payload: z.ZodObject<{ audio: z.ZodString; format: z.ZodString; id: z.ZodString; isVoiceMode: z.ZodBoolean; groupId: z.ZodOptional; chunkIndex: z.ZodOptional; isLastChunk: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"transcription_result">; payload: z.ZodObject<{ text: z.ZodString; language: z.ZodOptional; duration: z.ZodOptional; requestId: z.ZodString; avgLogprob: z.ZodOptional; isLowConfidence: z.ZodOptional; byteLength: z.ZodOptional; format: z.ZodOptional; debugRecordingPath: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"voice_input_state">; payload: z.ZodObject<{ isSpeaking: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_ack">; payload: z.ZodObject<{ dictationId: z.ZodString; ackSeq: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_finish_accepted">; payload: z.ZodObject<{ dictationId: z.ZodString; timeoutMs: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_partial">; payload: z.ZodObject<{ dictationId: z.ZodString; text: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_final">; payload: z.ZodObject<{ dictationId: z.ZodString; text: z.ZodString; debugRecordingPath: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"dictation_stream_error">; payload: z.ZodObject<{ dictationId: z.ZodString; error: z.ZodString; retryable: z.ZodBoolean; reasonCode: z.ZodOptional; missingModelIds: z.ZodOptional>; debugRecordingPath: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"status">; payload: z.ZodObject<{ status: z.ZodString; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"pong">; payload: z.ZodObject<{ requestId: z.ZodString; clientSentAt: z.ZodOptional; serverReceivedAt: z.ZodNumber; serverSentAt: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"push.unregister.response">; payload: z.ZodObject<{ requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"rpc_error">; payload: z.ZodObject<{ requestId: z.ZodString; requestType: z.ZodOptional; error: z.ZodString; code: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"artifact">; payload: z.ZodObject<{ type: z.ZodEnum<{ image: "image"; code: "code"; markdown: "markdown"; diff: "diff"; }>; id: z.ZodString; title: z.ZodString; content: z.ZodString; isBase64: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"upsert">; agent: z.ZodObject<{ id: z.ZodString; provider: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>>; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"remove">; agentId: z.ZodString; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>], "kind">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace_update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"upsert">; workspace: z.ZodPipe>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"remove">; id: z.ZodString; emptyProject: z.ZodOptional; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>; removedProjectId: z.ZodOptional; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>], "kind">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodOptional; labels: z.ZodArray; }, z.core.$strip>>; sync: z.ZodObject<{ mode: z.ZodEnum<{ snapshot: "snapshot"; changes: "changes"; }>; generation: z.ZodString; headSeq: z.ZodNumber; removals: z.ZodArray>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"upsert">; label: z.ZodObject<{ name: z.ZodString; color: z.ZodEnum<{ violet: "violet"; sky: "sky"; emerald: "emerald"; orange: "orange"; pink: "pink"; indigo: "indigo"; teal: "teal"; red: "red"; amber: "amber"; blue: "blue"; }>; }, z.core.$strip>; previousName: z.ZodOptional; generation: z.ZodString; seq: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"remove">; name: z.ZodString; generation: z.ZodString; seq: z.ZodNumber; }, z.core.$strip>], "kind">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.assignment.set.response">; payload: z.ZodObject<{ requestId: z.ZodString; label: z.ZodObject<{ name: z.ZodString; color: z.ZodEnum<{ violet: "violet"; sky: "sky"; emerald: "emerald"; orange: "orange"; pink: "pink"; indigo: "indigo"; teal: "teal"; red: "red"; amber: "amber"; blue: "blue"; }>; }, z.core.$strip>; workspaceLabels: z.ZodArray; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.update.response">; payload: z.ZodObject<{ requestId: z.ZodString; label: z.ZodObject<{ name: z.ZodString; color: z.ZodEnum<{ violet: "violet"; sky: "sky"; emerald: "emerald"; orange: "orange"; pink: "pink"; indigo: "indigo"; teal: "teal"; red: "red"; amber: "amber"; blue: "blue"; }>; }, z.core.$strip>; affectedWorkspaceCount: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.delete.response">; payload: z.ZodObject<{ requestId: z.ZodString; affectedWorkspaceCount: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.label.delete.inspect.response">; payload: z.ZodObject<{ requestId: z.ZodString; affectedWorkspaceCount: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"upsert">; project: z.ZodObject<{ projectId: z.ZodString; projectKey: z.ZodOptional; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"remove">; projectId: z.ZodString; generation: z.ZodOptional; seq: z.ZodOptional; }, z.core.$strip>], "kind">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; projects: z.ZodArray; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>; sync: z.ZodOptional; reason: z.ZodOptional>; removals: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"script_status_update">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; workspaceId: z.ZodString; scripts: z.ZodArray>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace_setup_progress">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; workspaceId: z.ZodString; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; blocked: "blocked"; }>; detail: z.ZodObject<{ type: z.ZodLiteral<"worktree_setup">; worktreePath: z.ZodString; branchName: z.ZodString; log: z.ZodString; commands: z.ZodArray>; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; }>; exitCode: z.ZodNullable; durationMs: z.ZodOptional; }, z.core.$strip>>; truncated: z.ZodOptional; }, z.core.$strip>; error: z.ZodNullable; blockedSource: z.ZodOptional; forge: z.ZodString; number: z.ZodNumber; headRepository: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace_setup_status_response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; snapshot: z.ZodNullable; detail: z.ZodObject<{ type: z.ZodLiteral<"worktree_setup">; worktreePath: z.ZodString; branchName: z.ZodString; log: z.ZodString; commands: z.ZodArray>; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; }>; exitCode: z.ZodNullable; durationMs: z.ZodOptional; }, z.core.$strip>>; truncated: z.ZodOptional; }, z.core.$strip>; error: z.ZodNullable; blockedSource: z.ZodOptional; forge: z.ZodString; number: z.ZodNumber; headRepository: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.setup.run.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; started: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_stream">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentId: z.ZodString; event: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"thread_started">; sessionId: z.ZodString; provider: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_started">; provider: z.ZodString; turnId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_completed">; provider: z.ZodString; turnId: z.ZodOptional; usage: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_failed">; provider: z.ZodString; turnId: z.ZodOptional; error: z.ZodString; code: z.ZodOptional; diagnostic: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"turn_canceled">; provider: z.ZodString; turnId: z.ZodOptional; reason: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"timeline">; provider: z.ZodString; item: z.ZodType>; turnId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"permission_requested">; provider: z.ZodString; request: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"permission_resolved">; provider: z.ZodString; requestId: z.ZodString; resolution: z.ZodType>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"attention_required">; provider: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; timestamp: z.ZodString; shouldNotify: z.ZodBoolean; notification: z.ZodOptional; agentId: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>], "type">; timestamp: z.ZodString; seq: z.ZodOptional; epoch: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_status">; payload: z.ZodObject<{ agentId: z.ZodString; status: z.ZodString; info: z.ZodObject<{ id: z.ZodString; provider: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agents_response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodOptional>; entries: z.ZodArray; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; project: z.ZodObject<{ projectKey: z.ZodString; projectName: z.ZodString; workspaceName: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>; searchScore: z.ZodOptional; searchMatches: z.ZodOptional; ranges: z.ZodArray>; }, z.core.$strip>>>; syncSeq: z.ZodOptional; }, z.core.$strip>>; pageInfo: z.ZodObject<{ nextCursor: z.ZodNullable; prevCursor: z.ZodNullable; hasMore: z.ZodBoolean; }, z.core.$strip>; sync: z.ZodOptional; reason: z.ZodOptional>; removals: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_history_response">; payload: z.ZodObject<{ requestId: z.ZodString; entries: z.ZodArray; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>; project: z.ZodObject<{ projectKey: z.ZodString; projectName: z.ZodString; workspaceName: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>; searchScore: z.ZodOptional; searchMatches: z.ZodOptional; ranges: z.ZodArray>; }, z.core.$strip>>>; syncSeq: z.ZodOptional; }, z.core.$strip>>; pageInfo: z.ZodObject<{ nextCursor: z.ZodNullable; prevCursor: z.ZodNullable; hasMore: z.ZodBoolean; }, z.core.$strip>; searchTruncated: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_recent_provider_sessions_response">; payload: z.ZodObject<{ requestId: z.ZodString; entries: z.ZodArray; firstPromptPreview: z.ZodNullable; lastPromptPreview: z.ZodNullable; lastActivityAt: z.ZodString; }, z.core.$strip>>; filteredAlreadyImportedCount: z.ZodOptional; providerErrors: z.ZodOptional>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_workspaces_response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodOptional>; entries: z.ZodArray>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; emptyProjects: z.ZodDefault; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>>>; pageInfo: z.ZodObject<{ nextCursor: z.ZodNullable; prevCursor: z.ZodNullable; hasMore: z.ZodBoolean; }, z.core.$strip>; sync: z.ZodOptional; reason: z.ZodOptional>; removals: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.add.response">; payload: z.ZodObject<{ requestId: z.ZodString; project: z.ZodNullable; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; errorCode: z.ZodCatch>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.create_directory.response">; payload: z.ZodObject<{ requestId: z.ZodString; directoryPath: z.ZodNullable; project: z.ZodNullable; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; errorCode: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"open_project_response">; payload: z.ZodObject<{ requestId: z.ZodString; workspace: z.ZodNullable>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; error: z.ZodNullable; errorCode: z.ZodCatch>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.github.search_repositories.response">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"success">; requestId: z.ZodString; repositories: z.ZodArray; visibility: z.ZodEnum<{ public: "public"; private: "private"; internal: "internal"; }>; updatedAt: z.ZodString; cloneUrl: z.ZodString; }, z.core.$strip>>; available: z.ZodLiteral; error: z.ZodNull; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"unavailable">; requestId: z.ZodString; repositories: z.ZodArray; visibility: z.ZodEnum<{ public: "public"; private: "private"; internal: "internal"; }>; updatedAt: z.ZodString; cloneUrl: z.ZodString; }, z.core.$strip>>; reason: z.ZodLiteral<"gh_missing">; available: z.ZodLiteral; error: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"unauthenticated">; requestId: z.ZodString; repositories: z.ZodArray; visibility: z.ZodEnum<{ public: "public"; private: "private"; internal: "internal"; }>; updatedAt: z.ZodString; cloneUrl: z.ZodString; }, z.core.$strip>>; available: z.ZodLiteral; error: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; requestId: z.ZodString; repositories: z.ZodArray; visibility: z.ZodEnum<{ public: "public"; private: "private"; internal: "internal"; }>; updatedAt: z.ZodString; cloneUrl: z.ZodString; }, z.core.$strip>>; available: z.ZodLiteral; error: z.ZodString; }, z.core.$strip>], "status">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.github.clone.response">; payload: z.ZodObject<{ requestId: z.ZodString; repo: z.ZodString; checkoutPath: z.ZodNullable; project: z.ZodNullable; projectDisplayName: z.ZodString; projectCustomName: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectIconRevision: z.ZodOptional; projectRootPath: z.ZodString; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; syncSeq: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"start_workspace_script_response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; scriptName: z.ZodString; terminalId: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.script.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; scriptName: z.ZodOptional; script: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; scripts: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.script.start.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; scriptName: z.ZodOptional; script: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; scripts: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.script.stop.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; scriptName: z.ZodOptional; script: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; scripts: z.ZodOptional>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_available_editors_response">; payload: z.ZodObject<{ requestId: z.ZodString; editors: z.ZodArray>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"open_in_editor_response">; payload: z.ZodObject<{ requestId: z.ZodString; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"archive_workspace_response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; archivedAt: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_response">; payload: z.ZodObject<{ requestId: z.ZodString; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_timeline_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; direction: z.ZodEnum<{ tail: "tail"; before: "before"; after: "after"; }>; projection: z.ZodEnum<{ projected: "projected"; canonical: "canonical"; }>; epoch: z.ZodString; reset: z.ZodBoolean; staleCursor: z.ZodBoolean; gap: z.ZodBoolean; window: z.ZodObject<{ minSeq: z.ZodNumber; maxSeq: z.ZodNumber; nextSeq: z.ZodNumber; }, z.core.$strip>; startCursor: z.ZodNullable>; endCursor: z.ZodNullable>; hasOlder: z.ZodBoolean; hasNewer: z.ZodBoolean; mergeWindow: z.ZodOptional; entries: z.ZodArray>; turnId: z.ZodOptional; timestamp: z.ZodString; seqStart: z.ZodNumber; seqEnd: z.ZodNumber; sourceSeqRanges: z.ZodArray>; collapsed: z.ZodArray>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.replacement">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentId: z.ZodString; epoch: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.search.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; epoch: z.ZodString; locations: z.ZodArray; count: z.ZodOptional; }, z.core.$strip>>; nextCursor: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.list_prompts.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; epoch: z.ZodString; prompts: z.ZodArray>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.provider_subagents.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; parentAgentId: z.ZodString; subagents: z.ZodArray>; provider: z.ZodString; title: z.ZodNullable; description: z.ZodNullable; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; canceled: "canceled"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; toolCallId: z.ZodNullable; cwd: z.ZodOptional>; subtitle: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.provider_subagents.timeline.get.response">; payload: z.ZodObject<{ requestId: z.ZodString; parentAgentId: z.ZodString; subagentId: z.ZodString; provider: z.ZodNullable; direction: z.ZodEnum<{ tail: "tail"; before: "before"; after: "after"; }>; epoch: z.ZodString; projection: z.ZodOptional>; startCursor: z.ZodOptional>>; endCursor: z.ZodOptional>>; reset: z.ZodBoolean; staleCursor: z.ZodBoolean; gap: z.ZodBoolean; window: z.ZodObject<{ minSeq: z.ZodNumber; maxSeq: z.ZodNumber; nextSeq: z.ZodNumber; }, z.core.$strip>; hasOlder: z.ZodBoolean; hasNewer: z.ZodBoolean; rows: z.ZodArray>; timestamp: z.ZodString; seq: z.ZodNumber; seqStart: z.ZodOptional; seqEnd: z.ZodOptional; sourceSeqRanges: z.ZodOptional>>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.provider_subagents.update">; payload: z.ZodDiscriminatedUnion<[z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"upsert">; subagent: z.ZodObject<{ id: z.ZodString; parentAgentId: z.ZodString; parentSubagentId: z.ZodOptional>; provider: z.ZodString; title: z.ZodNullable; description: z.ZodNullable; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; canceled: "canceled"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; toolCallId: z.ZodNullable; cwd: z.ZodOptional>; subtitle: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"timeline">; parentAgentId: z.ZodString; subagentId: z.ZodString; provider: z.ZodString; item: z.ZodType>; timestamp: z.ZodString; seq: z.ZodNumber; epoch: z.ZodString; }, z.core.$strip>, z.ZodObject<{ subscriptionId: z.ZodOptional; kind: z.ZodLiteral<"remove">; parentAgentId: z.ZodString; subagentId: z.ZodString; }, z.core.$strip>], "kind">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.timeline.set_subscription.response">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentIds: z.ZodArray; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_attention_required">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentId: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; timestamp: z.ZodString; shouldNotify: z.ZodBoolean; notification: z.ZodOptional; agentId: z.ZodString; reason: z.ZodEnum<{ finished: "finished"; error: "error"; permission: "permission"; }>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.fork_context.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; attachment: z.ZodNullable; mimeType: z.ZodLiteral<"text/plain">; contextKind: z.ZodOptional; title: z.ZodOptional>; text: z.ZodString; externalResource: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ contextKind?: string | undefined; type: "text"; mimeType: "text/plain"; text: string; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }, { type: "text"; mimeType: "text/plain"; text: string; contextKind?: string | undefined; title?: string | null | undefined; externalResource?: { provider: string; providerLabel: string; resourceType: string; id: string; identifier: string; title: string; url: string; } | undefined; }>>>; itemCount: z.ZodNumber; boundaryMessageId: z.ZodNullable; boundaryCursor: z.ZodOptional>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cancel_agent_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"clear_agent_attention_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodUnion<[z.ZodString, z.ZodArray]>; agents: z.ZodArray; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.create.response">; payload: z.ZodObject<{ agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; creation: z.ZodOptional; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; }, z.core.$strip>>; workspace: z.ZodNullable>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; setupTerminalId: z.ZodNullable; setupSkippedReason: z.ZodOptional; error: z.ZodNullable; errorCode: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.create.response">; payload: z.ZodObject<{ requestId: z.ZodString; agent: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; creation: z.ZodOptional; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.create.update">; payload: z.ZodObject<{ kind: z.ZodEnum<{ agent: "agent"; workspace: "workspace"; }>; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; subscriptionId: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ payload: z.ZodObject<{ kind: z.ZodEnum<{ agent: "agent"; workspace: "workspace"; }>; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; subscriptionId: z.ZodOptional; }, z.core.$strip>; type: z.ZodLiteral<"agent.create.update">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"creation.subscribe.response">; payload: z.ZodObject<{ requestId: z.ZodString; subscriptionId: z.ZodOptional; snapshot: z.ZodNullable; idempotencyKey: z.ZodString; revision: z.ZodNumber; phase: z.ZodEnum<{ completed: "completed"; failed: "failed"; accepted: "accepted"; workspace_ready: "workspace_ready"; agent_ready: "agent_ready"; prompt_started: "prompt_started"; }>; workspaceId: z.ZodNullable; agentId: z.ZodNullable; workspace: z.ZodOptional>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; agent: z.ZodOptional; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; setupSkippedReason: z.ZodOptional; errorCode: z.ZodOptional; failedStage: z.ZodOptional>; outcomeUnknown: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.clear_attention.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodUnion]>; clearedAgentIds: z.ZodArray; results: z.ZodArray; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>>; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.mark_unread.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; markedAgentId: z.ZodNullable; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"send_agent_message_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_voice_mode_response">; payload: z.ZodObject<{ requestId: z.ZodString; enabled: z.ZodBoolean; agentId: z.ZodNullable; accepted: z.ZodBoolean; error: z.ZodNullable; reasonCode: z.ZodOptional; retryable: z.ZodOptional; missingModelIds: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.get_status.response">; payload: z.ZodObject<{ requestId: z.ZodString; serverId: z.ZodString; version: z.ZodOptional>; pid: z.ZodNumber; nodePath: z.ZodString; startedAt: z.ZodOptional>; listen: z.ZodNullable; relay: z.ZodOptional>>; providers: z.ZodArray>; }, z.core.$strip>>; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.get_pairing_offer.response">; payload: z.ZodObject<{ requestId: z.ZodString; url: z.ZodString; qr: z.ZodOptional>; relayEnabled: z.ZodBoolean; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.config.reload.response">; payload: z.ZodObject<{ requestId: z.ZodString; appliedPaths: z.ZodArray; restartRequiredPaths: z.ZodArray; overrideControlledPaths: z.ZodArray; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.connect.response">; payload: z.ZodObject<{ requestId: z.ZodString; status: z.ZodObject<{ state: z.ZodEnum<{ not_connected: "not_connected"; connecting: "connecting"; connected: "connected"; reconnecting: "reconnecting"; disconnecting: "disconnecting"; revoked: "revoked"; }>; daemonId: z.ZodNullable; hubOrigin: z.ZodNullable; permissions: z.ZodArray>; connectedAt: z.ZodNullable; lastError: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.get_status.response">; payload: z.ZodObject<{ requestId: z.ZodString; status: z.ZodObject<{ state: z.ZodEnum<{ not_connected: "not_connected"; connecting: "connecting"; connected: "connected"; reconnecting: "reconnecting"; disconnecting: "disconnecting"; revoked: "revoked"; }>; daemonId: z.ZodNullable; hubOrigin: z.ZodNullable; permissions: z.ZodArray>; connectedAt: z.ZodNullable; lastError: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.disconnect.response">; payload: z.ZodObject<{ requestId: z.ZodString; status: z.ZodObject<{ state: z.ZodEnum<{ not_connected: "not_connected"; connecting: "connecting"; connected: "connected"; reconnecting: "reconnecting"; disconnecting: "disconnecting"; revoked: "revoked"; }>; daemonId: z.ZodNullable; hubOrigin: z.ZodNullable; permissions: z.ZodArray>; connectedAt: z.ZodNullable; lastError: z.ZodNullable; }, z.core.$strip>; warning: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"hub.management.daemon.permissions.update.response">; payload: z.ZodObject<{ requestId: z.ZodString; status: z.ZodObject<{ state: z.ZodEnum<{ not_connected: "not_connected"; connecting: "connecting"; connected: "connected"; reconnecting: "reconnecting"; disconnecting: "disconnecting"; revoked: "revoked"; }>; daemonId: z.ZodNullable; hubOrigin: z.ZodNullable; permissions: z.ZodArray>; connectedAt: z.ZodNullable; lastError: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"diagnostics.response">; payload: z.ZodObject<{ requestId: z.ZodString; diagnostic: z.ZodString; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"get_daemon_config_response">; payload: z.ZodObject<{ requestId: z.ZodString; config: z.ZodObject<{ relay: z.ZodOptional>; mcp: z.ZodObject<{ enabled: z.ZodOptional; injectIntoAgents: z.ZodBoolean; }, z.core.$loose>; hostnames: z.ZodOptional, z.ZodArray]>>; cors: z.ZodOptional; }, z.core.$loose>>; trustedProxies: z.ZodOptional, z.ZodArray]>>; git: z.ZodOptional>; app: z.ZodOptional>; catalogRefreshTimeoutMs: z.ZodOptional; browserTools: z.ZodDefault; }, z.core.$loose>>; providers: z.ZodDefault; disabledTools: z.ZodOptional>; }, z.core.$strip>>; enabled: z.ZodOptional; additionalModels: z.ZodOptional; isDefault: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; metadataGeneration: z.ZodDefault; thinkingOptionId: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>; autoArchiveAfterMerge: z.ZodDefault; enableTerminalAgentHooks: z.ZodDefault; appendSystemPrompt: z.ZodDefault; terminalProfiles: z.ZodOptional>; icon: z.ZodOptional; }, z.core.$loose>>>; agentProfiles: z.ZodOptional; color: z.ZodOptional; provider: z.ZodString; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; notes: z.ZodOptional; }, z.core.$loose>>>; skills: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">>; }, z.core.$strict>>; pluginsEnabled: z.ZodOptional; plugins: z.ZodOptional; path: z.ZodString; enabled: z.ZodOptional; }, z.core.$strict>], "source">>>; }, z.core.$loose>; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_daemon_config_response">; payload: z.ZodObject<{ requestId: z.ZodString; config: z.ZodObject<{ relay: z.ZodOptional>; mcp: z.ZodObject<{ enabled: z.ZodOptional; injectIntoAgents: z.ZodBoolean; }, z.core.$loose>; hostnames: z.ZodOptional, z.ZodArray]>>; cors: z.ZodOptional; }, z.core.$loose>>; trustedProxies: z.ZodOptional, z.ZodArray]>>; git: z.ZodOptional>; app: z.ZodOptional>; catalogRefreshTimeoutMs: z.ZodOptional; browserTools: z.ZodDefault; }, z.core.$loose>>; providers: z.ZodDefault; disabledTools: z.ZodOptional>; }, z.core.$strip>>; enabled: z.ZodOptional; additionalModels: z.ZodOptional; isDefault: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; metadataGeneration: z.ZodDefault; thinkingOptionId: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>; autoArchiveAfterMerge: z.ZodDefault; enableTerminalAgentHooks: z.ZodDefault; appendSystemPrompt: z.ZodDefault; terminalProfiles: z.ZodOptional>; icon: z.ZodOptional; }, z.core.$loose>>>; agentProfiles: z.ZodOptional; color: z.ZodOptional; provider: z.ZodString; model: z.ZodOptional; modeId: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; notes: z.ZodOptional; }, z.core.$loose>>>; skills: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; skills: z.ZodArray; }, z.core.$strict>], "mode">>; }, z.core.$strict>>; pluginsEnabled: z.ZodOptional; plugins: z.ZodOptional; path: z.ZodString; enabled: z.ZodOptional; }, z.core.$strict>], "source">>>; }, z.core.$loose>; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"read_project_config_response">; payload: z.ZodUnion; config: z.ZodNullable]>>; teardown: z.ZodOptional]>>; terminals: z.ZodOptional; servicePorts: z.ZodOptional; portScript: z.ZodOptional; }, z.core.$strict>>; }, z.core.$loose>>; scripts: z.ZodOptional; command: z.ZodOptional; port: z.ZodOptional; }, z.core.$loose>>>; metadataGeneration: z.ZodOptional; }, z.core.$loose>>>; branchName: z.ZodOptional; }, z.core.$loose>>>; commitMessage: z.ZodOptional; }, z.core.$loose>>>; pullRequest: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; }, z.core.$loose>>; revision: z.ZodNullable>; hasUncommittedWorktreeSetupChanges: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ requestId: z.ZodString; repoRoot: z.ZodString; ok: z.ZodLiteral; error: z.ZodDiscriminatedUnion<[z.ZodObject<{ code: z.ZodLiteral<"project_not_found">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"invalid_project_config">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"stale_project_config">; currentRevision: z.ZodNullable>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"write_failed">; }, z.core.$strip>], "code">; }, z.core.$strip>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"write_project_config_response">; payload: z.ZodUnion; config: z.ZodObject<{ worktree: z.ZodOptional]>>; teardown: z.ZodOptional]>>; terminals: z.ZodOptional; servicePorts: z.ZodOptional; portScript: z.ZodOptional; }, z.core.$strict>>; }, z.core.$loose>>; scripts: z.ZodOptional; command: z.ZodOptional; port: z.ZodOptional; }, z.core.$loose>>>; metadataGeneration: z.ZodOptional; }, z.core.$loose>>>; branchName: z.ZodOptional; }, z.core.$loose>>>; commitMessage: z.ZodOptional; }, z.core.$loose>>>; pullRequest: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$loose>>>; }, z.core.$loose>; revision: z.ZodObject<{ mtimeMs: z.ZodNumber; size: z.ZodNumber; }, z.core.$strip>; hasUncommittedWorktreeSetupChanges: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ requestId: z.ZodString; repoRoot: z.ZodString; ok: z.ZodLiteral; error: z.ZodDiscriminatedUnion<[z.ZodObject<{ code: z.ZodLiteral<"project_not_found">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"invalid_project_config">; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"stale_project_config">; currentRevision: z.ZodNullable>; }, z.core.$strip>, z.ZodObject<{ code: z.ZodLiteral<"write_failed">; }, z.core.$strip>], "code">; }, z.core.$strip>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_mode_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_model_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_thinking_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"set_agent_feature_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.config.apply.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.detach.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent.rewind.response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"update_agent_response">; payload: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; notice: z.ZodOptional>>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.rename.response">; payload: z.ZodObject<{ requestId: z.ZodString; projectId: z.ZodString; accepted: z.ZodBoolean; customName: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.icon.set.response">; payload: z.ZodObject<{ requestId: z.ZodString; projectId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.remove.response">; payload: z.ZodObject<{ requestId: z.ZodString; projectId: z.ZodString; accepted: z.ZodBoolean; removedWorkspaceIds: z.ZodDefault>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.title.set.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; accepted: z.ZodBoolean; title: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.pin.set.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; accepted: z.ZodBoolean; pinnedAt: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.recovery.inspect.response">; payload: z.ZodObject<{ requestId: z.ZodString; state: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"recoverable">; workspaceId: z.ZodString; workspaceName: z.ZodString; action: z.ZodString; branch: z.ZodNullable; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"unavailable">; workspaceId: z.ZodString; reason: z.ZodString; message: z.ZodString; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"workspace.recovery.restore.response">; payload: z.ZodObject<{ requestId: z.ZodString; workspaceId: z.ZodString; accepted: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"wait_for_finish_response">; payload: z.ZodObject<{ requestId: z.ZodString; status: z.ZodEnum<{ error: "error"; permission: "permission"; idle: "idle"; timeout: "timeout"; }>; final: z.ZodNullable; model: z.ZodNullable; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; thinkingOptionId: z.ZodOptional>; effectiveThinkingOptionId: z.ZodOptional>; createdAt: z.ZodString; updatedAt: z.ZodString; lastUserMessageAt: z.ZodNullable; status: z.ZodEnum<{ error: "error"; initializing: "initializing"; idle: "idle"; running: "running"; closed: "closed"; }>; activeTurn: z.ZodOptional; }, z.core.$strip>>>; capabilities: z.ZodType>; currentModeId: z.ZodNullable; availableModes: z.ZodArray>>; pendingPermissions: z.ZodArray>>; persistence: z.ZodNullable>>; runtimeInfo: z.ZodOptional>>; lastUsage: z.ZodOptional>>; lastError: z.ZodOptional; title: z.ZodNullable; labels: z.ZodDefault>; requiresAttention: z.ZodOptional; attentionReason: z.ZodOptional>>; attentionTimestamp: z.ZodOptional>; archivedAt: z.ZodOptional>; providerUnavailable: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; lastMessage: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_permission_request">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentId: z.ZodString; request: z.ZodType>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_permission_resolved">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; agentId: z.ZodString; requestId: z.ZodString; resolution: z.ZodType>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_deleted">; payload: z.ZodObject<{ agentId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"agent_archived">; payload: z.ZodObject<{ agentId: z.ZodString; archivedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"close_items_response">; payload: z.ZodObject<{ agents: z.ZodArray>; terminals: z.ZodArray>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_status_response">; payload: z.ZodUnion; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodNull; currentBranch: z.ZodNull; isDirty: z.ZodNull; baseRef: z.ZodNull; aheadBehind: z.ZodNull; aheadOfOrigin: z.ZodNull; behindOfOrigin: z.ZodNull; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNull; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodString; mainRepoRoot: z.ZodDefault>>; currentBranch: z.ZodNullable; isDirty: z.ZodBoolean; baseRef: z.ZodNullable; aheadBehind: z.ZodNullable>; aheadOfOrigin: z.ZodNullable; behindOfOrigin: z.ZodNullable; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNullable; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodString; mainRepoRoot: z.ZodString; currentBranch: z.ZodNullable; isDirty: z.ZodBoolean; baseRef: z.ZodString; aheadBehind: z.ZodNullable>; aheadOfOrigin: z.ZodNullable; behindOfOrigin: z.ZodNullable; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNullable; }, z.core.$strip>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_status_update">; payload: z.ZodIntersection; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodNull; currentBranch: z.ZodNull; isDirty: z.ZodNull; baseRef: z.ZodNull; aheadBehind: z.ZodNull; aheadOfOrigin: z.ZodNull; behindOfOrigin: z.ZodNull; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNull; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodString; mainRepoRoot: z.ZodDefault>>; currentBranch: z.ZodNullable; isDirty: z.ZodBoolean; baseRef: z.ZodNullable; aheadBehind: z.ZodNullable>; aheadOfOrigin: z.ZodNullable; behindOfOrigin: z.ZodNullable; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNullable; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; upstreamRef: z.ZodOptional>; isGit: z.ZodLiteral; isPaseoOwnedWorktree: z.ZodLiteral; repoRoot: z.ZodString; mainRepoRoot: z.ZodString; currentBranch: z.ZodNullable; isDirty: z.ZodBoolean; baseRef: z.ZodString; aheadBehind: z.ZodNullable>; aheadOfOrigin: z.ZodNullable; behindOfOrigin: z.ZodNullable; hasRemote: z.ZodBoolean; remoteUrl: z.ZodNullable; }, z.core.$strip>]>, z.ZodObject<{ subscriptionId: z.ZodOptional; prStatus: z.ZodOptional>; projectPath: z.ZodOptional; number: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodDefault>; mergeable: z.ZodDefault>>>; checks: z.ZodDefault; workflow: z.ZodOptional; duration: z.ZodOptional; checkRunId: z.ZodOptional; workflowRunId: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>>; checksStatus: z.ZodOptional; reviewDecision: z.ZodOptional>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional>>; autoMergeRequest: z.ZodDefault>>; mergeMethod: z.ZodDefault>>; enabledBy: z.ZodDefault>>; }, z.core.$strip>>>>; viewerCanEnableAutoMerge: z.ZodDefault>; viewerCanDisableAutoMerge: z.ZodDefault>; viewerCanMergeAsAdmin: z.ZodDefault>; viewerCanUpdateBranch: z.ZodDefault>; repository: z.ZodDefault>; mergeCommitAllowed: z.ZodDefault>; squashMergeAllowed: z.ZodDefault>; rebaseMergeAllowed: z.ZodDefault>; viewerDefaultMergeMethod: z.ZodDefault>>; }, z.core.$strip>>>; isMergeQueueEnabled: z.ZodDefault>; isInMergeQueue: z.ZodDefault>; }, z.core.$strip>>; forgeSpecific: z.ZodOptional; }, z.core.$strip>>; githubFeaturesEnabled: z.ZodBoolean; authState: z.ZodOptional; forge: z.ZodDefault>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.diff.get.response">; payload: z.ZodObject<{ error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; cwd: z.ZodString; files: z.ZodArray; isNew: z.ZodBoolean; isDeleted: z.ZodBoolean; additions: z.ZodNumber; deletions: z.ZodNumber; hunks: z.ZodArray; content: z.ZodString; tokens: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>; status: z.ZodOptional>; }, z.core.$strip>>; diffTooLarge: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscribe_checkout_diff_response">; payload: z.ZodObject<{ subscriptionId: z.ZodString; cwd: z.ZodString; files: z.ZodArray; isNew: z.ZodBoolean; isDeleted: z.ZodBoolean; additions: z.ZodNumber; deletions: z.ZodNumber; hunks: z.ZodArray; content: z.ZodString; tokens: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>; status: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; diffTooLarge: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_diff_update">; payload: z.ZodObject<{ subscriptionId: z.ZodString; cwd: z.ZodString; files: z.ZodArray; isNew: z.ZodBoolean; isDeleted: z.ZodBoolean; additions: z.ZodNumber; deletions: z.ZodNumber; hunks: z.ZodArray; content: z.ZodString; tokens: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>; status: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; diffTooLarge: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_commit_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_merge_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_merge_from_base_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pull_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_push_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.refresh.response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.discard_changes.response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_create_response">; payload: z.ZodObject<{ cwd: z.ZodString; url: z.ZodNullable; number: z.ZodNullable; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_merge_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.forge.set_auto_merge.response">; payload: z.ZodObject<{ cwd: z.ZodString; enabled: z.ZodBoolean; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.github.set_auto_merge.response">; payload: z.ZodObject<{ cwd: z.ZodString; enabled: z.ZodBoolean; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.commits.list.response">; payload: z.ZodObject<{ cwd: z.ZodString; baseRef: z.ZodNullable; commits: z.ZodArray; files: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.commits.file_diff.response">; payload: z.ZodObject<{ cwd: z.ZodString; sha: z.ZodString; path: z.ZodString; file: z.ZodNullable; isNew: z.ZodBoolean; isDeleted: z.ZodBoolean; additions: z.ZodNumber; deletions: z.ZodNumber; hunks: z.ZodArray; content: z.ZodString; tokens: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>; status: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.forge.get_check_details.response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; details: z.ZodDefault>; name: z.ZodString; status: z.ZodOptional>; conclusion: z.ZodOptional>; url: z.ZodOptional>; detailsUrl: z.ZodOptional>; output: z.ZodOptional>; summary: z.ZodOptional>; text: z.ZodOptional>; }, z.core.$strip>>>; annotations: z.ZodDefault; startLine: z.ZodOptional; endLine: z.ZodOptional; annotationLevel: z.ZodOptional; message: z.ZodOptional; title: z.ZodOptional; rawDetails: z.ZodOptional; }, z.core.$strip>>>>; failedJobs: z.ZodDefault>; conclusion: z.ZodOptional>; url: z.ZodOptional>; logTail: z.ZodOptional; logTruncated: z.ZodOptional; }, z.core.$strip>>>>; truncated: z.ZodDefault>; pipeline: z.ZodOptional; url: z.ZodDefault>>; ref: z.ZodDefault>>; sha: z.ZodDefault>>; stages: z.ZodDefault; url: z.ZodDefault>>; allowFailure: z.ZodDefault>; durationSeconds: z.ZodDefault>>; }, z.core.$strip>>>>; }, z.core.$strip>>>>; }, z.core.$strip>>>; }, z.core.$strip>>>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.github.get_check_details.response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; details: z.ZodDefault>; name: z.ZodString; status: z.ZodOptional>; conclusion: z.ZodOptional>; url: z.ZodOptional>; detailsUrl: z.ZodOptional>; output: z.ZodOptional>; summary: z.ZodOptional>; text: z.ZodOptional>; }, z.core.$strip>>>; annotations: z.ZodDefault; startLine: z.ZodOptional; endLine: z.ZodOptional; annotationLevel: z.ZodOptional; message: z.ZodOptional; title: z.ZodOptional; rawDetails: z.ZodOptional; }, z.core.$strip>>>>; failedJobs: z.ZodDefault>; conclusion: z.ZodOptional>; url: z.ZodOptional>; logTail: z.ZodOptional; logTruncated: z.ZodOptional; }, z.core.$strip>>>>; truncated: z.ZodDefault>; pipeline: z.ZodOptional; url: z.ZodDefault>>; ref: z.ZodDefault>>; sha: z.ZodDefault>>; stages: z.ZodDefault; url: z.ZodDefault>>; allowFailure: z.ZodDefault>; durationSeconds: z.ZodDefault>>; }, z.core.$strip>>>>; }, z.core.$strip>>>>; }, z.core.$strip>>>; }, z.core.$strip>>>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_pr_status_response">; payload: z.ZodObject<{ cwd: z.ZodString; status: z.ZodNullable>; projectPath: z.ZodOptional; number: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodDefault>; mergeable: z.ZodDefault>>>; checks: z.ZodDefault; workflow: z.ZodOptional; duration: z.ZodOptional; checkRunId: z.ZodOptional; workflowRunId: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>>; checksStatus: z.ZodOptional; reviewDecision: z.ZodOptional>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional>>; autoMergeRequest: z.ZodDefault>>; mergeMethod: z.ZodDefault>>; enabledBy: z.ZodDefault>>; }, z.core.$strip>>>>; viewerCanEnableAutoMerge: z.ZodDefault>; viewerCanDisableAutoMerge: z.ZodDefault>; viewerCanMergeAsAdmin: z.ZodDefault>; viewerCanUpdateBranch: z.ZodDefault>; repository: z.ZodDefault>; mergeCommitAllowed: z.ZodDefault>; squashMergeAllowed: z.ZodDefault>; rebaseMergeAllowed: z.ZodDefault>; viewerDefaultMergeMethod: z.ZodDefault>>; }, z.core.$strip>>>; isMergeQueueEnabled: z.ZodDefault>; isInMergeQueue: z.ZodDefault>; }, z.core.$strip>>; forgeSpecific: z.ZodOptional; }, z.core.$strip>>; githubFeaturesEnabled: z.ZodBoolean; authState: z.ZodOptional; forge: z.ZodDefault>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"pull_request_timeline_response">; payload: z.ZodPrefault>; prNumber: z.ZodDefault>>; items: z.ZodDefault>; kind: z.ZodLiteral<"review">; author: z.ZodDefault>; authorUrl: z.ZodOptional>; avatarUrl: z.ZodOptional>; body: z.ZodDefault>; createdAt: z.ZodDefault>; url: z.ZodDefault>; reviewState: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodDefault>; kind: z.ZodLiteral<"comment">; author: z.ZodDefault>; authorUrl: z.ZodOptional>; avatarUrl: z.ZodOptional>; body: z.ZodDefault>; createdAt: z.ZodDefault>; url: z.ZodDefault>; reviewId: z.ZodOptional; threadId: z.ZodOptional; threadIsResolved: z.ZodOptional; location: z.ZodOptional; startLine: z.ZodOptional; threadId: z.ZodOptional; isResolved: z.ZodOptional; isOutdated: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>], "kind">>>>>; truncated: z.ZodDefault>; error: z.ZodDefault; message: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"forbidden">; message: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"unknown">; message: z.ZodDefault>; }, z.core.$strip>], "kind">>>>>; requestId: z.ZodDefault>; githubFeaturesEnabled: z.ZodDefault>; authState: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout_switch_branch_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; branch: z.ZodString; source: z.ZodOptional>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"checkout.rename_branch.response">; payload: z.ZodObject<{ requestId: z.ZodString; success: z.ZodBoolean; cwd: z.ZodString; currentBranch: z.ZodNullable; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stash_save_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stash_pop_response">; payload: z.ZodObject<{ cwd: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"stash_list_response">; payload: z.ZodObject<{ cwd: z.ZodString; entries: z.ZodArray; isPaseo: z.ZodBoolean; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"validate_branch_response">; payload: z.ZodObject<{ exists: z.ZodBoolean; resolvedRef: z.ZodNullable; isRemote: z.ZodBoolean; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"branch_suggestions_response">; payload: z.ZodObject<{ branches: z.ZodArray; branchDetails: z.ZodOptional; hasRemote: z.ZodOptional; localAhead: z.ZodOptional; localBehind: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"forge.search.response">; payload: z.ZodObject<{ items: z.ZodArray; authState: z.ZodOptional; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"github_search_response">; payload: z.ZodObject<{ items: z.ZodArray; featuresEnabled: z.ZodOptional; authState: z.ZodOptional; githubFeaturesEnabled: z.ZodOptional; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"directory_suggestions_response">; payload: z.ZodObject<{ directories: z.ZodArray; entries: z.ZodDefault; }, z.core.$strip>>>>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"paseo_worktree_list_response">; payload: z.ZodObject<{ worktrees: z.ZodArray>; head: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"paseo_worktree_archive_response">; payload: z.ZodObject<{ success: z.ZodBoolean; removedAgents: z.ZodOptional>; error: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"create_paseo_worktree_response">; payload: z.ZodObject<{ workspace: z.ZodNullable>; projectCustomIconRevision: z.ZodOptional>; projectRootPath: z.ZodString; workspaceDirectory: z.ZodOptional; worktreeSlug: z.ZodOptional; projectKind: z.ZodEnum<{ directory: "directory"; git: "git"; non_git: "non_git"; }>; workspaceKind: z.ZodEnum<{ directory: "directory"; worktree: "worktree"; checkout: "checkout"; local_checkout: "local_checkout"; }>; name: z.ZodString; title: z.ZodOptional>; pinnedAt: z.ZodOptional>; labels: z.ZodOptional>; archivingAt: z.ZodDefault>>; status: z.ZodEnum<{ running: "running"; attention: "attention"; needs_input: "needs_input"; failed: "failed"; done: "done"; }>; statusEnteredAt: z.ZodPipe>, z.ZodTransform>; activityAt: z.ZodNullable; diffStat: z.ZodOptional>>; scripts: z.ZodDefault>>; hostname: z.ZodString; port: z.ZodNullable; localProxyUrl: z.ZodOptional>; publicProxyUrl: z.ZodOptional>; proxyUrl: z.ZodDefault>>; lifecycle: z.ZodEnum<{ running: "running"; stopped: "stopped"; }>; health: z.ZodNullable>; exitCode: z.ZodDefault>>; terminalId: z.ZodDefault>>; }, z.core.$strip>>>; gitRuntime: z.ZodNullable>; remoteUrl: z.ZodOptional>; isPaseoOwnedWorktree: z.ZodOptional; isDirty: z.ZodOptional>; aheadBehind: z.ZodOptional>>; aheadOfOrigin: z.ZodOptional>; behindOfOrigin: z.ZodOptional>; }, z.core.$strip>>>; githubRuntime: z.ZodNullable; pullRequest: z.ZodOptional; url: z.ZodString; title: z.ZodString; state: z.ZodString; baseRefName: z.ZodString; headRefName: z.ZodString; isMerged: z.ZodBoolean; isDraft: z.ZodOptional; mergeable: z.ZodOptional>>; checks: z.ZodOptional; url: z.ZodNullable; workflow: z.ZodOptional; duration: z.ZodOptional; traits: z.ZodOptional>; }, z.core.$strip>>>; checksStatus: z.ZodOptional>; reviewDecision: z.ZodOptional>>; repoOwner: z.ZodOptional; repoName: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>>; refreshedAt: z.ZodOptional>; }, z.core.$strip>>>; forge: z.ZodOptional; project: z.ZodOptional>; checkout: z.ZodUnion; currentBranch: z.ZodNull; remoteUrl: z.ZodNull; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodNull; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; }, { cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; worktreeRoot?: null | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodDefault>>; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; worktreeRoot?: string | undefined; }>>, z.ZodPipe; currentBranch: z.ZodNullable; remoteUrl: z.ZodNullable; worktreeRoot: z.ZodOptional; isPaseoOwnedWorktree: z.ZodLiteral; mainRepoRoot: z.ZodString; }, z.core.$strip>, z.ZodTransform<{ worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }, { cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; worktreeRoot?: string | undefined; }>>]>; }, z.core.$strip>>; syncSeq: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ workspaceDirectory: string; id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }, { id: string; projectId: string; projectDisplayName: string; projectRootPath: string; projectKind: "directory" | "git" | "non_git"; workspaceKind: "directory" | "worktree" | "checkout" | "local_checkout"; name: string; archivingAt: string | null; status: "running" | "attention" | "needs_input" | "failed" | "done"; statusEnteredAt: string | null; activityAt: string | null; scripts: { scriptName: string; type: "script" | "service"; hostname: string; port: number | null; proxyUrl: string | null; lifecycle: "running" | "stopped"; health: "healthy" | "unhealthy" | null; exitCode: number | null; terminalId: string | null; localProxyUrl?: string | null | undefined; publicProxyUrl?: string | null | undefined; }[]; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; workspaceDirectory?: string | undefined; worktreeSlug?: string | undefined; title?: string | null | undefined; pinnedAt?: string | null | undefined; labels?: string[] | undefined; diffStat?: { additions: number; deletions: number; } | null | undefined; gitRuntime?: { currentBranch?: string | null | undefined; remoteUrl?: string | null | undefined; isPaseoOwnedWorktree?: boolean | undefined; isDirty?: boolean | null | undefined; aheadBehind?: { ahead: number; behind: number; } | null | undefined; aheadOfOrigin?: number | null | undefined; behindOfOrigin?: number | null | undefined; } | null | undefined; githubRuntime?: { featuresEnabled?: boolean | undefined; pullRequest?: { url: string; title: string; state: string; baseRefName: string; headRefName: string; isMerged: boolean; number?: number | undefined; isDraft?: boolean | undefined; mergeable?: "UNKNOWN" | "MERGEABLE" | "CONFLICTING" | undefined; checks?: { name: string; status: "success" | "pending" | "failure" | "skipped" | "cancelled"; url: string | null; workflow?: string | undefined; duration?: string | undefined; traits?: string[] | undefined; }[] | undefined; checksStatus?: "success" | "pending" | "none" | "failure" | undefined; reviewDecision?: "pending" | "approved" | "changes_requested" | null | undefined; repoOwner?: string | undefined; repoName?: string | undefined; github?: unknown; } | null | undefined; error?: { message: string; } | null | undefined; refreshedAt?: string | null | undefined; } | null | undefined; forge?: string | undefined; project?: { projectKey: string; projectName: string; checkout: { worktreeRoot: null; cwd: string; isGit: false; currentBranch: null; remoteUrl: null; isPaseoOwnedWorktree: false; mainRepoRoot: null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: false; mainRepoRoot: string | null; } | { worktreeRoot: string; cwd: string; isGit: true; currentBranch: string | null; remoteUrl: string | null; isPaseoOwnedWorktree: true; mainRepoRoot: string; }; workspaceName?: string | null | undefined; } | undefined; syncSeq?: number | undefined; }>>>; error: z.ZodNullable; errorCode: z.ZodOptional; setupTerminalId: z.ZodNullable; setupSkippedReason: z.ZodOptional; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file_explorer_response">; payload: z.ZodObject<{ cwd: z.ZodString; path: z.ZodString; mode: z.ZodEnum<{ file: "file"; list: "list"; }>; directory: z.ZodNullable; size: z.ZodNumber; modifiedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; file: z.ZodNullable; encoding: z.ZodEnum<{ "utf-8": "utf-8"; base64: "base64"; none: "none"; }>; content: z.ZodOptional; mimeType: z.ZodOptional; size: z.ZodNumber; modifiedAt: z.ZodString; revision: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.subscribe.response">; payload: z.ZodObject<{ subscriptionId: z.ZodString; initial: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ready">; cwd: z.ZodString; path: z.ZodString; size: z.ZodNumber; modifiedAt: z.ZodString; revision: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"missing">; cwd: z.ZodString; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; cwd: z.ZodString; path: z.ZodString; error: z.ZodString; }, z.core.$strip>], "status">; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.unsubscribe.response">; payload: z.ZodObject<{ subscriptionId: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.write.response">; payload: z.ZodObject<{ result: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"written">; modifiedAt: z.ZodString; size: z.ZodNumber; revision: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"conflict">; version: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ready">; cwd: z.ZodString; path: z.ZodString; size: z.ZodNumber; modifiedAt: z.ZodString; revision: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"missing">; cwd: z.ZodString; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; cwd: z.ZodString; path: z.ZodString; error: z.ZodString; }, z.core.$strip>], "status">; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; error: z.ZodString; }, z.core.$strip>], "status">; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.create.response">; payload: z.ZodObject<{ cwd: z.ZodString; parentPath: z.ZodString; path: z.ZodNullable; success: z.ZodBoolean; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.rename.response">; payload: z.ZodObject<{ cwd: z.ZodString; path: z.ZodString; renamedPath: z.ZodNullable; success: z.ZodBoolean; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.duplicate.response">; payload: z.ZodObject<{ cwd: z.ZodString; path: z.ZodString; duplicatedPath: z.ZodNullable; success: z.ZodBoolean; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.entry.delete.response">; payload: z.ZodObject<{ cwd: z.ZodString; path: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fs.file.update">; payload: z.ZodObject<{ subscriptionId: z.ZodString; version: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ready">; cwd: z.ZodString; path: z.ZodString; size: z.ZodNumber; modifiedAt: z.ZodString; revision: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"missing">; cwd: z.ZodString; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"error">; cwd: z.ZodString; path: z.ZodString; error: z.ZodString; }, z.core.$strip>], "status">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project_icon_response">; payload: z.ZodObject<{ cwd: z.ZodString; icon: z.ZodNullable>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"project.icon.get.response">; payload: z.ZodObject<{ projectId: z.ZodString; icon: z.ZodNullable>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file_download_token_response">; payload: z.ZodObject<{ cwd: z.ZodString; path: z.ZodString; token: z.ZodNullable; fileName: z.ZodNullable; mimeType: z.ZodNullable; size: z.ZodNullable; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file.upload.response">; payload: z.ZodObject<{ requestId: z.ZodString; file: z.ZodNullable; id: z.ZodString; fileName: z.ZodString; mimeType: z.ZodString; size: z.ZodNumber; path: z.ZodString; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_provider_models_response">; payload: z.ZodObject<{ provider: z.ZodString; models: z.ZodOptional>; isSelectable: z.ZodOptional; label: z.ZodString; description: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; contextWindowMaxTokens: z.ZodOptional; thinkingOptions: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>>; defaultThinkingOptionId: z.ZodOptional; }, z.core.$strip>>>; error: z.ZodOptional>; fetchedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_provider_modes_response">; payload: z.ZodObject<{ provider: z.ZodString; modes: z.ZodOptional>>>; error: z.ZodOptional>; fetchedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_provider_features_response">; payload: z.ZodObject<{ provider: z.ZodString; features: z.ZodOptional; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; id: z.ZodString; label: z.ZodString; description: z.ZodOptional; tooltip: z.ZodOptional; icon: z.ZodOptional; value: z.ZodNullable; options: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>], "type">>>; error: z.ZodOptional>; fetchedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_available_providers_response">; payload: z.ZodObject<{ providers: z.ZodArray>; }, z.core.$strip>>; error: z.ZodOptional>; fetchedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"get_providers_snapshot_response">; payload: z.ZodObject<{ cwd: z.ZodOptional; entries: z.ZodArray>; enabled: z.ZodDefault>; source: z.ZodOptional>; error: z.ZodOptional; models: z.ZodOptional>; isSelectable: z.ZodOptional; label: z.ZodString; description: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; contextWindowMaxTokens: z.ZodOptional; thinkingOptions: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>>; defaultThinkingOptionId: z.ZodOptional; }, z.core.$strip>>>; modes: z.ZodOptional>>>; fetchedAt: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; iconSvg: z.ZodOptional; defaultModeId: z.ZodOptional>; }, z.core.$strip>>; compactSnapshot: z.ZodOptional; description: z.ZodOptional; label: z.ZodOptional; provider: z.ZodString; source: z.ZodOptional>; enabled: z.ZodDefault>; status: z.ZodType>; defaultModeId: z.ZodOptional>; modes: z.ZodOptional>>>; fetchedAt: z.ZodOptional; iconSvg: z.ZodOptional; models: z.ZodOptional; metadata: z.ZodOptional>; label: z.ZodString; id: z.ZodString; isDefault: z.ZodOptional; aliases: z.ZodOptional>; isSelectable: z.ZodOptional; contextWindowMaxTokens: z.ZodOptional; defaultThinkingOptionId: z.ZodOptional; thinkingSet: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; thinkingSets: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; defaultOptionId: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; snapshotHash: z.ZodOptional; fetchedAt: z.ZodOptional>; notModified: z.ZodOptional; generatedAt: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"providers_snapshot_update">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; cwd: z.ZodOptional; entries: z.ZodArray>; enabled: z.ZodDefault>; source: z.ZodOptional>; error: z.ZodOptional; models: z.ZodOptional>; isSelectable: z.ZodOptional; label: z.ZodString; description: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; contextWindowMaxTokens: z.ZodOptional; thinkingOptions: z.ZodOptional; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>>; defaultThinkingOptionId: z.ZodOptional; }, z.core.$strip>>>; modes: z.ZodOptional>>>; fetchedAt: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; iconSvg: z.ZodOptional; defaultModeId: z.ZodOptional>; }, z.core.$strip>>; compactSnapshot: z.ZodOptional; description: z.ZodOptional; label: z.ZodOptional; provider: z.ZodString; source: z.ZodOptional>; enabled: z.ZodDefault>; status: z.ZodType>; defaultModeId: z.ZodOptional>; modes: z.ZodOptional>>>; fetchedAt: z.ZodOptional; iconSvg: z.ZodOptional; models: z.ZodOptional; metadata: z.ZodOptional>; label: z.ZodString; id: z.ZodString; isDefault: z.ZodOptional; aliases: z.ZodOptional>; isSelectable: z.ZodOptional; contextWindowMaxTokens: z.ZodOptional; defaultThinkingOptionId: z.ZodOptional; thinkingSet: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; thinkingSets: z.ZodArray; isDefault: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>>; defaultOptionId: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; snapshotHash: z.ZodOptional; fetchedAt: z.ZodOptional>; generatedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"refresh_providers_snapshot_response">; payload: z.ZodObject<{ requestId: z.ZodString; acknowledged: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"provider_diagnostic_response">; payload: z.ZodObject<{ provider: z.ZodString; diagnostic: z.ZodString; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"provider.usage.list.response">; payload: z.ZodObject<{ requestId: z.ZodString; fetchedAt: z.ZodString; providers: z.ZodArray; planLabel: z.ZodNullable; sourceLabel: z.ZodOptional>; fetchedAt: z.ZodOptional>; nextRefreshAt: z.ZodOptional>; windows: z.ZodArray>; remainingPct: z.ZodOptional>; resetsAt: z.ZodOptional>; runsOutAt: z.ZodOptional>; shortfallPct: z.ZodOptional>; tone: z.ZodOptional>; }, z.core.$strip>>; balances: z.ZodOptional>; remaining: z.ZodOptional>; limit: z.ZodOptional>; unit: z.ZodEnum<{ tokens: "tokens"; usd: "usd"; credits: "credits"; requests: "requests"; }>; resetsAt: z.ZodOptional>; tone: z.ZodOptional>; }, z.core.$strip>>>; details: z.ZodOptional>; }, z.core.$strip>>>; error: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_commands_response">; payload: z.ZodObject<{ agentId: z.ZodString; commands: z.ZodArray>>; }, z.core.$strip>>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"list_terminals_response">; payload: z.ZodObject<{ cwd: z.ZodOptional; terminals: z.ZodArray; workspaceId: z.ZodOptional; title: z.ZodOptional; activity: z.ZodOptional>; attentionReason: z.ZodCatch>>>; changedAt: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>>; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminals_changed">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; requestId: z.ZodOptional; workspaceId: z.ZodOptional; cwd: z.ZodString; terminals: z.ZodArray; title: z.ZodOptional; name: z.ZodString; id: z.ZodString; activity: z.ZodOptional>; attentionReason: z.ZodCatch>>>; changedAt: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"create_terminal_response">; payload: z.ZodObject<{ terminal: z.ZodNullable; title: z.ZodOptional; activity: z.ZodOptional>; attentionReason: z.ZodCatch>>>; changedAt: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>>; error: z.ZodNullable; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal.rename.response">; payload: z.ZodObject<{ requestId: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"subscribe_terminal_response">; payload: z.ZodUnion; error: z.ZodNull; requestId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ terminalId: z.ZodString; error: z.ZodString; requestId: z.ZodString; }, z.core.$strip>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"kill_terminal_response">; payload: z.ZodObject<{ terminalId: z.ZodString; success: z.ZodBoolean; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"capture_terminal_response">; payload: z.ZodObject<{ terminalId: z.ZodString; lines: z.ZodArray; totalLines: z.ZodNumber; requestId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal_stream_exit">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; terminalId: z.ZodString; error: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal_attention_required">; payload: z.ZodObject<{ subscriptionId: z.ZodOptional; serverId: z.ZodOptional; terminalId: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; reason: z.ZodEnum<{ finished: "finished"; needs_input: "needs_input"; }>; title: z.ZodString; body: z.ZodString; shouldNotify: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/create/response">; payload: z.ZodObject<{ requestId: z.ZodString; room: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; messageCount: z.ZodNumber; lastMessageAt: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/list/response">; payload: z.ZodObject<{ requestId: z.ZodString; rooms: z.ZodArray; createdAt: z.ZodString; updatedAt: z.ZodString; messageCount: z.ZodNumber; lastMessageAt: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/inspect/response">; payload: z.ZodObject<{ requestId: z.ZodString; room: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; messageCount: z.ZodNumber; lastMessageAt: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/delete/response">; payload: z.ZodObject<{ requestId: z.ZodString; room: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; messageCount: z.ZodNumber; lastMessageAt: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/post/response">; payload: z.ZodObject<{ requestId: z.ZodString; message: z.ZodNullable; mentionAgentIds: z.ZodArray; createdAt: z.ZodString; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/read/response">; payload: z.ZodObject<{ requestId: z.ZodString; messages: z.ZodArray; mentionAgentIds: z.ZodArray; createdAt: z.ZodString; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"chat/wait/response">; payload: z.ZodObject<{ requestId: z.ZodString; messages: z.ZodArray; mentionAgentIds: z.ZodArray; createdAt: z.ZodString; }, z.core.$strip>>; timedOut: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/create/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedule: z.ZodNullable; id: z.ZodString; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; prompt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/list/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedules: z.ZodArray; id: z.ZodString; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; prompt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/inspect/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedule: z.ZodNullable; prompt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; runs: z.ZodArray; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; }>; agentId: z.ZodNullable; workspaceId: z.ZodOptional>; output: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/logs/response">; payload: z.ZodObject<{ requestId: z.ZodString; runs: z.ZodArray; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; }>; agentId: z.ZodNullable; workspaceId: z.ZodOptional>; output: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/pause/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedule: z.ZodNullable; id: z.ZodString; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; prompt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/resume/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedule: z.ZodNullable; id: z.ZodString; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; prompt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/delete/response">; payload: z.ZodObject<{ requestId: z.ZodString; scheduleId: z.ZodString; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/run-once/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedule: z.ZodNullable; prompt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; runs: z.ZodArray; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; }>; agentId: z.ZodNullable; workspaceId: z.ZodOptional>; output: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"schedule/update/response">; payload: z.ZodObject<{ requestId: z.ZodString; schedule: z.ZodNullable; prompt: z.ZodString; cadence: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"every">; everyMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cron">; expression: z.ZodString; timezone: z.ZodOptional; }, z.core.$strip>], "type">; target: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"agent">; agentId: z.ZodGUID; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"new-agent">; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; thinkingOptionId: z.ZodOptional; archiveOnFinish: z.ZodOptional; isolation: z.ZodOptional>; title: z.ZodOptional>; providerOptions: z.ZodOptional>; featureValues: z.ZodOptional>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>], "type">; status: z.ZodEnum<{ completed: "completed"; active: "active"; paused: "paused"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; pausedAt: z.ZodNullable; expiresAt: z.ZodNullable; maxRuns: z.ZodNullable; runs: z.ZodArray; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; }>; agentId: z.ZodNullable; workspaceId: z.ZodOptional>; output: z.ZodNullable; error: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/run/response">; payload: z.ZodObject<{ requestId: z.ZodString; loop: z.ZodNullable; prompt: z.ZodString; cwd: z.ZodString; provider: z.ZodString; model: z.ZodNullable; modeId: z.ZodDefault>; workerProvider: z.ZodNullable; workerModel: z.ZodNullable; verifierProvider: z.ZodNullable; verifierModel: z.ZodNullable; verifierModeId: z.ZodDefault>; verifyPrompt: z.ZodNullable; verifyChecks: z.ZodArray; archive: z.ZodBoolean; sleepMs: z.ZodNumber; maxIterations: z.ZodNullable; maxTimeMs: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; startedAt: z.ZodString; completedAt: z.ZodNullable; stopRequestedAt: z.ZodNullable; iterations: z.ZodArray; workerStartedAt: z.ZodString; workerCompletedAt: z.ZodNullable; verifierAgentId: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; workerOutcome: z.ZodNullable>; failureReason: z.ZodNullable; verifyChecks: z.ZodArray>; verifyPrompt: z.ZodNullable; startedAt: z.ZodString; completedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; logs: z.ZodArray; source: z.ZodEnum<{ loop: "loop"; worker: "worker"; verifier: "verifier"; "verify-check": "verify-check"; }>; level: z.ZodEnum<{ error: "error"; info: "info"; }>; text: z.ZodString; }, z.core.$strip>>; nextLogSeq: z.ZodNumber; activeIteration: z.ZodNullable; activeWorkerAgentId: z.ZodNullable; activeVerifierAgentId: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/list/response">; payload: z.ZodObject<{ requestId: z.ZodString; loops: z.ZodArray; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; cwd: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; activeIteration: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/inspect/response">; payload: z.ZodObject<{ requestId: z.ZodString; loop: z.ZodNullable; prompt: z.ZodString; cwd: z.ZodString; provider: z.ZodString; model: z.ZodNullable; modeId: z.ZodDefault>; workerProvider: z.ZodNullable; workerModel: z.ZodNullable; verifierProvider: z.ZodNullable; verifierModel: z.ZodNullable; verifierModeId: z.ZodDefault>; verifyPrompt: z.ZodNullable; verifyChecks: z.ZodArray; archive: z.ZodBoolean; sleepMs: z.ZodNumber; maxIterations: z.ZodNullable; maxTimeMs: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; startedAt: z.ZodString; completedAt: z.ZodNullable; stopRequestedAt: z.ZodNullable; iterations: z.ZodArray; workerStartedAt: z.ZodString; workerCompletedAt: z.ZodNullable; verifierAgentId: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; workerOutcome: z.ZodNullable>; failureReason: z.ZodNullable; verifyChecks: z.ZodArray>; verifyPrompt: z.ZodNullable; startedAt: z.ZodString; completedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; logs: z.ZodArray; source: z.ZodEnum<{ loop: "loop"; worker: "worker"; verifier: "verifier"; "verify-check": "verify-check"; }>; level: z.ZodEnum<{ error: "error"; info: "info"; }>; text: z.ZodString; }, z.core.$strip>>; nextLogSeq: z.ZodNumber; activeIteration: z.ZodNullable; activeWorkerAgentId: z.ZodNullable; activeVerifierAgentId: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/logs/response">; payload: z.ZodObject<{ requestId: z.ZodString; loop: z.ZodNullable; prompt: z.ZodString; cwd: z.ZodString; provider: z.ZodString; model: z.ZodNullable; modeId: z.ZodDefault>; workerProvider: z.ZodNullable; workerModel: z.ZodNullable; verifierProvider: z.ZodNullable; verifierModel: z.ZodNullable; verifierModeId: z.ZodDefault>; verifyPrompt: z.ZodNullable; verifyChecks: z.ZodArray; archive: z.ZodBoolean; sleepMs: z.ZodNumber; maxIterations: z.ZodNullable; maxTimeMs: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; startedAt: z.ZodString; completedAt: z.ZodNullable; stopRequestedAt: z.ZodNullable; iterations: z.ZodArray; workerStartedAt: z.ZodString; workerCompletedAt: z.ZodNullable; verifierAgentId: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; workerOutcome: z.ZodNullable>; failureReason: z.ZodNullable; verifyChecks: z.ZodArray>; verifyPrompt: z.ZodNullable; startedAt: z.ZodString; completedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; logs: z.ZodArray; source: z.ZodEnum<{ loop: "loop"; worker: "worker"; verifier: "verifier"; "verify-check": "verify-check"; }>; level: z.ZodEnum<{ error: "error"; info: "info"; }>; text: z.ZodString; }, z.core.$strip>>; nextLogSeq: z.ZodNumber; activeIteration: z.ZodNullable; activeWorkerAgentId: z.ZodNullable; activeVerifierAgentId: z.ZodNullable; }, z.core.$strip>>; entries: z.ZodArray; source: z.ZodEnum<{ loop: "loop"; worker: "worker"; verifier: "verifier"; "verify-check": "verify-check"; }>; level: z.ZodEnum<{ error: "error"; info: "info"; }>; text: z.ZodString; }, z.core.$strip>>; nextCursor: z.ZodNumber; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"loop/stop/response">; payload: z.ZodObject<{ requestId: z.ZodString; loop: z.ZodNullable; prompt: z.ZodString; cwd: z.ZodString; provider: z.ZodString; model: z.ZodNullable; modeId: z.ZodDefault>; workerProvider: z.ZodNullable; workerModel: z.ZodNullable; verifierProvider: z.ZodNullable; verifierModel: z.ZodNullable; verifierModeId: z.ZodDefault>; verifyPrompt: z.ZodNullable; verifyChecks: z.ZodArray; archive: z.ZodBoolean; sleepMs: z.ZodNumber; maxIterations: z.ZodNullable; maxTimeMs: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; startedAt: z.ZodString; completedAt: z.ZodNullable; stopRequestedAt: z.ZodNullable; iterations: z.ZodArray; workerStartedAt: z.ZodString; workerCompletedAt: z.ZodNullable; verifierAgentId: z.ZodNullable; status: z.ZodEnum<{ running: "running"; failed: "failed"; succeeded: "succeeded"; stopped: "stopped"; }>; workerOutcome: z.ZodNullable>; failureReason: z.ZodNullable; verifyChecks: z.ZodArray>; verifyPrompt: z.ZodNullable; startedAt: z.ZodString; completedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; logs: z.ZodArray; source: z.ZodEnum<{ loop: "loop"; worker: "worker"; verifier: "verifier"; "verify-check": "verify-check"; }>; level: z.ZodEnum<{ error: "error"; info: "info"; }>; text: z.ZodString; }, z.core.$strip>>; nextLogSeq: z.ZodNumber; activeIteration: z.ZodNullable; activeWorkerAgentId: z.ZodNullable; activeVerifierAgentId: z.ZodNullable; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.update.progress">; payload: z.ZodObject<{ requestId: z.ZodString; phase: z.ZodEnum<{ starting: "starting"; downloading: "downloading"; installing: "installing"; complete: "complete"; }>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"daemon.update.response">; payload: z.ZodObject<{ requestId: z.ZodString; success: z.ZodBoolean; error: z.ZodNullable; previousVersion: z.ZodNullable; newVersion: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>], "type">; }, z.core.$strip>], "type">; export type WSInboundMessage = z.infer; export type WSOutboundMessage = z.infer; export type WSHelloMessage = z.infer; /** * Extract session message from WebSocket message * Returns null if message should be handled at WS level only */ export declare function extractSessionMessage(wsMsg: WSInboundMessage): SessionInboundMessage | null; /** * Wrap session message in WebSocket envelope */ export declare function wrapSessionMessage(sessionMsg: SessionOutboundMessage): WSOutboundMessage; export declare function parseServerInfoStatusPayload(payload: unknown): ServerInfoStatusPayload | null; //# sourceMappingURL=messages.d.ts.map