Documentation
¶
Index ¶
- Constants
- func Deref[T any](p *T) T
- func DerefOr[T any](p *T, def T) T
- func EncodeKittyImageFrame(terminalID TerminalID, imageID uint32, generation uint64, width, height uint32, ...) ([]byte, error)
- func EncodePtyOutputFrame(terminalID TerminalID, seq uint32, data []byte) ([]byte, error)
- func FormatPRID(host, repo string, number int) string
- func KittyImageFormatName(code byte) (string, bool)
- func NormalizeSpawnAgent(agent, fallback string) string
- func ParseMessage(data []byte) (string, any, error)
- func ParsePRID(id string) (host, repo string, number int, err error)
- func Ptr[T any](v T) *T
- func TrimID[T ~string](id T) T
- type ActivityStatusMessage
- type ActivityStatusResult
- type ActivityStatusSession
- type AddOutpostMessage
- type AgentCloseMessage
- type AgentCloseResult
- type AgentCloseRule
- type AgentInboxBatchResult
- type AgentInboxItem
- type AgentInboxMessage
- type AgentMessageState
- type AgentMsgMessage
- type AgentMsgResult
- type AgentMsgStatus
- type AgentMsgStatusMessage
- type AgentPeekExit
- type AgentPeekMessage
- type AgentPeekResult
- type AgentPeekScreen
- type AgentPeerMessage
- type AgentReloadMessage
- type AgentReloadOutcome
- type AgentReloadResult
- type AgentTurnAction
- type AgentTurnMessage
- type AgentTurnOutcome
- type AgentTurnResult
- type ApprovePRMessage
- type Ask
- type AskAnswer
- type AskAnswerMessage
- type AskAnswerResultMessage
- type AskChoice
- type AskCloseMessage
- type AskListMessage
- type AskListResult
- type AskOpenMessage
- type AskPart
- type AskQuestion
- type AskQuestionKind
- type AsksUpdatedMessage
- type AttachBlock
- type AttachPolicy
- type AttachResultMessage
- type AttachSessionMessage
- type AttachSnapshot
- type AuthorState
- type AuthorsUpdatedMessage
- type AutoModeConfigInfo
- type AutoModeConfigResult
- type AutoModeConfigResultMessage
- type AutoModeDenialInfo
- type AutoModeDenialsMessage
- type AutoModeDenialsResult
- type AutoModeDiscardMessage
- type AutoModeDiscardResultMessage
- type AutoModeEnvNotesMessage
- type AutoModeEnvResult
- type AutoModeEnvSetResultMessage
- type AutoModeEnvSlotMessage
- type AutoModeEnvironmentInfo
- type AutoModeEnvironmentSlot
- type AutoModeEnvironmentSlotValue
- type AutoModeGetMessage
- type AutoModeHostAddMessage
- type AutoModeHostRemoveMessage
- type AutoModeLegacyDismissMessage
- type AutoModeNetworkInfo
- type AutoModePolicySetMessage
- type AutoModePresetInfo
- type AutoModePromoteMessage
- type AutoModePromoteResultMessage
- type AutoModeProposalInfo
- type AutoModeProposeMessage
- type AutoModeProposeResult
- type AutoModeRuleAddMessage
- type AutoModeRuleInfo
- type AutoModeRuleRemoveMessage
- type AutoModeShowMessage
- type AutoModeShowResult
- type AutoModeStateChangedMessage
- type AutoModeStateResultMessage
- type AutomationApplyMessage
- type AutomationApplyResultMessage
- type AutomationCleanupMessage
- type AutomationCleanupResultMessage
- type AutomationDefinitionGetMessage
- type AutomationDefinitionResultMessage
- type AutomationDefinitionSummary
- type AutomationDefinitionsGetMessage
- type AutomationDefinitionsResultMessage
- type AutomationDeleteMessage
- type AutomationDeleteResultMessage
- type AutomationProvenance
- type AutomationRunMessage
- type AutomationRunResultMessage
- type AutomationRunSummary
- type AutomationRunsGetMessage
- type AutomationRunsResultMessage
- type AutomationSetEnabledMessage
- type AutomationSetEnabledResultMessage
- type AutomationValidateMessage
- type AutomationValidateResultMessage
- type AutomationsChangedMessage
- type BackgroundLaunchMessage
- type Branch
- type BranchesResultMessage
- type BrowseDirectoryMessage
- type BrowseDirectoryResultMessage
- type BrowserControlMessage
- type BrowserControlRequestMessage
- type BrowserControlResultMessage
- type BuiltinDelegationRole
- type BusConsumerStatus
- type BusHealthEntry
- type BusProducerStatus
- type BusSetConsumerEnabledMessage
- type BusSetConsumerEnabledResultMessage
- type BusStatusGetMessage
- type BusStatusResultMessage
- type CalloutAnchor
- type CalloutAnchorInfo
- type CalloutAnchorsMessage
- type CalloutAnchorsRequestMessage
- type CalloutAnchorsResult
- type CalloutResultMessage
- type CalloutShowMessage
- type CalloutShowRequestMessage
- type CalloutShowStep
- type CalloutStep
- type CancelCountdownMessage
- type ChiefOfStaffResultMessage
- type ClearSessionActivityMessage
- type ClearWarningsMessage
- type ClientEvictionNoticeMessage
- type ClientHelloMessage
- type CollapseRepoMessage
- type CommandErrorMessage
- type CommandUsage
- type CreateWorktreeFromBranchMessage
- type CreateWorktreeMessage
- type CreateWorktreeResultMessage
- type CrewCharterDocument
- type CrewCharterGetMessage
- type CrewCharterGetResult
- type CrewCharterGetResultMessage
- type CrewCharterSetMessage
- type CrewCharterSetResult
- type CrewCharterSetResultMessage
- type CrewDayClose
- type CrewHandoffDocument
- type CrewHandoffGetMessage
- type CrewHandoffGetResult
- type CrewHandoffGetResultMessage
- type CrewHandoffMessage
- type CrewHandoffResult
- type CrewHandoffSummary
- type CrewHandoffsGetMessage
- type CrewHandoffsGetResult
- type CrewHandoffsGetResultMessage
- type CrewListMessage
- type CrewListResult
- type CrewMember
- type CrewPrimeMessage
- type CrewPrimeResult
- type CrewSetMessage
- type CrewSetResult
- type CrewSetResultMessage
- type CrewSleepMessage
- type CrewSleepResult
- type CrewSleepResultMessage
- type CrewUpdatedMessage
- type CrewWakeMessage
- type CrewWakeResult
- type CrewWakeResultMessage
- type DaemonWarning
- type DelegateAssignment
- type DelegateAssignmentKind
- type DelegateCheckout
- type DelegateCheckoutKind
- type DelegateHandover
- type DelegateMessage
- type DelegateResult
- type DelegateResultMessage
- type DelegateStatusMessage
- type DelegateWorktreeRequest
- type DelegationChoice
- type DelegationFailure
- type DelegationFallback
- type DelegationOperation
- type DelegationOperationMessage
- type DelegationOperationState
- type DelegationPreferences
- type DelegationPreferencesChangedMessage
- type DelegationPreferencesCommitMessage
- type DelegationPreferencesGetMessage
- type DelegationPreferencesHistoryMessage
- type DelegationPreferencesHistoryResult
- type DelegationPreferencesOrigin
- type DelegationPreferencesResultMessage
- type DelegationPreferencesRevision
- type DelegationPreferencesRollbackMessage
- type DelegationPreferencesSaveMessage
- type DelegationPreferencesShowMessage
- type DelegationRole
- type DelegationRolesMessage
- type DelegationRolesResult
- type DelegationSelection
- type DeleteWorktreeMessage
- type DeleteWorktreeResultMessage
- type Desktop
- type DesktopCloseMessage
- type DesktopCloseTileMessage
- type DesktopCreateMessage
- type DesktopDockTileMessage
- type DesktopMoveLeafMessage
- type DesktopMoveSessionMessage
- type DesktopMoveSessionResult
- type DesktopPane
- type DesktopPlaceSessionMessage
- type DesktopRemoveLeafMessage
- type DesktopRenameMessage
- type DesktopReorderMessage
- type DesktopSetActivePaneMessage
- type DesktopSetCurrentMessage
- type DesktopSetOrderMessage
- type DesktopSetSplitRatioMessage
- type DesktopShowLeafMessage
- type DesktopShowSessionMessage
- type DesktopTileContentMessage
- type DesktopUpdateTileMessage
- type DetachSessionMessage
- type DirectoryEntry
- type DocCollectionsMessage
- type DocCollectionsResult
- type DocCountMessage
- type DocCountResult
- type DocDefineMessage
- type DocDefineResult
- type DocDeleteMessage
- type DocDeleteResult
- type DocGetMessage
- type DocGetResult
- type DocPutMessage
- type DocPutResult
- type DocQueryMessage
- type DocQueryResult
- type DocSubscribeMessage
- type DocSubscribeResult
- type DocSubscriptionDeliveryMessage
- type DocSubscriptionEndedMessage
- type DocUndefineMessage
- type DocUndefineResult
- type DocUnsubscribeMessage
- type DocumentCollectionSchema
- type DocumentConflict
- type DocumentFieldSpec
- type DocumentFilter
- type DocumentQuery
- type DocumentRevision
- type DocumentSort
- type EnsureRepoMessage
- type EnsureRepoResultMessage
- type EvidenceExcerpt
- type FetchPRDetailsMessage
- type FetchPRDetailsResultMessage
- type FetchRemotesMessage
- type FetchRemotesResultMessage
- type FileActivity
- type FilesEditedMessage
- type FsChangedMessage
- type FsDeleteMessage
- type FsDeleteResult
- type FsDeleteResultMessage
- type FsEntry
- type FsExistsMessage
- type FsExistsResult
- type FsExistsResultMessage
- type FsIndexMessage
- type FsIndexResultMessage
- type FsListMessage
- type FsListResultMessage
- type FsReadAssetMessage
- type FsReadAssetResult
- type FsReadAssetResultMessage
- type FsReadMessage
- type FsReadResult
- type FsReadResultMessage
- type FsRenameMessage
- type FsRenameResult
- type FsRenameResultMessage
- type FsUnwatchMessage
- type FsUnwatchResultMessage
- type FsWatchMessage
- type FsWatchResultMessage
- type FsWriteMessage
- type FsWriteResult
- type FsWriteResultMessage
- type GardenReview
- type GardenReviewEvidence
- type GardenReviewItem
- type GardenReviewRecipe
- type GardenReviewRun
- type GardenReviewUpdatedMessage
- type GardenSeedsUpdatedMessage
- type GetCommandUsageMessage
- type GetCommandUsageResultMessage
- type GetDefaultBranchMessage
- type GetDefaultBranchResultMessage
- type GetKittyImageMessage
- type GetRecentLocationsMessage
- type GetRepoInfoMessage
- type GetRepoInfoResultMessage
- type GetScreenSnapshotMessage
- type GetScreenSnapshotResultMessage
- type GetSettingsMessage
- type GitHubHostsUpdatedMessage
- type GitOperation
- type GitOperationFinishedMessage
- type GitOperationKind
- type GitOperationStartedMessage
- type GitOperationStatus
- type GuardianSelection
- type Harness
- type HarnessModel
- type HarnessModelsMessage
- type HarnessModelsResultMessage
- type HeatState
- type HookCompactionMessage
- type HookNotificationMessage
- type HookStopFailureMessage
- type InitialStateMessage
- type InjectTestPRMessage
- type InjectTestSessionMessage
- type InspectPathMessage
- type InspectPathResultMessage
- type InstallBundledPluginMessage
- type InstallPluginMessage
- type JournalAppendMessage
- type JournalAppendResult
- type KeptConversation
- type KeptConversationDeletedBy
- type KeptConversationForgetMessage
- type KeptConversationForgetResultEvent
- type KeptConversationKeepMessage
- type KeptConversationKeepResultEvent
- type KeptConversationListMessage
- type KeptConversationListResult
- type KeptConversationListResultEvent
- type KeptConversationRow
- type KeptConversationSeed
- type KeptConversationsChangedEvent
- type KillSessionMessage
- type KittyImageFrame
- type KittyImageResultMessage
- type KittyPlacement
- type KittyPlacementsMessage
- type LaunchDesktopGetMessage
- type LaunchDesktopItem
- type LaunchDesktopKind
- type LaunchDesktopResultMessage
- type LaunchDesktopSetMessage
- type LaunchDesktopSetting
- type LayoutDockEdge
- type LayoutPaneKind
- type LayoutPaneStatus
- type LayoutSplitDirection
- type LeafMoved
- type ListBranchesMessage
- type ListPluginsMessage
- type ListRemoteBranchesMessage
- type ListRemoteBranchesResultMessage
- type ListWorktreesMessage
- type MarkdownAnnotation
- type MarkdownAnnotationAnchor
- type MarkdownAnnotationsClearMessage
- type MarkdownAnnotationsClearResultMessage
- type MarkdownAnnotationsGetMessage
- type MarkdownAnnotationsGetResultMessage
- type MarkdownAnnotationsSaveMessage
- type MarkdownAnnotationsSaveResultMessage
- type MarkdownAnnotationsSubmitMessage
- type MarkdownAnnotationsSubmitResultMessage
- type MergePRMessage
- type MigrationChangedMessage
- type MigrationDraftDesktop
- type MigrationFinishMessage
- type MigrationGetMessage
- type MigrationGroup
- type MigrationKeepMessage
- type MigrationMoveMessage
- type MigrationPhase
- type MigrationResultMessage
- type MigrationState
- type MigrationSuggestMessage
- type MigrationUndoMessage
- type ModelCapabilitySupport
- type ModelTier
- type ModelTierSource
- type MuteAuthorMessage
- type MutePRMessage
- type MuteRepoMessage
- type NotebookBacklinksMessage
- type NotebookBacklinksResultMessage
- type NotebookChangedMessage
- type NotebookEntry
- type NotebookGuideMessage
- type NotebookGuideResult
- type NotebookListMessage
- type NotebookListResultMessage
- type NotebookReadMessage
- type NotebookReadResult
- type NotebookReadResultMessage
- type NotebookSendToChiefMessage
- type NotebookSendToChiefResult
- type NotebookSendToChiefResultMessage
- type NotebookWriteMessage
- type NotebookWriteResult
- type NotebookWriteResultMessage
- type Notification
- type NotificationAction
- type NotificationListMessage
- type NotificationListResultMessage
- type NotificationMarkReadMessage
- type NotificationMarkReadResultMessage
- type NotificationSeverity
- type NotificationsUpdatedMessage
- type OpenBrowserMessage
- type OpenMarkdownMessage
- type OpenMarkdownResultMessage
- type OpenSeedMessage
- type OpenSeedResultMessage
- type OpenSentFilesMessage
- type OutpostInfo
- type OutpostState
- type OutpostsUpdatedMessage
- type PR
- type PRActionResultMessage
- type PRRole
- type PRVisitedMessage
- type PRsUpdatedMessage
- type PathInspection
- type PluginActionResultMessage
- type PluginInfo
- type PluginIssue
- type PluginsUpdatedMessage
- type Profile
- type ProfileActionResultMessage
- type ProfileArrangementChangedMessage
- type ProfileCreateMessage
- type ProfileDeleteMessage
- type ProfileErrorCode
- type ProfileRenameMessage
- type ProfileSelectMessage
- type ProfilesChangedMessage
- type PtyDesyncMessage
- type PtyInputMessage
- type PtyInputProbeResultMessage
- type PtyOutputMessage
- type PtyResizeMessage
- type PtyResizedMessage
- type PullRequestCreatedMessage
- type PullRequestForgetMessage
- type PullRequestProvenance
- type PullRequestUnwatchMessage
- type PullRequestWatchMessage
- type PullRequestWatchMode
- type QueryAuthorsMessage
- type QueryMessage
- type QueryPRsMessage
- type QueryReposMessage
- type QuickCaptureAttachment
- type QuickCaptureAttachmentDiscardMessage
- type QuickCaptureAttachmentGetMessage
- type QuickCaptureAttachmentGetResult
- type QuickCaptureAttachmentPutMessage
- type QuickCaptureAttachmentPutResult
- type QuickCaptureDraftAsset
- type QuickCaptureDraftState
- type QuickCaptureGetMessage
- type QuickCaptureListMessage
- type QuickCaptureListResult
- type QuickCaptureMailbox
- type QuickCaptureMailboxKind
- type QuickCaptureReadMessage
- type QuickCaptureRecord
- type QuickCaptureResult
- type QuickCaptureResultMessage
- type QuickCaptureSendMessage
- type RateLimitedMessage
- type RecentFilesMessage
- type RecentFilesResultMessage
- type RecentLocation
- type RecentLocationsResultMessage
- type RecordCommandUsageMessage
- type RecordCommandUsageResultMessage
- type RecordString
- type RefreshPRsMessage
- type RefreshPRsResultMessage
- type ReloadSessionMessage
- type ReloadSessionResultMessage
- type RemoveOutpostMessage
- type RemovePluginMessage
- type RenameResultMessage
- type RenameSessionMessage
- type RepairOutpostMessage
- type RepoInfo
- type RepoState
- type ReposUpdatedMessage
- type Response
- type RuntimeRespawnedMessage
- type Seed
- type SeedArtifact
- type SeedArtifactReference
- type SeedArtifactTargetMessage
- type SeedArtifactTargetResult
- type SeedArtifactTargetResultMessage
- type SeedArtifactTransferMessage
- type SeedArtifactTransferResult
- type SeedArtifactTransferResultMessage
- type SeedContinuation
- type SeedDocument
- type SeedDocumentGetMessage
- type SeedDocumentGetResultMessage
- type SeedEdge
- type SeedEditMessage
- type SeedEditResult
- type SeedHandoverRequest
- type SeedHarvestCondition
- type SeedHarvestWhenMerged
- type SeedLinkMessage
- type SeedLinkResult
- type SeedListMessage
- type SeedListResult
- type SeedNote
- type SeedNoteMessage
- type SeedNoteResult
- type SeedNoteResultMessage
- type SeedNotesMessage
- type SeedNotesResult
- type SeedPlantMessage
- type SeedPlantResult
- type SeedPlotChild
- type SeedPlotMessage
- type SeedPlotProgress
- type SeedPlotResult
- type SeedReadyMessage
- type SeedReadyResult
- type SeedRelation
- type SeedResumeMessage
- type SeedResumeResultMessage
- type SeedReviewActionContext
- type SeedReviewCancelMessage
- type SeedReviewDraftMessage
- type SeedReviewDraftResultMessage
- type SeedReviewKeepMessage
- type SeedReviewResult
- type SeedReviewResultMessage
- type SeedReviewRetryMessage
- type SeedReviewShowMessage
- type SeedReviewStartMessage
- type SeedSearchHit
- type SeedSearchMessage
- type SeedSearchResult
- type SeedSendToChiefMessage
- type SeedSendToChiefResult
- type SeedSendToChiefResultMessage
- type SeedShowMessage
- type SeedShowResult
- type SeedTransitionMessage
- type SeedTransitionResult
- type SeedTransitionResultMessage
- type SeedVar
- type SeedWatchMessage
- type SeedWatchResult
- type Session
- type SessionAgent
- type SessionAnnotation
- type SessionAnnotationsClearMessage
- type SessionAnnotationsClearResultMessage
- type SessionAnnotationsGetMessage
- type SessionAnnotationsGetResultMessage
- type SessionAnnotationsSaveMessage
- type SessionAnnotationsSaveResultMessage
- type SessionAnnotationsSubmitMessage
- type SessionAnnotationsSubmitResultMessage
- type SessionCloseResultMessage
- type SessionClosedMessage
- type SessionContextWindowCapResultMessage
- type SessionDelegationRole
- type SessionExitedMessage
- type SessionID
- type SessionInstructionsMessage
- type SessionInstructionsResult
- type SessionLedgerEntry
- type SessionLedgerFacet
- type SessionLedgerFacets
- type SessionLedgerProfileFacet
- type SessionListMessage
- type SessionListResult
- type SessionListResultMessage
- type SessionMessage
- type SessionMessageWindowStatus
- type SessionMessagesChangedMessage
- type SessionMessagesGetMessage
- type SessionMessagesGetResultMessage
- type SessionPlacement
- type SessionPullRequest
- type SessionRegisteredMessage
- type SessionReopen
- type SessionReopenAction
- type SessionReopenEntry
- type SessionReopenMessage
- type SessionReopenResult
- type SessionReopenResultMessage
- type SessionShowMessage
- type SessionShowResult
- type SessionShowResultMessage
- type SessionState
- type SessionStateChangedMessage
- type SessionTranscriptEvent
- type SessionTranscriptMessage
- type SessionTranscriptResult
- type SessionUnregisteredMessage
- type SessionUsage
- type SessionUsageModel
- type SessionsUpdatedMessage
- type SetChiefOfStaffMessage
- type SetClientPresenceMessage
- type SetPluginPriorityMessage
- type SetSessionContextWindowCapMessage
- type SetSessionPriorityMessage
- type SetSessionResumeIDMessage
- type SetSettingMessage
- type SetTerminalThemeMessage
- type SettingEntry
- type SettingScope
- type SettingsListResult
- type SettingsUpdatedMessage
- type SettleTurnMessage
- type SharedCodexChangedMessage
- type SharedCodexRestart
- type SharedCodexState
- type SnoozeTurnMessage
- type SpawnResultMessage
- type SpawnSessionMessage
- type StateExplainEntry
- type StateExplainMessage
- type StateExplainResult
- type StateMessage
- type StopBackgroundTask
- type StopMessage
- type StoredDocument
- type SupportInputTrace
- type SupportRuntimeEvidence
- type SupportSnapshotMessage
- type SupportSnapshotResultMessage
- type Task
- type TaskListMessage
- type TaskListResultMessage
- type TaskRetryMessage
- type TaskRetryResultMessage
- type TasksChangedMessage
- type TerminalBinding
- type TerminalBindingsUpdatedMessage
- type TerminalBlock
- type TerminalCloseMessage
- type TerminalDirection
- type TerminalEntry
- type TerminalExit
- type TerminalID
- type TerminalInputMessage
- type TerminalInputResult
- type TerminalListMessage
- type TerminalOpenMessage
- type TerminalOpenResult
- type TerminalPointerActivityMessage
- type TerminalReadMessage
- type TerminalReadMode
- type TerminalReadResult
- type TerminalWaitMessage
- type TerminalWaitResult
- type TerminalWaitUntil
- type TierDefaults
- type Timestamp
- type UninstallPluginMessage
- type UnregisterMessage
- type WakeTurnMessage
- type WebSocketEvent
- type Worktree
- type WorktreeCreatedEvent
- type WorktreeDeletedEvent
- type WorktreeKeepMessage
- type WorktreeKeepResult
- type WorktreeKeepResultEvent
- type WorktreeListMessage
- type WorktreeListResult
- type WorktreeListResultEvent
- type WorktreeRefreshMessage
- type WorktreeRefreshResult
- type WorktreeRefreshResultEvent
- type WorktreeRepository
- type WorktreeStateChangedEvent
- type WorktreeSweepEntry
- type WorktreeSweepLogMessage
- type WorktreeSweepLogResult
- type WorktreeSweepLogResultEvent
- type WorktreeSweptEvent
- type WorktreesUpdatedMessage
Constants ¶
View Source
const ( KittyImageFormatCodeRGB byte = 0 KittyImageFormatCodeRGBA byte = 1 KittyImageFormatCodeGrayAlpha byte = 2 KittyImageFormatCodeGray byte = 3 )
View Source
const ( ErrorCodeQuickCaptureNotFound = "quick_capture_not_found" ErrorCodeConflict = "conflict" ErrorCodeUndeclaredCollection = "undeclared_collection" ErrorCodeInvalidQuery = "invalid_query" ErrorCodeCollectionUndefined = "collection_undefined" ErrorCodeCollectionRedeclared = "collection_redeclared" ErrorCodeSubscriptionLimit = "subscription_limit" )
View Source
const ( CmdQuickCaptureAttachmentDiscard = "quick_capture_attachment_discard" CmdQuickCaptureAttachmentGet = "quick_capture_attachment_get" CmdQuickCaptureAttachmentPut = "quick_capture_attachment_put" CmdQuickCaptureList = "quick_capture_list" CmdQuickCaptureGet = "quick_capture_get" CmdQuickCaptureSend = "quick_capture_send" CmdClientHello = "client_hello" CmdDelegate = "delegate" CmdDelegationPreferencesGet = "delegation_preferences_get" CmdDelegationPreferencesSave = "delegation_preferences_save" CmdHarnessModels = "harness_models" CmdDelegationRoles = "delegation_roles" CmdDelegationPreferencesShow = "delegation_preferences_show" CmdDelegationPreferencesCommit = "delegation_preferences_commit" CmdDelegationPreferencesHistory = "delegation_preferences_history" CmdDelegationPreferencesRollback = "delegation_preferences_rollback" CmdDelegateStatus = "delegate_status" CmdDocDefine = "doc_define" CmdDocUndefine = "doc_undefine" CmdDocCollections = "doc_collections" CmdDocPut = "doc_put" CmdDocGet = "doc_get" CmdDocDelete = "doc_delete" CmdDocQuery = "doc_query" CmdDocCount = "doc_count" CmdDocSubscribe = "doc_subscribe" CmdDocUnsubscribe = "doc_unsubscribe" CmdAskOpen = "ask_open" CmdAskList = "ask_list" CmdAskClose = "ask_close" CmdAskAnswer = "ask_answer" CmdNotebookList = "notebook_list" CmdNotebookRead = "notebook_read" CmdNotebookWrite = "notebook_write" CmdNotebookGuide = "notebook_guide" CmdJournalAppend = "journal_append" CmdNotebookBacklinks = "notebook_backlinks" CmdNotebookSendToChief = "notebook_send_to_chief" CmdTaskList = "task_list" CmdTaskRetry = "task_retry" CmdNotificationList = "notification_list" CmdNotificationMarkRead = "notification_mark_read" CmdFsList = "fs_list" CmdFsRead = "fs_read" CmdFsReadAsset = "fs_read_asset" CmdFsWrite = "fs_write" CmdFsRename = "fs_rename" CmdFsDelete = "fs_delete" CmdFsExists = "fs_exists" CmdFsWatch = "fs_watch" CmdFsUnwatch = "fs_unwatch" CmdFsIndex = "fs_index" CmdUnregister = "unregister" CmdState = "state" CmdHookNotification = "hook_notification" CmdHookStopFailure = "hook_stop_failure" CmdHookCompaction = "hook_compaction" CmdSetSessionResumeID = "set_session_resume_id" CmdSessionInstructions = "session_instructions" CmdSessionTranscript = "session_transcript" CmdSessionList = "session_list" CmdSessionShow = "session_show" CmdSessionReopen = "session_reopen" CmdStateExplain = "state_explain" CmdAgentPeek = "agent_peek" CmdAgentMsg = "agent_msg" CmdAgentClose = "agent_close" CmdAgentReload = "agent_reload" CmdAgentInbox = "agent_inbox" CmdAgentMsgStatus = "agent_msg_status" CmdSeedPlant = "seed_plant" CmdSeedPlot = "seed_plot" CmdSeedList = "seed_list" CmdSeedSearch = "seed_search" CmdSeedShow = "seed_show" CmdSeedDocumentGet = "seed_document_get" CmdSeedArtifactTransfer = "seed_artifact_transfer" CmdSeedArtifactTarget = "seed_artifact_target" CmdSeedEdit = "seed_edit" CmdSeedTransition = "seed_transition" CmdSeedNote = "seed_note" CmdSeedNotes = "seed_notes" CmdSeedWatch = "seed_watch" CmdSeedLink = "seed_link" CmdSeedReady = "seed_ready" CmdSeedResume = "seed_resume" CmdSeedSendToChief = "seed_send_to_chief" CmdSeedReviewStart = "seed_review_start" CmdSeedReviewShow = "seed_review_show" CmdSeedReviewCancel = "seed_review_cancel" CmdSeedReviewRetry = "seed_review_retry" CmdSeedReviewKeep = "seed_review_keep" CmdSeedReviewDraft = "seed_review_draft" CmdCrewList = "crew_list" CmdCrewCharterGet = "crew_charter_get" CmdCrewCharterSet = "crew_charter_set" CmdCrewHandoffsGet = "crew_handoffs_get" CmdCrewHandoffGet = "crew_handoff_get" CmdCrewWake = "crew_wake" CmdCrewSleep = "crew_sleep" CmdCrewSet = "crew_set" CmdCrewPrime = "crew_prime" CmdCrewHandoff = "crew_handoff" CmdStop = "stop" CmdFilesEdited = "files_edited" CmdPullRequestCreated = "pull_request_created" CmdPullRequestForget = "pull_request_forget" CmdPullRequestWatch = "pull_request_watch" CmdPullRequestUnwatch = "pull_request_unwatch" CmdQuery = "query" CmdSetSessionPriority = "set_session_priority" CmdSettleTurn = "settle_turn" CmdAgentTurn = "agent_turn" CmdSnoozeTurn = "snooze_turn" CmdWakeTurn = "wake_turn" CmdCancelCountdown = "cancel_countdown" CmdQueryPRs = "query_prs" CmdMutePR = "mute_pr" CmdMuteRepo = "mute_repo" CmdMuteAuthor = "mute_author" CmdCollapseRepo = "collapse_repo" CmdQueryRepos = "query_repos" CmdQueryAuthors = "query_authors" CmdFetchPRDetails = "fetch_pr_details" CmdRefreshPRs = "refresh_prs" CmdClearWarnings = "clear_warnings" CmdPRVisited = "pr_visited" CmdListWorktrees = "list_worktrees" CmdCreateWorktree = "create_worktree" CmdDeleteWorktree = "delete_worktree" CmdKeptConversationList = "kept_conversation_list" CmdKeptConversationKeep = "kept_conversation_keep" CmdKeptConversationForget = "kept_conversation_forget" CmdWorktreeList = "worktree_list" CmdWorktreeKeep = "worktree_keep" CmdWorktreeSweepLog = "worktree_sweep_log" CmdWorktreeRefresh = "worktree_refresh" CmdGetSettings = "get_settings" CmdSetSetting = "set_setting" CmdAddOutpost = "add_outpost" CmdRemoveOutpost = "remove_outpost" CmdRepairOutpost = "repair_outpost" CmdListPlugins = "list_plugins" CmdInstallPlugin = "install_plugin" CmdInstallBundledPlugin = "install_bundled_plugin" CmdUninstallPlugin = "uninstall_plugin" CmdRemovePlugin = "remove_plugin" CmdSetPluginPriority = "set_plugin_priority" CmdApprovePR = "approve_pr" CmdMergePR = "merge_pr" CmdInjectTestPR = "inject_test_pr" CmdInjectTestSession = "inject_test_session" CmdGetRecentLocations = "get_recent_locations" CmdGetCommandUsage = "get_command_usage" CmdRecordCommandUsage = "record_command_usage" CmdRecentFiles = "recent_files" CmdBrowseDirectory = "browse_directory" CmdInspectPath = "inspect_path" CmdListBranches = "list_branches" CmdCreateWorktreeFromBranch = "create_worktree_from_branch" CmdGetDefaultBranch = "get_default_branch" CmdFetchRemotes = "fetch_remotes" CmdListRemoteBranches = "list_remote_branches" CmdEnsureRepo = "ensure_repo" CmdGetRepoInfo = "get_repo_info" CmdAutomationApply = "automation_apply" CmdAutomationRun = "automation_run" CmdAutomationDefinitionsGet = "automation_definitions_get" CmdAutomationDefinitionGet = "automation_definition_get" CmdAutomationRunsGet = "automation_runs_get" CmdAutomationSetEnabled = "automation_set_enabled" CmdAutomationDelete = "automation_delete" CmdAutomationCleanup = "automation_cleanup" CmdAutomationValidate = "automation_validate" CmdSpawnSession = "spawn_session" CmdAttachSession = "attach_session" CmdDetachSession = "detach_session" CmdGetScreenSnapshot = "get_screen_snapshot" CmdGetKittyImage = "get_kitty_image" CmdPtyInput = "pty_input" CmdSupportSnapshot = "support_snapshot" CmdTerminalPointerActivity = "terminal_pointer_activity" CmdBusStatusGet = "bus_status_get" CmdBusSetConsumerEnabled = "bus_set_consumer_enabled" CmdPtyResize = "pty_resize" CmdKillSession = "kill_session" CmdReloadSession = "reload_session" CmdSetClientPresence = "set_client_presence" CmdActivityStatus = "activity_status" CmdClearSessionActivity = "clear_session_activity" CmdSetTerminalTheme = "set_terminal_theme" CmdOpenMarkdown = "open_markdown" CmdOpenSeed = "open_seed" CmdOpenSentFiles = "open_sent_files" CmdSessionMessagesGet = "session_messages_get" CmdSessionAnnotationsGet = "session_annotations_get" CmdSessionAnnotationsSave = "session_annotations_save" CmdSessionAnnotationsClear = "session_annotations_clear" CmdSessionAnnotationsSubmit = "session_annotations_submit" CmdMarkdownAnnotationsGet = "markdown_annotations_get" CmdMarkdownAnnotationsSave = "markdown_annotations_save" CmdMarkdownAnnotationsClear = "markdown_annotations_clear" CmdMarkdownAnnotationsSubmit = "markdown_annotations_submit" CmdOpenBrowser = "open_browser" CmdCalloutShow = "callout_show" CmdCalloutAnchors = "callout_anchors" CmdCalloutResult = "callout_result" CmdBrowserControl = "browser_control" CmdBrowserControlResult = "browser_control_result" CmdRenameSession = "rename_session" CmdSetChiefOfStaff = "set_chief_of_staff" CmdSetSessionContextWindowCap = "set_session_context_window_cap" )
View Source
const ( CmdProfileCreate = "profile_create" CmdProfileRename = "profile_rename" CmdProfileDelete = "profile_delete" CmdProfileSelect = "profile_select" CmdDesktopCreate = "desktop_create" CmdDesktopClose = "desktop_close" CmdDesktopRename = "desktop_rename" CmdDesktopReorder = "desktop_reorder" CmdDesktopSetOrder = "desktop_set_order" CmdDesktopSetCurrent = "desktop_set_current" CmdDesktopSetActivePane = "desktop_set_active_pane" CmdDesktopPlaceSession = "desktop_place_session" CmdDesktopShowSession = "desktop_show_session" CmdTerminalList = "terminal_list" CmdTerminalOpen = "terminal_open" CmdTerminalInput = "terminal_input" CmdTerminalRead = "terminal_read" CmdTerminalWait = "terminal_wait" CmdTerminalClose = "terminal_close" CmdDesktopMoveSession = "desktop_move_session" CmdDesktopShowLeaf = "desktop_show_leaf" CmdDesktopMoveLeaf = "desktop_move_leaf" CmdDesktopRemoveLeaf = "desktop_remove_leaf" CmdDesktopCloseTile = "desktop_close_tile" CmdDesktopSetSplitRatio = "desktop_set_split_ratio" CmdDesktopDockTile = "desktop_dock_tile" CmdDesktopUpdateTile = "desktop_update_tile" )
View Source
const ( CmdLaunchDesktopGet = "launch_desktop_get" CmdLaunchDesktopSet = "launch_desktop_set" CmdMigrationGet = "migration_get" CmdMigrationKeep = "migration_keep" CmdMigrationMove = "migration_move" CmdMigrationSuggest = "migration_suggest" CmdMigrationUndo = "migration_undo" CmdMigrationFinish = "migration_finish" )
View Source
const ( EventBackgroundLaunch = "background_launch" EventLaunchDesktopResult = "launch_desktop_result" EventProfileActionResult = "profile_action_result" EventProfilesChanged = "profiles_changed" EventProfileArrangementChanged = "profile_arrangement_changed" EventDesktopTileContent = "desktop_tile_content" EventMigrationResult = "migration_result" EventMigrationChanged = "migration_changed" )
View Source
const ( CmdAutoModeShow = "automode_show" CmdAutoModeEnvSlot = "automode_env_slot" CmdAutoModeEnvNotes = "automode_env_notes" CmdAutoModePropose = "automode_propose" CmdAutoModeDenials = "automode_denials" CmdAutoModeGet = "automode_get" CmdAutoModePromote = "automode_promote" CmdAutoModeDiscard = "automode_discard" CmdAutoModeRuleAdd = "automode_rule_add" CmdAutoModeRuleRemove = "automode_rule_remove" CmdAutoModeHostAdd = "automode_host_add" CmdAutoModeHostRemove = "automode_host_remove" CmdAutoModePolicySet = "automode_policy_set" CmdAutoModeLegacyDismiss = "automode_legacy_dismiss" )
View Source
const ( EventAutomationApplyResult = "automation_apply_result" EventAutomationValidateResult = "automation_validate_result" EventAutomationDefinitionsResult = "automation_definitions_result" EventAutomationDefinitionResult = "automation_definition_result" EventAutomationRunsResult = "automation_runs_result" EventAutomationRunResult = "automation_run_result" EventAutomationSetEnabledResult = "automation_set_enabled_result" EventAutomationDeleteResult = "automation_delete_result" EventAutomationCleanupResult = "automation_cleanup_result" )
View Source
const ( EventQuickCaptureResult = "quick_capture_result" EventQuickCaptureRead = "quick_capture_read" EventSessionRegistered = "session_registered" EventSessionUnregistered = "session_unregistered" EventSessionCloseResult = "session_close_result" EventSessionStateChanged = "session_state_changed" EventNotebookChanged = "notebook_changed" EventTerminalBindingsUpdated = "terminal_bindings_updated" EventSessionsUpdated = "sessions_updated" EventRenameResult = "rename_result" EventChiefOfStaffResult = "chief_of_staff_result" EventSessionContextWindowCapResult = "session_context_window_cap_result" EventGardenSeedsUpdated = "garden_seeds_updated" EventGardenReviewUpdated = "garden_review_updated" EventDocSubscriptionDelivery = "doc_subscription_delivery" EventDocSubscriptionEnded = "doc_subscription_ended" EventCrewUpdated = "crew_updated" EventCrewCharterGetResult = "crew_charter_get_result" EventCrewCharterSetResult = "crew_charter_set_result" EventCrewHandoffsGetResult = "crew_handoffs_get_result" EventCrewHandoffGetResult = "crew_handoff_get_result" EventCrewWakeResult = "crew_wake_result" EventCrewSleepResult = "crew_sleep_result" EventCrewSetResult = "crew_set_result" EventAskAnswerResult = "ask_answer_result" EventAsksUpdated = "asks_updated" EventDelegateResult = "delegate_result" EventDelegationOperation = "delegation_operation" EventNotebookListResult = "notebook_list_result" EventNotebookReadResult = "notebook_read_result" EventNotebookBacklinksResult = "notebook_backlinks_result" EventNotebookWriteResult = "notebook_write_result" EventNotebookSendToChiefResult = "notebook_send_to_chief_result" EventTaskListResult = "task_list_result" EventTaskRetryResult = "task_retry_result" EventTasksChanged = "tasks_changed" EventSessionListResult = "session_list_result" EventSessionShowResult = "session_show_result" EventSessionReopenResult = "session_reopen_result" EventSessionClosed = "session_closed" EventNotificationListResult = "notification_list_result" EventNotificationMarkReadResult = "notification_mark_read_result" EventNotificationsUpdated = "notifications_updated" EventFsListResult = "fs_list_result" EventFsReadResult = "fs_read_result" EventFsReadAssetResult = "fs_read_asset_result" EventFsWriteResult = "fs_write_result" EventFsRenameResult = "fs_rename_result" EventFsDeleteResult = "fs_delete_result" EventFsExistsResult = "fs_exists_result" EventFsWatchResult = "fs_watch_result" EventFsUnwatchResult = "fs_unwatch_result" EventFsIndexResult = "fs_index_result" EventFsChanged = "fs_changed" EventPRsUpdated = "prs_updated" EventReposUpdated = "repos_updated" EventAuthorsUpdated = "authors_updated" EventInitialState = "initial_state" EventPRActionResult = "pr_action_result" EventRefreshPRsResult = "refresh_prs_result" EventFetchPRDetailsResult = "fetch_pr_details_result" EventWorktreeCreated = "worktree_created" EventWorktreeDeleted = "worktree_deleted" EventWorktreesUpdated = "worktrees_updated" EventWorktreeStateChanged = "worktree_state_changed" EventWorktreeSwept = "worktree_swept" EventKeptConversationListResult = "kept_conversation_list_result" EventKeptConversationKeepResult = "kept_conversation_keep_result" EventKeptConversationForgetResult = "kept_conversation_forget_result" EventKeptConversationsChanged = "kept_conversations_changed" EventWorktreeListResult = "worktree_list_result" EventWorktreeKeepResult = "worktree_keep_result" EventWorktreeSweepLogResult = "worktree_sweep_log_result" EventWorktreeRefreshResult = "worktree_refresh_result" EventCreateWorktreeResult = "create_worktree_result" EventDeleteWorktreeResult = "delete_worktree_result" EventGitOperationStarted = "git_operation_started" EventGitOperationFinished = "git_operation_finished" EventSettingsUpdated = "settings_updated" EventGitHubHostsUpdated = "github_hosts_updated" EventOutpostsUpdated = "outposts_updated" EventPluginsUpdated = "plugins_updated" EventPluginActionResult = "plugin_action_result" EventRateLimited = "rate_limited" EventRecentLocationsResult = "recent_locations_result" EventGetCommandUsageResult = "get_command_usage_result" EventRecordCommandUsageResult = "record_command_usage_result" EventRecentFilesResult = "recent_files_result" EventBrowseDirectoryResult = "browse_directory_result" EventInspectPathResult = "inspect_path_result" EventBranchesResult = "branches_result" EventGetDefaultBranchResult = "get_default_branch_result" EventFetchRemotesResult = "fetch_remotes_result" EventListRemoteBranchesResult = "list_remote_branches_result" EventEnsureRepoResult = "ensure_repo_result" EventGetRepoInfoResult = "get_repo_info_result" EventPtyOutput = "pty_output" EventPtyInputProbeResult = "pty_input_probe_result" EventSupportSnapshotResult = "support_snapshot_result" EventSpawnResult = "spawn_result" EventReloadSessionResult = "reload_session_result" EventAttachResult = "attach_result" EventGetScreenSnapshotResult = "get_screen_snapshot_result" EventSessionExited = "session_exited" EventPtyDesync = "pty_desync" EventKittyPlacements = "kitty_placements" EventKittyImageResult = "kitty_image_result" EventRuntimeRespawned = "runtime_respawned" EventPtyResized = "pty_resized" EventOpenMarkdownResult = "open_markdown_result" EventOpenSeedResult = "open_seed_result" EventSeedDocumentGetResult = "seed_document_get_result" EventSeedArtifactTransferResult = "seed_artifact_transfer_result" EventSeedArtifactTargetResult = "seed_artifact_target_result" EventSeedResumeResult = "seed_resume_result" EventSeedSendToChiefResult = "seed_send_to_chief_result" EventSeedReviewResult = "seed_review_result" EventSeedReviewDraftResult = "seed_review_draft_result" EventSeedTransitionResult = "seed_transition_result" EventSeedNoteResult = "seed_note_result" EventSessionMessagesGetResult = "session_messages_get_result" EventSessionMessagesChanged = "session_messages_changed" EventBusStatusResult = "bus_status_result" EventBusSetConsumerEnabledResult = "bus_set_consumer_enabled_result" EventAutoModeStateResult = "automode_state_result" EventAutoModePromoteResult = "automode_promote_result" EventAutoModeDiscardResult = "automode_discard_result" EventAutoModeConfigResult = "automode_config_result" EventSessionAnnotationsGetResult = "session_annotations_get_result" EventSessionAnnotationsSaveResult = "session_annotations_save_result" EventSessionAnnotationsClearResult = "session_annotations_clear_result" EventSessionAnnotationsSubmitResult = "session_annotations_submit_result" EventMarkdownAnnotationsGetResult = "markdown_annotations_get_result" EventMarkdownAnnotationsSaveResult = "markdown_annotations_save_result" EventMarkdownAnnotationsClearResult = "markdown_annotations_clear_result" EventMarkdownAnnotationsSubmitResult = "markdown_annotations_submit_result" EventCalloutShowRequest = "callout_show_request" EventCalloutAnchorsRequest = "callout_anchors_request" EventBrowserControlRequest = "browser_control_request" EventCommandError = "command_error" EventClientEvictionNotice = "client_eviction_notice" )
View Source
const ( StateLaunching = "launching" StateWorking = "working" StateWaitingInput = "waiting_input" StateIdle = "idle" StatePendingApproval = "pending_approval" StateScheduled = "scheduled" StateUnknown = "unknown" )
View Source
const ( PRReasonReadyToMerge = "ready_to_merge" PRReasonCIFailed = "ci_failed" PRReasonChangesRequested = "changes_requested" PRReasonReviewNeeded = "review_needed" )
View Source
const ( HeatHotDuration = 3 * time.Minute HeatWarmDuration = 10 * time.Minute HeatHotInterval = 30 * time.Second HeatWarmInterval = 2 * time.Minute HeatColdInterval = 10 * time.Minute )
View Source
const ( EventDelegationPreferencesResult = "delegation_preferences_result" EventDelegationPreferencesChanged = "delegation_preferences_changed" EventHarnessModelsResult = "harness_models_result" )
View Source
const AgentMessageMaxChars = 32 * 1024
View Source
const (
AgentShellValue = "shell"
)
View Source
const BinaryFrameTypeKittyImage byte = 0x02
View Source
const BinaryFrameTypePtyOutput byte = 0x01
View Source
const CapabilityBinaryPtyOutput = "binary_pty_output"
View Source
const CapabilityBrowserHost = "browser_host"
View Source
const CapabilityKittyImages = "kitty_images"
View Source
const DocSubscriptionsPerClient = 64
View Source
const EventAutoModeEnvSetResult = "automode_env_set_result"
View Source
const EventAutoModeStateChanged = "automode_state_changed"
View Source
const EventAutomationsChanged = "automations_changed"
View Source
const (
PRStateWaiting = "waiting"
)
View Source
const ProtocolVersion = "ab1fbc6f0dbb"
Variables ¶
This section is empty.
Functions ¶
func EncodeKittyImageFrame ¶ added in v0.12.0
func EncodePtyOutputFrame ¶ added in v0.12.0
func EncodePtyOutputFrame(terminalID TerminalID, seq uint32, data []byte) ([]byte, error)
func FormatPRID ¶
func KittyImageFormatName ¶ added in v0.12.0
func NormalizeSpawnAgent ¶
Types ¶
type ActivityStatusMessage ¶ added in v0.12.0
type ActivityStatusMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
}
type ActivityStatusResult ¶ added in v0.12.0
type ActivityStatusResult struct {
// Enabled corresponds to the JSON schema field "enabled".
Enabled bool `json:"enabled"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// PresenceTier corresponds to the JSON schema field "presence_tier".
PresenceTier string `json:"presence_tier"`
// Sessions corresponds to the JSON schema field "sessions".
Sessions []ActivityStatusSession `json:"sessions"`
}
type ActivityStatusSession ¶ added in v0.12.0
type ActivityStatusSession struct {
// Activity corresponds to the JSON schema field "activity".
Activity *string `json:"activity,omitempty,omitzero"`
// ActivityAt corresponds to the JSON schema field "activity_at".
ActivityAt *string `json:"activity_at,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID SessionID `json:"id"`
// Label corresponds to the JSON schema field "label".
Label string `json:"label"`
}
type AddOutpostMessage ¶ added in v0.13.0
type AgentCloseMessage ¶ added in v0.12.0
type AgentCloseMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Reason corresponds to the JSON schema field "reason".
Reason string `json:"reason"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID SessionID `json:"source_session_id"`
// TargetSeedID corresponds to the JSON schema field "target_seed_id".
TargetSeedID *string `json:"target_seed_id,omitempty,omitzero"`
// TargetSessionID corresponds to the JSON schema field "target_session_id".
TargetSessionID string `json:"target_session_id"`
}
type AgentCloseResult ¶ added in v0.12.0
type AgentCloseResult struct {
// Label corresponds to the JSON schema field "label".
Label string `json:"label"`
// Reason corresponds to the JSON schema field "reason".
Reason string `json:"reason"`
// Rule corresponds to the JSON schema field "rule".
Rule AgentCloseRule `json:"rule"`
// SeedIds corresponds to the JSON schema field "seed_ids".
SeedIds []string `json:"seed_ids"`
// TargetSessionID corresponds to the JSON schema field "target_session_id".
TargetSessionID SessionID `json:"target_session_id"`
}
type AgentCloseRule ¶ added in v0.12.0
type AgentCloseRule string
const AgentCloseRuleChiefOfStaff AgentCloseRule = "chief_of_staff"
const AgentCloseRuleDispatcher AgentCloseRule = "dispatcher"
const AgentCloseRuleSelf AgentCloseRule = "self"
type AgentInboxBatchResult ¶ added in v0.12.0
type AgentInboxBatchResult struct {
// Items corresponds to the JSON schema field "items".
Items []AgentInboxItem `json:"items"`
// QuietNotifications corresponds to the JSON schema field "quiet_notifications".
QuietNotifications *bool `json:"quiet_notifications,omitempty,omitzero"`
// Remaining corresponds to the JSON schema field "remaining".
Remaining int `json:"remaining"`
}
type AgentInboxItem ¶ added in v0.12.0
type AgentInboxItem struct {
// Address corresponds to the JSON schema field "address".
Address string `json:"address"`
// Attachments corresponds to the JSON schema field "attachments".
Attachments []QuickCaptureAttachment `json:"attachments,omitempty,omitzero"`
// Content corresponds to the JSON schema field "content".
Content string `json:"content"`
// CreatedAt corresponds to the JSON schema field "created_at".
CreatedAt string `json:"created_at"`
// Hint corresponds to the JSON schema field "hint".
Hint *string `json:"hint,omitempty,omitzero"`
// ItemID corresponds to the JSON schema field "item_id".
ItemID string `json:"item_id"`
// Kind corresponds to the JSON schema field "kind".
Kind string `json:"kind"`
// NotifiedAt corresponds to the JSON schema field "notified_at".
NotifiedAt string `json:"notified_at"`
// ReadAt corresponds to the JSON schema field "read_at".
ReadAt string `json:"read_at"`
// SenderLabel corresponds to the JSON schema field "sender_label".
SenderLabel *string `json:"sender_label,omitempty,omitzero"`
// SenderSessionID corresponds to the JSON schema field "sender_session_id".
SenderSessionID *SessionID `json:"sender_session_id,omitempty,omitzero"`
// SourceID corresponds to the JSON schema field "source_id".
SourceID *string `json:"source_id,omitempty,omitzero"`
}
type AgentInboxMessage ¶ added in v0.12.0
type AgentInboxMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Limit corresponds to the JSON schema field "limit".
Limit *int `json:"limit,omitempty,omitzero"`
// MessageID corresponds to the JSON schema field "message_id".
MessageID *string `json:"message_id,omitempty,omitzero"`
// RecipientSessionID corresponds to the JSON schema field "recipient_session_id".
RecipientSessionID SessionID `json:"recipient_session_id"`
}
type AgentMessageState ¶ added in v0.12.0
type AgentMessageState string
const AgentMessageStateNotified AgentMessageState = "notified"
const AgentMessageStateQueued AgentMessageState = "queued"
const AgentMessageStateRead AgentMessageState = "read"
type AgentMsgMessage ¶ added in v0.12.0
type AgentMsgMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Content corresponds to the JSON schema field "content".
Content string `json:"content"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID SessionID `json:"source_session_id"`
// TargetSeedID corresponds to the JSON schema field "target_seed_id".
TargetSeedID *string `json:"target_seed_id,omitempty,omitzero"`
// TargetSessionID corresponds to the JSON schema field "target_session_id".
TargetSessionID string `json:"target_session_id"`
}
type AgentMsgResult ¶ added in v0.12.0
type AgentMsgResult struct {
// Detail corresponds to the JSON schema field "detail".
Detail string `json:"detail"`
// MessageID corresponds to the JSON schema field "message_id".
MessageID string `json:"message_id"`
// Status corresponds to the JSON schema field "status".
Status AgentMsgStatus `json:"status"`
// TargetSessionID corresponds to the JSON schema field "target_session_id".
TargetSessionID SessionID `json:"target_session_id"`
}
type AgentMsgStatus ¶ added in v0.12.0
type AgentMsgStatus string
const AgentMsgStatusNotified AgentMsgStatus = "notified"
const AgentMsgStatusQueued AgentMsgStatus = "queued"
const AgentMsgStatusRefused AgentMsgStatus = "refused"
type AgentMsgStatusMessage ¶ added in v0.12.0
type AgentMsgStatusMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// MessageID corresponds to the JSON schema field "message_id".
MessageID string `json:"message_id"`
// SenderSessionID corresponds to the JSON schema field "sender_session_id".
SenderSessionID SessionID `json:"sender_session_id"`
}
type AgentPeekExit ¶ added in v0.12.0
type AgentPeekMessage ¶ added in v0.12.0
type AgentPeekResult ¶ added in v0.12.0
type AgentPeekResult struct {
// Agent corresponds to the JSON schema field "agent".
Agent string `json:"agent"`
// CrewMember corresponds to the JSON schema field "crew_member".
CrewMember *string `json:"crew_member,omitempty,omitzero"`
// Exit corresponds to the JSON schema field "exit".
Exit *AgentPeekExit `json:"exit,omitempty,omitzero"`
// Label corresponds to the JSON schema field "label".
Label string `json:"label"`
// LastAssistantMessage corresponds to the JSON schema field
// "last_assistant_message".
LastAssistantMessage *string `json:"last_assistant_message,omitempty,omitzero"`
// LastSeen corresponds to the JSON schema field "last_seen".
LastSeen string `json:"last_seen"`
// ProfileName corresponds to the JSON schema field "profile_name".
ProfileName *string `json:"profile_name,omitempty,omitzero"`
// Screen corresponds to the JSON schema field "screen".
Screen *AgentPeekScreen `json:"screen,omitempty,omitzero"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// State corresponds to the JSON schema field "state".
State string `json:"state"`
// StateReason corresponds to the JSON schema field "state_reason".
StateReason *string `json:"state_reason,omitempty,omitzero"`
// StateSince corresponds to the JSON schema field "state_since".
StateSince string `json:"state_since"`
// TurnOwed corresponds to the JSON schema field "turn_owed".
TurnOwed *bool `json:"turn_owed,omitempty,omitzero"`
}
type AgentPeekScreen ¶ added in v0.12.0
type AgentPeerMessage ¶ added in v0.12.0
type AgentPeerMessage struct {
// Content corresponds to the JSON schema field "content".
Content string `json:"content"`
// CreatedAt corresponds to the JSON schema field "created_at".
CreatedAt string `json:"created_at"`
// MessageID corresponds to the JSON schema field "message_id".
MessageID string `json:"message_id"`
// NotifiedAt corresponds to the JSON schema field "notified_at".
NotifiedAt *string `json:"notified_at,omitempty,omitzero"`
// ReadAt corresponds to the JSON schema field "read_at".
ReadAt *string `json:"read_at,omitempty,omitzero"`
// SenderLabel corresponds to the JSON schema field "sender_label".
SenderLabel string `json:"sender_label"`
// SenderSessionID corresponds to the JSON schema field "sender_session_id".
SenderSessionID SessionID `json:"sender_session_id"`
// State corresponds to the JSON schema field "state".
State AgentMessageState `json:"state"`
// TargetSessionID corresponds to the JSON schema field "target_session_id".
TargetSessionID string `json:"target_session_id"`
}
type AgentReloadMessage ¶ added in v0.13.0
type AgentReloadMessage struct {
// All corresponds to the JSON schema field "all".
All bool `json:"all"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID SessionID `json:"source_session_id"`
// Targets corresponds to the JSON schema field "targets".
Targets []string `json:"targets"`
}
type AgentReloadOutcome ¶ added in v0.13.0
type AgentReloadOutcome struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID *SessionID `json:"session_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
// Target corresponds to the JSON schema field "target".
Target string `json:"target"`
}
type AgentReloadResult ¶ added in v0.13.0
type AgentReloadResult struct {
// Outcomes corresponds to the JSON schema field "outcomes".
Outcomes []AgentReloadOutcome `json:"outcomes"`
}
type AgentTurnAction ¶ added in v0.13.0
type AgentTurnAction string
const AgentTurnActionOpen AgentTurnAction = "open"
const AgentTurnActionSettle AgentTurnAction = "settle"
type AgentTurnMessage ¶ added in v0.13.0
type AgentTurnMessage struct {
// Action corresponds to the JSON schema field "action".
Action AgentTurnAction `json:"action"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
}
type AgentTurnOutcome ¶ added in v0.13.0
type AgentTurnOutcome string
const AgentTurnOutcomeNotOpen AgentTurnOutcome = "not_open"
const AgentTurnOutcomeOpened AgentTurnOutcome = "opened"
const AgentTurnOutcomeOpensAtStop AgentTurnOutcome = "opens_at_stop"
const AgentTurnOutcomeQueueOff AgentTurnOutcome = "queue_off"
const AgentTurnOutcomeSettled AgentTurnOutcome = "settled"
const AgentTurnOutcomeSnoozed AgentTurnOutcome = "snoozed"
const AgentTurnOutcomeWithdrawn AgentTurnOutcome = "withdrawn"
type AgentTurnResult ¶ added in v0.13.0
type AgentTurnResult struct {
// Outcome corresponds to the JSON schema field "outcome".
Outcome AgentTurnOutcome `json:"outcome"`
}
type ApprovePRMessage ¶
type Ask ¶ added in v0.13.0
type Ask struct {
// BaseDir corresponds to the JSON schema field "base_dir".
BaseDir string `json:"base_dir"`
// Chief corresponds to the JSON schema field "chief".
Chief *bool `json:"chief,omitempty,omitzero"`
// CreatedAt corresponds to the JSON schema field "created_at".
CreatedAt string `json:"created_at"`
// CrewMember corresponds to the JSON schema field "crew_member".
CrewMember *string `json:"crew_member,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Parts corresponds to the JSON schema field "parts".
Parts []AskPart `json:"parts"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID *string `json:"seed_id,omitempty,omitzero"`
// SeedSlug corresponds to the JSON schema field "seed_slug".
SeedSlug *string `json:"seed_slug,omitempty,omitzero"`
// SeedTitle corresponds to the JSON schema field "seed_title".
SeedTitle *string `json:"seed_title,omitempty,omitzero"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// Subject corresponds to the JSON schema field "subject".
Subject string `json:"subject"`
}
type AskAnswer ¶ added in v0.13.0
type AskAnswer struct {
// Key corresponds to the JSON schema field "key".
Key string `json:"key"`
// Other corresponds to the JSON schema field "other".
Other *string `json:"other,omitempty,omitzero"`
// Picked corresponds to the JSON schema field "picked".
Picked []string `json:"picked"`
// Text corresponds to the JSON schema field "text".
Text *string `json:"text,omitempty,omitzero"`
}
type AskAnswerMessage ¶ added in v0.13.0
type AskAnswerMessage struct {
// Answers corresponds to the JSON schema field "answers".
Answers []AskAnswer `json:"answers"`
// AskID corresponds to the JSON schema field "ask_id".
AskID string `json:"ask_id"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Note corresponds to the JSON schema field "note".
Note *string `json:"note,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type AskAnswerResultMessage ¶ added in v0.13.0
type AskAnswerResultMessage struct {
// AskID corresponds to the JSON schema field "ask_id".
AskID string `json:"ask_id"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type AskCloseMessage ¶ added in v0.13.0
type AskListMessage ¶ added in v0.13.0
type AskListResult ¶ added in v0.13.0
type AskOpenMessage ¶ added in v0.13.0
type AskOpenMessage struct {
// BaseDir corresponds to the JSON schema field "base_dir".
BaseDir string `json:"base_dir"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Markdown corresponds to the JSON schema field "markdown".
Markdown string `json:"markdown"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID *string `json:"seed_id,omitempty,omitzero"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// Subject corresponds to the JSON schema field "subject".
Subject *string `json:"subject,omitempty,omitzero"`
}
type AskPart ¶ added in v0.13.0
type AskPart struct {
// Markdown corresponds to the JSON schema field "markdown".
Markdown *string `json:"markdown,omitempty,omitzero"`
// Question corresponds to the JSON schema field "question".
Question *AskQuestion `json:"question,omitempty,omitzero"`
}
type AskQuestion ¶ added in v0.13.0
type AskQuestion struct {
// Choices corresponds to the JSON schema field "choices".
Choices []AskChoice `json:"choices"`
// Context corresponds to the JSON schema field "context".
Context *string `json:"context,omitempty,omitzero"`
// Key corresponds to the JSON schema field "key".
Key string `json:"key"`
// Kind corresponds to the JSON schema field "kind".
Kind AskQuestionKind `json:"kind"`
// Prompt corresponds to the JSON schema field "prompt".
Prompt string `json:"prompt"`
// Recommended corresponds to the JSON schema field "recommended".
Recommended *string `json:"recommended,omitempty,omitzero"`
}
type AskQuestionKind ¶ added in v0.13.0
type AskQuestionKind string
const AskQuestionKindAny AskQuestionKind = "any"
const AskQuestionKindOne AskQuestionKind = "one"
const AskQuestionKindText AskQuestionKind = "text"
type AsksUpdatedMessage ¶ added in v0.13.0
type AttachBlock ¶ added in v0.12.0
type AttachBlock struct {
// Command corresponds to the JSON schema field "command".
Command *string `json:"command,omitempty,omitzero"`
// EndRow corresponds to the JSON schema field "end_row".
EndRow *int `json:"end_row,omitempty,omitzero"`
// ExitCode corresponds to the JSON schema field "exit_code".
ExitCode *int `json:"exit_code,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID int `json:"id"`
// InputCol corresponds to the JSON schema field "input_col".
InputCol *int `json:"input_col,omitempty,omitzero"`
// InputRow corresponds to the JSON schema field "input_row".
InputRow *int `json:"input_row,omitempty,omitzero"`
// OutputStartRow corresponds to the JSON schema field "output_start_row".
OutputStartRow *int `json:"output_start_row,omitempty,omitzero"`
// Pending corresponds to the JSON schema field "pending".
Pending bool `json:"pending"`
// PromptRow corresponds to the JSON schema field "prompt_row".
PromptRow int `json:"prompt_row"`
}
type AttachPolicy ¶ added in v0.5.0
type AttachPolicy string
const AttachPolicyFreshSpawn AttachPolicy = "fresh_spawn"
const AttachPolicyRelaunchRestore AttachPolicy = "relaunch_restore"
const AttachPolicyRevive AttachPolicy = "revive"
const AttachPolicySameAppRemount AttachPolicy = "same_app_remount"
type AttachResultMessage ¶
type AttachResultMessage struct {
// Cols corresponds to the JSON schema field "cols".
Cols *int `json:"cols,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Exit corresponds to the JSON schema field "exit".
Exit *TerminalExit `json:"exit,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
// LastSeq corresponds to the JSON schema field "last_seq".
LastSeq *int `json:"last_seq,omitempty,omitzero"`
// Pid corresponds to the JSON schema field "pid".
Pid *int `json:"pid,omitempty,omitzero"`
// Revived corresponds to the JSON schema field "revived".
Revived *bool `json:"revived,omitempty,omitzero"`
// Rows corresponds to the JSON schema field "rows".
Rows *int `json:"rows,omitempty,omitzero"`
// Running corresponds to the JSON schema field "running".
Running *bool `json:"running,omitempty,omitzero"`
// Screen corresponds to the JSON schema field "screen".
Screen *AgentPeekScreen `json:"screen,omitempty,omitzero"`
// Snapshot corresponds to the JSON schema field "snapshot".
Snapshot *AttachSnapshot `json:"snapshot,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type AttachSessionMessage ¶
type AttachSessionMessage struct {
// AttachPolicy corresponds to the JSON schema field "attach_policy".
AttachPolicy *AttachPolicy `json:"attach_policy,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Cols corresponds to the JSON schema field "cols".
Cols *int `json:"cols,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
// Rows corresponds to the JSON schema field "rows".
Rows *int `json:"rows,omitempty,omitzero"`
}
type AttachSnapshot ¶ added in v0.12.0
type AttachSnapshot struct {
// Blocks corresponds to the JSON schema field "blocks".
Blocks []AttachBlock `json:"blocks,omitempty,omitzero"`
// Cols corresponds to the JSON schema field "cols".
Cols int `json:"cols"`
// Format corresponds to the JSON schema field "format".
Format *string `json:"format,omitempty,omitzero"`
// Placements corresponds to the JSON schema field "placements".
Placements []KittyPlacement `json:"placements,omitempty,omitzero"`
// Rows corresponds to the JSON schema field "rows".
Rows int `json:"rows"`
// ScrollbackTruncated corresponds to the JSON schema field
// "scrollback_truncated".
ScrollbackTruncated bool `json:"scrollback_truncated"`
// SnapshotB64 corresponds to the JSON schema field "snapshot_b64".
SnapshotB64 string `json:"snapshot_b64"`
}
type AuthorState ¶
type AuthorState struct {
// Author corresponds to the JSON schema field "author".
Author string `json:"author"`
// Muted corresponds to the JSON schema field "muted".
Muted bool `json:"muted"`
}
func AuthorStatesToValues ¶
func AuthorStatesToValues(authors []*AuthorState) []AuthorState
type AuthorsUpdatedMessage ¶
type AuthorsUpdatedMessage struct {
// Authors corresponds to the JSON schema field "authors".
Authors []AuthorState `json:"authors,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
}
type AutoModeConfigInfo ¶ added in v0.12.0
type AutoModeConfigInfo struct {
// ApprovalPolicy corresponds to the JSON schema field "approval_policy".
ApprovalPolicy string `json:"approval_policy"`
// EnabledDefault corresponds to the JSON schema field "enabled_default".
EnabledDefault bool `json:"enabled_default"`
// Environment corresponds to the JSON schema field "environment".
Environment AutoModeEnvironmentInfo `json:"environment"`
// Guardian corresponds to the JSON schema field "guardian".
Guardian *GuardianSelection `json:"guardian,omitempty,omitzero"`
// LegacyPatterns corresponds to the JSON schema field "legacy_patterns".
LegacyPatterns []string `json:"legacy_patterns"`
// Network corresponds to the JSON schema field "network".
Network AutoModeNetworkInfo `json:"network"`
// Presets corresponds to the JSON schema field "presets".
Presets []AutoModePresetInfo `json:"presets"`
// Rules corresponds to the JSON schema field "rules".
Rules []AutoModeRuleInfo `json:"rules"`
// SandboxMode corresponds to the JSON schema field "sandbox_mode".
SandboxMode string `json:"sandbox_mode"`
// ShippedDeniedDomains corresponds to the JSON schema field
// "shipped_denied_domains".
ShippedDeniedDomains []string `json:"shipped_denied_domains"`
// ShippedRules corresponds to the JSON schema field "shipped_rules".
ShippedRules []AutoModeRuleInfo `json:"shipped_rules"`
}
type AutoModeConfigResult ¶ added in v0.12.0
type AutoModeConfigResult struct {
// Config corresponds to the JSON schema field "config".
Config AutoModeConfigInfo `json:"config"`
}
type AutoModeConfigResultMessage ¶ added in v0.12.0
type AutoModeConfigResultMessage struct {
// Config corresponds to the JSON schema field "config".
Config *AutoModeConfigInfo `json:"config,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type AutoModeDenialInfo ¶ added in v0.12.0
type AutoModeDenialInfo struct {
// CreatedAt corresponds to the JSON schema field "created_at".
CreatedAt string `json:"created_at"`
// ID corresponds to the JSON schema field "id".
ID int `json:"id"`
// Reason corresponds to the JSON schema field "reason".
Reason string `json:"reason"`
// Rule corresponds to the JSON schema field "rule".
Rule string `json:"rule"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// Signature corresponds to the JSON schema field "signature".
Signature string `json:"signature"`
// Tool corresponds to the JSON schema field "tool".
Tool string `json:"tool"`
}
type AutoModeDenialsMessage ¶ added in v0.12.0
type AutoModeDenialsResult ¶ added in v0.12.0
type AutoModeDenialsResult struct {
// Denials corresponds to the JSON schema field "denials".
Denials []AutoModeDenialInfo `json:"denials"`
// LedgerNote corresponds to the JSON schema field "ledger_note".
LedgerNote *string `json:"ledger_note,omitempty,omitzero"`
}
type AutoModeDiscardMessage ¶ added in v0.12.0
type AutoModeDiscardResultMessage ¶ added in v0.12.0
type AutoModeDiscardResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Proposal corresponds to the JSON schema field "proposal".
Proposal *AutoModeProposalInfo `json:"proposal,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type AutoModeEnvNotesMessage ¶ added in v0.12.0
type AutoModeEnvNotesMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Notes corresponds to the JSON schema field "notes".
Notes []string `json:"notes"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type AutoModeEnvResult ¶ added in v0.12.0
type AutoModeEnvResult struct {
// Environment corresponds to the JSON schema field "environment".
Environment AutoModeEnvironmentInfo `json:"environment"`
}
type AutoModeEnvSetResultMessage ¶ added in v0.12.0
type AutoModeEnvSetResultMessage struct {
// Config corresponds to the JSON schema field "config".
Config *AutoModeConfigInfo `json:"config,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type AutoModeEnvSlotMessage ¶ added in v0.12.0
type AutoModeEnvSlotMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Slot corresponds to the JSON schema field "slot".
Slot string `json:"slot"`
// Values corresponds to the JSON schema field "values".
Values []string `json:"values"`
}
type AutoModeEnvironmentInfo ¶ added in v0.12.0
type AutoModeEnvironmentInfo struct {
// Notes corresponds to the JSON schema field "notes".
Notes []string `json:"notes"`
// Slots corresponds to the JSON schema field "slots".
Slots []AutoModeEnvironmentSlotValue `json:"slots"`
}
type AutoModeEnvironmentSlot ¶ added in v0.12.0
type AutoModeEnvironmentSlot struct {
// Choices corresponds to the JSON schema field "choices".
Choices []string `json:"choices"`
// Detail corresponds to the JSON schema field "detail".
Detail string `json:"detail"`
// Detected corresponds to the JSON schema field "detected".
Detected bool `json:"detected"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Kind corresponds to the JSON schema field "kind".
Kind string `json:"kind"`
// Label corresponds to the JSON schema field "label".
Label string `json:"label"`
// ReadBy corresponds to the JSON schema field "read_by".
ReadBy []string `json:"read_by"`
// Unset corresponds to the JSON schema field "unset".
Unset string `json:"unset"`
}
type AutoModeEnvironmentSlotValue ¶ added in v0.12.0
type AutoModeGetMessage ¶ added in v0.12.0
type AutoModeHostAddMessage ¶ added in v0.12.0
type AutoModeHostAddMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Decision corresponds to the JSON schema field "decision".
Decision string `json:"decision"`
// Host corresponds to the JSON schema field "host".
Host string `json:"host"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type AutoModeHostRemoveMessage ¶ added in v0.12.0
type AutoModeHostRemoveMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Decision corresponds to the JSON schema field "decision".
Decision string `json:"decision"`
// Host corresponds to the JSON schema field "host".
Host string `json:"host"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type AutoModeLegacyDismissMessage ¶ added in v0.12.0
type AutoModeLegacyDismissMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Pattern corresponds to the JSON schema field "pattern".
Pattern string `json:"pattern"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type AutoModeNetworkInfo ¶ added in v0.12.0
type AutoModeNetworkInfo struct {
// AllowLocalBinding corresponds to the JSON schema field "allow_local_binding".
AllowLocalBinding bool `json:"allow_local_binding"`
// AllowedDomains corresponds to the JSON schema field "allowed_domains".
AllowedDomains []string `json:"allowed_domains"`
// DeniedDomains corresponds to the JSON schema field "denied_domains".
DeniedDomains []string `json:"denied_domains"`
// Enabled corresponds to the JSON schema field "enabled".
Enabled bool `json:"enabled"`
}
type AutoModePolicySetMessage ¶ added in v0.12.0
type AutoModePolicySetMessage struct {
// AllowLocalBinding corresponds to the JSON schema field "allow_local_binding".
AllowLocalBinding *bool `json:"allow_local_binding,omitempty,omitzero"`
// ApprovalPolicy corresponds to the JSON schema field "approval_policy".
ApprovalPolicy *string `json:"approval_policy,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Guardian corresponds to the JSON schema field "guardian".
Guardian *GuardianSelection `json:"guardian,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SandboxMode corresponds to the JSON schema field "sandbox_mode".
SandboxMode *string `json:"sandbox_mode,omitempty,omitzero"`
}
type AutoModePresetInfo ¶ added in v0.12.0
type AutoModePresetInfo struct {
// ApprovalPolicy corresponds to the JSON schema field "approval_policy".
ApprovalPolicy string `json:"approval_policy"`
// Description corresponds to the JSON schema field "description".
Description string `json:"description"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Label corresponds to the JSON schema field "label".
Label string `json:"label"`
// SandboxMode corresponds to the JSON schema field "sandbox_mode".
SandboxMode string `json:"sandbox_mode"`
}
type AutoModePromoteMessage ¶ added in v0.12.0
type AutoModePromoteResultMessage ¶ added in v0.12.0
type AutoModePromoteResultMessage struct {
// Config corresponds to the JSON schema field "config".
Config *AutoModeConfigInfo `json:"config,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Proposal corresponds to the JSON schema field "proposal".
Proposal *AutoModeProposalInfo `json:"proposal,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type AutoModeProposalInfo ¶ added in v0.12.0
type AutoModeProposalInfo struct {
// CreatedAt corresponds to the JSON schema field "created_at".
CreatedAt string `json:"created_at"`
// ID corresponds to the JSON schema field "id".
ID int `json:"id"`
// Kind corresponds to the JSON schema field "kind".
Kind string `json:"kind"`
// ProposedBy corresponds to the JSON schema field "proposed_by".
ProposedBy string `json:"proposed_by"`
// ResolvedAt corresponds to the JSON schema field "resolved_at".
ResolvedAt string `json:"resolved_at"`
// State corresponds to the JSON schema field "state".
State string `json:"state"`
// Summary corresponds to the JSON schema field "summary".
Summary string `json:"summary"`
// Target corresponds to the JSON schema field "target".
Target string `json:"target"`
// Value corresponds to the JSON schema field "value".
Value string `json:"value"`
}
type AutoModeProposeMessage ¶ added in v0.12.0
type AutoModeProposeMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Kind corresponds to the JSON schema field "kind".
Kind string `json:"kind"`
// ProposedBy corresponds to the JSON schema field "proposed_by".
ProposedBy *string `json:"proposed_by,omitempty,omitzero"`
// Target corresponds to the JSON schema field "target".
Target *string `json:"target,omitempty,omitzero"`
// Value corresponds to the JSON schema field "value".
Value string `json:"value"`
}
type AutoModeProposeResult ¶ added in v0.12.0
type AutoModeProposeResult struct {
// Proposal corresponds to the JSON schema field "proposal".
Proposal AutoModeProposalInfo `json:"proposal"`
}
type AutoModeRuleAddMessage ¶ added in v0.12.0
type AutoModeRuleAddMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Decision corresponds to the JSON schema field "decision".
Decision *string `json:"decision,omitempty,omitzero"`
// Justification corresponds to the JSON schema field "justification".
Justification *string `json:"justification,omitempty,omitzero"`
// Pattern corresponds to the JSON schema field "pattern".
Pattern []string `json:"pattern"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Sandbox corresponds to the JSON schema field "sandbox".
Sandbox *string `json:"sandbox,omitempty,omitzero"`
}
type AutoModeRuleInfo ¶ added in v0.12.0
type AutoModeRuleInfo struct {
// Decision corresponds to the JSON schema field "decision".
Decision string `json:"decision"`
// Justification corresponds to the JSON schema field "justification".
Justification string `json:"justification"`
// Match corresponds to the JSON schema field "match".
Match [][]string `json:"match"`
// NotMatch corresponds to the JSON schema field "not_match".
NotMatch [][]string `json:"not_match"`
// Pattern corresponds to the JSON schema field "pattern".
Pattern [][]string `json:"pattern"`
// Sandbox corresponds to the JSON schema field "sandbox".
Sandbox string `json:"sandbox"`
}
type AutoModeRuleRemoveMessage ¶ added in v0.12.0
type AutoModeRuleRemoveMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Pattern corresponds to the JSON schema field "pattern".
Pattern [][]string `json:"pattern"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type AutoModeShowMessage ¶ added in v0.12.0
type AutoModeShowResult ¶ added in v0.12.0
type AutoModeShowResult struct {
// Config corresponds to the JSON schema field "config".
Config AutoModeConfigInfo `json:"config"`
// GlobalRules corresponds to the JSON schema field "global_rules".
GlobalRules []AutoModeRuleInfo `json:"global_rules"`
// Proposals corresponds to the JSON schema field "proposals".
Proposals []AutoModeProposalInfo `json:"proposals"`
// RepositoryRules corresponds to the JSON schema field "repository_rules".
RepositoryRules []AutoModeRuleInfo `json:"repository_rules"`
// RepositoryRulesPath corresponds to the JSON schema field
// "repository_rules_path".
RepositoryRulesPath *string `json:"repository_rules_path,omitempty,omitzero"`
}
type AutoModeStateChangedMessage ¶ added in v0.12.0
type AutoModeStateChangedMessage struct {
// Config corresponds to the JSON schema field "config".
Config AutoModeConfigInfo `json:"config"`
// Denials corresponds to the JSON schema field "denials".
Denials []AutoModeDenialInfo `json:"denials"`
// EnvironmentSlots corresponds to the JSON schema field "environment_slots".
EnvironmentSlots []AutoModeEnvironmentSlot `json:"environment_slots"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Proposals corresponds to the JSON schema field "proposals".
Proposals []AutoModeProposalInfo `json:"proposals"`
}
type AutoModeStateResultMessage ¶ added in v0.12.0
type AutoModeStateResultMessage struct {
// Config corresponds to the JSON schema field "config".
Config AutoModeConfigInfo `json:"config"`
// Denials corresponds to the JSON schema field "denials".
Denials []AutoModeDenialInfo `json:"denials"`
// EnvironmentSlots corresponds to the JSON schema field "environment_slots".
EnvironmentSlots []AutoModeEnvironmentSlot `json:"environment_slots"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Proposals corresponds to the JSON schema field "proposals".
Proposals []AutoModeProposalInfo `json:"proposals"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type AutomationApplyMessage ¶ added in v0.12.0
type AutomationApplyMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DefinitionYaml corresponds to the JSON schema field "definition_yaml".
DefinitionYaml string `json:"definition_yaml"`
// ExpectedID corresponds to the JSON schema field "expected_id".
ExpectedID *int `json:"expected_id,omitempty,omitzero"`
// ExpectedRevision corresponds to the JSON schema field "expected_revision".
ExpectedRevision *int `json:"expected_revision,omitempty,omitzero"`
// LaunchDesktop corresponds to the JSON schema field "launch_desktop".
LaunchDesktop *string `json:"launch_desktop,omitempty,omitzero"`
// LaunchDesktopName corresponds to the JSON schema field "launch_desktop_name".
LaunchDesktopName *string `json:"launch_desktop_name,omitempty,omitzero"`
// LaunchDesktopSetting corresponds to the JSON schema field
// "launch_desktop_setting".
LaunchDesktopSetting *LaunchDesktopSetting `json:"launch_desktop_setting,omitempty,omitzero"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type AutomationApplyResultMessage ¶ added in v0.12.0
type AutomationApplyResultMessage struct {
// Definition corresponds to the JSON schema field "definition".
Definition *AutomationDefinitionSummary `json:"definition,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// ErrorCode corresponds to the JSON schema field "error_code".
ErrorCode *string `json:"error_code,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SpecYaml corresponds to the JSON schema field "spec_yaml".
SpecYaml *string `json:"spec_yaml,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type AutomationCleanupMessage ¶ added in v0.12.0
type AutomationCleanupMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DefinitionID corresponds to the JSON schema field "definition_id".
DefinitionID int `json:"definition_id"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type AutomationCleanupResultMessage ¶ added in v0.12.0
type AutomationCleanupResultMessage struct {
// Cleaned corresponds to the JSON schema field "cleaned".
Cleaned []string `json:"cleaned,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// KeptActive corresponds to the JSON schema field "kept_active".
KeptActive []string `json:"kept_active,omitempty,omitzero"`
// KeptDirty corresponds to the JSON schema field "kept_dirty".
KeptDirty []string `json:"kept_dirty,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type AutomationDefinitionGetMessage ¶ added in v0.12.0
type AutomationDefinitionGetMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DefinitionID corresponds to the JSON schema field "definition_id".
DefinitionID int `json:"definition_id"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type AutomationDefinitionResultMessage ¶ added in v0.12.0
type AutomationDefinitionResultMessage struct {
// Definition corresponds to the JSON schema field "definition".
Definition *AutomationDefinitionSummary `json:"definition,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SpecJson corresponds to the JSON schema field "spec_json".
SpecJson *string `json:"spec_json,omitempty,omitzero"`
// SpecYaml corresponds to the JSON schema field "spec_yaml".
SpecYaml *string `json:"spec_yaml,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type AutomationDefinitionSummary ¶ added in v0.12.0
type AutomationDefinitionSummary struct {
// Enabled corresponds to the JSON schema field "enabled".
Enabled bool `json:"enabled"`
// ID corresponds to the JSON schema field "id".
ID int `json:"id"`
// LastRun corresponds to the JSON schema field "last_run".
LastRun *AutomationRunSummary `json:"last_run,omitempty,omitzero"`
// LaunchDesktop corresponds to the JSON schema field "launch_desktop".
LaunchDesktop *LaunchDesktopSetting `json:"launch_desktop,omitempty,omitzero"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// ProfileName corresponds to the JSON schema field "profile_name".
ProfileName *string `json:"profile_name,omitempty,omitzero"`
// Revision corresponds to the JSON schema field "revision".
Revision int `json:"revision"`
// ScheduleCron corresponds to the JSON schema field "schedule_cron".
ScheduleCron *string `json:"schedule_cron,omitempty,omitzero"`
// ScheduleTimeZone corresponds to the JSON schema field "schedule_time_zone".
ScheduleTimeZone *string `json:"schedule_time_zone,omitempty,omitzero"`
// TriggerType corresponds to the JSON schema field "trigger_type".
TriggerType string `json:"trigger_type"`
// UpdatedAt corresponds to the JSON schema field "updated_at".
UpdatedAt string `json:"updated_at"`
}
type AutomationDefinitionsGetMessage ¶ added in v0.12.0
type AutomationDefinitionsGetMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type AutomationDefinitionsResultMessage ¶ added in v0.12.0
type AutomationDefinitionsResultMessage struct {
// Definitions corresponds to the JSON schema field "definitions".
Definitions []AutomationDefinitionSummary `json:"definitions,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type AutomationDeleteMessage ¶ added in v0.12.0
type AutomationDeleteMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DefinitionID corresponds to the JSON schema field "definition_id".
DefinitionID int `json:"definition_id"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type AutomationDeleteResultMessage ¶ added in v0.12.0
type AutomationDeleteResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type AutomationProvenance ¶ added in v0.12.0
type AutomationProvenance struct {
// DefinitionID corresponds to the JSON schema field "definition_id".
DefinitionID int `json:"definition_id"`
// DefinitionName corresponds to the JSON schema field "definition_name".
DefinitionName string `json:"definition_name"`
// PullRequest corresponds to the JSON schema field "pull_request".
PullRequest *PullRequestProvenance `json:"pull_request,omitempty,omitzero"`
// RunID corresponds to the JSON schema field "run_id".
RunID string `json:"run_id"`
// TriggerType corresponds to the JSON schema field "trigger_type".
TriggerType string `json:"trigger_type"`
}
type AutomationRunMessage ¶ added in v0.12.0
type AutomationRunMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DefinitionID corresponds to the JSON schema field "definition_id".
DefinitionID int `json:"definition_id"`
// InputJson corresponds to the JSON schema field "input_json".
InputJson *string `json:"input_json,omitempty,omitzero"`
// PRURL corresponds to the JSON schema field "pr_url".
PRURL *string `json:"pr_url,omitempty,omitzero"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type AutomationRunResultMessage ¶ added in v0.12.0
type AutomationRunResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Run corresponds to the JSON schema field "run".
Run *AutomationRunSummary `json:"run,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type AutomationRunSummary ¶ added in v0.12.0
type AutomationRunSummary struct {
// Automation corresponds to the JSON schema field "automation".
Automation *AutomationProvenance `json:"automation,omitempty,omitzero"`
// CancelReason corresponds to the JSON schema field "cancel_reason".
CancelReason *string `json:"cancel_reason,omitempty,omitzero"`
// CreatedAt corresponds to the JSON schema field "created_at".
CreatedAt string `json:"created_at"`
// DefinitionID corresponds to the JSON schema field "definition_id".
DefinitionID int `json:"definition_id"`
// DeliveredAt corresponds to the JSON schema field "delivered_at".
DeliveredAt *string `json:"delivered_at,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// LastError corresponds to the JSON schema field "last_error".
LastError *string `json:"last_error,omitempty,omitzero"`
// OccurrenceKey corresponds to the JSON schema field "occurrence_key".
OccurrenceKey *string `json:"occurrence_key,omitempty,omitzero"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID *string `json:"seed_id,omitempty,omitzero"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID *SessionID `json:"session_id,omitempty,omitzero"`
// State corresponds to the JSON schema field "state".
State string `json:"state"`
// UpdatedAt corresponds to the JSON schema field "updated_at".
UpdatedAt string `json:"updated_at"`
}
type AutomationRunsGetMessage ¶ added in v0.12.0
type AutomationRunsGetMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DefinitionID corresponds to the JSON schema field "definition_id".
DefinitionID int `json:"definition_id"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type AutomationRunsResultMessage ¶ added in v0.12.0
type AutomationRunsResultMessage struct {
// DefinitionID corresponds to the JSON schema field "definition_id".
DefinitionID int `json:"definition_id"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Runs corresponds to the JSON schema field "runs".
Runs []AutomationRunSummary `json:"runs,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
// Truncated corresponds to the JSON schema field "truncated".
Truncated *bool `json:"truncated,omitempty,omitzero"`
}
type AutomationSetEnabledMessage ¶ added in v0.12.0
type AutomationSetEnabledMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DefinitionID corresponds to the JSON schema field "definition_id".
DefinitionID int `json:"definition_id"`
// Enabled corresponds to the JSON schema field "enabled".
Enabled bool `json:"enabled"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type AutomationSetEnabledResultMessage ¶ added in v0.12.0
type AutomationSetEnabledResultMessage struct {
// Definition corresponds to the JSON schema field "definition".
Definition *AutomationDefinitionSummary `json:"definition,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type AutomationValidateMessage ¶ added in v0.12.0
type AutomationValidateMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DefinitionYaml corresponds to the JSON schema field "definition_yaml".
DefinitionYaml string `json:"definition_yaml"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type AutomationValidateResultMessage ¶ added in v0.12.0
type AutomationValidateResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type AutomationsChangedMessage ¶ added in v0.12.0
type BackgroundLaunchMessage ¶ added in v0.12.0
type BackgroundLaunchMessage struct {
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID string `json:"desktop_id"`
// DesktopLabel corresponds to the JSON schema field "desktop_label".
DesktopLabel string `json:"desktop_label"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Kind corresponds to the JSON schema field "kind".
Kind LaunchDesktopKind `json:"kind"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// RequestedBy corresponds to the JSON schema field "requested_by".
RequestedBy string `json:"requested_by"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
}
type Branch ¶
type Branch struct {
// CommitHash corresponds to the JSON schema field "commit_hash".
CommitHash *string `json:"commit_hash,omitempty,omitzero"`
// CommitTime corresponds to the JSON schema field "commit_time".
CommitTime *string `json:"commit_time,omitempty,omitzero"`
// IsCurrent corresponds to the JSON schema field "is_current".
IsCurrent *bool `json:"is_current,omitempty,omitzero"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
}
func BranchesToValues ¶
type BranchesResultMessage ¶
type BranchesResultMessage struct {
// Branches corresponds to the JSON schema field "branches".
Branches []Branch `json:"branches"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type BrowseDirectoryMessage ¶ added in v0.4.0
type BrowseDirectoryMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Extensions corresponds to the JSON schema field "extensions".
Extensions []string `json:"extensions,omitempty,omitzero"`
// InputPath corresponds to the JSON schema field "input_path".
InputPath string `json:"input_path"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type BrowseDirectoryResultMessage ¶ added in v0.4.0
type BrowseDirectoryResultMessage struct {
// Directory corresponds to the JSON schema field "directory".
Directory string `json:"directory"`
// Entries corresponds to the JSON schema field "entries".
Entries []DirectoryEntry `json:"entries"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// HomePath corresponds to the JSON schema field "home_path".
HomePath *string `json:"home_path,omitempty,omitzero"`
// InputPath corresponds to the JSON schema field "input_path".
InputPath string `json:"input_path"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type BrowserControlMessage ¶ added in v0.12.0
type BrowserControlMessage struct {
// Action corresponds to the JSON schema field "action".
Action string `json:"action"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Params corresponds to the JSON schema field "params".
Params *string `json:"params,omitempty,omitzero"`
// Selector corresponds to the JSON schema field "selector".
Selector *string `json:"selector,omitempty,omitzero"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID *SessionID `json:"session_id,omitempty,omitzero"`
// Text corresponds to the JSON schema field "text".
Text *string `json:"text,omitempty,omitzero"`
}
type BrowserControlRequestMessage ¶ added in v0.12.0
type BrowserControlRequestMessage struct {
// Action corresponds to the JSON schema field "action".
Action string `json:"action"`
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID string `json:"desktop_id"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Params corresponds to the JSON schema field "params".
Params *string `json:"params,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Selector corresponds to the JSON schema field "selector".
Selector *string `json:"selector,omitempty,omitzero"`
// Text corresponds to the JSON schema field "text".
Text *string `json:"text,omitempty,omitzero"`
// TileID corresponds to the JSON schema field "tile_id".
TileID string `json:"tile_id"`
}
type BrowserControlResultMessage ¶ added in v0.12.0
type BrowserControlResultMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Data corresponds to the JSON schema field "data".
Data *string `json:"data,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type BuiltinDelegationRole ¶ added in v0.12.0
type BuiltinDelegationRole string
const BuiltinDelegationRoleBuilder BuiltinDelegationRole = "builder"
const BuiltinDelegationRoleOrchestrator BuiltinDelegationRole = "orchestrator"
const BuiltinDelegationRolePathfinder BuiltinDelegationRole = "pathfinder"
const BuiltinDelegationRolePrototyper BuiltinDelegationRole = "prototyper"
const BuiltinDelegationRoleReviewer BuiltinDelegationRole = "reviewer"
type BusConsumerStatus ¶ added in v0.12.0
type BusConsumerStatus struct {
// Cursor corresponds to the JSON schema field "cursor".
Cursor int `json:"cursor"`
// Enabled corresponds to the JSON schema field "enabled".
Enabled bool `json:"enabled"`
// Filter corresponds to the JSON schema field "filter".
Filter string `json:"filter"`
// HoldsRetentionFloor corresponds to the JSON schema field
// "holds_retention_floor".
HoldsRetentionFloor bool `json:"holds_retention_floor"`
// Lag corresponds to the JSON schema field "lag".
Lag int `json:"lag"`
// Live corresponds to the JSON schema field "live".
Live bool `json:"live"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// OldestUnreadAt corresponds to the JSON schema field "oldest_unread_at".
OldestUnreadAt string `json:"oldest_unread_at"`
// PinAlarm corresponds to the JSON schema field "pin_alarm".
PinAlarm bool `json:"pin_alarm"`
// PinnedBytes corresponds to the JSON schema field "pinned_bytes".
PinnedBytes int `json:"pinned_bytes"`
// Stalled corresponds to the JSON schema field "stalled".
Stalled string `json:"stalled"`
// UpdatedAt corresponds to the JSON schema field "updated_at".
UpdatedAt string `json:"updated_at"`
}
type BusHealthEntry ¶ added in v0.12.0
type BusHealthEntry struct {
// Kind corresponds to the JSON schema field "kind".
Kind string `json:"kind"`
// Level corresponds to the JSON schema field "level".
Level string `json:"level"`
// Message corresponds to the JSON schema field "message".
Message string `json:"message"`
// Subject corresponds to the JSON schema field "subject".
Subject string `json:"subject"`
}
type BusProducerStatus ¶ added in v0.12.0
type BusProducerStatus struct {
// BaselinePerHour corresponds to the JSON schema field "baseline_per_hour".
BaselinePerHour float64 `json:"baseline_per_hour"`
// Bytes corresponds to the JSON schema field "bytes".
Bytes int `json:"bytes"`
// Events corresponds to the JSON schema field "events".
Events int `json:"events"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// RecentPerHour corresponds to the JSON schema field "recent_per_hour".
RecentPerHour float64 `json:"recent_per_hour"`
Share float64 `json:"share"`
// Subjects corresponds to the JSON schema field "subjects".
Subjects int `json:"subjects"`
// SurgePerHour corresponds to the JSON schema field "surge_per_hour".
SurgePerHour float64 `json:"surge_per_hour"`
// SurgeWindowSeconds corresponds to the JSON schema field "surge_window_seconds".
SurgeWindowSeconds float64 `json:"surge_window_seconds"`
// Surging corresponds to the JSON schema field "surging".
Surging bool `json:"surging"`
// SustainedPerHour corresponds to the JSON schema field "sustained_per_hour".
SustainedPerHour float64 `json:"sustained_per_hour"`
}
type BusSetConsumerEnabledMessage ¶ added in v0.12.0
type BusSetConsumerEnabledMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Consumer corresponds to the JSON schema field "consumer".
Consumer string `json:"consumer"`
// Enabled corresponds to the JSON schema field "enabled".
Enabled bool `json:"enabled"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type BusSetConsumerEnabledResultMessage ¶ added in v0.12.0
type BusSetConsumerEnabledResultMessage struct {
// Consumer corresponds to the JSON schema field "consumer".
Consumer string `json:"consumer"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type BusStatusGetMessage ¶ added in v0.12.0
type BusStatusResultMessage ¶ added in v0.12.0
type BusStatusResultMessage struct {
// BaselineWindowSeconds corresponds to the JSON schema field
// "baseline_window_seconds".
BaselineWindowSeconds float64 `json:"baseline_window_seconds"`
// Bytes corresponds to the JSON schema field "bytes".
Bytes int `json:"bytes"`
// Consumers corresponds to the JSON schema field "consumers".
Consumers []BusConsumerStatus `json:"consumers"`
// Delivering corresponds to the JSON schema field "delivering".
Delivering bool `json:"delivering"`
// Earliest corresponds to the JSON schema field "earliest".
Earliest int `json:"earliest"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Head corresponds to the JSON schema field "head".
Head int `json:"head"`
// Health corresponds to the JSON schema field "health".
Health []BusHealthEntry `json:"health"`
// NewestAt corresponds to the JSON schema field "newest_at".
NewestAt string `json:"newest_at"`
// OldestAt corresponds to the JSON schema field "oldest_at".
OldestAt string `json:"oldest_at"`
// PinAlarmSeconds corresponds to the JSON schema field "pin_alarm_seconds".
PinAlarmSeconds float64 `json:"pin_alarm_seconds"`
// Producers corresponds to the JSON schema field "producers".
Producers []BusProducerStatus `json:"producers"`
// RecentWindowSeconds corresponds to the JSON schema field
// "recent_window_seconds".
RecentWindowSeconds float64 `json:"recent_window_seconds"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// RetentionSeconds corresponds to the JSON schema field "retention_seconds".
RetentionSeconds float64 `json:"retention_seconds"`
// Rows corresponds to the JSON schema field "rows".
Rows int `json:"rows"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
// SurgeRatePerHour corresponds to the JSON schema field "surge_rate_per_hour".
SurgeRatePerHour float64 `json:"surge_rate_per_hour"`
}
type CalloutAnchor ¶ added in v0.13.0
type CalloutAnchor string
const CalloutAnchorAgent CalloutAnchor = "agent"
const CalloutAnchorCommands CalloutAnchor = "commands"
const CalloutAnchorCrew CalloutAnchor = "crew"
const CalloutAnchorDesktop CalloutAnchor = "desktop"
const CalloutAnchorDesktops CalloutAnchor = "desktops"
const CalloutAnchorGarden CalloutAnchor = "garden"
const CalloutAnchorHome CalloutAnchor = "home"
const CalloutAnchorQueue CalloutAnchor = "queue"
const CalloutAnchorSettingsButton CalloutAnchor = "settings-button"
const CalloutAnchorSidebar CalloutAnchor = "sidebar"
type CalloutAnchorInfo ¶ added in v0.13.0
type CalloutAnchorInfo struct {
// Description corresponds to the JSON schema field "description".
Description string `json:"description"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// OnScreen corresponds to the JSON schema field "on_screen".
OnScreen *bool `json:"on_screen,omitempty,omitzero"`
}
type CalloutAnchorsMessage ¶ added in v0.13.0
type CalloutAnchorsRequestMessage ¶ added in v0.13.0
type CalloutAnchorsRequestMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type CalloutAnchorsResult ¶ added in v0.13.0
type CalloutAnchorsResult struct {
// Anchors corresponds to the JSON schema field "anchors".
Anchors []CalloutAnchorInfo `json:"anchors"`
// AppShowingProfile corresponds to the JSON schema field "app_showing_profile".
AppShowingProfile bool `json:"app_showing_profile"`
}
type CalloutResultMessage ¶ added in v0.13.0
type CalloutResultMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Missing corresponds to the JSON schema field "missing".
Missing []CalloutAnchor `json:"missing,omitempty,omitzero"`
// OnScreen corresponds to the JSON schema field "on_screen".
OnScreen []CalloutAnchor `json:"on_screen"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type CalloutShowMessage ¶ added in v0.13.0
type CalloutShowMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// Steps corresponds to the JSON schema field "steps".
Steps []CalloutShowStep `json:"steps"`
}
type CalloutShowRequestMessage ¶ added in v0.13.0
type CalloutShowRequestMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// From corresponds to the JSON schema field "from".
From string `json:"from"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Steps corresponds to the JSON schema field "steps".
Steps []CalloutStep `json:"steps"`
}
type CalloutShowStep ¶ added in v0.13.0
type CalloutStep ¶ added in v0.13.0
type CalloutStep struct {
// Anchor corresponds to the JSON schema field "anchor".
Anchor CalloutAnchor `json:"anchor"`
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID *string `json:"desktop_id,omitempty,omitzero"`
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty,omitzero"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID *SessionID `json:"session_id,omitempty,omitzero"`
// Text corresponds to the JSON schema field "text".
Text string `json:"text"`
}
type CancelCountdownMessage ¶ added in v0.12.0
type ChiefOfStaffResultMessage ¶ added in v0.12.0
type ChiefOfStaffResultMessage struct {
// ChiefOfStaff corresponds to the JSON schema field "chief_of_staff".
ChiefOfStaff bool `json:"chief_of_staff"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// PreviousSessionID corresponds to the JSON schema field "previous_session_id".
PreviousSessionID *SessionID `json:"previous_session_id,omitempty,omitzero"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type ClearSessionActivityMessage ¶ added in v0.12.0
type ClearWarningsMessage ¶
type ClearWarningsMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
}
type ClientEvictionNoticeMessage ¶ added in v0.12.0
type ClientEvictionNoticeMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// EvictedAt corresponds to the JSON schema field "evicted_at".
EvictedAt string `json:"evicted_at"`
// Reason corresponds to the JSON schema field "reason".
Reason string `json:"reason"`
// UndeliveredMessages corresponds to the JSON schema field
// "undelivered_messages".
UndeliveredMessages int `json:"undelivered_messages"`
}
type ClientHelloMessage ¶ added in v0.10.0
type ClientHelloMessage struct {
// BrowserHostToken corresponds to the JSON schema field "browser_host_token".
BrowserHostToken *string `json:"browser_host_token,omitempty,omitzero"`
// Capabilities corresponds to the JSON schema field "capabilities".
Capabilities []string `json:"capabilities"`
// ClientID corresponds to the JSON schema field "client_id".
ClientID *string `json:"client_id,omitempty,omitzero"`
// ClientKind corresponds to the JSON schema field "client_kind".
ClientKind string `json:"client_kind"`
// ClientToken corresponds to the JSON schema field "client_token".
ClientToken *string `json:"client_token,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// Version corresponds to the JSON schema field "version".
Version string `json:"version"`
}
type CollapseRepoMessage ¶
type CommandErrorMessage ¶
type CommandErrorMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd *string `json:"cmd,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error string `json:"error"`
// ErrorCode corresponds to the JSON schema field "error_code".
ErrorCode *string `json:"error_code,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type CommandUsage ¶ added in v0.12.0
type CommandUsage struct {
// CommandID corresponds to the JSON schema field "command_id".
CommandID string `json:"command_id"`
// LastUsedAt corresponds to the JSON schema field "last_used_at".
LastUsedAt string `json:"last_used_at"`
// Score corresponds to the JSON schema field "score".
Score float64 `json:"score"`
}
type CreateWorktreeFromBranchMessage ¶
type CreateWorktreeFromBranchMessage struct {
// Branch corresponds to the JSON schema field "branch".
Branch string `json:"branch"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// MainRepo corresponds to the JSON schema field "main_repo".
MainRepo string `json:"main_repo"`
// Path corresponds to the JSON schema field "path".
Path *string `json:"path,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type CreateWorktreeMessage ¶
type CreateWorktreeMessage struct {
// Branch corresponds to the JSON schema field "branch".
Branch string `json:"branch"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// MainRepo corresponds to the JSON schema field "main_repo".
MainRepo string `json:"main_repo"`
// Path corresponds to the JSON schema field "path".
Path *string `json:"path,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// StartingFrom corresponds to the JSON schema field "starting_from".
StartingFrom *string `json:"starting_from,omitempty,omitzero"`
}
type CreateWorktreeResultMessage ¶
type CreateWorktreeResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Path corresponds to the JSON schema field "path".
Path *string `json:"path,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type CrewCharterDocument ¶ added in v0.12.0
type CrewCharterGetMessage ¶ added in v0.12.0
type CrewCharterGetMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Member corresponds to the JSON schema field "member".
Member string `json:"member"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type CrewCharterGetResult ¶ added in v0.12.0
type CrewCharterGetResult struct {
// Charter corresponds to the JSON schema field "charter".
Charter CrewCharterDocument `json:"charter"`
// Member corresponds to the JSON schema field "member".
Member string `json:"member"`
}
type CrewCharterGetResultMessage ¶ added in v0.12.0
type CrewCharterGetResultMessage struct {
// Charter corresponds to the JSON schema field "charter".
Charter *CrewCharterDocument `json:"charter,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Member corresponds to the JSON schema field "member".
Member *string `json:"member,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type CrewCharterSetMessage ¶ added in v0.12.0
type CrewCharterSetMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Content corresponds to the JSON schema field "content".
Content string `json:"content"`
// ExpectedToken corresponds to the JSON schema field "expected_token".
ExpectedToken string `json:"expected_token"`
// Member corresponds to the JSON schema field "member".
Member string `json:"member"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type CrewCharterSetResult ¶ added in v0.12.0
type CrewCharterSetResult struct {
// Charter corresponds to the JSON schema field "charter".
Charter CrewCharterDocument `json:"charter"`
// Conflict corresponds to the JSON schema field "conflict".
Conflict bool `json:"conflict"`
// Member corresponds to the JSON schema field "member".
Member string `json:"member"`
}
type CrewCharterSetResultMessage ¶ added in v0.12.0
type CrewCharterSetResultMessage struct {
// Charter corresponds to the JSON schema field "charter".
Charter *CrewCharterDocument `json:"charter,omitempty,omitzero"`
// Conflict corresponds to the JSON schema field "conflict".
Conflict bool `json:"conflict"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Member corresponds to the JSON schema field "member".
Member *string `json:"member,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type CrewDayClose ¶ added in v0.12.0
type CrewDayClose string
const CrewDayCloseNap CrewDayClose = "nap"
const CrewDayCloseSleep CrewDayClose = "sleep"
type CrewHandoffDocument ¶ added in v0.12.0
type CrewHandoffDocument struct {
// Content corresponds to the JSON schema field "content".
Content string `json:"content"`
// Filename corresponds to the JSON schema field "filename".
Filename string `json:"filename"`
// OccurredAt corresponds to the JSON schema field "occurred_at".
OccurredAt time.Time `json:"occurred_at"`
// Token corresponds to the JSON schema field "token".
Token string `json:"token"`
}
type CrewHandoffGetMessage ¶ added in v0.12.0
type CrewHandoffGetMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Filename corresponds to the JSON schema field "filename".
Filename string `json:"filename"`
// Member corresponds to the JSON schema field "member".
Member string `json:"member"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type CrewHandoffGetResult ¶ added in v0.12.0
type CrewHandoffGetResult struct {
// Handoff corresponds to the JSON schema field "handoff".
Handoff CrewHandoffDocument `json:"handoff"`
// Member corresponds to the JSON schema field "member".
Member string `json:"member"`
}
type CrewHandoffGetResultMessage ¶ added in v0.12.0
type CrewHandoffGetResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Handoff corresponds to the JSON schema field "handoff".
Handoff *CrewHandoffDocument `json:"handoff,omitempty,omitzero"`
// Member corresponds to the JSON schema field "member".
Member *string `json:"member,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type CrewHandoffMessage ¶ added in v0.12.0
type CrewHandoffMessage struct {
// Close corresponds to the JSON schema field "close".
Close *CrewDayClose `json:"close,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Note corresponds to the JSON schema field "note".
Note string `json:"note"`
// Retry corresponds to the JSON schema field "retry".
Retry *bool `json:"retry,omitempty,omitzero"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
}
type CrewHandoffResult ¶ added in v0.12.0
type CrewHandoffResult struct {
// Member corresponds to the JSON schema field "member".
Member string `json:"member"`
// NapError corresponds to the JSON schema field "nap_error".
NapError *string `json:"nap_error,omitempty,omitzero"`
// Outcome corresponds to the JSON schema field "outcome".
Outcome *CrewDayClose `json:"outcome,omitempty,omitzero"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID *SessionID `json:"session_id,omitempty,omitzero"`
}
type CrewHandoffSummary ¶ added in v0.12.0
type CrewHandoffsGetMessage ¶ added in v0.12.0
type CrewHandoffsGetMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Member corresponds to the JSON schema field "member".
Member string `json:"member"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type CrewHandoffsGetResult ¶ added in v0.12.0
type CrewHandoffsGetResult struct {
// Handoffs corresponds to the JSON schema field "handoffs".
Handoffs []CrewHandoffSummary `json:"handoffs"`
// Member corresponds to the JSON schema field "member".
Member string `json:"member"`
}
type CrewHandoffsGetResultMessage ¶ added in v0.12.0
type CrewHandoffsGetResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Handoffs corresponds to the JSON schema field "handoffs".
Handoffs []CrewHandoffSummary `json:"handoffs"`
// Member corresponds to the JSON schema field "member".
Member *string `json:"member,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type CrewListMessage ¶ added in v0.12.0
type CrewListMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
}
type CrewListResult ¶ added in v0.12.0
type CrewListResult struct {
// Members corresponds to the JSON schema field "members".
Members []CrewMember `json:"members"`
}
type CrewMember ¶ added in v0.12.0
type CrewMember struct {
// Agent corresponds to the JSON schema field "agent".
Agent *string `json:"agent,omitempty,omitzero"`
// AwarenessDirs corresponds to the JSON schema field "awareness_dirs".
AwarenessDirs []string `json:"awareness_dirs"`
// BindingSession corresponds to the JSON schema field "binding_session".
BindingSession *SessionID `json:"binding_session,omitempty,omitzero"`
// CharterPath corresponds to the JSON schema field "charter_path".
CharterPath string `json:"charter_path"`
// Cwd corresponds to the JSON schema field "cwd".
Cwd *string `json:"cwd,omitempty,omitzero"`
// Effort corresponds to the JSON schema field "effort".
Effort *string `json:"effort,omitempty,omitzero"`
// HomeDir corresponds to the JSON schema field "home_dir".
HomeDir string `json:"home_dir"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// LaunchDesktop corresponds to the JSON schema field "launch_desktop".
LaunchDesktop *LaunchDesktopSetting `json:"launch_desktop,omitempty,omitzero"`
// Model corresponds to the JSON schema field "model".
Model *string `json:"model,omitempty,omitzero"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// ProfileName corresponds to the JSON schema field "profile_name".
ProfileName *string `json:"profile_name,omitempty,omitzero"`
// ResolvedAgent corresponds to the JSON schema field "resolved_agent".
ResolvedAgent string `json:"resolved_agent"`
// ResolvedEffort corresponds to the JSON schema field "resolved_effort".
ResolvedEffort *string `json:"resolved_effort,omitempty,omitzero"`
// ResolvedModel corresponds to the JSON schema field "resolved_model".
ResolvedModel *string `json:"resolved_model,omitempty,omitzero"`
// Revision corresponds to the JSON schema field "revision".
Revision int `json:"revision"`
}
type CrewPrimeMessage ¶ added in v0.12.0
type CrewPrimeResult ¶ added in v0.12.0
type CrewPrimeResult struct {
// AwarenessDirs corresponds to the JSON schema field "awareness_dirs".
AwarenessDirs []string `json:"awareness_dirs"`
// Guidance corresponds to the JSON schema field "guidance".
Guidance *string `json:"guidance,omitempty,omitzero"`
// Member corresponds to the JSON schema field "member".
Member *string `json:"member,omitempty,omitzero"`
// PrimingBytes corresponds to the JSON schema field "priming_bytes".
PrimingBytes int `json:"priming_bytes"`
}
type CrewSetMessage ¶ added in v0.12.0
type CrewSetMessage struct {
// Agent corresponds to the JSON schema field "agent".
Agent *string `json:"agent,omitempty,omitzero"`
// AwarenessDirs corresponds to the JSON schema field "awareness_dirs".
AwarenessDirs []string `json:"awareness_dirs,omitempty,omitzero"`
// ClearAwarenessDirs corresponds to the JSON schema field "clear_awareness_dirs".
ClearAwarenessDirs *bool `json:"clear_awareness_dirs,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Cwd corresponds to the JSON schema field "cwd".
Cwd *string `json:"cwd,omitempty,omitzero"`
// Effort corresponds to the JSON schema field "effort".
Effort *string `json:"effort,omitempty,omitzero"`
// ExpectedRevision corresponds to the JSON schema field "expected_revision".
ExpectedRevision *int `json:"expected_revision,omitempty,omitzero"`
// LaunchDesktop corresponds to the JSON schema field "launch_desktop".
LaunchDesktop *string `json:"launch_desktop,omitempty,omitzero"`
// LaunchDesktopName corresponds to the JSON schema field "launch_desktop_name".
LaunchDesktopName *string `json:"launch_desktop_name,omitempty,omitzero"`
// LaunchDesktopSetting corresponds to the JSON schema field
// "launch_desktop_setting".
LaunchDesktopSetting *LaunchDesktopSetting `json:"launch_desktop_setting,omitempty,omitzero"`
// Member corresponds to the JSON schema field "member".
Member string `json:"member"`
// Model corresponds to the JSON schema field "model".
Model *string `json:"model,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type CrewSetResult ¶ added in v0.12.0
type CrewSetResult struct {
// Member corresponds to the JSON schema field "member".
Member CrewMember `json:"member"`
}
type CrewSetResultMessage ¶ added in v0.12.0
type CrewSetResultMessage struct {
// Conflict corresponds to the JSON schema field "conflict".
Conflict bool `json:"conflict"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Member corresponds to the JSON schema field "member".
Member *CrewMember `json:"member,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type CrewSleepMessage ¶ added in v0.12.0
type CrewSleepMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Member corresponds to the JSON schema field "member".
Member string `json:"member"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type CrewSleepResult ¶ added in v0.12.0
type CrewSleepResult struct {
// AlreadyAsleep corresponds to the JSON schema field "already_asleep".
AlreadyAsleep bool `json:"already_asleep"`
// DeliveryStatus corresponds to the JSON schema field "delivery_status".
DeliveryStatus *AgentMsgStatus `json:"delivery_status,omitempty,omitzero"`
// Detail corresponds to the JSON schema field "detail".
Detail string `json:"detail"`
// Member corresponds to the JSON schema field "member".
Member string `json:"member"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID *SessionID `json:"session_id,omitempty,omitzero"`
}
type CrewSleepResultMessage ¶ added in v0.12.0
type CrewSleepResultMessage struct {
// AlreadyAsleep corresponds to the JSON schema field "already_asleep".
AlreadyAsleep *bool `json:"already_asleep,omitempty,omitzero"`
// DeliveryStatus corresponds to the JSON schema field "delivery_status".
DeliveryStatus *AgentMsgStatus `json:"delivery_status,omitempty,omitzero"`
// Detail corresponds to the JSON schema field "detail".
Detail *string `json:"detail,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Member corresponds to the JSON schema field "member".
Member *string `json:"member,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID *SessionID `json:"session_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type CrewUpdatedMessage ¶ added in v0.12.0
type CrewUpdatedMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Members corresponds to the JSON schema field "members".
Members []CrewMember `json:"members"`
}
type CrewWakeMessage ¶ added in v0.12.0
type CrewWakeMessage struct {
// Agent corresponds to the JSON schema field "agent".
Agent *string `json:"agent,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Member corresponds to the JSON schema field "member".
Member string `json:"member"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type CrewWakeResult ¶ added in v0.12.0
type CrewWakeResult struct {
// AlreadyAwake corresponds to the JSON schema field "already_awake".
AlreadyAwake bool `json:"already_awake"`
// Member corresponds to the JSON schema field "member".
Member string `json:"member"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// ReleasedSessionID corresponds to the JSON schema field "released_session_id".
ReleasedSessionID *SessionID `json:"released_session_id,omitempty,omitzero"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
}
type CrewWakeResultMessage ¶ added in v0.12.0
type CrewWakeResultMessage struct {
// AlreadyAwake corresponds to the JSON schema field "already_awake".
AlreadyAwake *bool `json:"already_awake,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Member corresponds to the JSON schema field "member".
Member *string `json:"member,omitempty,omitzero"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// ReleasedSessionID corresponds to the JSON schema field "released_session_id".
ReleasedSessionID *SessionID `json:"released_session_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID *SessionID `json:"session_id,omitempty,omitzero"`
// ShowError corresponds to the JSON schema field "show_error".
ShowError *string `json:"show_error,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type DaemonWarning ¶
type DelegateAssignment ¶ added in v0.12.0
type DelegateAssignment struct {
// Brief corresponds to the JSON schema field "brief".
Brief *string `json:"brief,omitempty,omitzero"`
// Handover corresponds to the JSON schema field "handover".
Handover *DelegateHandover `json:"handover,omitempty,omitzero"`
// Kind corresponds to the JSON schema field "kind".
Kind DelegateAssignmentKind `json:"kind"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID *string `json:"seed_id,omitempty,omitzero"`
}
type DelegateAssignmentKind ¶ added in v0.12.0
type DelegateAssignmentKind string
const DelegateAssignmentKindNew DelegateAssignmentKind = "new"
const DelegateAssignmentKindSeed DelegateAssignmentKind = "seed"
type DelegateCheckout ¶ added in v0.12.0
type DelegateCheckout struct {
// Branch corresponds to the JSON schema field "branch".
Branch string `json:"branch"`
// From corresponds to the JSON schema field "from".
From *string `json:"from,omitempty,omitzero"`
// Kind corresponds to the JSON schema field "kind".
Kind DelegateCheckoutKind `json:"kind"`
// Path corresponds to the JSON schema field "path".
Path *string `json:"path,omitempty,omitzero"`
}
type DelegateCheckoutKind ¶ added in v0.12.0
type DelegateCheckoutKind string
const DelegateCheckoutKindExistingBranchWorktree DelegateCheckoutKind = "existing_branch_worktree"
const DelegateCheckoutKindNewWorktree DelegateCheckoutKind = "new_worktree"
const DelegateCheckoutKindReuse DelegateCheckoutKind = "reuse"
type DelegateHandover ¶ added in v0.12.0
type DelegateHandover struct {
// Note corresponds to the JSON schema field "note".
Note *string `json:"note,omitempty,omitzero"`
}
type DelegateMessage ¶ added in v0.12.0
type DelegateMessage struct {
// Agent corresponds to the JSON schema field "agent".
Agent *string `json:"agent,omitempty,omitzero"`
// AllowWorktreeReuse corresponds to the JSON schema field "allow_worktree_reuse".
AllowWorktreeReuse *bool `json:"allow_worktree_reuse,omitempty,omitzero"`
// Assignment corresponds to the JSON schema field "assignment".
Assignment DelegateAssignment `json:"assignment"`
// Checkout corresponds to the JSON schema field "checkout".
Checkout *DelegateCheckout `json:"checkout,omitempty,omitzero"`
// Choice corresponds to the JSON schema field "choice".
Choice *string `json:"choice,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Cwd corresponds to the JSON schema field "cwd".
Cwd string `json:"cwd"`
// Desktop corresponds to the JSON schema field "desktop".
Desktop *string `json:"desktop,omitempty,omitzero"`
// Effort corresponds to the JSON schema field "effort".
Effort *string `json:"effort,omitempty,omitzero"`
// Fallback corresponds to the JSON schema field "fallback".
Fallback *bool `json:"fallback,omitempty,omitzero"`
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty,omitzero"`
// Model corresponds to the JSON schema field "model".
Model *string `json:"model,omitempty,omitzero"`
// Priority corresponds to the JSON schema field "priority".
Priority *bool `json:"priority,omitempty,omitzero"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// Provider corresponds to the JSON schema field "provider".
Provider *string `json:"provider,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Review corresponds to the JSON schema field "review".
Review *SeedReviewActionContext `json:"review,omitempty,omitzero"`
// Role corresponds to the JSON schema field "role".
Role *string `json:"role,omitempty,omitzero"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
// YoloMode corresponds to the JSON schema field "yolo_mode".
YoloMode *bool `json:"yolo_mode,omitempty,omitzero"`
}
func (*DelegateMessage) UnmarshalJSON ¶ added in v0.12.0
func (m *DelegateMessage) UnmarshalJSON(data []byte) error
type DelegateResult ¶ added in v0.12.0
type DelegateResult struct {
// Agent corresponds to the JSON schema field "agent".
Agent string `json:"agent"`
// Branch corresponds to the JSON schema field "branch".
Branch *string `json:"branch,omitempty,omitzero"`
// Checkout corresponds to the JSON schema field "checkout".
Checkout string `json:"checkout"`
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID *string `json:"desktop_id,omitempty,omitzero"`
// Directory corresponds to the JSON schema field "directory".
Directory string `json:"directory"`
// Effort corresponds to the JSON schema field "effort".
Effort string `json:"effort"`
// FirstTurnAt corresponds to the JSON schema field "first_turn_at".
FirstTurnAt *string `json:"first_turn_at,omitempty,omitzero"`
// FirstTurnUnconfirmed corresponds to the JSON schema field
// "first_turn_unconfirmed".
FirstTurnUnconfirmed *string `json:"first_turn_unconfirmed,omitempty,omitzero"`
// Model corresponds to the JSON schema field "model".
Model string `json:"model"`
// PaneID corresponds to the JSON schema field "pane_id".
PaneID *string `json:"pane_id,omitempty,omitzero"`
// PredecessorSessionID corresponds to the JSON schema field
// "predecessor_session_id".
PredecessorSessionID *SessionID `json:"predecessor_session_id,omitempty,omitzero"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// Role corresponds to the JSON schema field "role".
Role *string `json:"role,omitempty,omitzero"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// WorktreeCreated corresponds to the JSON schema field "worktree_created".
WorktreeCreated *bool `json:"worktree_created,omitempty,omitzero"`
}
type DelegateResultMessage ¶ added in v0.12.0
type DelegateResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Result corresponds to the JSON schema field "result".
Result *DelegateResult `json:"result,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type DelegateStatusMessage ¶ added in v0.12.0
type DelegateStatusMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type DelegateWorktreeRequest ¶ added in v0.12.0
type DelegateWorktreeRequest struct {
// Branch corresponds to the JSON schema field "branch".
Branch string `json:"branch"`
// ExistingBranch corresponds to the JSON schema field "existing_branch".
ExistingBranch *bool `json:"existing_branch,omitempty,omitzero"`
// Path corresponds to the JSON schema field "path".
Path *string `json:"path,omitempty,omitzero"`
// Repo corresponds to the JSON schema field "repo".
Repo *string `json:"repo,omitempty,omitzero"`
// StartingFrom corresponds to the JSON schema field "starting_from".
StartingFrom *string `json:"starting_from,omitempty,omitzero"`
}
type DelegationChoice ¶ added in v0.12.0
type DelegationChoice struct {
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// Selection corresponds to the JSON schema field "selection".
Selection DelegationSelection `json:"selection"`
// When corresponds to the JSON schema field "when".
When string `json:"when"`
}
type DelegationFailure ¶ added in v0.12.0
type DelegationFallback ¶ added in v0.12.0
type DelegationFallback struct {
// Instructions corresponds to the JSON schema field "instructions".
Instructions string `json:"instructions"`
// Selection corresponds to the JSON schema field "selection".
Selection DelegationSelection `json:"selection"`
}
type DelegationOperation ¶ added in v0.12.0
type DelegationOperation struct {
// Branch corresponds to the JSON schema field "branch".
Branch *string `json:"branch,omitempty,omitzero"`
// CreatedAt corresponds to the JSON schema field "created_at".
CreatedAt string `json:"created_at"`
// Directory corresponds to the JSON schema field "directory".
Directory *string `json:"directory,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Failure corresponds to the JSON schema field "failure".
Failure *DelegationFailure `json:"failure,omitempty,omitzero"`
// OperationID corresponds to the JSON schema field "operation_id".
OperationID string `json:"operation_id"`
// Progress corresponds to the JSON schema field "progress".
Progress string `json:"progress"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Result corresponds to the JSON schema field "result".
Result *DelegateResult `json:"result,omitempty,omitzero"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID *string `json:"seed_id,omitempty,omitzero"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// State corresponds to the JSON schema field "state".
State DelegationOperationState `json:"state"`
// UpdatedAt corresponds to the JSON schema field "updated_at".
UpdatedAt string `json:"updated_at"`
// WorktreePath corresponds to the JSON schema field "worktree_path".
WorktreePath *string `json:"worktree_path,omitempty,omitzero"`
}
type DelegationOperationMessage ¶ added in v0.12.0
type DelegationOperationMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Operation corresponds to the JSON schema field "operation".
Operation *DelegationOperation `json:"operation,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type DelegationOperationState ¶ added in v0.12.0
type DelegationOperationState string
const DelegationOperationStateAccepted DelegationOperationState = "accepted"
const DelegationOperationStateCompleted DelegationOperationState = "completed"
const DelegationOperationStateFailed DelegationOperationState = "failed"
const DelegationOperationStatePreparing DelegationOperationState = "preparing"
type DelegationPreferences ¶ added in v0.12.0
type DelegationPreferences struct {
// Enabled corresponds to the JSON schema field "enabled".
Enabled bool `json:"enabled"`
// Fallback corresponds to the JSON schema field "fallback".
Fallback DelegationFallback `json:"fallback"`
// Revision corresponds to the JSON schema field "revision".
Revision int `json:"revision"`
// Roles corresponds to the JSON schema field "roles".
Roles []DelegationRole `json:"roles"`
// WorkflowSkillEnabled corresponds to the JSON schema field
// "workflow_skill_enabled".
WorkflowSkillEnabled bool `json:"workflow_skill_enabled"`
}
type DelegationPreferencesChangedMessage ¶ added in v0.12.0
type DelegationPreferencesCommitMessage ¶ added in v0.12.0
type DelegationPreferencesCommitMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Message corresponds to the JSON schema field "message".
Message *string `json:"message,omitempty,omitzero"`
// Preferences corresponds to the JSON schema field "preferences".
Preferences DelegationPreferences `json:"preferences"`
}
type DelegationPreferencesGetMessage ¶ added in v0.12.0
type DelegationPreferencesHistoryMessage ¶ added in v0.12.0
type DelegationPreferencesHistoryResult ¶ added in v0.12.0
type DelegationPreferencesHistoryResult struct {
// Revisions corresponds to the JSON schema field "revisions".
Revisions []DelegationPreferencesRevision `json:"revisions"`
}
type DelegationPreferencesOrigin ¶ added in v0.12.0
type DelegationPreferencesOrigin string
const DelegationPreferencesOriginCli DelegationPreferencesOrigin = "cli"
const DelegationPreferencesOriginSettings DelegationPreferencesOrigin = "settings"
type DelegationPreferencesResultMessage ¶ added in v0.12.0
type DelegationPreferencesResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// ExpandedRoles corresponds to the JSON schema field "expanded_roles".
ExpandedRoles []DelegationRole `json:"expanded_roles,omitempty,omitzero"`
// Harnesses corresponds to the JSON schema field "harnesses".
Harnesses []Harness `json:"harnesses,omitempty,omitzero"`
// Preferences corresponds to the JSON schema field "preferences".
Preferences *DelegationPreferences `json:"preferences,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
// Templates corresponds to the JSON schema field "templates".
Templates []DelegationRole `json:"templates,omitempty,omitzero"`
// WorkflowSkillPaths corresponds to the JSON schema field "workflow_skill_paths".
WorkflowSkillPaths []string `json:"workflow_skill_paths,omitempty,omitzero"`
}
type DelegationPreferencesRevision ¶ added in v0.12.0
type DelegationPreferencesRevision struct {
// Changes corresponds to the JSON schema field "changes".
Changes []string `json:"changes"`
// CreatedAt corresponds to the JSON schema field "created_at".
CreatedAt *string `json:"created_at,omitempty,omitzero"`
// Message corresponds to the JSON schema field "message".
Message *string `json:"message,omitempty,omitzero"`
// Origin corresponds to the JSON schema field "origin".
Origin *DelegationPreferencesOrigin `json:"origin,omitempty,omitzero"`
// Preferences corresponds to the JSON schema field "preferences".
Preferences DelegationPreferences `json:"preferences"`
// Restores corresponds to the JSON schema field "restores".
Restores *int `json:"restores,omitempty,omitzero"`
}
type DelegationPreferencesRollbackMessage ¶ added in v0.12.0
type DelegationPreferencesRollbackMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Message corresponds to the JSON schema field "message".
Message *string `json:"message,omitempty,omitzero"`
// Revision corresponds to the JSON schema field "revision".
Revision *int `json:"revision,omitempty,omitzero"`
}
type DelegationPreferencesSaveMessage ¶ added in v0.12.0
type DelegationPreferencesSaveMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// InstallWorkflowSkill corresponds to the JSON schema field
// "install_workflow_skill".
InstallWorkflowSkill *bool `json:"install_workflow_skill,omitempty,omitzero"`
// Preferences corresponds to the JSON schema field "preferences".
Preferences DelegationPreferences `json:"preferences"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type DelegationPreferencesShowMessage ¶ added in v0.12.0
type DelegationPreferencesShowMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
}
type DelegationRole ¶ added in v0.12.0
type DelegationRole struct {
// Builtin corresponds to the JSON schema field "builtin".
Builtin *BuiltinDelegationRole `json:"builtin,omitempty,omitzero"`
// Choices corresponds to the JSON schema field "choices".
Choices []DelegationChoice `json:"choices"`
// DefaultChoiceID corresponds to the JSON schema field "default_choice_id".
DefaultChoiceID string `json:"default_choice_id"`
// Description corresponds to the JSON schema field "description".
Description string `json:"description"`
// Enabled corresponds to the JSON schema field "enabled".
Enabled bool `json:"enabled"`
// Icon corresponds to the JSON schema field "icon".
Icon string `json:"icon"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Instructions corresponds to the JSON schema field "instructions".
Instructions string `json:"instructions"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// StoppingPoint corresponds to the JSON schema field "stopping_point".
StoppingPoint string `json:"stopping_point"`
}
type DelegationRolesMessage ¶ added in v0.12.0
type DelegationRolesMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
}
type DelegationRolesResult ¶ added in v0.12.0
type DelegationRolesResult struct {
// Fallback corresponds to the JSON schema field "fallback".
Fallback *DelegationFallback `json:"fallback,omitempty,omitzero"`
// Guidance corresponds to the JSON schema field "guidance".
Guidance string `json:"guidance"`
// Revision corresponds to the JSON schema field "revision".
Revision int `json:"revision"`
// Roles corresponds to the JSON schema field "roles".
Roles []DelegationRole `json:"roles"`
}
type DelegationSelection ¶ added in v0.12.0
type DelegationSelection struct {
// Effort corresponds to the JSON schema field "effort".
Effort string `json:"effort"`
// Harness corresponds to the JSON schema field "harness".
Harness string `json:"harness"`
// Model corresponds to the JSON schema field "model".
Model string `json:"model"`
// Provider corresponds to the JSON schema field "provider".
Provider string `json:"provider"`
}
type DeleteWorktreeMessage ¶
type DeleteWorktreeMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Force corresponds to the JSON schema field "force".
Force *bool `json:"force,omitempty,omitzero"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type DeleteWorktreeResultMessage ¶
type DeleteWorktreeResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Forceable corresponds to the JSON schema field "forceable".
Forceable *bool `json:"forceable,omitempty,omitzero"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// ReasonKind corresponds to the JSON schema field "reason_kind".
ReasonKind interface{} `json:"reason_kind,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type Desktop ¶ added in v0.12.0
type Desktop struct {
// ActivePaneID corresponds to the JSON schema field "active_pane_id".
ActivePaneID string `json:"active_pane_id"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// OrderKey corresponds to the JSON schema field "order_key".
OrderKey string `json:"order_key"`
// Panes corresponds to the JSON schema field "panes".
Panes []DesktopPane `json:"panes"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// Revision corresponds to the JSON schema field "revision".
Revision int `json:"revision"`
// ShortcutSlot corresponds to the JSON schema field "shortcut_slot".
ShortcutSlot *int `json:"shortcut_slot,omitempty,omitzero"`
// TreeJson corresponds to the JSON schema field "tree_json".
TreeJson string `json:"tree_json"`
}
type DesktopCloseMessage ¶ added in v0.13.0
type DesktopCloseMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID string `json:"desktop_id"`
// ExpectedRevision corresponds to the JSON schema field "expected_revision".
ExpectedRevision int `json:"expected_revision"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type DesktopCloseTileMessage ¶ added in v0.13.0
type DesktopCloseTileMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID string `json:"desktop_id"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// TileID corresponds to the JSON schema field "tile_id".
TileID string `json:"tile_id"`
}
type DesktopCreateMessage ¶ added in v0.12.0
type DesktopCreateMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Name corresponds to the JSON schema field "name".
Name *string `json:"name,omitempty,omitzero"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// ShortcutSlot corresponds to the JSON schema field "shortcut_slot".
ShortcutSlot *int `json:"shortcut_slot,omitempty,omitzero"`
}
type DesktopDockTileMessage ¶ added in v0.12.0
type DesktopDockTileMessage struct {
// AnchorID corresponds to the JSON schema field "anchor_id".
AnchorID *string `json:"anchor_id,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID string `json:"desktop_id"`
// Edge corresponds to the JSON schema field "edge".
Edge LayoutDockEdge `json:"edge"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// TileID corresponds to the JSON schema field "tile_id".
TileID string `json:"tile_id"`
// TileKind corresponds to the JSON schema field "tile_kind".
TileKind string `json:"tile_kind"`
// TileParams corresponds to the JSON schema field "tile_params".
TileParams *string `json:"tile_params,omitempty,omitzero"`
// TileSessionID corresponds to the JSON schema field "tile_session_id".
TileSessionID *SessionID `json:"tile_session_id,omitempty,omitzero"`
TileShare *float64 `json:"tile_share,omitempty,omitzero"`
}
type DesktopMoveLeafMessage ¶ added in v0.12.0
type DesktopMoveLeafMessage struct {
// AnchorID corresponds to the JSON schema field "anchor_id".
AnchorID *string `json:"anchor_id,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Edge corresponds to the JSON schema field "edge".
Edge *LayoutDockEdge `json:"edge,omitempty,omitzero"`
// LeafID corresponds to the JSON schema field "leaf_id".
LeafID string `json:"leaf_id"`
LeafShare *float64 `json:"leaf_share,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SourceDesktopID corresponds to the JSON schema field "source_desktop_id".
SourceDesktopID string `json:"source_desktop_id"`
// TargetDesktopID corresponds to the JSON schema field "target_desktop_id".
TargetDesktopID *string `json:"target_desktop_id,omitempty,omitzero"`
// TargetShortcutSlot corresponds to the JSON schema field "target_shortcut_slot".
TargetShortcutSlot *int `json:"target_shortcut_slot,omitempty,omitzero"`
// WithDelegates corresponds to the JSON schema field "with_delegates".
WithDelegates *bool `json:"with_delegates,omitempty,omitzero"`
}
type DesktopMoveSessionMessage ¶ added in v0.12.0
type DesktopMoveSessionMessage struct {
// CallerSessionID corresponds to the JSON schema field "caller_session_id".
CallerSessionID *SessionID `json:"caller_session_id,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Desktop corresponds to the JSON schema field "desktop".
Desktop string `json:"desktop"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
}
type DesktopMoveSessionResult ¶ added in v0.12.0
type DesktopMoveSessionResult struct {
// DesktopCreated corresponds to the JSON schema field "desktop_created".
DesktopCreated *bool `json:"desktop_created,omitempty,omitzero"`
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID string `json:"desktop_id"`
// FromDesktopID corresponds to the JSON schema field "from_desktop_id".
FromDesktopID *string `json:"from_desktop_id,omitempty,omitzero"`
// PaneID corresponds to the JSON schema field "pane_id".
PaneID string `json:"pane_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// Unchanged corresponds to the JSON schema field "unchanged".
Unchanged *bool `json:"unchanged,omitempty,omitzero"`
}
type DesktopPane ¶ added in v0.12.0
type DesktopPane struct {
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID string `json:"desktop_id"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Kind corresponds to the JSON schema field "kind".
Kind LayoutPaneKind `json:"kind"`
// PaneID corresponds to the JSON schema field "pane_id".
PaneID string `json:"pane_id"`
// RuntimeID corresponds to the JSON schema field "runtime_id".
RuntimeID TerminalID `json:"runtime_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// Status corresponds to the JSON schema field "status".
Status LayoutPaneStatus `json:"status"`
// Title corresponds to the JSON schema field "title".
Title string `json:"title"`
}
type DesktopPlaceSessionMessage ¶ added in v0.12.0
type DesktopPlaceSessionMessage struct {
// AnchorPaneID corresponds to the JSON schema field "anchor_pane_id".
AnchorPaneID *string `json:"anchor_pane_id,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID string `json:"desktop_id"`
// Direction corresponds to the JSON schema field "direction".
Direction *LayoutSplitDirection `json:"direction,omitempty,omitzero"`
NewPaneShare *float64 `json:"new_pane_share,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
}
type DesktopRemoveLeafMessage ¶ added in v0.12.0
type DesktopRemoveLeafMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID string `json:"desktop_id"`
// LeafID corresponds to the JSON schema field "leaf_id".
LeafID string `json:"leaf_id"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type DesktopRenameMessage ¶ added in v0.12.0
type DesktopRenameMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID string `json:"desktop_id"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type DesktopReorderMessage ¶ added in v0.12.0
type DesktopReorderMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID string `json:"desktop_id"`
// NextDesktopID corresponds to the JSON schema field "next_desktop_id".
NextDesktopID *string `json:"next_desktop_id,omitempty,omitzero"`
// PreviousDesktopID corresponds to the JSON schema field "previous_desktop_id".
PreviousDesktopID *string `json:"previous_desktop_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type DesktopSetActivePaneMessage ¶ added in v0.12.0
type DesktopSetActivePaneMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID string `json:"desktop_id"`
// PaneID corresponds to the JSON schema field "pane_id".
PaneID string `json:"pane_id"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type DesktopSetCurrentMessage ¶ added in v0.12.0
type DesktopSetCurrentMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID string `json:"desktop_id"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type DesktopSetOrderMessage ¶ added in v0.13.0
type DesktopSetOrderMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DesktopIds corresponds to the JSON schema field "desktop_ids".
DesktopIds []string `json:"desktop_ids"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type DesktopSetSplitRatioMessage ¶ added in v0.12.0
type DesktopSetSplitRatioMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID string `json:"desktop_id"`
// Ratio corresponds to the JSON schema field "ratio".
Ratio float64 `json:"ratio"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SplitID corresponds to the JSON schema field "split_id".
SplitID string `json:"split_id"`
}
type DesktopShowLeafMessage ¶ added in v0.12.0
type DesktopShowLeafMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID string `json:"desktop_id"`
// LeafID corresponds to the JSON schema field "leaf_id".
LeafID string `json:"leaf_id"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type DesktopShowSessionMessage ¶ added in v0.12.0
type DesktopShowSessionMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
}
type DesktopTileContentMessage ¶ added in v0.12.0
type DesktopTileContentMessage struct {
// Content corresponds to the JSON schema field "content".
Content string `json:"content"`
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID string `json:"desktop_id"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// TileID corresponds to the JSON schema field "tile_id".
TileID string `json:"tile_id"`
// TileKind corresponds to the JSON schema field "tile_kind".
TileKind string `json:"tile_kind"`
}
type DesktopUpdateTileMessage ¶ added in v0.12.0
type DesktopUpdateTileMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID string `json:"desktop_id"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// TileID corresponds to the JSON schema field "tile_id".
TileID string `json:"tile_id"`
// TileParams corresponds to the JSON schema field "tile_params".
TileParams *string `json:"tile_params,omitempty,omitzero"`
// TileSessionID corresponds to the JSON schema field "tile_session_id".
TileSessionID *SessionID `json:"tile_session_id,omitempty,omitzero"`
}
type DetachSessionMessage ¶
type DetachSessionMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
}
type DirectoryEntry ¶ added in v0.4.0
type DirectoryEntry struct {
// IsDir corresponds to the JSON schema field "is_dir".
IsDir bool `json:"is_dir"`
// IsRepo corresponds to the JSON schema field "is_repo".
IsRepo *bool `json:"is_repo,omitempty,omitzero"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
}
type DocCollectionsMessage ¶ added in v0.12.0
type DocCollectionsMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
}
type DocCollectionsResult ¶ added in v0.12.0
type DocCollectionsResult struct {
// Collections corresponds to the JSON schema field "collections".
Collections []DocumentCollectionSchema `json:"collections"`
}
type DocCountMessage ¶ added in v0.12.0
type DocCountMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Query corresponds to the JSON schema field "query".
Query DocumentQuery `json:"query"`
}
type DocCountResult ¶ added in v0.12.0
type DocDefineMessage ¶ added in v0.12.0
type DocDefineMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Schema corresponds to the JSON schema field "schema".
Schema DocumentCollectionSchema `json:"schema"`
}
type DocDefineResult ¶ added in v0.12.0
type DocDeleteMessage ¶ added in v0.12.0
type DocDeleteMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Collection corresponds to the JSON schema field "collection".
Collection string `json:"collection"`
// ExpectedRev corresponds to the JSON schema field "expected_rev".
ExpectedRev *int `json:"expected_rev,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Namespace corresponds to the JSON schema field "namespace".
Namespace string `json:"namespace"`
}
type DocDeleteResult ¶ added in v0.12.0
type DocDeleteResult struct {
// Collection corresponds to the JSON schema field "collection".
Collection string `json:"collection"`
// Existed corresponds to the JSON schema field "existed".
Existed bool `json:"existed"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Namespace corresponds to the JSON schema field "namespace".
Namespace string `json:"namespace"`
// Seq corresponds to the JSON schema field "seq".
Seq int `json:"seq"`
}
type DocGetMessage ¶ added in v0.12.0
type DocGetMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Collection corresponds to the JSON schema field "collection".
Collection string `json:"collection"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Namespace corresponds to the JSON schema field "namespace".
Namespace string `json:"namespace"`
}
type DocGetResult ¶ added in v0.12.0
type DocGetResult struct {
// AsOfSeq corresponds to the JSON schema field "as_of_seq".
AsOfSeq int `json:"as_of_seq"`
// Document corresponds to the JSON schema field "document".
Document *StoredDocument `json:"document,omitempty,omitzero"`
// Found corresponds to the JSON schema field "found".
Found bool `json:"found"`
}
type DocPutMessage ¶ added in v0.12.0
type DocPutMessage struct {
// Body corresponds to the JSON schema field "body".
Body string `json:"body"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Collection corresponds to the JSON schema field "collection".
Collection string `json:"collection"`
// ExpectedRev corresponds to the JSON schema field "expected_rev".
ExpectedRev *int `json:"expected_rev,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Namespace corresponds to the JSON schema field "namespace".
Namespace string `json:"namespace"`
}
type DocPutResult ¶ added in v0.12.0
type DocPutResult struct {
// Collection corresponds to the JSON schema field "collection".
Collection string `json:"collection"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Namespace corresponds to the JSON schema field "namespace".
Namespace string `json:"namespace"`
// Rev corresponds to the JSON schema field "rev".
Rev int `json:"rev"`
// Seq corresponds to the JSON schema field "seq".
Seq int `json:"seq"`
}
type DocQueryMessage ¶ added in v0.12.0
type DocQueryMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Query corresponds to the JSON schema field "query".
Query DocumentQuery `json:"query"`
}
type DocQueryResult ¶ added in v0.12.0
type DocQueryResult struct {
// AsOfSeq corresponds to the JSON schema field "as_of_seq".
AsOfSeq int `json:"as_of_seq"`
// Documents corresponds to the JSON schema field "documents".
Documents []StoredDocument `json:"documents"`
}
type DocSubscribeMessage ¶ added in v0.12.0
type DocSubscribeMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Have corresponds to the JSON schema field "have".
Have []DocumentRevision `json:"have,omitempty,omitzero"`
// Query corresponds to the JSON schema field "query".
Query DocumentQuery `json:"query"`
// SubscriptionID corresponds to the JSON schema field "subscription_id".
SubscriptionID *string `json:"subscription_id,omitempty,omitzero"`
}
type DocSubscribeResult ¶ added in v0.12.0
type DocSubscribeResult struct {
// AsOfSeq corresponds to the JSON schema field "as_of_seq".
AsOfSeq int `json:"as_of_seq"`
// Delivery corresponds to the JSON schema field "delivery".
Delivery int `json:"delivery"`
// Order corresponds to the JSON schema field "order".
Order []string `json:"order"`
// Upsert corresponds to the JSON schema field "upsert".
Upsert []StoredDocument `json:"upsert"`
}
type DocSubscriptionDeliveryMessage ¶ added in v0.12.0
type DocSubscriptionDeliveryMessage struct {
// AsOfSeq corresponds to the JSON schema field "as_of_seq".
AsOfSeq int `json:"as_of_seq"`
// Delivery corresponds to the JSON schema field "delivery".
Delivery int `json:"delivery"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Order corresponds to the JSON schema field "order".
Order []string `json:"order"`
// SubscriptionID corresponds to the JSON schema field "subscription_id".
SubscriptionID string `json:"subscription_id"`
// Upsert corresponds to the JSON schema field "upsert".
Upsert []StoredDocument `json:"upsert"`
}
type DocSubscriptionEndedMessage ¶ added in v0.12.0
type DocSubscriptionEndedMessage struct {
// Code corresponds to the JSON schema field "code".
Code string `json:"code"`
// Error corresponds to the JSON schema field "error".
Error string `json:"error"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// SubscriptionID corresponds to the JSON schema field "subscription_id".
SubscriptionID string `json:"subscription_id"`
}
type DocUndefineMessage ¶ added in v0.12.0
type DocUndefineMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Collection corresponds to the JSON schema field "collection".
Collection string `json:"collection"`
// Namespace corresponds to the JSON schema field "namespace".
Namespace string `json:"namespace"`
}
type DocUndefineResult ¶ added in v0.12.0
type DocUndefineResult struct {
// Collection corresponds to the JSON schema field "collection".
Collection string `json:"collection"`
// DocumentsRemoved corresponds to the JSON schema field "documents_removed".
DocumentsRemoved int `json:"documents_removed"`
// Namespace corresponds to the JSON schema field "namespace".
Namespace string `json:"namespace"`
}
type DocUnsubscribeMessage ¶ added in v0.12.0
type DocumentCollectionSchema ¶ added in v0.12.0
type DocumentCollectionSchema struct {
// Collection corresponds to the JSON schema field "collection".
Collection string `json:"collection"`
// Fields corresponds to the JSON schema field "fields".
Fields []DocumentFieldSpec `json:"fields"`
// Namespace corresponds to the JSON schema field "namespace".
Namespace string `json:"namespace"`
}
type DocumentConflict ¶ added in v0.12.0
type DocumentConflict struct {
// Actual corresponds to the JSON schema field "actual".
Actual int `json:"actual"`
// Collection corresponds to the JSON schema field "collection".
Collection string `json:"collection"`
// Expected corresponds to the JSON schema field "expected".
Expected int `json:"expected"`
// Found corresponds to the JSON schema field "found".
Found bool `json:"found"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Namespace corresponds to the JSON schema field "namespace".
Namespace string `json:"namespace"`
}
type DocumentFieldSpec ¶ added in v0.12.0
type DocumentFilter ¶ added in v0.12.0
type DocumentQuery ¶ added in v0.12.0
type DocumentQuery struct {
// After corresponds to the JSON schema field "after".
After *string `json:"after,omitempty,omitzero"`
// Collection corresponds to the JSON schema field "collection".
Collection string `json:"collection"`
// Filters corresponds to the JSON schema field "filters".
Filters []DocumentFilter `json:"filters,omitempty,omitzero"`
// Limit corresponds to the JSON schema field "limit".
Limit *int `json:"limit,omitempty,omitzero"`
// Namespace corresponds to the JSON schema field "namespace".
Namespace string `json:"namespace"`
// Sort corresponds to the JSON schema field "sort".
Sort *DocumentSort `json:"sort,omitempty,omitzero"`
}
type DocumentRevision ¶ added in v0.12.0
type DocumentSort ¶ added in v0.12.0
type EnsureRepoMessage ¶
type EnsureRepoMessage struct {
// CloneURL corresponds to the JSON schema field "clone_url".
CloneURL string `json:"clone_url"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// TargetPath corresponds to the JSON schema field "target_path".
TargetPath string `json:"target_path"`
}
type EnsureRepoResultMessage ¶
type EnsureRepoResultMessage struct {
// Cloned corresponds to the JSON schema field "cloned".
Cloned *bool `json:"cloned,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Success corresponds to the JSON schema field "success".
Success *bool `json:"success,omitempty,omitzero"`
// TargetPath corresponds to the JSON schema field "target_path".
TargetPath *string `json:"target_path,omitempty,omitzero"`
}
type EvidenceExcerpt ¶ added in v0.12.0
type EvidenceExcerpt struct {
// Author corresponds to the JSON schema field "author".
Author string `json:"author"`
// Quote corresponds to the JSON schema field "quote".
Quote string `json:"quote"`
// Timestamp corresponds to the JSON schema field "timestamp".
Timestamp *string `json:"timestamp,omitempty,omitzero"`
// TurnID corresponds to the JSON schema field "turn_id".
TurnID string `json:"turn_id"`
}
type FetchPRDetailsMessage ¶
type FetchPRDetailsResultMessage ¶
type FetchPRDetailsResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Prs corresponds to the JSON schema field "prs".
Prs []PR `json:"prs,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type FetchRemotesMessage ¶
type FetchRemotesResultMessage ¶
type FetchRemotesResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type FileActivity ¶ added in v0.12.0
type FileActivity struct {
// Count corresponds to the JSON schema field "count".
Count int `json:"count"`
// LastAt corresponds to the JSON schema field "last_at".
LastAt string `json:"last_at"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID *SessionID `json:"session_id,omitempty,omitzero"`
// Source corresponds to the JSON schema field "source".
Source string `json:"source"`
}
type FilesEditedMessage ¶ added in v0.12.0
type FilesEditedMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
// Paths corresponds to the JSON schema field "paths".
Paths []string `json:"paths"`
}
type FsChangedMessage ¶ added in v0.12.0
type FsChangedMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Origin corresponds to the JSON schema field "origin".
Origin string `json:"origin"`
// Paths corresponds to the JSON schema field "paths".
Paths []string `json:"paths"`
// Root corresponds to the JSON schema field "root".
Root string `json:"root"`
}
type FsDeleteMessage ¶ added in v0.12.0
type FsDeleteMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Root corresponds to the JSON schema field "root".
Root *string `json:"root,omitempty,omitzero"`
}
type FsDeleteResult ¶ added in v0.12.0
type FsDeleteResult struct {
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
}
type FsDeleteResultMessage ¶ added in v0.12.0
type FsDeleteResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Result corresponds to the JSON schema field "result".
Result *FsDeleteResult `json:"result,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type FsEntry ¶ added in v0.12.0
type FsEntry struct {
// IsDir corresponds to the JSON schema field "is_dir".
IsDir bool `json:"is_dir"`
// Modified corresponds to the JSON schema field "modified".
Modified *string `json:"modified,omitempty,omitzero"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// Size corresponds to the JSON schema field "size".
Size int `json:"size"`
}
type FsExistsMessage ¶ added in v0.12.0
type FsExistsMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Root corresponds to the JSON schema field "root".
Root *string `json:"root,omitempty,omitzero"`
}
type FsExistsResult ¶ added in v0.12.0
type FsExistsResultMessage ¶ added in v0.12.0
type FsExistsResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Result corresponds to the JSON schema field "result".
Result *FsExistsResult `json:"result,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type FsIndexMessage ¶ added in v0.12.0
type FsIndexMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Extensions corresponds to the JSON schema field "extensions".
Extensions []string `json:"extensions,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Root corresponds to the JSON schema field "root".
Root *string `json:"root,omitempty,omitzero"`
}
type FsIndexResultMessage ¶ added in v0.12.0
type FsIndexResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Files corresponds to the JSON schema field "files".
Files []string `json:"files"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Root corresponds to the JSON schema field "root".
Root string `json:"root"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
// Truncated corresponds to the JSON schema field "truncated".
Truncated bool `json:"truncated"`
}
type FsListMessage ¶ added in v0.12.0
type FsListMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Path corresponds to the JSON schema field "path".
Path *string `json:"path,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Root corresponds to the JSON schema field "root".
Root *string `json:"root,omitempty,omitzero"`
}
type FsListResultMessage ¶ added in v0.12.0
type FsListResultMessage struct {
// Entries corresponds to the JSON schema field "entries".
Entries []FsEntry `json:"entries,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type FsReadAssetMessage ¶ added in v0.12.0
type FsReadAssetMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Root corresponds to the JSON schema field "root".
Root *string `json:"root,omitempty,omitzero"`
}
type FsReadAssetResult ¶ added in v0.12.0
type FsReadAssetResult struct {
// DataBase64 corresponds to the JSON schema field "data_base64".
DataBase64 string `json:"data_base64"`
// MimeType corresponds to the JSON schema field "mime_type".
MimeType string `json:"mime_type"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
}
type FsReadAssetResultMessage ¶ added in v0.12.0
type FsReadAssetResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Result corresponds to the JSON schema field "result".
Result *FsReadAssetResult `json:"result,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type FsReadMessage ¶ added in v0.12.0
type FsReadMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Root corresponds to the JSON schema field "root".
Root *string `json:"root,omitempty,omitzero"`
}
type FsReadResult ¶ added in v0.12.0
type FsReadResultMessage ¶ added in v0.12.0
type FsReadResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Result corresponds to the JSON schema field "result".
Result *FsReadResult `json:"result,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type FsRenameMessage ¶ added in v0.12.0
type FsRenameMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// NewPath corresponds to the JSON schema field "new_path".
NewPath string `json:"new_path"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Root corresponds to the JSON schema field "root".
Root *string `json:"root,omitempty,omitzero"`
}
type FsRenameResult ¶ added in v0.12.0
type FsRenameResultMessage ¶ added in v0.12.0
type FsRenameResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Result corresponds to the JSON schema field "result".
Result *FsRenameResult `json:"result,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type FsUnwatchMessage ¶ added in v0.12.0
type FsUnwatchMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Root corresponds to the JSON schema field "root".
Root *string `json:"root,omitempty,omitzero"`
}
type FsUnwatchResultMessage ¶ added in v0.12.0
type FsUnwatchResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Root corresponds to the JSON schema field "root".
Root *string `json:"root,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type FsWatchMessage ¶ added in v0.12.0
type FsWatchMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Root corresponds to the JSON schema field "root".
Root *string `json:"root,omitempty,omitzero"`
}
type FsWatchResultMessage ¶ added in v0.12.0
type FsWatchResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Root corresponds to the JSON schema field "root".
Root *string `json:"root,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type FsWriteMessage ¶ added in v0.12.0
type FsWriteMessage struct {
// BaseHash corresponds to the JSON schema field "base_hash".
BaseHash *string `json:"base_hash,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Content corresponds to the JSON schema field "content".
Content string `json:"content"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Root corresponds to the JSON schema field "root".
Root *string `json:"root,omitempty,omitzero"`
}
type FsWriteResult ¶ added in v0.12.0
type FsWriteResult struct {
// Conflict corresponds to the JSON schema field "conflict".
Conflict bool `json:"conflict"`
// CurrentHash corresponds to the JSON schema field "current_hash".
CurrentHash *string `json:"current_hash,omitempty,omitzero"`
// Hash corresponds to the JSON schema field "hash".
Hash *string `json:"hash,omitempty,omitzero"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
}
type FsWriteResultMessage ¶ added in v0.12.0
type FsWriteResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Result corresponds to the JSON schema field "result".
Result *FsWriteResult `json:"result,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type GardenReview ¶ added in v0.12.0
type GardenReview struct {
// Items corresponds to the JSON schema field "items".
Items []GardenReviewItem `json:"items"`
// Run corresponds to the JSON schema field "run".
Run GardenReviewRun `json:"run"`
}
type GardenReviewEvidence ¶ added in v0.12.0
type GardenReviewItem ¶ added in v0.12.0
type GardenReviewItem struct {
// Actions corresponds to the JSON schema field "actions".
Actions []string `json:"actions"`
// AdvisorAttempt corresponds to the JSON schema field "advisor_attempt".
AdvisorAttempt *int `json:"advisor_attempt,omitempty,omitzero"`
// AdvisorError corresponds to the JSON schema field "advisor_error".
AdvisorError *string `json:"advisor_error,omitempty,omitzero"`
// AdvisorMaxAttempts corresponds to the JSON schema field "advisor_max_attempts".
AdvisorMaxAttempts *int `json:"advisor_max_attempts,omitempty,omitzero"`
// AdvisorRetryAt corresponds to the JSON schema field "advisor_retry_at".
AdvisorRetryAt *string `json:"advisor_retry_at,omitempty,omitzero"`
// AdvisorState corresponds to the JSON schema field "advisor_state".
AdvisorState *string `json:"advisor_state,omitempty,omitzero"`
// AdvisorUpdatedAt corresponds to the JSON schema field "advisor_updated_at".
AdvisorUpdatedAt *string `json:"advisor_updated_at,omitempty,omitzero"`
// Body corresponds to the JSON schema field "body".
Body string `json:"body"`
// CitedEvidence corresponds to the JSON schema field "cited_evidence".
CitedEvidence []string `json:"cited_evidence,omitempty,omitzero"`
// CompletedAt corresponds to the JSON schema field "completed_at".
CompletedAt *string `json:"completed_at,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Evidence corresponds to the JSON schema field "evidence".
Evidence []GardenReviewEvidence `json:"evidence"`
// EvidenceVersion corresponds to the JSON schema field "evidence_version".
EvidenceVersion string `json:"evidence_version"`
// Explanation corresponds to the JSON schema field "explanation".
Explanation *string `json:"explanation,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Recommendation corresponds to the JSON schema field "recommendation".
Recommendation *string `json:"recommendation,omitempty,omitzero"`
// Resolution corresponds to the JSON schema field "resolution".
Resolution string `json:"resolution"`
// ResolvedAction corresponds to the JSON schema field "resolved_action".
ResolvedAction *string `json:"resolved_action,omitempty,omitzero"`
// ReviewAgainAt corresponds to the JSON schema field "review_again_at".
ReviewAgainAt *string `json:"review_again_at,omitempty,omitzero"`
// RunID corresponds to the JSON schema field "run_id".
RunID string `json:"run_id"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// SeedRev corresponds to the JSON schema field "seed_rev".
SeedRev int `json:"seed_rev"`
// StartedAt corresponds to the JSON schema field "started_at".
StartedAt *string `json:"started_at,omitempty,omitzero"`
// Status corresponds to the JSON schema field "status".
Status string `json:"status"`
// Title corresponds to the JSON schema field "title".
Title string `json:"title"`
}
type GardenReviewRecipe ¶ added in v0.12.0
type GardenReviewRecipe struct {
// Agent corresponds to the JSON schema field "agent".
Agent string `json:"agent"`
// Effort corresponds to the JSON schema field "effort".
Effort *string `json:"effort,omitempty,omitzero"`
// Model corresponds to the JSON schema field "model".
Model string `json:"model"`
}
type GardenReviewRun ¶ added in v0.12.0
type GardenReviewRun struct {
// CandidateIds corresponds to the JSON schema field "candidate_ids".
CandidateIds []string `json:"candidate_ids"`
// CapturedAt corresponds to the JSON schema field "captured_at".
CapturedAt string `json:"captured_at"`
// CompletedAt corresponds to the JSON schema field "completed_at".
CompletedAt *string `json:"completed_at,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// Recipe corresponds to the JSON schema field "recipe".
Recipe GardenReviewRecipe `json:"recipe"`
// Status corresponds to the JSON schema field "status".
Status string `json:"status"`
}
type GardenReviewUpdatedMessage ¶ added in v0.12.0
type GardenReviewUpdatedMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Review corresponds to the JSON schema field "review".
Review GardenReview `json:"review"`
}
type GardenSeedsUpdatedMessage ¶ added in v0.12.0
type GardenSeedsUpdatedMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// Seeds corresponds to the JSON schema field "seeds".
Seeds []Seed `json:"seeds"`
// Total corresponds to the JSON schema field "total".
Total int `json:"total"`
}
type GetCommandUsageMessage ¶ added in v0.12.0
type GetCommandUsageMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type GetCommandUsageResultMessage ¶ added in v0.12.0
type GetCommandUsageResultMessage struct {
// Entries corresponds to the JSON schema field "entries".
Entries []CommandUsage `json:"entries"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type GetDefaultBranchMessage ¶
type GetDefaultBranchResultMessage ¶
type GetDefaultBranchResultMessage struct {
// Branch corresponds to the JSON schema field "branch".
Branch string `json:"branch"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type GetKittyImageMessage ¶ added in v0.12.0
type GetKittyImageMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
// ImageID corresponds to the JSON schema field "image_id".
ImageID int `json:"image_id"`
}
type GetRecentLocationsMessage ¶
type GetRecentLocationsMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Limit corresponds to the JSON schema field "limit".
Limit *int `json:"limit,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type GetRepoInfoMessage ¶
type GetRepoInfoMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Repo corresponds to the JSON schema field "repo".
Repo string `json:"repo"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type GetRepoInfoResultMessage ¶
type GetRepoInfoResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Info corresponds to the JSON schema field "info".
Info *RepoInfo `json:"info,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type GetScreenSnapshotMessage ¶ added in v0.12.0
type GetScreenSnapshotMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
}
type GetScreenSnapshotResultMessage ¶ added in v0.12.0
type GetScreenSnapshotResultMessage struct {
// Cols corresponds to the JSON schema field "cols".
Cols *int `json:"cols,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
// LastSeq corresponds to the JSON schema field "last_seq".
LastSeq *int `json:"last_seq,omitempty,omitzero"`
// Rows corresponds to the JSON schema field "rows".
Rows *int `json:"rows,omitempty,omitzero"`
// Running corresponds to the JSON schema field "running".
Running *bool `json:"running,omitempty,omitzero"`
// ScreenCols corresponds to the JSON schema field "screen_cols".
ScreenCols *int `json:"screen_cols,omitempty,omitzero"`
// ScreenRows corresponds to the JSON schema field "screen_rows".
ScreenRows *int `json:"screen_rows,omitempty,omitzero"`
// ScreenSnapshot corresponds to the JSON schema field "screen_snapshot".
ScreenSnapshot *string `json:"screen_snapshot,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type GetSettingsMessage ¶
type GitHubHostsUpdatedMessage ¶ added in v0.10.0
type GitHubHostsUpdatedMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// GithubHosts corresponds to the JSON schema field "github_hosts".
GithubHosts []string `json:"github_hosts"`
// GithubPollingOffReason corresponds to the JSON schema field
// "github_polling_off_reason".
GithubPollingOffReason *string `json:"github_polling_off_reason,omitempty,omitzero"`
}
type GitOperation ¶ added in v0.10.0
type GitOperation struct {
// DurationMs corresponds to the JSON schema field "duration_ms".
DurationMs *int `json:"duration_ms,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// FinishedAt corresponds to the JSON schema field "finished_at".
FinishedAt *string `json:"finished_at,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Kind corresponds to the JSON schema field "kind".
Kind GitOperationKind `json:"kind"`
// Path corresponds to the JSON schema field "path".
Path *string `json:"path,omitempty,omitzero"`
// StartedAt corresponds to the JSON schema field "started_at".
StartedAt string `json:"started_at"`
// Status corresponds to the JSON schema field "status".
Status GitOperationStatus `json:"status"`
}
type GitOperationFinishedMessage ¶ added in v0.10.0
type GitOperationFinishedMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Operation corresponds to the JSON schema field "operation".
Operation GitOperation `json:"operation"`
}
type GitOperationKind ¶ added in v0.10.0
type GitOperationKind string
const GitOperationKindDeleteWorktree GitOperationKind = "delete_worktree"
const GitOperationKindInspectBranch GitOperationKind = "inspect_branch"
const GitOperationKindRefreshRepository GitOperationKind = "refresh_repository"
const GitOperationKindRefreshWorktree GitOperationKind = "refresh_worktree"
type GitOperationStartedMessage ¶ added in v0.10.0
type GitOperationStartedMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Operation corresponds to the JSON schema field "operation".
Operation GitOperation `json:"operation"`
}
type GitOperationStatus ¶ added in v0.10.0
type GitOperationStatus string
const GitOperationStatusFailed GitOperationStatus = "failed"
const GitOperationStatusRunning GitOperationStatus = "running"
const GitOperationStatusSucceeded GitOperationStatus = "succeeded"
type GuardianSelection ¶ added in v0.12.0
type GuardianSelection struct {
// Effort corresponds to the JSON schema field "effort".
Effort *string `json:"effort,omitempty,omitzero"`
// Model corresponds to the JSON schema field "model".
Model *string `json:"model,omitempty,omitzero"`
// Provider corresponds to the JSON schema field "provider".
Provider *string `json:"provider,omitempty,omitzero"`
}
type Harness ¶ added in v0.13.0
type Harness struct {
// Available corresponds to the JSON schema field "available".
Available bool `json:"available"`
// Discovery corresponds to the JSON schema field "discovery".
Discovery bool `json:"discovery"`
// EffortPin corresponds to the JSON schema field "effort_pin".
EffortPin bool `json:"effort_pin"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// ModelPin corresponds to the JSON schema field "model_pin".
ModelPin bool `json:"model_pin"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
}
type HarnessModel ¶ added in v0.13.0
type HarnessModel struct {
// Access corresponds to the JSON schema field "access".
Access ModelCapabilitySupport `json:"access"`
// Description corresponds to the JSON schema field "description".
Description string `json:"description"`
// Detail corresponds to the JSON schema field "detail".
Detail string `json:"detail"`
// EffortLevels corresponds to the JSON schema field "effort_levels".
EffortLevels []string `json:"effort_levels"`
// EffortSupport corresponds to the JSON schema field "effort_support".
EffortSupport ModelCapabilitySupport `json:"effort_support"`
// Harness corresponds to the JSON schema field "harness".
Harness string `json:"harness"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// Provider corresponds to the JSON schema field "provider".
Provider string `json:"provider"`
// ShippedTier corresponds to the JSON schema field "shipped_tier".
ShippedTier *ModelTier `json:"shipped_tier,omitempty,omitzero"`
// Tier corresponds to the JSON schema field "tier".
Tier *ModelTier `json:"tier,omitempty,omitzero"`
// TierSource corresponds to the JSON schema field "tier_source".
TierSource ModelTierSource `json:"tier_source"`
}
type HarnessModelsMessage ¶ added in v0.13.0
type HarnessModelsMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Harness corresponds to the JSON schema field "harness".
Harness string `json:"harness"`
// Refresh corresponds to the JSON schema field "refresh".
Refresh *bool `json:"refresh,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type HarnessModelsResultMessage ¶ added in v0.13.0
type HarnessModelsResultMessage struct {
// Detail corresponds to the JSON schema field "detail".
Detail string `json:"detail"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Models corresponds to the JSON schema field "models".
Models []HarnessModel `json:"models"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
// TierDefaults corresponds to the JSON schema field "tier_defaults".
TierDefaults TierDefaults `json:"tier_defaults"`
}
type HeatState ¶
type HeatState string
const HeatStateCold HeatState = "cold"
const HeatStateHot HeatState = "hot"
const HeatStateWarm HeatState = "warm"
type HookCompactionMessage ¶ added in v0.12.0
type HookCompactionMessage struct {
// Active corresponds to the JSON schema field "active".
Active bool `json:"active"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
// Trigger corresponds to the JSON schema field "trigger".
Trigger *string `json:"trigger,omitempty,omitzero"`
}
type HookNotificationMessage ¶ added in v0.12.0
type HookNotificationMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
// Message corresponds to the JSON schema field "message".
Message *string `json:"message,omitempty,omitzero"`
// NotificationType corresponds to the JSON schema field "notification_type".
NotificationType string `json:"notification_type"`
}
type HookStopFailureMessage ¶ added in v0.12.0
type HookStopFailureMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ErrorMessage corresponds to the JSON schema field "error_message".
ErrorMessage *string `json:"error_message,omitempty,omitzero"`
// ErrorType corresponds to the JSON schema field "error_type".
ErrorType string `json:"error_type"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
}
type InitialStateMessage ¶
type InitialStateMessage struct {
// Asks corresponds to the JSON schema field "asks".
Asks []Ask `json:"asks,omitempty,omitzero"`
// Authors corresponds to the JSON schema field "authors".
Authors []AuthorState `json:"authors,omitempty,omitzero"`
// Crew corresponds to the JSON schema field "crew".
Crew []CrewMember `json:"crew,omitempty,omitzero"`
// DaemonInstanceID corresponds to the JSON schema field "daemon_instance_id".
DaemonInstanceID *string `json:"daemon_instance_id,omitempty,omitzero"`
// Desktops corresponds to the JSON schema field "desktops".
Desktops []Desktop `json:"desktops,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// GithubHosts corresponds to the JSON schema field "github_hosts".
GithubHosts []string `json:"github_hosts,omitempty,omitzero"`
// GithubPollingOffReason corresponds to the JSON schema field
// "github_polling_off_reason".
GithubPollingOffReason *string `json:"github_polling_off_reason,omitempty,omitzero"`
// MigrationPhase corresponds to the JSON schema field "migration_phase".
MigrationPhase *MigrationPhase `json:"migration_phase,omitempty,omitzero"`
// Profiles corresponds to the JSON schema field "profiles".
Profiles []Profile `json:"profiles,omitempty,omitzero"`
// ProtocolVersion corresponds to the JSON schema field "protocol_version".
ProtocolVersion *string `json:"protocol_version,omitempty,omitzero"`
// Prs corresponds to the JSON schema field "prs".
Prs []PR `json:"prs,omitempty,omitzero"`
// Repos corresponds to the JSON schema field "repos".
Repos []RepoState `json:"repos,omitempty,omitzero"`
// Seeds corresponds to the JSON schema field "seeds".
Seeds []Seed `json:"seeds,omitempty,omitzero"`
// SeedsTotal corresponds to the JSON schema field "seeds_total".
SeedsTotal *int `json:"seeds_total,omitempty,omitzero"`
// SelectedProfileID corresponds to the JSON schema field "selected_profile_id".
SelectedProfileID *string `json:"selected_profile_id,omitempty,omitzero"`
// Sessions corresponds to the JSON schema field "sessions".
Sessions []Session `json:"sessions,omitempty,omitzero"`
// Settings corresponds to the JSON schema field "settings".
Settings RecordString `json:"settings,omitempty,omitzero"`
SharedCodex *SharedCodexState `json:"shared_codex,omitempty,omitzero"`
// SourceFingerprint corresponds to the JSON schema field "source_fingerprint".
SourceFingerprint *string `json:"source_fingerprint,omitempty,omitzero"`
// TerminalBindings corresponds to the JSON schema field "terminal_bindings".
TerminalBindings []TerminalBinding `json:"terminal_bindings,omitempty,omitzero"`
// Warnings corresponds to the JSON schema field "warnings".
Warnings []DaemonWarning `json:"warnings,omitempty,omitzero"`
}
type InjectTestPRMessage ¶
type InjectTestSessionMessage ¶
type InjectTestSessionMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Session corresponds to the JSON schema field "session".
Session Session `json:"session"`
// Unplaced corresponds to the JSON schema field "unplaced".
Unplaced *bool `json:"unplaced,omitempty,omitzero"`
}
type InspectPathMessage ¶ added in v0.4.0
type InspectPathMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type InspectPathResultMessage ¶ added in v0.4.0
type InspectPathResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Inspection corresponds to the JSON schema field "inspection".
Inspection *PathInspection `json:"inspection,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type InstallBundledPluginMessage ¶ added in v0.12.0
type InstallPluginMessage ¶ added in v0.10.0
type JournalAppendMessage ¶ added in v0.12.0
type JournalAppendMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Date corresponds to the JSON schema field "date".
Date *string `json:"date,omitempty,omitzero"`
// Entry corresponds to the JSON schema field "entry".
Entry string `json:"entry"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type JournalAppendResult ¶ added in v0.12.0
type KeptConversation ¶ added in v0.12.0
type KeptConversation struct {
// Bytes corresponds to the JSON schema field "bytes".
Bytes int `json:"bytes"`
// CopiedAt corresponds to the JSON schema field "copied_at".
CopiedAt string `json:"copied_at"`
// DeleteAfter corresponds to the JSON schema field "delete_after".
DeleteAfter *string `json:"delete_after,omitempty,omitzero"`
// DeletedAt corresponds to the JSON schema field "deleted_at".
DeletedAt *string `json:"deleted_at,omitempty,omitzero"`
// DeletedBy corresponds to the JSON schema field "deleted_by".
DeletedBy *KeptConversationDeletedBy `json:"deleted_by,omitempty,omitzero"`
// PinnedAt corresponds to the JSON schema field "pinned_at".
PinnedAt *string `json:"pinned_at,omitempty,omitzero"`
}
type KeptConversationDeletedBy ¶ added in v0.12.0
type KeptConversationDeletedBy string
const KeptConversationDeletedBySweep KeptConversationDeletedBy = "sweep"
const KeptConversationDeletedByUser KeptConversationDeletedBy = "user"
type KeptConversationForgetMessage ¶ added in v0.12.0
type KeptConversationForgetMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID string `json:"session_id"`
}
type KeptConversationForgetResultEvent ¶ added in v0.12.0
type KeptConversationForgetResultEvent struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type KeptConversationKeepMessage ¶ added in v0.12.0
type KeptConversationKeepMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Keep corresponds to the JSON schema field "keep".
Keep bool `json:"keep"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID string `json:"session_id"`
}
type KeptConversationKeepResultEvent ¶ added in v0.12.0
type KeptConversationKeepResultEvent struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type KeptConversationListMessage ¶ added in v0.12.0
type KeptConversationListMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// IncludeDeleted corresponds to the JSON schema field "include_deleted".
IncludeDeleted *bool `json:"include_deleted,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type KeptConversationListResult ¶ added in v0.12.0
type KeptConversationListResult struct {
// Count corresponds to the JSON schema field "count".
Count int `json:"count"`
// NextDeleteAfter corresponds to the JSON schema field "next_delete_after".
NextDeleteAfter *string `json:"next_delete_after,omitempty,omitzero"`
// PendingCount corresponds to the JSON schema field "pending_count".
PendingCount int `json:"pending_count"`
// Rows corresponds to the JSON schema field "rows".
Rows []KeptConversationRow `json:"rows"`
// StoredBytes corresponds to the JSON schema field "stored_bytes".
StoredBytes int `json:"stored_bytes"`
}
type KeptConversationListResultEvent ¶ added in v0.12.0
type KeptConversationListResultEvent struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// KeptConversationListResult corresponds to the JSON schema field
// "kept_conversation_list_result".
KeptConversationListResult *KeptConversationListResult `json:"kept_conversation_list_result,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type KeptConversationRow ¶ added in v0.12.0
type KeptConversationRow struct {
// Agent corresponds to the JSON schema field "agent".
Agent string `json:"agent"`
// Kept corresponds to the JSON schema field "kept".
Kept *KeptConversation `json:"kept,omitempty,omitzero"`
// PendingReason corresponds to the JSON schema field "pending_reason".
PendingReason *string `json:"pending_reason,omitempty,omitzero"`
// PinnedAt corresponds to the JSON schema field "pinned_at".
PinnedAt *string `json:"pinned_at,omitempty,omitzero"`
// ResumeID corresponds to the JSON schema field "resume_id".
ResumeID string `json:"resume_id"`
// Seeds corresponds to the JSON schema field "seeds".
Seeds []KeptConversationSeed `json:"seeds"`
// SessionIds corresponds to the JSON schema field "session_ids".
SessionIds []SessionID `json:"session_ids"`
// SourceBytes corresponds to the JSON schema field "source_bytes".
SourceBytes *int `json:"source_bytes,omitempty,omitzero"`
// Title corresponds to the JSON schema field "title".
Title string `json:"title"`
}
type KeptConversationSeed ¶ added in v0.12.0
type KeptConversationsChangedEvent ¶ added in v0.12.0
type KeptConversationsChangedEvent struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
}
type KillSessionMessage ¶
type KittyImageFrame ¶ added in v0.12.0
type KittyImageFrame struct {
TerminalID TerminalID
ImageID uint32
Generation uint64
Width uint32
Height uint32
Format byte
Pixels []byte
}
func DecodeKittyImageFrame ¶ added in v0.12.0
func DecodeKittyImageFrame(frame []byte) (KittyImageFrame, error)
type KittyImageResultMessage ¶ added in v0.12.0
type KittyImageResultMessage struct {
// DataB64 corresponds to the JSON schema field "data_b64".
DataB64 *string `json:"data_b64,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Format corresponds to the JSON schema field "format".
Format *string `json:"format,omitempty,omitzero"`
// Generation corresponds to the JSON schema field "generation".
Generation *int `json:"generation,omitempty,omitzero"`
// Height corresponds to the JSON schema field "height".
Height *int `json:"height,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
// ImageID corresponds to the JSON schema field "image_id".
ImageID int `json:"image_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
// Width corresponds to the JSON schema field "width".
Width *int `json:"width,omitempty,omitzero"`
}
type KittyPlacement ¶ added in v0.12.0
type KittyPlacement struct {
// GridCols corresponds to the JSON schema field "grid_cols".
GridCols int `json:"grid_cols"`
// GridRows corresponds to the JSON schema field "grid_rows".
GridRows int `json:"grid_rows"`
// ImageGeneration corresponds to the JSON schema field "image_generation".
ImageGeneration int `json:"image_generation"`
// ImageID corresponds to the JSON schema field "image_id".
ImageID int `json:"image_id"`
// PixelHeight corresponds to the JSON schema field "pixel_height".
PixelHeight int `json:"pixel_height"`
// PixelWidth corresponds to the JSON schema field "pixel_width".
PixelWidth int `json:"pixel_width"`
// PlacementID corresponds to the JSON schema field "placement_id".
PlacementID int `json:"placement_id"`
// SourceHeight corresponds to the JSON schema field "source_height".
SourceHeight int `json:"source_height"`
// SourceWidth corresponds to the JSON schema field "source_width".
SourceWidth int `json:"source_width"`
// SourceX corresponds to the JSON schema field "source_x".
SourceX int `json:"source_x"`
// SourceY corresponds to the JSON schema field "source_y".
SourceY int `json:"source_y"`
// ViewportCol corresponds to the JSON schema field "viewport_col".
ViewportCol int `json:"viewport_col"`
// ViewportRow corresponds to the JSON schema field "viewport_row".
ViewportRow int `json:"viewport_row"`
// ViewportVisible corresponds to the JSON schema field "viewport_visible".
ViewportVisible bool `json:"viewport_visible"`
// Virtual corresponds to the JSON schema field "virtual".
Virtual bool `json:"virtual"`
// Z corresponds to the JSON schema field "z".
Z int `json:"z"`
}
type KittyPlacementsMessage ¶ added in v0.12.0
type KittyPlacementsMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
// Placements corresponds to the JSON schema field "placements".
Placements []KittyPlacement `json:"placements"`
// Seq corresponds to the JSON schema field "seq".
Seq int `json:"seq"`
}
type LaunchDesktopGetMessage ¶ added in v0.12.0
type LaunchDesktopGetMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ItemID corresponds to the JSON schema field "item_id".
ItemID string `json:"item_id"`
// Kind corresponds to the JSON schema field "kind".
Kind LaunchDesktopKind `json:"kind"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type LaunchDesktopItem ¶ added in v0.12.0
type LaunchDesktopItem struct {
// Confirmed corresponds to the JSON schema field "confirmed".
Confirmed bool `json:"confirmed"`
// ItemID corresponds to the JSON schema field "item_id".
ItemID string `json:"item_id"`
// Kind corresponds to the JSON schema field "kind".
Kind LaunchDesktopKind `json:"kind"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// Setting corresponds to the JSON schema field "setting".
Setting LaunchDesktopSetting `json:"setting"`
}
type LaunchDesktopKind ¶ added in v0.12.0
type LaunchDesktopKind string
const LaunchDesktopKindAutomation LaunchDesktopKind = "automation"
const LaunchDesktopKindCrew LaunchDesktopKind = "crew"
type LaunchDesktopResultMessage ¶ added in v0.12.0
type LaunchDesktopResultMessage struct {
// Action corresponds to the JSON schema field "action".
Action string `json:"action"`
// Desktops corresponds to the JSON schema field "desktops".
Desktops []Desktop `json:"desktops,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Item corresponds to the JSON schema field "item".
Item *LaunchDesktopItem `json:"item,omitempty,omitzero"`
// Items corresponds to the JSON schema field "items".
Items []LaunchDesktopItem `json:"items,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type LaunchDesktopSetMessage ¶ added in v0.12.0
type LaunchDesktopSetMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DesktopName corresponds to the JSON schema field "desktop_name".
DesktopName *string `json:"desktop_name,omitempty,omitzero"`
// DesktopRef corresponds to the JSON schema field "desktop_ref".
DesktopRef *string `json:"desktop_ref,omitempty,omitzero"`
// ItemID corresponds to the JSON schema field "item_id".
ItemID string `json:"item_id"`
// Kind corresponds to the JSON schema field "kind".
Kind LaunchDesktopKind `json:"kind"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Setting corresponds to the JSON schema field "setting".
Setting *LaunchDesktopSetting `json:"setting,omitempty,omitzero"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type LaunchDesktopSetting ¶ added in v0.12.0
type LaunchDesktopSetting struct {
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID *string `json:"desktop_id,omitempty,omitzero"`
// DesktopName corresponds to the JSON schema field "desktop_name".
DesktopName *string `json:"desktop_name,omitempty,omitzero"`
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty,omitzero"`
}
type LayoutDockEdge ¶ added in v0.12.0
type LayoutDockEdge string
const LayoutDockEdgeBottom LayoutDockEdge = "bottom"
const LayoutDockEdgeLeft LayoutDockEdge = "left"
const LayoutDockEdgeRight LayoutDockEdge = "right"
const LayoutDockEdgeTop LayoutDockEdge = "top"
type LayoutPaneKind ¶ added in v0.12.0
type LayoutPaneKind string
const LayoutPaneKindAgent LayoutPaneKind = "agent"
type LayoutPaneStatus ¶ added in v0.12.0
type LayoutPaneStatus string
const LayoutPaneStatusFailed LayoutPaneStatus = "failed"
const LayoutPaneStatusReady LayoutPaneStatus = "ready"
const LayoutPaneStatusSpawning LayoutPaneStatus = "spawning"
type LayoutSplitDirection ¶ added in v0.12.0
type LayoutSplitDirection string
const LayoutSplitDirectionHorizontal LayoutSplitDirection = "horizontal"
const LayoutSplitDirectionVertical LayoutSplitDirection = "vertical"
type LeafMoved ¶ added in v0.12.0
type LeafMoved struct {
// FromDesktopID corresponds to the JSON schema field "from_desktop_id".
FromDesktopID string `json:"from_desktop_id"`
// FromLeafID corresponds to the JSON schema field "from_leaf_id".
FromLeafID string `json:"from_leaf_id"`
// ToDesktopID corresponds to the JSON schema field "to_desktop_id".
ToDesktopID string `json:"to_desktop_id"`
// ToLeafID corresponds to the JSON schema field "to_leaf_id".
ToLeafID string `json:"to_leaf_id"`
}
type ListBranchesMessage ¶
type ListPluginsMessage ¶ added in v0.10.0
type ListPluginsMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
}
type ListRemoteBranchesResultMessage ¶
type ListRemoteBranchesResultMessage struct {
// Branches corresponds to the JSON schema field "branches".
Branches []Branch `json:"branches"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type ListWorktreesMessage ¶
type MarkdownAnnotation ¶ added in v0.12.0
type MarkdownAnnotation struct {
// Anchor corresponds to the JSON schema field "anchor".
Anchor *MarkdownAnnotationAnchor `json:"anchor,omitempty,omitzero"`
// CreatedAt corresponds to the JSON schema field "created_at".
CreatedAt int `json:"created_at"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// QuickLabelID corresponds to the JSON schema field "quick_label_id".
QuickLabelID *string `json:"quick_label_id,omitempty,omitzero"`
// QuickLabelText corresponds to the JSON schema field "quick_label_text".
QuickLabelText *string `json:"quick_label_text,omitempty,omitzero"`
// QuickLabelTip corresponds to the JSON schema field "quick_label_tip".
QuickLabelTip *string `json:"quick_label_tip,omitempty,omitzero"`
// Text corresponds to the JSON schema field "text".
Text *string `json:"text,omitempty,omitzero"`
// Type corresponds to the JSON schema field "type".
Type string `json:"type"`
}
type MarkdownAnnotationAnchor ¶ added in v0.12.0
type MarkdownAnnotationAnchor struct {
// BlockID corresponds to the JSON schema field "block_id".
BlockID string `json:"block_id"`
// ContentHash corresponds to the JSON schema field "content_hash".
ContentHash string `json:"content_hash"`
// End corresponds to the JSON schema field "end".
End int `json:"end"`
// EndLine corresponds to the JSON schema field "end_line".
EndLine int `json:"end_line"`
// Exact corresponds to the JSON schema field "exact".
Exact string `json:"exact"`
// Prefix corresponds to the JSON schema field "prefix".
Prefix string `json:"prefix"`
// Start corresponds to the JSON schema field "start".
Start int `json:"start"`
// StartLine corresponds to the JSON schema field "start_line".
StartLine int `json:"start_line"`
// Suffix corresponds to the JSON schema field "suffix".
Suffix string `json:"suffix"`
}
type MarkdownAnnotationsClearMessage ¶ added in v0.12.0
type MarkdownAnnotationsClearMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DocumentUri corresponds to the JSON schema field "document_uri".
DocumentUri string `json:"document_uri"`
// Generation corresponds to the JSON schema field "generation".
Generation int `json:"generation"`
// Path corresponds to the JSON schema field "path".
Path *string `json:"path,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID *string `json:"seed_id,omitempty,omitzero"`
// SourceKind corresponds to the JSON schema field "source_kind".
SourceKind string `json:"source_kind"`
}
type MarkdownAnnotationsClearResultMessage ¶ added in v0.12.0
type MarkdownAnnotationsClearResultMessage struct {
// DocumentUri corresponds to the JSON schema field "document_uri".
DocumentUri string `json:"document_uri"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Generation corresponds to the JSON schema field "generation".
Generation int `json:"generation"`
// Path corresponds to the JSON schema field "path".
Path *string `json:"path,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID *string `json:"seed_id,omitempty,omitzero"`
// SourceKind corresponds to the JSON schema field "source_kind".
SourceKind string `json:"source_kind"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type MarkdownAnnotationsGetMessage ¶ added in v0.12.0
type MarkdownAnnotationsGetMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DocumentUri corresponds to the JSON schema field "document_uri".
DocumentUri string `json:"document_uri"`
// Path corresponds to the JSON schema field "path".
Path *string `json:"path,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID *string `json:"seed_id,omitempty,omitzero"`
// SourceKind corresponds to the JSON schema field "source_kind".
SourceKind string `json:"source_kind"`
}
type MarkdownAnnotationsGetResultMessage ¶ added in v0.12.0
type MarkdownAnnotationsGetResultMessage struct {
// Annotations corresponds to the JSON schema field "annotations".
Annotations []MarkdownAnnotation `json:"annotations"`
// DocumentUri corresponds to the JSON schema field "document_uri".
DocumentUri string `json:"document_uri"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Generation corresponds to the JSON schema field "generation".
Generation int `json:"generation"`
// Path corresponds to the JSON schema field "path".
Path *string `json:"path,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID *string `json:"seed_id,omitempty,omitzero"`
// SourceKind corresponds to the JSON schema field "source_kind".
SourceKind string `json:"source_kind"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type MarkdownAnnotationsSaveMessage ¶ added in v0.12.0
type MarkdownAnnotationsSaveMessage struct {
// Annotations corresponds to the JSON schema field "annotations".
Annotations []MarkdownAnnotation `json:"annotations"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DocumentUri corresponds to the JSON schema field "document_uri".
DocumentUri string `json:"document_uri"`
// Generation corresponds to the JSON schema field "generation".
Generation int `json:"generation"`
// Path corresponds to the JSON schema field "path".
Path *string `json:"path,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID *string `json:"seed_id,omitempty,omitzero"`
// SourceKind corresponds to the JSON schema field "source_kind".
SourceKind string `json:"source_kind"`
}
type MarkdownAnnotationsSaveResultMessage ¶ added in v0.12.0
type MarkdownAnnotationsSaveResultMessage struct {
// DocumentUri corresponds to the JSON schema field "document_uri".
DocumentUri string `json:"document_uri"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Generation corresponds to the JSON schema field "generation".
Generation int `json:"generation"`
// Path corresponds to the JSON schema field "path".
Path *string `json:"path,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID *string `json:"seed_id,omitempty,omitzero"`
// SourceKind corresponds to the JSON schema field "source_kind".
SourceKind string `json:"source_kind"`
// Stale corresponds to the JSON schema field "stale".
Stale *bool `json:"stale,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type MarkdownAnnotationsSubmitMessage ¶ added in v0.12.0
type MarkdownAnnotationsSubmitMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DocumentUri corresponds to the JSON schema field "document_uri".
DocumentUri string `json:"document_uri"`
// OrphanedIds corresponds to the JSON schema field "orphaned_ids".
OrphanedIds []string `json:"orphaned_ids,omitempty,omitzero"`
// Path corresponds to the JSON schema field "path".
Path *string `json:"path,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID *string `json:"seed_id,omitempty,omitzero"`
// SourceKind corresponds to the JSON schema field "source_kind".
SourceKind string `json:"source_kind"`
// TargetSeedID corresponds to the JSON schema field "target_seed_id".
TargetSeedID *string `json:"target_seed_id,omitempty,omitzero"`
// TargetSessionID corresponds to the JSON schema field "target_session_id".
TargetSessionID *string `json:"target_session_id,omitempty,omitzero"`
}
type MarkdownAnnotationsSubmitResultMessage ¶ added in v0.12.0
type MarkdownAnnotationsSubmitResultMessage struct {
// DocumentUri corresponds to the JSON schema field "document_uri".
DocumentUri string `json:"document_uri"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Generation corresponds to the JSON schema field "generation".
Generation *int `json:"generation,omitempty,omitzero"`
// Path corresponds to the JSON schema field "path".
Path *string `json:"path,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID *string `json:"seed_id,omitempty,omitzero"`
// SourceKind corresponds to the JSON schema field "source_kind".
SourceKind string `json:"source_kind"`
// Status corresponds to the JSON schema field "status".
Status string `json:"status"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
// TargetSeedID corresponds to the JSON schema field "target_seed_id".
TargetSeedID *string `json:"target_seed_id,omitempty,omitzero"`
// TargetSessionID corresponds to the JSON schema field "target_session_id".
TargetSessionID *SessionID `json:"target_session_id,omitempty,omitzero"`
}
type MergePRMessage ¶
type MigrationChangedMessage ¶ added in v0.12.0
type MigrationChangedMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// State corresponds to the JSON schema field "state".
State MigrationState `json:"state"`
}
type MigrationDraftDesktop ¶ added in v0.12.0
type MigrationDraftDesktop struct {
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID *string `json:"desktop_id,omitempty,omitzero"`
// Key corresponds to the JSON schema field "key".
Key string `json:"key"`
// ShortcutSlot corresponds to the JSON schema field "shortcut_slot".
ShortcutSlot *int `json:"shortcut_slot,omitempty,omitzero"`
// TreeJson corresponds to the JSON schema field "tree_json".
TreeJson string `json:"tree_json"`
}
type MigrationFinishMessage ¶ added in v0.12.0
type MigrationFinishMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ExpectedRevision corresponds to the JSON schema field "expected_revision".
ExpectedRevision int `json:"expected_revision"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type MigrationGetMessage ¶ added in v0.12.0
type MigrationGroup ¶ added in v0.12.0
type MigrationGroup struct {
// Confirmed corresponds to the JSON schema field "confirmed".
Confirmed bool `json:"confirmed"`
// Directory corresponds to the JSON schema field "directory".
Directory string `json:"directory"`
// GroupID corresponds to the JSON schema field "group_id".
GroupID string `json:"group_id"`
// Panes corresponds to the JSON schema field "panes".
Panes []DesktopPane `json:"panes"`
// SourceDesktopID corresponds to the JSON schema field "source_desktop_id".
SourceDesktopID string `json:"source_desktop_id"`
// Title corresponds to the JSON schema field "title".
Title string `json:"title"`
// TreeJson corresponds to the JSON schema field "tree_json".
TreeJson string `json:"tree_json"`
}
type MigrationKeepMessage ¶ added in v0.12.0
type MigrationKeepMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ExpectedRevision corresponds to the JSON schema field "expected_revision".
ExpectedRevision int `json:"expected_revision"`
// GroupIds corresponds to the JSON schema field "group_ids".
GroupIds []string `json:"group_ids"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type MigrationMoveMessage ¶ added in v0.12.0
type MigrationMoveMessage struct {
// AnchorGroupID corresponds to the JSON schema field "anchor_group_id".
AnchorGroupID *string `json:"anchor_group_id,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Edge corresponds to the JSON schema field "edge".
Edge LayoutDockEdge `json:"edge"`
// ExpectedRevision corresponds to the JSON schema field "expected_revision".
ExpectedRevision int `json:"expected_revision"`
// GroupID corresponds to the JSON schema field "group_id".
GroupID string `json:"group_id"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
Share *float64 `json:"share,omitempty,omitzero"`
// TargetKey corresponds to the JSON schema field "target_key".
TargetKey string `json:"target_key"`
}
type MigrationPhase ¶ added in v0.12.0
type MigrationPhase string
const MigrationPhaseComplete MigrationPhase = "complete"
const MigrationPhaseLaunchRequired MigrationPhase = "launch_required"
const MigrationPhasePlacementRequired MigrationPhase = "placement_required"
type MigrationResultMessage ¶ added in v0.12.0
type MigrationResultMessage struct {
// Action corresponds to the JSON schema field "action".
Action string `json:"action"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// ErrorCode corresponds to the JSON schema field "error_code".
ErrorCode *ProfileErrorCode `json:"error_code,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// State corresponds to the JSON schema field "state".
State *MigrationState `json:"state,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type MigrationState ¶ added in v0.12.0
type MigrationState struct {
// CanUndo corresponds to the JSON schema field "can_undo".
CanUndo bool `json:"can_undo"`
// Desktops corresponds to the JSON schema field "desktops".
Desktops []MigrationDraftDesktop `json:"desktops"`
// Groups corresponds to the JSON schema field "groups".
Groups []MigrationGroup `json:"groups"`
// LaunchDesktops corresponds to the JSON schema field "launch_desktops".
LaunchDesktops []Desktop `json:"launch_desktops,omitempty,omitzero"`
// LaunchItems corresponds to the JSON schema field "launch_items".
LaunchItems []LaunchDesktopItem `json:"launch_items,omitempty,omitzero"`
// Phase corresponds to the JSON schema field "phase".
Phase MigrationPhase `json:"phase"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// Revision corresponds to the JSON schema field "revision".
Revision int `json:"revision"`
// SuggestionAvailable corresponds to the JSON schema field
// "suggestion_available".
SuggestionAvailable bool `json:"suggestion_available"`
}
type MigrationSuggestMessage ¶ added in v0.12.0
type MigrationSuggestMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ExpectedRevision corresponds to the JSON schema field "expected_revision".
ExpectedRevision int `json:"expected_revision"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type MigrationUndoMessage ¶ added in v0.12.0
type MigrationUndoMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ExpectedRevision corresponds to the JSON schema field "expected_revision".
ExpectedRevision int `json:"expected_revision"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type ModelCapabilitySupport ¶ added in v0.12.0
type ModelCapabilitySupport string
const ModelCapabilitySupportSupported ModelCapabilitySupport = "supported"
const ModelCapabilitySupportUnknown ModelCapabilitySupport = "unknown"
const ModelCapabilitySupportUnsupported ModelCapabilitySupport = "unsupported"
type ModelTier ¶ added in v0.13.0
type ModelTier string
const ModelTierDeep ModelTier = "deep"
const ModelTierLight ModelTier = "light"
const ModelTierStandard ModelTier = "standard"
type ModelTierSource ¶ added in v0.13.0
type ModelTierSource string
const ModelTierSourceAlias ModelTierSource = "alias"
const ModelTierSourceNone ModelTierSource = "none"
const ModelTierSourceOverride ModelTierSource = "override"
const ModelTierSourceShipped ModelTierSource = "shipped"
type MuteAuthorMessage ¶
type MutePRMessage ¶
type MuteRepoMessage ¶
type NotebookBacklinksMessage ¶ added in v0.12.0
type NotebookBacklinksMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type NotebookBacklinksResultMessage ¶ added in v0.12.0
type NotebookBacklinksResultMessage struct {
// Entries corresponds to the JSON schema field "entries".
Entries []NotebookEntry `json:"entries,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type NotebookChangedMessage ¶ added in v0.12.0
type NotebookEntry ¶ added in v0.12.0
type NotebookEntry struct {
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// Size corresponds to the JSON schema field "size".
Size int `json:"size"`
// Summary corresponds to the JSON schema field "summary".
Summary *string `json:"summary,omitempty,omitzero"`
// Title corresponds to the JSON schema field "title".
Title *string `json:"title,omitempty,omitzero"`
// Type corresponds to the JSON schema field "type".
Type *string `json:"type,omitempty,omitzero"`
// Updated corresponds to the JSON schema field "updated".
Updated *string `json:"updated,omitempty,omitzero"`
}
type NotebookGuideMessage ¶ added in v0.12.0
type NotebookGuideResult ¶ added in v0.12.0
type NotebookGuideResult struct {
// Guidance corresponds to the JSON schema field "guidance".
Guidance string `json:"guidance"`
// Root corresponds to the JSON schema field "root".
Root string `json:"root"`
// SessionIsChief corresponds to the JSON schema field "session_is_chief".
SessionIsChief bool `json:"session_is_chief"`
}
type NotebookListMessage ¶ added in v0.12.0
type NotebookListMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Prefix corresponds to the JSON schema field "prefix".
Prefix *string `json:"prefix,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type NotebookListResultMessage ¶ added in v0.12.0
type NotebookListResultMessage struct {
// Entries corresponds to the JSON schema field "entries".
Entries []NotebookEntry `json:"entries,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type NotebookReadMessage ¶ added in v0.12.0
type NotebookReadMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type NotebookReadResult ¶ added in v0.12.0
type NotebookReadResultMessage ¶ added in v0.12.0
type NotebookReadResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Result corresponds to the JSON schema field "result".
Result *NotebookReadResult `json:"result,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type NotebookSendToChiefMessage ¶ added in v0.12.0
type NotebookSendToChiefMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Selection corresponds to the JSON schema field "selection".
Selection string `json:"selection"`
// SourcePath corresponds to the JSON schema field "source_path".
SourcePath *string `json:"source_path,omitempty,omitzero"`
}
type NotebookSendToChiefResult ¶ added in v0.12.0
type NotebookSendToChiefResultMessage ¶ added in v0.12.0
type NotebookSendToChiefResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Result corresponds to the JSON schema field "result".
Result *NotebookSendToChiefResult `json:"result,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type NotebookWriteMessage ¶ added in v0.12.0
type NotebookWriteMessage struct {
// BaseHash corresponds to the JSON schema field "base_hash".
BaseHash *string `json:"base_hash,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Content corresponds to the JSON schema field "content".
Content string `json:"content"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type NotebookWriteResult ¶ added in v0.12.0
type NotebookWriteResult struct {
// Conflict corresponds to the JSON schema field "conflict".
Conflict bool `json:"conflict"`
// CurrentHash corresponds to the JSON schema field "current_hash".
CurrentHash *string `json:"current_hash,omitempty,omitzero"`
// Hash corresponds to the JSON schema field "hash".
Hash *string `json:"hash,omitempty,omitzero"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
}
type NotebookWriteResultMessage ¶ added in v0.12.0
type NotebookWriteResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Result corresponds to the JSON schema field "result".
Result *NotebookWriteResult `json:"result,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type Notification ¶ added in v0.12.0
type Notification struct {
// Actions corresponds to the JSON schema field "actions".
Actions []NotificationAction `json:"actions,omitempty,omitzero"`
// Body corresponds to the JSON schema field "body".
Body string `json:"body"`
// Cause corresponds to the JSON schema field "cause".
Cause string `json:"cause"`
// CreatedAt corresponds to the JSON schema field "created_at".
CreatedAt string `json:"created_at"`
// Detail corresponds to the JSON schema field "detail".
Detail string `json:"detail"`
// Diagnostic corresponds to the JSON schema field "diagnostic".
Diagnostic string `json:"diagnostic"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Impact corresponds to the JSON schema field "impact".
Impact string `json:"impact"`
// Kind corresponds to the JSON schema field "kind".
Kind string `json:"kind"`
// ReadAt corresponds to the JSON schema field "read_at".
ReadAt string `json:"read_at"`
// Severity corresponds to the JSON schema field "severity".
Severity NotificationSeverity `json:"severity"`
// SourceID corresponds to the JSON schema field "source_id".
SourceID string `json:"source_id"`
// SourceKind corresponds to the JSON schema field "source_kind".
SourceKind string `json:"source_kind"`
// Title corresponds to the JSON schema field "title".
Title string `json:"title"`
// Trigger corresponds to the JSON schema field "trigger".
Trigger string `json:"trigger"`
}
type NotificationAction ¶ added in v0.12.0
type NotificationListMessage ¶ added in v0.12.0
type NotificationListResultMessage ¶ added in v0.12.0
type NotificationListResultMessage struct {
// CriticalTitle corresponds to the JSON schema field "critical_title".
CriticalTitle *string `json:"critical_title,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Notifications corresponds to the JSON schema field "notifications".
Notifications []Notification `json:"notifications,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
// UnreadCount corresponds to the JSON schema field "unread_count".
UnreadCount int `json:"unread_count"`
// UnreadCriticalCount corresponds to the JSON schema field
// "unread_critical_count".
UnreadCriticalCount int `json:"unread_critical_count"`
}
type NotificationMarkReadMessage ¶ added in v0.12.0
type NotificationMarkReadMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// NotificationID corresponds to the JSON schema field "notification_id".
NotificationID *string `json:"notification_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type NotificationMarkReadResultMessage ¶ added in v0.12.0
type NotificationMarkReadResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
// UnreadCount corresponds to the JSON schema field "unread_count".
UnreadCount int `json:"unread_count"`
}
type NotificationSeverity ¶ added in v0.12.0
type NotificationSeverity string
const NotificationSeverityCritical NotificationSeverity = "critical"
const NotificationSeverityInfo NotificationSeverity = "info"
const NotificationSeverityWarning NotificationSeverity = "warning"
type NotificationsUpdatedMessage ¶ added in v0.12.0
type NotificationsUpdatedMessage struct {
// CriticalTitle corresponds to the JSON schema field "critical_title".
CriticalTitle *string `json:"critical_title,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// UnreadCount corresponds to the JSON schema field "unread_count".
UnreadCount int `json:"unread_count"`
// UnreadCriticalCount corresponds to the JSON schema field
// "unread_critical_count".
UnreadCriticalCount int `json:"unread_critical_count"`
}
type OpenBrowserMessage ¶ added in v0.12.0
type OpenBrowserMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID *SessionID `json:"session_id,omitempty,omitzero"`
// URL corresponds to the JSON schema field "url".
URL string `json:"url"`
}
type OpenMarkdownMessage ¶ added in v0.11.0
type OpenMarkdownMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID *SessionID `json:"session_id,omitempty,omitzero"`
}
type OpenMarkdownResultMessage ¶ added in v0.12.0
type OpenMarkdownResultMessage struct {
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID *string `json:"desktop_id,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
// TileID corresponds to the JSON schema field "tile_id".
TileID *string `json:"tile_id,omitempty,omitzero"`
}
type OpenSeedMessage ¶ added in v0.12.0
type OpenSeedMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID *SessionID `json:"session_id,omitempty,omitzero"`
// Standalone corresponds to the JSON schema field "standalone".
Standalone *bool `json:"standalone,omitempty,omitzero"`
}
type OpenSeedResultMessage ¶ added in v0.12.0
type OpenSeedResultMessage struct {
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID *string `json:"desktop_id,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
// TileID corresponds to the JSON schema field "tile_id".
TileID *string `json:"tile_id,omitempty,omitzero"`
}
type OpenSentFilesMessage ¶ added in v0.12.0
type OpenSentFilesMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Paths corresponds to the JSON schema field "paths".
Paths []string `json:"paths"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID *SessionID `json:"session_id,omitempty,omitzero"`
// TerminalID corresponds to the JSON schema field "terminal_id".
TerminalID *TerminalID `json:"terminal_id,omitempty,omitzero"`
}
type OutpostInfo ¶ added in v0.13.0
type OutpostInfo struct {
// Address corresponds to the JSON schema field "address".
Address string `json:"address"`
// Build corresponds to the JSON schema field "build".
Build *string `json:"build,omitempty,omitzero"`
// DaemonID corresponds to the JSON schema field "daemon_id".
DaemonID *string `json:"daemon_id,omitempty,omitzero"`
// HostKeyFingerprint corresponds to the JSON schema field "host_key_fingerprint".
HostKeyFingerprint *string `json:"host_key_fingerprint,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// LastError corresponds to the JSON schema field "last_error".
LastError *string `json:"last_error,omitempty,omitzero"`
// LastErrorAt corresponds to the JSON schema field "last_error_at".
LastErrorAt *string `json:"last_error_at,omitempty,omitzero"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// State corresponds to the JSON schema field "state".
State OutpostState `json:"state"`
// StateSince corresponds to the JSON schema field "state_since".
StateSince string `json:"state_since"`
}
type OutpostState ¶ added in v0.13.0
type OutpostState string
const OutpostStateConnected OutpostState = "connected"
const OutpostStateConnecting OutpostState = "connecting"
const OutpostStateLost OutpostState = "lost"
const OutpostStateRefused OutpostState = "refused"
const OutpostStateStalled OutpostState = "stalled"
type OutpostsUpdatedMessage ¶ added in v0.13.0
type OutpostsUpdatedMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Outposts corresponds to the JSON schema field "outposts".
Outposts []OutpostInfo `json:"outposts"`
}
type PR ¶
type PR struct {
// ApprovedByMe corresponds to the JSON schema field "approved_by_me".
ApprovedByMe bool `json:"approved_by_me"`
// Author corresponds to the JSON schema field "author".
Author string `json:"author"`
// CIStatus corresponds to the JSON schema field "ci_status".
CIStatus *string `json:"ci_status,omitempty,omitzero"`
// CommentCount corresponds to the JSON schema field "comment_count".
CommentCount *int `json:"comment_count,omitempty,omitzero"`
// DetailsFetched corresponds to the JSON schema field "details_fetched".
DetailsFetched bool `json:"details_fetched"`
// DetailsFetchedAt corresponds to the JSON schema field "details_fetched_at".
DetailsFetchedAt *string `json:"details_fetched_at,omitempty,omitzero"`
// HasNewChanges corresponds to the JSON schema field "has_new_changes".
HasNewChanges bool `json:"has_new_changes"`
// HeadBranch corresponds to the JSON schema field "head_branch".
HeadBranch *string `json:"head_branch,omitempty,omitzero"`
// HeadSHA corresponds to the JSON schema field "head_sha".
HeadSHA *string `json:"head_sha,omitempty,omitzero"`
// HeatState corresponds to the JSON schema field "heat_state".
HeatState *HeatState `json:"heat_state,omitempty,omitzero"`
// Host corresponds to the JSON schema field "host".
Host string `json:"host"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// LastHeatActivityAt corresponds to the JSON schema field
// "last_heat_activity_at".
LastHeatActivityAt *string `json:"last_heat_activity_at,omitempty,omitzero"`
// Mergeable corresponds to the JSON schema field "mergeable".
Mergeable *bool `json:"mergeable,omitempty,omitzero"`
// MergeableState corresponds to the JSON schema field "mergeable_state".
MergeableState *string `json:"mergeable_state,omitempty,omitzero"`
// Muted corresponds to the JSON schema field "muted".
Muted bool `json:"muted"`
// Number corresponds to the JSON schema field "number".
Number int `json:"number"`
// Reason corresponds to the JSON schema field "reason".
Reason string `json:"reason"`
// Repo corresponds to the JSON schema field "repo".
Repo string `json:"repo"`
// ReviewStatus corresponds to the JSON schema field "review_status".
ReviewStatus *string `json:"review_status,omitempty,omitzero"`
// Role corresponds to the JSON schema field "role".
Role PRRole `json:"role"`
// State corresponds to the JSON schema field "state".
State string `json:"state"`
// Title corresponds to the JSON schema field "title".
Title string `json:"title"`
// URL corresponds to the JSON schema field "url".
URL string `json:"url"`
}
func PRsToValues ¶
type PRActionResultMessage ¶
type PRActionResultMessage struct {
// Action corresponds to the JSON schema field "action".
Action string `json:"action"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type PRRole ¶
type PRRole string
const PRRoleAuthor PRRole = "author"
const PRRoleReviewer PRRole = "reviewer"
type PRVisitedMessage ¶
type PRsUpdatedMessage ¶
type PathInspection ¶ added in v0.4.0
type PathInspection struct {
// Exists corresponds to the JSON schema field "exists".
Exists bool `json:"exists"`
// HomePath corresponds to the JSON schema field "home_path".
HomePath *string `json:"home_path,omitempty,omitzero"`
// InputPath corresponds to the JSON schema field "input_path".
InputPath string `json:"input_path"`
// IsDirectory corresponds to the JSON schema field "is_directory".
IsDirectory bool `json:"is_directory"`
// RepoRoot corresponds to the JSON schema field "repo_root".
RepoRoot *string `json:"repo_root,omitempty,omitzero"`
// ResolvedPath corresponds to the JSON schema field "resolved_path".
ResolvedPath string `json:"resolved_path"`
}
type PluginActionResultMessage ¶ added in v0.10.0
type PluginActionResultMessage struct {
// Action corresponds to the JSON schema field "action".
Action string `json:"action"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Name corresponds to the JSON schema field "name".
Name *string `json:"name,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type PluginInfo ¶ added in v0.10.0
type PluginInfo struct {
// Availability corresponds to the JSON schema field "availability".
Availability string `json:"availability"`
// CanInstall corresponds to the JSON schema field "can_install".
CanInstall bool `json:"can_install"`
// CanUninstall corresponds to the JSON schema field "can_uninstall".
CanUninstall bool `json:"can_uninstall"`
// Connected corresponds to the JSON schema field "connected".
Connected bool `json:"connected"`
// Description corresponds to the JSON schema field "description".
Description *string `json:"description,omitempty,omitzero"`
// Dir corresponds to the JSON schema field "dir".
Dir string `json:"dir"`
// HealthMessage corresponds to the JSON schema field "health_message".
HealthMessage *string `json:"health_message,omitempty,omitzero"`
// HealthStatus corresponds to the JSON schema field "health_status".
HealthStatus *string `json:"health_status,omitempty,omitzero"`
// InstallationState corresponds to the JSON schema field "installation_state".
InstallationState string `json:"installation_state"`
// LastExit corresponds to the JSON schema field "last_exit".
LastExit *string `json:"last_exit,omitempty,omitzero"`
// LastHealthAt corresponds to the JSON schema field "last_health_at".
LastHealthAt *string `json:"last_health_at,omitempty,omitzero"`
// LinkTarget corresponds to the JSON schema field "link_target".
LinkTarget *string `json:"link_target,omitempty,omitzero"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// NextRestartAt corresponds to the JSON schema field "next_restart_at".
NextRestartAt *string `json:"next_restart_at,omitempty,omitzero"`
// Priority corresponds to the JSON schema field "priority".
Priority int `json:"priority"`
// RestartAttempt corresponds to the JSON schema field "restart_attempt".
RestartAttempt *int `json:"restart_attempt,omitempty,omitzero"`
// Running corresponds to the JSON schema field "running".
Running bool `json:"running"`
// RuntimePhase corresponds to the JSON schema field "runtime_phase".
RuntimePhase *string `json:"runtime_phase,omitempty,omitzero"`
// RuntimeState corresponds to the JSON schema field "runtime_state".
RuntimeState string `json:"runtime_state"`
// Version corresponds to the JSON schema field "version".
Version string `json:"version"`
}
type PluginIssue ¶ added in v0.10.0
type PluginsUpdatedMessage ¶ added in v0.10.0
type PluginsUpdatedMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Issues corresponds to the JSON schema field "issues".
Issues []PluginIssue `json:"issues,omitempty,omitzero"`
// Plugins corresponds to the JSON schema field "plugins".
Plugins []PluginInfo `json:"plugins"`
}
type Profile ¶ added in v0.12.0
type Profile struct {
// CurrentDesktopID corresponds to the JSON schema field "current_desktop_id".
CurrentDesktopID string `json:"current_desktop_id"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// LastUsedAt corresponds to the JSON schema field "last_used_at".
LastUsedAt *string `json:"last_used_at,omitempty,omitzero"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// Revision corresponds to the JSON schema field "revision".
Revision int `json:"revision"`
}
type ProfileActionResultMessage ¶ added in v0.12.0
type ProfileActionResultMessage struct {
// Action corresponds to the JSON schema field "action".
Action string `json:"action"`
// Desktops corresponds to the JSON schema field "desktops".
Desktops []Desktop `json:"desktops,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// ErrorCode corresponds to the JSON schema field "error_code".
ErrorCode *ProfileErrorCode `json:"error_code,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// PaneID corresponds to the JSON schema field "pane_id".
PaneID *string `json:"pane_id,omitempty,omitzero"`
// Profile corresponds to the JSON schema field "profile".
Profile *Profile `json:"profile,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type ProfileArrangementChangedMessage ¶ added in v0.12.0
type ProfileArrangementChangedMessage struct {
// Desktops corresponds to the JSON schema field "desktops".
Desktops []Desktop `json:"desktops"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// MovedLeaf corresponds to the JSON schema field "moved_leaf".
MovedLeaf *LeafMoved `json:"moved_leaf,omitempty,omitzero"`
// Profile corresponds to the JSON schema field "profile".
Profile Profile `json:"profile"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type ProfileCreateMessage ¶ added in v0.12.0
type ProfileDeleteMessage ¶ added in v0.12.0
type ProfileDeleteMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ExpectedRevision corresponds to the JSON schema field "expected_revision".
ExpectedRevision int `json:"expected_revision"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type ProfileErrorCode ¶ added in v0.12.0
type ProfileErrorCode string
const ProfileErrorCodeAlreadyPlaced ProfileErrorCode = "already_placed"
const ProfileErrorCodeCrossProfile ProfileErrorCode = "cross_profile"
const ProfileErrorCodeInternal ProfileErrorCode = "internal"
const ProfileErrorCodeInvalid ProfileErrorCode = "invalid"
const ProfileErrorCodeLastDesktop ProfileErrorCode = "last_desktop"
const ProfileErrorCodeLastProfile ProfileErrorCode = "last_profile"
const ProfileErrorCodeNameTaken ProfileErrorCode = "name_taken"
const ProfileErrorCodeNotFound ProfileErrorCode = "not_found"
const ProfileErrorCodeProfileDeleted ProfileErrorCode = "profile_deleted"
const ProfileErrorCodeSessionClosed ProfileErrorCode = "session_closed"
const ProfileErrorCodeSlotTaken ProfileErrorCode = "slot_taken"
const ProfileErrorCodeStaleRevision ProfileErrorCode = "stale_revision"
type ProfileRenameMessage ¶ added in v0.12.0
type ProfileRenameMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ExpectedRevision corresponds to the JSON schema field "expected_revision".
ExpectedRevision int `json:"expected_revision"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type ProfileSelectMessage ¶ added in v0.12.0
type ProfileSelectMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type ProfilesChangedMessage ¶ added in v0.12.0
type PtyDesyncMessage ¶
type PtyDesyncMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
// Reason corresponds to the JSON schema field "reason".
Reason string `json:"reason"`
}
type PtyInputMessage ¶
type PtyInputMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Data corresponds to the JSON schema field "data".
Data string `json:"data"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
// ProbeID corresponds to the JSON schema field "probe_id".
ProbeID *string `json:"probe_id,omitempty,omitzero"`
// Source corresponds to the JSON schema field "source".
Source *string `json:"source,omitempty,omitzero"`
// TraceID corresponds to the JSON schema field "trace_id".
TraceID *string `json:"trace_id,omitempty,omitzero"`
}
type PtyInputProbeResultMessage ¶ added in v0.12.0
type PtyInputProbeResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
// ProbeID corresponds to the JSON schema field "probe_id".
ProbeID string `json:"probe_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
// WriteDurationUs corresponds to the JSON schema field "write_duration_us".
WriteDurationUs int `json:"write_duration_us"`
}
type PtyOutputMessage ¶
type PtyOutputMessage struct {
// Data corresponds to the JSON schema field "data".
Data string `json:"data"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
// Seq corresponds to the JSON schema field "seq".
Seq int `json:"seq"`
}
type PtyResizeMessage ¶
type PtyResizeMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Cols corresponds to the JSON schema field "cols".
Cols int `json:"cols"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
// Rows corresponds to the JSON schema field "rows".
Rows int `json:"rows"`
// Xpixel corresponds to the JSON schema field "xpixel".
Xpixel *int `json:"xpixel,omitempty,omitzero"`
// Ypixel corresponds to the JSON schema field "ypixel".
Ypixel *int `json:"ypixel,omitempty,omitzero"`
}
type PtyResizedMessage ¶ added in v0.8.2
type PtyResizedMessage struct {
// Cols corresponds to the JSON schema field "cols".
Cols int `json:"cols"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
// Rows corresponds to the JSON schema field "rows".
Rows int `json:"rows"`
// Xpixel corresponds to the JSON schema field "xpixel".
Xpixel *int `json:"xpixel,omitempty,omitzero"`
// Ypixel corresponds to the JSON schema field "ypixel".
Ypixel *int `json:"ypixel,omitempty,omitzero"`
}
type PullRequestCreatedMessage ¶ added in v0.12.0
type PullRequestCreatedMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ID corresponds to the JSON schema field "id".
ID SessionID `json:"id"`
// TerminalID corresponds to the JSON schema field "terminal_id".
TerminalID *TerminalID `json:"terminal_id,omitempty,omitzero"`
// URL corresponds to the JSON schema field "url".
URL string `json:"url"`
}
type PullRequestForgetMessage ¶ added in v0.12.0
type PullRequestProvenance ¶ added in v0.12.0
type PullRequestProvenance struct {
// HeadSHA corresponds to the JSON schema field "head_sha".
HeadSHA string `json:"head_sha"`
// Number corresponds to the JSON schema field "number".
Number int `json:"number"`
// Repository corresponds to the JSON schema field "repository".
Repository string `json:"repository"`
// Title corresponds to the JSON schema field "title".
Title *string `json:"title,omitempty,omitzero"`
// URL corresponds to the JSON schema field "url".
URL string `json:"url"`
}
type PullRequestUnwatchMessage ¶ added in v0.12.0
type PullRequestWatchMessage ¶ added in v0.12.0
type PullRequestWatchMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ID corresponds to the JSON schema field "id".
ID SessionID `json:"id"`
// Mode corresponds to the JSON schema field "mode".
Mode PullRequestWatchMode `json:"mode"`
// Reviewer corresponds to the JSON schema field "reviewer".
Reviewer *string `json:"reviewer,omitempty,omitzero"`
// URL corresponds to the JSON schema field "url".
URL string `json:"url"`
}
type PullRequestWatchMode ¶ added in v0.12.0
type PullRequestWatchMode string
const PullRequestWatchModeCodex PullRequestWatchMode = "codex"
const PullRequestWatchModeFormalReview PullRequestWatchMode = "formal-review"
const PullRequestWatchModeGreen PullRequestWatchMode = "green"
type QueryAuthorsMessage ¶
type QueryAuthorsMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
}
type QueryMessage ¶
type QueryMessage struct {
// CallerID corresponds to the JSON schema field "caller_id".
CallerID *TerminalID `json:"caller_id,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Filter corresponds to the JSON schema field "filter".
Filter *string `json:"filter,omitempty,omitzero"`
}
type QueryPRsMessage ¶
type QueryReposMessage ¶
type QuickCaptureAttachment ¶ added in v0.13.0
type QuickCaptureAttachment struct {
// Bytes corresponds to the JSON schema field "bytes".
Bytes int `json:"bytes"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// MediaType corresponds to the JSON schema field "media_type".
MediaType string `json:"media_type"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
}
type QuickCaptureAttachmentDiscardMessage ¶ added in v0.13.0
type QuickCaptureAttachmentDiscardMessage struct {
// AttachmentID corresponds to the JSON schema field "attachment_id".
AttachmentID string `json:"attachment_id"`
// CaptureID corresponds to the JSON schema field "capture_id".
CaptureID string `json:"capture_id"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type QuickCaptureAttachmentGetMessage ¶ added in v0.13.0
type QuickCaptureAttachmentGetMessage struct {
// AttachmentID corresponds to the JSON schema field "attachment_id".
AttachmentID string `json:"attachment_id"`
// CaptureID corresponds to the JSON schema field "capture_id".
CaptureID string `json:"capture_id"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Offset corresponds to the JSON schema field "offset".
Offset int `json:"offset"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type QuickCaptureAttachmentGetResult ¶ added in v0.13.0
type QuickCaptureAttachmentGetResult struct {
// DataBase64 corresponds to the JSON schema field "data_base64".
DataBase64 string `json:"data_base64"`
// Eof corresponds to the JSON schema field "eof".
Eof bool `json:"eof"`
// NextOffset corresponds to the JSON schema field "next_offset".
NextOffset int `json:"next_offset"`
}
type QuickCaptureAttachmentPutMessage ¶ added in v0.13.0
type QuickCaptureAttachmentPutMessage struct {
// AttachmentID corresponds to the JSON schema field "attachment_id".
AttachmentID string `json:"attachment_id"`
// CaptureID corresponds to the JSON schema field "capture_id".
CaptureID string `json:"capture_id"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DataBase64 corresponds to the JSON schema field "data_base64".
DataBase64 string `json:"data_base64"`
// Final corresponds to the JSON schema field "final".
Final bool `json:"final"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// Offset corresponds to the JSON schema field "offset".
Offset int `json:"offset"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type QuickCaptureAttachmentPutResult ¶ added in v0.13.0
type QuickCaptureAttachmentPutResult struct {
// Attachment corresponds to the JSON schema field "attachment".
Attachment *QuickCaptureAttachment `json:"attachment,omitempty,omitzero"`
// NextOffset corresponds to the JSON schema field "next_offset".
NextOffset int `json:"next_offset"`
}
type QuickCaptureDraftAsset ¶ added in v0.13.0
type QuickCaptureDraftAsset struct {
// AttachmentID corresponds to the JSON schema field "attachment_id".
AttachmentID string `json:"attachment_id"`
// CaptureID corresponds to the JSON schema field "capture_id".
CaptureID string `json:"capture_id"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// NextOffset corresponds to the JSON schema field "next_offset".
NextOffset int `json:"next_offset"`
// State corresponds to the JSON schema field "state".
State QuickCaptureDraftState `json:"state"`
}
type QuickCaptureDraftState ¶ added in v0.13.0
type QuickCaptureDraftState string
const QuickCaptureDraftStateReady QuickCaptureDraftState = "ready"
const QuickCaptureDraftStateStaged QuickCaptureDraftState = "staged"
type QuickCaptureGetMessage ¶ added in v0.13.0
type QuickCaptureGetMessage struct {
// CaptureID corresponds to the JSON schema field "capture_id".
CaptureID string `json:"capture_id"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type QuickCaptureListMessage ¶ added in v0.13.0
type QuickCaptureListMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Cursor corresponds to the JSON schema field "cursor".
Cursor *string `json:"cursor,omitempty,omitzero"`
// Limit corresponds to the JSON schema field "limit".
Limit int `json:"limit"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type QuickCaptureListResult ¶ added in v0.13.0
type QuickCaptureListResult struct {
// DraftAssets corresponds to the JSON schema field "draft_assets".
DraftAssets []QuickCaptureDraftAsset `json:"draft_assets"`
// Items corresponds to the JSON schema field "items".
Items []QuickCaptureRecord `json:"items"`
// NextCursor corresponds to the JSON schema field "next_cursor".
NextCursor *string `json:"next_cursor,omitempty,omitzero"`
}
type QuickCaptureMailbox ¶ added in v0.13.0
type QuickCaptureMailbox struct {
// Kind corresponds to the JSON schema field "kind".
Kind QuickCaptureMailboxKind `json:"kind"`
// MemberID corresponds to the JSON schema field "member_id".
MemberID *string `json:"member_id,omitempty,omitzero"`
}
type QuickCaptureMailboxKind ¶ added in v0.13.0
type QuickCaptureMailboxKind string
const QuickCaptureMailboxKindChief QuickCaptureMailboxKind = "chief"
const QuickCaptureMailboxKindCrewMember QuickCaptureMailboxKind = "crew_member"
type QuickCaptureReadMessage ¶ added in v0.13.0
type QuickCaptureReadMessage struct {
// CaptureID corresponds to the JSON schema field "capture_id".
CaptureID string `json:"capture_id"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// ReadAt corresponds to the JSON schema field "read_at".
ReadAt string `json:"read_at"`
}
type QuickCaptureRecord ¶ added in v0.13.0
type QuickCaptureRecord struct {
// Attachments corresponds to the JSON schema field "attachments".
Attachments []QuickCaptureAttachment `json:"attachments"`
// Content corresponds to the JSON schema field "content".
Content string `json:"content"`
// CreatedAt corresponds to the JSON schema field "created_at".
CreatedAt string `json:"created_at"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Mailbox corresponds to the JSON schema field "mailbox".
Mailbox QuickCaptureMailbox `json:"mailbox"`
// ReadAt corresponds to the JSON schema field "read_at".
ReadAt *string `json:"read_at,omitempty,omitzero"`
}
type QuickCaptureResult ¶ added in v0.13.0
type QuickCaptureResult struct {
// Discarded corresponds to the JSON schema field "discarded".
Discarded *bool `json:"discarded,omitempty,omitzero"`
// Download corresponds to the JSON schema field "download".
Download *QuickCaptureAttachmentGetResult `json:"download,omitempty,omitzero"`
// List corresponds to the JSON schema field "list".
List *QuickCaptureListResult `json:"list,omitempty,omitzero"`
// Record corresponds to the JSON schema field "record".
Record *QuickCaptureRecord `json:"record,omitempty,omitzero"`
// Upload corresponds to the JSON schema field "upload".
Upload *QuickCaptureAttachmentPutResult `json:"upload,omitempty,omitzero"`
}
type QuickCaptureResultMessage ¶ added in v0.13.0
type QuickCaptureResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// ErrorCode corresponds to the JSON schema field "error_code".
ErrorCode *string `json:"error_code,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Result corresponds to the JSON schema field "result".
Result *QuickCaptureResult `json:"result,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type QuickCaptureSendMessage ¶ added in v0.13.0
type QuickCaptureSendMessage struct {
// AttachmentIds corresponds to the JSON schema field "attachment_ids".
AttachmentIds []string `json:"attachment_ids"`
// CaptureID corresponds to the JSON schema field "capture_id".
CaptureID string `json:"capture_id"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Content corresponds to the JSON schema field "content".
Content string `json:"content"`
// Mailbox corresponds to the JSON schema field "mailbox".
Mailbox QuickCaptureMailbox `json:"mailbox"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type RateLimitedMessage ¶
type RateLimitedMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RateLimitResetAt corresponds to the JSON schema field "rate_limit_reset_at".
RateLimitResetAt string `json:"rate_limit_reset_at"`
// RateLimitResource corresponds to the JSON schema field "rate_limit_resource".
RateLimitResource string `json:"rate_limit_resource"`
}
type RecentFilesMessage ¶ added in v0.12.0
type RecentFilesMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Limit corresponds to the JSON schema field "limit".
Limit *int `json:"limit,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Root corresponds to the JSON schema field "root".
Root *string `json:"root,omitempty,omitzero"`
}
type RecentFilesResultMessage ¶ added in v0.12.0
type RecentFilesResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Files corresponds to the JSON schema field "files".
Files []FileActivity `json:"files"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type RecentLocation ¶
type RecentLocation struct {
// LastSeen corresponds to the JSON schema field "last_seen".
LastSeen string `json:"last_seen"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// RepoRoot corresponds to the JSON schema field "repo_root".
RepoRoot *string `json:"repo_root,omitempty,omitzero"`
// UseCount corresponds to the JSON schema field "use_count".
UseCount int `json:"use_count"`
}
func RecentLocationsToValues ¶
func RecentLocationsToValues(locs []*RecentLocation) []RecentLocation
type RecentLocationsResultMessage ¶
type RecentLocationsResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// HomePath corresponds to the JSON schema field "home_path".
HomePath *string `json:"home_path,omitempty,omitzero"`
// RecentLocations corresponds to the JSON schema field "recent_locations".
RecentLocations []RecentLocation `json:"recent_locations"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type RecordCommandUsageMessage ¶ added in v0.12.0
type RecordCommandUsageMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// CommandID corresponds to the JSON schema field "command_id".
CommandID string `json:"command_id"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
}
type RecordCommandUsageResultMessage ¶ added in v0.12.0
type RecordCommandUsageResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type RecordString ¶ added in v0.2.8
type RecordString map[string]interface{}
type RefreshPRsMessage ¶
type RefreshPRsMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
}
type RefreshPRsResultMessage ¶
type RefreshPRsResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type ReloadSessionMessage ¶ added in v0.12.0
type ReloadSessionMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Cols corresponds to the JSON schema field "cols".
Cols int `json:"cols"`
// ID corresponds to the JSON schema field "id".
ID SessionID `json:"id"`
// Rows corresponds to the JSON schema field "rows".
Rows int `json:"rows"`
}
type ReloadSessionResultMessage ¶ added in v0.12.0
type ReloadSessionResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// ID corresponds to the JSON schema field "id".
ID SessionID `json:"id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type RemoveOutpostMessage ¶ added in v0.13.0
type RemovePluginMessage ¶ added in v0.10.0
type RenameResultMessage ¶ added in v0.11.0
type RenameResultMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// ID corresponds to the JSON schema field "id".
ID SessionID `json:"id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type RenameSessionMessage ¶ added in v0.11.0
type RepairOutpostMessage ¶ added in v0.13.0
type RepoInfo ¶
type RepoInfo struct {
// Branches corresponds to the JSON schema field "branches".
Branches []Branch `json:"branches"`
// CurrentBranch corresponds to the JSON schema field "current_branch".
CurrentBranch string `json:"current_branch"`
// CurrentCommitHash corresponds to the JSON schema field "current_commit_hash".
CurrentCommitHash string `json:"current_commit_hash"`
// CurrentCommitTime corresponds to the JSON schema field "current_commit_time".
CurrentCommitTime string `json:"current_commit_time"`
// DefaultBranch corresponds to the JSON schema field "default_branch".
DefaultBranch string `json:"default_branch"`
// FetchedAt corresponds to the JSON schema field "fetched_at".
FetchedAt *string `json:"fetched_at,omitempty,omitzero"`
// Repo corresponds to the JSON schema field "repo".
Repo string `json:"repo"`
// Worktrees corresponds to the JSON schema field "worktrees".
Worktrees []Worktree `json:"worktrees"`
}
type RepoState ¶
type RepoState struct {
// Collapsed corresponds to the JSON schema field "collapsed".
Collapsed bool `json:"collapsed"`
// Muted corresponds to the JSON schema field "muted".
Muted bool `json:"muted"`
// Repo corresponds to the JSON schema field "repo".
Repo string `json:"repo"`
}
func RepoStatesToValues ¶
type ReposUpdatedMessage ¶
type Response ¶
type Response struct {
// ActivityStatusResult corresponds to the JSON schema field
// "activity_status_result".
ActivityStatusResult *ActivityStatusResult `json:"activity_status_result,omitempty,omitzero"`
// AgentCloseResult corresponds to the JSON schema field "agent_close_result".
AgentCloseResult *AgentCloseResult `json:"agent_close_result,omitempty,omitzero"`
// AgentInboxBatchResult corresponds to the JSON schema field
// "agent_inbox_batch_result".
AgentInboxBatchResult *AgentInboxBatchResult `json:"agent_inbox_batch_result,omitempty,omitzero"`
// AgentInboxItemResult corresponds to the JSON schema field
// "agent_inbox_item_result".
AgentInboxItemResult *AgentInboxItem `json:"agent_inbox_item_result,omitempty,omitzero"`
// AgentInboxResult corresponds to the JSON schema field "agent_inbox_result".
AgentInboxResult *AgentPeerMessage `json:"agent_inbox_result,omitempty,omitzero"`
// AgentMsgResult corresponds to the JSON schema field "agent_msg_result".
AgentMsgResult *AgentMsgResult `json:"agent_msg_result,omitempty,omitzero"`
// AgentMsgStatusResult corresponds to the JSON schema field
// "agent_msg_status_result".
AgentMsgStatusResult *AgentPeerMessage `json:"agent_msg_status_result,omitempty,omitzero"`
// AgentPeekResult corresponds to the JSON schema field "agent_peek_result".
AgentPeekResult *AgentPeekResult `json:"agent_peek_result,omitempty,omitzero"`
// AgentReloadResult corresponds to the JSON schema field "agent_reload_result".
AgentReloadResult *AgentReloadResult `json:"agent_reload_result,omitempty,omitzero"`
// AgentTurnResult corresponds to the JSON schema field "agent_turn_result".
AgentTurnResult *AgentTurnResult `json:"agent_turn_result,omitempty,omitzero"`
// AskListResult corresponds to the JSON schema field "ask_list_result".
AskListResult *AskListResult `json:"ask_list_result,omitempty,omitzero"`
// AskOpenResult corresponds to the JSON schema field "ask_open_result".
AskOpenResult *Ask `json:"ask_open_result,omitempty,omitzero"`
// Authors corresponds to the JSON schema field "authors".
Authors []AuthorState `json:"authors,omitempty,omitzero"`
// AutomodeConfigResult corresponds to the JSON schema field
// "automode_config_result".
AutomodeConfigResult *AutoModeConfigResult `json:"automode_config_result,omitempty,omitzero"`
// AutomodeDenialsResult corresponds to the JSON schema field
// "automode_denials_result".
AutomodeDenialsResult *AutoModeDenialsResult `json:"automode_denials_result,omitempty,omitzero"`
// AutomodeEnvResult corresponds to the JSON schema field "automode_env_result".
AutomodeEnvResult *AutoModeEnvResult `json:"automode_env_result,omitempty,omitzero"`
// AutomodeProposeResult corresponds to the JSON schema field
// "automode_propose_result".
AutomodeProposeResult *AutoModeProposeResult `json:"automode_propose_result,omitempty,omitzero"`
// AutomodeShowResult corresponds to the JSON schema field "automode_show_result".
AutomodeShowResult *AutoModeShowResult `json:"automode_show_result,omitempty,omitzero"`
// CallerSessionID corresponds to the JSON schema field "caller_session_id".
CallerSessionID *SessionID `json:"caller_session_id,omitempty,omitzero"`
// CalloutAnchorsResult corresponds to the JSON schema field
// "callout_anchors_result".
CalloutAnchorsResult *CalloutAnchorsResult `json:"callout_anchors_result,omitempty,omitzero"`
// CrewCharterGetResult corresponds to the JSON schema field
// "crew_charter_get_result".
CrewCharterGetResult *CrewCharterGetResult `json:"crew_charter_get_result,omitempty,omitzero"`
// CrewCharterSetResult corresponds to the JSON schema field
// "crew_charter_set_result".
CrewCharterSetResult *CrewCharterSetResult `json:"crew_charter_set_result,omitempty,omitzero"`
// CrewHandoffGetResult corresponds to the JSON schema field
// "crew_handoff_get_result".
CrewHandoffGetResult *CrewHandoffGetResult `json:"crew_handoff_get_result,omitempty,omitzero"`
// CrewHandoffResult corresponds to the JSON schema field "crew_handoff_result".
CrewHandoffResult *CrewHandoffResult `json:"crew_handoff_result,omitempty,omitzero"`
// CrewHandoffsGetResult corresponds to the JSON schema field
// "crew_handoffs_get_result".
CrewHandoffsGetResult *CrewHandoffsGetResult `json:"crew_handoffs_get_result,omitempty,omitzero"`
// CrewListResult corresponds to the JSON schema field "crew_list_result".
CrewListResult *CrewListResult `json:"crew_list_result,omitempty,omitzero"`
// CrewPrimeResult corresponds to the JSON schema field "crew_prime_result".
CrewPrimeResult *CrewPrimeResult `json:"crew_prime_result,omitempty,omitzero"`
// CrewSetResult corresponds to the JSON schema field "crew_set_result".
CrewSetResult *CrewSetResult `json:"crew_set_result,omitempty,omitzero"`
// CrewSleepResult corresponds to the JSON schema field "crew_sleep_result".
CrewSleepResult *CrewSleepResult `json:"crew_sleep_result,omitempty,omitzero"`
// CrewWakeResult corresponds to the JSON schema field "crew_wake_result".
CrewWakeResult *CrewWakeResult `json:"crew_wake_result,omitempty,omitzero"`
// Data corresponds to the JSON schema field "data".
Data *string `json:"data,omitempty,omitzero"`
// DelegateResult corresponds to the JSON schema field "delegate_result".
DelegateResult *DelegateResult `json:"delegate_result,omitempty,omitzero"`
// DelegationOperation corresponds to the JSON schema field
// "delegation_operation".
DelegationOperation *DelegationOperation `json:"delegation_operation,omitempty,omitzero"`
// DelegationPreferencesHistory corresponds to the JSON schema field
// "delegation_preferences_history".
DelegationPreferencesHistory *DelegationPreferencesHistoryResult `json:"delegation_preferences_history,omitempty,omitzero"`
// DelegationPreferencesRevision corresponds to the JSON schema field
// "delegation_preferences_revision".
DelegationPreferencesRevision *DelegationPreferencesRevision `json:"delegation_preferences_revision,omitempty,omitzero"`
// DelegationRoles corresponds to the JSON schema field "delegation_roles".
DelegationRoles *DelegationRolesResult `json:"delegation_roles,omitempty,omitzero"`
// DesktopMoveSessionResult corresponds to the JSON schema field
// "desktop_move_session_result".
DesktopMoveSessionResult *DesktopMoveSessionResult `json:"desktop_move_session_result,omitempty,omitzero"`
// DocCollectionsResult corresponds to the JSON schema field
// "doc_collections_result".
DocCollectionsResult *DocCollectionsResult `json:"doc_collections_result,omitempty,omitzero"`
// DocCountResult corresponds to the JSON schema field "doc_count_result".
DocCountResult *DocCountResult `json:"doc_count_result,omitempty,omitzero"`
// DocDefineResult corresponds to the JSON schema field "doc_define_result".
DocDefineResult *DocDefineResult `json:"doc_define_result,omitempty,omitzero"`
// DocDeleteResult corresponds to the JSON schema field "doc_delete_result".
DocDeleteResult *DocDeleteResult `json:"doc_delete_result,omitempty,omitzero"`
// DocGetResult corresponds to the JSON schema field "doc_get_result".
DocGetResult *DocGetResult `json:"doc_get_result,omitempty,omitzero"`
// DocPutResult corresponds to the JSON schema field "doc_put_result".
DocPutResult *DocPutResult `json:"doc_put_result,omitempty,omitzero"`
// DocQueryResult corresponds to the JSON schema field "doc_query_result".
DocQueryResult *DocQueryResult `json:"doc_query_result,omitempty,omitzero"`
// DocSubscribeResult corresponds to the JSON schema field "doc_subscribe_result".
DocSubscribeResult *DocSubscribeResult `json:"doc_subscribe_result,omitempty,omitzero"`
// DocUndefineResult corresponds to the JSON schema field "doc_undefine_result".
DocUndefineResult *DocUndefineResult `json:"doc_undefine_result,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// ErrorCode corresponds to the JSON schema field "error_code".
ErrorCode *string `json:"error_code,omitempty,omitzero"`
// ErrorConflict corresponds to the JSON schema field "error_conflict".
ErrorConflict *DocumentConflict `json:"error_conflict,omitempty,omitzero"`
// JournalAppendResult corresponds to the JSON schema field
// "journal_append_result".
JournalAppendResult *JournalAppendResult `json:"journal_append_result,omitempty,omitzero"`
// KeptConversationListResult corresponds to the JSON schema field
// "kept_conversation_list_result".
KeptConversationListResult *KeptConversationListResult `json:"kept_conversation_list_result,omitempty,omitzero"`
// NotebookEntries corresponds to the JSON schema field "notebook_entries".
NotebookEntries []NotebookEntry `json:"notebook_entries,omitempty,omitzero"`
// NotebookGuide corresponds to the JSON schema field "notebook_guide".
NotebookGuide *NotebookGuideResult `json:"notebook_guide,omitempty,omitzero"`
// NotebookRead corresponds to the JSON schema field "notebook_read".
NotebookRead *NotebookReadResult `json:"notebook_read,omitempty,omitzero"`
// NotebookWrite corresponds to the JSON schema field "notebook_write".
NotebookWrite *NotebookWriteResult `json:"notebook_write,omitempty,omitzero"`
// Ok corresponds to the JSON schema field "ok".
Ok bool `json:"ok"`
// Profiles corresponds to the JSON schema field "profiles".
Profiles []Profile `json:"profiles,omitempty,omitzero"`
// Prs corresponds to the JSON schema field "prs".
Prs []PR `json:"prs,omitempty,omitzero"`
// QuickCaptureResult corresponds to the JSON schema field "quick_capture_result".
QuickCaptureResult *QuickCaptureResult `json:"quick_capture_result,omitempty,omitzero"`
// Repos corresponds to the JSON schema field "repos".
Repos []RepoState `json:"repos,omitempty,omitzero"`
// SeedArtifactTransferResult corresponds to the JSON schema field
// "seed_artifact_transfer_result".
SeedArtifactTransferResult *SeedArtifactTransferResult `json:"seed_artifact_transfer_result,omitempty,omitzero"`
// SeedEditResult corresponds to the JSON schema field "seed_edit_result".
SeedEditResult *SeedEditResult `json:"seed_edit_result,omitempty,omitzero"`
// SeedLinkResult corresponds to the JSON schema field "seed_link_result".
SeedLinkResult *SeedLinkResult `json:"seed_link_result,omitempty,omitzero"`
// SeedListResult corresponds to the JSON schema field "seed_list_result".
SeedListResult *SeedListResult `json:"seed_list_result,omitempty,omitzero"`
// SeedNoteResult corresponds to the JSON schema field "seed_note_result".
SeedNoteResult *SeedNoteResult `json:"seed_note_result,omitempty,omitzero"`
// SeedNotesResult corresponds to the JSON schema field "seed_notes_result".
SeedNotesResult *SeedNotesResult `json:"seed_notes_result,omitempty,omitzero"`
// SeedPlantResult corresponds to the JSON schema field "seed_plant_result".
SeedPlantResult *SeedPlantResult `json:"seed_plant_result,omitempty,omitzero"`
// SeedPlotResult corresponds to the JSON schema field "seed_plot_result".
SeedPlotResult *SeedPlotResult `json:"seed_plot_result,omitempty,omitzero"`
// SeedReadyResult corresponds to the JSON schema field "seed_ready_result".
SeedReadyResult *SeedReadyResult `json:"seed_ready_result,omitempty,omitzero"`
// SeedReviewResult corresponds to the JSON schema field "seed_review_result".
SeedReviewResult *SeedReviewResult `json:"seed_review_result,omitempty,omitzero"`
// SeedSearchResult corresponds to the JSON schema field "seed_search_result".
SeedSearchResult *SeedSearchResult `json:"seed_search_result,omitempty,omitzero"`
// SeedSendToChiefResult corresponds to the JSON schema field
// "seed_send_to_chief_result".
SeedSendToChiefResult *SeedSendToChiefResult `json:"seed_send_to_chief_result,omitempty,omitzero"`
// SeedShowResult corresponds to the JSON schema field "seed_show_result".
SeedShowResult *SeedShowResult `json:"seed_show_result,omitempty,omitzero"`
// SeedTransitionResult corresponds to the JSON schema field
// "seed_transition_result".
SeedTransitionResult *SeedTransitionResult `json:"seed_transition_result,omitempty,omitzero"`
// SeedWatchResult corresponds to the JSON schema field "seed_watch_result".
SeedWatchResult *SeedWatchResult `json:"seed_watch_result,omitempty,omitzero"`
// SessionInstructionsResult corresponds to the JSON schema field
// "session_instructions_result".
SessionInstructionsResult *SessionInstructionsResult `json:"session_instructions_result,omitempty,omitzero"`
// SessionListResult corresponds to the JSON schema field "session_list_result".
SessionListResult *SessionListResult `json:"session_list_result,omitempty,omitzero"`
// SessionReopenResult corresponds to the JSON schema field
// "session_reopen_result".
SessionReopenResult *SessionReopenResult `json:"session_reopen_result,omitempty,omitzero"`
// SessionShowResult corresponds to the JSON schema field "session_show_result".
SessionShowResult *SessionShowResult `json:"session_show_result,omitempty,omitzero"`
// SessionTranscriptResult corresponds to the JSON schema field
// "session_transcript_result".
SessionTranscriptResult *SessionTranscriptResult `json:"session_transcript_result,omitempty,omitzero"`
// Sessions corresponds to the JSON schema field "sessions".
Sessions []Session `json:"sessions,omitempty,omitzero"`
// Setting corresponds to the JSON schema field "setting".
Setting *SettingEntry `json:"setting,omitempty,omitzero"`
// SettingsList corresponds to the JSON schema field "settings_list".
SettingsList *SettingsListResult `json:"settings_list,omitempty,omitzero"`
// StateExplainResult corresponds to the JSON schema field "state_explain_result".
StateExplainResult *StateExplainResult `json:"state_explain_result,omitempty,omitzero"`
// TerminalEntries corresponds to the JSON schema field "terminal_entries".
TerminalEntries []TerminalEntry `json:"terminal_entries,omitempty,omitzero"`
// TerminalInputResult corresponds to the JSON schema field
// "terminal_input_result".
TerminalInputResult *TerminalInputResult `json:"terminal_input_result,omitempty,omitzero"`
// TerminalOpenResult corresponds to the JSON schema field "terminal_open_result".
TerminalOpenResult *TerminalOpenResult `json:"terminal_open_result,omitempty,omitzero"`
// TerminalReadResult corresponds to the JSON schema field "terminal_read_result".
TerminalReadResult *TerminalReadResult `json:"terminal_read_result,omitempty,omitzero"`
// TerminalWaitResult corresponds to the JSON schema field "terminal_wait_result".
TerminalWaitResult *TerminalWaitResult `json:"terminal_wait_result,omitempty,omitzero"`
// WorktreeKeepResult corresponds to the JSON schema field "worktree_keep_result".
WorktreeKeepResult *WorktreeKeepResult `json:"worktree_keep_result,omitempty,omitzero"`
// WorktreeListResult corresponds to the JSON schema field "worktree_list_result".
WorktreeListResult *WorktreeListResult `json:"worktree_list_result,omitempty,omitzero"`
// WorktreeRefreshResult corresponds to the JSON schema field
// "worktree_refresh_result".
WorktreeRefreshResult *WorktreeRefreshResult `json:"worktree_refresh_result,omitempty,omitzero"`
// WorktreeSweepLogResult corresponds to the JSON schema field
// "worktree_sweep_log_result".
WorktreeSweepLogResult *WorktreeSweepLogResult `json:"worktree_sweep_log_result,omitempty,omitzero"`
}
type RuntimeRespawnedMessage ¶ added in v0.12.0
type RuntimeRespawnedMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
}
type Seed ¶ added in v0.12.0
type Seed struct {
// Body corresponds to the JSON schema field "body".
Body string `json:"body"`
// Continuation corresponds to the JSON schema field "continuation".
Continuation *SeedContinuation `json:"continuation,omitempty,omitzero"`
// CreatedAt corresponds to the JSON schema field "created_at".
CreatedAt string `json:"created_at"`
// Edges corresponds to the JSON schema field "edges".
Edges []SeedEdge `json:"edges"`
// Gate corresponds to the JSON schema field "gate".
Gate bool `json:"gate"`
// HarvestWhen corresponds to the JSON schema field "harvest_when".
HarvestWhen *SeedHarvestCondition `json:"harvest_when,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// LastExecutionID corresponds to the JSON schema field "last_execution_id".
LastExecutionID *SessionID `json:"last_execution_id,omitempty,omitzero"`
// PlanterMember corresponds to the JSON schema field "planter_member".
PlanterMember string `json:"planter_member"`
// PlanterSession corresponds to the JSON schema field "planter_session".
PlanterSession SessionID `json:"planter_session"`
// PlotProgress corresponds to the JSON schema field "plot_progress".
PlotProgress *SeedPlotProgress `json:"plot_progress,omitempty,omitzero"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// Ready corresponds to the JSON schema field "ready".
Ready bool `json:"ready"`
// Reason corresponds to the JSON schema field "reason".
Reason *string `json:"reason,omitempty,omitzero"`
// Rev corresponds to the JSON schema field "rev".
Rev int `json:"rev"`
// StateChangedAt corresponds to the JSON schema field "state_changed_at".
StateChangedAt string `json:"state_changed_at"`
// StateChangedAtExact corresponds to the JSON schema field
// "state_changed_at_exact".
StateChangedAtExact bool `json:"state_changed_at_exact"`
// Status corresponds to the JSON schema field "status".
Status string `json:"status"`
// StepSlug corresponds to the JSON schema field "step_slug".
StepSlug string `json:"step_slug"`
// Template corresponds to the JSON schema field "template".
Template bool `json:"template"`
// TenderMember corresponds to the JSON schema field "tender_member".
TenderMember string `json:"tender_member"`
// TenderSession corresponds to the JSON schema field "tender_session".
TenderSession SessionID `json:"tender_session"`
// Title corresponds to the JSON schema field "title".
Title string `json:"title"`
// UpdatedAt corresponds to the JSON schema field "updated_at".
UpdatedAt string `json:"updated_at"`
// Vars corresponds to the JSON schema field "vars".
Vars []SeedVar `json:"vars"`
}
type SeedArtifact ¶ added in v0.12.0
type SeedArtifact struct {
// Filename corresponds to the JSON schema field "filename".
Filename string `json:"filename"`
// ModifiedAt corresponds to the JSON schema field "modified_at".
ModifiedAt string `json:"modified_at"`
// RelativeTarget corresponds to the JSON schema field "relative_target".
RelativeTarget string `json:"relative_target"`
// Size corresponds to the JSON schema field "size".
Size int `json:"size"`
}
type SeedArtifactReference ¶ added in v0.12.0
type SeedArtifactReference struct {
// Kind corresponds to the JSON schema field "kind".
Kind string `json:"kind"`
// NotebookDocumentID corresponds to the JSON schema field "notebook_document_id".
NotebookDocumentID *string `json:"notebook_document_id,omitempty,omitzero"`
// Path corresponds to the JSON schema field "path".
Path *string `json:"path,omitempty,omitzero"`
// Repository corresponds to the JSON schema field "repository".
Repository *string `json:"repository,omitempty,omitzero"`
// URL corresponds to the JSON schema field "url".
URL *string `json:"url,omitempty,omitzero"`
}
type SeedArtifactTargetMessage ¶ added in v0.12.0
type SeedArtifactTargetMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// Purpose corresponds to the JSON schema field "purpose".
Purpose string `json:"purpose"`
// RelativeTarget corresponds to the JSON schema field "relative_target".
RelativeTarget string `json:"relative_target"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type SeedArtifactTargetResult ¶ added in v0.12.0
type SeedArtifactTargetResult struct {
// DataBase64 corresponds to the JSON schema field "data_base64".
DataBase64 *string `json:"data_base64,omitempty,omitzero"`
// MimeType corresponds to the JSON schema field "mime_type".
MimeType *string `json:"mime_type,omitempty,omitzero"`
// Path corresponds to the JSON schema field "path".
Path *string `json:"path,omitempty,omitzero"`
// RelativeTarget corresponds to the JSON schema field "relative_target".
RelativeTarget string `json:"relative_target"`
}
type SeedArtifactTargetResultMessage ¶ added in v0.12.0
type SeedArtifactTargetResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Result corresponds to the JSON schema field "result".
Result *SeedArtifactTargetResult `json:"result,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type SeedArtifactTransferMessage ¶ added in v0.12.0
type SeedArtifactTransferMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DestinationPath corresponds to the JSON schema field "destination_path".
DestinationPath *string `json:"destination_path,omitempty,omitzero"`
// Filename corresponds to the JSON schema field "filename".
Filename *string `json:"filename,omitempty,omitzero"`
// LegacyReference corresponds to the JSON schema field "legacy_reference".
LegacyReference *SeedArtifactReference `json:"legacy_reference,omitempty,omitzero"`
// Operation corresponds to the JSON schema field "operation".
Operation string `json:"operation"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// SourcePath corresponds to the JSON schema field "source_path".
SourcePath *string `json:"source_path,omitempty,omitzero"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type SeedArtifactTransferResult ¶ added in v0.12.0
type SeedArtifactTransferResult struct {
// Artifact corresponds to the JSON schema field "artifact".
Artifact *SeedArtifact `json:"artifact,omitempty,omitzero"`
// DestinationPath corresponds to the JSON schema field "destination_path".
DestinationPath string `json:"destination_path"`
// Operation corresponds to the JSON schema field "operation".
Operation string `json:"operation"`
// OperationID corresponds to the JSON schema field "operation_id".
OperationID string `json:"operation_id"`
// Recovered corresponds to the JSON schema field "recovered".
Recovered bool `json:"recovered"`
// RelativeTarget corresponds to the JSON schema field "relative_target".
RelativeTarget string `json:"relative_target"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// SourcePath corresponds to the JSON schema field "source_path".
SourcePath string `json:"source_path"`
}
type SeedArtifactTransferResultMessage ¶ added in v0.12.0
type SeedArtifactTransferResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Result corresponds to the JSON schema field "result".
Result *SeedArtifactTransferResult `json:"result,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type SeedContinuation ¶ added in v0.12.0
type SeedContinuation struct {
// Agent corresponds to the JSON schema field "agent".
Agent string `json:"agent"`
// Branch corresponds to the JSON schema field "branch".
Branch *string `json:"branch,omitempty,omitzero"`
// Cwd corresponds to the JSON schema field "cwd".
Cwd string `json:"cwd"`
// DirectoryState corresponds to the JSON schema field "directory_state".
DirectoryState string `json:"directory_state"`
// ExecutionID corresponds to the JSON schema field "execution_id".
ExecutionID string `json:"execution_id"`
// HandoverPlacement corresponds to the JSON schema field "handover_placement".
HandoverPlacement string `json:"handover_placement"`
// KeptConversation corresponds to the JSON schema field "kept_conversation".
KeptConversation *KeptConversation `json:"kept_conversation,omitempty,omitzero"`
// NativeConversationID corresponds to the JSON schema field
// "native_conversation_id".
NativeConversationID *string `json:"native_conversation_id,omitempty,omitzero"`
// PlacementReason corresponds to the JSON schema field "placement_reason".
PlacementReason *string `json:"placement_reason,omitempty,omitzero"`
// RepositoryRoot corresponds to the JSON schema field "repository_root".
RepositoryRoot *string `json:"repository_root,omitempty,omitzero"`
// RepositorySubdir corresponds to the JSON schema field "repository_subdir".
RepositorySubdir *string `json:"repository_subdir,omitempty,omitzero"`
// ResumeAvailable corresponds to the JSON schema field "resume_available".
ResumeAvailable bool `json:"resume_available"`
// ResumeReason corresponds to the JSON schema field "resume_reason".
ResumeReason *string `json:"resume_reason,omitempty,omitzero"`
// SessionLive corresponds to the JSON schema field "session_live".
SessionLive bool `json:"session_live"`
// Source corresponds to the JSON schema field "source".
Source string `json:"source"`
}
type SeedDocument ¶ added in v0.12.0
type SeedDocument struct {
// Artifacts corresponds to the JSON schema field "artifacts".
Artifacts []SeedArtifact `json:"artifacts"`
// Children corresponds to the JSON schema field "children".
Children []Seed `json:"children"`
// Notes corresponds to the JSON schema field "notes".
Notes []SeedNote `json:"notes"`
// NotesTotal corresponds to the JSON schema field "notes_total".
NotesTotal int `json:"notes_total"`
// References corresponds to the JSON schema field "references".
References []SeedArtifactReference `json:"references"`
// Seed corresponds to the JSON schema field "seed".
Seed Seed `json:"seed"`
// TenderHolds corresponds to the JSON schema field "tender_holds".
TenderHolds bool `json:"tender_holds"`
}
type SeedDocumentGetMessage ¶ added in v0.12.0
type SeedDocumentGetMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type SeedDocumentGetResultMessage ¶ added in v0.12.0
type SeedDocumentGetResultMessage struct {
// Document corresponds to the JSON schema field "document".
Document *SeedDocument `json:"document,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type SeedEditMessage ¶ added in v0.12.0
type SeedEditMessage struct {
// Body corresponds to the JSON schema field "body".
Body string `json:"body"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type SeedEditResult ¶ added in v0.12.0
type SeedEditResult struct {
// Seed corresponds to the JSON schema field "seed".
Seed Seed `json:"seed"`
}
type SeedHandoverRequest ¶ added in v0.12.0
type SeedHandoverRequest struct {
// ExpectedRev corresponds to the JSON schema field "expected_rev".
ExpectedRev int `json:"expected_rev"`
// ExpectedTenderMember corresponds to the JSON schema field
// "expected_tender_member".
ExpectedTenderMember string `json:"expected_tender_member"`
// ExpectedTenderSession corresponds to the JSON schema field
// "expected_tender_session".
ExpectedTenderSession SessionID `json:"expected_tender_session"`
// Handoff corresponds to the JSON schema field "handoff".
Handoff *string `json:"handoff,omitempty,omitzero"`
// NoteID corresponds to the JSON schema field "note_id".
NoteID *string `json:"note_id,omitempty,omitzero"`
// Review corresponds to the JSON schema field "review".
Review *SeedReviewActionContext `json:"review,omitempty,omitzero"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
}
type SeedHarvestCondition ¶ added in v0.12.0
type SeedHarvestCondition struct {
// CheckedAt corresponds to the JSON schema field "checked_at".
CheckedAt *string `json:"checked_at,omitempty,omitzero"`
// PullRequest corresponds to the JSON schema field "pull_request".
PullRequest string `json:"pull_request"`
// SetAt corresponds to the JSON schema field "set_at".
SetAt string `json:"set_at"`
// SetByMember corresponds to the JSON schema field "set_by_member".
SetByMember *string `json:"set_by_member,omitempty,omitzero"`
// SetBySession corresponds to the JSON schema field "set_by_session".
SetBySession *SessionID `json:"set_by_session,omitempty,omitzero"`
// URL corresponds to the JSON schema field "url".
URL string `json:"url"`
}
type SeedHarvestWhenMerged ¶ added in v0.12.0
type SeedHarvestWhenMerged struct {
// PullRequestURL corresponds to the JSON schema field "pull_request_url".
PullRequestURL *string `json:"pull_request_url,omitempty,omitzero"`
}
type SeedLinkMessage ¶ added in v0.12.0
type SeedLinkMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Kind corresponds to the JSON schema field "kind".
Kind string `json:"kind"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
// ToSeedID corresponds to the JSON schema field "to_seed_id".
ToSeedID string `json:"to_seed_id"`
// Unlink corresponds to the JSON schema field "unlink".
Unlink *bool `json:"unlink,omitempty,omitzero"`
}
type SeedLinkResult ¶ added in v0.12.0
type SeedListMessage ¶ added in v0.12.0
type SeedListMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
// Stale corresponds to the JSON schema field "stale".
Stale *bool `json:"stale,omitempty,omitzero"`
// StaleWindowSeconds corresponds to the JSON schema field "stale_window_seconds".
StaleWindowSeconds *int `json:"stale_window_seconds,omitempty,omitzero"`
}
type SeedListResult ¶ added in v0.12.0
type SeedListResult struct {
// Seeds corresponds to the JSON schema field "seeds".
Seeds []Seed `json:"seeds"`
// StaleWindowSeconds corresponds to the JSON schema field "stale_window_seconds".
StaleWindowSeconds *int `json:"stale_window_seconds,omitempty,omitzero"`
// Total corresponds to the JSON schema field "total".
Total int `json:"total"`
}
type SeedNote ¶ added in v0.12.0
type SeedNote struct {
// Artifact corresponds to the JSON schema field "artifact".
Artifact *SeedArtifactReference `json:"artifact,omitempty,omitzero"`
// AuthorMember corresponds to the JSON schema field "author_member".
AuthorMember string `json:"author_member"`
// AuthorSession corresponds to the JSON schema field "author_session".
AuthorSession SessionID `json:"author_session"`
// Body corresponds to the JSON schema field "body".
Body string `json:"body"`
// CreatedAt corresponds to the JSON schema field "created_at".
CreatedAt string `json:"created_at"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Kind corresponds to the JSON schema field "kind".
Kind string `json:"kind"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
}
type SeedNoteMessage ¶ added in v0.12.0
type SeedNoteMessage struct {
// Artifact corresponds to the JSON schema field "artifact".
Artifact *SeedArtifactReference `json:"artifact,omitempty,omitzero"`
// Body corresponds to the JSON schema field "body".
Body string `json:"body"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Kind corresponds to the JSON schema field "kind".
Kind *string `json:"kind,omitempty,omitzero"`
// Member corresponds to the JSON schema field "member".
Member *string `json:"member,omitempty,omitzero"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Ring corresponds to the JSON schema field "ring".
Ring *bool `json:"ring,omitempty,omitzero"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type SeedNoteResult ¶ added in v0.12.0
type SeedNoteResult struct {
// Note corresponds to the JSON schema field "note".
Note SeedNote `json:"note"`
}
type SeedNoteResultMessage ¶ added in v0.12.0
type SeedNoteResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Note corresponds to the JSON schema field "note".
Note *SeedNote `json:"note,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type SeedNotesMessage ¶ added in v0.12.0
type SeedNotesMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Limit corresponds to the JSON schema field "limit".
Limit *int `json:"limit,omitempty,omitzero"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type SeedNotesResult ¶ added in v0.12.0
type SeedPlantMessage ¶ added in v0.12.0
type SeedPlantMessage struct {
// Body corresponds to the JSON schema field "body".
Body *string `json:"body,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DiscoveredFrom corresponds to the JSON schema field "discovered_from".
DiscoveredFrom *string `json:"discovered_from,omitempty,omitzero"`
// Member corresponds to the JSON schema field "member".
Member *string `json:"member,omitempty,omitzero"`
// PartOf corresponds to the JSON schema field "part_of".
PartOf *string `json:"part_of,omitempty,omitzero"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
// Title corresponds to the JSON schema field "title".
Title string `json:"title"`
}
type SeedPlantResult ¶ added in v0.12.0
type SeedPlantResult struct {
// Seed corresponds to the JSON schema field "seed".
Seed Seed `json:"seed"`
}
type SeedPlotChild ¶ added in v0.12.0
type SeedPlotChild struct {
// Blocks corresponds to the JSON schema field "blocks".
Blocks []string `json:"blocks,omitempty,omitzero"`
// Body corresponds to the JSON schema field "body".
Body *string `json:"body,omitempty,omitzero"`
// Title corresponds to the JSON schema field "title".
Title string `json:"title"`
}
type SeedPlotMessage ¶ added in v0.12.0
type SeedPlotMessage struct {
// Body corresponds to the JSON schema field "body".
Body *string `json:"body,omitempty,omitzero"`
// Children corresponds to the JSON schema field "children".
Children []SeedPlotChild `json:"children"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Member corresponds to the JSON schema field "member".
Member *string `json:"member,omitempty,omitzero"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
// Title corresponds to the JSON schema field "title".
Title string `json:"title"`
}
type SeedPlotProgress ¶ added in v0.12.0
type SeedPlotProgress struct {
// Blocked corresponds to the JSON schema field "blocked".
Blocked int `json:"blocked"`
// Done corresponds to the JSON schema field "done".
Done int `json:"done"`
// Dormant corresponds to the JSON schema field "dormant".
Dormant int `json:"dormant"`
// Growing corresponds to the JSON schema field "growing".
Growing int `json:"growing"`
// Ready corresponds to the JSON schema field "ready".
Ready int `json:"ready"`
// Total corresponds to the JSON schema field "total".
Total int `json:"total"`
// Withered corresponds to the JSON schema field "withered".
Withered int `json:"withered"`
}
type SeedPlotResult ¶ added in v0.12.0
type SeedReadyMessage ¶ added in v0.12.0
type SeedReadyMessage struct {
// All corresponds to the JSON schema field "all".
All *bool `json:"all,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Plot corresponds to the JSON schema field "plot".
Plot *string `json:"plot,omitempty,omitzero"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type SeedReadyResult ¶ added in v0.12.0
type SeedReadyResult struct {
// Crown corresponds to the JSON schema field "crown".
Crown *Seed `json:"crown,omitempty,omitzero"`
// Handoffs corresponds to the JSON schema field "handoffs".
Handoffs []SeedNote `json:"handoffs,omitempty,omitzero"`
// Plots corresponds to the JSON schema field "plots".
Plots []Seed `json:"plots,omitempty,omitzero"`
// Scope corresponds to the JSON schema field "scope".
Scope string `json:"scope"`
// ScopeID corresponds to the JSON schema field "scope_id".
ScopeID string `json:"scope_id"`
// Seeds corresponds to the JSON schema field "seeds".
Seeds []Seed `json:"seeds"`
}
type SeedRelation ¶ added in v0.12.0
type SeedRelation struct {
// Label corresponds to the JSON schema field "label".
Label string `json:"label"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// Status corresponds to the JSON schema field "status".
Status string `json:"status"`
// Title corresponds to the JSON schema field "title".
Title string `json:"title"`
}
type SeedResumeMessage ¶ added in v0.12.0
type SeedResumeMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Review corresponds to the JSON schema field "review".
Review *SeedReviewActionContext `json:"review,omitempty,omitzero"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type SeedResumeResultMessage ¶ added in v0.12.0
type SeedResumeResultMessage struct {
// AlreadyRunning corresponds to the JSON schema field "already_running".
AlreadyRunning *bool `json:"already_running,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID *SessionID `json:"session_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type SeedReviewActionContext ¶ added in v0.12.0
type SeedReviewCancelMessage ¶ added in v0.12.0
type SeedReviewCancelMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// ReviewID corresponds to the JSON schema field "review_id".
ReviewID string `json:"review_id"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type SeedReviewDraftMessage ¶ added in v0.12.0
type SeedReviewDraftMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Review corresponds to the JSON schema field "review".
Review SeedReviewActionContext `json:"review"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type SeedReviewDraftResultMessage ¶ added in v0.12.0
type SeedReviewDraftResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Handoff corresponds to the JSON schema field "handoff".
Handoff *string `json:"handoff,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type SeedReviewKeepMessage ¶ added in v0.12.0
type SeedReviewKeepMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Review corresponds to the JSON schema field "review".
Review SeedReviewActionContext `json:"review"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type SeedReviewResult ¶ added in v0.12.0
type SeedReviewResult struct {
// CandidateCount corresponds to the JSON schema field "candidate_count".
CandidateCount int `json:"candidate_count"`
// Review corresponds to the JSON schema field "review".
Review *GardenReview `json:"review,omitempty,omitzero"`
}
type SeedReviewResultMessage ¶ added in v0.12.0
type SeedReviewResultMessage struct {
// CandidateCount corresponds to the JSON schema field "candidate_count".
CandidateCount int `json:"candidate_count"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Operation corresponds to the JSON schema field "operation".
Operation string `json:"operation"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Review corresponds to the JSON schema field "review".
Review *GardenReview `json:"review,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type SeedReviewRetryMessage ¶ added in v0.12.0
type SeedReviewRetryMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// ReviewID corresponds to the JSON schema field "review_id".
ReviewID string `json:"review_id"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type SeedReviewShowMessage ¶ added in v0.12.0
type SeedReviewShowMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// ReviewID corresponds to the JSON schema field "review_id".
ReviewID *string `json:"review_id,omitempty,omitzero"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type SeedReviewStartMessage ¶ added in v0.12.0
type SeedReviewStartMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type SeedSearchHit ¶ added in v0.12.0
type SeedSearchMessage ¶ added in v0.12.0
type SeedSearchMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Limit corresponds to the JSON schema field "limit".
Limit *int `json:"limit,omitempty,omitzero"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// Query corresponds to the JSON schema field "query".
Query string `json:"query"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type SeedSearchResult ¶ added in v0.12.0
type SeedSearchResult struct {
// Hits corresponds to the JSON schema field "hits".
Hits []SeedSearchHit `json:"hits"`
// Limit corresponds to the JSON schema field "limit".
Limit int `json:"limit"`
// Matched corresponds to the JSON schema field "matched".
Matched int `json:"matched"`
// Searched corresponds to the JSON schema field "searched".
Searched int `json:"searched"`
}
type SeedSendToChiefMessage ¶ added in v0.12.0
type SeedSendToChiefMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ExpectedRev corresponds to the JSON schema field "expected_rev".
ExpectedRev int `json:"expected_rev"`
// ExpectedTenderMember corresponds to the JSON schema field
// "expected_tender_member".
ExpectedTenderMember string `json:"expected_tender_member"`
// ExpectedTenderSession corresponds to the JSON schema field
// "expected_tender_session".
ExpectedTenderSession SessionID `json:"expected_tender_session"`
// Guidance corresponds to the JSON schema field "guidance".
Guidance *string `json:"guidance,omitempty,omitzero"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Review corresponds to the JSON schema field "review".
Review *SeedReviewActionContext `json:"review,omitempty,omitzero"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type SeedSendToChiefResult ¶ added in v0.12.0
type SeedSendToChiefResult struct {
// ChiefSessionID corresponds to the JSON schema field "chief_session_id".
ChiefSessionID SessionID `json:"chief_session_id"`
// DeliveryStatus corresponds to the JSON schema field "delivery_status".
DeliveryStatus AgentMsgStatus `json:"delivery_status"`
// Detail corresponds to the JSON schema field "detail".
Detail string `json:"detail"`
// Seed corresponds to the JSON schema field "seed".
Seed Seed `json:"seed"`
}
type SeedSendToChiefResultMessage ¶ added in v0.12.0
type SeedSendToChiefResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Result corresponds to the JSON schema field "result".
Result *SeedSendToChiefResult `json:"result,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type SeedShowMessage ¶ added in v0.12.0
type SeedShowMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
}
type SeedShowResult ¶ added in v0.12.0
type SeedShowResult struct {
// Artifacts corresponds to the JSON schema field "artifacts".
Artifacts []SeedArtifact `json:"artifacts"`
// Handoff corresponds to the JSON schema field "handoff".
Handoff *SeedNote `json:"handoff,omitempty,omitzero"`
// Notes corresponds to the JSON schema field "notes".
Notes []SeedNote `json:"notes"`
// NotesTotal corresponds to the JSON schema field "notes_total".
NotesTotal int `json:"notes_total"`
// References corresponds to the JSON schema field "references".
References []SeedArtifactReference `json:"references"`
// Relations corresponds to the JSON schema field "relations".
Relations []SeedRelation `json:"relations"`
// Seed corresponds to the JSON schema field "seed".
Seed Seed `json:"seed"`
// Watching corresponds to the JSON schema field "watching".
Watching bool `json:"watching"`
// WatchingVia corresponds to the JSON schema field "watching_via".
WatchingVia []string `json:"watching_via"`
}
type SeedTransitionMessage ¶ added in v0.12.0
type SeedTransitionMessage struct {
// ClearHarvestWhen corresponds to the JSON schema field "clear_harvest_when".
ClearHarvestWhen *bool `json:"clear_harvest_when,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Comment corresponds to the JSON schema field "comment".
Comment *string `json:"comment,omitempty,omitzero"`
// Force corresponds to the JSON schema field "force".
Force *bool `json:"force,omitempty,omitzero"`
// Member corresponds to the JSON schema field "member".
Member *string `json:"member,omitempty,omitzero"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// Reason corresponds to the JSON schema field "reason".
Reason *string `json:"reason,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Review corresponds to the JSON schema field "review".
Review *SeedReviewActionContext `json:"review,omitempty,omitzero"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID *SessionID `json:"source_session_id,omitempty,omitzero"`
// Verb corresponds to the JSON schema field "verb".
Verb string `json:"verb"`
// WhenMerged corresponds to the JSON schema field "when_merged".
WhenMerged *SeedHarvestWhenMerged `json:"when_merged,omitempty,omitzero"`
}
type SeedTransitionResult ¶ added in v0.12.0
type SeedTransitionResult struct {
// Handoff corresponds to the JSON schema field "handoff".
Handoff *SeedNote `json:"handoff,omitempty,omitzero"`
// Seed corresponds to the JSON schema field "seed".
Seed Seed `json:"seed"`
// Unblocked corresponds to the JSON schema field "unblocked".
Unblocked []Seed `json:"unblocked,omitempty,omitzero"`
}
type SeedTransitionResultMessage ¶ added in v0.12.0
type SeedTransitionResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Seed corresponds to the JSON schema field "seed".
Seed *Seed `json:"seed,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type SeedVar ¶ added in v0.12.0
type SeedVar struct {
// Default corresponds to the JSON schema field "default".
Default *string `json:"default,omitempty,omitzero"`
// Description corresponds to the JSON schema field "description".
Description *string `json:"description,omitempty,omitzero"`
// Enum corresponds to the JSON schema field "enum".
Enum []string `json:"enum,omitempty,omitzero"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// Pattern corresponds to the JSON schema field "pattern".
Pattern *string `json:"pattern,omitempty,omitzero"`
// Required corresponds to the JSON schema field "required".
Required *bool `json:"required,omitempty,omitzero"`
}
type SeedWatchMessage ¶ added in v0.12.0
type SeedWatchMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// SourceSessionID corresponds to the JSON schema field "source_session_id".
SourceSessionID SessionID `json:"source_session_id"`
// Unwatch corresponds to the JSON schema field "unwatch".
Unwatch *bool `json:"unwatch,omitempty,omitzero"`
}
type SeedWatchResult ¶ added in v0.12.0
type SeedWatchResult struct {
// Changed corresponds to the JSON schema field "changed".
Changed bool `json:"changed"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID string `json:"seed_id"`
// Watching corresponds to the JSON schema field "watching".
Watching bool `json:"watching"`
// WatchingVia corresponds to the JSON schema field "watching_via".
WatchingVia []string `json:"watching_via"`
}
type Session ¶
type Session struct {
// Activity corresponds to the JSON schema field "activity".
Activity *string `json:"activity,omitempty,omitzero"`
// ActivityAt corresponds to the JSON schema field "activity_at".
ActivityAt *string `json:"activity_at,omitempty,omitzero"`
// Agent corresponds to the JSON schema field "agent".
Agent string `json:"agent"`
// AutoSettleDismissArmed corresponds to the JSON schema field
// "auto_settle_dismiss_armed".
AutoSettleDismissArmed *bool `json:"auto_settle_dismiss_armed,omitempty,omitzero"`
// AutoSettleFiresAt corresponds to the JSON schema field "auto_settle_fires_at".
AutoSettleFiresAt *string `json:"auto_settle_fires_at,omitempty,omitzero"`
// AutoSettleHeld corresponds to the JSON schema field "auto_settle_held".
AutoSettleHeld *bool `json:"auto_settle_held,omitempty,omitzero"`
// Automation corresponds to the JSON schema field "automation".
Automation *AutomationProvenance `json:"automation,omitempty,omitzero"`
// Branch corresponds to the JSON schema field "branch".
Branch *string `json:"branch,omitempty,omitzero"`
// ChiefOfStaff corresponds to the JSON schema field "chief_of_staff".
ChiefOfStaff *bool `json:"chief_of_staff,omitempty,omitzero"`
// ContextWindowCap corresponds to the JSON schema field "context_window_cap".
ContextWindowCap *int `json:"context_window_cap,omitempty,omitzero"`
// CrewMember corresponds to the JSON schema field "crew_member".
CrewMember *string `json:"crew_member,omitempty,omitzero"`
// DelegatedFromChief corresponds to the JSON schema field "delegated_from_chief".
DelegatedFromChief *bool `json:"delegated_from_chief,omitempty,omitzero"`
// DelegationRole corresponds to the JSON schema field "delegation_role".
DelegationRole *SessionDelegationRole `json:"delegation_role,omitempty,omitzero"`
// Directory corresponds to the JSON schema field "directory".
Directory string `json:"directory"`
// DispatcherMember corresponds to the JSON schema field "dispatcher_member".
DispatcherMember *string `json:"dispatcher_member,omitempty,omitzero"`
// DispatcherSessionID corresponds to the JSON schema field
// "dispatcher_session_id".
DispatcherSessionID *SessionID `json:"dispatcher_session_id,omitempty,omitzero"`
// Hidden corresponds to the JSON schema field "hidden".
Hidden *bool `json:"hidden,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID SessionID `json:"id"`
// IsWorktree corresponds to the JSON schema field "is_worktree".
IsWorktree *bool `json:"is_worktree,omitempty,omitzero"`
// Label corresponds to the JSON schema field "label".
Label string `json:"label"`
// LastModelRequestAt corresponds to the JSON schema field
// "last_model_request_at".
LastModelRequestAt *string `json:"last_model_request_at,omitempty,omitzero"`
// LastSeen corresponds to the JSON schema field "last_seen".
LastSeen string `json:"last_seen"`
// MainRepo corresponds to the JSON schema field "main_repo".
MainRepo *string `json:"main_repo,omitempty,omitzero"`
// ParentSessionID corresponds to the JSON schema field "parent_session_id".
ParentSessionID *SessionID `json:"parent_session_id,omitempty,omitzero"`
// Priority corresponds to the JSON schema field "priority".
Priority *bool `json:"priority,omitempty,omitzero"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// PullRequests corresponds to the JSON schema field "pull_requests".
PullRequests []SessionPullRequest `json:"pull_requests,omitempty,omitzero"`
// Repository corresponds to the JSON schema field "repository".
Repository *string `json:"repository,omitempty,omitzero"`
// SeedID corresponds to the JSON schema field "seed_id".
SeedID *string `json:"seed_id,omitempty,omitzero"`
// State corresponds to the JSON schema field "state".
State SessionState `json:"state"`
// StateReason corresponds to the JSON schema field "state_reason".
StateReason *string `json:"state_reason,omitempty,omitzero"`
// StateSince corresponds to the JSON schema field "state_since".
StateSince string `json:"state_since"`
// StateUpdatedAt corresponds to the JSON schema field "state_updated_at".
StateUpdatedAt string `json:"state_updated_at"`
// Succeeds corresponds to the JSON schema field "succeeds".
Succeeds *SessionID `json:"succeeds,omitempty,omitzero"`
// TerminalBuildStale corresponds to the JSON schema field "terminal_build_stale".
TerminalBuildStale *bool `json:"terminal_build_stale,omitempty,omitzero"`
// TerminalExit corresponds to the JSON schema field "terminal_exit".
TerminalExit *TerminalExit `json:"terminal_exit,omitempty,omitzero"`
// Title corresponds to the JSON schema field "title".
Title *string `json:"title,omitempty,omitzero"`
// TurnByAgent corresponds to the JSON schema field "turn_by_agent".
TurnByAgent *bool `json:"turn_by_agent,omitempty,omitzero"`
// TurnOpenedAt corresponds to the JSON schema field "turn_opened_at".
TurnOpenedAt *string `json:"turn_opened_at,omitempty,omitzero"`
// TurnOwed corresponds to the JSON schema field "turn_owed".
TurnOwed *bool `json:"turn_owed,omitempty,omitzero"`
// TurnSnoozedUntil corresponds to the JSON schema field "turn_snoozed_until".
TurnSnoozedUntil *string `json:"turn_snoozed_until,omitempty,omitzero"`
// Usage corresponds to the JSON schema field "usage".
Usage *SessionUsage `json:"usage,omitempty,omitzero"`
}
func SessionsToValues ¶
type SessionAgent ¶
type SessionAgent = string
const ( SessionAgentClaude SessionAgent = "claude" SessionAgentCodex SessionAgent = "codex" SessionAgentCopilot SessionAgent = "copilot" SessionAgentShell SessionAgent = "shell" )
func NormalizeSessionAgent ¶
func NormalizeSessionAgent(agent, fallback SessionAgent) SessionAgent
func NormalizeSessionAgentString ¶
func NormalizeSessionAgentString(agent, fallback string) SessionAgent
type SessionAnnotation ¶ added in v0.12.0
type SessionAnnotation struct {
// Comment corresponds to the JSON schema field "comment".
Comment string `json:"comment"`
// Emoji corresponds to the JSON schema field "emoji".
Emoji *string `json:"emoji,omitempty,omitzero"`
// End corresponds to the JSON schema field "end".
End int `json:"end"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// MessageKey corresponds to the JSON schema field "message_key".
MessageKey string `json:"message_key"`
// QuickLabelID corresponds to the JSON schema field "quick_label_id".
QuickLabelID *string `json:"quick_label_id,omitempty,omitzero"`
// Quote corresponds to the JSON schema field "quote".
Quote string `json:"quote"`
// Start corresponds to the JSON schema field "start".
Start int `json:"start"`
}
type SessionAnnotationsClearMessage ¶ added in v0.12.0
type SessionAnnotationsClearMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Generation corresponds to the JSON schema field "generation".
Generation int `json:"generation"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
}
type SessionAnnotationsClearResultMessage ¶ added in v0.12.0
type SessionAnnotationsClearResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Generation corresponds to the JSON schema field "generation".
Generation int `json:"generation"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type SessionAnnotationsGetMessage ¶ added in v0.12.0
type SessionAnnotationsGetMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
}
type SessionAnnotationsGetResultMessage ¶ added in v0.12.0
type SessionAnnotationsGetResultMessage struct {
// Annotations corresponds to the JSON schema field "annotations".
Annotations []SessionAnnotation `json:"annotations"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Generation corresponds to the JSON schema field "generation".
Generation int `json:"generation"`
// Note corresponds to the JSON schema field "note".
Note *string `json:"note,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type SessionAnnotationsSaveMessage ¶ added in v0.12.0
type SessionAnnotationsSaveMessage struct {
// Annotations corresponds to the JSON schema field "annotations".
Annotations []SessionAnnotation `json:"annotations"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Generation corresponds to the JSON schema field "generation".
Generation int `json:"generation"`
// Note corresponds to the JSON schema field "note".
Note *string `json:"note,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
}
type SessionAnnotationsSaveResultMessage ¶ added in v0.12.0
type SessionAnnotationsSaveResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Generation corresponds to the JSON schema field "generation".
Generation int `json:"generation"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// Stale corresponds to the JSON schema field "stale".
Stale *bool `json:"stale,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type SessionAnnotationsSubmitMessage ¶ added in v0.12.0
type SessionAnnotationsSubmitMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// Text corresponds to the JSON schema field "text".
Text string `json:"text"`
}
type SessionAnnotationsSubmitResultMessage ¶ added in v0.12.0
type SessionAnnotationsSubmitResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// Status corresponds to the JSON schema field "status".
Status string `json:"status"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type SessionCloseResultMessage ¶ added in v0.12.0
type SessionCloseResultMessage struct {
// Accepted corresponds to the JSON schema field "accepted".
Accepted bool `json:"accepted"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
}
type SessionClosedMessage ¶ added in v0.12.0
type SessionClosedMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// SessionLedgerEntry corresponds to the JSON schema field "session_ledger_entry".
SessionLedgerEntry SessionLedgerEntry `json:"session_ledger_entry"`
}
type SessionContextWindowCapResultMessage ¶ added in v0.12.0
type SessionContextWindowCapResultMessage struct {
// Cap corresponds to the JSON schema field "cap".
Cap int `json:"cap"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type SessionDelegationRole ¶ added in v0.12.0
type SessionDelegationRole struct {
// Builtin corresponds to the JSON schema field "builtin".
Builtin *BuiltinDelegationRole `json:"builtin,omitempty,omitzero"`
// Icon corresponds to the JSON schema field "icon".
Icon *string `json:"icon,omitempty,omitzero"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
}
type SessionExitedMessage ¶
type SessionExitedMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// ExitCode corresponds to the JSON schema field "exit_code".
ExitCode int `json:"exit_code"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// Signal corresponds to the JSON schema field "signal".
Signal *string `json:"signal,omitempty,omitzero"`
}
type SessionInstructionsMessage ¶ added in v0.12.0
type SessionInstructionsMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Question corresponds to the JSON schema field "question".
Question string `json:"question"`
// TargetSessionID corresponds to the JSON schema field "target_session_id".
TargetSessionID string `json:"target_session_id"`
}
type SessionInstructionsResult ¶ added in v0.12.0
type SessionInstructionsResult struct {
// Answer corresponds to the JSON schema field "answer".
Answer string `json:"answer"`
// Evidence corresponds to the JSON schema field "evidence".
Evidence []EvidenceExcerpt `json:"evidence"`
// Model corresponds to the JSON schema field "model".
Model string `json:"model"`
// ReasoningEffort corresponds to the JSON schema field "reasoning_effort".
ReasoningEffort string `json:"reasoning_effort"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// TranscriptFingerprint corresponds to the JSON schema field
// "transcript_fingerprint".
TranscriptFingerprint string `json:"transcript_fingerprint"`
// TranscriptPath corresponds to the JSON schema field "transcript_path".
TranscriptPath string `json:"transcript_path"`
}
type SessionLedgerEntry ¶ added in v0.12.0
type SessionLedgerEntry struct {
// Agent corresponds to the JSON schema field "agent".
Agent string `json:"agent"`
// Branch corresponds to the JSON schema field "branch".
Branch *string `json:"branch,omitempty,omitzero"`
// CloseReason corresponds to the JSON schema field "close_reason".
CloseReason *string `json:"close_reason,omitempty,omitzero"`
// ClosedAt corresponds to the JSON schema field "closed_at".
ClosedAt *string `json:"closed_at,omitempty,omitzero"`
// ClosedBy corresponds to the JSON schema field "closed_by".
ClosedBy *string `json:"closed_by,omitempty,omitzero"`
// ConversationPinnedAt corresponds to the JSON schema field
// "conversation_pinned_at".
ConversationPinnedAt *string `json:"conversation_pinned_at,omitempty,omitzero"`
// Directory corresponds to the JSON schema field "directory".
Directory string `json:"directory"`
// Hidden corresponds to the JSON schema field "hidden".
Hidden *bool `json:"hidden,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID SessionID `json:"id"`
// IsWorktree corresponds to the JSON schema field "is_worktree".
IsWorktree *bool `json:"is_worktree,omitempty,omitzero"`
// Label corresponds to the JSON schema field "label".
Label string `json:"label"`
// LastSeen corresponds to the JSON schema field "last_seen".
LastSeen string `json:"last_seen"`
// MainRepo corresponds to the JSON schema field "main_repo".
MainRepo *string `json:"main_repo,omitempty,omitzero"`
// Priority corresponds to the JSON schema field "priority".
Priority *bool `json:"priority,omitempty,omitzero"`
// ProfileDeleted corresponds to the JSON schema field "profile_deleted".
ProfileDeleted *bool `json:"profile_deleted,omitempty,omitzero"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// ProfileName corresponds to the JSON schema field "profile_name".
ProfileName string `json:"profile_name"`
// Repository corresponds to the JSON schema field "repository".
Repository *string `json:"repository,omitempty,omitzero"`
// State corresponds to the JSON schema field "state".
State SessionState `json:"state"`
// TurnSnoozedUntil corresponds to the JSON schema field "turn_snoozed_until".
TurnSnoozedUntil *string `json:"turn_snoozed_until,omitempty,omitzero"`
// Usage corresponds to the JSON schema field "usage".
Usage *SessionUsage `json:"usage,omitempty,omitzero"`
}
type SessionLedgerFacet ¶ added in v0.12.0
type SessionLedgerFacets ¶ added in v0.12.0
type SessionLedgerFacets struct {
// Profiles corresponds to the JSON schema field "profiles".
Profiles []SessionLedgerProfileFacet `json:"profiles"`
// Repositories corresponds to the JSON schema field "repositories".
Repositories []SessionLedgerFacet `json:"repositories"`
}
type SessionLedgerProfileFacet ¶ added in v0.12.0
type SessionLedgerProfileFacet struct {
// Count corresponds to the JSON schema field "count".
Count int `json:"count"`
// Deleted corresponds to the JSON schema field "deleted".
Deleted *bool `json:"deleted,omitempty,omitzero"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
}
type SessionListMessage ¶ added in v0.12.0
type SessionListMessage struct {
// All corresponds to the JSON schema field "all".
All *bool `json:"all,omitempty,omitzero"`
// Before corresponds to the JSON schema field "before".
Before *string `json:"before,omitempty,omitzero"`
// Closed corresponds to the JSON schema field "closed".
Closed *bool `json:"closed,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Limit corresponds to the JSON schema field "limit".
Limit *int `json:"limit,omitempty,omitzero"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID *string `json:"profile_id,omitempty,omitzero"`
// Reopen corresponds to the JSON schema field "reopen".
Reopen *bool `json:"reopen,omitempty,omitzero"`
// Repository corresponds to the JSON schema field "repository".
Repository *string `json:"repository,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Since corresponds to the JSON schema field "since".
Since *string `json:"since,omitempty,omitzero"`
// Until corresponds to the JSON schema field "until".
Until *string `json:"until,omitempty,omitzero"`
}
type SessionListResult ¶ added in v0.12.0
type SessionListResult struct {
// Entries corresponds to the JSON schema field "entries".
Entries []SessionLedgerEntry `json:"entries"`
// Facets corresponds to the JSON schema field "facets".
Facets *SessionLedgerFacets `json:"facets,omitempty,omitzero"`
// NextBefore corresponds to the JSON schema field "next_before".
NextBefore *string `json:"next_before,omitempty,omitzero"`
// Omitted corresponds to the JSON schema field "omitted".
Omitted int `json:"omitted"`
// Reopen corresponds to the JSON schema field "reopen".
Reopen []SessionReopenEntry `json:"reopen,omitempty,omitzero"`
}
type SessionListResultMessage ¶ added in v0.12.0
type SessionListResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Result corresponds to the JSON schema field "result".
Result *SessionListResult `json:"result,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type SessionMessage ¶ added in v0.12.0
type SessionMessageWindowStatus ¶ added in v0.12.0
type SessionMessageWindowStatus string
const SessionMessageWindowStatusDiscovering SessionMessageWindowStatus = "discovering"
const SessionMessageWindowStatusReady SessionMessageWindowStatus = "ready"
type SessionMessagesChangedMessage ¶ added in v0.12.0
type SessionMessagesGetMessage ¶ added in v0.12.0
type SessionMessagesGetMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
}
type SessionMessagesGetResultMessage ¶ added in v0.12.0
type SessionMessagesGetResultMessage struct {
// Detail corresponds to the JSON schema field "detail".
Detail *string `json:"detail,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Messages corresponds to the JSON schema field "messages".
Messages []SessionMessage `json:"messages"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// Status corresponds to the JSON schema field "status".
Status SessionMessageWindowStatus `json:"status"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
// Truncated corresponds to the JSON schema field "truncated".
Truncated bool `json:"truncated"`
}
type SessionPlacement ¶ added in v0.12.0
type SessionPlacement struct {
// AnchorPaneID corresponds to the JSON schema field "anchor_pane_id".
AnchorPaneID *string `json:"anchor_pane_id,omitempty,omitzero"`
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID *string `json:"desktop_id,omitempty,omitzero"`
// Direction corresponds to the JSON schema field "direction".
Direction *LayoutSplitDirection `json:"direction,omitempty,omitzero"`
}
type SessionPullRequest ¶ added in v0.12.0
type SessionPullRequest struct {
// CIStatus corresponds to the JSON schema field "ci_status".
CIStatus *string `json:"ci_status,omitempty,omitzero"`
// CreatedAt corresponds to the JSON schema field "created_at".
CreatedAt string `json:"created_at"`
// MergeableState corresponds to the JSON schema field "mergeable_state".
MergeableState *string `json:"mergeable_state,omitempty,omitzero"`
// Number corresponds to the JSON schema field "number".
Number int `json:"number"`
// ReadinessReason corresponds to the JSON schema field "readiness_reason".
ReadinessReason *string `json:"readiness_reason,omitempty,omitzero"`
// ReadinessState corresponds to the JSON schema field "readiness_state".
ReadinessState *string `json:"readiness_state,omitempty,omitzero"`
// Repository corresponds to the JSON schema field "repository".
Repository string `json:"repository"`
// ReviewStatus corresponds to the JSON schema field "review_status".
ReviewStatus *string `json:"review_status,omitempty,omitzero"`
// SettlingUntil corresponds to the JSON schema field "settling_until".
SettlingUntil *string `json:"settling_until,omitempty,omitzero"`
// State corresponds to the JSON schema field "state".
State string `json:"state"`
// StatusFetchedAt corresponds to the JSON schema field "status_fetched_at".
StatusFetchedAt *string `json:"status_fetched_at,omitempty,omitzero"`
// Title corresponds to the JSON schema field "title".
Title *string `json:"title,omitempty,omitzero"`
// URL corresponds to the JSON schema field "url".
URL string `json:"url"`
// WatchError corresponds to the JSON schema field "watch_error".
WatchError *string `json:"watch_error,omitempty,omitzero"`
// WatchHealth corresponds to the JSON schema field "watch_health".
WatchHealth *string `json:"watch_health,omitempty,omitzero"`
// WatchLastCheckedAt corresponds to the JSON schema field
// "watch_last_checked_at".
WatchLastCheckedAt *string `json:"watch_last_checked_at,omitempty,omitzero"`
// WatchMode corresponds to the JSON schema field "watch_mode".
WatchMode *PullRequestWatchMode `json:"watch_mode,omitempty,omitzero"`
// WatchReviewer corresponds to the JSON schema field "watch_reviewer".
WatchReviewer *string `json:"watch_reviewer,omitempty,omitzero"`
// Watching corresponds to the JSON schema field "watching".
Watching *bool `json:"watching,omitempty,omitzero"`
}
type SessionReopen ¶ added in v0.12.0
type SessionReopen struct {
// Actions corresponds to the JSON schema field "actions".
Actions []SessionReopenAction `json:"actions"`
// BranchState corresponds to the JSON schema field "branch_state".
BranchState *string `json:"branch_state,omitempty,omitzero"`
// DirectoryState corresponds to the JSON schema field "directory_state".
DirectoryState string `json:"directory_state"`
// ProfileDeleted corresponds to the JSON schema field "profile_deleted".
ProfileDeleted bool `json:"profile_deleted"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// Reason corresponds to the JSON schema field "reason".
Reason *string `json:"reason,omitempty,omitzero"`
// Reopenable corresponds to the JSON schema field "reopenable".
Reopenable bool `json:"reopenable"`
// Warning corresponds to the JSON schema field "warning".
Warning *string `json:"warning,omitempty,omitzero"`
}
type SessionReopenAction ¶ added in v0.12.0
type SessionReopenAction string
const SessionReopenActionFetchRecreateAndReopen SessionReopenAction = "fetch_recreate_and_reopen"
const SessionReopenActionRecreateWorktreeAndReopen SessionReopenAction = "recreate_worktree_and_reopen"
const SessionReopenActionReopen SessionReopenAction = "reopen"
type SessionReopenEntry ¶ added in v0.12.0
type SessionReopenEntry struct {
// Reopen corresponds to the JSON schema field "reopen".
Reopen SessionReopen `json:"reopen"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
}
type SessionReopenMessage ¶ added in v0.12.0
type SessionReopenMessage struct {
// Action corresponds to the JSON schema field "action".
Action *SessionReopenAction `json:"action,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
}
type SessionReopenResult ¶ added in v0.12.0
type SessionReopenResult struct {
// Action corresponds to the JSON schema field "action".
Action SessionReopenAction `json:"action"`
// AlreadyRunning corresponds to the JSON schema field "already_running".
AlreadyRunning *bool `json:"already_running,omitempty,omitzero"`
// Directory corresponds to the JSON schema field "directory".
Directory string `json:"directory"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// WorktreeCreated corresponds to the JSON schema field "worktree_created".
WorktreeCreated *string `json:"worktree_created,omitempty,omitzero"`
}
type SessionReopenResultMessage ¶ added in v0.12.0
type SessionReopenResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// Reopen corresponds to the JSON schema field "reopen".
Reopen *SessionReopen `json:"reopen,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Result corresponds to the JSON schema field "result".
Result *SessionReopenResult `json:"result,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type SessionShowMessage ¶ added in v0.12.0
type SessionShowMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
}
type SessionShowResult ¶ added in v0.12.0
type SessionShowResult struct {
// Entry corresponds to the JSON schema field "entry".
Entry SessionLedgerEntry `json:"entry"`
// Reopen corresponds to the JSON schema field "reopen".
Reopen *SessionReopen `json:"reopen,omitempty,omitzero"`
}
type SessionShowResultMessage ¶ added in v0.12.0
type SessionShowResultMessage struct {
// Entry corresponds to the JSON schema field "entry".
Entry *SessionLedgerEntry `json:"entry,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type SessionState ¶
type SessionState string
const SessionStateIdle SessionState = "idle"
const SessionStateLaunching SessionState = "launching"
const SessionStatePendingApproval SessionState = "pending_approval"
const SessionStateRecoverable SessionState = "recoverable"
const SessionStateScheduled SessionState = "scheduled"
const SessionStateUnknown SessionState = "unknown"
const SessionStateWaitingInput SessionState = "waiting_input"
const SessionStateWorking SessionState = "working"
type SessionTranscriptEvent ¶ added in v0.12.0
type SessionTranscriptEvent struct {
// Cursor corresponds to the JSON schema field "cursor".
Cursor string `json:"cursor"`
// IsError corresponds to the JSON schema field "is_error".
IsError *bool `json:"is_error,omitempty,omitzero"`
// Kind corresponds to the JSON schema field "kind".
Kind string `json:"kind"`
// Role corresponds to the JSON schema field "role".
Role *string `json:"role,omitempty,omitzero"`
// Text corresponds to the JSON schema field "text".
Text *string `json:"text,omitempty,omitzero"`
// Timestamp corresponds to the JSON schema field "timestamp".
Timestamp *string `json:"timestamp,omitempty,omitzero"`
// ToolCallID corresponds to the JSON schema field "tool_call_id".
ToolCallID *string `json:"tool_call_id,omitempty,omitzero"`
// ToolName corresponds to the JSON schema field "tool_name".
ToolName *string `json:"tool_name,omitempty,omitzero"`
}
type SessionTranscriptMessage ¶ added in v0.12.0
type SessionTranscriptMessage struct {
// AfterCursor corresponds to the JSON schema field "after_cursor".
AfterCursor *string `json:"after_cursor,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// TargetSessionID corresponds to the JSON schema field "target_session_id".
TargetSessionID string `json:"target_session_id"`
}
type SessionTranscriptResult ¶ added in v0.12.0
type SessionTranscriptResult struct {
// AtEnd corresponds to the JSON schema field "at_end".
AtEnd bool `json:"at_end"`
// Events corresponds to the JSON schema field "events".
Events []SessionTranscriptEvent `json:"events"`
// NextCursor corresponds to the JSON schema field "next_cursor".
NextCursor string `json:"next_cursor"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
}
type SessionUsage ¶ added in v0.12.0
type SessionUsage struct {
// CostUsd corresponds to the JSON schema field "cost_usd".
CostUsd *float64 `json:"cost_usd,omitempty,omitzero"`
// HasUnpricedUsage corresponds to the JSON schema field "has_unpriced_usage".
HasUnpricedUsage bool `json:"has_unpriced_usage"`
// MeasurementIncomplete corresponds to the JSON schema field
// "measurement_incomplete".
MeasurementIncomplete *bool `json:"measurement_incomplete,omitempty,omitzero"`
// Models corresponds to the JSON schema field "models".
Models []SessionUsageModel `json:"models"`
// TotalTokens corresponds to the JSON schema field "total_tokens".
TotalTokens int `json:"total_tokens"`
}
type SessionUsageModel ¶ added in v0.12.0
type SessionUsageModel struct {
// CacheReadTokens corresponds to the JSON schema field "cache_read_tokens".
CacheReadTokens int `json:"cache_read_tokens"`
// CacheWrite1HTokens corresponds to the JSON schema field
// "cache_write_1h_tokens".
CacheWrite1HTokens int `json:"cache_write_1h_tokens"`
// CacheWrite5MTokens corresponds to the JSON schema field
// "cache_write_5m_tokens".
CacheWrite5MTokens int `json:"cache_write_5m_tokens"`
// CacheWriteUnclassifiedTokens corresponds to the JSON schema field
// "cache_write_unclassified_tokens".
CacheWriteUnclassifiedTokens int `json:"cache_write_unclassified_tokens"`
// CostUsd corresponds to the JSON schema field "cost_usd".
CostUsd *float64 `json:"cost_usd,omitempty,omitzero"`
// HasUnpricedUsage corresponds to the JSON schema field "has_unpriced_usage".
HasUnpricedUsage bool `json:"has_unpriced_usage"`
// InputTokens corresponds to the JSON schema field "input_tokens".
InputTokens int `json:"input_tokens"`
// Model corresponds to the JSON schema field "model".
Model string `json:"model"`
// OutputTokens corresponds to the JSON schema field "output_tokens".
OutputTokens int `json:"output_tokens"`
// Purpose corresponds to the JSON schema field "purpose".
Purpose string `json:"purpose"`
// TotalTokens corresponds to the JSON schema field "total_tokens".
TotalTokens int `json:"total_tokens"`
// UnpricedReason corresponds to the JSON schema field "unpriced_reason".
UnpricedReason *string `json:"unpriced_reason,omitempty,omitzero"`
}
type SessionsUpdatedMessage ¶
type SetChiefOfStaffMessage ¶ added in v0.12.0
type SetChiefOfStaffMessage struct {
// ChiefOfStaff corresponds to the JSON schema field "chief_of_staff".
ChiefOfStaff bool `json:"chief_of_staff"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
}
type SetClientPresenceMessage ¶ added in v0.12.0
type SetClientPresenceMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// DashboardVisible corresponds to the JSON schema field "dashboard_visible".
DashboardVisible bool `json:"dashboard_visible"`
// IdleSeconds corresponds to the JSON schema field "idle_seconds".
IdleSeconds *float64 `json:"idle_seconds,omitempty,omitzero"`
// Visible corresponds to the JSON schema field "visible".
Visible bool `json:"visible"`
}
type SetPluginPriorityMessage ¶ added in v0.10.0
type SetSessionContextWindowCapMessage ¶ added in v0.12.0
type SetSessionContextWindowCapMessage struct {
// Cap corresponds to the JSON schema field "cap".
Cap int `json:"cap"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
}
type SetSessionPriorityMessage ¶ added in v0.12.0
type SetSessionPriorityMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Priority corresponds to the JSON schema field "priority".
Priority bool `json:"priority"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
}
type SetSessionResumeIDMessage ¶ added in v0.3.0
type SetSessionResumeIDMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
// ResumeSessionID corresponds to the JSON schema field "resume_session_id".
ResumeSessionID string `json:"resume_session_id"`
// TranscriptPath corresponds to the JSON schema field "transcript_path".
TranscriptPath *string `json:"transcript_path,omitempty,omitzero"`
}
type SetSettingMessage ¶
type SetSettingMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Key corresponds to the JSON schema field "key".
Key string `json:"key"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Value corresponds to the JSON schema field "value".
Value string `json:"value"`
}
type SetTerminalThemeMessage ¶ added in v0.12.0
type SetTerminalThemeMessage struct {
// AnsiPalette corresponds to the JSON schema field "ansi_palette".
AnsiPalette []string `json:"ansi_palette"`
// Background corresponds to the JSON schema field "background".
Background string `json:"background"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Cursor corresponds to the JSON schema field "cursor".
Cursor string `json:"cursor"`
// Foreground corresponds to the JSON schema field "foreground".
Foreground string `json:"foreground"`
}
type SettingEntry ¶ added in v0.13.0
type SettingEntry struct {
// Description corresponds to the JSON schema field "description".
Description string `json:"description"`
// Family corresponds to the JSON schema field "family".
Family *bool `json:"family,omitempty,omitzero"`
// Key corresponds to the JSON schema field "key".
Key string `json:"key"`
// ReadOnly corresponds to the JSON schema field "read_only".
ReadOnly *bool `json:"read_only,omitempty,omitzero"`
// Scope corresponds to the JSON schema field "scope".
Scope SettingScope `json:"scope"`
// Value corresponds to the JSON schema field "value".
Value *string `json:"value,omitempty,omitzero"`
}
type SettingScope ¶ added in v0.13.0
type SettingScope string
const SettingScopeDaemon SettingScope = "daemon"
type SettingsListResult ¶ added in v0.13.0
type SettingsListResult struct {
// Entries corresponds to the JSON schema field "entries".
Entries []SettingEntry `json:"entries"`
}
type SettingsUpdatedMessage ¶
type SettingsUpdatedMessage struct {
// ChangedKey corresponds to the JSON schema field "changed_key".
ChangedKey *string `json:"changed_key,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Settings corresponds to the JSON schema field "settings".
Settings RecordString `json:"settings,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success *bool `json:"success,omitempty,omitzero"`
}
type SettleTurnMessage ¶ added in v0.12.0
type SharedCodexChangedMessage ¶ added in v0.13.0
type SharedCodexChangedMessage struct {
Event string `json:"event"`
ProfileID string `json:"profile_id"`
SharedCodex *SharedCodexState `json:"shared_codex,omitempty,omitzero"`
}
type SharedCodexState ¶ added in v0.13.0
type SharedCodexState struct {
InstalledVersion *string `json:"installed_version,omitempty,omitzero"`
LatestVersion *string `json:"latest_version,omitempty,omitzero"`
Restart SharedCodexRestart `json:"restart"`
RunningVersion *string `json:"running_version,omitempty,omitzero"`
StaleSessions []SessionID `json:"stale_sessions,omitempty,omitzero"`
}
type SnoozeTurnMessage ¶ added in v0.12.0
type SnoozeTurnMessage struct {
// CallerSessionID corresponds to the JSON schema field "caller_session_id".
CallerSessionID *SessionID `json:"caller_session_id,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// Until corresponds to the JSON schema field "until".
Until string `json:"until"`
}
type SpawnResultMessage ¶
type SpawnResultMessage struct {
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID *string `json:"desktop_id,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// ID corresponds to the JSON schema field "id".
ID SessionID `json:"id"`
// PaneID corresponds to the JSON schema field "pane_id".
PaneID *string `json:"pane_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type SpawnSessionMessage ¶
type SpawnSessionMessage struct {
// Agent corresponds to the JSON schema field "agent".
Agent string `json:"agent"`
// ApprovalPolicy corresponds to the JSON schema field "approval_policy".
ApprovalPolicy *string `json:"approval_policy,omitempty,omitzero"`
// AutoMode corresponds to the JSON schema field "auto_mode".
AutoMode *bool `json:"auto_mode,omitempty,omitzero"`
// ChiefOfStaff corresponds to the JSON schema field "chief_of_staff".
ChiefOfStaff *bool `json:"chief_of_staff,omitempty,omitzero"`
// ClaudeExecutable corresponds to the JSON schema field "claude_executable".
ClaudeExecutable *string `json:"claude_executable,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// CodexExecutable corresponds to the JSON schema field "codex_executable".
CodexExecutable *string `json:"codex_executable,omitempty,omitzero"`
// Cols corresponds to the JSON schema field "cols".
Cols int `json:"cols"`
// CopilotExecutable corresponds to the JSON schema field "copilot_executable".
CopilotExecutable *string `json:"copilot_executable,omitempty,omitzero"`
// Cwd corresponds to the JSON schema field "cwd".
Cwd string `json:"cwd"`
// Effort corresponds to the JSON schema field "effort".
Effort *string `json:"effort,omitempty,omitzero"`
// Executable corresponds to the JSON schema field "executable".
Executable *string `json:"executable,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID SessionID `json:"id"`
// InitialPrompt corresponds to the JSON schema field "initial_prompt".
InitialPrompt *string `json:"initial_prompt,omitempty,omitzero"`
// Label corresponds to the JSON schema field "label".
Label *string `json:"label,omitempty,omitzero"`
// Model corresponds to the JSON schema field "model".
Model *string `json:"model,omitempty,omitzero"`
// Placement corresponds to the JSON schema field "placement".
Placement *SessionPlacement `json:"placement,omitempty,omitzero"`
// Priority corresponds to the JSON schema field "priority".
Priority *bool `json:"priority,omitempty,omitzero"`
// ProfileID corresponds to the JSON schema field "profile_id".
ProfileID string `json:"profile_id"`
// ResumePicker corresponds to the JSON schema field "resume_picker".
ResumePicker *bool `json:"resume_picker,omitempty,omitzero"`
// ResumeSessionID corresponds to the JSON schema field "resume_session_id".
ResumeSessionID *string `json:"resume_session_id,omitempty,omitzero"`
// Rows corresponds to the JSON schema field "rows".
Rows int `json:"rows"`
// SandboxMode corresponds to the JSON schema field "sandbox_mode".
SandboxMode *string `json:"sandbox_mode,omitempty,omitzero"`
// SpawnedFrom corresponds to the JSON schema field "spawned_from".
SpawnedFrom *SessionID `json:"spawned_from,omitempty,omitzero"`
// YoloMode corresponds to the JSON schema field "yolo_mode".
YoloMode *bool `json:"yolo_mode,omitempty,omitzero"`
}
type StateExplainEntry ¶ added in v0.12.0
type StateExplainEntry struct {
// Cause corresponds to the JSON schema field "cause".
Cause *string `json:"cause,omitempty,omitzero"`
// Claim corresponds to the JSON schema field "claim".
Claim string `json:"claim"`
// Detail corresponds to the JSON schema field "detail".
Detail *string `json:"detail,omitempty,omitzero"`
// ObservedAt corresponds to the JSON schema field "observed_at".
ObservedAt string `json:"observed_at"`
// Outcome corresponds to the JSON schema field "outcome".
Outcome string `json:"outcome"`
// Reason corresponds to the JSON schema field "reason".
Reason *string `json:"reason,omitempty,omitzero"`
// RecordedAt corresponds to the JSON schema field "recorded_at".
RecordedAt string `json:"recorded_at"`
// Repeats corresponds to the JSON schema field "repeats".
Repeats *int `json:"repeats,omitempty,omitzero"`
// Source corresponds to the JSON schema field "source".
Source string `json:"source"`
}
type StateExplainMessage ¶ added in v0.12.0
type StateExplainResult ¶ added in v0.12.0
type StateExplainResult struct {
// Agent corresponds to the JSON schema field "agent".
Agent string `json:"agent"`
// Capacity corresponds to the JSON schema field "capacity".
Capacity int `json:"capacity"`
// LastModelRequestAt corresponds to the JSON schema field
// "last_model_request_at".
LastModelRequestAt *string `json:"last_model_request_at,omitempty,omitzero"`
// Observations corresponds to the JSON schema field "observations".
Observations []StateExplainEntry `json:"observations"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// State corresponds to the JSON schema field "state".
State string `json:"state"`
// StateSince corresponds to the JSON schema field "state_since".
StateSince *string `json:"state_since,omitempty,omitzero"`
}
type StateMessage ¶
type StateMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// HookEvent corresponds to the JSON schema field "hook_event".
HookEvent *string `json:"hook_event,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
// PermissionMode corresponds to the JSON schema field "permission_mode".
PermissionMode *string `json:"permission_mode,omitempty,omitzero"`
// Prompt corresponds to the JSON schema field "prompt".
Prompt *string `json:"prompt,omitempty,omitzero"`
// State corresponds to the JSON schema field "state".
State string `json:"state"`
}
type StopBackgroundTask ¶ added in v0.12.0
type StopMessage ¶
type StopMessage struct {
// BackgroundTasks corresponds to the JSON schema field "background_tasks".
BackgroundTasks []StopBackgroundTask `json:"background_tasks,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
// PendingSessionCrons corresponds to the JSON schema field
// "pending_session_crons".
PendingSessionCrons *int `json:"pending_session_crons,omitempty,omitzero"`
// TranscriptPath corresponds to the JSON schema field "transcript_path".
TranscriptPath string `json:"transcript_path"`
}
type StoredDocument ¶ added in v0.12.0
type StoredDocument struct {
// Body corresponds to the JSON schema field "body".
Body string `json:"body"`
// CreatedAt corresponds to the JSON schema field "created_at".
CreatedAt string `json:"created_at"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Rev corresponds to the JSON schema field "rev".
Rev int `json:"rev"`
// UpdatedAt corresponds to the JSON schema field "updated_at".
UpdatedAt string `json:"updated_at"`
}
type SupportInputTrace ¶ added in v0.12.0
type SupportInputTrace struct {
// ByteCount corresponds to the JSON schema field "byte_count".
ByteCount int `json:"byte_count"`
// ErrorClass corresponds to the JSON schema field "error_class".
ErrorClass *string `json:"error_class,omitempty,omitzero"`
// ReceivedAtUnixMs corresponds to the JSON schema field "received_at_unix_ms".
ReceivedAtUnixMs int `json:"received_at_unix_ms"`
// RuntimeID corresponds to the JSON schema field "runtime_id".
RuntimeID TerminalID `json:"runtime_id"`
// Sequence corresponds to the JSON schema field "sequence".
Sequence int `json:"sequence"`
// Source corresponds to the JSON schema field "source".
Source string `json:"source"`
// TraceID corresponds to the JSON schema field "trace_id".
TraceID string `json:"trace_id"`
// WriteDurationUs corresponds to the JSON schema field "write_duration_us".
WriteDurationUs int `json:"write_duration_us"`
// WriteResult corresponds to the JSON schema field "write_result".
WriteResult string `json:"write_result"`
}
type SupportRuntimeEvidence ¶ added in v0.12.0
type SupportRuntimeEvidence struct {
// Attached corresponds to the JSON schema field "attached".
Attached bool `json:"attached"`
// Backend corresponds to the JSON schema field "backend".
Backend string `json:"backend"`
// Cols corresponds to the JSON schema field "cols".
Cols *int `json:"cols,omitempty,omitzero"`
// InfoErrorClass corresponds to the JSON schema field "info_error_class".
InfoErrorClass *string `json:"info_error_class,omitempty,omitzero"`
// LastSeq corresponds to the JSON schema field "last_seq".
LastSeq *int `json:"last_seq,omitempty,omitzero"`
// Pid corresponds to the JSON schema field "pid".
Pid *int `json:"pid,omitempty,omitzero"`
// Rows corresponds to the JSON schema field "rows".
Rows *int `json:"rows,omitempty,omitzero"`
// Running corresponds to the JSON schema field "running".
Running *bool `json:"running,omitempty,omitzero"`
// RuntimeID corresponds to the JSON schema field "runtime_id".
RuntimeID TerminalID `json:"runtime_id"`
// State corresponds to the JSON schema field "state".
State *string `json:"state,omitempty,omitzero"`
// TerminalBuild corresponds to the JSON schema field "terminal_build".
TerminalBuild *string `json:"terminal_build,omitempty,omitzero"`
// TerminalBuildKnown corresponds to the JSON schema field "terminal_build_known".
TerminalBuildKnown bool `json:"terminal_build_known"`
}
type SupportSnapshotMessage ¶ added in v0.12.0
type SupportSnapshotMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// RuntimeIds corresponds to the JSON schema field "runtime_ids".
RuntimeIds []TerminalID `json:"runtime_ids,omitempty,omitzero"`
}
type SupportSnapshotResultMessage ¶ added in v0.12.0
type SupportSnapshotResultMessage struct {
// Backend corresponds to the JSON schema field "backend".
Backend string `json:"backend"`
// CapturedAtUnixMs corresponds to the JSON schema field "captured_at_unix_ms".
CapturedAtUnixMs int `json:"captured_at_unix_ms"`
// DaemonInstanceID corresponds to the JSON schema field "daemon_instance_id".
DaemonInstanceID string `json:"daemon_instance_id"`
// DaemonStartedAtUnixMs corresponds to the JSON schema field
// "daemon_started_at_unix_ms".
DaemonStartedAtUnixMs int `json:"daemon_started_at_unix_ms"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// InputTraces corresponds to the JSON schema field "input_traces".
InputTraces []SupportInputTrace `json:"input_traces"`
// ProtocolVersion corresponds to the JSON schema field "protocol_version".
ProtocolVersion string `json:"protocol_version"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Runtimes corresponds to the JSON schema field "runtimes".
Runtimes []SupportRuntimeEvidence `json:"runtimes"`
// TraceCapacity corresponds to the JSON schema field "trace_capacity".
TraceCapacity int `json:"trace_capacity"`
// TraceTotal corresponds to the JSON schema field "trace_total".
TraceTotal int `json:"trace_total"`
// WarningCodes corresponds to the JSON schema field "warning_codes".
WarningCodes []string `json:"warning_codes"`
}
type Task ¶ added in v0.12.0
type Task struct {
// Attempts corresponds to the JSON schema field "attempts".
Attempts int `json:"attempts"`
// CreatedAt corresponds to the JSON schema field "created_at".
CreatedAt string `json:"created_at"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Kind corresponds to the JSON schema field "kind".
Kind string `json:"kind"`
// LastDiagnostic corresponds to the JSON schema field "last_diagnostic".
LastDiagnostic *string `json:"last_diagnostic,omitempty,omitzero"`
// LastError corresponds to the JSON schema field "last_error".
LastError *string `json:"last_error,omitempty,omitzero"`
// NextAttemptAt corresponds to the JSON schema field "next_attempt_at".
NextAttemptAt string `json:"next_attempt_at"`
// State corresponds to the JSON schema field "state".
State string `json:"state"`
// Subject corresponds to the JSON schema field "subject".
Subject string `json:"subject"`
// UpdatedAt corresponds to the JSON schema field "updated_at".
UpdatedAt string `json:"updated_at"`
}
type TaskListMessage ¶ added in v0.12.0
type TaskListResultMessage ¶ added in v0.12.0
type TaskListResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
// Tasks corresponds to the JSON schema field "tasks".
Tasks []Task `json:"tasks,omitempty,omitzero"`
}
type TaskRetryMessage ¶ added in v0.12.0
type TaskRetryMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// TaskID corresponds to the JSON schema field "task_id".
TaskID string `json:"task_id"`
}
type TaskRetryResultMessage ¶ added in v0.12.0
type TaskRetryResultMessage struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID string `json:"request_id"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
// Task corresponds to the JSON schema field "task".
Task *Task `json:"task,omitempty,omitzero"`
}
type TasksChangedMessage ¶ added in v0.12.0
type TasksChangedMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
}
type TerminalBinding ¶ added in v0.12.0
type TerminalBinding struct {
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// TerminalID corresponds to the JSON schema field "terminal_id".
TerminalID TerminalID `json:"terminal_id"`
}
type TerminalBindingsUpdatedMessage ¶ added in v0.12.0
type TerminalBindingsUpdatedMessage struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// TerminalBindings corresponds to the JSON schema field "terminal_bindings".
TerminalBindings []TerminalBinding `json:"terminal_bindings"`
}
type TerminalBlock ¶ added in v0.13.0
type TerminalBlock struct {
// Command corresponds to the JSON schema field "command".
Command *string `json:"command,omitempty,omitzero"`
// ExitCode corresponds to the JSON schema field "exit_code".
ExitCode *int `json:"exit_code,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// Output corresponds to the JSON schema field "output".
Output string `json:"output"`
}
type TerminalCloseMessage ¶ added in v0.13.0
type TerminalCloseMessage struct {
// CallerSessionID corresponds to the JSON schema field "caller_session_id".
CallerSessionID SessionID `json:"caller_session_id"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Desktop corresponds to the JSON schema field "desktop".
Desktop *string `json:"desktop,omitempty,omitzero"`
// Target corresponds to the JSON schema field "target".
Target string `json:"target"`
}
type TerminalDirection ¶ added in v0.13.0
type TerminalDirection string
const TerminalDirectionDown TerminalDirection = "down"
const TerminalDirectionRight TerminalDirection = "right"
type TerminalEntry ¶ added in v0.13.0
type TerminalEntry struct {
// Agent corresponds to the JSON schema field "agent".
Agent string `json:"agent"`
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID string `json:"desktop_id"`
// DesktopLabel corresponds to the JSON schema field "desktop_label".
DesktopLabel string `json:"desktop_label"`
// Name corresponds to the JSON schema field "name".
Name string `json:"name"`
// OpenedBy corresponds to the JSON schema field "opened_by".
OpenedBy *SessionID `json:"opened_by,omitempty,omitzero"`
// Position corresponds to the JSON schema field "position".
Position *string `json:"position,omitempty,omitzero"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// ShortID corresponds to the JSON schema field "short_id".
ShortID string `json:"short_id"`
// State corresponds to the JSON schema field "state".
State SessionState `json:"state"`
// TerminalID corresponds to the JSON schema field "terminal_id".
TerminalID TerminalID `json:"terminal_id"`
}
type TerminalExit ¶ added in v0.13.0
type TerminalID ¶ added in v0.12.0
type TerminalID string
func DecodePtyOutputFrame ¶ added in v0.12.0
func DecodePtyOutputFrame(frame []byte) (terminalID TerminalID, seq uint32, data []byte, err error)
type TerminalInputMessage ¶ added in v0.13.0
type TerminalInputMessage struct {
// CallerSessionID corresponds to the JSON schema field "caller_session_id".
CallerSessionID SessionID `json:"caller_session_id"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Data corresponds to the JSON schema field "data".
Data string `json:"data"`
// Desktop corresponds to the JSON schema field "desktop".
Desktop *string `json:"desktop,omitempty,omitzero"`
// Run corresponds to the JSON schema field "run".
Run *bool `json:"run,omitempty,omitzero"`
// Target corresponds to the JSON schema field "target".
Target string `json:"target"`
// Wait corresponds to the JSON schema field "wait".
Wait *bool `json:"wait,omitempty,omitzero"`
}
type TerminalInputResult ¶ added in v0.13.0
type TerminalInputResult struct {
// LastBlockID corresponds to the JSON schema field "last_block_id".
LastBlockID *string `json:"last_block_id,omitempty,omitzero"`
// TerminalID corresponds to the JSON schema field "terminal_id".
TerminalID TerminalID `json:"terminal_id"`
}
type TerminalListMessage ¶ added in v0.13.0
type TerminalListMessage struct {
// All corresponds to the JSON schema field "all".
All *bool `json:"all,omitempty,omitzero"`
// CallerSessionID corresponds to the JSON schema field "caller_session_id".
CallerSessionID SessionID `json:"caller_session_id"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Desktop corresponds to the JSON schema field "desktop".
Desktop *string `json:"desktop,omitempty,omitzero"`
}
type TerminalOpenMessage ¶ added in v0.13.0
type TerminalOpenMessage struct {
// CallerSessionID corresponds to the JSON schema field "caller_session_id".
CallerSessionID SessionID `json:"caller_session_id"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Command corresponds to the JSON schema field "command".
Command *string `json:"command,omitempty,omitzero"`
// Cwd corresponds to the JSON schema field "cwd".
Cwd *string `json:"cwd,omitempty,omitzero"`
// Desktop corresponds to the JSON schema field "desktop".
Desktop *string `json:"desktop,omitempty,omitzero"`
// Direction corresponds to the JSON schema field "direction".
Direction *TerminalDirection `json:"direction,omitempty,omitzero"`
}
type TerminalOpenResult ¶ added in v0.13.0
type TerminalOpenResult struct {
// DesktopID corresponds to the JSON schema field "desktop_id".
DesktopID string `json:"desktop_id"`
// PaneID corresponds to the JSON schema field "pane_id".
PaneID string `json:"pane_id"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
// TerminalID corresponds to the JSON schema field "terminal_id".
TerminalID TerminalID `json:"terminal_id"`
}
type TerminalPointerActivityMessage ¶ added in v0.12.0
type TerminalPointerActivityMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ID corresponds to the JSON schema field "id".
ID TerminalID `json:"id"`
}
type TerminalReadMessage ¶ added in v0.13.0
type TerminalReadMessage struct {
// CallerSessionID corresponds to the JSON schema field "caller_session_id".
CallerSessionID SessionID `json:"caller_session_id"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Lines corresponds to the JSON schema field "lines".
Lines *int `json:"lines,omitempty,omitzero"`
// Mode corresponds to the JSON schema field "mode".
Mode TerminalReadMode `json:"mode"`
// Target corresponds to the JSON schema field "target".
Target string `json:"target"`
}
type TerminalReadMode ¶ added in v0.13.0
type TerminalReadMode string
const TerminalReadModeLast TerminalReadMode = "last"
const TerminalReadModeScreen TerminalReadMode = "screen"
const TerminalReadModeScrollback TerminalReadMode = "scrollback"
type TerminalReadResult ¶ added in v0.13.0
type TerminalReadResult struct {
// Block corresponds to the JSON schema field "block".
Block *TerminalBlock `json:"block,omitempty,omitzero"`
// Text corresponds to the JSON schema field "text".
Text string `json:"text"`
}
type TerminalWaitMessage ¶ added in v0.13.0
type TerminalWaitMessage struct {
// AfterBlockID corresponds to the JSON schema field "after_block_id".
AfterBlockID *string `json:"after_block_id,omitempty,omitzero"`
// CallerSessionID corresponds to the JSON schema field "caller_session_id".
CallerSessionID SessionID `json:"caller_session_id"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Target corresponds to the JSON schema field "target".
Target string `json:"target"`
// Until corresponds to the JSON schema field "until".
Until TerminalWaitUntil `json:"until"`
}
type TerminalWaitResult ¶ added in v0.13.0
type TerminalWaitResult struct {
// Block corresponds to the JSON schema field "block".
Block *TerminalBlock `json:"block,omitempty,omitzero"`
// ExitCode corresponds to the JSON schema field "exit_code".
ExitCode *int `json:"exit_code,omitempty,omitzero"`
// Exited corresponds to the JSON schema field "exited".
Exited *bool `json:"exited,omitempty,omitzero"`
}
type TerminalWaitUntil ¶ added in v0.13.0
type TerminalWaitUntil string
const TerminalWaitUntilExit TerminalWaitUntil = "exit"
const TerminalWaitUntilPrompt TerminalWaitUntil = "prompt"
type TierDefaults ¶ added in v0.13.0
type TierDefaults struct {
// Deep corresponds to the JSON schema field "deep".
Deep *string `json:"deep,omitempty,omitzero"`
// Light corresponds to the JSON schema field "light".
Light *string `json:"light,omitempty,omitzero"`
// Standard corresponds to the JSON schema field "standard".
Standard *string `json:"standard,omitempty,omitzero"`
}
type Timestamp ¶
type Timestamp string
func NewTimestamp ¶
func TimestampNow ¶
func TimestampNow() Timestamp
type UninstallPluginMessage ¶ added in v0.12.0
type UnregisterMessage ¶
type UnregisterMessage struct {
// CloseReason corresponds to the JSON schema field "close_reason".
CloseReason *string `json:"close_reason,omitempty,omitzero"`
// ClosedBy corresponds to the JSON schema field "closed_by".
ClosedBy *string `json:"closed_by,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// ID corresponds to the JSON schema field "id".
ID SessionID `json:"id"`
}
type WakeTurnMessage ¶ added in v0.12.0
type WakeTurnMessage struct {
// CallerSessionID corresponds to the JSON schema field "caller_session_id".
CallerSessionID *SessionID `json:"caller_session_id,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID SessionID `json:"session_id"`
}
type WebSocketEvent ¶
type WebSocketEvent struct {
// Action corresponds to the JSON schema field "action".
Action *string `json:"action,omitempty,omitzero"`
// Authors corresponds to the JSON schema field "authors".
Authors []AuthorState `json:"authors,omitempty,omitzero"`
// BaseRef corresponds to the JSON schema field "base_ref".
BaseRef *string `json:"base_ref,omitempty,omitzero"`
// Branch corresponds to the JSON schema field "branch".
Branch *string `json:"branch,omitempty,omitzero"`
// Branches corresponds to the JSON schema field "branches".
Branches []Branch `json:"branches,omitempty,omitzero"`
// ChiefOfStaff corresponds to the JSON schema field "chief_of_staff".
ChiefOfStaff *bool `json:"chief_of_staff,omitempty,omitzero"`
// Cloned corresponds to the JSON schema field "cloned".
Cloned *bool `json:"cloned,omitempty,omitzero"`
// Cmd corresponds to the JSON schema field "cmd".
Cmd *string `json:"cmd,omitempty,omitzero"`
// Cols corresponds to the JSON schema field "cols".
Cols *int `json:"cols,omitempty,omitzero"`
// Conflict corresponds to the JSON schema field "conflict".
Conflict *bool `json:"conflict,omitempty,omitzero"`
// Content corresponds to the JSON schema field "content".
Content *string `json:"content,omitempty,omitzero"`
// Data corresponds to the JSON schema field "data".
Data *string `json:"data,omitempty,omitzero"`
// Directory corresponds to the JSON schema field "directory".
Directory *string `json:"directory,omitempty,omitzero"`
// Dirty corresponds to the JSON schema field "dirty".
Dirty *bool `json:"dirty,omitempty,omitzero"`
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// ErrorCode corresponds to the JSON schema field "error_code".
ErrorCode *string `json:"error_code,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// ExitCode corresponds to the JSON schema field "exit_code".
ExitCode *int `json:"exit_code,omitempty,omitzero"`
// Found corresponds to the JSON schema field "found".
Found *bool `json:"found,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID *string `json:"id,omitempty,omitzero"`
// KeptConversationListResult corresponds to the JSON schema field
// "kept_conversation_list_result".
KeptConversationListResult *KeptConversationListResult `json:"kept_conversation_list_result,omitempty,omitzero"`
// LastSeq corresponds to the JSON schema field "last_seq".
LastSeq *int `json:"last_seq,omitempty,omitzero"`
// Modified corresponds to the JSON schema field "modified".
Modified *string `json:"modified,omitempty,omitzero"`
// Name corresponds to the JSON schema field "name".
Name *string `json:"name,omitempty,omitzero"`
// Operation corresponds to the JSON schema field "operation".
Operation *GitOperation `json:"operation,omitempty,omitzero"`
// Original corresponds to the JSON schema field "original".
Original *string `json:"original,omitempty,omitzero"`
// PaneID corresponds to the JSON schema field "pane_id".
PaneID *string `json:"pane_id,omitempty,omitzero"`
// Path corresponds to the JSON schema field "path".
Path *string `json:"path,omitempty,omitzero"`
// Pid corresponds to the JSON schema field "pid".
Pid *int `json:"pid,omitempty,omitzero"`
// PluginIssues corresponds to the JSON schema field "plugin_issues".
PluginIssues []PluginIssue `json:"plugin_issues,omitempty,omitzero"`
// Plugins corresponds to the JSON schema field "plugins".
Plugins []PluginInfo `json:"plugins,omitempty,omitzero"`
// PreviousSessionID corresponds to the JSON schema field "previous_session_id".
PreviousSessionID *SessionID `json:"previous_session_id,omitempty,omitzero"`
// Priority corresponds to the JSON schema field "priority".
Priority *int `json:"priority,omitempty,omitzero"`
// ProbeID corresponds to the JSON schema field "probe_id".
ProbeID *string `json:"probe_id,omitempty,omitzero"`
// ProtocolVersion corresponds to the JSON schema field "protocol_version".
ProtocolVersion *string `json:"protocol_version,omitempty,omitzero"`
// Prs corresponds to the JSON schema field "prs".
Prs []PR `json:"prs,omitempty,omitzero"`
// RateLimitResetAt corresponds to the JSON schema field "rate_limit_reset_at".
RateLimitResetAt *string `json:"rate_limit_reset_at,omitempty,omitzero"`
// RateLimitResource corresponds to the JSON schema field "rate_limit_resource".
RateLimitResource *string `json:"rate_limit_resource,omitempty,omitzero"`
// Reason corresponds to the JSON schema field "reason".
Reason *string `json:"reason,omitempty,omitzero"`
// RecentLocations corresponds to the JSON schema field "recent_locations".
RecentLocations []RecentLocation `json:"recent_locations,omitempty,omitzero"`
// Repos corresponds to the JSON schema field "repos".
Repos []RepoState `json:"repos,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Rows corresponds to the JSON schema field "rows".
Rows *int `json:"rows,omitempty,omitzero"`
// Running corresponds to the JSON schema field "running".
Running *bool `json:"running,omitempty,omitzero"`
// RuntimeID corresponds to the JSON schema field "runtime_id".
RuntimeID *TerminalID `json:"runtime_id,omitempty,omitzero"`
// ScreenCols corresponds to the JSON schema field "screen_cols".
ScreenCols *int `json:"screen_cols,omitempty,omitzero"`
// ScreenRows corresponds to the JSON schema field "screen_rows".
ScreenRows *int `json:"screen_rows,omitempty,omitzero"`
// ScreenSnapshot corresponds to the JSON schema field "screen_snapshot".
ScreenSnapshot *string `json:"screen_snapshot,omitempty,omitzero"`
// ScrollbackTruncated corresponds to the JSON schema field
// "scrollback_truncated".
ScrollbackTruncated *bool `json:"scrollback_truncated,omitempty,omitzero"`
// Seeds corresponds to the JSON schema field "seeds".
Seeds []Seed `json:"seeds,omitempty,omitzero"`
// Seq corresponds to the JSON schema field "seq".
Seq *int `json:"seq,omitempty,omitzero"`
// Session corresponds to the JSON schema field "session".
Session *Session `json:"session,omitempty,omitzero"`
// SessionID corresponds to the JSON schema field "session_id".
SessionID *SessionID `json:"session_id,omitempty,omitzero"`
// SessionLedgerEntry corresponds to the JSON schema field "session_ledger_entry".
SessionLedgerEntry *SessionLedgerEntry `json:"session_ledger_entry,omitempty,omitzero"`
// Sessions corresponds to the JSON schema field "sessions".
Sessions []Session `json:"sessions,omitempty,omitzero"`
// Settings corresponds to the JSON schema field "settings".
Settings RecordString `json:"settings,omitempty,omitzero"`
// Signal corresponds to the JSON schema field "signal".
Signal *string `json:"signal,omitempty,omitzero"`
// SplitID corresponds to the JSON schema field "split_id".
SplitID *string `json:"split_id,omitempty,omitzero"`
// StashRef corresponds to the JSON schema field "stash_ref".
StashRef *string `json:"stash_ref,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success *bool `json:"success,omitempty,omitzero"`
// SweepEntry corresponds to the JSON schema field "sweep_entry".
SweepEntry *WorktreeSweepEntry `json:"sweep_entry,omitempty,omitzero"`
// TargetPath corresponds to the JSON schema field "target_path".
TargetPath *string `json:"target_path,omitempty,omitzero"`
// TileID corresponds to the JSON schema field "tile_id".
TileID *string `json:"tile_id,omitempty,omitzero"`
// TileKind corresponds to the JSON schema field "tile_kind".
TileKind *string `json:"tile_kind,omitempty,omitzero"`
// Total corresponds to the JSON schema field "total".
Total *int `json:"total,omitempty,omitzero"`
// Warnings corresponds to the JSON schema field "warnings".
Warnings []DaemonWarning `json:"warnings,omitempty,omitzero"`
// WorktreeListResult corresponds to the JSON schema field "worktree_list_result".
WorktreeListResult *WorktreeListResult `json:"worktree_list_result,omitempty,omitzero"`
// WorktreeSweepLogResult corresponds to the JSON schema field
// "worktree_sweep_log_result".
WorktreeSweepLogResult *WorktreeSweepLogResult `json:"worktree_sweep_log_result,omitempty,omitzero"`
// Worktrees corresponds to the JSON schema field "worktrees".
Worktrees []Worktree `json:"worktrees,omitempty,omitzero"`
// WriteDurationUs corresponds to the JSON schema field "write_duration_us".
WriteDurationUs *int `json:"write_duration_us,omitempty,omitzero"`
// Xpixel corresponds to the JSON schema field "xpixel".
Xpixel *int `json:"xpixel,omitempty,omitzero"`
// Ypixel corresponds to the JSON schema field "ypixel".
Ypixel *int `json:"ypixel,omitempty,omitzero"`
}
type Worktree ¶
type Worktree struct {
// Branch corresponds to the JSON schema field "branch".
Branch string `json:"branch"`
// CreatedAt corresponds to the JSON schema field "created_at".
CreatedAt *string `json:"created_at,omitempty,omitzero"`
// Detached corresponds to the JSON schema field "detached".
Detached *bool `json:"detached,omitempty,omitzero"`
// Dirty corresponds to the JSON schema field "dirty".
Dirty *bool `json:"dirty,omitempty,omitzero"`
// DirtyFiles corresponds to the JSON schema field "dirty_files".
DirtyFiles *int `json:"dirty_files,omitempty,omitzero"`
// HeadSHA corresponds to the JSON schema field "head_sha".
HeadSHA *string `json:"head_sha,omitempty,omitzero"`
// LastActivityAt corresponds to the JSON schema field "last_activity_at".
LastActivityAt *string `json:"last_activity_at,omitempty,omitzero"`
// MainRepo corresponds to the JSON schema field "main_repo".
MainRepo string `json:"main_repo"`
// MergedSignal corresponds to the JSON schema field "merged_signal".
MergedSignal *string `json:"merged_signal,omitempty,omitzero"`
// ObservedAt corresponds to the JSON schema field "observed_at".
ObservedAt *string `json:"observed_at,omitempty,omitzero"`
// Origin corresponds to the JSON schema field "origin".
Origin *string `json:"origin,omitempty,omitzero"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// Pinned corresponds to the JSON schema field "pinned".
Pinned *bool `json:"pinned,omitempty,omitzero"`
// PinnedAt corresponds to the JSON schema field "pinned_at".
PinnedAt *string `json:"pinned_at,omitempty,omitzero"`
// Prunable corresponds to the JSON schema field "prunable".
Prunable *bool `json:"prunable,omitempty,omitzero"`
// RefreshError corresponds to the JSON schema field "refresh_error".
RefreshError *string `json:"refresh_error,omitempty,omitzero"`
// Stashes corresponds to the JSON schema field "stashes".
Stashes *int `json:"stashes,omitempty,omitzero"`
// SweepAt corresponds to the JSON schema field "sweep_at".
SweepAt *string `json:"sweep_at,omitempty,omitzero"`
// SweepReason corresponds to the JSON schema field "sweep_reason".
SweepReason *string `json:"sweep_reason,omitempty,omitzero"`
// SweepStatus corresponds to the JSON schema field "sweep_status".
SweepStatus *string `json:"sweep_status,omitempty,omitzero"`
// Unpushed corresponds to the JSON schema field "unpushed".
Unpushed *int `json:"unpushed,omitempty,omitzero"`
}
type WorktreeCreatedEvent ¶
type WorktreeDeletedEvent ¶
type WorktreeKeepMessage ¶ added in v0.12.0
type WorktreeKeepMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Keep corresponds to the JSON schema field "keep".
Keep bool `json:"keep"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type WorktreeKeepResult ¶ added in v0.12.0
type WorktreeKeepResult struct {
// Worktree corresponds to the JSON schema field "worktree".
Worktree Worktree `json:"worktree"`
}
type WorktreeKeepResultEvent ¶ added in v0.12.0
type WorktreeKeepResultEvent struct {
// Error corresponds to the JSON schema field "error".
Error *string `json:"error,omitempty,omitzero"`
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
// Worktrees corresponds to the JSON schema field "worktrees".
Worktrees []Worktree `json:"worktrees,omitempty,omitzero"`
}
type WorktreeListMessage ¶ added in v0.12.0
type WorktreeListMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Limit corresponds to the JSON schema field "limit".
Limit *int `json:"limit,omitempty,omitzero"`
// MainRepo corresponds to the JSON schema field "main_repo".
MainRepo *string `json:"main_repo,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type WorktreeListResult ¶ added in v0.12.0
type WorktreeListResult struct {
// Omitted corresponds to the JSON schema field "omitted".
Omitted int `json:"omitted"`
// Repositories corresponds to the JSON schema field "repositories".
Repositories []WorktreeRepository `json:"repositories"`
// Worktrees corresponds to the JSON schema field "worktrees".
Worktrees []Worktree `json:"worktrees"`
}
type WorktreeListResultEvent ¶ added in v0.12.0
type WorktreeListResultEvent struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
// WorktreeListResult corresponds to the JSON schema field "worktree_list_result".
WorktreeListResult WorktreeListResult `json:"worktree_list_result"`
}
type WorktreeRefreshMessage ¶ added in v0.12.0
type WorktreeRefreshResult ¶ added in v0.12.0
type WorktreeRefreshResult struct {
// Queued corresponds to the JSON schema field "queued".
Queued bool `json:"queued"`
}
type WorktreeRefreshResultEvent ¶ added in v0.12.0
type WorktreeRefreshResultEvent struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
}
type WorktreeRepository ¶ added in v0.12.0
type WorktreeRepository struct {
// IntegrationBranch corresponds to the JSON schema field "integration_branch".
IntegrationBranch *string `json:"integration_branch,omitempty,omitzero"`
// IntegrationSource corresponds to the JSON schema field "integration_source".
IntegrationSource *string `json:"integration_source,omitempty,omitzero"`
// MainRepo corresponds to the JSON schema field "main_repo".
MainRepo string `json:"main_repo"`
}
type WorktreeStateChangedEvent ¶ added in v0.12.0
type WorktreeSweepEntry ¶ added in v0.12.0
type WorktreeSweepEntry struct {
// Action corresponds to the JSON schema field "action".
Action string `json:"action"`
// At corresponds to the JSON schema field "at".
At string `json:"at"`
// Branch corresponds to the JSON schema field "branch".
Branch *string `json:"branch,omitempty,omitzero"`
// ID corresponds to the JSON schema field "id".
ID string `json:"id"`
// MainRepo corresponds to the JSON schema field "main_repo".
MainRepo string `json:"main_repo"`
// Path corresponds to the JSON schema field "path".
Path string `json:"path"`
// Reason corresponds to the JSON schema field "reason".
Reason *string `json:"reason,omitempty,omitzero"`
}
type WorktreeSweepLogMessage ¶ added in v0.12.0
type WorktreeSweepLogMessage struct {
// Cmd corresponds to the JSON schema field "cmd".
Cmd string `json:"cmd"`
// Limit corresponds to the JSON schema field "limit".
Limit *int `json:"limit,omitempty,omitzero"`
// MainRepo corresponds to the JSON schema field "main_repo".
MainRepo *string `json:"main_repo,omitempty,omitzero"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
}
type WorktreeSweepLogResult ¶ added in v0.12.0
type WorktreeSweepLogResult struct {
// Entries corresponds to the JSON schema field "entries".
Entries []WorktreeSweepEntry `json:"entries"`
// Omitted corresponds to the JSON schema field "omitted".
Omitted int `json:"omitted"`
}
type WorktreeSweepLogResultEvent ¶ added in v0.12.0
type WorktreeSweepLogResultEvent struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// RequestID corresponds to the JSON schema field "request_id".
RequestID *string `json:"request_id,omitempty,omitzero"`
// Success corresponds to the JSON schema field "success".
Success bool `json:"success"`
// WorktreeSweepLogResult corresponds to the JSON schema field
// "worktree_sweep_log_result".
WorktreeSweepLogResult WorktreeSweepLogResult `json:"worktree_sweep_log_result"`
}
type WorktreeSweptEvent ¶ added in v0.12.0
type WorktreeSweptEvent struct {
// Event corresponds to the JSON schema field "event".
Event string `json:"event"`
// SweepEntry corresponds to the JSON schema field "sweep_entry".
SweepEntry WorktreeSweepEntry `json:"sweep_entry"`
}
type WorktreesUpdatedMessage ¶
Click to show internal directories.
Click to hide internal directories.