@renai-labs/sdk 0.1.3 → 0.1.5

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.
@@ -1,6 +1,6 @@
1
1
  import { type InfiniteData, type UseMutationOptions } from "@tanstack/react-query";
2
2
  import { type Options } from "../sdk.gen";
3
- import type { AgentArchiveData, AgentArchiveError, AgentArchiveResponse, AgentCreateData, AgentCreateError, AgentCreateResponse, AgentDeprecateData, AgentDeprecateError, AgentDeprecateResponse, AgentGetBySlugData, AgentGetBySlugError, AgentGetData, AgentGetError, AgentListData, AgentListError, AgentPublishData, AgentPublishError, AgentPublishResponse, AgentSearchData, AgentSearchError, AgentSearchResponse, AgentUndeprecateData, AgentUndeprecateError, AgentUndeprecateResponse, AgentUpdateData, AgentUpdateError, AgentUpdateResponse, AgentVersionArchiveData, AgentVersionArchiveError, AgentVersionArchiveResponse, AgentVersionCreateData, AgentVersionCreateError, AgentVersionCreateResponse, AgentVersionGetData, AgentVersionGetError, AgentVersionListData, AgentVersionListError, BillingDailyUsageData, BillingDailyUsageError, BillingGetData, BillingGetError, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlError, BillingInvoicesData, BillingInvoicesError, BillingUpdatePlanData, BillingUpdatePlanError, BillingUpdatePlanResponse, BlueprintArchiveData, BlueprintArchiveError, BlueprintArchiveResponse, BlueprintCreateData, BlueprintCreateError, BlueprintCreateResponse, BlueprintDeprecateData, BlueprintDeprecateError, BlueprintDeprecateResponse, BlueprintGetData, BlueprintGetError, BlueprintInstallData, BlueprintInstallError, BlueprintInstallResponse, BlueprintListData, BlueprintListError, BlueprintPublishData, BlueprintPublishError, BlueprintPublishResponse, BlueprintUndeprecateData, BlueprintUndeprecateError, BlueprintUndeprecateResponse, BlueprintUpdateData, BlueprintUpdateError, BlueprintUpdateResponse, CredentialArchiveData, CredentialArchiveError, CredentialArchiveResponse, CredentialCreateData, CredentialCreateError, CredentialCreateResponse, CredentialDeleteData, CredentialDeleteError, CredentialDeleteResponse, CredentialGetData, CredentialGetError, CredentialListData, CredentialListError, CredentialOauthSessionData, CredentialOauthSessionError, CredentialOauthStartData, CredentialOauthStartError, CredentialOauthStartResponse, CredentialUpdateData, CredentialUpdateError, CredentialUpdateResponse, DashboardGetData, DashboardGetError, EnvironmentArchiveData, EnvironmentArchiveError, EnvironmentArchiveResponse, EnvironmentCreateData, EnvironmentCreateError, EnvironmentCreateResponse, EnvironmentDeleteData, EnvironmentDeleteError, EnvironmentDeleteResponse, EnvironmentGetData, EnvironmentGetError, EnvironmentListData, EnvironmentListError, EnvironmentUpdateData, EnvironmentUpdateError, EnvironmentUpdateResponse, FileStoreArchiveData, FileStoreArchiveError, FileStoreArchiveResponse, FileStoreCreateData, FileStoreCreateError, FileStoreCreateResponse, FileStoreFilesDeleteData, FileStoreFilesDeleteError, FileStoreFilesDeleteResponse, FileStoreFilesFinalizeUploadData, FileStoreFilesFinalizeUploadError, FileStoreFilesFinalizeUploadResponse, FileStoreFilesListData, FileStoreFilesListError, FileStoreFilesPresignDownloadData, FileStoreFilesPresignDownloadError, FileStoreFilesStartUploadData, FileStoreFilesStartUploadError, FileStoreFilesStartUploadResponse, FileStoreGetData, FileStoreGetError, FileStoreListData, FileStoreListError, FileStoreUpdateData, FileStoreUpdateError, FileStoreUpdateResponse, GithubInstallationListData, GithubInstallationListError, GithubInstallationRefreshData, GithubInstallationRefreshError, GithubInstallationRefreshResponse, GithubInstallationRemoveData, GithubInstallationRemoveError, GithubInstallationRemoveResponse, GithubInstallationReposListData, GithubInstallationReposListError, GithubStatusData, GithubStatusError, McpArchiveData, McpArchiveError, McpArchiveResponse, McpCreateData, McpCreateError, McpCreateResponse, McpDeprecateData, McpDeprecateError, McpDeprecateResponse, McpGetBySlugData, McpGetBySlugError, McpGetData, McpGetError, McpListData, McpListError, McpOauthConnectData, McpOauthConnectError, McpOauthConnectResponse, McpOauthSessionData, McpOauthSessionError, McpPublishData, McpPublishError, McpPublishResponse, McpSearchData, McpSearchError, McpSearchResponse, McpUndeprecateData, McpUndeprecateError, McpUndeprecateResponse, McpUpdateData, McpUpdateError, McpUpdateResponse, MeGetData, MeGetError, MemoryStoreArchiveData, MemoryStoreArchiveError, MemoryStoreArchiveResponse, MemoryStoreCreateData, MemoryStoreCreateError, MemoryStoreCreateResponse, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteError, MemoryStoreFilesDeleteResponse, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadError, MemoryStoreFilesFinalizeUploadResponse, MemoryStoreFilesListData, MemoryStoreFilesListError, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadError, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadError, MemoryStoreFilesStartUploadResponse, MemoryStoreGetData, MemoryStoreGetError, MemoryStoreListData, MemoryStoreListError, MemoryStoreUpdateData, MemoryStoreUpdateError, MemoryStoreUpdateResponse, ModelListData, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgError, OnboardingSetupPersonalOrgResponse, OnboardingStartData, OnboardingStartError, OnboardingStartResponse, PatCreateData, PatCreateError, PatCreateResponse, PatListData, PatListError, PatRevokeData, PatRevokeError, PatRevokeResponse, PodArchiveData, PodArchiveError, PodArchiveResponse, PodCreateData, PodCreateError, PodCreateResponse, PodGetData, PodGetError, PodListData, PodListError, PodMemberAddData, PodMemberAddError, PodMemberAddResponse, PodMemberListData, PodMemberListError, PodMemberRemoveData, PodMemberRemoveError, PodMemberRemoveResponse, PodSandboxProvisionData, PodSandboxProvisionError, PodSandboxProvisionResponse2, PodSandboxStatusData, PodSandboxStatusError, PodUpdateData, PodUpdateError, PodUpdateResponse, PodVaultAddData, PodVaultAddError, PodVaultAddResponse, PodVaultListData, PodVaultListError, PodVaultRemoveData, PodVaultRemoveError, PodVaultRemoveResponse, ProjectAgentAddData, ProjectAgentAddError, ProjectAgentAddResponse, ProjectAgentListData, ProjectAgentListError, ProjectAgentRemoveData, ProjectAgentRemoveError, ProjectAgentRemoveResponse, ProjectArchiveData, ProjectArchiveError, ProjectArchiveResponse, ProjectCreateData, ProjectCreateError, ProjectCreateResponse, ProjectFileStoreAddData, ProjectFileStoreAddError, ProjectFileStoreAddResponse, ProjectFileStoreListData, ProjectFileStoreListError, ProjectFileStoreRemoveData, ProjectFileStoreRemoveError, ProjectFileStoreRemoveResponse, ProjectGetData, ProjectGetError, ProjectListData, ProjectListError, ProjectMemoryStoreAddData, ProjectMemoryStoreAddError, ProjectMemoryStoreAddResponse, ProjectMemoryStoreListData, ProjectMemoryStoreListError, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveError, ProjectMemoryStoreRemoveResponse, ProjectUpdateData, ProjectUpdateError, ProjectUpdateResponse, PublisherClaimOrgData, PublisherClaimOrgError, PublisherClaimOrgResponse, PublisherGetData, PublisherGetError, PublisherMeData, PublisherMeError, PublisherUpdateData, PublisherUpdateError, PublisherUpdateResponse, RegistryAgentGetData, RegistryAgentListData, RegistryBlueprintGetData, RegistryMcpGetData, RegistryMcpListData, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadError, RegistryReplayFilesPresignDownloadResponse, RegistryReplayGetData, RegistryReplaySharedFilesPresignDownloadData, RegistryReplaySharedFilesPresignDownloadError, RegistryReplaySharedFilesPresignDownloadResponse, RegistryReplaySharedGetData, RegistrySkillGetData, RegistrySkillListData, ReplayArchiveData, ReplayArchiveError, ReplayArchiveResponse, ReplayCreateData, ReplayCreateError, ReplayCreateResponse, ReplayDeprecateData, ReplayDeprecateError, ReplayDeprecateResponse, ReplayGetData, ReplayGetError, ReplayListData, ReplayListError, ReplayPublishData, ReplayPublishError, ReplayPublishResponse, ReplayShareData, ReplayShareError, ReplayShareResponse, ReplayUndeprecateData, ReplayUndeprecateError, ReplayUndeprecateResponse, ReplayUpdateData, ReplayUpdateError, ReplayUpdateResponse, SessionArchiveData, SessionArchiveError, SessionArchiveResponse, SessionAuthRequirementsData, SessionAuthRequirementsError, SessionCreateData, SessionCreateError, SessionCreateResponse, SessionFilesPresignDownloadData, SessionFilesPresignDownloadError, SessionFilesPresignDownloadResponse2, SessionFilesPresignUploadData, SessionFilesPresignUploadError, SessionFilesPresignUploadResponse2, SessionGetData, SessionGetError, SessionListData, SessionListError, SessionMessagesListData, SessionMessagesListError, SessionUpdateData, SessionUpdateError, SessionUpdateResponse, SkillArchiveData, SkillArchiveError, SkillArchiveResponse, SkillCopyData, SkillCopyError, SkillCopyResponse, SkillCreateData, SkillCreateError, SkillCreateResponse, SkillDeprecateData, SkillDeprecateError, SkillDeprecateResponse, SkillGetBySlugData, SkillGetBySlugError, SkillGetData, SkillGetError, SkillListData, SkillListError, SkillPublishData, SkillPublishError, SkillPublishResponse, SkillSearchData, SkillSearchError, SkillSearchResponse, SkillUndeprecateData, SkillUndeprecateError, SkillUndeprecateResponse, SkillUpdateData, SkillUpdateError, SkillUpdateResponse, SkillVersionArchiveData, SkillVersionArchiveError, SkillVersionArchiveResponse, SkillVersionCreateData, SkillVersionCreateError, SkillVersionCreateResponse, SkillVersionDataData, SkillVersionDataError, SkillVersionGetData, SkillVersionGetError, SkillVersionListData, SkillVersionListError, SlackInstallationRemoveData, SlackInstallationRemoveError, SlackInstallationRemoveResponse, SlackStatusData, SlackStatusError, TriggerArchiveData, TriggerArchiveError, TriggerArchiveResponse, TriggerCreateData, TriggerCreateError, TriggerCreateResponse, TriggerGetData, TriggerGetError, TriggerListData, TriggerListError, TriggerUpdateData, TriggerUpdateError, TriggerUpdateResponse, VaultArchiveData, VaultArchiveError, VaultArchiveResponse, VaultCreateData, VaultCreateError, VaultCreateResponse, VaultDeleteData, VaultDeleteError, VaultDeleteResponse, VaultGetData, VaultGetError, VaultListData, VaultListError, VaultUpdateData, VaultUpdateError, VaultUpdateResponse, WebhookTriggerArchiveData, WebhookTriggerArchiveError, WebhookTriggerArchiveResponse, WebhookTriggerCreateData, WebhookTriggerCreateError, WebhookTriggerCreateResponse, WebhookTriggerGetData, WebhookTriggerGetError, WebhookTriggerListData, WebhookTriggerListError, WebhookTriggerUpdateData, WebhookTriggerUpdateError, WebhookTriggerUpdateResponse } from "../types.gen";
3
+ import type { AgentArchiveData, AgentArchiveError, AgentArchiveResponse, AgentCreateData, AgentCreateError, AgentCreateResponse, AgentDeprecateData, AgentDeprecateError, AgentDeprecateResponse, AgentGetBySlugData, AgentGetBySlugError, AgentGetData, AgentGetError, AgentListData, AgentListError, AgentPublishData, AgentPublishError, AgentPublishResponse, AgentSearchData, AgentSearchError, AgentSearchResponse, AgentUndeprecateData, AgentUndeprecateError, AgentUndeprecateResponse, AgentUpdateData, AgentUpdateError, AgentUpdateResponse, AgentVersionArchiveData, AgentVersionArchiveError, AgentVersionArchiveResponse, AgentVersionCreateData, AgentVersionCreateError, AgentVersionCreateResponse, AgentVersionGetData, AgentVersionGetError, AgentVersionListData, AgentVersionListError, BillingDailyUsageData, BillingDailyUsageError, BillingGetData, BillingGetError, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlError, BillingInvoicesData, BillingInvoicesError, BillingUpdatePlanData, BillingUpdatePlanError, BillingUpdatePlanResponse, BlueprintArchiveData, BlueprintArchiveError, BlueprintArchiveResponse, BlueprintCreateData, BlueprintCreateError, BlueprintCreateResponse, BlueprintDeprecateData, BlueprintDeprecateError, BlueprintDeprecateResponse, BlueprintGetData, BlueprintGetError, BlueprintInstallData, BlueprintInstallError, BlueprintInstallResponse, BlueprintListData, BlueprintListError, BlueprintPublishData, BlueprintPublishError, BlueprintPublishResponse, BlueprintUndeprecateData, BlueprintUndeprecateError, BlueprintUndeprecateResponse, BlueprintUpdateData, BlueprintUpdateError, BlueprintUpdateResponse, CredentialArchiveData, CredentialArchiveError, CredentialArchiveResponse, CredentialCreateData, CredentialCreateError, CredentialCreateResponse, CredentialDeleteData, CredentialDeleteError, CredentialDeleteResponse, CredentialGetData, CredentialGetError, CredentialListData, CredentialListError, CredentialOauthSessionData, CredentialOauthSessionError, CredentialOauthStartData, CredentialOauthStartError, CredentialOauthStartResponse, CredentialUpdateData, CredentialUpdateError, CredentialUpdateResponse, DashboardGetData, DashboardGetError, EnvironmentArchiveData, EnvironmentArchiveError, EnvironmentArchiveResponse, EnvironmentCreateData, EnvironmentCreateError, EnvironmentCreateResponse, EnvironmentDeleteData, EnvironmentDeleteError, EnvironmentDeleteResponse, EnvironmentGetData, EnvironmentGetError, EnvironmentListData, EnvironmentListError, EnvironmentUpdateData, EnvironmentUpdateError, EnvironmentUpdateResponse, FileStoreArchiveData, FileStoreArchiveError, FileStoreArchiveResponse, FileStoreCreateData, FileStoreCreateError, FileStoreCreateResponse, FileStoreFilesDeleteData, FileStoreFilesDeleteError, FileStoreFilesDeleteResponse, FileStoreFilesFinalizeUploadData, FileStoreFilesFinalizeUploadError, FileStoreFilesFinalizeUploadResponse, FileStoreFilesListData, FileStoreFilesListError, FileStoreFilesPresignDownloadData, FileStoreFilesPresignDownloadError, FileStoreFilesStartUploadData, FileStoreFilesStartUploadError, FileStoreFilesStartUploadResponse, FileStoreGetData, FileStoreGetError, FileStoreListData, FileStoreListError, FileStoreUpdateData, FileStoreUpdateError, FileStoreUpdateResponse, GithubInstallationListData, GithubInstallationListError, GithubInstallationRefreshData, GithubInstallationRefreshError, GithubInstallationRefreshResponse, GithubInstallationRemoveData, GithubInstallationRemoveError, GithubInstallationRemoveResponse, GithubInstallationReposListData, GithubInstallationReposListError, GithubStatusData, GithubStatusError, McpArchiveData, McpArchiveError, McpArchiveResponse, McpCreateData, McpCreateError, McpCreateResponse, McpDeprecateData, McpDeprecateError, McpDeprecateResponse, McpGetBySlugData, McpGetBySlugError, McpGetData, McpGetError, McpListData, McpListError, McpOauthConnectData, McpOauthConnectError, McpOauthConnectResponse, McpOauthSessionData, McpOauthSessionError, McpPublishData, McpPublishError, McpPublishResponse, McpSearchData, McpSearchError, McpSearchResponse, McpUndeprecateData, McpUndeprecateError, McpUndeprecateResponse, McpUpdateData, McpUpdateError, McpUpdateResponse, MeGetData, MeGetError, MemoryStoreArchiveData, MemoryStoreArchiveError, MemoryStoreArchiveResponse, MemoryStoreCreateData, MemoryStoreCreateError, MemoryStoreCreateResponse, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteError, MemoryStoreFilesDeleteResponse, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadError, MemoryStoreFilesFinalizeUploadResponse, MemoryStoreFilesListData, MemoryStoreFilesListError, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadError, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadError, MemoryStoreFilesStartUploadResponse, MemoryStoreGetData, MemoryStoreGetError, MemoryStoreListData, MemoryStoreListError, MemoryStoreUpdateData, MemoryStoreUpdateError, MemoryStoreUpdateResponse, ModelListData, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgError, OnboardingSetupPersonalOrgResponse, OnboardingStartData, OnboardingStartError, OnboardingStartResponse, PatCreateData, PatCreateError, PatCreateResponse, PatListData, PatListError, PatRevokeData, PatRevokeError, PatRevokeResponse, PodArchiveData, PodArchiveError, PodArchiveResponse, PodCreateData, PodCreateError, PodCreateResponse, PodGetData, PodGetError, PodListData, PodListError, PodMemberAddData, PodMemberAddError, PodMemberAddResponse, PodMemberListData, PodMemberListError, PodMemberRemoveData, PodMemberRemoveError, PodMemberRemoveResponse, PodSandboxProvisionData, PodSandboxProvisionError, PodSandboxProvisionResponse2, PodSandboxStatusData, PodSandboxStatusError, PodUpdateData, PodUpdateError, PodUpdateResponse, PodVaultAddData, PodVaultAddError, PodVaultAddResponse, PodVaultListData, PodVaultListError, PodVaultRemoveData, PodVaultRemoveError, PodVaultRemoveResponse, ProjectAgentAddData, ProjectAgentAddError, ProjectAgentAddResponse, ProjectAgentListData, ProjectAgentListError, ProjectAgentRemoveData, ProjectAgentRemoveError, ProjectAgentRemoveResponse, ProjectArchiveData, ProjectArchiveError, ProjectArchiveResponse, ProjectCreateData, ProjectCreateError, ProjectCreateResponse, ProjectFileStoreAddData, ProjectFileStoreAddError, ProjectFileStoreAddResponse, ProjectFileStoreListData, ProjectFileStoreListError, ProjectFileStoreRemoveData, ProjectFileStoreRemoveError, ProjectFileStoreRemoveResponse, ProjectGetData, ProjectGetError, ProjectListData, ProjectListError, ProjectMemoryStoreAddData, ProjectMemoryStoreAddError, ProjectMemoryStoreAddResponse, ProjectMemoryStoreListData, ProjectMemoryStoreListError, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveError, ProjectMemoryStoreRemoveResponse, ProjectUpdateData, ProjectUpdateError, ProjectUpdateResponse, PublisherClaimOrgData, PublisherClaimOrgError, PublisherClaimOrgResponse, PublisherGetData, PublisherGetError, PublisherMeData, PublisherMeError, PublisherUpdateData, PublisherUpdateError, PublisherUpdateResponse, RegistryAgentGetData, RegistryAgentListData, RegistryBlueprintGetData, RegistryMcpGetData, RegistryMcpListData, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadError, RegistryReplayFilesPresignDownloadResponse, RegistryReplayGetData, RegistryReplaySharedFilesPresignDownloadData, RegistryReplaySharedFilesPresignDownloadError, RegistryReplaySharedFilesPresignDownloadResponse, RegistryReplaySharedGetData, RegistrySkillGetData, RegistrySkillListData, ReplayArchiveData, ReplayArchiveError, ReplayArchiveResponse, ReplayCreateData, ReplayCreateError, ReplayCreateResponse, ReplayDeprecateData, ReplayDeprecateError, ReplayDeprecateResponse, ReplayGetData, ReplayGetError, ReplayListData, ReplayListError, ReplayPublishData, ReplayPublishError, ReplayPublishResponse, ReplayShareData, ReplayShareError, ReplayShareResponse, ReplayUndeprecateData, ReplayUndeprecateError, ReplayUndeprecateResponse, ReplayUpdateData, ReplayUpdateError, ReplayUpdateResponse, SessionArchiveData, SessionArchiveError, SessionArchiveResponse, SessionAuthRequirementsData, SessionAuthRequirementsError, SessionCreateData, SessionCreateError, SessionCreateResponse, SessionFilesPresignDownloadData, SessionFilesPresignDownloadError, SessionFilesPresignDownloadResponse2, SessionFilesPresignUploadData, SessionFilesPresignUploadError, SessionFilesPresignUploadResponse2, SessionGetData, SessionGetError, SessionListData, SessionListError, SessionMessagesListData, SessionMessagesListError, SessionUpdateData, SessionUpdateError, SessionUpdateResponse, SessionUrlData, SessionUrlError, SkillArchiveData, SkillArchiveError, SkillArchiveResponse, SkillCopyData, SkillCopyError, SkillCopyResponse, SkillCreateData, SkillCreateError, SkillCreateResponse, SkillDeprecateData, SkillDeprecateError, SkillDeprecateResponse, SkillGetBySlugData, SkillGetBySlugError, SkillGetData, SkillGetError, SkillListData, SkillListError, SkillPublishData, SkillPublishError, SkillPublishResponse, SkillSearchData, SkillSearchError, SkillSearchResponse, SkillUndeprecateData, SkillUndeprecateError, SkillUndeprecateResponse, SkillUpdateData, SkillUpdateError, SkillUpdateResponse, SkillVersionArchiveData, SkillVersionArchiveError, SkillVersionArchiveResponse, SkillVersionCreateData, SkillVersionCreateError, SkillVersionCreateResponse, SkillVersionDataData, SkillVersionDataError, SkillVersionGetData, SkillVersionGetError, SkillVersionListData, SkillVersionListError, SlackInstallationChannelListData, SlackInstallationChannelListError, SlackInstallationChannelRemoveData, SlackInstallationChannelRemoveError, SlackInstallationChannelRemoveResponse, SlackInstallationChannelSetData, SlackInstallationChannelSetError, SlackInstallationChannelSetResponse, SlackInstallationRemoveData, SlackInstallationRemoveError, SlackInstallationRemoveResponse, SlackStatusData, SlackStatusError, TriggerArchiveData, TriggerArchiveError, TriggerArchiveResponse, TriggerCreateData, TriggerCreateError, TriggerCreateResponse, TriggerGetData, TriggerGetError, TriggerListData, TriggerListError, TriggerUpdateData, TriggerUpdateError, TriggerUpdateResponse, VaultArchiveData, VaultArchiveError, VaultArchiveResponse, VaultCreateData, VaultCreateError, VaultCreateResponse, VaultDeleteData, VaultDeleteError, VaultDeleteResponse, VaultGetData, VaultGetError, VaultListData, VaultListError, VaultUpdateData, VaultUpdateError, VaultUpdateResponse, WebhookTriggerArchiveData, WebhookTriggerArchiveError, WebhookTriggerArchiveResponse, WebhookTriggerCreateData, WebhookTriggerCreateError, WebhookTriggerCreateResponse, WebhookTriggerGetData, WebhookTriggerGetError, WebhookTriggerListData, WebhookTriggerListError, WebhookTriggerUpdateData, WebhookTriggerUpdateError, WebhookTriggerUpdateResponse } from "../types.gen";
4
4
  export type QueryKey<TOptions extends Options> = [
5
5
  Pick<TOptions, "baseUrl" | "body" | "headers" | "path" | "query"> & {
6
6
  _id: string;
@@ -2148,6 +2148,34 @@ export declare const sessionGetOptions: (options: Options<SessionGetData>) => im
2148
2148
  * Update a session
2149
2149
  */
2150
2150
  export declare const sessionUpdateMutation: (options?: Partial<Options<SessionUpdateData>>) => UseMutationOptions<SessionUpdateResponse, SessionUpdateError, Options<SessionUpdateData>>;
2151
+ export declare const sessionUrlQueryKey: (options: Options<SessionUrlData>) => [Pick<Options<SessionUrlData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2152
+ _id: string;
2153
+ _infinite?: boolean;
2154
+ tags?: ReadonlyArray<string>;
2155
+ }];
2156
+ /**
2157
+ * Get the OpenCode URL for a session
2158
+ */
2159
+ export declare const sessionUrlOptions: (options: Options<SessionUrlData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").SessionUrlResponse, SessionUrlError, import("../types.gen").SessionUrlResponse, [Pick<Options<SessionUrlData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2160
+ _id: string;
2161
+ _infinite?: boolean;
2162
+ tags?: ReadonlyArray<string>;
2163
+ }]>, "queryFn"> & {
2164
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").SessionUrlResponse, [Pick<Options<SessionUrlData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2165
+ _id: string;
2166
+ _infinite?: boolean;
2167
+ tags?: ReadonlyArray<string>;
2168
+ }], never> | undefined;
2169
+ } & {
2170
+ queryKey: [Pick<Options<SessionUrlData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2171
+ _id: string;
2172
+ _infinite?: boolean;
2173
+ tags?: ReadonlyArray<string>;
2174
+ }] & {
2175
+ [dataTagSymbol]: import("../types.gen").SessionUrlResponse;
2176
+ [dataTagErrorSymbol]: SessionUrlError;
2177
+ };
2178
+ };
2151
2179
  export declare const sessionMessagesListQueryKey: (options: Options<SessionMessagesListData>) => [Pick<Options<SessionMessagesListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2152
2180
  _id: string;
2153
2181
  _infinite?: boolean;
@@ -2736,6 +2764,42 @@ export declare const slackStatusOptions: (options?: Options<SlackStatusData>) =>
2736
2764
  * Disconnect a Slack workspace installation
2737
2765
  */
2738
2766
  export declare const slackInstallationRemoveMutation: (options?: Partial<Options<SlackInstallationRemoveData>>) => UseMutationOptions<SlackInstallationRemoveResponse, SlackInstallationRemoveError, Options<SlackInstallationRemoveData>>;
2767
+ export declare const slackInstallationChannelListQueryKey: (options: Options<SlackInstallationChannelListData>) => [Pick<Options<SlackInstallationChannelListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2768
+ _id: string;
2769
+ _infinite?: boolean;
2770
+ tags?: ReadonlyArray<string>;
2771
+ }];
2772
+ /**
2773
+ * List Slack channels for an installation
2774
+ */
2775
+ export declare const slackInstallationChannelListOptions: (options: Options<SlackInstallationChannelListData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").SlackChannel[], SlackInstallationChannelListError, import("../types.gen").SlackChannel[], [Pick<Options<SlackInstallationChannelListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2776
+ _id: string;
2777
+ _infinite?: boolean;
2778
+ tags?: ReadonlyArray<string>;
2779
+ }]>, "queryFn"> & {
2780
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").SlackChannel[], [Pick<Options<SlackInstallationChannelListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2781
+ _id: string;
2782
+ _infinite?: boolean;
2783
+ tags?: ReadonlyArray<string>;
2784
+ }], never> | undefined;
2785
+ } & {
2786
+ queryKey: [Pick<Options<SlackInstallationChannelListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2787
+ _id: string;
2788
+ _infinite?: boolean;
2789
+ tags?: ReadonlyArray<string>;
2790
+ }] & {
2791
+ [dataTagSymbol]: import("../types.gen").SlackChannel[];
2792
+ [dataTagErrorSymbol]: SlackInstallationChannelListError;
2793
+ };
2794
+ };
2795
+ /**
2796
+ * Remove a Slack channel mapping from an installation
2797
+ */
2798
+ export declare const slackInstallationChannelRemoveMutation: (options?: Partial<Options<SlackInstallationChannelRemoveData>>) => UseMutationOptions<SlackInstallationChannelRemoveResponse, SlackInstallationChannelRemoveError, Options<SlackInstallationChannelRemoveData>>;
2799
+ /**
2800
+ * Map a Slack channel to a project for an installation
2801
+ */
2802
+ export declare const slackInstallationChannelSetMutation: (options?: Partial<Options<SlackInstallationChannelSetData>>) => UseMutationOptions<SlackInstallationChannelSetResponse, SlackInstallationChannelSetError, Options<SlackInstallationChannelSetData>>;
2739
2803
  export declare const vaultListQueryKey: (options?: Options<VaultListData>) => [Pick<Options<VaultListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2740
2804
  _id: string;
2741
2805
  _infinite?: boolean;
@@ -3236,64 +3300,60 @@ export declare const registryMcpGetOptions: (options: Options<RegistryMcpGetData
3236
3300
  };
3237
3301
  };
3238
3302
  };
3239
- export declare const registryReplayGetQueryKey: (options: Options<RegistryReplayGetData>) => [Pick<Options<RegistryReplayGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3303
+ export declare const registryBlueprintGetQueryKey: (options: Options<RegistryBlueprintGetData>) => [Pick<Options<RegistryBlueprintGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3240
3304
  _id: string;
3241
3305
  _infinite?: boolean;
3242
3306
  tags?: ReadonlyArray<string>;
3243
3307
  }];
3244
3308
  /**
3245
- * Get a public replay by slug
3309
+ * Get a registry blueprint by slug
3246
3310
  */
3247
- export declare const registryReplayGetOptions: (options: Options<RegistryReplayGetData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").ReplayPublicView, {
3311
+ export declare const registryBlueprintGetOptions: (options: Options<RegistryBlueprintGetData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").BlueprintPublicView, {
3248
3312
  error: string;
3249
- }, import("../types.gen").ReplayPublicView, [Pick<Options<RegistryReplayGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3313
+ }, import("../types.gen").BlueprintPublicView, [Pick<Options<RegistryBlueprintGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3250
3314
  _id: string;
3251
3315
  _infinite?: boolean;
3252
3316
  tags?: ReadonlyArray<string>;
3253
3317
  }]>, "queryFn"> & {
3254
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").ReplayPublicView, [Pick<Options<RegistryReplayGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3318
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BlueprintPublicView, [Pick<Options<RegistryBlueprintGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3255
3319
  _id: string;
3256
3320
  _infinite?: boolean;
3257
3321
  tags?: ReadonlyArray<string>;
3258
3322
  }], never> | undefined;
3259
3323
  } & {
3260
- queryKey: [Pick<Options<RegistryReplayGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3324
+ queryKey: [Pick<Options<RegistryBlueprintGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3261
3325
  _id: string;
3262
3326
  _infinite?: boolean;
3263
3327
  tags?: ReadonlyArray<string>;
3264
3328
  }] & {
3265
- [dataTagSymbol]: import("../types.gen").ReplayPublicView;
3329
+ [dataTagSymbol]: import("../types.gen").BlueprintPublicView;
3266
3330
  [dataTagErrorSymbol]: {
3267
3331
  error: string;
3268
3332
  };
3269
3333
  };
3270
3334
  };
3271
- /**
3272
- * Presign a download URL for a public replay's pod-volume file
3273
- */
3274
- export declare const registryReplayFilesPresignDownloadMutation: (options?: Partial<Options<RegistryReplayFilesPresignDownloadData>>) => UseMutationOptions<RegistryReplayFilesPresignDownloadResponse, RegistryReplayFilesPresignDownloadError, Options<RegistryReplayFilesPresignDownloadData>>;
3275
- export declare const registryReplaySharedGetQueryKey: (options: Options<RegistryReplaySharedGetData>) => [Pick<Options<RegistryReplaySharedGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3335
+ export declare const registryReplayGetQueryKey: (options: Options<RegistryReplayGetData>) => [Pick<Options<RegistryReplayGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3276
3336
  _id: string;
3277
3337
  _infinite?: boolean;
3278
3338
  tags?: ReadonlyArray<string>;
3279
3339
  }];
3280
3340
  /**
3281
- * Get a shared replay by its share token
3341
+ * Get a registry replay by slug
3282
3342
  */
3283
- export declare const registryReplaySharedGetOptions: (options: Options<RegistryReplaySharedGetData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").ReplayPublicView, {
3343
+ export declare const registryReplayGetOptions: (options: Options<RegistryReplayGetData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").ReplayPublicView, {
3284
3344
  error: string;
3285
- }, import("../types.gen").ReplayPublicView, [Pick<Options<RegistryReplaySharedGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3345
+ }, import("../types.gen").ReplayPublicView, [Pick<Options<RegistryReplayGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3286
3346
  _id: string;
3287
3347
  _infinite?: boolean;
3288
3348
  tags?: ReadonlyArray<string>;
3289
3349
  }]>, "queryFn"> & {
3290
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").ReplayPublicView, [Pick<Options<RegistryReplaySharedGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3350
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").ReplayPublicView, [Pick<Options<RegistryReplayGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3291
3351
  _id: string;
3292
3352
  _infinite?: boolean;
3293
3353
  tags?: ReadonlyArray<string>;
3294
3354
  }], never> | undefined;
3295
3355
  } & {
3296
- queryKey: [Pick<Options<RegistryReplaySharedGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3356
+ queryKey: [Pick<Options<RegistryReplayGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3297
3357
  _id: string;
3298
3358
  _infinite?: boolean;
3299
3359
  tags?: ReadonlyArray<string>;
@@ -3305,38 +3365,42 @@ export declare const registryReplaySharedGetOptions: (options: Options<RegistryR
3305
3365
  };
3306
3366
  };
3307
3367
  /**
3308
- * Presign a download URL for a shared replay's pod-volume file
3368
+ * Presign a download URL for a public replay's pod-volume file
3309
3369
  */
3310
- export declare const registryReplaySharedFilesPresignDownloadMutation: (options?: Partial<Options<RegistryReplaySharedFilesPresignDownloadData>>) => UseMutationOptions<RegistryReplaySharedFilesPresignDownloadResponse, RegistryReplaySharedFilesPresignDownloadError, Options<RegistryReplaySharedFilesPresignDownloadData>>;
3311
- export declare const registryBlueprintGetQueryKey: (options: Options<RegistryBlueprintGetData>) => [Pick<Options<RegistryBlueprintGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3370
+ export declare const registryReplayFilesPresignDownloadMutation: (options?: Partial<Options<RegistryReplayFilesPresignDownloadData>>) => UseMutationOptions<RegistryReplayFilesPresignDownloadResponse, RegistryReplayFilesPresignDownloadError, Options<RegistryReplayFilesPresignDownloadData>>;
3371
+ export declare const registryReplaySharedGetQueryKey: (options: Options<RegistryReplaySharedGetData>) => [Pick<Options<RegistryReplaySharedGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3312
3372
  _id: string;
3313
3373
  _infinite?: boolean;
3314
3374
  tags?: ReadonlyArray<string>;
3315
3375
  }];
3316
3376
  /**
3317
- * Get a public blueprint by slug
3377
+ * Get a shared replay by its share token
3318
3378
  */
3319
- export declare const registryBlueprintGetOptions: (options: Options<RegistryBlueprintGetData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").BlueprintPublicView, {
3379
+ export declare const registryReplaySharedGetOptions: (options: Options<RegistryReplaySharedGetData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").ReplayPublicView, {
3320
3380
  error: string;
3321
- }, import("../types.gen").BlueprintPublicView, [Pick<Options<RegistryBlueprintGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3381
+ }, import("../types.gen").ReplayPublicView, [Pick<Options<RegistryReplaySharedGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3322
3382
  _id: string;
3323
3383
  _infinite?: boolean;
3324
3384
  tags?: ReadonlyArray<string>;
3325
3385
  }]>, "queryFn"> & {
3326
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BlueprintPublicView, [Pick<Options<RegistryBlueprintGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3386
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").ReplayPublicView, [Pick<Options<RegistryReplaySharedGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3327
3387
  _id: string;
3328
3388
  _infinite?: boolean;
3329
3389
  tags?: ReadonlyArray<string>;
3330
3390
  }], never> | undefined;
3331
3391
  } & {
3332
- queryKey: [Pick<Options<RegistryBlueprintGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3392
+ queryKey: [Pick<Options<RegistryReplaySharedGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3333
3393
  _id: string;
3334
3394
  _infinite?: boolean;
3335
3395
  tags?: ReadonlyArray<string>;
3336
3396
  }] & {
3337
- [dataTagSymbol]: import("../types.gen").BlueprintPublicView;
3397
+ [dataTagSymbol]: import("../types.gen").ReplayPublicView;
3338
3398
  [dataTagErrorSymbol]: {
3339
3399
  error: string;
3340
3400
  };
3341
3401
  };
3342
3402
  };
3403
+ /**
3404
+ * Presign a download URL for a shared replay's pod-volume file
3405
+ */
3406
+ export declare const registryReplaySharedFilesPresignDownloadMutation: (options?: Partial<Options<RegistryReplaySharedFilesPresignDownloadData>>) => UseMutationOptions<RegistryReplaySharedFilesPresignDownloadResponse, RegistryReplaySharedFilesPresignDownloadError, Options<RegistryReplaySharedFilesPresignDownloadData>>;
@@ -2355,6 +2355,22 @@ export const sessionUpdateMutation = (options) => {
2355
2355
  };
2356
2356
  return mutationOptions;
2357
2357
  };
2358
+ export const sessionUrlQueryKey = (options) => createQueryKey("sessionUrl", options);
2359
+ /**
2360
+ * Get the OpenCode URL for a session
2361
+ */
2362
+ export const sessionUrlOptions = (options) => queryOptions({
2363
+ queryFn: async ({ queryKey, signal }) => {
2364
+ const { data } = await RenClient.__registry.get().session.url({
2365
+ ...options,
2366
+ ...queryKey[0],
2367
+ signal,
2368
+ throwOnError: true,
2369
+ });
2370
+ return data;
2371
+ },
2372
+ queryKey: sessionUrlQueryKey(options),
2373
+ });
2358
2374
  export const sessionMessagesListQueryKey = (options) => createQueryKey("sessionMessagesList", options);
2359
2375
  /**
2360
2376
  * List a session's messages
@@ -2991,6 +3007,54 @@ export const slackInstallationRemoveMutation = (options) => {
2991
3007
  };
2992
3008
  return mutationOptions;
2993
3009
  };
3010
+ export const slackInstallationChannelListQueryKey = (options) => createQueryKey("slackInstallationChannelList", options);
3011
+ /**
3012
+ * List Slack channels for an installation
3013
+ */
3014
+ export const slackInstallationChannelListOptions = (options) => queryOptions({
3015
+ queryFn: async ({ queryKey, signal }) => {
3016
+ const { data } = await RenClient.__registry.get().slack.installation.channel.list({
3017
+ ...options,
3018
+ ...queryKey[0],
3019
+ signal,
3020
+ throwOnError: true,
3021
+ });
3022
+ return data;
3023
+ },
3024
+ queryKey: slackInstallationChannelListQueryKey(options),
3025
+ });
3026
+ /**
3027
+ * Remove a Slack channel mapping from an installation
3028
+ */
3029
+ export const slackInstallationChannelRemoveMutation = (options) => {
3030
+ const mutationOptions = {
3031
+ mutationFn: async (fnOptions) => {
3032
+ const { data } = await RenClient.__registry.get().slack.installation.channel.remove({
3033
+ ...options,
3034
+ ...fnOptions,
3035
+ throwOnError: true,
3036
+ });
3037
+ return data;
3038
+ },
3039
+ };
3040
+ return mutationOptions;
3041
+ };
3042
+ /**
3043
+ * Map a Slack channel to a project for an installation
3044
+ */
3045
+ export const slackInstallationChannelSetMutation = (options) => {
3046
+ const mutationOptions = {
3047
+ mutationFn: async (fnOptions) => {
3048
+ const { data } = await RenClient.__registry.get().slack.installation.channel.set({
3049
+ ...options,
3050
+ ...fnOptions,
3051
+ throwOnError: true,
3052
+ });
3053
+ return data;
3054
+ },
3055
+ };
3056
+ return mutationOptions;
3057
+ };
2994
3058
  export const vaultListQueryKey = (options) => createQueryKey("vaultList", options);
2995
3059
  /**
2996
3060
  * List vaults
@@ -3446,9 +3510,25 @@ export const registryMcpGetOptions = (options) => queryOptions({
3446
3510
  },
3447
3511
  queryKey: registryMcpGetQueryKey(options),
3448
3512
  });
3513
+ export const registryBlueprintGetQueryKey = (options) => createQueryKey("registryBlueprintGet", options);
3514
+ /**
3515
+ * Get a registry blueprint by slug
3516
+ */
3517
+ export const registryBlueprintGetOptions = (options) => queryOptions({
3518
+ queryFn: async ({ queryKey, signal }) => {
3519
+ const { data } = await RenClient.__registry.get().registry.blueprint.get({
3520
+ ...options,
3521
+ ...queryKey[0],
3522
+ signal,
3523
+ throwOnError: true,
3524
+ });
3525
+ return data;
3526
+ },
3527
+ queryKey: registryBlueprintGetQueryKey(options),
3528
+ });
3449
3529
  export const registryReplayGetQueryKey = (options) => createQueryKey("registryReplayGet", options);
3450
3530
  /**
3451
- * Get a public replay by slug
3531
+ * Get a registry replay by slug
3452
3532
  */
3453
3533
  export const registryReplayGetOptions = (options) => queryOptions({
3454
3534
  queryFn: async ({ queryKey, signal }) => {
@@ -3510,19 +3590,3 @@ export const registryReplaySharedFilesPresignDownloadMutation = (options) => {
3510
3590
  };
3511
3591
  return mutationOptions;
3512
3592
  };
3513
- export const registryBlueprintGetQueryKey = (options) => createQueryKey("registryBlueprintGet", options);
3514
- /**
3515
- * Get a public blueprint by slug
3516
- */
3517
- export const registryBlueprintGetOptions = (options) => queryOptions({
3518
- queryFn: async ({ queryKey, signal }) => {
3519
- const { data } = await RenClient.__registry.get().registry.blueprint.get({
3520
- ...options,
3521
- ...queryKey[0],
3522
- signal,
3523
- throwOnError: true,
3524
- });
3525
- return data;
3526
- },
3527
- queryKey: registryBlueprintGetQueryKey(options),
3528
- });
@@ -14,7 +14,7 @@ export type OpencodeEvent = {
14
14
  export type OpencodeSessionSyncEntry = {
15
15
  sessionId: string;
16
16
  workspaceId: string | null;
17
- projectId: string;
17
+ projectSlug: string;
18
18
  directory: string;
19
19
  latestSeq: number;
20
20
  };
@@ -162,6 +162,123 @@ export type SandboxTokenResponse = {
162
162
  expiresAt: string;
163
163
  tokenId: string;
164
164
  };
165
+ export type WebsiteMetadata = {
166
+ title?: string;
167
+ description?: string;
168
+ longDescription?: string;
169
+ image?: string;
170
+ favicon?: string;
171
+ supportUrl?: string;
172
+ privacyPolicyUrl?: string;
173
+ };
174
+ export type ReplayPublicListItem = {
175
+ id: string;
176
+ slug: string;
177
+ websiteMetadata: WebsiteMetadata | null;
178
+ updatedAt: string;
179
+ };
180
+ export type BlueprintPublicListItem = {
181
+ id: string;
182
+ slug: string;
183
+ name: string;
184
+ description: string | null;
185
+ websiteMetadata: WebsiteMetadata | null;
186
+ updatedAt: string;
187
+ };
188
+ export type McpPublicView = {
189
+ id: string;
190
+ slug: string;
191
+ name: string;
192
+ description: string | null;
193
+ icon: string | null;
194
+ mcpServerUrl: string | null;
195
+ docUrl: string | null;
196
+ type: "remote" | "local";
197
+ transport: "streamable-http" | "sse" | "stdio";
198
+ command: string | null;
199
+ args: Array<string>;
200
+ version: string | null;
201
+ repository: Repository | null;
202
+ tools: Array<string>;
203
+ prompts: Array<string>;
204
+ auth: "none" | "oauth" | "api_key" | "basic";
205
+ publisherId: string | null;
206
+ websiteMetadata: WebsiteMetadata | null;
207
+ sortOrder: number | null;
208
+ popularityScore: number | null;
209
+ trendingScore: number | null;
210
+ rank: number | null;
211
+ createdAt: string;
212
+ updatedAt: string;
213
+ deprecatedAt: string | null;
214
+ deprecationMessage: string | null;
215
+ tags?: Array<string>;
216
+ };
217
+ export type Repository = {
218
+ url?: string;
219
+ source?: string;
220
+ };
221
+ export type SkillPublicView = {
222
+ id: string;
223
+ slug: string;
224
+ name: string;
225
+ description: string | null;
226
+ icon: string | null;
227
+ docUrl: string | null;
228
+ repository: Repository | null;
229
+ publisherId: string | null;
230
+ websiteMetadata: WebsiteMetadata | null;
231
+ sortOrder: number | null;
232
+ popularityScore: number | null;
233
+ trendingScore: number | null;
234
+ rank: number | null;
235
+ latestVersionId: string | null;
236
+ createdAt: string;
237
+ updatedAt: string;
238
+ deprecatedAt: string | null;
239
+ deprecationMessage: string | null;
240
+ tags?: Array<string>;
241
+ };
242
+ export type AgentPublicView = {
243
+ id: string;
244
+ slug: string;
245
+ name: string;
246
+ icon: string | null;
247
+ publisherId: string | null;
248
+ websiteMetadata: WebsiteMetadata | null;
249
+ latestVersionId: string | null;
250
+ createdAt: string;
251
+ updatedAt: string;
252
+ deprecatedAt: string | null;
253
+ deprecationMessage: string | null;
254
+ tags?: Array<string>;
255
+ latestVersion?: AgentLatestVersion | null;
256
+ };
257
+ export type AgentLatestVersion = {
258
+ id: string;
259
+ agentId: string;
260
+ version: string;
261
+ description: string | null;
262
+ skills: Array<{
263
+ skillId: string;
264
+ skillVersionId?: string | null;
265
+ skill: {
266
+ id: string;
267
+ slug: string;
268
+ name: string;
269
+ icon: string | null;
270
+ };
271
+ }>;
272
+ mcps: Array<{
273
+ mcpId: string;
274
+ mcp: {
275
+ id: string;
276
+ slug: string;
277
+ name: string;
278
+ icon: string | null;
279
+ };
280
+ }>;
281
+ };
165
282
  export type OpencodeSession = {
166
283
  id: string;
167
284
  createdById: string;
@@ -300,6 +417,137 @@ export type SlackInstallStartErrors = {
300
417
  };
301
418
  };
302
419
  export type SlackInstallStartError = SlackInstallStartErrors[keyof SlackInstallStartErrors];
420
+ export type RegistryAgentGetBySlugData = {
421
+ body?: never;
422
+ path: {
423
+ /**
424
+ * URL-friendly identifier
425
+ */
426
+ slug: string;
427
+ };
428
+ query?: never;
429
+ url: "/api/registry/agents/by-slug/{slug}";
430
+ };
431
+ export type RegistryAgentGetBySlugErrors = {
432
+ /**
433
+ * Not found
434
+ */
435
+ 404: {
436
+ error: string;
437
+ };
438
+ };
439
+ export type RegistryAgentGetBySlugError = RegistryAgentGetBySlugErrors[keyof RegistryAgentGetBySlugErrors];
440
+ export type RegistryAgentGetBySlugResponses = {
441
+ /**
442
+ * Public agent view
443
+ */
444
+ 200: AgentPublicView;
445
+ };
446
+ export type RegistryAgentGetBySlugResponse = RegistryAgentGetBySlugResponses[keyof RegistryAgentGetBySlugResponses];
447
+ export type RegistrySkillGetBySlugData = {
448
+ body?: never;
449
+ path: {
450
+ /**
451
+ * URL-friendly identifier
452
+ */
453
+ slug: string;
454
+ };
455
+ query?: never;
456
+ url: "/api/registry/skills/by-slug/{slug}";
457
+ };
458
+ export type RegistrySkillGetBySlugErrors = {
459
+ /**
460
+ * Not found
461
+ */
462
+ 404: {
463
+ error: string;
464
+ };
465
+ };
466
+ export type RegistrySkillGetBySlugError = RegistrySkillGetBySlugErrors[keyof RegistrySkillGetBySlugErrors];
467
+ export type RegistrySkillGetBySlugResponses = {
468
+ /**
469
+ * Public skill view
470
+ */
471
+ 200: SkillPublicView;
472
+ };
473
+ export type RegistrySkillGetBySlugResponse = RegistrySkillGetBySlugResponses[keyof RegistrySkillGetBySlugResponses];
474
+ export type RegistryMcpGetBySlugData = {
475
+ body?: never;
476
+ path: {
477
+ /**
478
+ * URL-friendly identifier
479
+ */
480
+ slug: string;
481
+ };
482
+ query?: never;
483
+ url: "/api/registry/mcps/by-slug/{slug}";
484
+ };
485
+ export type RegistryMcpGetBySlugErrors = {
486
+ /**
487
+ * Not found
488
+ */
489
+ 404: {
490
+ error: string;
491
+ };
492
+ };
493
+ export type RegistryMcpGetBySlugError = RegistryMcpGetBySlugErrors[keyof RegistryMcpGetBySlugErrors];
494
+ export type RegistryMcpGetBySlugResponses = {
495
+ /**
496
+ * Public MCP view
497
+ */
498
+ 200: McpPublicView;
499
+ };
500
+ export type RegistryMcpGetBySlugResponse = RegistryMcpGetBySlugResponses[keyof RegistryMcpGetBySlugResponses];
501
+ export type RegistryBlueprintListData = {
502
+ body?: never;
503
+ path?: never;
504
+ query?: {
505
+ limit?: number;
506
+ offset?: number;
507
+ };
508
+ url: "/api/registry/blueprints";
509
+ };
510
+ export type RegistryBlueprintListErrors = {
511
+ /**
512
+ * Bad request
513
+ */
514
+ 400: {
515
+ error: string;
516
+ };
517
+ };
518
+ export type RegistryBlueprintListError = RegistryBlueprintListErrors[keyof RegistryBlueprintListErrors];
519
+ export type RegistryBlueprintListResponses = {
520
+ /**
521
+ * Published blueprint list
522
+ */
523
+ 200: Array<BlueprintPublicListItem>;
524
+ };
525
+ export type RegistryBlueprintListResponse = RegistryBlueprintListResponses[keyof RegistryBlueprintListResponses];
526
+ export type RegistryReplayListData = {
527
+ body?: never;
528
+ path?: never;
529
+ query?: {
530
+ limit?: number;
531
+ offset?: number;
532
+ };
533
+ url: "/api/registry/replays";
534
+ };
535
+ export type RegistryReplayListErrors = {
536
+ /**
537
+ * Bad request
538
+ */
539
+ 400: {
540
+ error: string;
541
+ };
542
+ };
543
+ export type RegistryReplayListError = RegistryReplayListErrors[keyof RegistryReplayListErrors];
544
+ export type RegistryReplayListResponses = {
545
+ /**
546
+ * Published replay list
547
+ */
548
+ 200: Array<ReplayPublicListItem>;
549
+ };
550
+ export type RegistryReplayListResponse = RegistryReplayListResponses[keyof RegistryReplayListResponses];
303
551
  export type SandboxAuthExchangeData = {
304
552
  body?: {
305
553
  token: string;
@@ -619,7 +867,7 @@ export type SandboxSessionUpdateData = {
619
867
  [key: string]: unknown;
620
868
  };
621
869
  } | null;
622
- currentProjectAgentId?: string;
870
+ currentAgentSlug?: string;
623
871
  };
624
872
  path: {
625
873
  id: string;