@renai-labs/sdk 0.1.2 → 0.1.3

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, 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;
@@ -3272,6 +3272,42 @@ export declare const registryReplayGetOptions: (options: Options<RegistryReplayG
3272
3272
  * Presign a download URL for a public replay's pod-volume file
3273
3273
  */
3274
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"> & {
3276
+ _id: string;
3277
+ _infinite?: boolean;
3278
+ tags?: ReadonlyArray<string>;
3279
+ }];
3280
+ /**
3281
+ * Get a shared replay by its share token
3282
+ */
3283
+ export declare const registryReplaySharedGetOptions: (options: Options<RegistryReplaySharedGetData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").ReplayPublicView, {
3284
+ error: string;
3285
+ }, import("../types.gen").ReplayPublicView, [Pick<Options<RegistryReplaySharedGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3286
+ _id: string;
3287
+ _infinite?: boolean;
3288
+ tags?: ReadonlyArray<string>;
3289
+ }]>, "queryFn"> & {
3290
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").ReplayPublicView, [Pick<Options<RegistryReplaySharedGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3291
+ _id: string;
3292
+ _infinite?: boolean;
3293
+ tags?: ReadonlyArray<string>;
3294
+ }], never> | undefined;
3295
+ } & {
3296
+ queryKey: [Pick<Options<RegistryReplaySharedGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3297
+ _id: string;
3298
+ _infinite?: boolean;
3299
+ tags?: ReadonlyArray<string>;
3300
+ }] & {
3301
+ [dataTagSymbol]: import("../types.gen").ReplayPublicView;
3302
+ [dataTagErrorSymbol]: {
3303
+ error: string;
3304
+ };
3305
+ };
3306
+ };
3307
+ /**
3308
+ * Presign a download URL for a shared replay's pod-volume file
3309
+ */
3310
+ export declare const registryReplaySharedFilesPresignDownloadMutation: (options?: Partial<Options<RegistryReplaySharedFilesPresignDownloadData>>) => UseMutationOptions<RegistryReplaySharedFilesPresignDownloadResponse, RegistryReplaySharedFilesPresignDownloadError, Options<RegistryReplaySharedFilesPresignDownloadData>>;
3275
3311
  export declare const registryBlueprintGetQueryKey: (options: Options<RegistryBlueprintGetData>) => [Pick<Options<RegistryBlueprintGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3276
3312
  _id: string;
3277
3313
  _infinite?: boolean;
@@ -3478,6 +3478,38 @@ export const registryReplayFilesPresignDownloadMutation = (options) => {
3478
3478
  };
3479
3479
  return mutationOptions;
3480
3480
  };
3481
+ export const registryReplaySharedGetQueryKey = (options) => createQueryKey("registryReplaySharedGet", options);
3482
+ /**
3483
+ * Get a shared replay by its share token
3484
+ */
3485
+ export const registryReplaySharedGetOptions = (options) => queryOptions({
3486
+ queryFn: async ({ queryKey, signal }) => {
3487
+ const { data } = await RenClient.__registry.get().registry.replay.shared.get({
3488
+ ...options,
3489
+ ...queryKey[0],
3490
+ signal,
3491
+ throwOnError: true,
3492
+ });
3493
+ return data;
3494
+ },
3495
+ queryKey: registryReplaySharedGetQueryKey(options),
3496
+ });
3497
+ /**
3498
+ * Presign a download URL for a shared replay's pod-volume file
3499
+ */
3500
+ export const registryReplaySharedFilesPresignDownloadMutation = (options) => {
3501
+ const mutationOptions = {
3502
+ mutationFn: async (fnOptions) => {
3503
+ const { data } = await RenClient.__registry.get().registry.replay.shared.files.presignDownload({
3504
+ ...options,
3505
+ ...fnOptions,
3506
+ throwOnError: true,
3507
+ });
3508
+ return data;
3509
+ },
3510
+ };
3511
+ return mutationOptions;
3512
+ };
3481
3513
  export const registryBlueprintGetQueryKey = (options) => createQueryKey("registryBlueprintGet", options);
3482
3514
  /**
3483
3515
  * Get a public blueprint by slug
@@ -660,5 +660,9 @@ export type SandboxSessionUpdateResponses = {
660
660
  * Updated session
661
661
  */
662
662
  200: OpencodeSession;
663
+ /**
664
+ * Session not registered in Ren; update ignored
665
+ */
666
+ 204: void;
663
667
  };
664
668
  export type SandboxSessionUpdateResponse = SandboxSessionUpdateResponses[keyof SandboxSessionUpdateResponses];
@@ -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, 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
@@ -865,6 +865,20 @@ export declare class Files4 extends HeyApiClient {
865
865
  */
866
866
  presignDownload<ThrowOnError extends boolean = false>(options: Options<RegistryReplayFilesPresignDownloadData, ThrowOnError>): import("./client").RequestResult<RegistryReplayFilesPresignDownloadResponses, RegistryReplayFilesPresignDownloadErrors, ThrowOnError, "fields">;
867
867
  }
868
+ export declare class Files5 extends HeyApiClient {
869
+ /**
870
+ * Presign a download URL for a shared replay's pod-volume file
871
+ */
872
+ presignDownload<ThrowOnError extends boolean = false>(options: Options<RegistryReplaySharedFilesPresignDownloadData, ThrowOnError>): import("./client").RequestResult<RegistryReplaySharedFilesPresignDownloadResponses, RegistryReplaySharedFilesPresignDownloadErrors, ThrowOnError, "fields">;
873
+ }
874
+ export declare class Shared extends HeyApiClient {
875
+ /**
876
+ * Get a shared replay by its share token
877
+ */
878
+ get<ThrowOnError extends boolean = false>(options: Options<RegistryReplaySharedGetData, ThrowOnError>): import("./client").RequestResult<RegistryReplaySharedGetResponses, RegistryReplaySharedGetErrors, ThrowOnError, "fields">;
879
+ private _files?;
880
+ get files(): Files5;
881
+ }
868
882
  export declare class Replay2 extends HeyApiClient {
869
883
  /**
870
884
  * Get a public replay by slug
@@ -872,6 +886,8 @@ export declare class Replay2 extends HeyApiClient {
872
886
  get<ThrowOnError extends boolean = false>(options: Options<RegistryReplayGetData, ThrowOnError>): import("./client").RequestResult<RegistryReplayGetResponses, RegistryReplayGetErrors, ThrowOnError, "fields">;
873
887
  private _files?;
874
888
  get files(): Files4;
889
+ private _shared?;
890
+ get shared(): Shared;
875
891
  }
876
892
  export declare class Blueprint2 extends HeyApiClient {
877
893
  /**
@@ -1981,6 +1981,33 @@ export class Files4 extends HeyApiClient {
1981
1981
  });
1982
1982
  }
1983
1983
  }
1984
+ export class Files5 extends HeyApiClient {
1985
+ /**
1986
+ * Presign a download URL for a shared replay's pod-volume file
1987
+ */
1988
+ presignDownload(options) {
1989
+ return (options.client ?? this.client).post({
1990
+ url: "/api/registry/replays/share/{token}/files/presign-download",
1991
+ ...options,
1992
+ headers: {
1993
+ "Content-Type": "application/json",
1994
+ ...options.headers,
1995
+ },
1996
+ });
1997
+ }
1998
+ }
1999
+ export class Shared extends HeyApiClient {
2000
+ /**
2001
+ * Get a shared replay by its share token
2002
+ */
2003
+ get(options) {
2004
+ return (options.client ?? this.client).get({ url: "/api/registry/replays/share/{token}", ...options });
2005
+ }
2006
+ _files;
2007
+ get files() {
2008
+ return (this._files ??= new Files5({ client: this.client }));
2009
+ }
2010
+ }
1984
2011
  export class Replay2 extends HeyApiClient {
1985
2012
  /**
1986
2013
  * Get a public replay by slug
@@ -1995,6 +2022,10 @@ export class Replay2 extends HeyApiClient {
1995
2022
  get files() {
1996
2023
  return (this._files ??= new Files4({ client: this.client }));
1997
2024
  }
2025
+ _shared;
2026
+ get shared() {
2027
+ return (this._shared ??= new Shared({ client: this.client }));
2028
+ }
1998
2029
  }
1999
2030
  export class Blueprint2 extends HeyApiClient {
2000
2031
  /**
@@ -439,6 +439,7 @@ export type Replay = {
439
439
  sessionId: string;
440
440
  publisherId: string | null;
441
441
  slug: string;
442
+ shareToken: string | null;
442
443
  websiteMetadata: WebsiteMetadata | null;
443
444
  createdAt: string;
444
445
  updatedAt: string;
@@ -964,6 +965,19 @@ export type AgentCreateData = {
964
965
  name: string;
965
966
  icon?: string | null;
966
967
  tags?: Array<string>;
968
+ version?: string | "major" | "minor" | "patch";
969
+ description?: string;
970
+ prompt?: string;
971
+ model?: string | null;
972
+ permission?: PermissionConfig;
973
+ skills?: Array<{
974
+ skillId: string;
975
+ skillVersionId?: string | null;
976
+ }>;
977
+ mcps?: Array<{
978
+ mcpId: string;
979
+ }>;
980
+ releaseNotes?: string;
967
981
  };
968
982
  path?: never;
969
983
  query?: {
@@ -5735,6 +5749,7 @@ export type ReplayCreateData = {
5735
5749
  sessionId: string;
5736
5750
  publisherId?: string | null;
5737
5751
  websiteMetadata?: WebsiteMetadata | null;
5752
+ shareToken?: string | null;
5738
5753
  };
5739
5754
  path?: never;
5740
5755
  query?: {
@@ -7072,6 +7087,12 @@ export type SkillVersionCreateErrors = {
7072
7087
  404: {
7073
7088
  error: string;
7074
7089
  };
7090
+ /**
7091
+ * Conflict
7092
+ */
7093
+ 409: {
7094
+ error: string;
7095
+ };
7075
7096
  };
7076
7097
  export type SkillVersionCreateError = SkillVersionCreateErrors[keyof SkillVersionCreateErrors];
7077
7098
  export type SkillVersionCreateResponses = {
@@ -8593,6 +8614,63 @@ export type RegistryReplayFilesPresignDownloadResponses = {
8593
8614
  200: ReplayPresignDownloadResponse;
8594
8615
  };
8595
8616
  export type RegistryReplayFilesPresignDownloadResponse = RegistryReplayFilesPresignDownloadResponses[keyof RegistryReplayFilesPresignDownloadResponses];
8617
+ export type RegistryReplaySharedGetData = {
8618
+ body?: never;
8619
+ path: {
8620
+ token: string;
8621
+ };
8622
+ query?: never;
8623
+ url: "/api/registry/replays/share/{token}";
8624
+ };
8625
+ export type RegistryReplaySharedGetErrors = {
8626
+ /**
8627
+ * Not found
8628
+ */
8629
+ 404: {
8630
+ error: string;
8631
+ };
8632
+ };
8633
+ export type RegistryReplaySharedGetError = RegistryReplaySharedGetErrors[keyof RegistryReplaySharedGetErrors];
8634
+ export type RegistryReplaySharedGetResponses = {
8635
+ /**
8636
+ * Public replay view
8637
+ */
8638
+ 200: ReplayPublicView;
8639
+ };
8640
+ export type RegistryReplaySharedGetResponse = RegistryReplaySharedGetResponses[keyof RegistryReplaySharedGetResponses];
8641
+ export type RegistryReplaySharedFilesPresignDownloadData = {
8642
+ body?: {
8643
+ kind: "outputs" | "uploads";
8644
+ filename: string;
8645
+ };
8646
+ path: {
8647
+ token: string;
8648
+ };
8649
+ query?: never;
8650
+ url: "/api/registry/replays/share/{token}/files/presign-download";
8651
+ };
8652
+ export type RegistryReplaySharedFilesPresignDownloadErrors = {
8653
+ /**
8654
+ * Bad request
8655
+ */
8656
+ 400: {
8657
+ error: string;
8658
+ };
8659
+ /**
8660
+ * Not found
8661
+ */
8662
+ 404: {
8663
+ error: string;
8664
+ };
8665
+ };
8666
+ export type RegistryReplaySharedFilesPresignDownloadError = RegistryReplaySharedFilesPresignDownloadErrors[keyof RegistryReplaySharedFilesPresignDownloadErrors];
8667
+ export type RegistryReplaySharedFilesPresignDownloadResponses = {
8668
+ /**
8669
+ * Presigned download URL
8670
+ */
8671
+ 200: ReplayPresignDownloadResponse;
8672
+ };
8673
+ export type RegistryReplaySharedFilesPresignDownloadResponse = RegistryReplaySharedFilesPresignDownloadResponses[keyof RegistryReplaySharedFilesPresignDownloadResponses];
8596
8674
  export type RegistryBlueprintGetData = {
8597
8675
  body?: never;
8598
8676
  path: {
@@ -1113,6 +1113,7 @@ export declare const zReplay: z.ZodObject<{
1113
1113
  sessionId: z.ZodString;
1114
1114
  publisherId: z.ZodNullable<z.ZodString>;
1115
1115
  slug: z.ZodString;
1116
+ shareToken: z.ZodNullable<z.ZodString>;
1116
1117
  websiteMetadata: z.ZodNullable<z.ZodObject<{
1117
1118
  title: z.ZodOptional<z.ZodString>;
1118
1119
  description: z.ZodOptional<z.ZodString>;
@@ -2361,6 +2362,149 @@ export declare const zAgentCreateBody: z.ZodObject<{
2361
2362
  name: z.ZodString;
2362
2363
  icon: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2363
2364
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2365
+ version: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodEnum<{
2366
+ patch: "patch";
2367
+ major: "major";
2368
+ minor: "minor";
2369
+ }>]>>>;
2370
+ description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2371
+ prompt: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2372
+ model: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2373
+ permission: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2374
+ __originalKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
2375
+ read: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2376
+ allow: "allow";
2377
+ deny: "deny";
2378
+ ask: "ask";
2379
+ }>, z.ZodRecord<z.ZodString, z.ZodEnum<{
2380
+ allow: "allow";
2381
+ deny: "deny";
2382
+ ask: "ask";
2383
+ }>>]>>;
2384
+ edit: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2385
+ allow: "allow";
2386
+ deny: "deny";
2387
+ ask: "ask";
2388
+ }>, z.ZodRecord<z.ZodString, z.ZodEnum<{
2389
+ allow: "allow";
2390
+ deny: "deny";
2391
+ ask: "ask";
2392
+ }>>]>>;
2393
+ glob: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2394
+ allow: "allow";
2395
+ deny: "deny";
2396
+ ask: "ask";
2397
+ }>, z.ZodRecord<z.ZodString, z.ZodEnum<{
2398
+ allow: "allow";
2399
+ deny: "deny";
2400
+ ask: "ask";
2401
+ }>>]>>;
2402
+ grep: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2403
+ allow: "allow";
2404
+ deny: "deny";
2405
+ ask: "ask";
2406
+ }>, z.ZodRecord<z.ZodString, z.ZodEnum<{
2407
+ allow: "allow";
2408
+ deny: "deny";
2409
+ ask: "ask";
2410
+ }>>]>>;
2411
+ list: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2412
+ allow: "allow";
2413
+ deny: "deny";
2414
+ ask: "ask";
2415
+ }>, z.ZodRecord<z.ZodString, z.ZodEnum<{
2416
+ allow: "allow";
2417
+ deny: "deny";
2418
+ ask: "ask";
2419
+ }>>]>>;
2420
+ bash: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2421
+ allow: "allow";
2422
+ deny: "deny";
2423
+ ask: "ask";
2424
+ }>, z.ZodRecord<z.ZodString, z.ZodEnum<{
2425
+ allow: "allow";
2426
+ deny: "deny";
2427
+ ask: "ask";
2428
+ }>>]>>;
2429
+ task: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2430
+ allow: "allow";
2431
+ deny: "deny";
2432
+ ask: "ask";
2433
+ }>, z.ZodRecord<z.ZodString, z.ZodEnum<{
2434
+ allow: "allow";
2435
+ deny: "deny";
2436
+ ask: "ask";
2437
+ }>>]>>;
2438
+ external_directory: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2439
+ allow: "allow";
2440
+ deny: "deny";
2441
+ ask: "ask";
2442
+ }>, z.ZodRecord<z.ZodString, z.ZodEnum<{
2443
+ allow: "allow";
2444
+ deny: "deny";
2445
+ ask: "ask";
2446
+ }>>]>>;
2447
+ todowrite: z.ZodOptional<z.ZodEnum<{
2448
+ allow: "allow";
2449
+ deny: "deny";
2450
+ ask: "ask";
2451
+ }>>;
2452
+ question: z.ZodOptional<z.ZodEnum<{
2453
+ allow: "allow";
2454
+ deny: "deny";
2455
+ ask: "ask";
2456
+ }>>;
2457
+ webfetch: z.ZodOptional<z.ZodEnum<{
2458
+ allow: "allow";
2459
+ deny: "deny";
2460
+ ask: "ask";
2461
+ }>>;
2462
+ websearch: z.ZodOptional<z.ZodEnum<{
2463
+ allow: "allow";
2464
+ deny: "deny";
2465
+ ask: "ask";
2466
+ }>>;
2467
+ codesearch: z.ZodOptional<z.ZodEnum<{
2468
+ allow: "allow";
2469
+ deny: "deny";
2470
+ ask: "ask";
2471
+ }>>;
2472
+ lsp: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2473
+ allow: "allow";
2474
+ deny: "deny";
2475
+ ask: "ask";
2476
+ }>, z.ZodRecord<z.ZodString, z.ZodEnum<{
2477
+ allow: "allow";
2478
+ deny: "deny";
2479
+ ask: "ask";
2480
+ }>>]>>;
2481
+ doom_loop: z.ZodOptional<z.ZodEnum<{
2482
+ allow: "allow";
2483
+ deny: "deny";
2484
+ ask: "ask";
2485
+ }>>;
2486
+ skill: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2487
+ allow: "allow";
2488
+ deny: "deny";
2489
+ ask: "ask";
2490
+ }>, z.ZodRecord<z.ZodString, z.ZodEnum<{
2491
+ allow: "allow";
2492
+ deny: "deny";
2493
+ ask: "ask";
2494
+ }>>]>>;
2495
+ }, z.core.$strip>, z.ZodEnum<{
2496
+ allow: "allow";
2497
+ deny: "deny";
2498
+ ask: "ask";
2499
+ }>]>>;
2500
+ skills: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2501
+ skillId: z.ZodString;
2502
+ skillVersionId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
2503
+ }, z.core.$strip>>>>;
2504
+ mcps: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2505
+ mcpId: z.ZodString;
2506
+ }, z.core.$strip>>>>;
2507
+ releaseNotes: z.ZodOptional<z.ZodString>;
2364
2508
  }, z.core.$strip>;
2365
2509
  export declare const zAgentCreateQuery: z.ZodObject<{
2366
2510
  scope: z.ZodOptional<z.ZodEnum<{
@@ -9071,6 +9215,7 @@ export declare const zReplayListResponse: z.ZodArray<z.ZodObject<{
9071
9215
  sessionId: z.ZodString;
9072
9216
  publisherId: z.ZodNullable<z.ZodString>;
9073
9217
  slug: z.ZodString;
9218
+ shareToken: z.ZodNullable<z.ZodString>;
9074
9219
  websiteMetadata: z.ZodNullable<z.ZodObject<{
9075
9220
  title: z.ZodOptional<z.ZodString>;
9076
9221
  description: z.ZodOptional<z.ZodString>;
@@ -9098,6 +9243,7 @@ export declare const zReplayCreateBody: z.ZodObject<{
9098
9243
  supportUrl: z.ZodOptional<z.ZodURL>;
9099
9244
  privacyPolicyUrl: z.ZodOptional<z.ZodURL>;
9100
9245
  }, z.core.$strip>>>>;
9246
+ shareToken: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9101
9247
  }, z.core.$strip>;
9102
9248
  export declare const zReplayCreateQuery: z.ZodObject<{
9103
9249
  scope: z.ZodOptional<z.ZodEnum<{
@@ -9114,6 +9260,7 @@ export declare const zReplayCreateResponse: z.ZodObject<{
9114
9260
  sessionId: z.ZodString;
9115
9261
  publisherId: z.ZodNullable<z.ZodString>;
9116
9262
  slug: z.ZodString;
9263
+ shareToken: z.ZodNullable<z.ZodString>;
9117
9264
  websiteMetadata: z.ZodNullable<z.ZodObject<{
9118
9265
  title: z.ZodOptional<z.ZodString>;
9119
9266
  description: z.ZodOptional<z.ZodString>;
@@ -9147,6 +9294,7 @@ export declare const zReplayGetResponse: z.ZodObject<{
9147
9294
  sessionId: z.ZodString;
9148
9295
  publisherId: z.ZodNullable<z.ZodString>;
9149
9296
  slug: z.ZodString;
9297
+ shareToken: z.ZodNullable<z.ZodString>;
9150
9298
  websiteMetadata: z.ZodNullable<z.ZodObject<{
9151
9299
  title: z.ZodOptional<z.ZodString>;
9152
9300
  description: z.ZodOptional<z.ZodString>;
@@ -9191,6 +9339,7 @@ export declare const zReplayUpdateResponse: z.ZodObject<{
9191
9339
  sessionId: z.ZodString;
9192
9340
  publisherId: z.ZodNullable<z.ZodString>;
9193
9341
  slug: z.ZodString;
9342
+ shareToken: z.ZodNullable<z.ZodString>;
9194
9343
  websiteMetadata: z.ZodNullable<z.ZodObject<{
9195
9344
  title: z.ZodOptional<z.ZodString>;
9196
9345
  description: z.ZodOptional<z.ZodString>;
@@ -9224,6 +9373,7 @@ export declare const zReplayArchiveResponse: z.ZodObject<{
9224
9373
  sessionId: z.ZodString;
9225
9374
  publisherId: z.ZodNullable<z.ZodString>;
9226
9375
  slug: z.ZodString;
9376
+ shareToken: z.ZodNullable<z.ZodString>;
9227
9377
  websiteMetadata: z.ZodNullable<z.ZodObject<{
9228
9378
  title: z.ZodOptional<z.ZodString>;
9229
9379
  description: z.ZodOptional<z.ZodString>;
@@ -9257,6 +9407,7 @@ export declare const zReplayPublishResponse: z.ZodObject<{
9257
9407
  sessionId: z.ZodString;
9258
9408
  publisherId: z.ZodNullable<z.ZodString>;
9259
9409
  slug: z.ZodString;
9410
+ shareToken: z.ZodNullable<z.ZodString>;
9260
9411
  websiteMetadata: z.ZodNullable<z.ZodObject<{
9261
9412
  title: z.ZodOptional<z.ZodString>;
9262
9413
  description: z.ZodOptional<z.ZodString>;
@@ -9293,6 +9444,7 @@ export declare const zReplayDeprecateResponse: z.ZodObject<{
9293
9444
  sessionId: z.ZodString;
9294
9445
  publisherId: z.ZodNullable<z.ZodString>;
9295
9446
  slug: z.ZodString;
9447
+ shareToken: z.ZodNullable<z.ZodString>;
9296
9448
  websiteMetadata: z.ZodNullable<z.ZodObject<{
9297
9449
  title: z.ZodOptional<z.ZodString>;
9298
9450
  description: z.ZodOptional<z.ZodString>;
@@ -9326,6 +9478,7 @@ export declare const zReplayUndeprecateResponse: z.ZodObject<{
9326
9478
  sessionId: z.ZodString;
9327
9479
  publisherId: z.ZodNullable<z.ZodString>;
9328
9480
  slug: z.ZodString;
9481
+ shareToken: z.ZodNullable<z.ZodString>;
9329
9482
  websiteMetadata: z.ZodNullable<z.ZodObject<{
9330
9483
  title: z.ZodOptional<z.ZodString>;
9331
9484
  description: z.ZodOptional<z.ZodString>;
@@ -9368,6 +9521,7 @@ export declare const zReplayShareResponse: z.ZodObject<{
9368
9521
  sessionId: z.ZodString;
9369
9522
  publisherId: z.ZodNullable<z.ZodString>;
9370
9523
  slug: z.ZodString;
9524
+ shareToken: z.ZodNullable<z.ZodString>;
9371
9525
  websiteMetadata: z.ZodNullable<z.ZodObject<{
9372
9526
  title: z.ZodOptional<z.ZodString>;
9373
9527
  description: z.ZodOptional<z.ZodString>;
@@ -11804,6 +11958,43 @@ export declare const zRegistryReplayFilesPresignDownloadResponse: z.ZodObject<{
11804
11958
  url: z.ZodString;
11805
11959
  expiresAt: z.ZodISODateTime;
11806
11960
  }, z.core.$strip>;
11961
+ export declare const zRegistryReplaySharedGetPath: z.ZodObject<{
11962
+ token: z.ZodString;
11963
+ }, z.core.$strip>;
11964
+ /**
11965
+ * Public replay view
11966
+ */
11967
+ export declare const zRegistryReplaySharedGetResponse: z.ZodObject<{
11968
+ id: z.ZodString;
11969
+ slug: z.ZodString;
11970
+ createdAt: z.ZodISODateTime;
11971
+ session: z.ZodObject<{
11972
+ id: z.ZodString;
11973
+ title: z.ZodString;
11974
+ createdAt: z.ZodISODateTime;
11975
+ }, z.core.$strip>;
11976
+ messages: z.ZodArray<z.ZodObject<{
11977
+ info: z.ZodRecord<z.ZodString, z.ZodUnknown>;
11978
+ parts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11979
+ }, z.core.$strip>>;
11980
+ }, z.core.$strip>;
11981
+ export declare const zRegistryReplaySharedFilesPresignDownloadBody: z.ZodObject<{
11982
+ kind: z.ZodEnum<{
11983
+ outputs: "outputs";
11984
+ uploads: "uploads";
11985
+ }>;
11986
+ filename: z.ZodString;
11987
+ }, z.core.$strip>;
11988
+ export declare const zRegistryReplaySharedFilesPresignDownloadPath: z.ZodObject<{
11989
+ token: z.ZodString;
11990
+ }, z.core.$strip>;
11991
+ /**
11992
+ * Presigned download URL
11993
+ */
11994
+ export declare const zRegistryReplaySharedFilesPresignDownloadResponse: z.ZodObject<{
11995
+ url: z.ZodString;
11996
+ expiresAt: z.ZodISODateTime;
11997
+ }, z.core.$strip>;
11807
11998
  export declare const zRegistryBlueprintGetPath: z.ZodObject<{
11808
11999
  slug: z.ZodString;
11809
12000
  }, z.core.$strip>;
@@ -519,6 +519,7 @@ export const zReplay = z.object({
519
519
  sessionId: z.string(),
520
520
  publisherId: z.string().nullable(),
521
521
  slug: z.string(),
522
+ shareToken: z.string().nullable(),
522
523
  websiteMetadata: zWebsiteMetadata.nullable(),
523
524
  createdAt: z.iso
524
525
  .datetime()
@@ -1182,6 +1183,28 @@ export const zAgentCreateBody = z.object({
1182
1183
  name: z.string().min(1).max(256),
1183
1184
  icon: z.string().nullish().default(null),
1184
1185
  tags: z.array(z.string()).optional(),
1186
+ version: z
1187
+ .union([z.string(), z.enum(["major", "minor", "patch"])])
1188
+ .optional()
1189
+ .default("patch"),
1190
+ description: z.string().optional().default(""),
1191
+ prompt: z.string().optional().default(""),
1192
+ model: z.string().nullish().default(null),
1193
+ permission: zPermissionConfig.optional(),
1194
+ skills: z
1195
+ .array(z.object({
1196
+ skillId: z.string(),
1197
+ skillVersionId: z.string().nullish().default(null),
1198
+ }))
1199
+ .optional()
1200
+ .default([]),
1201
+ mcps: z
1202
+ .array(z.object({
1203
+ mcpId: z.string(),
1204
+ }))
1205
+ .optional()
1206
+ .default([]),
1207
+ releaseNotes: z.string().max(4096).optional(),
1185
1208
  });
1186
1209
  export const zAgentCreateQuery = z.object({
1187
1210
  scope: z.enum(["user"]).optional(),
@@ -2511,6 +2534,7 @@ export const zReplayCreateBody = z.object({
2511
2534
  sessionId: z.string(),
2512
2535
  publisherId: z.string().nullish().default(null),
2513
2536
  websiteMetadata: zWebsiteMetadata.nullish().default(null),
2537
+ shareToken: z.string().nullish().default(null),
2514
2538
  });
2515
2539
  export const zReplayCreateQuery = z.object({
2516
2540
  scope: z.enum(["user"]).optional(),
@@ -3342,6 +3366,24 @@ export const zRegistryReplayFilesPresignDownloadPath = z.object({
3342
3366
  * Presigned download URL
3343
3367
  */
3344
3368
  export const zRegistryReplayFilesPresignDownloadResponse = zReplayPresignDownloadResponse;
3369
+ export const zRegistryReplaySharedGetPath = z.object({
3370
+ token: z.string().min(1),
3371
+ });
3372
+ /**
3373
+ * Public replay view
3374
+ */
3375
+ export const zRegistryReplaySharedGetResponse = zReplayPublicView;
3376
+ export const zRegistryReplaySharedFilesPresignDownloadBody = z.object({
3377
+ kind: z.enum(["outputs", "uploads"]),
3378
+ filename: z.string().min(1),
3379
+ });
3380
+ export const zRegistryReplaySharedFilesPresignDownloadPath = z.object({
3381
+ token: z.string().min(1),
3382
+ });
3383
+ /**
3384
+ * Presigned download URL
3385
+ */
3386
+ export const zRegistryReplaySharedFilesPresignDownloadResponse = zReplayPresignDownloadResponse;
3345
3387
  export const zRegistryBlueprintGetPath = z.object({
3346
3388
  slug: z
3347
3389
  .string()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@renai-labs/sdk",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "TypeScript SDK for the Ren API, generated from OpenAPI.",
5
5
  "license": "MIT",
6
6
  "author": "Ren Labs, Inc.",