Documentation
¶
Index ¶
- type AdminAssetCountsRow
- type AdminAuditLog
- type AdminRuntimeCursorParams
- type AdminRuntimeTargetsParams
- type AdminRuntimeTargetsRow
- type AdminSummarySessionsParams
- type AdminSummarySessionsRow
- type AdvanceAutomationParams
- type AdvanceEnvironmentConnectionParams
- type AdvanceSkillVersionParams
- type Agent
- type AgentModelExecution
- type AppendSessionEventParams
- type ApplyFunctionResultParams
- type ApplySubagentLifecycleParams
- type AttachSessionEnvironmentParams
- type AuthenticateEnvironmentExecutorParams
- type AuthorizeRuntimeEnrollmentParams
- type AuthorizeRuntimeEnrollmentRow
- type Automation
- type AutomationInvocation
- type AutomationQueueRow
- type BeginTurnArtifactCaptureParams
- type BindHostedSessionDeviceParams
- type BindSessionDeviceParams
- type CheckEnvironmentInputGateParams
- type CheckEnvironmentInputGateRow
- type ClearRuntimeWakeParams
- type ConnectRuntimeNodeParams
- type ConsumeRuntimeEnrollmentParams
- type CoreExecutionSnapshotParams
- type CoreExecutionSnapshotRow
- type CoreInterruptedTurnsParams
- type CoreQueueWaitBucketsParams
- type CoreQueueWaitBucketsRow
- type CoreQueueWaitSummaryParams
- type CoreQueueWaitSummaryRow
- type CountAddressBindingsRow
- type CountRuntimeDeploymentResourcesRow
- type CountTurnEventParams
- type CreateAgentParams
- type CreateDeviceParams
- type CreateEnvironmentDeviceParams
- type CreateEnvironmentFileWriteParams
- type CreateEnvironmentInputReservationParams
- type CreateEnvironmentParams
- type CreateEnvironmentSetupParams
- type CreateEnvironmentTemplateParams
- type CreateEnvironmentTemplateRow
- type CreateFunctionCallParams
- type CreateInitialEnvironmentFileParams
- type CreateOAuthCredentialParams
- type CreateOAuthCredentialRow
- type CreateProjectAPIKeyParams
- type CreateProjectParams
- type CreateRuntimeAllocationParams
- type CreateRuntimeEnrollmentParams
- type CreateRuntimePlacementParams
- type CreateSessionParams
- type CreateSkillParams
- type CreateSkillVersionParams
- type CreateSkillVersionRow
- type CreateSourceFileParams
- type CreateStaticCredentialParams
- type CreateStaticCredentialRow
- type CreateTurnInputParams
- type CreateTurnParams
- type CreateVaultParams
- type DBTX
- type DeleteAgentParams
- type DeleteAutomationParams
- type DeleteCredentialParams
- type DeleteEnvironmentTemplateParams
- type DeleteExpiredWriteOperationsParams
- type DeleteNodeGenerationStatusParams
- type DeleteSessionArtifactParams
- type DeleteSkillParams
- type DeleteSkillVersionParams
- type DeleteSkillVersionRow
- type DeleteSourceFileParams
- type DeleteUnchangedTurnArtifactsParams
- type DeleteUnpublishedTurnArtifactsParams
- type DeleteVaultParams
- type DeliverableInvocationsRow
- type DeploymentModelProvider
- type Device
- type DisconnectRuntimeNodeParams
- type DueAutomationIDsParams
- type DueAutomationIDsRow
- type EnrollRuntimeDeviceParams
- type EnrollRuntimeDeviceRow
- type EnsureProjectScopeParams
- type Environment
- type EnvironmentConnection
- type EnvironmentExecutorCredential
- type EnvironmentFileWrite
- type EnvironmentInputReservation
- type EnvironmentLiveness
- type EnvironmentSetup
- type EnvironmentTemplate
- type EnvironmentWorkspace
- type ExecutionProjectScope
- type ExecutorProjectScopeExistsParams
- type ExpireEnvironmentInputReservationParams
- type ExpireEnvironmentParams
- type ExpireRuntimeCheckpointParams
- type FailEnvironmentInputParams
- type FindEnvironmentCreationParams
- type FindEnvironmentCreationRow
- type FindEnvironmentInputReservationParams
- type FindEnvironmentInputReservationRow
- type FindFunctionCallTurnParams
- type FindFunctionCallTurnRow
- type FindInputBatchParams
- type FindInputBatchRow
- type FindMCPCredentialsParams
- type FindMCPCredentialsRow
- type FindSessionCreationParams
- type FinishSessionItemsParams
- type FunctionCall
- type FunctionItemResultParams
- type GetAgentParams
- type GetAgentWithModelExecutionParams
- type GetAgentWithModelExecutionRow
- type GetArchivedCancellationReceiptParams
- type GetArchivedCancellationReceiptRow
- type GetAttachedVaultIDsParams
- type GetAutomationParams
- type GetAutomationRow
- type GetChildItemParams
- type GetChildItemRow
- type GetChildTurnParams
- type GetCredentialParams
- type GetCredentialRow
- type GetDeploymentModelProviderSecretRow
- type GetDeviceCredentialRow
- type GetDeviceParams
- type GetDeviceRow
- type GetEnvironmentAttachmentParams
- type GetEnvironmentAttachmentRow
- type GetEnvironmentDeviceParams
- type GetEnvironmentDeviceRow
- type GetEnvironmentExecutorConnectionParams
- type GetEnvironmentExecutorConnectionRow
- type GetEnvironmentFileWriteParams
- type GetEnvironmentFileWriteRow
- type GetEnvironmentInputActivityRow
- type GetEnvironmentInputReservationParams
- type GetEnvironmentParams
- type GetEnvironmentRow
- type GetEnvironmentSetupParams
- type GetEnvironmentSetupRow
- type GetEnvironmentTemplateParams
- type GetEnvironmentTemplateRow
- type GetEnvironmentWorkspaceParams
- type GetEnvironmentWorkspaceRow
- type GetExecutorCredentialForPrincipalParams
- type GetFunctionCallParams
- type GetInitialEnvironmentFileParams
- type GetInitialEnvironmentFileRow
- type GetInvocationParams
- type GetInvocationRow
- type GetLatestRuntimeAllocationParams
- type GetLatestRuntimeAllocationRow
- type GetMCPStaticCredentialCiphertextParams
- type GetManagedSessionArchiveParams
- type GetManagedSessionArchiveRow
- type GetNativeSubagentParams
- type GetNodeGenerationSpecificationRow
- type GetOAuthCredentialForUpdateParams
- type GetOAuthCredentialForUpdateRow
- type GetProjectAPIKeyForProjectParams
- type GetProjectRow
- type GetPublicSubagentParams
- type GetPublicSubagentRow
- type GetResourceOwnersParams
- type GetResourceOwnersRow
- type GetRuntimeActivityRow
- type GetRuntimeLifecyclePlacementParams
- type GetRuntimeLifecyclePlacementRow
- type GetRuntimePlacementRow
- type GetSandboxDeploymentSnapshotRow
- type GetSessionArtifactParams
- type GetSessionCursorParams
- type GetSessionCursorRow
- type GetSessionDeviceParams
- type GetSessionDeviceRow
- type GetSessionEnvironmentParams
- type GetSessionEnvironmentRow
- type GetSessionExecutionBindingParams
- type GetSessionExecutionBindingRow
- type GetSessionExecutionConfigurationParams
- type GetSessionExecutionConfigurationRow
- type GetSessionInitializationReadyParams
- type GetSessionItemParams
- type GetSessionModelExecutionParams
- type GetSessionParams
- type GetSkillParams
- type GetSkillVersionByIDParams
- type GetSkillVersionByIDRow
- type GetSkillVersionParams
- type GetSkillVersionRow
- type GetSourceFileParams
- type GetStandaloneEnvironmentCursorParams
- type GetStandaloneEnvironmentCursorRow
- type GetSubagentIdentityParams
- type GetSubagentIdentityRow
- type GetTurnParams
- type GetVaultParams
- type GetWorkspaceSelectionRow
- type GetWriteAuditCursorParams
- type HasNativeMessageItemParams
- type HasUnappliedMessagesParams
- type HeartbeatRuntimeNodeParams
- type InitialEnvironmentFile
- type InitializeSandboxDeploymentParams
- type InsertAdminAuditParams
- type InsertAutomationParams
- type InsertEnvironmentWorkspaceParams
- type InsertManualInvocationParams
- type InsertManualInvocationRow
- type InsertRuntimeHistorySampleParams
- type InsertRuntimeNodeParams
- type InsertScheduledInvocationParams
- type InsertTurnEventBatchParams
- type InsertTurnEventParams
- type InsertWorkspaceConfigurationParams
- type InsertWriteAuditOperationParams
- type InsertWriteAuditOwnerParams
- type IssueExecutorCredentialParams
- type IssueExecutorCredentialRow
- type ItemEventSourcesParams
- type ItemInputSourceParams
- type ListAdminAuditLogParams
- type ListAgentsParams
- type ListAutomationsParams
- type ListAutomationsRow
- type ListCheckpointGenerationNodesRow
- type ListChildItemsParams
- type ListChildTurnsParams
- type ListCredentialsParams
- type ListCredentialsRow
- type ListDeploymentModelProvidersRow
- type ListDueEnvironmentInputsRow
- type ListEnrolledRuntimeBindingsRow
- type ListEnvironmentConnectionsRow
- type ListEnvironmentExecutorCredentialsParams
- type ListEnvironmentExecutorCredentialsRow
- type ListEnvironmentInitializationsRow
- type ListEnvironmentInputWorkParams
- type ListEnvironmentInputWorkRow
- type ListEnvironmentTemplatesParams
- type ListEnvironmentTemplatesRow
- type ListExecutionDevicesRow
- type ListExecutionWorkParams
- type ListExecutionWorkRow
- type ListInvocationsParams
- type ListInvocationsRow
- type ListNodeHostHistoryParams
- type ListNodeHostHistoryRow
- type ListNodeRuntimeAllocationsRow
- type ListPendingFunctionCallsParams
- type ListPlacementDemandParams
- type ListPlacementDemandRow
- type ListProjectAPIKeysParams
- type ListProjectsParams
- type ListProjectsRow
- type ListPublicSubagentsParams
- type ListRootTurnsParams
- type ListRuntimeAllocationsForNodeParams
- type ListRuntimeAllocationsForNodeRow
- type ListRuntimeAllocationsRow
- type ListRuntimeHistorySamplesParams
- type ListRuntimeNodesRow
- type ListRuntimeObservationSessionsParams
- type ListRuntimeObservationSessionsRow
- type ListSandboxResetCandidatesParams
- type ListSandboxResetCandidatesRow
- type ListSessionArtifactsParams
- type ListSessionEventsParams
- type ListSessionEventsRow
- type ListSessionItemsParams
- type ListSessionItemsRow
- type ListSessionsParams
- type ListSkillVersionsParams
- type ListSkillVersionsRow
- type ListSkillsParams
- type ListSourceFilesParams
- type ListStandaloneEnvironmentsParams
- type ListStandaloneEnvironmentsRow
- type ListTurnEventsParams
- type ListTurnInputsParams
- type ListTurnItemDiagnosticsParams
- type ListTurnItemDiagnosticsRow
- type ListUnallocatedHostedEnvironmentsForNodeParams
- type ListUnallocatedHostedEnvironmentsForNodeRow
- type ListUnfinishedSessionItemsParams
- type ListUnfinishedSessionItemsRow
- type ListVaultsParams
- type ListWaitingCheckpointRestoresRow
- type ListWorkspaceDeletionCandidatesRow
- type ListWriteOperationsParams
- type ListWriteOperationsRow
- type LockAgentParams
- type LockAutomationParams
- type LockAutomationRow
- type LockEnvironmentCreationParams
- type LockEnvironmentParams
- type LockSessionParams
- type LockSessionRow
- type LockSkillParams
- type LockSourceFileParams
- type LockVisibleSessionParams
- type MarkSessionModelSourceParams
- type MarkWorkspaceReadyParams
- type MatchFunctionCallParams
- type MatchFunctionResultParams
- type MatchFunctionResultRow
- type MatchTurnEventBatchParams
- type MatchWorkspaceConfigurationParams
- type MatchWorkspaceConfigurationRow
- type MoveSuspendedRuntimeComputeParams
- type NodeGenerationKeptParams
- type NodeGenerationReadyParams
- type NodeHostHistorySample
- type ObserveDeploymentModelProviderParams
- type Project
- type ProjectApiKey
- type PromoteNodeServingGenerationParams
- type PruneSessionEventsParams
- type PublishSubagentParams
- type PublishTurnArtifactsParams
- type PutChildItemParams
- type PutChildTurnParams
- type PutSessionItemParams
- type PutSubagentEffectParams
- type PutSubagentIdentityParams
- type PutTurnUsageParams
- type Queries
- func (q *Queries) ActivateWorkspaceConfiguration(ctx context.Context, id pgtype.UUID) error
- func (q *Queries) AdminAssetCounts(ctx context.Context, tenantID pgtype.UUID) (AdminAssetCountsRow, error)
- func (q *Queries) AdminAuditCursor(ctx context.Context, id pgtype.UUID) (pgtype.Timestamptz, error)
- func (q *Queries) AdminRuntimeCursor(ctx context.Context, arg AdminRuntimeCursorParams) (pgtype.Timestamptz, error)
- func (q *Queries) AdminRuntimeTargets(ctx context.Context, arg AdminRuntimeTargetsParams) ([]AdminRuntimeTargetsRow, error)
- func (q *Queries) AdminSummarySessions(ctx context.Context, arg AdminSummarySessionsParams) ([]AdminSummarySessionsRow, error)
- func (q *Queries) AdvanceAutomation(ctx context.Context, arg AdvanceAutomationParams) error
- func (q *Queries) AdvanceEnvironmentConnection(ctx context.Context, arg AdvanceEnvironmentConnectionParams) error
- func (q *Queries) AdvanceSandboxOwnerEpoch(ctx context.Context) error
- func (q *Queries) AdvanceSkillVersion(ctx context.Context, arg AdvanceSkillVersionParams) error
- func (q *Queries) AppendSessionEvent(ctx context.Context, arg AppendSessionEventParams) error
- func (q *Queries) ApplyFunctionResult(ctx context.Context, arg ApplyFunctionResultParams) error
- func (q *Queries) ApplySubagentLifecycle(ctx context.Context, arg ApplySubagentLifecycleParams) error
- func (q *Queries) ArchiveProject(ctx context.Context, id pgtype.UUID) error
- func (q *Queries) AttachSessionEnvironment(ctx context.Context, arg AttachSessionEnvironmentParams) error
- func (q *Queries) AuthenticateEnvironmentExecutor(ctx context.Context, arg AuthenticateEnvironmentExecutorParams) (pgtype.UUID, error)
- func (q *Queries) AuthorizeRuntimeEnrollment(ctx context.Context, arg AuthorizeRuntimeEnrollmentParams) (AuthorizeRuntimeEnrollmentRow, error)
- func (q *Queries) AutomationQueue(ctx context.Context, id pgtype.UUID) (AutomationQueueRow, error)
- func (q *Queries) BeginTurnArtifactCapture(ctx context.Context, arg BeginTurnArtifactCaptureParams) (int64, error)
- func (q *Queries) BeginWorkspaceDeletion(ctx context.Context, objectID pgtype.UUID) (int64, error)
- func (q *Queries) BindHostedSessionDevice(ctx context.Context, arg BindHostedSessionDeviceParams) (pgtype.UUID, error)
- func (q *Queries) BindSessionDevice(ctx context.Context, arg BindSessionDeviceParams) (pgtype.UUID, error)
- func (q *Queries) CanReplaceRuntimeAllocation(ctx context.Context, id pgtype.UUID) (bool, error)
- func (q *Queries) CanRetainRuntimeEnvironment(ctx context.Context, id pgtype.UUID) (bool, error)
- func (q *Queries) CancelSandboxReset(ctx context.Context) error
- func (q *Queries) CancelSessionEnvironmentInput(ctx context.Context, sessionID pgtype.UUID) error
- func (q *Queries) CheckEnvironmentInputGate(ctx context.Context, arg CheckEnvironmentInputGateParams) (CheckEnvironmentInputGateRow, error)
- func (q *Queries) ClaimEnvironmentInitialization(ctx context.Context, id pgtype.UUID) (int64, error)
- func (q *Queries) ClaimWebSandboxDeployment(ctx context.Context, installationID pgtype.UUID) error
- func (q *Queries) ClearActiveWorkspaceConfiguration(ctx context.Context) error
- func (q *Queries) ClearRuntimeWake(ctx context.Context, arg ClearRuntimeWakeParams) error
- func (q *Queries) ClearSandboxGenerations(ctx context.Context) error
- func (q *Queries) CollectSandboxGenerations(ctx context.Context) error
- func (q *Queries) CompleteEnvironmentInitialization(ctx context.Context, id pgtype.UUID) (int64, error)
- func (q *Queries) CompleteOnceAutomation(ctx context.Context, id pgtype.UUID) error
- func (q *Queries) CompleteSandboxReset(ctx context.Context) error
- func (q *Queries) ConnectRuntimeNode(ctx context.Context, arg ConnectRuntimeNodeParams) (int64, error)
- func (q *Queries) ConsumeRuntimeEnrollment(ctx context.Context, arg ConsumeRuntimeEnrollmentParams) (int64, error)
- func (q *Queries) CoreDatabaseSize(ctx context.Context) (int64, error)
- func (q *Queries) CoreExecutionSnapshot(ctx context.Context, arg CoreExecutionSnapshotParams) (CoreExecutionSnapshotRow, error)
- func (q *Queries) CoreInterruptedTurns(ctx context.Context, arg CoreInterruptedTurnsParams) (int64, error)
- func (q *Queries) CoreQueueWaitBuckets(ctx context.Context, arg CoreQueueWaitBucketsParams) ([]CoreQueueWaitBucketsRow, error)
- func (q *Queries) CoreQueueWaitSummary(ctx context.Context, arg CoreQueueWaitSummaryParams) (CoreQueueWaitSummaryRow, error)
- func (q *Queries) CountAddressBindings(ctx context.Context, publicUrl string) (CountAddressBindingsRow, error)
- func (q *Queries) CountRuntimeDeploymentResources(ctx context.Context) (CountRuntimeDeploymentResourcesRow, error)
- func (q *Queries) CountTurnEvent(ctx context.Context, arg CountTurnEventParams) error
- func (q *Queries) CreateAgent(ctx context.Context, arg CreateAgentParams) (Agent, error)
- func (q *Queries) CreateDevice(ctx context.Context, arg CreateDeviceParams) (pgtype.UUID, error)
- func (q *Queries) CreateEnvironment(ctx context.Context, arg CreateEnvironmentParams) error
- func (q *Queries) CreateEnvironmentDevice(ctx context.Context, arg CreateEnvironmentDeviceParams) (pgtype.UUID, error)
- func (q *Queries) CreateEnvironmentFileWrite(ctx context.Context, arg CreateEnvironmentFileWriteParams) (EnvironmentFileWrite, error)
- func (q *Queries) CreateEnvironmentInputReservation(ctx context.Context, arg CreateEnvironmentInputReservationParams) (EnvironmentInputReservation, error)
- func (q *Queries) CreateEnvironmentSetup(ctx context.Context, arg CreateEnvironmentSetupParams) error
- func (q *Queries) CreateEnvironmentTemplate(ctx context.Context, arg CreateEnvironmentTemplateParams) (CreateEnvironmentTemplateRow, error)
- func (q *Queries) CreateFunctionCall(ctx context.Context, arg CreateFunctionCallParams) (int64, error)
- func (q *Queries) CreateInitialEnvironmentFile(ctx context.Context, arg CreateInitialEnvironmentFileParams) error
- func (q *Queries) CreateOAuthCredential(ctx context.Context, arg CreateOAuthCredentialParams) (CreateOAuthCredentialRow, error)
- func (q *Queries) CreateProject(ctx context.Context, arg CreateProjectParams) (Project, error)
- func (q *Queries) CreateProjectAPIKey(ctx context.Context, arg CreateProjectAPIKeyParams) (ProjectApiKey, error)
- func (q *Queries) CreateRuntimeAllocation(ctx context.Context, arg CreateRuntimeAllocationParams) (RuntimeAllocation, error)
- func (q *Queries) CreateRuntimeEnrollment(ctx context.Context, arg CreateRuntimeEnrollmentParams) error
- func (q *Queries) CreateRuntimePlacement(ctx context.Context, arg CreateRuntimePlacementParams) error
- func (q *Queries) CreateSession(ctx context.Context, arg CreateSessionParams) (Session, error)
- func (q *Queries) CreateSkill(ctx context.Context, arg CreateSkillParams) (Skill, error)
- func (q *Queries) CreateSkillVersion(ctx context.Context, arg CreateSkillVersionParams) (CreateSkillVersionRow, error)
- func (q *Queries) CreateSourceFile(ctx context.Context, arg CreateSourceFileParams) (SourceFile, error)
- func (q *Queries) CreateStaticCredential(ctx context.Context, arg CreateStaticCredentialParams) (CreateStaticCredentialRow, error)
- func (q *Queries) CreateTurn(ctx context.Context, arg CreateTurnParams) (Turn, error)
- func (q *Queries) CreateTurnInput(ctx context.Context, arg CreateTurnInputParams) (int64, error)
- func (q *Queries) CreateVault(ctx context.Context, arg CreateVaultParams) (Vault, error)
- func (q *Queries) DeleteAgent(ctx context.Context, arg DeleteAgentParams) (pgtype.UUID, error)
- func (q *Queries) DeleteAgentModelExecution(ctx context.Context, agentID pgtype.UUID) error
- func (q *Queries) DeleteAutomation(ctx context.Context, arg DeleteAutomationParams) (pgtype.UUID, error)
- func (q *Queries) DeleteCredential(ctx context.Context, arg DeleteCredentialParams) (pgtype.UUID, error)
- func (q *Queries) DeleteDeploymentModelProvider(ctx context.Context, harness string) (int64, error)
- func (q *Queries) DeleteEnvironmentConnection(ctx context.Context, environmentID pgtype.UUID) error
- func (q *Queries) DeleteEnvironmentTemplate(ctx context.Context, arg DeleteEnvironmentTemplateParams) (pgtype.UUID, error)
- func (q *Queries) DeleteExpiredWriteOperations(ctx context.Context, arg DeleteExpiredWriteOperationsParams) (int64, error)
- func (q *Queries) DeleteNodeGenerationStatus(ctx context.Context, arg DeleteNodeGenerationStatusParams) error
- func (q *Queries) DeleteSessionArtifact(ctx context.Context, arg DeleteSessionArtifactParams) (pgtype.Uint32, error)
- func (q *Queries) DeleteSessionArtifacts(ctx context.Context, sessionID pgtype.UUID) error
- func (q *Queries) DeleteSkill(ctx context.Context, arg DeleteSkillParams) (pgtype.UUID, error)
- func (q *Queries) DeleteSkillVersion(ctx context.Context, arg DeleteSkillVersionParams) (DeleteSkillVersionRow, error)
- func (q *Queries) DeleteSourceFile(ctx context.Context, arg DeleteSourceFileParams) (pgtype.Uint32, error)
- func (q *Queries) DeleteUnchangedTurnArtifacts(ctx context.Context, arg DeleteUnchangedTurnArtifactsParams) error
- func (q *Queries) DeleteUnpublishedTurnArtifacts(ctx context.Context, arg DeleteUnpublishedTurnArtifactsParams) error
- func (q *Queries) DeleteVault(ctx context.Context, arg DeleteVaultParams) (pgtype.UUID, error)
- func (q *Queries) DeliverableInvocations(ctx context.Context, pageLimit int32) ([]DeliverableInvocationsRow, error)
- func (q *Queries) DisconnectRuntimeNode(ctx context.Context, arg DisconnectRuntimeNodeParams) error
- func (q *Queries) DueAutomationIDs(ctx context.Context, arg DueAutomationIDsParams) ([]DueAutomationIDsRow, error)
- func (q *Queries) EndUnattachedStandaloneEnvironment(ctx context.Context, id pgtype.UUID) error
- func (q *Queries) EnrollRuntimeDevice(ctx context.Context, arg EnrollRuntimeDeviceParams) (EnrollRuntimeDeviceRow, error)
- func (q *Queries) EnsureProjectScope(ctx context.Context, arg EnsureProjectScopeParams) (pgtype.UUID, error)
- func (q *Queries) EnvironmentFileWriteBlocksSession(ctx context.Context, id pgtype.UUID) (bool, error)
- func (q *Queries) EnvironmentFileWriteHasPendingInput(ctx context.Context, sessionID pgtype.UUID) (bool, error)
- func (q *Queries) EnvironmentWorkspaceDeletable(ctx context.Context, id pgtype.UUID) (bool, error)
- func (q *Queries) ExecutorProjectScopeExists(ctx context.Context, arg ExecutorProjectScopeExistsParams) (bool, error)
- func (q *Queries) ExpireEnvironment(ctx context.Context, arg ExpireEnvironmentParams) (int64, error)
- func (q *Queries) ExpireEnvironmentInputReservation(ctx context.Context, arg ExpireEnvironmentInputReservationParams) error
- func (q *Queries) ExpireRuntimeCheckpoint(ctx context.Context, arg ExpireRuntimeCheckpointParams) (RuntimeAllocation, error)
- func (q *Queries) FailEnvironmentInitialization(ctx context.Context, id pgtype.UUID) error
- func (q *Queries) FailEnvironmentInput(ctx context.Context, arg FailEnvironmentInputParams) (int64, error)
- func (q *Queries) FailSessionEnvironmentInput(ctx context.Context, sessionID pgtype.UUID) error
- func (q *Queries) FindEnvironmentCreation(ctx context.Context, arg FindEnvironmentCreationParams) (FindEnvironmentCreationRow, error)
- func (q *Queries) FindEnvironmentInputReservation(ctx context.Context, arg FindEnvironmentInputReservationParams) (FindEnvironmentInputReservationRow, error)
- func (q *Queries) FindFunctionCallTurn(ctx context.Context, arg FindFunctionCallTurnParams) (FindFunctionCallTurnRow, error)
- func (q *Queries) FindInputBatch(ctx context.Context, arg FindInputBatchParams) ([]FindInputBatchRow, error)
- func (q *Queries) FindMCPCredentials(ctx context.Context, arg FindMCPCredentialsParams) ([]FindMCPCredentialsRow, error)
- func (q *Queries) FindSessionCreation(ctx context.Context, arg FindSessionCreationParams) (Session, error)
- func (q *Queries) FinishSessionItems(ctx context.Context, arg FinishSessionItemsParams) error
- func (q *Queries) ForceSandboxReset(ctx context.Context) error
- func (q *Queries) FunctionItemResult(ctx context.Context, arg FunctionItemResultParams) ([]byte, error)
- func (q *Queries) GetActiveTurn(ctx context.Context, sessionID pgtype.UUID) (Turn, error)
- func (q *Queries) GetActiveWorkspaceConfiguration(ctx context.Context) (WorkspaceFsConfiguration, error)
- func (q *Queries) GetAgent(ctx context.Context, arg GetAgentParams) (Agent, error)
- func (q *Queries) GetAgentWithModelExecution(ctx context.Context, arg GetAgentWithModelExecutionParams) (GetAgentWithModelExecutionRow, error)
- func (q *Queries) GetArchivedCancellationReceipt(ctx context.Context, arg GetArchivedCancellationReceiptParams) (GetArchivedCancellationReceiptRow, error)
- func (q *Queries) GetAttachedVaultIDs(ctx context.Context, arg GetAttachedVaultIDsParams) ([]pgtype.UUID, error)
- func (q *Queries) GetAutomation(ctx context.Context, arg GetAutomationParams) (GetAutomationRow, error)
- func (q *Queries) GetChildItem(ctx context.Context, arg GetChildItemParams) (GetChildItemRow, error)
- func (q *Queries) GetChildTurn(ctx context.Context, arg GetChildTurnParams) (SubagentTurn, error)
- func (q *Queries) GetCredential(ctx context.Context, arg GetCredentialParams) (GetCredentialRow, error)
- func (q *Queries) GetDeploymentModelProviderSecret(ctx context.Context, harness string) (GetDeploymentModelProviderSecretRow, error)
- func (q *Queries) GetDevice(ctx context.Context, arg GetDeviceParams) (GetDeviceRow, error)
- func (q *Queries) GetDeviceCredential(ctx context.Context, id pgtype.UUID) (GetDeviceCredentialRow, error)
- func (q *Queries) GetEnvironment(ctx context.Context, arg GetEnvironmentParams) (GetEnvironmentRow, error)
- func (q *Queries) GetEnvironmentAttachment(ctx context.Context, arg GetEnvironmentAttachmentParams) (GetEnvironmentAttachmentRow, error)
- func (q *Queries) GetEnvironmentConnection(ctx context.Context, environmentID pgtype.UUID) (EnvironmentConnection, error)
- func (q *Queries) GetEnvironmentDevice(ctx context.Context, arg GetEnvironmentDeviceParams) (GetEnvironmentDeviceRow, error)
- func (q *Queries) GetEnvironmentExecutorConnection(ctx context.Context, arg GetEnvironmentExecutorConnectionParams) (GetEnvironmentExecutorConnectionRow, error)
- func (q *Queries) GetEnvironmentFileWrite(ctx context.Context, arg GetEnvironmentFileWriteParams) (GetEnvironmentFileWriteRow, error)
- func (q *Queries) GetEnvironmentInputActivity(ctx context.Context, id pgtype.UUID) (GetEnvironmentInputActivityRow, error)
- func (q *Queries) GetEnvironmentInputReservation(ctx context.Context, arg GetEnvironmentInputReservationParams) (EnvironmentInputReservation, error)
- func (q *Queries) GetEnvironmentSetup(ctx context.Context, arg GetEnvironmentSetupParams) (GetEnvironmentSetupRow, error)
- func (q *Queries) GetEnvironmentTemplate(ctx context.Context, arg GetEnvironmentTemplateParams) (GetEnvironmentTemplateRow, error)
- func (q *Queries) GetEnvironmentWorkspace(ctx context.Context, arg GetEnvironmentWorkspaceParams) (GetEnvironmentWorkspaceRow, error)
- func (q *Queries) GetExecutorCredentialForPrincipal(ctx context.Context, arg GetExecutorCredentialForPrincipalParams) (pgtype.UUID, error)
- func (q *Queries) GetFunctionCall(ctx context.Context, arg GetFunctionCallParams) (FunctionCall, error)
- func (q *Queries) GetInitialEnvironmentFile(ctx context.Context, arg GetInitialEnvironmentFileParams) (GetInitialEnvironmentFileRow, error)
- func (q *Queries) GetInvocation(ctx context.Context, arg GetInvocationParams) (GetInvocationRow, error)
- func (q *Queries) GetLatestRuntimeAllocation(ctx context.Context, arg GetLatestRuntimeAllocationParams) (GetLatestRuntimeAllocationRow, error)
- func (q *Queries) GetLatestSessionTurn(ctx context.Context, sessionID pgtype.UUID) (Turn, error)
- func (q *Queries) GetMCPStaticCredentialCiphertext(ctx context.Context, arg GetMCPStaticCredentialCiphertextParams) ([]byte, error)
- func (q *Queries) GetManagedSessionArchive(ctx context.Context, arg GetManagedSessionArchiveParams) (GetManagedSessionArchiveRow, error)
- func (q *Queries) GetNativeSubagent(ctx context.Context, arg GetNativeSubagentParams) (SubagentIdentity, error)
- func (q *Queries) GetNodeGenerationSpecification(ctx context.Context, generation int64) (GetNodeGenerationSpecificationRow, error)
- func (q *Queries) GetOAuthCredentialForUpdate(ctx context.Context, arg GetOAuthCredentialForUpdateParams) (GetOAuthCredentialForUpdateRow, error)
- func (q *Queries) GetProject(ctx context.Context, id pgtype.UUID) (GetProjectRow, error)
- func (q *Queries) GetProjectAPIKeyForProject(ctx context.Context, arg GetProjectAPIKeyForProjectParams) (ProjectApiKey, error)
- func (q *Queries) GetPublicSubagent(ctx context.Context, arg GetPublicSubagentParams) (GetPublicSubagentRow, error)
- func (q *Queries) GetResourceOwners(ctx context.Context, arg GetResourceOwnersParams) ([]GetResourceOwnersRow, error)
- func (q *Queries) GetRuntimeActivity(ctx context.Context, id pgtype.UUID) (GetRuntimeActivityRow, error)
- func (q *Queries) GetRuntimeDeployment(ctx context.Context) (RuntimeDeployment, error)
- func (q *Queries) GetRuntimeEnrollment(ctx context.Context, tokenSha256 string) (RuntimeNodeEnrollment, error)
- func (q *Queries) GetRuntimeLifecyclePlacement(ctx context.Context, arg GetRuntimeLifecyclePlacementParams) (GetRuntimeLifecyclePlacementRow, error)
- func (q *Queries) GetRuntimeNode(ctx context.Context, id pgtype.UUID) (RuntimeNode, error)
- func (q *Queries) GetRuntimePlacement(ctx context.Context, environmentID pgtype.UUID) (GetRuntimePlacementRow, error)
- func (q *Queries) GetSandboxDeploymentSnapshot(ctx context.Context) (GetSandboxDeploymentSnapshotRow, error)
- func (q *Queries) GetSandboxGeneration(ctx context.Context, generation int64) (RuntimeDeploymentGeneration, error)
- func (q *Queries) GetSandboxResetProject(ctx context.Context, tenantID pgtype.UUID) (pgtype.UUID, error)
- func (q *Queries) GetSession(ctx context.Context, arg GetSessionParams) (Session, error)
- func (q *Queries) GetSessionArtifact(ctx context.Context, arg GetSessionArtifactParams) (SessionArtifact, error)
- func (q *Queries) GetSessionConfiguration(ctx context.Context, id pgtype.UUID) ([]byte, error)
- func (q *Queries) GetSessionCursor(ctx context.Context, arg GetSessionCursorParams) (GetSessionCursorRow, error)
- func (q *Queries) GetSessionDevice(ctx context.Context, arg GetSessionDeviceParams) (GetSessionDeviceRow, error)
- func (q *Queries) GetSessionEnvironment(ctx context.Context, arg GetSessionEnvironmentParams) (GetSessionEnvironmentRow, error)
- func (q *Queries) GetSessionEnvironmentID(ctx context.Context, id pgtype.UUID) (pgtype.UUID, error)
- func (q *Queries) GetSessionExecutionBinding(ctx context.Context, arg GetSessionExecutionBindingParams) (GetSessionExecutionBindingRow, error)
- func (q *Queries) GetSessionExecutionConfiguration(ctx context.Context, arg GetSessionExecutionConfigurationParams) (GetSessionExecutionConfigurationRow, error)
- func (q *Queries) GetSessionInitializationReady(ctx context.Context, arg GetSessionInitializationReadyParams) (bool, error)
- func (q *Queries) GetSessionItem(ctx context.Context, arg GetSessionItemParams) (SessionItem, error)
- func (q *Queries) GetSessionModelExecution(ctx context.Context, arg GetSessionModelExecutionParams) ([]byte, error)
- func (q *Queries) GetSkill(ctx context.Context, arg GetSkillParams) (Skill, error)
- func (q *Queries) GetSkillVersion(ctx context.Context, arg GetSkillVersionParams) (GetSkillVersionRow, error)
- func (q *Queries) GetSkillVersionByID(ctx context.Context, arg GetSkillVersionByIDParams) (GetSkillVersionByIDRow, error)
- func (q *Queries) GetSourceFile(ctx context.Context, arg GetSourceFileParams) (SourceFile, error)
- func (q *Queries) GetStandaloneEnvironmentCursor(ctx context.Context, arg GetStandaloneEnvironmentCursorParams) (GetStandaloneEnvironmentCursorRow, error)
- func (q *Queries) GetSubagentIdentity(ctx context.Context, arg GetSubagentIdentityParams) (GetSubagentIdentityRow, error)
- func (q *Queries) GetTurn(ctx context.Context, arg GetTurnParams) (Turn, error)
- func (q *Queries) GetVault(ctx context.Context, arg GetVaultParams) (Vault, error)
- func (q *Queries) GetWorkspaceConfiguration(ctx context.Context, id pgtype.UUID) (WorkspaceFsConfiguration, error)
- func (q *Queries) GetWorkspaceSelection(ctx context.Context) (GetWorkspaceSelectionRow, error)
- func (q *Queries) GetWriteAuditCursor(ctx context.Context, arg GetWriteAuditCursorParams) (pgtype.Timestamptz, error)
- func (q *Queries) HasNativeMessageItem(ctx context.Context, arg HasNativeMessageItemParams) (bool, error)
- func (q *Queries) HasUnappliedMessages(ctx context.Context, arg HasUnappliedMessagesParams) (bool, error)
- func (q *Queries) HeartbeatRuntimeNode(ctx context.Context, arg HeartbeatRuntimeNodeParams) (int64, error)
- func (q *Queries) InitializeSandboxDeployment(ctx context.Context, arg InitializeSandboxDeploymentParams) error
- func (q *Queries) InsertAdminAudit(ctx context.Context, arg InsertAdminAuditParams) (pgtype.UUID, error)
- func (q *Queries) InsertAutomation(ctx context.Context, arg InsertAutomationParams) (pgtype.Timestamptz, error)
- func (q *Queries) InsertEnvironmentWorkspace(ctx context.Context, arg InsertEnvironmentWorkspaceParams) error
- func (q *Queries) InsertManualInvocation(ctx context.Context, arg InsertManualInvocationParams) (InsertManualInvocationRow, error)
- func (q *Queries) InsertRuntimeHistorySample(ctx context.Context, arg InsertRuntimeHistorySampleParams) error
- func (q *Queries) InsertRuntimeNode(ctx context.Context, arg InsertRuntimeNodeParams) (RuntimeNode, error)
- func (q *Queries) InsertScheduledInvocation(ctx context.Context, arg InsertScheduledInvocationParams) error
- func (q *Queries) InsertTurnEvent(ctx context.Context, arg InsertTurnEventParams) error
- func (q *Queries) InsertTurnEventBatch(ctx context.Context, arg InsertTurnEventBatchParams) error
- func (q *Queries) InsertWorkspaceConfiguration(ctx context.Context, arg InsertWorkspaceConfigurationParams) error
- func (q *Queries) InsertWriteAuditOperation(ctx context.Context, arg InsertWriteAuditOperationParams) (pgtype.UUID, error)
- func (q *Queries) InsertWriteAuditOwner(ctx context.Context, arg InsertWriteAuditOwnerParams) error
- func (q *Queries) IsUnattachedRuntimeEnvironment(ctx context.Context, id pgtype.UUID) (bool, error)
- func (q *Queries) IssueExecutorCredential(ctx context.Context, arg IssueExecutorCredentialParams) (IssueExecutorCredentialRow, error)
- func (q *Queries) ItemEventSources(ctx context.Context, arg ItemEventSourcesParams) ([]TurnEvent, error)
- func (q *Queries) ItemInputSource(ctx context.Context, arg ItemInputSourceParams) (TurnInput, error)
- func (q *Queries) ListAdminAuditLog(ctx context.Context, arg ListAdminAuditLogParams) ([]AdminAuditLog, error)
- func (q *Queries) ListAgents(ctx context.Context, arg ListAgentsParams) ([]Agent, error)
- func (q *Queries) ListAutomations(ctx context.Context, arg ListAutomationsParams) ([]ListAutomationsRow, error)
- func (q *Queries) ListCheckpointGenerationNodes(ctx context.Context, generation int64) ([]ListCheckpointGenerationNodesRow, error)
- func (q *Queries) ListChildItems(ctx context.Context, arg ListChildItemsParams) ([][]byte, error)
- func (q *Queries) ListChildTurns(ctx context.Context, arg ListChildTurnsParams) ([]SubagentTurn, error)
- func (q *Queries) ListCredentials(ctx context.Context, arg ListCredentialsParams) ([]ListCredentialsRow, error)
- func (q *Queries) ListDeploymentModelProviders(ctx context.Context) ([]ListDeploymentModelProvidersRow, error)
- func (q *Queries) ListDueEnvironmentInputs(ctx context.Context) ([]ListDueEnvironmentInputsRow, error)
- func (q *Queries) ListEnrolledRuntimeBindings(ctx context.Context) ([]ListEnrolledRuntimeBindingsRow, error)
- func (q *Queries) ListEnvironmentConnections(ctx context.Context, id pgtype.UUID) ([]ListEnvironmentConnectionsRow, error)
- func (q *Queries) ListEnvironmentExecutorCredentials(ctx context.Context, arg ListEnvironmentExecutorCredentialsParams) ([]ListEnvironmentExecutorCredentialsRow, error)
- func (q *Queries) ListEnvironmentInitializations(ctx context.Context, id pgtype.UUID) ([]ListEnvironmentInitializationsRow, error)
- func (q *Queries) ListEnvironmentInputWork(ctx context.Context, arg ListEnvironmentInputWorkParams) ([]ListEnvironmentInputWorkRow, error)
- func (q *Queries) ListEnvironmentTemplates(ctx context.Context, arg ListEnvironmentTemplatesParams) ([]ListEnvironmentTemplatesRow, error)
- func (q *Queries) ListExecutionDevices(ctx context.Context, tenantID pgtype.UUID) ([]ListExecutionDevicesRow, error)
- func (q *Queries) ListExecutionWork(ctx context.Context, arg ListExecutionWorkParams) ([]ListExecutionWorkRow, error)
- func (q *Queries) ListIdleRuntimeCheckpoints(ctx context.Context, nodeID pgtype.UUID) ([]pgtype.UUID, error)
- func (q *Queries) ListInvocations(ctx context.Context, arg ListInvocationsParams) ([]ListInvocationsRow, error)
- func (q *Queries) ListNodeHostHistory(ctx context.Context, arg ListNodeHostHistoryParams) ([]ListNodeHostHistoryRow, error)
- func (q *Queries) ListNodeRuntimeAllocations(ctx context.Context, nodeID pgtype.UUID) ([]ListNodeRuntimeAllocationsRow, error)
- func (q *Queries) ListPendingFunctionCalls(ctx context.Context, arg ListPendingFunctionCallsParams) ([]FunctionCall, error)
- func (q *Queries) ListPlacementDemand(ctx context.Context, arg ListPlacementDemandParams) ([]ListPlacementDemandRow, error)
- func (q *Queries) ListProjectAPIKeys(ctx context.Context, arg ListProjectAPIKeysParams) ([]ProjectApiKey, error)
- func (q *Queries) ListProjects(ctx context.Context, arg ListProjectsParams) ([]ListProjectsRow, error)
- func (q *Queries) ListPublicSubagents(ctx context.Context, arg ListPublicSubagentsParams) ([]pgtype.UUID, error)
- func (q *Queries) ListRootTurns(ctx context.Context, arg ListRootTurnsParams) ([]Turn, error)
- func (q *Queries) ListRuntimeAllocations(ctx context.Context, id pgtype.UUID) ([]ListRuntimeAllocationsRow, error)
- func (q *Queries) ListRuntimeAllocationsForNode(ctx context.Context, arg ListRuntimeAllocationsForNodeParams) ([]ListRuntimeAllocationsForNodeRow, error)
- func (q *Queries) ListRuntimeHistorySamples(ctx context.Context, arg ListRuntimeHistorySamplesParams) ([]RuntimeHistorySample, error)
- func (q *Queries) ListRuntimeLifecycleNodes(ctx context.Context) ([]pgtype.UUID, error)
- func (q *Queries) ListRuntimeNodes(ctx context.Context, nodeID pgtype.UUID) ([]ListRuntimeNodesRow, error)
- func (q *Queries) ListRuntimeObservationSessions(ctx context.Context, arg ListRuntimeObservationSessionsParams) ([]ListRuntimeObservationSessionsRow, error)
- func (q *Queries) ListRuntimeStartingNodes(ctx context.Context) ([]pgtype.UUID, error)
- func (q *Queries) ListRuntimeSuspensionInFlightNodes(ctx context.Context) ([]pgtype.UUID, error)
- func (q *Queries) ListSandboxGenerations(ctx context.Context, generation int64) ([]RuntimeDeploymentGeneration, error)
- func (q *Queries) ListSandboxResetCandidates(ctx context.Context, arg ListSandboxResetCandidatesParams) ([]ListSandboxResetCandidatesRow, error)
- func (q *Queries) ListSessionArtifacts(ctx context.Context, arg ListSessionArtifactsParams) ([]SessionArtifact, error)
- func (q *Queries) ListSessionEvents(ctx context.Context, arg ListSessionEventsParams) ([]ListSessionEventsRow, error)
- func (q *Queries) ListSessionItems(ctx context.Context, arg ListSessionItemsParams) ([]ListSessionItemsRow, error)
- func (q *Queries) ListSessions(ctx context.Context, arg ListSessionsParams) ([]Session, error)
- func (q *Queries) ListSkillVersions(ctx context.Context, arg ListSkillVersionsParams) ([]ListSkillVersionsRow, error)
- func (q *Queries) ListSkills(ctx context.Context, arg ListSkillsParams) ([]Skill, error)
- func (q *Queries) ListSourceFiles(ctx context.Context, arg ListSourceFilesParams) ([]SourceFile, error)
- func (q *Queries) ListStandaloneEnvironments(ctx context.Context, arg ListStandaloneEnvironmentsParams) ([]ListStandaloneEnvironmentsRow, error)
- func (q *Queries) ListTurnEvents(ctx context.Context, arg ListTurnEventsParams) ([]TurnEvent, error)
- func (q *Queries) ListTurnInputs(ctx context.Context, arg ListTurnInputsParams) ([]TurnInput, error)
- func (q *Queries) ListTurnItemDiagnostics(ctx context.Context, arg ListTurnItemDiagnosticsParams) ([]ListTurnItemDiagnosticsRow, error)
- func (q *Queries) ListUnallocatedHostedEnvironmentsForNode(ctx context.Context, arg ListUnallocatedHostedEnvironmentsForNodeParams) ([]ListUnallocatedHostedEnvironmentsForNodeRow, error)
- func (q *Queries) ListUnfinishedSessionItems(ctx context.Context, arg ListUnfinishedSessionItemsParams) ([]ListUnfinishedSessionItemsRow, error)
- func (q *Queries) ListVaults(ctx context.Context, arg ListVaultsParams) ([]Vault, error)
- func (q *Queries) ListWaitingCheckpointRestores(ctx context.Context) ([]ListWaitingCheckpointRestoresRow, error)
- func (q *Queries) ListWorkspaceDeletionCandidates(ctx context.Context, objectID pgtype.UUID) ([]ListWorkspaceDeletionCandidatesRow, error)
- func (q *Queries) ListWriteOperations(ctx context.Context, arg ListWriteOperationsParams) ([]ListWriteOperationsRow, error)
- func (q *Queries) LockAgent(ctx context.Context, arg LockAgentParams) (Agent, error)
- func (q *Queries) LockAutomation(ctx context.Context, arg LockAutomationParams) (LockAutomationRow, error)
- func (q *Queries) LockEnvironment(ctx context.Context, arg LockEnvironmentParams) (pgtype.UUID, error)
- func (q *Queries) LockEnvironmentCreation(ctx context.Context, arg LockEnvironmentCreationParams) error
- func (q *Queries) LockProject(ctx context.Context, id pgtype.UUID) (Project, error)
- func (q *Queries) LockProjectByTenant(ctx context.Context, tenantID pgtype.UUID) (Project, error)
- func (q *Queries) LockProjectForUpdate(ctx context.Context, id pgtype.UUID) (Project, error)
- func (q *Queries) LockRuntimeDeployment(ctx context.Context) (RuntimeDeployment, error)
- func (q *Queries) LockRuntimeNodePresence(ctx context.Context, id pgtype.UUID) (pgtype.UUID, error)
- func (q *Queries) LockSession(ctx context.Context, arg LockSessionParams) (LockSessionRow, error)
- func (q *Queries) LockSkill(ctx context.Context, arg LockSkillParams) (Skill, error)
- func (q *Queries) LockSourceFile(ctx context.Context, arg LockSourceFileParams) (SourceFile, error)
- func (q *Queries) LockVisibleSession(ctx context.Context, arg LockVisibleSessionParams) (Session, error)
- func (q *Queries) LockWorkspaceAdmission(ctx context.Context) (int64, error)
- func (q *Queries) LockWorkspaceConfigurations(ctx context.Context) error
- func (q *Queries) LockWorkspaceTenant(ctx context.Context, tenantID pgtype.UUID) error
- func (q *Queries) MarkSessionDeleted(ctx context.Context, id pgtype.UUID) error
- func (q *Queries) MarkSessionModelSource(ctx context.Context, arg MarkSessionModelSourceParams) error
- func (q *Queries) MarkWorkspaceDeleted(ctx context.Context, objectID pgtype.UUID) (int64, error)
- func (q *Queries) MarkWorkspaceReady(ctx context.Context, arg MarkWorkspaceReadyParams) (int64, error)
- func (q *Queries) MatchFunctionCall(ctx context.Context, arg MatchFunctionCallParams) (bool, error)
- func (q *Queries) MatchFunctionResult(ctx context.Context, arg MatchFunctionResultParams) (MatchFunctionResultRow, error)
- func (q *Queries) MatchTurnEventBatch(ctx context.Context, arg MatchTurnEventBatchParams) (bool, error)
- func (q *Queries) MatchWorkspaceConfiguration(ctx context.Context, arg MatchWorkspaceConfigurationParams) (MatchWorkspaceConfigurationRow, error)
- func (q *Queries) MoveSuspendedRuntimeCompute(ctx context.Context, arg MoveSuspendedRuntimeComputeParams) (RuntimeAllocation, error)
- func (q *Queries) NodeGenerationKept(ctx context.Context, arg NodeGenerationKeptParams) (bool, error)
- func (q *Queries) NodeGenerationReady(ctx context.Context, arg NodeGenerationReadyParams) (bool, error)
- func (q *Queries) ObserveDeploymentModelProvider(ctx context.Context, arg ObserveDeploymentModelProviderParams) (int64, error)
- func (q *Queries) ObserveRuntimeRunning(ctx context.Context, id pgtype.UUID) (RuntimeAllocation, error)
- func (q *Queries) ProjectAPIKeyDigestExists(ctx context.Context, tokenSha256 string) (bool, error)
- func (q *Queries) PromoteNodeServingGeneration(ctx context.Context, arg PromoteNodeServingGenerationParams) error
- func (q *Queries) PruneNodeHostHistory(ctx context.Context, beforeAt pgtype.Timestamptz) (int64, error)
- func (q *Queries) PruneRuntimeHistorySamples(ctx context.Context, beforeNs int64) (int64, error)
- func (q *Queries) PruneSessionEvents(ctx context.Context, arg PruneSessionEventsParams) error
- func (q *Queries) PublishSubagent(ctx context.Context, arg PublishSubagentParams) error
- func (q *Queries) PublishTurnArtifacts(ctx context.Context, arg PublishTurnArtifactsParams) error
- func (q *Queries) PutChildItem(ctx context.Context, arg PutChildItemParams) (pgtype.Int4, error)
- func (q *Queries) PutChildTurn(ctx context.Context, arg PutChildTurnParams) (SubagentTurn, error)
- func (q *Queries) PutSessionItem(ctx context.Context, arg PutSessionItemParams) (SessionItem, error)
- func (q *Queries) PutSubagentEffect(ctx context.Context, arg PutSubagentEffectParams) (bool, error)
- func (q *Queries) PutSubagentIdentity(ctx context.Context, arg PutSubagentIdentityParams) (pgtype.UUID, error)
- func (q *Queries) PutTurnUsage(ctx context.Context, arg PutTurnUsageParams) error
- func (q *Queries) ReadDefaultSkillVersion(ctx context.Context, arg ReadDefaultSkillVersionParams) (SkillVersion, error)
- func (q *Queries) ReadSkillVersion(ctx context.Context, arg ReadSkillVersionParams) (SkillVersion, error)
- func (q *Queries) RecordEnvironmentFailure(ctx context.Context, arg RecordEnvironmentFailureParams) (pgtype.Timestamptz, error)
- func (q *Queries) RecordEnvironmentInitializationSteps(ctx context.Context, arg RecordEnvironmentInitializationStepsParams) error
- func (q *Queries) RecordRuntimeTerminalActivity(ctx context.Context, id pgtype.UUID) error
- func (q *Queries) RecordSandboxConfigurationMetadata(ctx context.Context, providerMetadata []byte) error
- func (q *Queries) RecordStandaloneActivity(ctx context.Context, id pgtype.UUID) error
- func (q *Queries) RefreshLatestSkillVersion(ctx context.Context, arg RefreshLatestSkillVersionParams) error
- func (q *Queries) ReleaseFailedRuntimePlacement(ctx context.Context, arg ReleaseFailedRuntimePlacementParams) error
- func (q *Queries) ReleaseInactiveRuntimePlacements(ctx context.Context) error
- func (q *Queries) ReleaseRuntimeAllocation(ctx context.Context, id pgtype.UUID) (RuntimeAllocation, error)
- func (q *Queries) ReleaseRuntimePlacement(ctx context.Context, environmentID pgtype.UUID) error
- func (q *Queries) RememberNativeSession(ctx context.Context, arg RememberNativeSessionParams) (int64, error)
- func (q *Queries) RemoveRuntimeNode(ctx context.Context, id pgtype.UUID) error
- func (q *Queries) RenameProject(ctx context.Context, arg RenameProjectParams) error
- func (q *Queries) ReplaceEnvironmentConnection(ctx context.Context, arg ReplaceEnvironmentConnectionParams) error
- func (q *Queries) RequestRuntimeCleanup(ctx context.Context, id pgtype.UUID) (RuntimeAllocation, error)
- func (q *Queries) RequestTurnCancel(ctx context.Context, arg RequestTurnCancelParams) error
- func (q *Queries) ReserveReleasedRuntimePlacement(ctx context.Context, arg ReserveReleasedRuntimePlacementParams) (int64, error)
- func (q *Queries) ResolveEnvironmentTemplate(ctx context.Context, arg ResolveEnvironmentTemplateParams) (EnvironmentTemplate, error)
- func (q *Queries) ResolveProjectAPIKey(ctx context.Context, tokenSha256 string) (ResolveProjectAPIKeyRow, error)
- func (q *Queries) RetainSandboxGeneration(ctx context.Context) error
- func (q *Queries) RetireSandboxEnrollments(ctx context.Context) error
- func (q *Queries) RetireSandboxNodes(ctx context.Context) error
- func (q *Queries) RevokeArchivedRuntimeDevice(ctx context.Context, arg RevokeArchivedRuntimeDeviceParams) (int64, error)
- func (q *Queries) RevokeDevice(ctx context.Context, arg RevokeDeviceParams) (int64, error)
- func (q *Queries) RevokeExecutorCredential(ctx context.Context, arg RevokeExecutorCredentialParams) (int64, error)
- func (q *Queries) RevokeProjectAPIKey(ctx context.Context, arg RevokeProjectAPIKeyParams) (ProjectApiKey, error)
- func (q *Queries) RevokeProjectKeys(ctx context.Context, projectID pgtype.UUID) error
- func (q *Queries) RevokeRuntimeCleanupDevice(ctx context.Context, arg RevokeRuntimeCleanupDeviceParams) (int64, error)
- func (q *Queries) RotateExecutorCredential(ctx context.Context, arg RotateExecutorCredentialParams) (RotateExecutorCredentialRow, error)
- func (q *Queries) RuntimeComputeBlocksAdmission(ctx context.Context, id pgtype.UUID) (bool, error)
- func (q *Queries) SampleNodeHostHistory(ctx context.Context) (int64, error)
- func (q *Queries) SaveAgentModelExecution(ctx context.Context, arg SaveAgentModelExecutionParams) error
- func (q *Queries) SaveSessionExecutionConfiguration(ctx context.Context, arg SaveSessionExecutionConfigurationParams) error
- func (q *Queries) SaveSessionModelExecution(ctx context.Context, arg SaveSessionModelExecutionParams) error
- func (q *Queries) SessionBlocksAutoReset(ctx context.Context, sessionID pgtype.UUID) (bool, error)
- func (q *Queries) SessionEventCursor(ctx context.Context, arg SessionEventCursorParams) (int64, error)
- func (q *Queries) SessionEventTurn(ctx context.Context, arg SessionEventTurnParams) (Turn, error)
- func (q *Queries) SessionHasFunctionCall(ctx context.Context, arg SessionHasFunctionCallParams) (bool, error)
- func (q *Queries) SessionHasRuntimeNode(ctx context.Context, id pgtype.UUID) (bool, error)
- func (q *Queries) SessionMeasuredTokenUsage(ctx context.Context, arg SessionMeasuredTokenUsageParams) ([]byte, error)
- func (q *Queries) SessionTokenUsage(ctx context.Context, sessionID pgtype.UUID) ([]byte, error)
- func (q *Queries) SetDefaultSkillVersion(ctx context.Context, arg SetDefaultSkillVersionParams) (Skill, error)
- func (q *Queries) SetEnvironmentConnectionStatus(ctx context.Context, arg SetEnvironmentConnectionStatusParams) error
- func (q *Queries) SetEnvironmentInitialFileMetadata(ctx context.Context, arg SetEnvironmentInitialFileMetadataParams) error
- func (q *Queries) SetEnvironmentSetupMetadata(ctx context.Context, arg SetEnvironmentSetupMetadataParams) error
- func (q *Queries) SetRuntimeCompute(ctx context.Context, arg SetRuntimeComputeParams) (RuntimeAllocation, error)
- func (q *Queries) SetRuntimeObservation(ctx context.Context, arg SetRuntimeObservationParams) error
- func (q *Queries) SetWorkspaceTenantCapacity(ctx context.Context, tenantCapacityMib int64) error
- func (q *Queries) SettleEnvironmentFileWrite(ctx context.Context, arg SettleEnvironmentFileWriteParams) (EnvironmentFileWrite, error)
- func (q *Queries) SettleEnvironmentInputReservation(ctx context.Context, arg SettleEnvironmentInputReservationParams) (EnvironmentInputReservation, error)
- func (q *Queries) SettleInvocation(ctx context.Context, arg SettleInvocationParams) (SettleInvocationRow, error)
- func (q *Queries) SettleRuntimeCreation(ctx context.Context, id pgtype.UUID) (RuntimeAllocation, error)
- func (q *Queries) StageSessionArtifact(ctx context.Context, arg StageSessionArtifactParams) error
- func (q *Queries) StartSandboxReset(ctx context.Context, arg StartSandboxResetParams) error
- func (q *Queries) SubagentRootAgent(ctx context.Context, id pgtype.UUID) (string, error)
- func (q *Queries) SubmitFunctionResult(ctx context.Context, arg SubmitFunctionResultParams) error
- func (q *Queries) TenantWorkspaceCapacity(ctx context.Context, tenantID pgtype.UUID) (TenantWorkspaceCapacityRow, error)
- func (q *Queries) TouchAuthenticatedDevice(ctx context.Context, arg TouchAuthenticatedDeviceParams) (int64, error)
- func (q *Queries) TouchDevice(ctx context.Context, id pgtype.UUID) (int64, error)
- func (q *Queries) TouchRuntimeActivity(ctx context.Context, arg TouchRuntimeActivityParams) error
- func (q *Queries) TransitionTurn(ctx context.Context, arg TransitionTurnParams) (Turn, error)
- func (q *Queries) TryExecutionLease(ctx context.Context) (bool, error)
- func (q *Queries) UpdateAgent(ctx context.Context, arg UpdateAgentParams) (Agent, error)
- func (q *Queries) UpdateAutomation(ctx context.Context, arg UpdateAutomationParams) error
- func (q *Queries) UpdateCredentialMetadata(ctx context.Context, arg UpdateCredentialMetadataParams) (UpdateCredentialMetadataRow, error)
- func (q *Queries) UpdateEnvironmentTemplate(ctx context.Context, arg UpdateEnvironmentTemplateParams) (UpdateEnvironmentTemplateRow, error)
- func (q *Queries) UpdateOAuthCredential(ctx context.Context, arg UpdateOAuthCredentialParams) (UpdateOAuthCredentialRow, error)
- func (q *Queries) UpdateRuntimeNode(ctx context.Context, arg UpdateRuntimeNodeParams) (RuntimeNode, error)
- func (q *Queries) UpdateSandboxIdleSeconds(ctx context.Context, idleSeconds int64) error
- func (q *Queries) UpdateSession(ctx context.Context, arg UpdateSessionParams) (Session, error)
- func (q *Queries) UpdateStaticCredential(ctx context.Context, arg UpdateStaticCredentialParams) (UpdateStaticCredentialRow, error)
- func (q *Queries) UpdateVault(ctx context.Context, arg UpdateVaultParams) (Vault, error)
- func (q *Queries) UpsertDeploymentModelProvider(ctx context.Context, arg UpsertDeploymentModelProviderParams) (UpsertDeploymentModelProviderRow, error)
- func (q *Queries) UpsertNodeGenerationStatus(ctx context.Context, arg UpsertNodeGenerationStatusParams) error
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- func (q *Queries) WithdrawFunctionCall(ctx context.Context, arg WithdrawFunctionCallParams) error
- func (q *Queries) WorkspaceComputeReleased(ctx context.Context, environmentID pgtype.UUID) (bool, error)
- type ReadDefaultSkillVersionParams
- type ReadSkillVersionParams
- type RecordEnvironmentFailureParams
- type RecordEnvironmentInitializationStepsParams
- type RefreshLatestSkillVersionParams
- type ReleaseFailedRuntimePlacementParams
- type RememberNativeSessionParams
- type RenameProjectParams
- type ReplaceEnvironmentConnectionParams
- type RequestTurnCancelParams
- type ReserveReleasedRuntimePlacementParams
- type ResolveEnvironmentTemplateParams
- type ResolveProjectAPIKeyRow
- type RevokeArchivedRuntimeDeviceParams
- type RevokeDeviceParams
- type RevokeExecutorCredentialParams
- type RevokeProjectAPIKeyParams
- type RevokeRuntimeCleanupDeviceParams
- type RotateExecutorCredentialParams
- type RotateExecutorCredentialRow
- type RuntimeAllocation
- type RuntimeDeployment
- type RuntimeDeploymentGeneration
- type RuntimeDeviceAuthority
- type RuntimeHistorySample
- type RuntimeNode
- type RuntimeNodeEnrollment
- type RuntimeNodeGenerationStatus
- type RuntimePlacement
- type RuntimeResetRetainedEnvironment
- type SaveAgentModelExecutionParams
- type SaveSessionExecutionConfigurationParams
- type SaveSessionModelExecutionParams
- type Session
- type SessionArtifact
- type SessionDevice
- type SessionEvent
- type SessionEventCursorParams
- type SessionEventTurnParams
- type SessionExecutionConfiguration
- type SessionHasFunctionCallParams
- type SessionItem
- type SessionMeasuredTokenUsageParams
- type SessionModelExecution
- type SetDefaultSkillVersionParams
- type SetEnvironmentConnectionStatusParams
- type SetEnvironmentInitialFileMetadataParams
- type SetEnvironmentSetupMetadataParams
- type SetRuntimeComputeParams
- type SetRuntimeObservationParams
- type SettleEnvironmentFileWriteParams
- type SettleEnvironmentInputReservationParams
- type SettleInvocationParams
- type SettleInvocationRow
- type Skill
- type SkillVersion
- type SourceFile
- type StageSessionArtifactParams
- type StartSandboxResetParams
- type SubagentEffect
- type SubagentIdentity
- type SubagentItem
- type SubagentTurn
- type SubmitFunctionResultParams
- type TenantWorkspaceCapacityRow
- type TouchAuthenticatedDeviceParams
- type TouchRuntimeActivityParams
- type TransitionTurnParams
- type Turn
- type TurnEvent
- type TurnInput
- type UpdateAgentParams
- type UpdateAutomationParams
- type UpdateCredentialMetadataParams
- type UpdateCredentialMetadataRow
- type UpdateEnvironmentTemplateParams
- type UpdateEnvironmentTemplateRow
- type UpdateOAuthCredentialParams
- type UpdateOAuthCredentialRow
- type UpdateRuntimeNodeParams
- type UpdateSessionParams
- type UpdateStaticCredentialParams
- type UpdateStaticCredentialRow
- type UpdateVaultParams
- type UpsertDeploymentModelProviderParams
- type UpsertDeploymentModelProviderRow
- type UpsertNodeGenerationStatusParams
- type Vault
- type VaultCredential
- type WithdrawFunctionCallParams
- type WorkspaceFsConfiguration
- type WorkspaceStorageAdmission
- type WriteAuditOperation
- type WriteAuditOwner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminAssetCountsRow ¶
type AdminAuditLog ¶
type AdminAuditLog struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
ProjectID pgtype.UUID `json:"project_id"`
AdminCredentialID string `json:"admin_credential_id"`
ActorLabel string `json:"actor_label"`
Action string `json:"action"`
ResourceType string `json:"resource_type"`
ResourceID string `json:"resource_id"`
RequestID string `json:"request_id"`
TraceID string `json:"trace_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
}
type AdminRuntimeTargetsRow ¶
type AdminSummarySessionsParams ¶
type AdminSummarySessionsParams struct {
TenantID pgtype.UUID `json:"tenant_id"`
CreatedAfter pgtype.Timestamptz `json:"created_after"`
CreatedBefore pgtype.Timestamptz `json:"created_before"`
AfterID pgtype.UUID `json:"after_id"`
}
type AdminSummarySessionsRow ¶
type AdvanceAutomationParams ¶ added in v0.0.14
type AdvanceAutomationParams struct {
NextRunAt pgtype.Timestamptz `json:"next_run_at"`
Completed bool `json:"completed"`
ID pgtype.UUID `json:"id"`
}
type Agent ¶
type Agent struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
Metadata []byte `json:"metadata"`
Configuration []byte `json:"configuration"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type AgentModelExecution ¶
type AttachSessionEnvironmentParams ¶ added in v0.0.14
type Automation ¶ added in v0.0.14
type Automation struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
Type string `json:"type"`
Name string `json:"name"`
Metadata []byte `json:"metadata"`
Status string `json:"status"`
RunAt pgtype.Timestamptz `json:"run_at"`
Expression pgtype.Text `json:"expression"`
Timezone pgtype.Text `json:"timezone"`
NextRunAt pgtype.Timestamptz `json:"next_run_at"`
Target []byte `json:"target"`
TargetContents []byte `json:"target_contents"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
}
type AutomationInvocation ¶ added in v0.0.14
type AutomationInvocation struct {
ID pgtype.UUID `json:"id"`
AutomationID pgtype.UUID `json:"automation_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
ScheduledAt pgtype.Timestamptz `json:"scheduled_at"`
AutomationSnapshot []byte `json:"automation_snapshot"`
Status string `json:"status"`
SkipReason pgtype.Text `json:"skip_reason"`
SessionID pgtype.UUID `json:"session_id"`
ErrorCode pgtype.Text `json:"error_code"`
ErrorMessage pgtype.Text `json:"error_message"`
Delivery []byte `json:"delivery"`
AttemptedAt pgtype.Timestamptz `json:"attempted_at"`
}
type AutomationQueueRow ¶ added in v0.0.14
type BindHostedSessionDeviceParams ¶ added in v0.0.10
type BindSessionDeviceParams ¶
type ClearRuntimeWakeParams ¶
type ClearRuntimeWakeParams struct {
ID pgtype.UUID `json:"id"`
ComputeActivityAt pgtype.Timestamptz `json:"compute_activity_at"`
}
type CoreExecutionSnapshotParams ¶
type CoreExecutionSnapshotParams struct {
ConnectedDeviceIds []pgtype.UUID `json:"connected_device_ids"`
ObservedAt pgtype.Timestamptz `json:"observed_at"`
}
type CoreInterruptedTurnsParams ¶
type CoreInterruptedTurnsParams struct {
RangeStart pgtype.Timestamptz `json:"range_start"`
RangeEnd pgtype.Timestamptz `json:"range_end"`
}
type CoreQueueWaitBucketsParams ¶
type CoreQueueWaitBucketsParams struct {
RangeStart pgtype.Timestamptz `json:"range_start"`
ResolutionSeconds int32 `json:"resolution_seconds"`
RangeEnd pgtype.Timestamptz `json:"range_end"`
}
type CoreQueueWaitBucketsRow ¶
type CoreQueueWaitSummaryParams ¶
type CoreQueueWaitSummaryParams struct {
RangeStart pgtype.Timestamptz `json:"range_start"`
RangeEnd pgtype.Timestamptz `json:"range_end"`
}
type CoreQueueWaitSummaryRow ¶
type CountAddressBindingsRow ¶
type CountTurnEventParams ¶
type CreateAgentParams ¶
type CreateDeviceParams ¶
type CreateEnvironmentParams ¶
type CreateEnvironmentParams struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
Configuration []byte `json:"configuration"`
IdempotencyKey pgtype.Text `json:"idempotency_key"`
Prepared bool `json:"prepared"`
RequestHash pgtype.Text `json:"request_hash"`
CreatorKind pgtype.Text `json:"creator_kind"`
CreatorID pgtype.Text `json:"creator_id"`
}
type CreateEnvironmentTemplateParams ¶
type CreateEnvironmentTemplateParams struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
Name pgtype.Text `json:"name"`
NetworkAccess string `json:"network_access"`
Files []byte `json:"files"`
FileContents []byte `json:"file_contents"`
Packages []byte `json:"packages"`
EnvContents []byte `json:"env_contents"`
SetupContents []byte `json:"setup_contents"`
Skills []byte `json:"skills"`
SkillContents []byte `json:"skill_contents"`
NetworkAllowedDomains []string `json:"network_allowed_domains"`
Plugins []byte `json:"plugins"`
PluginContents []byte `json:"plugin_contents"`
CapabilityDirectories []string `json:"capability_directories"`
}
type CreateEnvironmentTemplateRow ¶
type CreateEnvironmentTemplateRow struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
Name pgtype.Text `json:"name"`
NetworkAccess string `json:"network_access"`
NetworkAllowedDomains []string `json:"network_allowed_domains"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
Files []byte `json:"files"`
Packages []byte `json:"packages"`
Skills []byte `json:"skills"`
Plugins []byte `json:"plugins"`
CapabilityDirectories []string `json:"capability_directories"`
}
type CreateOAuthCredentialParams ¶
type CreateOAuthCredentialParams struct {
ID pgtype.UUID `json:"id"`
Name string `json:"name"`
McpServerUrl string `json:"mcp_server_url"`
TokenCiphertext []byte `json:"token_ciphertext"`
OauthMetadata []byte `json:"oauth_metadata"`
Metadata []byte `json:"metadata"`
TenantID pgtype.UUID `json:"tenant_id"`
VaultID pgtype.UUID `json:"vault_id"`
}
type CreateOAuthCredentialRow ¶
type CreateOAuthCredentialRow struct {
ID pgtype.UUID `json:"id"`
VaultID pgtype.UUID `json:"vault_id"`
Name string `json:"name"`
AuthType string `json:"auth_type"`
McpServerUrl string `json:"mcp_server_url"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
OauthMetadata []byte `json:"oauth_metadata"`
Metadata []byte `json:"metadata"`
}
type CreateProjectParams ¶
type CreateRuntimeAllocationParams ¶
type CreateRuntimeAllocationParams struct {
ID pgtype.UUID `json:"id"`
EnvironmentID pgtype.UUID `json:"environment_id"`
DeviceID pgtype.UUID `json:"device_id"`
ProviderKey pgtype.UUID `json:"provider_key"`
NodeID pgtype.UUID `json:"node_id"`
DeploymentGeneration pgtype.Int8 `json:"deployment_generation"`
}
type CreateSessionParams ¶
type CreateSessionParams struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
Engine string `json:"engine"`
Metadata []byte `json:"metadata"`
IdempotencyKey string `json:"idempotency_key"`
RequestHash string `json:"request_hash"`
Configuration []byte `json:"configuration"`
CreationRequestHash pgtype.Text `json:"creation_request_hash"`
CreatorKind pgtype.Text `json:"creator_kind"`
CreatorID pgtype.Text `json:"creator_id"`
}
type CreateSkillParams ¶
type CreateSkillVersionRow ¶
type CreateSourceFileParams ¶
type CreateStaticCredentialParams ¶
type CreateStaticCredentialParams struct {
ID pgtype.UUID `json:"id"`
Name string `json:"name"`
McpServerUrl string `json:"mcp_server_url"`
TokenCiphertext []byte `json:"token_ciphertext"`
Metadata []byte `json:"metadata"`
TenantID pgtype.UUID `json:"tenant_id"`
VaultID pgtype.UUID `json:"vault_id"`
}
type CreateStaticCredentialRow ¶
type CreateStaticCredentialRow struct {
ID pgtype.UUID `json:"id"`
VaultID pgtype.UUID `json:"vault_id"`
Name string `json:"name"`
AuthType string `json:"auth_type"`
McpServerUrl string `json:"mcp_server_url"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
OauthMetadata []byte `json:"oauth_metadata"`
Metadata []byte `json:"metadata"`
}
type CreateTurnInputParams ¶
type CreateTurnParams ¶
type CreateVaultParams ¶
type DeleteAgentParams ¶
type DeleteAutomationParams ¶ added in v0.0.14
type DeleteCredentialParams ¶
type DeleteExpiredWriteOperationsParams ¶
type DeleteExpiredWriteOperationsParams struct {
CreatedAt pgtype.Timestamptz `json:"created_at"`
Limit int32 `json:"limit"`
}
type DeleteSkillParams ¶
type DeleteSkillVersionRow ¶
type DeleteSourceFileParams ¶
type DeleteVaultParams ¶
type DeliverableInvocationsRow ¶ added in v0.0.14
type DeliverableInvocationsRow struct {
ID pgtype.UUID `json:"id"`
AutomationID pgtype.UUID `json:"automation_id"`
TenantID pgtype.UUID `json:"tenant_id"`
TargetType string `json:"target_type"`
Delivery []byte `json:"delivery"`
SubjectKind string `json:"subject_kind"`
SubjectID string `json:"subject_id"`
OrganizationID string `json:"organization_id"`
ProjectID string `json:"project_id"`
}
type DeploymentModelProvider ¶
type DeploymentModelProvider struct {
Harness string `json:"harness"`
Protocol string `json:"protocol"`
BaseUrl string `json:"base_url"`
ContextWindow int32 `json:"context_window"`
MaxOutputTokens int32 `json:"max_output_tokens"`
EncryptedApiKey []byte `json:"encrypted_api_key"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
Revision pgtype.UUID `json:"revision"`
LastUsedAt pgtype.Timestamptz `json:"last_used_at"`
LastErrorCode pgtype.Text `json:"last_error_code"`
LastErrorAt pgtype.Timestamptz `json:"last_error_at"`
RecoveryPending bool `json:"recovery_pending"`
Model string `json:"model"`
HarnessConfig []byte `json:"harness_config"`
}
type Device ¶
type Device struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
Name string `json:"name"`
CredentialHash pgtype.Text `json:"credential_hash"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
LastSeenAt pgtype.Timestamptz `json:"last_seen_at"`
RevokedAt pgtype.Timestamptz `json:"revoked_at"`
EnvironmentID pgtype.UUID `json:"environment_id"`
ExecutorKeyID pgtype.UUID `json:"executor_key_id"`
ArchiveCancelTurnID pgtype.UUID `json:"archive_cancel_turn_id"`
SupportedAgentKinds []byte `json:"supported_agent_kinds"`
}
type DueAutomationIDsParams ¶ added in v0.0.14
type DueAutomationIDsParams struct {
Now pgtype.Timestamptz `json:"now"`
PageLimit int32 `json:"page_limit"`
}
type DueAutomationIDsRow ¶ added in v0.0.14
type EnrollRuntimeDeviceRow ¶
type Environment ¶
type Environment struct {
ID pgtype.UUID `json:"id"`
Status string `json:"status"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
FailureReason pgtype.Text `json:"failure_reason"`
FailedAt pgtype.Timestamptz `json:"failed_at"`
FailureDetail []byte `json:"failure_detail"`
Initialization string `json:"initialization"`
InitializationSteps []byte `json:"initialization_steps"`
TenantID pgtype.UUID `json:"tenant_id"`
Configuration []byte `json:"configuration"`
SessionOwned bool `json:"session_owned"`
IdempotencyKey pgtype.Text `json:"idempotency_key"`
RequestHash pgtype.Text `json:"request_hash"`
CreatorKind pgtype.Text `json:"creator_kind"`
CreatorID pgtype.Text `json:"creator_id"`
}
type EnvironmentConnection ¶
type EnvironmentExecutorCredential ¶
type EnvironmentExecutorCredential struct {
EnvironmentID pgtype.UUID `json:"environment_id"`
TokenSha256 string `json:"token_sha256"`
IssuedAt pgtype.Timestamptz `json:"issued_at"`
RevokedAt pgtype.Timestamptz `json:"revoked_at"`
KeyID pgtype.UUID `json:"key_id"`
TenantID pgtype.UUID `json:"tenant_id"`
SubjectKind pgtype.Text `json:"subject_kind"`
SubjectID pgtype.Text `json:"subject_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
}
type EnvironmentFileWrite ¶
type EnvironmentFileWrite struct {
ID pgtype.UUID `json:"id"`
EnvironmentID pgtype.UUID `json:"environment_id"`
DeviceID pgtype.UUID `json:"device_id"`
RequestSha256 string `json:"request_sha256"`
State string `json:"state"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
SettledAt pgtype.Timestamptz `json:"settled_at"`
AuditSource []byte `json:"audit_source"`
}
type EnvironmentInputReservation ¶
type EnvironmentInputReservation struct {
ID pgtype.UUID `json:"id"`
SessionID pgtype.UUID `json:"session_id"`
IdempotencyKey string `json:"idempotency_key"`
Batch []byte `json:"batch"`
State string `json:"state"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
Deadline pgtype.Timestamptz `json:"deadline"`
SettledAt pgtype.Timestamptz `json:"settled_at"`
IsInitial bool `json:"is_initial"`
FailureCode pgtype.Text `json:"failure_code"`
Settings []byte `json:"settings"`
}
type EnvironmentLiveness ¶ added in v0.0.14
type EnvironmentSetup ¶
type EnvironmentTemplate ¶
type EnvironmentTemplate struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
Name pgtype.Text `json:"name"`
NetworkAccess string `json:"network_access"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
Files []byte `json:"files"`
FileContents []byte `json:"file_contents"`
Packages []byte `json:"packages"`
EnvContents []byte `json:"env_contents"`
SetupContents []byte `json:"setup_contents"`
Skills []byte `json:"skills"`
SkillContents []byte `json:"skill_contents"`
NetworkAllowedDomains []string `json:"network_allowed_domains"`
Plugins []byte `json:"plugins"`
PluginContents []byte `json:"plugin_contents"`
CapabilityDirectories []string `json:"capability_directories"`
}
type EnvironmentWorkspace ¶ added in v0.0.10
type ExecutionProjectScope ¶
type ExpireEnvironmentParams ¶ added in v0.0.14
type ExpireRuntimeCheckpointParams ¶ added in v0.0.12
type FindEnvironmentCreationParams ¶ added in v0.0.14
type FindEnvironmentCreationRow ¶ added in v0.0.14
type FindEnvironmentInputReservationRow ¶
type FindEnvironmentInputReservationRow struct {
EnvironmentInputReservation EnvironmentInputReservation `json:"environment_input_reservation"`
Matches bool `json:"matches"`
}
type FindFunctionCallTurnParams ¶ added in v0.0.13
type FindFunctionCallTurnRow ¶ added in v0.0.13
type FindInputBatchParams ¶
type FindInputBatchRow ¶
type FindMCPCredentialsRow ¶
type FindMCPCredentialsRow struct {
ID pgtype.UUID `json:"id"`
VaultID pgtype.UUID `json:"vault_id"`
Name string `json:"name"`
AuthType string `json:"auth_type"`
McpServerUrl string `json:"mcp_server_url"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
type FunctionCall ¶
type FunctionCall struct {
SessionID pgtype.UUID `json:"session_id"`
TurnID pgtype.UUID `json:"turn_id"`
CallID string `json:"call_id"`
ExecutorCallID string `json:"executor_call_id"`
Name string `json:"name"`
Arguments []byte `json:"arguments"`
Result []byte `json:"result"`
Applied bool `json:"applied"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
Withdrawn bool `json:"withdrawn"`
}
type GetAgentParams ¶
type GetAgentWithModelExecutionRow ¶
type GetAgentWithModelExecutionRow struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
Metadata []byte `json:"metadata"`
Configuration []byte `json:"configuration"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
EncryptedConfig []byte `json:"encrypted_config"`
}
type GetArchivedCancellationReceiptRow ¶
type GetArchivedCancellationReceiptRow struct {
ID pgtype.UUID `json:"id"`
CancelRequestedAt pgtype.Timestamptz `json:"cancel_requested_at"`
}
type GetAutomationParams ¶ added in v0.0.14
type GetAutomationRow ¶ added in v0.0.14
type GetAutomationRow struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
Type string `json:"type"`
Name string `json:"name"`
Metadata []byte `json:"metadata"`
Status string `json:"status"`
RunAt pgtype.Timestamptz `json:"run_at"`
Expression pgtype.Text `json:"expression"`
Timezone pgtype.Text `json:"timezone"`
NextRunAt pgtype.Timestamptz `json:"next_run_at"`
Target []byte `json:"target"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
}
type GetChildItemParams ¶
type GetChildItemRow ¶
type GetChildItemRow struct {
ID pgtype.UUID `json:"id"`
SessionID pgtype.UUID `json:"session_id"`
SubagentID pgtype.UUID `json:"subagent_id"`
TurnID pgtype.UUID `json:"turn_id"`
Position int32 `json:"position"`
OutputIndex pgtype.Int4 `json:"output_index"`
Payload []byte `json:"payload"`
TurnCreatedAt pgtype.Timestamptz `json:"turn_created_at"`
PayloadEqual bool `json:"payload_equal"`
}
type GetChildTurnParams ¶
type GetCredentialParams ¶
type GetCredentialRow ¶
type GetCredentialRow struct {
ID pgtype.UUID `json:"id"`
VaultID pgtype.UUID `json:"vault_id"`
Name string `json:"name"`
AuthType string `json:"auth_type"`
McpServerUrl string `json:"mcp_server_url"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
OauthMetadata []byte `json:"oauth_metadata"`
Metadata []byte `json:"metadata"`
}
type GetDeploymentModelProviderSecretRow ¶
type GetDeploymentModelProviderSecretRow struct {
Protocol string `json:"protocol"`
BaseUrl string `json:"base_url"`
ContextWindow int32 `json:"context_window"`
MaxOutputTokens int32 `json:"max_output_tokens"`
Model string `json:"model"`
HarnessConfig []byte `json:"harness_config"`
EncryptedApiKey []byte `json:"encrypted_api_key"`
Revision pgtype.UUID `json:"revision"`
}
type GetDeviceCredentialRow ¶
type GetDeviceParams ¶
type GetDeviceRow ¶
type GetEnvironmentAttachmentParams ¶ added in v0.0.14
type GetEnvironmentAttachmentRow ¶ added in v0.0.14
type GetEnvironmentDeviceParams ¶ added in v0.0.14
type GetEnvironmentDeviceRow ¶ added in v0.0.14
type GetEnvironmentExecutorConnectionRow ¶
type GetEnvironmentExecutorConnectionRow struct {
DeviceID pgtype.UUID `json:"device_id"`
ExecutorKeyID pgtype.UUID `json:"executor_key_id"`
EnrolledAt pgtype.Timestamptz `json:"enrolled_at"`
LastSeenAt pgtype.Timestamptz `json:"last_seen_at"`
CredentialHash pgtype.Text `json:"credential_hash"`
EnvironmentStatus string `json:"environment_status"`
}
type GetEnvironmentFileWriteRow ¶
type GetEnvironmentFileWriteRow struct {
EnvironmentFileWrite EnvironmentFileWrite `json:"environment_file_write"`
}
type GetEnvironmentInputActivityRow ¶
type GetEnvironmentInputActivityRow struct {
State string `json:"state"`
IsInitial bool `json:"is_initial"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
SettledAt pgtype.Timestamptz `json:"settled_at"`
FailureCode pgtype.Text `json:"failure_code"`
EnvironmentID pgtype.UUID `json:"environment_id"`
ConnectionStatus string `json:"connection_status"`
EnvironmentType string `json:"environment_type"`
}
type GetEnvironmentParams ¶
type GetEnvironmentRow ¶
type GetEnvironmentRow struct {
Environment Environment `json:"environment"`
AttachedSessionID pgtype.UUID `json:"attached_session_id"`
ExternalWorkspace bool `json:"external_workspace"`
}
type GetEnvironmentSetupRow ¶ added in v0.0.14
type GetEnvironmentTemplateRow ¶
type GetEnvironmentTemplateRow struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
Name pgtype.Text `json:"name"`
NetworkAccess string `json:"network_access"`
NetworkAllowedDomains []string `json:"network_allowed_domains"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
Files []byte `json:"files"`
Packages []byte `json:"packages"`
Skills []byte `json:"skills"`
Plugins []byte `json:"plugins"`
CapabilityDirectories []string `json:"capability_directories"`
}
type GetEnvironmentWorkspaceParams ¶ added in v0.0.10
type GetEnvironmentWorkspaceRow ¶ added in v0.0.10
type GetEnvironmentWorkspaceRow struct {
EnvironmentWorkspace EnvironmentWorkspace `json:"environment_workspace"`
WorkspaceFsConfiguration WorkspaceFsConfiguration `json:"workspace_fs_configuration"`
TenantID pgtype.UUID `json:"tenant_id"`
}
type GetExecutorCredentialForPrincipalParams ¶
type GetExecutorCredentialForPrincipalParams struct {
KeyID pgtype.UUID `json:"key_id"`
TenantID pgtype.UUID `json:"tenant_id"`
SubjectKind pgtype.Text `json:"subject_kind"`
SubjectID pgtype.Text `json:"subject_id"`
OrganizationID string `json:"organization_id"`
ProjectID string `json:"project_id"`
}
type GetFunctionCallParams ¶
type GetInitialEnvironmentFileRow ¶ added in v0.0.14
type GetInvocationParams ¶ added in v0.0.14
type GetInvocationRow ¶ added in v0.0.14
type GetInvocationRow struct {
ID pgtype.UUID `json:"id"`
AutomationID pgtype.UUID `json:"automation_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
ScheduledAt pgtype.Timestamptz `json:"scheduled_at"`
AutomationSnapshot []byte `json:"automation_snapshot"`
Status string `json:"status"`
SkipReason pgtype.Text `json:"skip_reason"`
SessionID pgtype.UUID `json:"session_id"`
ErrorCode pgtype.Text `json:"error_code"`
ErrorMessage pgtype.Text `json:"error_message"`
}
type GetLatestRuntimeAllocationParams ¶ added in v0.0.10
type GetLatestRuntimeAllocationRow ¶ added in v0.0.10
type GetNativeSubagentParams ¶
type GetOAuthCredentialForUpdateRow ¶
type GetOAuthCredentialForUpdateRow struct {
ID pgtype.UUID `json:"id"`
VaultID pgtype.UUID `json:"vault_id"`
Name string `json:"name"`
AuthType string `json:"auth_type"`
McpServerUrl string `json:"mcp_server_url"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
OauthMetadata []byte `json:"oauth_metadata"`
Metadata []byte `json:"metadata"`
TokenCiphertext []byte `json:"token_ciphertext"`
}
type GetProjectRow ¶
type GetProjectRow struct {
ID pgtype.UUID `json:"id"`
Name string `json:"name"`
TenantID pgtype.UUID `json:"tenant_id"`
SubjectKind string `json:"subject_kind"`
SubjectID string `json:"subject_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
ArchivedAt pgtype.Timestamptz `json:"archived_at"`
OrganizationID string `json:"organization_id"`
ExternalProjectID string `json:"external_project_id"`
ActiveKeyCount int64 `json:"active_key_count"`
}
type GetPublicSubagentParams ¶
type GetPublicSubagentRow ¶
type GetPublicSubagentRow struct {
ID pgtype.UUID `json:"id"`
SessionID pgtype.UUID `json:"session_id"`
DeviceID pgtype.UUID `json:"device_id"`
Engine string `json:"engine"`
NativeID string `json:"native_id"`
ParentNativeID string `json:"parent_native_id"`
NativeCreatedAt int64 `json:"native_created_at"`
FirstTurnID pgtype.UUID `json:"first_turn_id"`
FirstEventOrdinal int32 `json:"first_event_ordinal"`
Name pgtype.Text `json:"name"`
Instructions pgtype.Text `json:"instructions"`
PublicVisible bool `json:"public_visible"`
Status string `json:"status"`
ClosedAtMs pgtype.Int8 `json:"closed_at_ms"`
LifecycleAtMs int64 `json:"lifecycle_at_ms"`
ParentAgentID string `json:"parent_agent_id"`
}
type GetResourceOwnersParams ¶
type GetResourceOwnersRow ¶
type GetRuntimeActivityRow ¶
type GetRuntimeActivityRow struct {
ObservedAt pgtype.Timestamptz `json:"observed_at"`
LastActivity pgtype.Timestamptz `json:"last_activity"`
Busy bool `json:"busy"`
ComputeWakeRequested bool `json:"compute_wake_requested"`
}
type GetRuntimeLifecyclePlacementRow ¶
type GetRuntimeLifecyclePlacementRow struct {
ProviderKind string `json:"provider_kind"`
Mode string `json:"mode"`
AllocationID pgtype.UUID `json:"allocation_id"`
AllocationNodeID pgtype.UUID `json:"allocation_node_id"`
PlacementNodeID pgtype.UUID `json:"placement_node_id"`
PlacementGeneration pgtype.Int8 `json:"placement_generation"`
ReleasedAt pgtype.Timestamptz `json:"released_at"`
Specification []byte `json:"specification"`
}
type GetRuntimePlacementRow ¶
type GetRuntimePlacementRow struct {
EnvironmentID pgtype.UUID `json:"environment_id"`
NodeID pgtype.UUID `json:"node_id"`
ReservedAt pgtype.Timestamptz `json:"reserved_at"`
ReleasedAt pgtype.Timestamptz `json:"released_at"`
DeploymentGeneration pgtype.Int8 `json:"deployment_generation"`
Name string `json:"name"`
Available bool `json:"available"`
ObservationError string `json:"observation_error"`
State string `json:"state"`
ComputePhase string `json:"compute_phase"`
}
type GetSessionCursorParams ¶ added in v0.0.13
type GetSessionCursorRow ¶ added in v0.0.13
type GetSessionCursorRow struct {
CreatedAt pgtype.Timestamptz `json:"created_at"`
ID pgtype.UUID `json:"id"`
}
type GetSessionDeviceParams ¶
type GetSessionDeviceRow ¶
type GetSessionEnvironmentRow ¶
type GetSessionEnvironmentRow struct {
Environment Environment `json:"environment"`
AttachedSessionID pgtype.UUID `json:"attached_session_id"`
ExternalWorkspace bool `json:"external_workspace"`
}
type GetSessionItemParams ¶
type GetSessionParams ¶
type GetSkillParams ¶
type GetSkillVersionByIDRow ¶
type GetSkillVersionParams ¶
type GetSkillVersionRow ¶
type GetSourceFileParams ¶
type GetStandaloneEnvironmentCursorParams ¶ added in v0.0.14
type GetStandaloneEnvironmentCursorRow ¶ added in v0.0.14
type GetStandaloneEnvironmentCursorRow struct {
CreatedAt pgtype.Timestamptz `json:"created_at"`
ID pgtype.UUID `json:"id"`
}
type GetSubagentIdentityRow ¶
type GetSubagentIdentityRow struct {
ID pgtype.UUID `json:"id"`
SessionID pgtype.UUID `json:"session_id"`
DeviceID pgtype.UUID `json:"device_id"`
Engine string `json:"engine"`
NativeID string `json:"native_id"`
ParentNativeID string `json:"parent_native_id"`
NativeCreatedAt int64 `json:"native_created_at"`
FirstTurnID pgtype.UUID `json:"first_turn_id"`
FirstEventOrdinal int32 `json:"first_event_ordinal"`
Name pgtype.Text `json:"name"`
Instructions pgtype.Text `json:"instructions"`
PublicVisible bool `json:"public_visible"`
Status string `json:"status"`
ClosedAtMs pgtype.Int8 `json:"closed_at_ms"`
LifecycleAtMs int64 `json:"lifecycle_at_ms"`
FirstObservedAt pgtype.Timestamptz `json:"first_observed_at"`
}
type GetTurnParams ¶
type GetVaultParams ¶
type GetWorkspaceSelectionRow ¶ added in v0.0.10
type GetWorkspaceSelectionRow struct {
WorkspaceFsConfiguration WorkspaceFsConfiguration `json:"workspace_fs_configuration"`
TenantCapacityMib int64 `json:"tenant_capacity_mib"`
}
type InitialEnvironmentFile ¶
type InitializeSandboxDeploymentParams ¶
type InitializeSandboxDeploymentParams struct {
ProviderKind string `json:"provider_kind"`
BackendFingerprint string `json:"backend_fingerprint"`
Generation int64 `json:"generation"`
Mode string `json:"mode"`
ProviderConfig []byte `json:"provider_config"`
ProviderMetadata []byte `json:"provider_metadata"`
ProviderCredential []byte `json:"provider_credential"`
Specification []byte `json:"specification"`
}
type InsertAdminAuditParams ¶
type InsertAdminAuditParams struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
AdminCredentialID string `json:"admin_credential_id"`
ActorLabel string `json:"actor_label"`
Action string `json:"action"`
ProjectID pgtype.UUID `json:"project_id"`
ResourceType string `json:"resource_type"`
ResourceID string `json:"resource_id"`
RequestID string `json:"request_id"`
TraceID string `json:"trace_id"`
}
type InsertAutomationParams ¶ added in v0.0.14
type InsertAutomationParams struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
Type string `json:"type"`
Name string `json:"name"`
Metadata []byte `json:"metadata"`
Status string `json:"status"`
RunAt pgtype.Timestamptz `json:"run_at"`
Expression pgtype.Text `json:"expression"`
Timezone pgtype.Text `json:"timezone"`
NextRunAt pgtype.Timestamptz `json:"next_run_at"`
Target []byte `json:"target"`
TargetContents []byte `json:"target_contents"`
}
type InsertEnvironmentWorkspaceParams ¶ added in v0.0.10
type InsertManualInvocationParams ¶ added in v0.0.14
type InsertManualInvocationRow ¶ added in v0.0.14
type InsertManualInvocationRow struct {
CreatedAt pgtype.Timestamptz `json:"created_at"`
SessionID pgtype.UUID `json:"session_id"`
}
type InsertRuntimeHistorySampleParams ¶
type InsertRuntimeHistorySampleParams struct {
ResolvedAtNs int64 `json:"resolved_at_ns"`
AllocationID pgtype.UUID `json:"allocation_id"`
ProviderType string `json:"provider_type"`
Status string `json:"status"`
ObservedAtNs pgtype.Int8 `json:"observed_at_ns"`
StartedAtNs pgtype.Int8 `json:"started_at_ns"`
CpuUsageSeconds pgtype.Float8 `json:"cpu_usage_seconds"`
CpuCapacityCores pgtype.Float8 `json:"cpu_capacity_cores"`
MemoryUsageBytes pgtype.Int8 `json:"memory_usage_bytes"`
MemoryLimitBytes pgtype.Int8 `json:"memory_limit_bytes"`
InputTokens pgtype.Int8 `json:"input_tokens"`
OutputTokens pgtype.Int8 `json:"output_tokens"`
CpuUtilizationRatio pgtype.Float8 `json:"cpu_utilization_ratio"`
TenantID pgtype.UUID `json:"tenant_id"`
SessionID pgtype.UUID `json:"session_id"`
EnvironmentID pgtype.UUID `json:"environment_id"`
}
type InsertRuntimeNodeParams ¶
type InsertRuntimeNodeParams struct {
ID pgtype.UUID `json:"id"`
InstallationID pgtype.UUID `json:"installation_id"`
Name string `json:"name"`
BackendFingerprint string `json:"backend_fingerprint"`
CredentialSha256 string `json:"credential_sha256"`
MaxActive int32 `json:"max_active"`
MaxRetained int32 `json:"max_retained"`
SpecificationDigest string `json:"specification_digest"`
DeploymentGeneration int64 `json:"deployment_generation"`
CoreUrl string `json:"core_url"`
EnrollmentID pgtype.UUID `json:"enrollment_id"`
}
type InsertScheduledInvocationParams ¶ added in v0.0.14
type InsertScheduledInvocationParams struct {
ID pgtype.UUID `json:"id"`
ScheduledAt pgtype.Timestamptz `json:"scheduled_at"`
AutomationSnapshot []byte `json:"automation_snapshot"`
Status string `json:"status"`
SkipReason pgtype.Text `json:"skip_reason"`
AutomationID pgtype.UUID `json:"automation_id"`
}
type InsertTurnEventParams ¶
type InsertWorkspaceConfigurationParams ¶ added in v0.0.10
type InsertWriteAuditOperationParams ¶
type InsertWriteAuditOperationParams struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
KeyID string `json:"key_id"`
KeyName string `json:"key_name"`
KeyPrefix string `json:"key_prefix"`
KeyKind string `json:"key_kind"`
Action string `json:"action"`
ResourceType string `json:"resource_type"`
ResourceID string `json:"resource_id"`
ParentID string `json:"parent_id"`
RequestID string `json:"request_id"`
TraceID string `json:"trace_id"`
}
type IssueExecutorCredentialParams ¶
type IssueExecutorCredentialParams struct {
KeyID pgtype.UUID `json:"key_id"`
SubjectKind pgtype.Text `json:"subject_kind"`
SubjectID pgtype.Text `json:"subject_id"`
EnvironmentID pgtype.UUID `json:"environment_id"`
TokenSha256 string `json:"token_sha256"`
TenantID pgtype.UUID `json:"tenant_id"`
OrganizationID string `json:"organization_id"`
ProjectID string `json:"project_id"`
}
type ItemEventSourcesParams ¶
type ItemInputSourceParams ¶
type ListAdminAuditLogParams ¶
type ListAdminAuditLogParams struct {
ProjectID string `json:"project_id"`
ResourceType string `json:"resource_type"`
ResourceID string `json:"resource_id"`
Action string `json:"action"`
CreatedAfter pgtype.Timestamptz `json:"created_after"`
CreatedBefore pgtype.Timestamptz `json:"created_before"`
AfterTime pgtype.Timestamptz `json:"after_time"`
AfterID pgtype.UUID `json:"after_id"`
PageLimit int32 `json:"page_limit"`
}
type ListAgentsParams ¶
type ListAutomationsParams ¶ added in v0.0.14
type ListAutomationsRow ¶ added in v0.0.14
type ListAutomationsRow struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
Type string `json:"type"`
Name string `json:"name"`
Metadata []byte `json:"metadata"`
Status string `json:"status"`
RunAt pgtype.Timestamptz `json:"run_at"`
Expression pgtype.Text `json:"expression"`
Timezone pgtype.Text `json:"timezone"`
NextRunAt pgtype.Timestamptz `json:"next_run_at"`
Target []byte `json:"target"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
}
type ListCheckpointGenerationNodesRow ¶ added in v0.0.10
type ListChildItemsParams ¶
type ListChildItemsParams struct {
SessionID pgtype.UUID `json:"session_id"`
SubagentID pgtype.UUID `json:"subagent_id"`
TurnID pgtype.UUID `json:"turn_id"`
AfterCreated pgtype.Timestamptz `json:"after_created"`
Ascending bool `json:"ascending"`
AfterTurn pgtype.UUID `json:"after_turn"`
AfterPosition int32 `json:"after_position"`
AfterID pgtype.UUID `json:"after_id"`
PageLimit int32 `json:"page_limit"`
}
type ListChildTurnsParams ¶
type ListCredentialsParams ¶
type ListCredentialsParams struct {
TenantID pgtype.UUID `json:"tenant_id"`
VaultID pgtype.UUID `json:"vault_id"`
Statuses []string `json:"statuses"`
Metadata []byte `json:"metadata"`
AfterCreated pgtype.Timestamptz `json:"after_created"`
Ascending bool `json:"ascending"`
AfterID pgtype.UUID `json:"after_id"`
PageLimit int32 `json:"page_limit"`
}
type ListCredentialsRow ¶
type ListCredentialsRow struct {
ID pgtype.UUID `json:"id"`
VaultID pgtype.UUID `json:"vault_id"`
Name string `json:"name"`
AuthType string `json:"auth_type"`
McpServerUrl string `json:"mcp_server_url"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
OauthMetadata []byte `json:"oauth_metadata"`
Metadata []byte `json:"metadata"`
}
type ListDeploymentModelProvidersRow ¶
type ListDeploymentModelProvidersRow struct {
Harness string `json:"harness"`
Protocol string `json:"protocol"`
BaseUrl string `json:"base_url"`
ContextWindow int32 `json:"context_window"`
MaxOutputTokens int32 `json:"max_output_tokens"`
Model string `json:"model"`
HarnessConfig []byte `json:"harness_config"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
LastUsedAt pgtype.Timestamptz `json:"last_used_at"`
LastErrorCode pgtype.Text `json:"last_error_code"`
LastErrorAt pgtype.Timestamptz `json:"last_error_at"`
}
type ListEnvironmentExecutorCredentialsRow ¶
type ListEnvironmentExecutorCredentialsRow struct {
KeyID pgtype.UUID `json:"key_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
RevokedAt pgtype.Timestamptz `json:"revoked_at"`
}
type ListEnvironmentTemplatesRow ¶
type ListEnvironmentTemplatesRow struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
Name pgtype.Text `json:"name"`
NetworkAccess string `json:"network_access"`
NetworkAllowedDomains []string `json:"network_allowed_domains"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
Files []byte `json:"files"`
Packages []byte `json:"packages"`
Skills []byte `json:"skills"`
Plugins []byte `json:"plugins"`
CapabilityDirectories []string `json:"capability_directories"`
}
type ListExecutionDevicesRow ¶
type ListExecutionWorkParams ¶
type ListExecutionWorkRow ¶
type ListInvocationsParams ¶ added in v0.0.14
type ListInvocationsRow ¶ added in v0.0.14
type ListInvocationsRow struct {
ID pgtype.UUID `json:"id"`
AutomationID pgtype.UUID `json:"automation_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
ScheduledAt pgtype.Timestamptz `json:"scheduled_at"`
AutomationSnapshot []byte `json:"automation_snapshot"`
Status string `json:"status"`
SkipReason pgtype.Text `json:"skip_reason"`
SessionID pgtype.UUID `json:"session_id"`
ErrorCode pgtype.Text `json:"error_code"`
ErrorMessage pgtype.Text `json:"error_message"`
}
type ListNodeHostHistoryParams ¶
type ListNodeHostHistoryParams struct {
BucketWidth pgtype.Interval `json:"bucket_width"`
NodeID pgtype.UUID `json:"node_id"`
StartAt pgtype.Timestamptz `json:"start_at"`
EndAt pgtype.Timestamptz `json:"end_at"`
}
type ListNodeHostHistoryRow ¶
type ListNodeHostHistoryRow struct {
Start pgtype.Timestamptz `json:"start"`
CpuSamples int64 `json:"cpu_samples"`
CpuUtilizationMax float64 `json:"cpu_utilization_max"`
MemorySamples int64 `json:"memory_samples"`
MemoryUsedBytesMax int64 `json:"memory_used_bytes_max"`
DiskSamples int64 `json:"disk_samples"`
AvailableDiskBytesMin int64 `json:"available_disk_bytes_min"`
}
type ListNodeRuntimeAllocationsRow ¶
type ListNodeRuntimeAllocationsRow struct {
ID pgtype.UUID `json:"id"`
NodeID pgtype.UUID `json:"node_id"`
DeploymentGeneration pgtype.Int8 `json:"deployment_generation"`
ObservationError string `json:"observation_error"`
State string `json:"state"`
ComputePhase string `json:"compute_phase"`
ComputePhaseChangedAt pgtype.Timestamptz `json:"compute_phase_changed_at"`
Initialization string `json:"initialization"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
EnvironmentID pgtype.UUID `json:"environment_id"`
AttachedSessionID pgtype.UUID `json:"attached_session_id"`
TenantID pgtype.UUID `json:"tenant_id"`
}
type ListPlacementDemandParams ¶ added in v0.0.10
type ListPlacementDemandParams struct {
UntilTime pgtype.Timestamptz `json:"until_time"`
AfterTime pgtype.Timestamptz `json:"after_time"`
AfterID pgtype.UUID `json:"after_id"`
}
type ListPlacementDemandRow ¶ added in v0.0.10
type ListPlacementDemandRow struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
Engine string `json:"engine"`
Retained bool `json:"retained"`
DemandedAt pgtype.Timestamptz `json:"demanded_at"`
ScanUntil pgtype.Timestamptz `json:"scan_until"`
}
type ListProjectsParams ¶
type ListProjectsRow ¶
type ListProjectsRow struct {
ID pgtype.UUID `json:"id"`
Name string `json:"name"`
TenantID pgtype.UUID `json:"tenant_id"`
SubjectKind string `json:"subject_kind"`
SubjectID string `json:"subject_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
ArchivedAt pgtype.Timestamptz `json:"archived_at"`
OrganizationID string `json:"organization_id"`
ExternalProjectID string `json:"external_project_id"`
ActiveKeyCount int64 `json:"active_key_count"`
}
type ListRootTurnsParams ¶
type ListRuntimeNodesRow ¶
type ListRuntimeNodesRow struct {
ID pgtype.UUID `json:"id"`
InstallationID pgtype.UUID `json:"installation_id"`
Name string `json:"name"`
BackendFingerprint string `json:"backend_fingerprint"`
CredentialSha256 string `json:"credential_sha256"`
MaxActive int32 `json:"max_active"`
MaxRetained int32 `json:"max_retained"`
ConnectionID pgtype.UUID `json:"connection_id"`
Health []byte `json:"health"`
ConnectedEpoch int64 `json:"connected_epoch"`
LastSeenAt pgtype.Timestamptz `json:"last_seen_at"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
RemovedAt pgtype.Timestamptz `json:"removed_at"`
SpecificationDigest string `json:"specification_digest"`
DeploymentGeneration int64 `json:"deployment_generation"`
CoreUrl string `json:"core_url"`
EnrollmentID pgtype.UUID `json:"enrollment_id"`
ReadyGeneration pgtype.Int8 `json:"ready_generation"`
Online bool `json:"online"`
ProviderKind string `json:"provider_kind"`
ServingReady bool `json:"serving_ready"`
TargetState string `json:"target_state"`
TargetDiagnostic string `json:"target_diagnostic"`
Active int64 `json:"active"`
Retained int64 `json:"retained"`
Reserved int64 `json:"reserved"`
CleanupPending int64 `json:"cleanup_pending"`
Running int64 `json:"running"`
Snapshots int64 `json:"snapshots"`
}
type ListSandboxResetCandidatesParams ¶ added in v0.0.14
type ListSandboxResetCandidatesRow ¶ added in v0.0.14
type ListSessionArtifactsParams ¶
type ListSessionArtifactsParams struct {
TenantID pgtype.UUID `json:"tenant_id"`
SessionID pgtype.UUID `json:"session_id"`
EnvironmentID pgtype.UUID `json:"environment_id"`
AfterCreated pgtype.Timestamptz `json:"after_created"`
Ascending bool `json:"ascending"`
AfterID pgtype.UUID `json:"after_id"`
PageLimit int32 `json:"page_limit"`
}
type ListSessionEventsParams ¶
type ListSessionEventsRow ¶
type ListSessionItemsParams ¶
type ListSessionItemsParams struct {
SessionID pgtype.UUID `json:"session_id"`
TurnID pgtype.UUID `json:"turn_id"`
AfterCreated pgtype.Timestamptz `json:"after_created"`
Ascending bool `json:"ascending"`
AfterPosition int32 `json:"after_position"`
AfterID pgtype.UUID `json:"after_id"`
PageLimit int32 `json:"page_limit"`
}
type ListSessionItemsRow ¶
type ListSessionItemsRow struct {
ID pgtype.UUID `json:"id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
Payload []byte `json:"payload"`
}
type ListSessionsParams ¶
type ListSessionsParams struct {
TenantID pgtype.UUID `json:"tenant_id"`
AgentID pgtype.Text `json:"agent_id"`
Metadata []byte `json:"metadata"`
AfterCreated pgtype.Timestamptz `json:"after_created"`
Ascending bool `json:"ascending"`
AfterID pgtype.UUID `json:"after_id"`
PageLimit int32 `json:"page_limit"`
}
type ListSkillVersionsParams ¶
type ListSkillVersionsRow ¶
type ListSkillsParams ¶
type ListSourceFilesParams ¶
type ListStandaloneEnvironmentsParams ¶ added in v0.0.14
type ListStandaloneEnvironmentsParams struct {
TenantID pgtype.UUID `json:"tenant_id"`
CreatorKind pgtype.Text `json:"creator_kind"`
CreatorID pgtype.Text `json:"creator_id"`
AfterCreated pgtype.Timestamptz `json:"after_created"`
Ascending bool `json:"ascending"`
AfterID pgtype.UUID `json:"after_id"`
PageLimit int32 `json:"page_limit"`
}
type ListStandaloneEnvironmentsRow ¶ added in v0.0.14
type ListStandaloneEnvironmentsRow struct {
Environment Environment `json:"environment"`
AttachedSessionID pgtype.UUID `json:"attached_session_id"`
ExternalWorkspace bool `json:"external_workspace"`
}
type ListTurnEventsParams ¶
type ListTurnInputsParams ¶
type ListTurnItemDiagnosticsRow ¶
type ListTurnItemDiagnosticsRow struct {
ID pgtype.UUID `json:"id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
SettledAt pgtype.Timestamptz `json:"settled_at"`
}
type ListVaultsParams ¶
type ListVaultsParams struct {
TenantID pgtype.UUID `json:"tenant_id"`
Statuses []string `json:"statuses"`
Metadata []byte `json:"metadata"`
AfterCreated pgtype.Timestamptz `json:"after_created"`
Ascending bool `json:"ascending"`
AfterID pgtype.UUID `json:"after_id"`
PageLimit int32 `json:"page_limit"`
}
type ListWaitingCheckpointRestoresRow ¶ added in v0.0.10
type ListWorkspaceDeletionCandidatesRow ¶ added in v0.0.10
type ListWorkspaceDeletionCandidatesRow struct {
EnvironmentWorkspace EnvironmentWorkspace `json:"environment_workspace"`
WorkspaceFsConfiguration WorkspaceFsConfiguration `json:"workspace_fs_configuration"`
TenantID pgtype.UUID `json:"tenant_id"`
}
type ListWriteOperationsParams ¶
type ListWriteOperationsParams struct {
TenantID pgtype.UUID `json:"tenant_id"`
KeyID string `json:"key_id"`
ResourceType string `json:"resource_type"`
ResourceID string `json:"resource_id"`
CreatedAfter pgtype.Timestamptz `json:"created_after"`
CreatedBefore pgtype.Timestamptz `json:"created_before"`
AfterTime pgtype.Timestamptz `json:"after_time"`
AfterID pgtype.UUID `json:"after_id"`
PageLimit int32 `json:"page_limit"`
}
type ListWriteOperationsRow ¶
type ListWriteOperationsRow struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
KeyID string `json:"key_id"`
KeyName string `json:"key_name"`
KeyPrefix string `json:"key_prefix"`
KeyKind string `json:"key_kind"`
Action string `json:"action"`
ResourceType string `json:"resource_type"`
ResourceID string `json:"resource_id"`
ParentID string `json:"parent_id"`
RequestID string `json:"request_id"`
TraceID string `json:"trace_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
RevokedAt pgtype.Timestamptz `json:"revoked_at"`
}
type LockAgentParams ¶
type LockAutomationParams ¶ added in v0.0.14
type LockAutomationRow ¶ added in v0.0.14
type LockAutomationRow struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
Type string `json:"type"`
Name string `json:"name"`
Metadata []byte `json:"metadata"`
Status string `json:"status"`
RunAt pgtype.Timestamptz `json:"run_at"`
Expression pgtype.Text `json:"expression"`
Timezone pgtype.Text `json:"timezone"`
NextRunAt pgtype.Timestamptz `json:"next_run_at"`
Target []byte `json:"target"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
}
type LockEnvironmentCreationParams ¶ added in v0.0.14
type LockEnvironmentParams ¶ added in v0.0.14
type LockSessionParams ¶
type LockSessionRow ¶
type LockSessionRow struct {
ID pgtype.UUID `json:"id"`
DeletedAt pgtype.Timestamptz `json:"deleted_at"`
Engine string `json:"engine"`
}
type LockSkillParams ¶
type LockSourceFileParams ¶ added in v0.0.10
type LockVisibleSessionParams ¶ added in v0.0.14
type MarkSessionModelSourceParams ¶ added in v0.0.14
type MarkWorkspaceReadyParams ¶ added in v0.0.10
type MatchFunctionCallParams ¶
type MatchFunctionResultRow ¶
type MatchWorkspaceConfigurationParams ¶ added in v0.0.10
type MatchWorkspaceConfigurationRow ¶ added in v0.0.10
type MoveSuspendedRuntimeComputeParams ¶ added in v0.0.10
type NodeHostHistorySample ¶
type ProjectApiKey ¶
type PublishSubagentParams ¶
type PutChildItemParams ¶
type PutChildTurnParams ¶
type PutChildTurnParams struct {
ID pgtype.UUID `json:"id"`
SessionID pgtype.UUID `json:"session_id"`
SubagentID pgtype.UUID `json:"subagent_id"`
NativeID string `json:"native_id"`
Status string `json:"status"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
StartedAt pgtype.Timestamptz `json:"started_at"`
CompletedAt pgtype.Timestamptz `json:"completed_at"`
TokenUsage []byte `json:"token_usage"`
}
type PutSessionItemParams ¶
type PutSubagentEffectParams ¶
type PutSubagentIdentityParams ¶
type PutSubagentIdentityParams struct {
ID pgtype.UUID `json:"id"`
NativeID string `json:"native_id"`
ParentNativeID string `json:"parent_native_id"`
NativeCreatedAt int64 `json:"native_created_at"`
FirstTurnID pgtype.UUID `json:"first_turn_id"`
FirstEventOrdinal int32 `json:"first_event_ordinal"`
SessionID pgtype.UUID `json:"session_id"`
}
type PutTurnUsageParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) ActivateWorkspaceConfiguration ¶ added in v0.0.10
func (*Queries) AdminAssetCounts ¶
func (*Queries) AdminAuditCursor ¶
func (*Queries) AdminRuntimeCursor ¶
func (q *Queries) AdminRuntimeCursor(ctx context.Context, arg AdminRuntimeCursorParams) (pgtype.Timestamptz, error)
func (*Queries) AdminRuntimeTargets ¶
func (q *Queries) AdminRuntimeTargets(ctx context.Context, arg AdminRuntimeTargetsParams) ([]AdminRuntimeTargetsRow, error)
func (*Queries) AdminSummarySessions ¶
func (q *Queries) AdminSummarySessions(ctx context.Context, arg AdminSummarySessionsParams) ([]AdminSummarySessionsRow, error)
func (*Queries) AdvanceAutomation ¶ added in v0.0.14
func (q *Queries) AdvanceAutomation(ctx context.Context, arg AdvanceAutomationParams) error
func (*Queries) AdvanceEnvironmentConnection ¶
func (q *Queries) AdvanceEnvironmentConnection(ctx context.Context, arg AdvanceEnvironmentConnectionParams) error
func (*Queries) AdvanceSandboxOwnerEpoch ¶
func (*Queries) AdvanceSkillVersion ¶
func (q *Queries) AdvanceSkillVersion(ctx context.Context, arg AdvanceSkillVersionParams) error
func (*Queries) AppendSessionEvent ¶
func (q *Queries) AppendSessionEvent(ctx context.Context, arg AppendSessionEventParams) error
func (*Queries) ApplyFunctionResult ¶
func (q *Queries) ApplyFunctionResult(ctx context.Context, arg ApplyFunctionResultParams) error
func (*Queries) ApplySubagentLifecycle ¶
func (q *Queries) ApplySubagentLifecycle(ctx context.Context, arg ApplySubagentLifecycleParams) error
func (*Queries) ArchiveProject ¶
func (*Queries) AttachSessionEnvironment ¶ added in v0.0.14
func (q *Queries) AttachSessionEnvironment(ctx context.Context, arg AttachSessionEnvironmentParams) error
func (*Queries) AuthenticateEnvironmentExecutor ¶
func (*Queries) AuthorizeRuntimeEnrollment ¶
func (q *Queries) AuthorizeRuntimeEnrollment(ctx context.Context, arg AuthorizeRuntimeEnrollmentParams) (AuthorizeRuntimeEnrollmentRow, error)
func (*Queries) AutomationQueue ¶ added in v0.0.14
A statement after LockAutomation, so it reads what committed while the lock waited.
func (*Queries) BeginTurnArtifactCapture ¶
func (*Queries) BeginWorkspaceDeletion ¶ added in v0.0.10
func (*Queries) BindHostedSessionDevice ¶ added in v0.0.10
func (*Queries) BindSessionDevice ¶
func (*Queries) CanReplaceRuntimeAllocation ¶ added in v0.0.10
func (*Queries) CanRetainRuntimeEnvironment ¶ added in v0.0.10
func (*Queries) CancelSandboxReset ¶
func (*Queries) CancelSessionEnvironmentInput ¶
func (*Queries) CheckEnvironmentInputGate ¶
func (q *Queries) CheckEnvironmentInputGate(ctx context.Context, arg CheckEnvironmentInputGateParams) (CheckEnvironmentInputGateRow, error)
func (*Queries) ClaimEnvironmentInitialization ¶
func (*Queries) ClaimWebSandboxDeployment ¶
func (*Queries) ClearActiveWorkspaceConfiguration ¶ added in v0.0.10
func (*Queries) ClearRuntimeWake ¶
func (q *Queries) ClearRuntimeWake(ctx context.Context, arg ClearRuntimeWakeParams) error
func (*Queries) ClearSandboxGenerations ¶
func (*Queries) CollectSandboxGenerations ¶
func (*Queries) CompleteEnvironmentInitialization ¶
func (*Queries) CompleteOnceAutomation ¶ added in v0.0.14
func (*Queries) CompleteSandboxReset ¶
func (*Queries) ConnectRuntimeNode ¶
func (*Queries) ConsumeRuntimeEnrollment ¶
func (*Queries) CoreDatabaseSize ¶
func (*Queries) CoreExecutionSnapshot ¶
func (q *Queries) CoreExecutionSnapshot(ctx context.Context, arg CoreExecutionSnapshotParams) (CoreExecutionSnapshotRow, error)
func (*Queries) CoreInterruptedTurns ¶
func (*Queries) CoreQueueWaitBuckets ¶
func (q *Queries) CoreQueueWaitBuckets(ctx context.Context, arg CoreQueueWaitBucketsParams) ([]CoreQueueWaitBucketsRow, error)
func (*Queries) CoreQueueWaitSummary ¶
func (q *Queries) CoreQueueWaitSummary(ctx context.Context, arg CoreQueueWaitSummaryParams) (CoreQueueWaitSummaryRow, error)
func (*Queries) CountAddressBindings ¶
func (*Queries) CountRuntimeDeploymentResources ¶
func (q *Queries) CountRuntimeDeploymentResources(ctx context.Context) (CountRuntimeDeploymentResourcesRow, error)
func (*Queries) CountTurnEvent ¶
func (q *Queries) CountTurnEvent(ctx context.Context, arg CountTurnEventParams) error
func (*Queries) CreateAgent ¶
func (*Queries) CreateDevice ¶
func (*Queries) CreateEnvironment ¶
func (q *Queries) CreateEnvironment(ctx context.Context, arg CreateEnvironmentParams) error
A creation identity makes the Environment standalone; without one a Session owns it.
func (*Queries) CreateEnvironmentDevice ¶
func (*Queries) CreateEnvironmentFileWrite ¶
func (q *Queries) CreateEnvironmentFileWrite(ctx context.Context, arg CreateEnvironmentFileWriteParams) (EnvironmentFileWrite, error)
func (*Queries) CreateEnvironmentInputReservation ¶
func (q *Queries) CreateEnvironmentInputReservation(ctx context.Context, arg CreateEnvironmentInputReservationParams) (EnvironmentInputReservation, error)
func (*Queries) CreateEnvironmentSetup ¶
func (q *Queries) CreateEnvironmentSetup(ctx context.Context, arg CreateEnvironmentSetupParams) error
func (*Queries) CreateEnvironmentTemplate ¶
func (q *Queries) CreateEnvironmentTemplate(ctx context.Context, arg CreateEnvironmentTemplateParams) (CreateEnvironmentTemplateRow, error)
func (*Queries) CreateFunctionCall ¶
func (*Queries) CreateInitialEnvironmentFile ¶
func (q *Queries) CreateInitialEnvironmentFile(ctx context.Context, arg CreateInitialEnvironmentFileParams) error
func (*Queries) CreateOAuthCredential ¶
func (q *Queries) CreateOAuthCredential(ctx context.Context, arg CreateOAuthCredentialParams) (CreateOAuthCredentialRow, error)
func (*Queries) CreateProject ¶
func (*Queries) CreateProjectAPIKey ¶
func (q *Queries) CreateProjectAPIKey(ctx context.Context, arg CreateProjectAPIKeyParams) (ProjectApiKey, error)
func (*Queries) CreateRuntimeAllocation ¶
func (q *Queries) CreateRuntimeAllocation(ctx context.Context, arg CreateRuntimeAllocationParams) (RuntimeAllocation, error)
func (*Queries) CreateRuntimeEnrollment ¶
func (q *Queries) CreateRuntimeEnrollment(ctx context.Context, arg CreateRuntimeEnrollmentParams) error
func (*Queries) CreateRuntimePlacement ¶
func (q *Queries) CreateRuntimePlacement(ctx context.Context, arg CreateRuntimePlacementParams) error
func (*Queries) CreateSession ¶
func (*Queries) CreateSkill ¶
func (*Queries) CreateSkillVersion ¶
func (q *Queries) CreateSkillVersion(ctx context.Context, arg CreateSkillVersionParams) (CreateSkillVersionRow, error)
func (*Queries) CreateSourceFile ¶
func (q *Queries) CreateSourceFile(ctx context.Context, arg CreateSourceFileParams) (SourceFile, error)
func (*Queries) CreateStaticCredential ¶
func (q *Queries) CreateStaticCredential(ctx context.Context, arg CreateStaticCredentialParams) (CreateStaticCredentialRow, error)
func (*Queries) CreateTurn ¶
func (*Queries) CreateTurnInput ¶
func (*Queries) CreateVault ¶
func (*Queries) DeleteAgent ¶
func (*Queries) DeleteAgentModelExecution ¶
func (*Queries) DeleteAutomation ¶ added in v0.0.14
func (*Queries) DeleteCredential ¶
func (*Queries) DeleteDeploymentModelProvider ¶
func (*Queries) DeleteEnvironmentConnection ¶
func (*Queries) DeleteEnvironmentTemplate ¶
func (*Queries) DeleteExpiredWriteOperations ¶
func (*Queries) DeleteNodeGenerationStatus ¶
func (q *Queries) DeleteNodeGenerationStatus(ctx context.Context, arg DeleteNodeGenerationStatusParams) error
func (*Queries) DeleteSessionArtifact ¶
func (*Queries) DeleteSessionArtifacts ¶
func (*Queries) DeleteSkill ¶
func (*Queries) DeleteSkillVersion ¶
func (q *Queries) DeleteSkillVersion(ctx context.Context, arg DeleteSkillVersionParams) (DeleteSkillVersionRow, error)
func (*Queries) DeleteSourceFile ¶
func (*Queries) DeleteUnchangedTurnArtifacts ¶
func (q *Queries) DeleteUnchangedTurnArtifacts(ctx context.Context, arg DeleteUnchangedTurnArtifactsParams) error
A staged path is not republished while the newest remaining published Artifact for that path in the Session has the same bytes. Newest follows the producing Turn's database creation time: Turns in a Session are serialized, while publication time may come from the Runtime's reported completion.
func (*Queries) DeleteUnpublishedTurnArtifacts ¶
func (q *Queries) DeleteUnpublishedTurnArtifacts(ctx context.Context, arg DeleteUnpublishedTurnArtifactsParams) error
func (*Queries) DeleteVault ¶
func (*Queries) DeliverableInvocations ¶ added in v0.0.14
func (*Queries) DisconnectRuntimeNode ¶
func (q *Queries) DisconnectRuntimeNode(ctx context.Context, arg DisconnectRuntimeNodeParams) error
func (*Queries) DueAutomationIDs ¶ added in v0.0.14
func (q *Queries) DueAutomationIDs(ctx context.Context, arg DueAutomationIDsParams) ([]DueAutomationIDsRow, error)
func (*Queries) EndUnattachedStandaloneEnvironment ¶ added in v0.0.14
An unattached standalone Environment whose compute is gone or being removed has nothing to resume, so it ends. One that never had compute is waiting for its first placement and stays.
func (*Queries) EnrollRuntimeDevice ¶
func (q *Queries) EnrollRuntimeDevice(ctx context.Context, arg EnrollRuntimeDeviceParams) (EnrollRuntimeDeviceRow, error)
func (*Queries) EnsureProjectScope ¶
func (*Queries) EnvironmentFileWriteBlocksSession ¶
func (*Queries) EnvironmentFileWriteHasPendingInput ¶
func (*Queries) EnvironmentWorkspaceDeletable ¶ added in v0.0.14
func (*Queries) ExecutorProjectScopeExists ¶
func (*Queries) ExpireEnvironment ¶ added in v0.0.14
func (*Queries) ExpireEnvironmentInputReservation ¶
func (q *Queries) ExpireEnvironmentInputReservation(ctx context.Context, arg ExpireEnvironmentInputReservationParams) error
func (*Queries) ExpireRuntimeCheckpoint ¶ added in v0.0.12
func (q *Queries) ExpireRuntimeCheckpoint(ctx context.Context, arg ExpireRuntimeCheckpointParams) (RuntimeAllocation, error)
func (*Queries) FailEnvironmentInitialization ¶
func (*Queries) FailEnvironmentInput ¶
func (*Queries) FailSessionEnvironmentInput ¶
func (*Queries) FindEnvironmentCreation ¶ added in v0.0.14
func (q *Queries) FindEnvironmentCreation(ctx context.Context, arg FindEnvironmentCreationParams) (FindEnvironmentCreationRow, error)
func (*Queries) FindEnvironmentInputReservation ¶
func (q *Queries) FindEnvironmentInputReservation(ctx context.Context, arg FindEnvironmentInputReservationParams) (FindEnvironmentInputReservationRow, error)
func (*Queries) FindFunctionCallTurn ¶ added in v0.0.13
func (q *Queries) FindFunctionCallTurn(ctx context.Context, arg FindFunctionCallTurnParams) (FindFunctionCallTurnRow, error)
func (*Queries) FindInputBatch ¶
func (q *Queries) FindInputBatch(ctx context.Context, arg FindInputBatchParams) ([]FindInputBatchRow, error)
func (*Queries) FindMCPCredentials ¶
func (q *Queries) FindMCPCredentials(ctx context.Context, arg FindMCPCredentialsParams) ([]FindMCPCredentialsRow, error)
An explicit credential ID is found in the attached Vaults by ID alone, so the caller can compare its destination; otherwise the exact destination selects.
func (*Queries) FindSessionCreation ¶
func (*Queries) FinishSessionItems ¶
func (q *Queries) FinishSessionItems(ctx context.Context, arg FinishSessionItemsParams) error
The finished Items share one settlement time; an Item keeps a settlement time it already has.
func (*Queries) FunctionItemResult ¶
func (*Queries) GetActiveTurn ¶
func (*Queries) GetActiveWorkspaceConfiguration ¶ added in v0.0.10
func (q *Queries) GetActiveWorkspaceConfiguration(ctx context.Context) (WorkspaceFsConfiguration, error)
func (*Queries) GetAgentWithModelExecution ¶
func (q *Queries) GetAgentWithModelExecution(ctx context.Context, arg GetAgentWithModelExecutionParams) (GetAgentWithModelExecutionRow, error)
func (*Queries) GetArchivedCancellationReceipt ¶
func (q *Queries) GetArchivedCancellationReceipt(ctx context.Context, arg GetArchivedCancellationReceiptParams) (GetArchivedCancellationReceiptRow, error)
func (*Queries) GetAttachedVaultIDs ¶
func (*Queries) GetAutomation ¶ added in v0.0.14
func (q *Queries) GetAutomation(ctx context.Context, arg GetAutomationParams) (GetAutomationRow, error)
func (*Queries) GetChildItem ¶
func (q *Queries) GetChildItem(ctx context.Context, arg GetChildItemParams) (GetChildItemRow, error)
func (*Queries) GetChildTurn ¶
func (q *Queries) GetChildTurn(ctx context.Context, arg GetChildTurnParams) (SubagentTurn, error)
func (*Queries) GetCredential ¶
func (q *Queries) GetCredential(ctx context.Context, arg GetCredentialParams) (GetCredentialRow, error)
func (*Queries) GetDeploymentModelProviderSecret ¶
func (*Queries) GetDevice ¶
func (q *Queries) GetDevice(ctx context.Context, arg GetDeviceParams) (GetDeviceRow, error)
func (*Queries) GetDeviceCredential ¶
func (*Queries) GetEnvironment ¶
func (q *Queries) GetEnvironment(ctx context.Context, arg GetEnvironmentParams) (GetEnvironmentRow, error)
func (*Queries) GetEnvironmentAttachment ¶ added in v0.0.14
func (q *Queries) GetEnvironmentAttachment(ctx context.Context, arg GetEnvironmentAttachmentParams) (GetEnvironmentAttachmentRow, error)
func (*Queries) GetEnvironmentConnection ¶
func (*Queries) GetEnvironmentDevice ¶ added in v0.0.14
func (q *Queries) GetEnvironmentDevice(ctx context.Context, arg GetEnvironmentDeviceParams) (GetEnvironmentDeviceRow, error)
func (*Queries) GetEnvironmentExecutorConnection ¶
func (q *Queries) GetEnvironmentExecutorConnection(ctx context.Context, arg GetEnvironmentExecutorConnectionParams) (GetEnvironmentExecutorConnectionRow, error)
func (*Queries) GetEnvironmentFileWrite ¶
func (q *Queries) GetEnvironmentFileWrite(ctx context.Context, arg GetEnvironmentFileWriteParams) (GetEnvironmentFileWriteRow, error)
func (*Queries) GetEnvironmentInputActivity ¶
func (*Queries) GetEnvironmentInputReservation ¶
func (q *Queries) GetEnvironmentInputReservation(ctx context.Context, arg GetEnvironmentInputReservationParams) (EnvironmentInputReservation, error)
func (*Queries) GetEnvironmentSetup ¶
func (q *Queries) GetEnvironmentSetup(ctx context.Context, arg GetEnvironmentSetupParams) (GetEnvironmentSetupRow, error)
func (*Queries) GetEnvironmentTemplate ¶
func (q *Queries) GetEnvironmentTemplate(ctx context.Context, arg GetEnvironmentTemplateParams) (GetEnvironmentTemplateRow, error)
func (*Queries) GetEnvironmentWorkspace ¶ added in v0.0.10
func (q *Queries) GetEnvironmentWorkspace(ctx context.Context, arg GetEnvironmentWorkspaceParams) (GetEnvironmentWorkspaceRow, error)
func (*Queries) GetExecutorCredentialForPrincipal ¶
func (*Queries) GetFunctionCall ¶
func (q *Queries) GetFunctionCall(ctx context.Context, arg GetFunctionCallParams) (FunctionCall, error)
func (*Queries) GetInitialEnvironmentFile ¶
func (q *Queries) GetInitialEnvironmentFile(ctx context.Context, arg GetInitialEnvironmentFileParams) (GetInitialEnvironmentFileRow, error)
func (*Queries) GetInvocation ¶ added in v0.0.14
func (q *Queries) GetInvocation(ctx context.Context, arg GetInvocationParams) (GetInvocationRow, error)
func (*Queries) GetLatestRuntimeAllocation ¶ added in v0.0.10
func (q *Queries) GetLatestRuntimeAllocation(ctx context.Context, arg GetLatestRuntimeAllocationParams) (GetLatestRuntimeAllocationRow, error)
func (*Queries) GetLatestSessionTurn ¶
func (*Queries) GetMCPStaticCredentialCiphertext ¶
func (*Queries) GetManagedSessionArchive ¶
func (q *Queries) GetManagedSessionArchive(ctx context.Context, arg GetManagedSessionArchiveParams) (GetManagedSessionArchiveRow, error)
func (*Queries) GetNativeSubagent ¶
func (q *Queries) GetNativeSubagent(ctx context.Context, arg GetNativeSubagentParams) (SubagentIdentity, error)
func (*Queries) GetNodeGenerationSpecification ¶
func (*Queries) GetOAuthCredentialForUpdate ¶
func (q *Queries) GetOAuthCredentialForUpdate(ctx context.Context, arg GetOAuthCredentialForUpdateParams) (GetOAuthCredentialForUpdateRow, error)
func (*Queries) GetProject ¶
func (*Queries) GetProjectAPIKeyForProject ¶
func (q *Queries) GetProjectAPIKeyForProject(ctx context.Context, arg GetProjectAPIKeyForProjectParams) (ProjectApiKey, error)
func (*Queries) GetPublicSubagent ¶
func (q *Queries) GetPublicSubagent(ctx context.Context, arg GetPublicSubagentParams) (GetPublicSubagentRow, error)
func (*Queries) GetResourceOwners ¶
func (q *Queries) GetResourceOwners(ctx context.Context, arg GetResourceOwnersParams) ([]GetResourceOwnersRow, error)
func (*Queries) GetRuntimeActivity ¶
func (*Queries) GetRuntimeDeployment ¶
func (q *Queries) GetRuntimeDeployment(ctx context.Context) (RuntimeDeployment, error)
func (*Queries) GetRuntimeEnrollment ¶
func (*Queries) GetRuntimeLifecyclePlacement ¶
func (q *Queries) GetRuntimeLifecyclePlacement(ctx context.Context, arg GetRuntimeLifecyclePlacementParams) (GetRuntimeLifecyclePlacementRow, error)
func (*Queries) GetRuntimeNode ¶
func (*Queries) GetRuntimePlacement ¶
func (*Queries) GetSandboxDeploymentSnapshot ¶
func (q *Queries) GetSandboxDeploymentSnapshot(ctx context.Context) (GetSandboxDeploymentSnapshotRow, error)
func (*Queries) GetSandboxGeneration ¶
func (*Queries) GetSandboxResetProject ¶
func (*Queries) GetSession ¶
func (*Queries) GetSessionArtifact ¶
func (q *Queries) GetSessionArtifact(ctx context.Context, arg GetSessionArtifactParams) (SessionArtifact, error)
func (*Queries) GetSessionConfiguration ¶ added in v0.0.14
func (*Queries) GetSessionCursor ¶ added in v0.0.13
func (q *Queries) GetSessionCursor(ctx context.Context, arg GetSessionCursorParams) (GetSessionCursorRow, error)
func (*Queries) GetSessionDevice ¶
func (q *Queries) GetSessionDevice(ctx context.Context, arg GetSessionDeviceParams) (GetSessionDeviceRow, error)
func (*Queries) GetSessionEnvironment ¶
func (q *Queries) GetSessionEnvironment(ctx context.Context, arg GetSessionEnvironmentParams) (GetSessionEnvironmentRow, error)
func (*Queries) GetSessionEnvironmentID ¶ added in v0.0.14
func (*Queries) GetSessionExecutionBinding ¶
func (q *Queries) GetSessionExecutionBinding(ctx context.Context, arg GetSessionExecutionBindingParams) (GetSessionExecutionBindingRow, error)
func (*Queries) GetSessionExecutionConfiguration ¶
func (q *Queries) GetSessionExecutionConfiguration(ctx context.Context, arg GetSessionExecutionConfigurationParams) (GetSessionExecutionConfigurationRow, error)
func (*Queries) GetSessionInitializationReady ¶
func (*Queries) GetSessionItem ¶
func (q *Queries) GetSessionItem(ctx context.Context, arg GetSessionItemParams) (SessionItem, error)
func (*Queries) GetSessionModelExecution ¶
func (*Queries) GetSkillVersion ¶
func (q *Queries) GetSkillVersion(ctx context.Context, arg GetSkillVersionParams) (GetSkillVersionRow, error)
func (*Queries) GetSkillVersionByID ¶
func (q *Queries) GetSkillVersionByID(ctx context.Context, arg GetSkillVersionByIDParams) (GetSkillVersionByIDRow, error)
Tenant-wide, so a list cursor can tell another Skill's version from a missing one.
func (*Queries) GetSourceFile ¶
func (q *Queries) GetSourceFile(ctx context.Context, arg GetSourceFileParams) (SourceFile, error)
func (*Queries) GetStandaloneEnvironmentCursor ¶ added in v0.0.14
func (q *Queries) GetStandaloneEnvironmentCursor(ctx context.Context, arg GetStandaloneEnvironmentCursorParams) (GetStandaloneEnvironmentCursorRow, error)
func (*Queries) GetSubagentIdentity ¶
func (q *Queries) GetSubagentIdentity(ctx context.Context, arg GetSubagentIdentityParams) (GetSubagentIdentityRow, error)
func (*Queries) GetWorkspaceConfiguration ¶ added in v0.0.10
func (*Queries) GetWorkspaceSelection ¶ added in v0.0.10
func (q *Queries) GetWorkspaceSelection(ctx context.Context) (GetWorkspaceSelectionRow, error)
func (*Queries) GetWriteAuditCursor ¶
func (q *Queries) GetWriteAuditCursor(ctx context.Context, arg GetWriteAuditCursorParams) (pgtype.Timestamptz, error)
func (*Queries) HasNativeMessageItem ¶
func (*Queries) HasUnappliedMessages ¶
func (*Queries) HeartbeatRuntimeNode ¶
func (*Queries) InitializeSandboxDeployment ¶
func (q *Queries) InitializeSandboxDeployment(ctx context.Context, arg InitializeSandboxDeploymentParams) error
func (*Queries) InsertAdminAudit ¶
func (*Queries) InsertAutomation ¶ added in v0.0.14
func (q *Queries) InsertAutomation(ctx context.Context, arg InsertAutomationParams) (pgtype.Timestamptz, error)
func (*Queries) InsertEnvironmentWorkspace ¶ added in v0.0.10
func (q *Queries) InsertEnvironmentWorkspace(ctx context.Context, arg InsertEnvironmentWorkspaceParams) error
func (*Queries) InsertManualInvocation ¶ added in v0.0.14
func (q *Queries) InsertManualInvocation(ctx context.Context, arg InsertManualInvocationParams) (InsertManualInvocationRow, error)
func (*Queries) InsertRuntimeHistorySample ¶
func (q *Queries) InsertRuntimeHistorySample(ctx context.Context, arg InsertRuntimeHistorySampleParams) error
func (*Queries) InsertRuntimeNode ¶
func (q *Queries) InsertRuntimeNode(ctx context.Context, arg InsertRuntimeNodeParams) (RuntimeNode, error)
func (*Queries) InsertScheduledInvocation ¶ added in v0.0.14
func (q *Queries) InsertScheduledInvocation(ctx context.Context, arg InsertScheduledInvocationParams) error
func (*Queries) InsertTurnEvent ¶
func (q *Queries) InsertTurnEvent(ctx context.Context, arg InsertTurnEventParams) error
func (*Queries) InsertTurnEventBatch ¶
func (q *Queries) InsertTurnEventBatch(ctx context.Context, arg InsertTurnEventBatchParams) error
func (*Queries) InsertWorkspaceConfiguration ¶ added in v0.0.10
func (q *Queries) InsertWorkspaceConfiguration(ctx context.Context, arg InsertWorkspaceConfigurationParams) error
func (*Queries) InsertWriteAuditOperation ¶
func (*Queries) InsertWriteAuditOwner ¶
func (q *Queries) InsertWriteAuditOwner(ctx context.Context, arg InsertWriteAuditOwnerParams) error
func (*Queries) IsUnattachedRuntimeEnvironment ¶ added in v0.0.14
An active Environment without a live Session is an unattached standalone one: a Session-owned Environment has ended once its Session is gone.
func (*Queries) IssueExecutorCredential ¶
func (q *Queries) IssueExecutorCredential(ctx context.Context, arg IssueExecutorCredentialParams) (IssueExecutorCredentialRow, error)
func (*Queries) ItemEventSources ¶
func (*Queries) ItemInputSource ¶
func (*Queries) ListAdminAuditLog ¶
func (q *Queries) ListAdminAuditLog(ctx context.Context, arg ListAdminAuditLogParams) ([]AdminAuditLog, error)
func (*Queries) ListAgents ¶
func (*Queries) ListAutomations ¶ added in v0.0.14
func (q *Queries) ListAutomations(ctx context.Context, arg ListAutomationsParams) ([]ListAutomationsRow, error)
func (*Queries) ListCheckpointGenerationNodes ¶ added in v0.0.10
func (*Queries) ListChildItems ¶
func (*Queries) ListChildTurns ¶
func (q *Queries) ListChildTurns(ctx context.Context, arg ListChildTurnsParams) ([]SubagentTurn, error)
func (*Queries) ListCredentials ¶
func (q *Queries) ListCredentials(ctx context.Context, arg ListCredentialsParams) ([]ListCredentialsRow, error)
func (*Queries) ListDeploymentModelProviders ¶
func (q *Queries) ListDeploymentModelProviders(ctx context.Context) ([]ListDeploymentModelProvidersRow, error)
func (*Queries) ListDueEnvironmentInputs ¶
func (q *Queries) ListDueEnvironmentInputs(ctx context.Context) ([]ListDueEnvironmentInputsRow, error)
func (*Queries) ListEnrolledRuntimeBindings ¶
func (q *Queries) ListEnrolledRuntimeBindings(ctx context.Context) ([]ListEnrolledRuntimeBindingsRow, error)
func (*Queries) ListEnvironmentConnections ¶
func (*Queries) ListEnvironmentExecutorCredentials ¶
func (q *Queries) ListEnvironmentExecutorCredentials(ctx context.Context, arg ListEnvironmentExecutorCredentialsParams) ([]ListEnvironmentExecutorCredentialsRow, error)
func (*Queries) ListEnvironmentInitializations ¶
func (*Queries) ListEnvironmentInputWork ¶
func (q *Queries) ListEnvironmentInputWork(ctx context.Context, arg ListEnvironmentInputWorkParams) ([]ListEnvironmentInputWorkRow, error)
func (*Queries) ListEnvironmentTemplates ¶
func (q *Queries) ListEnvironmentTemplates(ctx context.Context, arg ListEnvironmentTemplatesParams) ([]ListEnvironmentTemplatesRow, error)
func (*Queries) ListExecutionDevices ¶
func (*Queries) ListExecutionWork ¶
func (q *Queries) ListExecutionWork(ctx context.Context, arg ListExecutionWorkParams) ([]ListExecutionWorkRow, error)
func (*Queries) ListIdleRuntimeCheckpoints ¶ added in v0.0.12
func (*Queries) ListInvocations ¶ added in v0.0.14
func (q *Queries) ListInvocations(ctx context.Context, arg ListInvocationsParams) ([]ListInvocationsRow, error)
func (*Queries) ListNodeHostHistory ¶
func (q *Queries) ListNodeHostHistory(ctx context.Context, arg ListNodeHostHistoryParams) ([]ListNodeHostHistoryRow, error)
func (*Queries) ListNodeRuntimeAllocations ¶
func (*Queries) ListPendingFunctionCalls ¶
func (q *Queries) ListPendingFunctionCalls(ctx context.Context, arg ListPendingFunctionCallsParams) ([]FunctionCall, error)
func (*Queries) ListPlacementDemand ¶ added in v0.0.10
func (q *Queries) ListPlacementDemand(ctx context.Context, arg ListPlacementDemandParams) ([]ListPlacementDemandRow, error)
func (*Queries) ListProjectAPIKeys ¶
func (q *Queries) ListProjectAPIKeys(ctx context.Context, arg ListProjectAPIKeysParams) ([]ProjectApiKey, error)
func (*Queries) ListProjects ¶
func (q *Queries) ListProjects(ctx context.Context, arg ListProjectsParams) ([]ListProjectsRow, error)
func (*Queries) ListPublicSubagents ¶
func (*Queries) ListRootTurns ¶
Session Turn reads carry root work only. Child Turns remain in subagent_turns and are read through the Subagent queries.
func (*Queries) ListRuntimeAllocations ¶
func (*Queries) ListRuntimeAllocationsForNode ¶
func (q *Queries) ListRuntimeAllocationsForNode(ctx context.Context, arg ListRuntimeAllocationsForNodeParams) ([]ListRuntimeAllocationsForNodeRow, error)
func (*Queries) ListRuntimeHistorySamples ¶
func (q *Queries) ListRuntimeHistorySamples(ctx context.Context, arg ListRuntimeHistorySamplesParams) ([]RuntimeHistorySample, error)
func (*Queries) ListRuntimeLifecycleNodes ¶
func (*Queries) ListRuntimeNodes ¶
func (*Queries) ListRuntimeObservationSessions ¶
func (q *Queries) ListRuntimeObservationSessions(ctx context.Context, arg ListRuntimeObservationSessionsParams) ([]ListRuntimeObservationSessionsRow, error)
func (*Queries) ListRuntimeStartingNodes ¶ added in v0.0.13
A node is starting a Session while that Session's sandbox is not created or its initialization has not finished.
func (*Queries) ListRuntimeSuspensionInFlightNodes ¶ added in v0.0.10
func (*Queries) ListSandboxGenerations ¶
func (*Queries) ListSandboxResetCandidates ¶ added in v0.0.14
func (q *Queries) ListSandboxResetCandidates(ctx context.Context, arg ListSandboxResetCandidatesParams) ([]ListSandboxResetCandidatesRow, error)
Each hosted Environment that holds reset resources, with its live Session: the reset archives the Session, or expires an unattached standalone one.
func (*Queries) ListSessionArtifacts ¶
func (q *Queries) ListSessionArtifacts(ctx context.Context, arg ListSessionArtifactsParams) ([]SessionArtifact, error)
func (*Queries) ListSessionEvents ¶
func (q *Queries) ListSessionEvents(ctx context.Context, arg ListSessionEventsParams) ([]ListSessionEventsRow, error)
func (*Queries) ListSessionItems ¶
func (q *Queries) ListSessionItems(ctx context.Context, arg ListSessionItemsParams) ([]ListSessionItemsRow, error)
func (*Queries) ListSessions ¶
func (*Queries) ListSkillVersions ¶
func (q *Queries) ListSkillVersions(ctx context.Context, arg ListSkillVersionsParams) ([]ListSkillVersionsRow, error)
func (*Queries) ListSkills ¶
func (*Queries) ListSourceFiles ¶
func (q *Queries) ListSourceFiles(ctx context.Context, arg ListSourceFilesParams) ([]SourceFile, error)
func (*Queries) ListStandaloneEnvironments ¶ added in v0.0.14
func (q *Queries) ListStandaloneEnvironments(ctx context.Context, arg ListStandaloneEnvironmentsParams) ([]ListStandaloneEnvironmentsRow, error)
func (*Queries) ListTurnEvents ¶
func (*Queries) ListTurnInputs ¶
func (*Queries) ListTurnItemDiagnostics ¶
func (q *Queries) ListTurnItemDiagnostics(ctx context.Context, arg ListTurnItemDiagnosticsParams) ([]ListTurnItemDiagnosticsRow, error)
func (*Queries) ListUnallocatedHostedEnvironmentsForNode ¶
func (q *Queries) ListUnallocatedHostedEnvironmentsForNode(ctx context.Context, arg ListUnallocatedHostedEnvironmentsForNodeParams) ([]ListUnallocatedHostedEnvironmentsForNodeRow, error)
func (*Queries) ListUnfinishedSessionItems ¶
func (q *Queries) ListUnfinishedSessionItems(ctx context.Context, arg ListUnfinishedSessionItemsParams) ([]ListUnfinishedSessionItemsRow, error)
func (*Queries) ListVaults ¶
func (*Queries) ListWaitingCheckpointRestores ¶ added in v0.0.10
func (q *Queries) ListWaitingCheckpointRestores(ctx context.Context) ([]ListWaitingCheckpointRestoresRow, error)
func (*Queries) ListWorkspaceDeletionCandidates ¶ added in v0.0.10
func (*Queries) ListWriteOperations ¶
func (q *Queries) ListWriteOperations(ctx context.Context, arg ListWriteOperationsParams) ([]ListWriteOperationsRow, error)
func (*Queries) LockAutomation ¶ added in v0.0.14
func (q *Queries) LockAutomation(ctx context.Context, arg LockAutomationParams) (LockAutomationRow, error)
func (*Queries) LockEnvironment ¶ added in v0.0.14
func (*Queries) LockEnvironmentCreation ¶ added in v0.0.14
func (q *Queries) LockEnvironmentCreation(ctx context.Context, arg LockEnvironmentCreationParams) error
func (*Queries) LockProject ¶
func (*Queries) LockProjectByTenant ¶
func (*Queries) LockProjectForUpdate ¶
func (*Queries) LockRuntimeDeployment ¶
func (q *Queries) LockRuntimeDeployment(ctx context.Context) (RuntimeDeployment, error)
func (*Queries) LockRuntimeNodePresence ¶
func (*Queries) LockSession ¶
func (q *Queries) LockSession(ctx context.Context, arg LockSessionParams) (LockSessionRow, error)
func (*Queries) LockSourceFile ¶ added in v0.0.10
func (q *Queries) LockSourceFile(ctx context.Context, arg LockSourceFileParams) (SourceFile, error)
func (*Queries) LockVisibleSession ¶ added in v0.0.14
func (*Queries) LockWorkspaceAdmission ¶ added in v0.0.10
func (*Queries) LockWorkspaceConfigurations ¶ added in v0.0.10
func (*Queries) LockWorkspaceTenant ¶ added in v0.0.10
func (*Queries) MarkSessionDeleted ¶
func (*Queries) MarkSessionModelSource ¶ added in v0.0.14
func (q *Queries) MarkSessionModelSource(ctx context.Context, arg MarkSessionModelSourceParams) error
func (*Queries) MarkWorkspaceDeleted ¶ added in v0.0.10
func (*Queries) MarkWorkspaceReady ¶ added in v0.0.10
func (*Queries) MatchFunctionCall ¶
func (*Queries) MatchFunctionResult ¶
func (q *Queries) MatchFunctionResult(ctx context.Context, arg MatchFunctionResultParams) (MatchFunctionResultRow, error)
func (*Queries) MatchTurnEventBatch ¶
func (*Queries) MatchWorkspaceConfiguration ¶ added in v0.0.10
func (q *Queries) MatchWorkspaceConfiguration(ctx context.Context, arg MatchWorkspaceConfigurationParams) (MatchWorkspaceConfigurationRow, error)
func (*Queries) MoveSuspendedRuntimeCompute ¶ added in v0.0.10
func (q *Queries) MoveSuspendedRuntimeCompute(ctx context.Context, arg MoveSuspendedRuntimeComputeParams) (RuntimeAllocation, error)
func (*Queries) NodeGenerationKept ¶
func (*Queries) NodeGenerationReady ¶
func (*Queries) ObserveDeploymentModelProvider ¶
func (q *Queries) ObserveDeploymentModelProvider(ctx context.Context, arg ObserveDeploymentModelProviderParams) (int64, error)
Root turns live in turns; child turns have their own table. Read only committed outcomes, lock only the matching default, and sample receipt time after its lock.
func (*Queries) ObserveRuntimeRunning ¶
func (*Queries) ProjectAPIKeyDigestExists ¶
func (*Queries) PromoteNodeServingGeneration ¶
func (q *Queries) PromoteNodeServingGeneration(ctx context.Context, arg PromoteNodeServingGenerationParams) error
func (*Queries) PruneNodeHostHistory ¶
func (*Queries) PruneRuntimeHistorySamples ¶
func (*Queries) PruneSessionEvents ¶
func (q *Queries) PruneSessionEvents(ctx context.Context, arg PruneSessionEventsParams) error
func (*Queries) PublishSubagent ¶
func (q *Queries) PublishSubagent(ctx context.Context, arg PublishSubagentParams) error
func (*Queries) PublishTurnArtifacts ¶
func (q *Queries) PublishTurnArtifacts(ctx context.Context, arg PublishTurnArtifactsParams) error
func (*Queries) PutChildItem ¶
func (*Queries) PutChildTurn ¶
func (q *Queries) PutChildTurn(ctx context.Context, arg PutChildTurnParams) (SubagentTurn, error)
func (*Queries) PutSessionItem ¶
func (q *Queries) PutSessionItem(ctx context.Context, arg PutSessionItemParams) (SessionItem, error)
func (*Queries) PutSubagentEffect ¶
func (*Queries) PutSubagentIdentity ¶
func (*Queries) PutTurnUsage ¶
func (q *Queries) PutTurnUsage(ctx context.Context, arg PutTurnUsageParams) error
func (*Queries) ReadDefaultSkillVersion ¶
func (q *Queries) ReadDefaultSkillVersion(ctx context.Context, arg ReadDefaultSkillVersionParams) (SkillVersion, error)
func (*Queries) ReadSkillVersion ¶
func (q *Queries) ReadSkillVersion(ctx context.Context, arg ReadSkillVersionParams) (SkillVersion, error)
func (*Queries) RecordEnvironmentFailure ¶
func (q *Queries) RecordEnvironmentFailure(ctx context.Context, arg RecordEnvironmentFailureParams) (pgtype.Timestamptz, error)
func (*Queries) RecordEnvironmentInitializationSteps ¶ added in v0.0.13
func (q *Queries) RecordEnvironmentInitializationSteps(ctx context.Context, arg RecordEnvironmentInitializationStepsParams) error
func (*Queries) RecordRuntimeTerminalActivity ¶
func (*Queries) RecordSandboxConfigurationMetadata ¶
func (*Queries) RecordStandaloneActivity ¶ added in v0.0.14
func (*Queries) RefreshLatestSkillVersion ¶
func (q *Queries) RefreshLatestSkillVersion(ctx context.Context, arg RefreshLatestSkillVersionParams) error
func (*Queries) ReleaseFailedRuntimePlacement ¶ added in v0.0.10
func (q *Queries) ReleaseFailedRuntimePlacement(ctx context.Context, arg ReleaseFailedRuntimePlacementParams) error
func (*Queries) ReleaseInactiveRuntimePlacements ¶ added in v0.0.14
Environments that can no longer run work give up the placements they hold without compute.
func (*Queries) ReleaseRuntimeAllocation ¶
func (*Queries) ReleaseRuntimePlacement ¶
func (*Queries) RememberNativeSession ¶
func (*Queries) RemoveRuntimeNode ¶
func (*Queries) RenameProject ¶
func (q *Queries) RenameProject(ctx context.Context, arg RenameProjectParams) error
func (*Queries) ReplaceEnvironmentConnection ¶
func (q *Queries) ReplaceEnvironmentConnection(ctx context.Context, arg ReplaceEnvironmentConnectionParams) error
func (*Queries) RequestRuntimeCleanup ¶
func (*Queries) RequestTurnCancel ¶
func (q *Queries) RequestTurnCancel(ctx context.Context, arg RequestTurnCancelParams) error
func (*Queries) ReserveReleasedRuntimePlacement ¶ added in v0.0.10
func (*Queries) ResolveEnvironmentTemplate ¶
func (q *Queries) ResolveEnvironmentTemplate(ctx context.Context, arg ResolveEnvironmentTemplateParams) (EnvironmentTemplate, error)
func (*Queries) ResolveProjectAPIKey ¶
func (*Queries) RetainSandboxGeneration ¶
func (*Queries) RetireSandboxEnrollments ¶
func (*Queries) RetireSandboxNodes ¶
func (*Queries) RevokeArchivedRuntimeDevice ¶
func (*Queries) RevokeDevice ¶
func (*Queries) RevokeExecutorCredential ¶
func (*Queries) RevokeProjectAPIKey ¶
func (q *Queries) RevokeProjectAPIKey(ctx context.Context, arg RevokeProjectAPIKeyParams) (ProjectApiKey, error)
func (*Queries) RevokeProjectKeys ¶
func (*Queries) RevokeRuntimeCleanupDevice ¶
func (*Queries) RotateExecutorCredential ¶
func (q *Queries) RotateExecutorCredential(ctx context.Context, arg RotateExecutorCredentialParams) (RotateExecutorCredentialRow, error)
func (*Queries) RuntimeComputeBlocksAdmission ¶
func (*Queries) SampleNodeHostHistory ¶
func (*Queries) SaveAgentModelExecution ¶
func (q *Queries) SaveAgentModelExecution(ctx context.Context, arg SaveAgentModelExecutionParams) error
func (*Queries) SaveSessionExecutionConfiguration ¶
func (q *Queries) SaveSessionExecutionConfiguration(ctx context.Context, arg SaveSessionExecutionConfigurationParams) error
func (*Queries) SaveSessionModelExecution ¶
func (q *Queries) SaveSessionModelExecution(ctx context.Context, arg SaveSessionModelExecutionParams) error
func (*Queries) SessionBlocksAutoReset ¶
func (*Queries) SessionEventCursor ¶
func (*Queries) SessionEventTurn ¶
func (*Queries) SessionHasFunctionCall ¶
func (*Queries) SessionHasRuntimeNode ¶
func (*Queries) SessionMeasuredTokenUsage ¶
func (q *Queries) SessionMeasuredTokenUsage(ctx context.Context, arg SessionMeasuredTokenUsageParams) ([]byte, error)
Core-internal measured usage for Runtime telemetry, not public Session usage: the sum of every recorded root Turn snapshot, including active Turns, null only when nothing is recorded. The tenant join keeps the read scoped.
func (*Queries) SessionTokenUsage ¶
Session usage is the sum of its root Turns only when every one has ended with recorded usage. Officially it stayed null while a root Turn was in progress or waiting (ST-03), even after earlier Turns were measured, and after a Turn ended with unknown usage (EVT-13). Queued Turns count as not ended, and a snapshot recorded by an active Turn does not count yet.
func (*Queries) SetDefaultSkillVersion ¶
func (*Queries) SetEnvironmentConnectionStatus ¶
func (q *Queries) SetEnvironmentConnectionStatus(ctx context.Context, arg SetEnvironmentConnectionStatusParams) error
func (*Queries) SetEnvironmentInitialFileMetadata ¶ added in v0.0.14
func (q *Queries) SetEnvironmentInitialFileMetadata(ctx context.Context, arg SetEnvironmentInitialFileMetadataParams) error
func (*Queries) SetEnvironmentSetupMetadata ¶ added in v0.0.14
func (q *Queries) SetEnvironmentSetupMetadata(ctx context.Context, arg SetEnvironmentSetupMetadataParams) error
func (*Queries) SetRuntimeCompute ¶
func (q *Queries) SetRuntimeCompute(ctx context.Context, arg SetRuntimeComputeParams) (RuntimeAllocation, error)
func (*Queries) SetRuntimeObservation ¶
func (q *Queries) SetRuntimeObservation(ctx context.Context, arg SetRuntimeObservationParams) error
func (*Queries) SetWorkspaceTenantCapacity ¶ added in v0.0.10
func (*Queries) SettleEnvironmentFileWrite ¶
func (q *Queries) SettleEnvironmentFileWrite(ctx context.Context, arg SettleEnvironmentFileWriteParams) (EnvironmentFileWrite, error)
func (*Queries) SettleEnvironmentInputReservation ¶
func (q *Queries) SettleEnvironmentInputReservation(ctx context.Context, arg SettleEnvironmentInputReservationParams) (EnvironmentInputReservation, error)
func (*Queries) SettleInvocation ¶ added in v0.0.14
func (q *Queries) SettleInvocation(ctx context.Context, arg SettleInvocationParams) (SettleInvocationRow, error)
func (*Queries) SettleRuntimeCreation ¶
func (*Queries) StageSessionArtifact ¶
func (q *Queries) StageSessionArtifact(ctx context.Context, arg StageSessionArtifactParams) error
func (*Queries) StartSandboxReset ¶
func (q *Queries) StartSandboxReset(ctx context.Context, arg StartSandboxResetParams) error
func (*Queries) SubagentRootAgent ¶
func (*Queries) SubmitFunctionResult ¶
func (q *Queries) SubmitFunctionResult(ctx context.Context, arg SubmitFunctionResultParams) error
func (*Queries) TenantWorkspaceCapacity ¶ added in v0.0.10
func (*Queries) TouchAuthenticatedDevice ¶
func (*Queries) TouchDevice ¶
func (*Queries) TouchRuntimeActivity ¶
func (q *Queries) TouchRuntimeActivity(ctx context.Context, arg TouchRuntimeActivityParams) error
func (*Queries) TransitionTurn ¶
func (*Queries) TryExecutionLease ¶
func (*Queries) UpdateAgent ¶
func (*Queries) UpdateAutomation ¶ added in v0.0.14
func (q *Queries) UpdateAutomation(ctx context.Context, arg UpdateAutomationParams) error
func (*Queries) UpdateCredentialMetadata ¶ added in v0.0.14
func (q *Queries) UpdateCredentialMetadata(ctx context.Context, arg UpdateCredentialMetadataParams) (UpdateCredentialMetadataRow, error)
func (*Queries) UpdateEnvironmentTemplate ¶
func (q *Queries) UpdateEnvironmentTemplate(ctx context.Context, arg UpdateEnvironmentTemplateParams) (UpdateEnvironmentTemplateRow, error)
func (*Queries) UpdateOAuthCredential ¶
func (q *Queries) UpdateOAuthCredential(ctx context.Context, arg UpdateOAuthCredentialParams) (UpdateOAuthCredentialRow, error)
func (*Queries) UpdateRuntimeNode ¶
func (q *Queries) UpdateRuntimeNode(ctx context.Context, arg UpdateRuntimeNodeParams) (RuntimeNode, error)
func (*Queries) UpdateSandboxIdleSeconds ¶ added in v0.0.12
func (*Queries) UpdateSession ¶ added in v0.0.14
func (*Queries) UpdateStaticCredential ¶
func (q *Queries) UpdateStaticCredential(ctx context.Context, arg UpdateStaticCredentialParams) (UpdateStaticCredentialRow, error)
func (*Queries) UpdateVault ¶ added in v0.0.14
func (*Queries) UpsertDeploymentModelProvider ¶
func (q *Queries) UpsertDeploymentModelProvider(ctx context.Context, arg UpsertDeploymentModelProviderParams) (UpsertDeploymentModelProviderRow, error)
func (*Queries) UpsertNodeGenerationStatus ¶
func (q *Queries) UpsertNodeGenerationStatus(ctx context.Context, arg UpsertNodeGenerationStatusParams) error
func (*Queries) WithdrawFunctionCall ¶ added in v0.0.12
func (q *Queries) WithdrawFunctionCall(ctx context.Context, arg WithdrawFunctionCallParams) error
type ReadSkillVersionParams ¶
type RecordEnvironmentInitializationStepsParams ¶ added in v0.0.13
type ReleaseFailedRuntimePlacementParams ¶ added in v0.0.10
type RenameProjectParams ¶
type RequestTurnCancelParams ¶
type ReserveReleasedRuntimePlacementParams ¶ added in v0.0.10
type ResolveProjectAPIKeyRow ¶
type ResolveProjectAPIKeyRow struct {
ID pgtype.UUID `json:"id"`
Name string `json:"name"`
Prefix string `json:"prefix"`
TokenSha256 string `json:"token_sha256"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
RevokedAt pgtype.Timestamptz `json:"revoked_at"`
ProjectID pgtype.UUID `json:"project_id"`
TenantID pgtype.UUID `json:"tenant_id"`
SubjectKind string `json:"subject_kind"`
SubjectID string `json:"subject_id"`
OrganizationID string `json:"organization_id"`
ExternalProjectID string `json:"external_project_id"`
}
type RevokeDeviceParams ¶
type RuntimeAllocation ¶
type RuntimeAllocation struct {
ID pgtype.UUID `json:"id"`
EnvironmentID pgtype.UUID `json:"environment_id"`
DeviceID pgtype.UUID `json:"device_id"`
ProviderKey pgtype.UUID `json:"provider_key"`
State string `json:"state"`
CreateSettled bool `json:"create_settled"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
ReleasedAt pgtype.Timestamptz `json:"released_at"`
ComputePhase string `json:"compute_phase"`
ComputeRevision int64 `json:"compute_revision"`
ComputeState []byte `json:"compute_state"`
ComputeActivityAt pgtype.Timestamptz `json:"compute_activity_at"`
ComputeWakeRequested bool `json:"compute_wake_requested"`
ComputeRetainedUntil pgtype.Timestamptz `json:"compute_retained_until"`
NodeID pgtype.UUID `json:"node_id"`
ObservationError string `json:"observation_error"`
ComputePhaseChangedAt pgtype.Timestamptz `json:"compute_phase_changed_at"`
DeploymentGeneration pgtype.Int8 `json:"deployment_generation"`
}
type RuntimeDeployment ¶
type RuntimeDeployment struct {
Singleton bool `json:"singleton"`
InstallationID pgtype.UUID `json:"installation_id"`
BackendFingerprint string `json:"backend_fingerprint"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
ProviderKind string `json:"provider_kind"`
OwnerEpoch int64 `json:"owner_epoch"`
Generation int64 `json:"generation"`
Mode string `json:"mode"`
ProviderCredential []byte `json:"provider_credential"`
Specification []byte `json:"specification"`
ResetClear pgtype.Text `json:"reset_clear"`
ResetRequestedAt pgtype.Timestamptz `json:"reset_requested_at"`
ResetDeadlineAt pgtype.Timestamptz `json:"reset_deadline_at"`
ResetForcedAt pgtype.Timestamptz `json:"reset_forced_at"`
ResetAudit []byte `json:"reset_audit"`
ProviderConfig []byte `json:"provider_config"`
ProviderMetadata []byte `json:"provider_metadata"`
IdleSeconds int64 `json:"idle_seconds"`
}
type RuntimeDeploymentGeneration ¶
type RuntimeDeploymentGeneration struct {
Generation int64 `json:"generation"`
ProviderKind string `json:"provider_kind"`
Specification []byte `json:"specification"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
ProviderConfig []byte `json:"provider_config"`
ProviderMetadata []byte `json:"provider_metadata"`
}
type RuntimeDeviceAuthority ¶
type RuntimeHistorySample ¶
type RuntimeHistorySample struct {
TenantID pgtype.UUID `json:"tenant_id"`
SessionID pgtype.UUID `json:"session_id"`
EnvironmentID pgtype.UUID `json:"environment_id"`
ResolvedAtNs int64 `json:"resolved_at_ns"`
AllocationID pgtype.UUID `json:"allocation_id"`
ProviderType string `json:"provider_type"`
Status string `json:"status"`
ObservedAtNs pgtype.Int8 `json:"observed_at_ns"`
StartedAtNs pgtype.Int8 `json:"started_at_ns"`
CpuUsageSeconds pgtype.Float8 `json:"cpu_usage_seconds"`
CpuCapacityCores pgtype.Float8 `json:"cpu_capacity_cores"`
MemoryUsageBytes pgtype.Int8 `json:"memory_usage_bytes"`
MemoryLimitBytes pgtype.Int8 `json:"memory_limit_bytes"`
InputTokens pgtype.Int8 `json:"input_tokens"`
OutputTokens pgtype.Int8 `json:"output_tokens"`
CpuUtilizationRatio pgtype.Float8 `json:"cpu_utilization_ratio"`
}
type RuntimeNode ¶
type RuntimeNode struct {
ID pgtype.UUID `json:"id"`
InstallationID pgtype.UUID `json:"installation_id"`
Name string `json:"name"`
BackendFingerprint string `json:"backend_fingerprint"`
CredentialSha256 string `json:"credential_sha256"`
MaxActive int32 `json:"max_active"`
MaxRetained int32 `json:"max_retained"`
ConnectionID pgtype.UUID `json:"connection_id"`
Health []byte `json:"health"`
ConnectedEpoch int64 `json:"connected_epoch"`
LastSeenAt pgtype.Timestamptz `json:"last_seen_at"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
RemovedAt pgtype.Timestamptz `json:"removed_at"`
SpecificationDigest string `json:"specification_digest"`
DeploymentGeneration int64 `json:"deployment_generation"`
CoreUrl string `json:"core_url"`
EnrollmentID pgtype.UUID `json:"enrollment_id"`
ReadyGeneration pgtype.Int8 `json:"ready_generation"`
}
type RuntimeNodeEnrollment ¶
type RuntimeNodeEnrollment struct {
TokenSha256 string `json:"token_sha256"`
InstallationID pgtype.UUID `json:"installation_id"`
ExpiresAt pgtype.Timestamptz `json:"expires_at"`
ConsumedAt pgtype.Timestamptz `json:"consumed_at"`
NodeID pgtype.UUID `json:"node_id"`
MaxActive pgtype.Int4 `json:"max_active"`
MaxRetained pgtype.Int4 `json:"max_retained"`
ID pgtype.UUID `json:"id"`
}
type RuntimeNodeGenerationStatus ¶
type RuntimeNodeGenerationStatus struct {
NodeID pgtype.UUID `json:"node_id"`
Generation int64 `json:"generation"`
SpecificationDigest string `json:"specification_digest"`
ConnectionID pgtype.UUID `json:"connection_id"`
OwnerEpoch int64 `json:"owner_epoch"`
State string `json:"state"`
Diagnostic string `json:"diagnostic"`
ObservedAt pgtype.Timestamptz `json:"observed_at"`
Checkpoint []byte `json:"checkpoint"`
}
type RuntimePlacement ¶
type RuntimePlacement struct {
EnvironmentID pgtype.UUID `json:"environment_id"`
NodeID pgtype.UUID `json:"node_id"`
ReservedAt pgtype.Timestamptz `json:"reserved_at"`
ReleasedAt pgtype.Timestamptz `json:"released_at"`
DeploymentGeneration pgtype.Int8 `json:"deployment_generation"`
}
type RuntimeResetRetainedEnvironment ¶ added in v0.0.10
type Session ¶
type Session struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
Engine string `json:"engine"`
Metadata []byte `json:"metadata"`
IdempotencyKey string `json:"idempotency_key"`
RequestHash string `json:"request_hash"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
Configuration []byte `json:"configuration"`
EventSequence int64 `json:"event_sequence"`
CreationRequestHash pgtype.Text `json:"creation_request_hash"`
DeletedAt pgtype.Timestamptz `json:"deleted_at"`
CreatorKind pgtype.Text `json:"creator_kind"`
CreatorID pgtype.Text `json:"creator_id"`
EnvironmentID pgtype.UUID `json:"environment_id"`
}
type SessionArtifact ¶
type SessionArtifact struct {
ID pgtype.UUID `json:"id"`
SessionID pgtype.UUID `json:"session_id"`
TurnID pgtype.UUID `json:"turn_id"`
EnvironmentID pgtype.UUID `json:"environment_id"`
Path string `json:"path"`
SizeBytes int64 `json:"size_bytes"`
BodyOid pgtype.Uint32 `json:"body_oid"`
Sha256 string `json:"sha256"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
}
type SessionDevice ¶
type SessionEvent ¶
type SessionEventTurnParams ¶
type SessionItem ¶
type SessionItem struct {
ID pgtype.UUID `json:"id"`
SessionID pgtype.UUID `json:"session_id"`
TurnID pgtype.UUID `json:"turn_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
Position int32 `json:"position"`
Payload []byte `json:"payload"`
OutputIndex pgtype.Int4 `json:"output_index"`
SettledAt pgtype.Timestamptz `json:"settled_at"`
}
type SessionModelExecution ¶
type SetEnvironmentInitialFileMetadataParams ¶ added in v0.0.14
type SetEnvironmentSetupMetadataParams ¶ added in v0.0.14
type SetRuntimeComputeParams ¶
type SettleInvocationParams ¶ added in v0.0.14
type SettleInvocationRow ¶ added in v0.0.14
type SettleInvocationRow struct {
AutomationID pgtype.UUID `json:"automation_id"`
ScheduledAt pgtype.Timestamptz `json:"scheduled_at"`
}
type Skill ¶
type Skill struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
Name string `json:"name"`
Description string `json:"description"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
DefaultVersion int64 `json:"default_version"`
LatestVersion int64 `json:"latest_version"`
NextVersion int64 `json:"next_version"`
}
type SkillVersion ¶
type SkillVersion struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
SkillID pgtype.UUID `json:"skill_id"`
Version int64 `json:"version"`
Name string `json:"name"`
Description string `json:"description"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
Contents []byte `json:"contents"`
}
type SourceFile ¶
type SourceFile struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
Filename string `json:"filename"`
Purpose string `json:"purpose"`
BodyOid pgtype.Uint32 `json:"body_oid"`
SizeBytes int64 `json:"size_bytes"`
Sha256 string `json:"sha256"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
}
type StageSessionArtifactParams ¶
type StageSessionArtifactParams struct {
ID pgtype.UUID `json:"id"`
SessionID pgtype.UUID `json:"session_id"`
TurnID pgtype.UUID `json:"turn_id"`
EnvironmentID pgtype.UUID `json:"environment_id"`
Path string `json:"path"`
SizeBytes int64 `json:"size_bytes"`
BodyOid pgtype.Uint32 `json:"body_oid"`
Sha256 string `json:"sha256"`
}
type StartSandboxResetParams ¶
type SubagentEffect ¶
type SubagentIdentity ¶
type SubagentIdentity struct {
ID pgtype.UUID `json:"id"`
SessionID pgtype.UUID `json:"session_id"`
DeviceID pgtype.UUID `json:"device_id"`
Engine string `json:"engine"`
NativeID string `json:"native_id"`
ParentNativeID string `json:"parent_native_id"`
NativeCreatedAt int64 `json:"native_created_at"`
FirstTurnID pgtype.UUID `json:"first_turn_id"`
FirstEventOrdinal int32 `json:"first_event_ordinal"`
Name pgtype.Text `json:"name"`
Instructions pgtype.Text `json:"instructions"`
PublicVisible bool `json:"public_visible"`
Status string `json:"status"`
ClosedAtMs pgtype.Int8 `json:"closed_at_ms"`
LifecycleAtMs int64 `json:"lifecycle_at_ms"`
}
type SubagentItem ¶
type SubagentTurn ¶
type SubagentTurn struct {
ID pgtype.UUID `json:"id"`
SessionID pgtype.UUID `json:"session_id"`
SubagentID pgtype.UUID `json:"subagent_id"`
NativeID string `json:"native_id"`
Status string `json:"status"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
StartedAt pgtype.Timestamptz `json:"started_at"`
CompletedAt pgtype.Timestamptz `json:"completed_at"`
TokenUsage []byte `json:"token_usage"`
}
type TenantWorkspaceCapacityRow ¶ added in v0.0.10
type TransitionTurnParams ¶
type Turn ¶
type Turn struct {
ID pgtype.UUID `json:"id"`
SessionID pgtype.UUID `json:"session_id"`
Status string `json:"status"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
StartedAt pgtype.Timestamptz `json:"started_at"`
CompletedAt pgtype.Timestamptz `json:"completed_at"`
CancelRequestedAt pgtype.Timestamptz `json:"cancel_requested_at"`
Outcome []byte `json:"outcome"`
EventCount int32 `json:"event_count"`
EventBytes int64 `json:"event_bytes"`
TokenUsage []byte `json:"token_usage"`
ArtifactCaptureStarted bool `json:"artifact_capture_started"`
Settings []byte `json:"settings"`
}
type TurnInput ¶
type TurnInput struct {
Sequence int64 `json:"sequence"`
SessionID pgtype.UUID `json:"session_id"`
TurnID pgtype.UUID `json:"turn_id"`
IdempotencyKey string `json:"idempotency_key"`
Kind string `json:"kind"`
Payload []byte `json:"payload"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
BatchPosition int32 `json:"batch_position"`
}
type UpdateAgentParams ¶
type UpdateAutomationParams ¶ added in v0.0.14
type UpdateAutomationParams struct {
TenantID pgtype.UUID `json:"tenant_id"`
ID pgtype.UUID `json:"id"`
Name string `json:"name"`
Metadata []byte `json:"metadata"`
Status string `json:"status"`
RunAt pgtype.Timestamptz `json:"run_at"`
Expression pgtype.Text `json:"expression"`
Timezone pgtype.Text `json:"timezone"`
NextRunAt pgtype.Timestamptz `json:"next_run_at"`
SetTarget bool `json:"set_target"`
Target []byte `json:"target"`
TargetContents []byte `json:"target_contents"`
}
type UpdateCredentialMetadataParams ¶ added in v0.0.14
type UpdateCredentialMetadataRow ¶ added in v0.0.14
type UpdateCredentialMetadataRow struct {
ID pgtype.UUID `json:"id"`
VaultID pgtype.UUID `json:"vault_id"`
Name string `json:"name"`
AuthType string `json:"auth_type"`
McpServerUrl string `json:"mcp_server_url"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
OauthMetadata []byte `json:"oauth_metadata"`
Metadata []byte `json:"metadata"`
}
type UpdateEnvironmentTemplateParams ¶
type UpdateEnvironmentTemplateParams struct {
SetName bool `json:"set_name"`
Name pgtype.Text `json:"name"`
SetNetwork bool `json:"set_network"`
NetworkAccess string `json:"network_access"`
NetworkAllowedDomains []string `json:"network_allowed_domains"`
SetFiles bool `json:"set_files"`
Files []byte `json:"files"`
FileContents []byte `json:"file_contents"`
SetPackages bool `json:"set_packages"`
Packages []byte `json:"packages"`
SetEnv bool `json:"set_env"`
EnvContents []byte `json:"env_contents"`
SetSetup bool `json:"set_setup"`
SetupContents []byte `json:"setup_contents"`
SetSkills bool `json:"set_skills"`
Skills []byte `json:"skills"`
SkillContents []byte `json:"skill_contents"`
SetPlugins bool `json:"set_plugins"`
Plugins []byte `json:"plugins"`
PluginContents []byte `json:"plugin_contents"`
SetDirectories bool `json:"set_directories"`
CapabilityDirectories []string `json:"capability_directories"`
TenantID pgtype.UUID `json:"tenant_id"`
ID pgtype.UUID `json:"id"`
}
type UpdateEnvironmentTemplateRow ¶
type UpdateEnvironmentTemplateRow struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
Name pgtype.Text `json:"name"`
NetworkAccess string `json:"network_access"`
NetworkAllowedDomains []string `json:"network_allowed_domains"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
Files []byte `json:"files"`
Packages []byte `json:"packages"`
Skills []byte `json:"skills"`
Plugins []byte `json:"plugins"`
CapabilityDirectories []string `json:"capability_directories"`
}
type UpdateOAuthCredentialParams ¶
type UpdateOAuthCredentialParams struct {
TokenCiphertext []byte `json:"token_ciphertext"`
OauthMetadata []byte `json:"oauth_metadata"`
Metadata []byte `json:"metadata"`
TenantID pgtype.UUID `json:"tenant_id"`
VaultID pgtype.UUID `json:"vault_id"`
ID pgtype.UUID `json:"id"`
McpServerUrl string `json:"mcp_server_url"`
}
type UpdateOAuthCredentialRow ¶
type UpdateOAuthCredentialRow struct {
ID pgtype.UUID `json:"id"`
VaultID pgtype.UUID `json:"vault_id"`
Name string `json:"name"`
AuthType string `json:"auth_type"`
McpServerUrl string `json:"mcp_server_url"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
OauthMetadata []byte `json:"oauth_metadata"`
Metadata []byte `json:"metadata"`
}
type UpdateRuntimeNodeParams ¶
type UpdateSessionParams ¶ added in v0.0.14
type UpdateStaticCredentialRow ¶
type UpdateStaticCredentialRow struct {
ID pgtype.UUID `json:"id"`
VaultID pgtype.UUID `json:"vault_id"`
Name string `json:"name"`
AuthType string `json:"auth_type"`
McpServerUrl string `json:"mcp_server_url"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
OauthMetadata []byte `json:"oauth_metadata"`
Metadata []byte `json:"metadata"`
}
type UpdateVaultParams ¶ added in v0.0.14
type UpsertDeploymentModelProviderParams ¶
type UpsertDeploymentModelProviderParams struct {
Harness string `json:"harness"`
Protocol string `json:"protocol"`
BaseUrl string `json:"base_url"`
ContextWindow int32 `json:"context_window"`
MaxOutputTokens int32 `json:"max_output_tokens"`
Model string `json:"model"`
HarnessConfig []byte `json:"harness_config"`
EncryptedApiKey []byte `json:"encrypted_api_key"`
Revision pgtype.UUID `json:"revision"`
}
type UpsertDeploymentModelProviderRow ¶
type UpsertDeploymentModelProviderRow struct {
Harness string `json:"harness"`
Protocol string `json:"protocol"`
BaseUrl string `json:"base_url"`
ContextWindow int32 `json:"context_window"`
MaxOutputTokens int32 `json:"max_output_tokens"`
Model string `json:"model"`
HarnessConfig []byte `json:"harness_config"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
LastUsedAt pgtype.Timestamptz `json:"last_used_at"`
LastErrorCode pgtype.Text `json:"last_error_code"`
LastErrorAt pgtype.Timestamptz `json:"last_error_at"`
}
type UpsertNodeGenerationStatusParams ¶
type UpsertNodeGenerationStatusParams struct {
NodeID pgtype.UUID `json:"node_id"`
Generation int64 `json:"generation"`
SpecificationDigest string `json:"specification_digest"`
ConnectionID pgtype.UUID `json:"connection_id"`
OwnerEpoch int64 `json:"owner_epoch"`
State string `json:"state"`
Diagnostic string `json:"diagnostic"`
Checkpoint []byte `json:"checkpoint"`
}
type VaultCredential ¶
type VaultCredential struct {
ID pgtype.UUID `json:"id"`
VaultID pgtype.UUID `json:"vault_id"`
Name string `json:"name"`
AuthType string `json:"auth_type"`
McpServerUrl string `json:"mcp_server_url"`
TokenCiphertext []byte `json:"token_ciphertext"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
Status string `json:"status"`
OauthMetadata []byte `json:"oauth_metadata"`
Metadata []byte `json:"metadata"`
}
type WithdrawFunctionCallParams ¶ added in v0.0.12
type WorkspaceFsConfiguration ¶ added in v0.0.10
type WorkspaceStorageAdmission ¶ added in v0.0.10
type WriteAuditOperation ¶
type WriteAuditOperation struct {
ID pgtype.UUID `json:"id"`
TenantID pgtype.UUID `json:"tenant_id"`
KeyID string `json:"key_id"`
KeyName string `json:"key_name"`
KeyPrefix string `json:"key_prefix"`
KeyKind string `json:"key_kind"`
Action string `json:"action"`
ResourceType string `json:"resource_type"`
ResourceID string `json:"resource_id"`
ParentID string `json:"parent_id"`
RequestID string `json:"request_id"`
TraceID string `json:"trace_id"`
CreatedAt pgtype.Timestamptz `json:"created_at"`
}
Source Files
¶
- admin_audit.sql.go
- admin_history.sql.go
- admin_session_archive.sql.go
- admin_summary.sql.go
- agent_model_execution.sql.go
- agents.sql.go
- automations.sql.go
- core_metrics.sql.go
- db.go
- deployment_model_providers.sql.go
- deployment_provider_observations.sql.go
- devices.sql.go
- environment_connections.sql.go
- environment_executor_credentials.sql.go
- environment_file_writes.sql.go
- environment_initialization.sql.go
- environment_input_activity.sql.go
- environment_input_expiry.sql.go
- environment_inputs.sql.go
- environment_setup.sql.go
- environment_templates.sql.go
- environments.sql.go
- functions.sql.go
- initial_environment_files.sql.go
- local_environment_devices.sql.go
- mcp_credentials.sql.go
- models.go
- node_generations.sql.go
- node_host_history.sql.go
- oauth_credentials.sql.go
- project_api_keys.sql.go
- project_scopes.sql.go
- projects.sql.go
- runtime_allocations.sql.go
- runtime_cancellation.sql.go
- runtime_deployment.sql.go
- runtime_enrollment.sql.go
- runtime_history.sql.go
- runtime_lifecycle_nodes.sql.go
- runtime_nodes.sql.go
- runtime_suspension.sql.go
- runtime_suspension_pressure.sql.go
- sandbox_deployment_setup.sql.go
- sandbox_generations.sql.go
- sandbox_reset.sql.go
- scheduling.sql.go
- session_artifacts.sql.go
- session_events.sql.go
- session_execution_configuration.sql.go
- session_items.sql.go
- session_model_execution.sql.go
- sessions.sql.go
- skills.sql.go
- source_files.sql.go
- subagent_identities.sql.go
- subagent_resources.sql.go
- token_usage.sql.go
- turn_events.sql.go
- turn_reads.sql.go
- turns.sql.go
- vault_credentials.sql.go
- vaults.sql.go
- workspaces.sql.go
- write_audit.sql.go