@renai-labs/sdk 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/@tanstack/react-query.gen.d.ts +73 -9
- package/dist/generated/@tanstack/react-query.gen.js +54 -6
- package/dist/generated/internal/types.gen.d.ts +252 -0
- package/dist/generated/sdk.gen.d.ts +30 -10
- package/dist/generated/sdk.gen.js +52 -12
- package/dist/generated/types.gen.d.ts +194 -69
- package/dist/generated/zod.gen.d.ts +357 -97
- package/dist/generated/zod.gen.js +126 -68
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Client, type Options as Options2, type TDataShape } from "./client";
|
|
2
|
-
import type { AgentArchiveData, AgentArchiveErrors, AgentArchiveResponses, AgentCreateData, AgentCreateErrors, AgentCreateResponses, AgentDeprecateData, AgentDeprecateErrors, AgentDeprecateResponses, AgentGetBySlugData, AgentGetBySlugErrors, AgentGetBySlugResponses, AgentGetData, AgentGetErrors, AgentGetResponses, AgentListData, AgentListErrors, AgentListResponses, AgentPublishData, AgentPublishErrors, AgentPublishResponses, AgentSearchData, AgentSearchErrors, AgentSearchResponses, AgentUndeprecateData, AgentUndeprecateErrors, AgentUndeprecateResponses, AgentUpdateData, AgentUpdateErrors, AgentUpdateResponses, AgentVersionArchiveData, AgentVersionArchiveErrors, AgentVersionArchiveResponses, AgentVersionCreateData, AgentVersionCreateErrors, AgentVersionCreateResponses, AgentVersionGetData, AgentVersionGetErrors, AgentVersionGetResponses, AgentVersionListData, AgentVersionListErrors, AgentVersionListResponses, BillingDailyUsageData, BillingDailyUsageErrors, BillingDailyUsageResponses, BillingGetData, BillingGetErrors, BillingGetResponses, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlErrors, BillingInvoicePaymentUrlResponses, BillingInvoicesData, BillingInvoicesErrors, BillingInvoicesResponses, BillingUpdatePlanData, BillingUpdatePlanErrors, BillingUpdatePlanResponses, BlueprintArchiveData, BlueprintArchiveErrors, BlueprintArchiveResponses, BlueprintCreateData, BlueprintCreateErrors, BlueprintCreateResponses, BlueprintDeprecateData, BlueprintDeprecateErrors, BlueprintDeprecateResponses, BlueprintGetData, BlueprintGetErrors, BlueprintGetResponses, BlueprintInstallData, BlueprintInstallErrors, BlueprintInstallResponses, BlueprintListData, BlueprintListErrors, BlueprintListResponses, BlueprintPublishData, BlueprintPublishErrors, BlueprintPublishResponses, BlueprintUndeprecateData, BlueprintUndeprecateErrors, BlueprintUndeprecateResponses, BlueprintUpdateData, BlueprintUpdateErrors, BlueprintUpdateResponses, CredentialArchiveData, CredentialArchiveErrors, CredentialArchiveResponses, CredentialCreateData, CredentialCreateErrors, CredentialCreateResponses, CredentialDeleteData, CredentialDeleteErrors, CredentialDeleteResponses, CredentialGetData, CredentialGetErrors, CredentialGetResponses, CredentialListData, CredentialListErrors, CredentialListResponses, CredentialOauthSessionData, CredentialOauthSessionErrors, CredentialOauthSessionResponses, CredentialOauthStartData, CredentialOauthStartErrors, CredentialOauthStartResponses, CredentialUpdateData, CredentialUpdateErrors, CredentialUpdateResponses, DashboardGetData, DashboardGetErrors, DashboardGetResponses, EnvironmentArchiveData, EnvironmentArchiveErrors, EnvironmentArchiveResponses, EnvironmentCreateData, EnvironmentCreateErrors, EnvironmentCreateResponses, EnvironmentDeleteData, EnvironmentDeleteErrors, EnvironmentDeleteResponses, EnvironmentGetData, EnvironmentGetErrors, EnvironmentGetResponses, EnvironmentListData, EnvironmentListErrors, EnvironmentListResponses, EnvironmentUpdateData, EnvironmentUpdateErrors, EnvironmentUpdateResponses, FileStoreArchiveData, FileStoreArchiveErrors, FileStoreArchiveResponses, FileStoreCreateData, FileStoreCreateErrors, FileStoreCreateResponses, FileStoreFilesDeleteData, FileStoreFilesDeleteErrors, FileStoreFilesDeleteResponses, FileStoreFilesFinalizeUploadData, FileStoreFilesFinalizeUploadErrors, FileStoreFilesFinalizeUploadResponses, FileStoreFilesListData, FileStoreFilesListErrors, FileStoreFilesListResponses, FileStoreFilesPresignDownloadData, FileStoreFilesPresignDownloadErrors, FileStoreFilesPresignDownloadResponses, FileStoreFilesStartUploadData, FileStoreFilesStartUploadErrors, FileStoreFilesStartUploadResponses, FileStoreGetData, FileStoreGetErrors, FileStoreGetResponses, FileStoreListData, FileStoreListErrors, FileStoreListResponses, FileStoreUpdateData, FileStoreUpdateErrors, FileStoreUpdateResponses, GithubInstallationListData, GithubInstallationListErrors, GithubInstallationListResponses, GithubInstallationRefreshData, GithubInstallationRefreshErrors, GithubInstallationRefreshResponses, GithubInstallationRemoveData, GithubInstallationRemoveErrors, GithubInstallationRemoveResponses, GithubInstallationReposListData, GithubInstallationReposListErrors, GithubInstallationReposListResponses, GithubStatusData, GithubStatusErrors, GithubStatusResponses, McpArchiveData, McpArchiveErrors, McpArchiveResponses, McpCreateData, McpCreateErrors, McpCreateResponses, McpDeprecateData, McpDeprecateErrors, McpDeprecateResponses, McpGetBySlugData, McpGetBySlugErrors, McpGetBySlugResponses, McpGetData, McpGetErrors, McpGetResponses, McpListData, McpListErrors, McpListResponses, McpOauthConnectData, McpOauthConnectErrors, McpOauthConnectResponses, McpOauthSessionData, McpOauthSessionErrors, McpOauthSessionResponses, McpPublishData, McpPublishErrors, McpPublishResponses, McpSearchData, McpSearchErrors, McpSearchResponses, McpUndeprecateData, McpUndeprecateErrors, McpUndeprecateResponses, McpUpdateData, McpUpdateErrors, McpUpdateResponses, MeGetData, MeGetErrors, MeGetResponses, MemoryStoreArchiveData, MemoryStoreArchiveErrors, MemoryStoreArchiveResponses, MemoryStoreCreateData, MemoryStoreCreateErrors, MemoryStoreCreateResponses, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteErrors, MemoryStoreFilesDeleteResponses, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadErrors, MemoryStoreFilesFinalizeUploadResponses, MemoryStoreFilesListData, MemoryStoreFilesListErrors, MemoryStoreFilesListResponses, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadErrors, MemoryStoreFilesPresignDownloadResponses, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadErrors, MemoryStoreFilesStartUploadResponses, MemoryStoreGetData, MemoryStoreGetErrors, MemoryStoreGetResponses, MemoryStoreListData, MemoryStoreListErrors, MemoryStoreListResponses, MemoryStoreUpdateData, MemoryStoreUpdateErrors, MemoryStoreUpdateResponses, ModelListData, ModelListResponses, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgErrors, OnboardingSetupPersonalOrgResponses, OnboardingStartData, OnboardingStartErrors, OnboardingStartResponses, PatCreateData, PatCreateErrors, PatCreateResponses, PatListData, PatListErrors, PatListResponses, PatRevokeData, PatRevokeErrors, PatRevokeResponses, PodArchiveData, PodArchiveErrors, PodArchiveResponses, PodCreateData, PodCreateErrors, PodCreateResponses, PodGetData, PodGetErrors, PodGetResponses, PodListData, PodListErrors, PodListResponses, PodMemberAddData, PodMemberAddErrors, PodMemberAddResponses, PodMemberListData, PodMemberListErrors, PodMemberListResponses, PodMemberRemoveData, PodMemberRemoveErrors, PodMemberRemoveResponses, PodSandboxProvisionData, PodSandboxProvisionErrors, PodSandboxProvisionResponses, PodSandboxStatusData, PodSandboxStatusErrors, PodSandboxStatusResponses, PodUpdateData, PodUpdateErrors, PodUpdateResponses, PodVaultAddData, PodVaultAddErrors, PodVaultAddResponses, PodVaultListData, PodVaultListErrors, PodVaultListResponses, PodVaultRemoveData, PodVaultRemoveErrors, PodVaultRemoveResponses, ProjectAgentAddData, ProjectAgentAddErrors, ProjectAgentAddResponses, ProjectAgentListData, ProjectAgentListErrors, ProjectAgentListResponses, ProjectAgentRemoveData, ProjectAgentRemoveErrors, ProjectAgentRemoveResponses, ProjectArchiveData, ProjectArchiveErrors, ProjectArchiveResponses, ProjectCreateData, ProjectCreateErrors, ProjectCreateResponses, ProjectFileStoreAddData, ProjectFileStoreAddErrors, ProjectFileStoreAddResponses, ProjectFileStoreListData, ProjectFileStoreListErrors, ProjectFileStoreListResponses, ProjectFileStoreRemoveData, ProjectFileStoreRemoveErrors, ProjectFileStoreRemoveResponses, ProjectGetData, ProjectGetErrors, ProjectGetResponses, ProjectListData, ProjectListErrors, ProjectListResponses, ProjectMemoryStoreAddData, ProjectMemoryStoreAddErrors, ProjectMemoryStoreAddResponses, ProjectMemoryStoreListData, ProjectMemoryStoreListErrors, ProjectMemoryStoreListResponses, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveErrors, ProjectMemoryStoreRemoveResponses, ProjectUpdateData, ProjectUpdateErrors, ProjectUpdateResponses, PublisherClaimOrgData, PublisherClaimOrgErrors, PublisherClaimOrgResponses, PublisherGetData, PublisherGetErrors, PublisherGetResponses, PublisherMeData, PublisherMeErrors, PublisherMeResponses, PublisherUpdateData, PublisherUpdateErrors, PublisherUpdateResponses, RegistryAgentGetData, RegistryAgentGetErrors, RegistryAgentGetResponses, RegistryAgentListData, RegistryAgentListErrors, RegistryAgentListResponses, RegistryBlueprintGetData, RegistryBlueprintGetErrors, RegistryBlueprintGetResponses, RegistryMcpGetData, RegistryMcpGetErrors, RegistryMcpGetResponses, RegistryMcpListData, RegistryMcpListErrors, RegistryMcpListResponses, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadErrors, RegistryReplayFilesPresignDownloadResponses, RegistryReplayGetData, RegistryReplayGetErrors, RegistryReplayGetResponses, RegistrySkillGetData, RegistrySkillGetErrors, RegistrySkillGetResponses, RegistrySkillListData, RegistrySkillListErrors, RegistrySkillListResponses, ReplayArchiveData, ReplayArchiveErrors, ReplayArchiveResponses, ReplayCreateData, ReplayCreateErrors, ReplayCreateResponses, ReplayDeprecateData, ReplayDeprecateErrors, ReplayDeprecateResponses, ReplayGetData, ReplayGetErrors, ReplayGetResponses, ReplayListData, ReplayListErrors, ReplayListResponses, ReplayPublishData, ReplayPublishErrors, ReplayPublishResponses, ReplayShareData, ReplayShareErrors, ReplayShareResponses, ReplayUndeprecateData, ReplayUndeprecateErrors, ReplayUndeprecateResponses, ReplayUpdateData, ReplayUpdateErrors, ReplayUpdateResponses, SessionArchiveData, SessionArchiveErrors, SessionArchiveResponses, SessionAuthRequirementsData, SessionAuthRequirementsErrors, SessionAuthRequirementsResponses, SessionCreateData, SessionCreateErrors, SessionCreateResponses, SessionFilesPresignDownloadData, SessionFilesPresignDownloadErrors, SessionFilesPresignDownloadResponses, SessionFilesPresignUploadData, SessionFilesPresignUploadErrors, SessionFilesPresignUploadResponses, SessionGetData, SessionGetErrors, SessionGetResponses, SessionListData, SessionListErrors, SessionListResponses, SessionMessagesListData, SessionMessagesListErrors, SessionMessagesListResponses, SessionUpdateData, SessionUpdateErrors, SessionUpdateResponses, SkillArchiveData, SkillArchiveErrors, SkillArchiveResponses, SkillCopyData, SkillCopyErrors, SkillCopyResponses, SkillCreateData, SkillCreateErrors, SkillCreateResponses, SkillDeprecateData, SkillDeprecateErrors, SkillDeprecateResponses, SkillGetBySlugData, SkillGetBySlugErrors, SkillGetBySlugResponses, SkillGetData, SkillGetErrors, SkillGetResponses, SkillListData, SkillListErrors, SkillListResponses, SkillPublishData, SkillPublishErrors, SkillPublishResponses, SkillSearchData, SkillSearchErrors, SkillSearchResponses, SkillUndeprecateData, SkillUndeprecateErrors, SkillUndeprecateResponses, SkillUpdateData, SkillUpdateErrors, SkillUpdateResponses, SkillVersionArchiveData, SkillVersionArchiveErrors, SkillVersionArchiveResponses, SkillVersionCreateData, SkillVersionCreateErrors, SkillVersionCreateResponses, SkillVersionDataData, SkillVersionDataErrors, SkillVersionDataResponses, SkillVersionGetData, SkillVersionGetErrors, SkillVersionGetResponses, SkillVersionListData, SkillVersionListErrors, SkillVersionListResponses, SlackInstallationRemoveData, SlackInstallationRemoveErrors, SlackInstallationRemoveResponses, SlackStatusData, SlackStatusErrors, SlackStatusResponses, TriggerArchiveData, TriggerArchiveErrors, TriggerArchiveResponses, TriggerCreateData, TriggerCreateErrors, TriggerCreateResponses, TriggerGetData, TriggerGetErrors, TriggerGetResponses, TriggerListData, TriggerListErrors, TriggerListResponses, TriggerUpdateData, TriggerUpdateErrors, TriggerUpdateResponses, VaultArchiveData, VaultArchiveErrors, VaultArchiveResponses, VaultCreateData, VaultCreateErrors, VaultCreateResponses, VaultDeleteData, VaultDeleteErrors, VaultDeleteResponses, VaultGetData, VaultGetErrors, VaultGetResponses, VaultListData, VaultListErrors, VaultListResponses, VaultUpdateData, VaultUpdateErrors, VaultUpdateResponses, WebhookTriggerArchiveData, WebhookTriggerArchiveErrors, WebhookTriggerArchiveResponses, WebhookTriggerCreateData, WebhookTriggerCreateErrors, WebhookTriggerCreateResponses, WebhookTriggerGetData, WebhookTriggerGetErrors, WebhookTriggerGetResponses, WebhookTriggerListData, WebhookTriggerListErrors, WebhookTriggerListResponses, WebhookTriggerUpdateData, WebhookTriggerUpdateErrors, WebhookTriggerUpdateResponses } from "./types.gen";
|
|
2
|
+
import type { AgentArchiveData, AgentArchiveErrors, AgentArchiveResponses, AgentCreateData, AgentCreateErrors, AgentCreateResponses, AgentDeprecateData, AgentDeprecateErrors, AgentDeprecateResponses, AgentGetBySlugData, AgentGetBySlugErrors, AgentGetBySlugResponses, AgentGetData, AgentGetErrors, AgentGetResponses, AgentListData, AgentListErrors, AgentListResponses, AgentPublishData, AgentPublishErrors, AgentPublishResponses, AgentSearchData, AgentSearchErrors, AgentSearchResponses, AgentUndeprecateData, AgentUndeprecateErrors, AgentUndeprecateResponses, AgentUpdateData, AgentUpdateErrors, AgentUpdateResponses, AgentVersionArchiveData, AgentVersionArchiveErrors, AgentVersionArchiveResponses, AgentVersionCreateData, AgentVersionCreateErrors, AgentVersionCreateResponses, AgentVersionGetData, AgentVersionGetErrors, AgentVersionGetResponses, AgentVersionListData, AgentVersionListErrors, AgentVersionListResponses, BillingDailyUsageData, BillingDailyUsageErrors, BillingDailyUsageResponses, BillingGetData, BillingGetErrors, BillingGetResponses, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlErrors, BillingInvoicePaymentUrlResponses, BillingInvoicesData, BillingInvoicesErrors, BillingInvoicesResponses, BillingUpdatePlanData, BillingUpdatePlanErrors, BillingUpdatePlanResponses, BlueprintArchiveData, BlueprintArchiveErrors, BlueprintArchiveResponses, BlueprintCreateData, BlueprintCreateErrors, BlueprintCreateResponses, BlueprintDeprecateData, BlueprintDeprecateErrors, BlueprintDeprecateResponses, BlueprintGetData, BlueprintGetErrors, BlueprintGetResponses, BlueprintInstallData, BlueprintInstallErrors, BlueprintInstallResponses, BlueprintListData, BlueprintListErrors, BlueprintListResponses, BlueprintPublishData, BlueprintPublishErrors, BlueprintPublishResponses, BlueprintUndeprecateData, BlueprintUndeprecateErrors, BlueprintUndeprecateResponses, BlueprintUpdateData, BlueprintUpdateErrors, BlueprintUpdateResponses, CredentialArchiveData, CredentialArchiveErrors, CredentialArchiveResponses, CredentialCreateData, CredentialCreateErrors, CredentialCreateResponses, CredentialDeleteData, CredentialDeleteErrors, CredentialDeleteResponses, CredentialGetData, CredentialGetErrors, CredentialGetResponses, CredentialListData, CredentialListErrors, CredentialListResponses, CredentialOauthSessionData, CredentialOauthSessionErrors, CredentialOauthSessionResponses, CredentialOauthStartData, CredentialOauthStartErrors, CredentialOauthStartResponses, CredentialUpdateData, CredentialUpdateErrors, CredentialUpdateResponses, DashboardGetData, DashboardGetErrors, DashboardGetResponses, EnvironmentArchiveData, EnvironmentArchiveErrors, EnvironmentArchiveResponses, EnvironmentCreateData, EnvironmentCreateErrors, EnvironmentCreateResponses, EnvironmentDeleteData, EnvironmentDeleteErrors, EnvironmentDeleteResponses, EnvironmentGetData, EnvironmentGetErrors, EnvironmentGetResponses, EnvironmentListData, EnvironmentListErrors, EnvironmentListResponses, EnvironmentUpdateData, EnvironmentUpdateErrors, EnvironmentUpdateResponses, FileStoreArchiveData, FileStoreArchiveErrors, FileStoreArchiveResponses, FileStoreCreateData, FileStoreCreateErrors, FileStoreCreateResponses, FileStoreFilesDeleteData, FileStoreFilesDeleteErrors, FileStoreFilesDeleteResponses, FileStoreFilesFinalizeUploadData, FileStoreFilesFinalizeUploadErrors, FileStoreFilesFinalizeUploadResponses, FileStoreFilesListData, FileStoreFilesListErrors, FileStoreFilesListResponses, FileStoreFilesPresignDownloadData, FileStoreFilesPresignDownloadErrors, FileStoreFilesPresignDownloadResponses, FileStoreFilesStartUploadData, FileStoreFilesStartUploadErrors, FileStoreFilesStartUploadResponses, FileStoreGetData, FileStoreGetErrors, FileStoreGetResponses, FileStoreListData, FileStoreListErrors, FileStoreListResponses, FileStoreUpdateData, FileStoreUpdateErrors, FileStoreUpdateResponses, GithubInstallationListData, GithubInstallationListErrors, GithubInstallationListResponses, GithubInstallationRefreshData, GithubInstallationRefreshErrors, GithubInstallationRefreshResponses, GithubInstallationRemoveData, GithubInstallationRemoveErrors, GithubInstallationRemoveResponses, GithubInstallationReposListData, GithubInstallationReposListErrors, GithubInstallationReposListResponses, GithubStatusData, GithubStatusErrors, GithubStatusResponses, McpArchiveData, McpArchiveErrors, McpArchiveResponses, McpCreateData, McpCreateErrors, McpCreateResponses, McpDeprecateData, McpDeprecateErrors, McpDeprecateResponses, McpGetBySlugData, McpGetBySlugErrors, McpGetBySlugResponses, McpGetData, McpGetErrors, McpGetResponses, McpListData, McpListErrors, McpListResponses, McpOauthConnectData, McpOauthConnectErrors, McpOauthConnectResponses, McpOauthSessionData, McpOauthSessionErrors, McpOauthSessionResponses, McpPublishData, McpPublishErrors, McpPublishResponses, McpSearchData, McpSearchErrors, McpSearchResponses, McpUndeprecateData, McpUndeprecateErrors, McpUndeprecateResponses, McpUpdateData, McpUpdateErrors, McpUpdateResponses, MeGetData, MeGetErrors, MeGetResponses, MemoryStoreArchiveData, MemoryStoreArchiveErrors, MemoryStoreArchiveResponses, MemoryStoreCreateData, MemoryStoreCreateErrors, MemoryStoreCreateResponses, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteErrors, MemoryStoreFilesDeleteResponses, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadErrors, MemoryStoreFilesFinalizeUploadResponses, MemoryStoreFilesListData, MemoryStoreFilesListErrors, MemoryStoreFilesListResponses, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadErrors, MemoryStoreFilesPresignDownloadResponses, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadErrors, MemoryStoreFilesStartUploadResponses, MemoryStoreGetData, MemoryStoreGetErrors, MemoryStoreGetResponses, MemoryStoreListData, MemoryStoreListErrors, MemoryStoreListResponses, MemoryStoreUpdateData, MemoryStoreUpdateErrors, MemoryStoreUpdateResponses, ModelListData, ModelListResponses, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgErrors, OnboardingSetupPersonalOrgResponses, OnboardingStartData, OnboardingStartErrors, OnboardingStartResponses, PatCreateData, PatCreateErrors, PatCreateResponses, PatListData, PatListErrors, PatListResponses, PatRevokeData, PatRevokeErrors, PatRevokeResponses, PodArchiveData, PodArchiveErrors, PodArchiveResponses, PodCreateData, PodCreateErrors, PodCreateResponses, PodGetData, PodGetErrors, PodGetResponses, PodListData, PodListErrors, PodListResponses, PodMemberAddData, PodMemberAddErrors, PodMemberAddResponses, PodMemberListData, PodMemberListErrors, PodMemberListResponses, PodMemberRemoveData, PodMemberRemoveErrors, PodMemberRemoveResponses, PodSandboxProvisionData, PodSandboxProvisionErrors, PodSandboxProvisionResponses, PodSandboxStatusData, PodSandboxStatusErrors, PodSandboxStatusResponses, PodUpdateData, PodUpdateErrors, PodUpdateResponses, PodVaultAddData, PodVaultAddErrors, PodVaultAddResponses, PodVaultListData, PodVaultListErrors, PodVaultListResponses, PodVaultRemoveData, PodVaultRemoveErrors, PodVaultRemoveResponses, ProjectAgentAddData, ProjectAgentAddErrors, ProjectAgentAddResponses, ProjectAgentListData, ProjectAgentListErrors, ProjectAgentListResponses, ProjectAgentRemoveData, ProjectAgentRemoveErrors, ProjectAgentRemoveResponses, ProjectArchiveData, ProjectArchiveErrors, ProjectArchiveResponses, ProjectCreateData, ProjectCreateErrors, ProjectCreateResponses, ProjectFileStoreAddData, ProjectFileStoreAddErrors, ProjectFileStoreAddResponses, ProjectFileStoreListData, ProjectFileStoreListErrors, ProjectFileStoreListResponses, ProjectFileStoreRemoveData, ProjectFileStoreRemoveErrors, ProjectFileStoreRemoveResponses, ProjectGetData, ProjectGetErrors, ProjectGetResponses, ProjectListData, ProjectListErrors, ProjectListResponses, ProjectMemoryStoreAddData, ProjectMemoryStoreAddErrors, ProjectMemoryStoreAddResponses, ProjectMemoryStoreListData, ProjectMemoryStoreListErrors, ProjectMemoryStoreListResponses, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveErrors, ProjectMemoryStoreRemoveResponses, ProjectUpdateData, ProjectUpdateErrors, ProjectUpdateResponses, PublisherClaimOrgData, PublisherClaimOrgErrors, PublisherClaimOrgResponses, PublisherGetData, PublisherGetErrors, PublisherGetResponses, PublisherMeData, PublisherMeErrors, PublisherMeResponses, PublisherUpdateData, PublisherUpdateErrors, PublisherUpdateResponses, RegistryAgentGetData, RegistryAgentGetErrors, RegistryAgentGetResponses, RegistryAgentListData, RegistryAgentListErrors, RegistryAgentListResponses, RegistryBlueprintGetData, RegistryBlueprintGetErrors, RegistryBlueprintGetResponses, RegistryMcpGetData, RegistryMcpGetErrors, RegistryMcpGetResponses, RegistryMcpListData, RegistryMcpListErrors, RegistryMcpListResponses, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadErrors, RegistryReplayFilesPresignDownloadResponses, RegistryReplayGetData, RegistryReplayGetErrors, RegistryReplayGetResponses, RegistryReplaySharedFilesPresignDownloadData, RegistryReplaySharedFilesPresignDownloadErrors, RegistryReplaySharedFilesPresignDownloadResponses, RegistryReplaySharedGetData, RegistryReplaySharedGetErrors, RegistryReplaySharedGetResponses, RegistrySkillGetData, RegistrySkillGetErrors, RegistrySkillGetResponses, RegistrySkillListData, RegistrySkillListErrors, RegistrySkillListResponses, ReplayArchiveData, ReplayArchiveErrors, ReplayArchiveResponses, ReplayCreateData, ReplayCreateErrors, ReplayCreateResponses, ReplayDeprecateData, ReplayDeprecateErrors, ReplayDeprecateResponses, ReplayGetData, ReplayGetErrors, ReplayGetResponses, ReplayListData, ReplayListErrors, ReplayListResponses, ReplayPublishData, ReplayPublishErrors, ReplayPublishResponses, ReplayShareData, ReplayShareErrors, ReplayShareResponses, ReplayUndeprecateData, ReplayUndeprecateErrors, ReplayUndeprecateResponses, ReplayUpdateData, ReplayUpdateErrors, ReplayUpdateResponses, SessionArchiveData, SessionArchiveErrors, SessionArchiveResponses, SessionAuthRequirementsData, SessionAuthRequirementsErrors, SessionAuthRequirementsResponses, SessionCreateData, SessionCreateErrors, SessionCreateResponses, SessionFilesPresignDownloadData, SessionFilesPresignDownloadErrors, SessionFilesPresignDownloadResponses, SessionFilesPresignUploadData, SessionFilesPresignUploadErrors, SessionFilesPresignUploadResponses, SessionGetData, SessionGetErrors, SessionGetResponses, SessionListData, SessionListErrors, SessionListResponses, SessionMessagesListData, SessionMessagesListErrors, SessionMessagesListResponses, SessionUpdateData, SessionUpdateErrors, SessionUpdateResponses, SessionUrlData, SessionUrlErrors, SessionUrlResponses, SkillArchiveData, SkillArchiveErrors, SkillArchiveResponses, SkillCopyData, SkillCopyErrors, SkillCopyResponses, SkillCreateData, SkillCreateErrors, SkillCreateResponses, SkillDeprecateData, SkillDeprecateErrors, SkillDeprecateResponses, SkillGetBySlugData, SkillGetBySlugErrors, SkillGetBySlugResponses, SkillGetData, SkillGetErrors, SkillGetResponses, SkillListData, SkillListErrors, SkillListResponses, SkillPublishData, SkillPublishErrors, SkillPublishResponses, SkillSearchData, SkillSearchErrors, SkillSearchResponses, SkillUndeprecateData, SkillUndeprecateErrors, SkillUndeprecateResponses, SkillUpdateData, SkillUpdateErrors, SkillUpdateResponses, SkillVersionArchiveData, SkillVersionArchiveErrors, SkillVersionArchiveResponses, SkillVersionCreateData, SkillVersionCreateErrors, SkillVersionCreateResponses, SkillVersionDataData, SkillVersionDataErrors, SkillVersionDataResponses, SkillVersionGetData, SkillVersionGetErrors, SkillVersionGetResponses, SkillVersionListData, SkillVersionListErrors, SkillVersionListResponses, SlackInstallationRemoveData, SlackInstallationRemoveErrors, SlackInstallationRemoveResponses, SlackStatusData, SlackStatusErrors, SlackStatusResponses, TriggerArchiveData, TriggerArchiveErrors, TriggerArchiveResponses, TriggerCreateData, TriggerCreateErrors, TriggerCreateResponses, TriggerGetData, TriggerGetErrors, TriggerGetResponses, TriggerListData, TriggerListErrors, TriggerListResponses, TriggerUpdateData, TriggerUpdateErrors, TriggerUpdateResponses, VaultArchiveData, VaultArchiveErrors, VaultArchiveResponses, VaultCreateData, VaultCreateErrors, VaultCreateResponses, VaultDeleteData, VaultDeleteErrors, VaultDeleteResponses, VaultGetData, VaultGetErrors, VaultGetResponses, VaultListData, VaultListErrors, VaultListResponses, VaultUpdateData, VaultUpdateErrors, VaultUpdateResponses, WebhookTriggerArchiveData, WebhookTriggerArchiveErrors, WebhookTriggerArchiveResponses, WebhookTriggerCreateData, WebhookTriggerCreateErrors, WebhookTriggerCreateResponses, WebhookTriggerGetData, WebhookTriggerGetErrors, WebhookTriggerGetResponses, WebhookTriggerListData, WebhookTriggerListErrors, WebhookTriggerListResponses, WebhookTriggerUpdateData, WebhookTriggerUpdateErrors, WebhookTriggerUpdateResponses } from "./types.gen";
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -624,6 +624,10 @@ export declare class Session extends HeyApiClient {
|
|
|
624
624
|
* Update a session
|
|
625
625
|
*/
|
|
626
626
|
update<ThrowOnError extends boolean = false>(options: Options<SessionUpdateData, ThrowOnError>): import("./client").RequestResult<SessionUpdateResponses, SessionUpdateErrors, ThrowOnError, "fields">;
|
|
627
|
+
/**
|
|
628
|
+
* Get the OpenCode URL for a session
|
|
629
|
+
*/
|
|
630
|
+
url<ThrowOnError extends boolean = false>(options: Options<SessionUrlData, ThrowOnError>): import("./client").RequestResult<SessionUrlResponses, SessionUrlErrors, ThrowOnError, "fields">;
|
|
627
631
|
/**
|
|
628
632
|
* Compute MCP and skill credential requirements for a session
|
|
629
633
|
*/
|
|
@@ -859,25 +863,41 @@ export declare class Mcp2 extends HeyApiClient {
|
|
|
859
863
|
*/
|
|
860
864
|
get<ThrowOnError extends boolean = false>(options: Options<RegistryMcpGetData, ThrowOnError>): import("./client").RequestResult<RegistryMcpGetResponses, RegistryMcpGetErrors, ThrowOnError, "fields">;
|
|
861
865
|
}
|
|
866
|
+
export declare class Blueprint2 extends HeyApiClient {
|
|
867
|
+
/**
|
|
868
|
+
* Get a registry blueprint by slug
|
|
869
|
+
*/
|
|
870
|
+
get<ThrowOnError extends boolean = false>(options: Options<RegistryBlueprintGetData, ThrowOnError>): import("./client").RequestResult<RegistryBlueprintGetResponses, RegistryBlueprintGetErrors, ThrowOnError, "fields">;
|
|
871
|
+
}
|
|
862
872
|
export declare class Files4 extends HeyApiClient {
|
|
863
873
|
/**
|
|
864
874
|
* Presign a download URL for a public replay's pod-volume file
|
|
865
875
|
*/
|
|
866
876
|
presignDownload<ThrowOnError extends boolean = false>(options: Options<RegistryReplayFilesPresignDownloadData, ThrowOnError>): import("./client").RequestResult<RegistryReplayFilesPresignDownloadResponses, RegistryReplayFilesPresignDownloadErrors, ThrowOnError, "fields">;
|
|
867
877
|
}
|
|
868
|
-
export declare class
|
|
878
|
+
export declare class Files5 extends HeyApiClient {
|
|
869
879
|
/**
|
|
870
|
-
*
|
|
880
|
+
* Presign a download URL for a shared replay's pod-volume file
|
|
871
881
|
*/
|
|
872
|
-
|
|
882
|
+
presignDownload<ThrowOnError extends boolean = false>(options: Options<RegistryReplaySharedFilesPresignDownloadData, ThrowOnError>): import("./client").RequestResult<RegistryReplaySharedFilesPresignDownloadResponses, RegistryReplaySharedFilesPresignDownloadErrors, ThrowOnError, "fields">;
|
|
883
|
+
}
|
|
884
|
+
export declare class Shared extends HeyApiClient {
|
|
885
|
+
/**
|
|
886
|
+
* Get a shared replay by its share token
|
|
887
|
+
*/
|
|
888
|
+
get<ThrowOnError extends boolean = false>(options: Options<RegistryReplaySharedGetData, ThrowOnError>): import("./client").RequestResult<RegistryReplaySharedGetResponses, RegistryReplaySharedGetErrors, ThrowOnError, "fields">;
|
|
873
889
|
private _files?;
|
|
874
|
-
get files():
|
|
890
|
+
get files(): Files5;
|
|
875
891
|
}
|
|
876
|
-
export declare class
|
|
892
|
+
export declare class Replay2 extends HeyApiClient {
|
|
877
893
|
/**
|
|
878
|
-
* Get a
|
|
894
|
+
* Get a registry replay by slug
|
|
879
895
|
*/
|
|
880
|
-
get<ThrowOnError extends boolean = false>(options: Options<
|
|
896
|
+
get<ThrowOnError extends boolean = false>(options: Options<RegistryReplayGetData, ThrowOnError>): import("./client").RequestResult<RegistryReplayGetResponses, RegistryReplayGetErrors, ThrowOnError, "fields">;
|
|
897
|
+
private _files?;
|
|
898
|
+
get files(): Files4;
|
|
899
|
+
private _shared?;
|
|
900
|
+
get shared(): Shared;
|
|
881
901
|
}
|
|
882
902
|
export declare class Registry extends HeyApiClient {
|
|
883
903
|
private _agent?;
|
|
@@ -886,10 +906,10 @@ export declare class Registry extends HeyApiClient {
|
|
|
886
906
|
get skill(): Skill2;
|
|
887
907
|
private _mcp?;
|
|
888
908
|
get mcp(): Mcp2;
|
|
889
|
-
private _replay?;
|
|
890
|
-
get replay(): Replay2;
|
|
891
909
|
private _blueprint?;
|
|
892
910
|
get blueprint(): Blueprint2;
|
|
911
|
+
private _replay?;
|
|
912
|
+
get replay(): Replay2;
|
|
893
913
|
}
|
|
894
914
|
export declare class RenClient extends HeyApiClient {
|
|
895
915
|
static readonly __registry: HeyApiRegistry<RenClient>;
|
|
@@ -1410,6 +1410,15 @@ export class Session extends HeyApiClient {
|
|
|
1410
1410
|
},
|
|
1411
1411
|
});
|
|
1412
1412
|
}
|
|
1413
|
+
/**
|
|
1414
|
+
* Get the OpenCode URL for a session
|
|
1415
|
+
*/
|
|
1416
|
+
url(options) {
|
|
1417
|
+
return (options.client ?? this.client).get({
|
|
1418
|
+
url: "/api/sessions/{id}/url",
|
|
1419
|
+
...options,
|
|
1420
|
+
});
|
|
1421
|
+
}
|
|
1413
1422
|
/**
|
|
1414
1423
|
* Compute MCP and skill credential requirements for a session
|
|
1415
1424
|
*/
|
|
@@ -1966,6 +1975,14 @@ export class Mcp2 extends HeyApiClient {
|
|
|
1966
1975
|
});
|
|
1967
1976
|
}
|
|
1968
1977
|
}
|
|
1978
|
+
export class Blueprint2 extends HeyApiClient {
|
|
1979
|
+
/**
|
|
1980
|
+
* Get a registry blueprint by slug
|
|
1981
|
+
*/
|
|
1982
|
+
get(options) {
|
|
1983
|
+
return (options.client ?? this.client).get({ url: "/api/registry/blueprints/{slug}", ...options });
|
|
1984
|
+
}
|
|
1985
|
+
}
|
|
1969
1986
|
export class Files4 extends HeyApiClient {
|
|
1970
1987
|
/**
|
|
1971
1988
|
* Presign a download URL for a public replay's pod-volume file
|
|
@@ -1981,9 +1998,36 @@ export class Files4 extends HeyApiClient {
|
|
|
1981
1998
|
});
|
|
1982
1999
|
}
|
|
1983
2000
|
}
|
|
2001
|
+
export class Files5 extends HeyApiClient {
|
|
2002
|
+
/**
|
|
2003
|
+
* Presign a download URL for a shared replay's pod-volume file
|
|
2004
|
+
*/
|
|
2005
|
+
presignDownload(options) {
|
|
2006
|
+
return (options.client ?? this.client).post({
|
|
2007
|
+
url: "/api/registry/replays/share/{token}/files/presign-download",
|
|
2008
|
+
...options,
|
|
2009
|
+
headers: {
|
|
2010
|
+
"Content-Type": "application/json",
|
|
2011
|
+
...options.headers,
|
|
2012
|
+
},
|
|
2013
|
+
});
|
|
2014
|
+
}
|
|
2015
|
+
}
|
|
2016
|
+
export class Shared extends HeyApiClient {
|
|
2017
|
+
/**
|
|
2018
|
+
* Get a shared replay by its share token
|
|
2019
|
+
*/
|
|
2020
|
+
get(options) {
|
|
2021
|
+
return (options.client ?? this.client).get({ url: "/api/registry/replays/share/{token}", ...options });
|
|
2022
|
+
}
|
|
2023
|
+
_files;
|
|
2024
|
+
get files() {
|
|
2025
|
+
return (this._files ??= new Files5({ client: this.client }));
|
|
2026
|
+
}
|
|
2027
|
+
}
|
|
1984
2028
|
export class Replay2 extends HeyApiClient {
|
|
1985
2029
|
/**
|
|
1986
|
-
* Get a
|
|
2030
|
+
* Get a registry replay by slug
|
|
1987
2031
|
*/
|
|
1988
2032
|
get(options) {
|
|
1989
2033
|
return (options.client ?? this.client).get({
|
|
@@ -1995,13 +2039,9 @@ export class Replay2 extends HeyApiClient {
|
|
|
1995
2039
|
get files() {
|
|
1996
2040
|
return (this._files ??= new Files4({ client: this.client }));
|
|
1997
2041
|
}
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
* Get a public blueprint by slug
|
|
2002
|
-
*/
|
|
2003
|
-
get(options) {
|
|
2004
|
-
return (options.client ?? this.client).get({ url: "/api/registry/blueprints/{slug}", ...options });
|
|
2042
|
+
_shared;
|
|
2043
|
+
get shared() {
|
|
2044
|
+
return (this._shared ??= new Shared({ client: this.client }));
|
|
2005
2045
|
}
|
|
2006
2046
|
}
|
|
2007
2047
|
export class Registry extends HeyApiClient {
|
|
@@ -2017,14 +2057,14 @@ export class Registry extends HeyApiClient {
|
|
|
2017
2057
|
get mcp() {
|
|
2018
2058
|
return (this._mcp ??= new Mcp2({ client: this.client }));
|
|
2019
2059
|
}
|
|
2020
|
-
_replay;
|
|
2021
|
-
get replay() {
|
|
2022
|
-
return (this._replay ??= new Replay2({ client: this.client }));
|
|
2023
|
-
}
|
|
2024
2060
|
_blueprint;
|
|
2025
2061
|
get blueprint() {
|
|
2026
2062
|
return (this._blueprint ??= new Blueprint2({ client: this.client }));
|
|
2027
2063
|
}
|
|
2064
|
+
_replay;
|
|
2065
|
+
get replay() {
|
|
2066
|
+
return (this._replay ??= new Replay2({ client: this.client }));
|
|
2067
|
+
}
|
|
2028
2068
|
}
|
|
2029
2069
|
export class RenClient extends HeyApiClient {
|
|
2030
2070
|
static __registry = new HeyApiRegistry();
|
|
@@ -68,6 +68,40 @@ export type PermissionConfig = {
|
|
|
68
68
|
[key: string]: "allow" | "deny" | "ask";
|
|
69
69
|
} | undefined;
|
|
70
70
|
} | "allow" | "deny" | "ask";
|
|
71
|
+
export type ReplayPresignDownloadResponse = {
|
|
72
|
+
url: string;
|
|
73
|
+
expiresAt: string;
|
|
74
|
+
};
|
|
75
|
+
export type ReplayPublicView = {
|
|
76
|
+
id: string;
|
|
77
|
+
slug: string;
|
|
78
|
+
createdAt: string;
|
|
79
|
+
websiteMetadata: WebsiteMetadata | null;
|
|
80
|
+
session: ReplayPublicSession;
|
|
81
|
+
messages: Array<ReplayMessage>;
|
|
82
|
+
};
|
|
83
|
+
export type ReplayMessage = {
|
|
84
|
+
info: {
|
|
85
|
+
[key: string]: unknown;
|
|
86
|
+
};
|
|
87
|
+
parts: Array<{
|
|
88
|
+
[key: string]: unknown;
|
|
89
|
+
}>;
|
|
90
|
+
};
|
|
91
|
+
export type ReplayPublicSession = {
|
|
92
|
+
id: string;
|
|
93
|
+
title: string;
|
|
94
|
+
createdAt: string;
|
|
95
|
+
};
|
|
96
|
+
export type WebsiteMetadata = {
|
|
97
|
+
title?: string;
|
|
98
|
+
description?: string;
|
|
99
|
+
longDescription?: string;
|
|
100
|
+
image?: string;
|
|
101
|
+
favicon?: string;
|
|
102
|
+
supportUrl?: string;
|
|
103
|
+
privacyPolicyUrl?: string;
|
|
104
|
+
};
|
|
71
105
|
export type BlueprintPublicView = {
|
|
72
106
|
id: string;
|
|
73
107
|
slug: string;
|
|
@@ -116,38 +150,34 @@ export type BlueprintTemplate = {
|
|
|
116
150
|
mcps: Array<BlueprintMcpRef>;
|
|
117
151
|
replays: Array<BlueprintReplayRef>;
|
|
118
152
|
};
|
|
119
|
-
export type
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
longDescription?: string;
|
|
123
|
-
image?: string;
|
|
124
|
-
favicon?: string;
|
|
125
|
-
supportUrl?: string;
|
|
126
|
-
privacyPolicyUrl?: string;
|
|
127
|
-
};
|
|
128
|
-
export type ReplayPresignDownloadResponse = {
|
|
129
|
-
url: string;
|
|
130
|
-
expiresAt: string;
|
|
153
|
+
export type Repository = {
|
|
154
|
+
url?: string;
|
|
155
|
+
source?: string;
|
|
131
156
|
};
|
|
132
|
-
export type
|
|
157
|
+
export type AgentLatestVersion = {
|
|
133
158
|
id: string;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
159
|
+
agentId: string;
|
|
160
|
+
version: string;
|
|
161
|
+
description: string | null;
|
|
162
|
+
skills: Array<{
|
|
163
|
+
skillId: string;
|
|
164
|
+
skillVersionId?: string | null;
|
|
165
|
+
skill: {
|
|
166
|
+
id: string;
|
|
167
|
+
slug: string;
|
|
168
|
+
name: string;
|
|
169
|
+
icon: string | null;
|
|
170
|
+
};
|
|
171
|
+
}>;
|
|
172
|
+
mcps: Array<{
|
|
173
|
+
mcpId: string;
|
|
174
|
+
mcp: {
|
|
175
|
+
id: string;
|
|
176
|
+
slug: string;
|
|
177
|
+
name: string;
|
|
178
|
+
icon: string | null;
|
|
179
|
+
};
|
|
145
180
|
}>;
|
|
146
|
-
};
|
|
147
|
-
export type ReplayPublicSession = {
|
|
148
|
-
id: string;
|
|
149
|
-
title: string;
|
|
150
|
-
createdAt: string;
|
|
151
181
|
};
|
|
152
182
|
export type OAuthStartInput = {
|
|
153
183
|
mcpId: string;
|
|
@@ -322,10 +352,6 @@ export type Skill = {
|
|
|
322
352
|
deprecationMessage: string | null;
|
|
323
353
|
tags?: Array<string>;
|
|
324
354
|
};
|
|
325
|
-
export type Repository = {
|
|
326
|
-
url?: string;
|
|
327
|
-
source?: string;
|
|
328
|
-
};
|
|
329
355
|
export type SessionVolumeRef = {
|
|
330
356
|
kind: "outputs" | "uploads";
|
|
331
357
|
filename: string;
|
|
@@ -389,6 +415,9 @@ export type SessionMessagesPage = {
|
|
|
389
415
|
pageSize: number;
|
|
390
416
|
total: number;
|
|
391
417
|
};
|
|
418
|
+
export type SessionUrlResponse = {
|
|
419
|
+
url: string;
|
|
420
|
+
};
|
|
392
421
|
export type OpencodeSession = {
|
|
393
422
|
id: string;
|
|
394
423
|
createdById: string;
|
|
@@ -439,6 +468,7 @@ export type Replay = {
|
|
|
439
468
|
sessionId: string;
|
|
440
469
|
publisherId: string | null;
|
|
441
470
|
slug: string;
|
|
471
|
+
shareToken: string | null;
|
|
442
472
|
websiteMetadata: WebsiteMetadata | null;
|
|
443
473
|
createdAt: string;
|
|
444
474
|
updatedAt: string;
|
|
@@ -894,32 +924,9 @@ export type Agent = {
|
|
|
894
924
|
archivedAt: string | null;
|
|
895
925
|
deprecatedAt: string | null;
|
|
896
926
|
deprecationMessage: string | null;
|
|
927
|
+
tags?: Array<string>;
|
|
897
928
|
latestVersion?: AgentLatestVersion | null;
|
|
898
929
|
};
|
|
899
|
-
export type AgentLatestVersion = {
|
|
900
|
-
id: string;
|
|
901
|
-
agentId: string;
|
|
902
|
-
version: string;
|
|
903
|
-
skills: Array<{
|
|
904
|
-
skillId: string;
|
|
905
|
-
skillVersionId?: string | null;
|
|
906
|
-
skill: {
|
|
907
|
-
id: string;
|
|
908
|
-
slug: string;
|
|
909
|
-
name: string;
|
|
910
|
-
icon: string | null;
|
|
911
|
-
};
|
|
912
|
-
}>;
|
|
913
|
-
mcps: Array<{
|
|
914
|
-
mcpId: string;
|
|
915
|
-
mcp: {
|
|
916
|
-
id: string;
|
|
917
|
-
slug: string;
|
|
918
|
-
name: string;
|
|
919
|
-
icon: string | null;
|
|
920
|
-
};
|
|
921
|
-
}>;
|
|
922
|
-
};
|
|
923
930
|
/**
|
|
924
931
|
* Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
|
|
925
932
|
*/
|
|
@@ -964,6 +971,19 @@ export type AgentCreateData = {
|
|
|
964
971
|
name: string;
|
|
965
972
|
icon?: string | null;
|
|
966
973
|
tags?: Array<string>;
|
|
974
|
+
version?: string | "major" | "minor" | "patch";
|
|
975
|
+
description?: string;
|
|
976
|
+
prompt?: string;
|
|
977
|
+
model?: string | null;
|
|
978
|
+
permission?: PermissionConfig;
|
|
979
|
+
skills?: Array<{
|
|
980
|
+
skillId: string;
|
|
981
|
+
skillVersionId?: string | null;
|
|
982
|
+
}>;
|
|
983
|
+
mcps?: Array<{
|
|
984
|
+
mcpId: string;
|
|
985
|
+
}>;
|
|
986
|
+
releaseNotes?: string;
|
|
967
987
|
};
|
|
968
988
|
path?: never;
|
|
969
989
|
query?: {
|
|
@@ -5735,6 +5755,7 @@ export type ReplayCreateData = {
|
|
|
5735
5755
|
sessionId: string;
|
|
5736
5756
|
publisherId?: string | null;
|
|
5737
5757
|
websiteMetadata?: WebsiteMetadata | null;
|
|
5758
|
+
shareToken?: string | null;
|
|
5738
5759
|
};
|
|
5739
5760
|
path?: never;
|
|
5740
5761
|
query?: {
|
|
@@ -6261,6 +6282,47 @@ export type SessionUpdateResponses = {
|
|
|
6261
6282
|
200: OpencodeSession;
|
|
6262
6283
|
};
|
|
6263
6284
|
export type SessionUpdateResponse = SessionUpdateResponses[keyof SessionUpdateResponses];
|
|
6285
|
+
export type SessionUrlData = {
|
|
6286
|
+
body?: never;
|
|
6287
|
+
path: {
|
|
6288
|
+
id: string;
|
|
6289
|
+
};
|
|
6290
|
+
query?: {
|
|
6291
|
+
/**
|
|
6292
|
+
* Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
|
|
6293
|
+
*/
|
|
6294
|
+
scope?: "user";
|
|
6295
|
+
};
|
|
6296
|
+
url: "/api/sessions/{id}/url";
|
|
6297
|
+
};
|
|
6298
|
+
export type SessionUrlErrors = {
|
|
6299
|
+
/**
|
|
6300
|
+
* Unauthorized
|
|
6301
|
+
*/
|
|
6302
|
+
401: {
|
|
6303
|
+
error: string;
|
|
6304
|
+
};
|
|
6305
|
+
/**
|
|
6306
|
+
* Forbidden
|
|
6307
|
+
*/
|
|
6308
|
+
403: {
|
|
6309
|
+
error: string;
|
|
6310
|
+
};
|
|
6311
|
+
/**
|
|
6312
|
+
* Not found
|
|
6313
|
+
*/
|
|
6314
|
+
404: {
|
|
6315
|
+
error: string;
|
|
6316
|
+
};
|
|
6317
|
+
};
|
|
6318
|
+
export type SessionUrlError = SessionUrlErrors[keyof SessionUrlErrors];
|
|
6319
|
+
export type SessionUrlResponses = {
|
|
6320
|
+
/**
|
|
6321
|
+
* OpenCode URL
|
|
6322
|
+
*/
|
|
6323
|
+
200: SessionUrlResponse;
|
|
6324
|
+
};
|
|
6325
|
+
export type SessionUrlResponse2 = SessionUrlResponses[keyof SessionUrlResponses];
|
|
6264
6326
|
export type SessionMessagesListData = {
|
|
6265
6327
|
body?: never;
|
|
6266
6328
|
path: {
|
|
@@ -7072,6 +7134,12 @@ export type SkillVersionCreateErrors = {
|
|
|
7072
7134
|
404: {
|
|
7073
7135
|
error: string;
|
|
7074
7136
|
};
|
|
7137
|
+
/**
|
|
7138
|
+
* Conflict
|
|
7139
|
+
*/
|
|
7140
|
+
409: {
|
|
7141
|
+
error: string;
|
|
7142
|
+
};
|
|
7075
7143
|
};
|
|
7076
7144
|
export type SkillVersionCreateError = SkillVersionCreateErrors[keyof SkillVersionCreateErrors];
|
|
7077
7145
|
export type SkillVersionCreateResponses = {
|
|
@@ -8530,6 +8598,33 @@ export type RegistryMcpGetResponses = {
|
|
|
8530
8598
|
200: Mcp;
|
|
8531
8599
|
};
|
|
8532
8600
|
export type RegistryMcpGetResponse = RegistryMcpGetResponses[keyof RegistryMcpGetResponses];
|
|
8601
|
+
export type RegistryBlueprintGetData = {
|
|
8602
|
+
body?: never;
|
|
8603
|
+
path: {
|
|
8604
|
+
/**
|
|
8605
|
+
* URL-friendly identifier
|
|
8606
|
+
*/
|
|
8607
|
+
slug: string;
|
|
8608
|
+
};
|
|
8609
|
+
query?: never;
|
|
8610
|
+
url: "/api/registry/blueprints/{slug}";
|
|
8611
|
+
};
|
|
8612
|
+
export type RegistryBlueprintGetErrors = {
|
|
8613
|
+
/**
|
|
8614
|
+
* Not found
|
|
8615
|
+
*/
|
|
8616
|
+
404: {
|
|
8617
|
+
error: string;
|
|
8618
|
+
};
|
|
8619
|
+
};
|
|
8620
|
+
export type RegistryBlueprintGetError = RegistryBlueprintGetErrors[keyof RegistryBlueprintGetErrors];
|
|
8621
|
+
export type RegistryBlueprintGetResponses = {
|
|
8622
|
+
/**
|
|
8623
|
+
* Public blueprint view
|
|
8624
|
+
*/
|
|
8625
|
+
200: BlueprintPublicView;
|
|
8626
|
+
};
|
|
8627
|
+
export type RegistryBlueprintGetResponse = RegistryBlueprintGetResponses[keyof RegistryBlueprintGetResponses];
|
|
8533
8628
|
export type RegistryReplayGetData = {
|
|
8534
8629
|
body?: never;
|
|
8535
8630
|
path: {
|
|
@@ -8593,18 +8688,15 @@ export type RegistryReplayFilesPresignDownloadResponses = {
|
|
|
8593
8688
|
200: ReplayPresignDownloadResponse;
|
|
8594
8689
|
};
|
|
8595
8690
|
export type RegistryReplayFilesPresignDownloadResponse = RegistryReplayFilesPresignDownloadResponses[keyof RegistryReplayFilesPresignDownloadResponses];
|
|
8596
|
-
export type
|
|
8691
|
+
export type RegistryReplaySharedGetData = {
|
|
8597
8692
|
body?: never;
|
|
8598
8693
|
path: {
|
|
8599
|
-
|
|
8600
|
-
* URL-friendly identifier
|
|
8601
|
-
*/
|
|
8602
|
-
slug: string;
|
|
8694
|
+
token: string;
|
|
8603
8695
|
};
|
|
8604
8696
|
query?: never;
|
|
8605
|
-
url: "/api/registry/
|
|
8697
|
+
url: "/api/registry/replays/share/{token}";
|
|
8606
8698
|
};
|
|
8607
|
-
export type
|
|
8699
|
+
export type RegistryReplaySharedGetErrors = {
|
|
8608
8700
|
/**
|
|
8609
8701
|
* Not found
|
|
8610
8702
|
*/
|
|
@@ -8612,11 +8704,44 @@ export type RegistryBlueprintGetErrors = {
|
|
|
8612
8704
|
error: string;
|
|
8613
8705
|
};
|
|
8614
8706
|
};
|
|
8615
|
-
export type
|
|
8616
|
-
export type
|
|
8707
|
+
export type RegistryReplaySharedGetError = RegistryReplaySharedGetErrors[keyof RegistryReplaySharedGetErrors];
|
|
8708
|
+
export type RegistryReplaySharedGetResponses = {
|
|
8617
8709
|
/**
|
|
8618
|
-
* Public
|
|
8710
|
+
* Public replay view
|
|
8619
8711
|
*/
|
|
8620
|
-
200:
|
|
8712
|
+
200: ReplayPublicView;
|
|
8621
8713
|
};
|
|
8622
|
-
export type
|
|
8714
|
+
export type RegistryReplaySharedGetResponse = RegistryReplaySharedGetResponses[keyof RegistryReplaySharedGetResponses];
|
|
8715
|
+
export type RegistryReplaySharedFilesPresignDownloadData = {
|
|
8716
|
+
body?: {
|
|
8717
|
+
kind: "outputs" | "uploads";
|
|
8718
|
+
filename: string;
|
|
8719
|
+
};
|
|
8720
|
+
path: {
|
|
8721
|
+
token: string;
|
|
8722
|
+
};
|
|
8723
|
+
query?: never;
|
|
8724
|
+
url: "/api/registry/replays/share/{token}/files/presign-download";
|
|
8725
|
+
};
|
|
8726
|
+
export type RegistryReplaySharedFilesPresignDownloadErrors = {
|
|
8727
|
+
/**
|
|
8728
|
+
* Bad request
|
|
8729
|
+
*/
|
|
8730
|
+
400: {
|
|
8731
|
+
error: string;
|
|
8732
|
+
};
|
|
8733
|
+
/**
|
|
8734
|
+
* Not found
|
|
8735
|
+
*/
|
|
8736
|
+
404: {
|
|
8737
|
+
error: string;
|
|
8738
|
+
};
|
|
8739
|
+
};
|
|
8740
|
+
export type RegistryReplaySharedFilesPresignDownloadError = RegistryReplaySharedFilesPresignDownloadErrors[keyof RegistryReplaySharedFilesPresignDownloadErrors];
|
|
8741
|
+
export type RegistryReplaySharedFilesPresignDownloadResponses = {
|
|
8742
|
+
/**
|
|
8743
|
+
* Presigned download URL
|
|
8744
|
+
*/
|
|
8745
|
+
200: ReplayPresignDownloadResponse;
|
|
8746
|
+
};
|
|
8747
|
+
export type RegistryReplaySharedFilesPresignDownloadResponse = RegistryReplaySharedFilesPresignDownloadResponses[keyof RegistryReplaySharedFilesPresignDownloadResponses];
|