@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.
@@ -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, 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, 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;
@@ -3236,13 +3264,45 @@ export declare const registryMcpGetOptions: (options: Options<RegistryMcpGetData
3236
3264
  };
3237
3265
  };
3238
3266
  };
3267
+ export declare const registryBlueprintGetQueryKey: (options: Options<RegistryBlueprintGetData>) => [Pick<Options<RegistryBlueprintGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3268
+ _id: string;
3269
+ _infinite?: boolean;
3270
+ tags?: ReadonlyArray<string>;
3271
+ }];
3272
+ /**
3273
+ * Get a registry blueprint by slug
3274
+ */
3275
+ export declare const registryBlueprintGetOptions: (options: Options<RegistryBlueprintGetData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").BlueprintPublicView, {
3276
+ error: string;
3277
+ }, import("../types.gen").BlueprintPublicView, [Pick<Options<RegistryBlueprintGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3278
+ _id: string;
3279
+ _infinite?: boolean;
3280
+ tags?: ReadonlyArray<string>;
3281
+ }]>, "queryFn"> & {
3282
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BlueprintPublicView, [Pick<Options<RegistryBlueprintGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3283
+ _id: string;
3284
+ _infinite?: boolean;
3285
+ tags?: ReadonlyArray<string>;
3286
+ }], never> | undefined;
3287
+ } & {
3288
+ queryKey: [Pick<Options<RegistryBlueprintGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3289
+ _id: string;
3290
+ _infinite?: boolean;
3291
+ tags?: ReadonlyArray<string>;
3292
+ }] & {
3293
+ [dataTagSymbol]: import("../types.gen").BlueprintPublicView;
3294
+ [dataTagErrorSymbol]: {
3295
+ error: string;
3296
+ };
3297
+ };
3298
+ };
3239
3299
  export declare const registryReplayGetQueryKey: (options: Options<RegistryReplayGetData>) => [Pick<Options<RegistryReplayGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3240
3300
  _id: string;
3241
3301
  _infinite?: boolean;
3242
3302
  tags?: ReadonlyArray<string>;
3243
3303
  }];
3244
3304
  /**
3245
- * Get a public replay by slug
3305
+ * Get a registry replay by slug
3246
3306
  */
3247
3307
  export declare const registryReplayGetOptions: (options: Options<RegistryReplayGetData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").ReplayPublicView, {
3248
3308
  error: string;
@@ -3272,35 +3332,39 @@ export declare const registryReplayGetOptions: (options: Options<RegistryReplayG
3272
3332
  * Presign a download URL for a public replay's pod-volume file
3273
3333
  */
3274
3334
  export declare const registryReplayFilesPresignDownloadMutation: (options?: Partial<Options<RegistryReplayFilesPresignDownloadData>>) => UseMutationOptions<RegistryReplayFilesPresignDownloadResponse, RegistryReplayFilesPresignDownloadError, Options<RegistryReplayFilesPresignDownloadData>>;
3275
- export declare const registryBlueprintGetQueryKey: (options: Options<RegistryBlueprintGetData>) => [Pick<Options<RegistryBlueprintGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3335
+ export declare const registryReplaySharedGetQueryKey: (options: Options<RegistryReplaySharedGetData>) => [Pick<Options<RegistryReplaySharedGetData>, "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 public blueprint by slug
3341
+ * Get a shared replay by its share token
3282
3342
  */
3283
- export declare const registryBlueprintGetOptions: (options: Options<RegistryBlueprintGetData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").BlueprintPublicView, {
3343
+ export declare const registryReplaySharedGetOptions: (options: Options<RegistryReplaySharedGetData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").ReplayPublicView, {
3284
3344
  error: string;
3285
- }, import("../types.gen").BlueprintPublicView, [Pick<Options<RegistryBlueprintGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3345
+ }, import("../types.gen").ReplayPublicView, [Pick<Options<RegistryReplaySharedGetData>, "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").BlueprintPublicView, [Pick<Options<RegistryBlueprintGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3350
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").ReplayPublicView, [Pick<Options<RegistryReplaySharedGetData>, "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<RegistryBlueprintGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3356
+ queryKey: [Pick<Options<RegistryReplaySharedGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3297
3357
  _id: string;
3298
3358
  _infinite?: boolean;
3299
3359
  tags?: ReadonlyArray<string>;
3300
3360
  }] & {
3301
- [dataTagSymbol]: import("../types.gen").BlueprintPublicView;
3361
+ [dataTagSymbol]: import("../types.gen").ReplayPublicView;
3302
3362
  [dataTagErrorSymbol]: {
3303
3363
  error: string;
3304
3364
  };
3305
3365
  };
3306
3366
  };
3367
+ /**
3368
+ * Presign a download URL for a shared replay's pod-volume file
3369
+ */
3370
+ 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
@@ -3446,9 +3462,25 @@ export const registryMcpGetOptions = (options) => queryOptions({
3446
3462
  },
3447
3463
  queryKey: registryMcpGetQueryKey(options),
3448
3464
  });
3465
+ export const registryBlueprintGetQueryKey = (options) => createQueryKey("registryBlueprintGet", options);
3466
+ /**
3467
+ * Get a registry blueprint by slug
3468
+ */
3469
+ export const registryBlueprintGetOptions = (options) => queryOptions({
3470
+ queryFn: async ({ queryKey, signal }) => {
3471
+ const { data } = await RenClient.__registry.get().registry.blueprint.get({
3472
+ ...options,
3473
+ ...queryKey[0],
3474
+ signal,
3475
+ throwOnError: true,
3476
+ });
3477
+ return data;
3478
+ },
3479
+ queryKey: registryBlueprintGetQueryKey(options),
3480
+ });
3449
3481
  export const registryReplayGetQueryKey = (options) => createQueryKey("registryReplayGet", options);
3450
3482
  /**
3451
- * Get a public replay by slug
3483
+ * Get a registry replay by slug
3452
3484
  */
3453
3485
  export const registryReplayGetOptions = (options) => queryOptions({
3454
3486
  queryFn: async ({ queryKey, signal }) => {
@@ -3478,13 +3510,13 @@ export const registryReplayFilesPresignDownloadMutation = (options) => {
3478
3510
  };
3479
3511
  return mutationOptions;
3480
3512
  };
3481
- export const registryBlueprintGetQueryKey = (options) => createQueryKey("registryBlueprintGet", options);
3513
+ export const registryReplaySharedGetQueryKey = (options) => createQueryKey("registryReplaySharedGet", options);
3482
3514
  /**
3483
- * Get a public blueprint by slug
3515
+ * Get a shared replay by its share token
3484
3516
  */
3485
- export const registryBlueprintGetOptions = (options) => queryOptions({
3517
+ export const registryReplaySharedGetOptions = (options) => queryOptions({
3486
3518
  queryFn: async ({ queryKey, signal }) => {
3487
- const { data } = await RenClient.__registry.get().registry.blueprint.get({
3519
+ const { data } = await RenClient.__registry.get().registry.replay.shared.get({
3488
3520
  ...options,
3489
3521
  ...queryKey[0],
3490
3522
  signal,
@@ -3492,5 +3524,21 @@ export const registryBlueprintGetOptions = (options) => queryOptions({
3492
3524
  });
3493
3525
  return data;
3494
3526
  },
3495
- queryKey: registryBlueprintGetQueryKey(options),
3527
+ queryKey: registryReplaySharedGetQueryKey(options),
3496
3528
  });
3529
+ /**
3530
+ * Presign a download URL for a shared replay's pod-volume file
3531
+ */
3532
+ export const registryReplaySharedFilesPresignDownloadMutation = (options) => {
3533
+ const mutationOptions = {
3534
+ mutationFn: async (fnOptions) => {
3535
+ const { data } = await RenClient.__registry.get().registry.replay.shared.files.presignDownload({
3536
+ ...options,
3537
+ ...fnOptions,
3538
+ throwOnError: true,
3539
+ });
3540
+ return data;
3541
+ },
3542
+ };
3543
+ return mutationOptions;
3544
+ };
@@ -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;
@@ -660,5 +908,9 @@ export type SandboxSessionUpdateResponses = {
660
908
  * Updated session
661
909
  */
662
910
  200: OpencodeSession;
911
+ /**
912
+ * Session not registered in Ren; update ignored
913
+ */
914
+ 204: void;
663
915
  };
664
916
  export type SandboxSessionUpdateResponse = SandboxSessionUpdateResponses[keyof SandboxSessionUpdateResponses];