@renai-labs/sdk 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { type InfiniteData, type UseMutationOptions } from "@tanstack/react-query";
2
2
  import { type Options } from "../sdk.gen";
3
- import type { AgentArchiveData, AgentArchiveError, AgentArchiveResponse, AgentCreateData, AgentCreateError, AgentCreateResponse, AgentDeprecateData, AgentDeprecateError, AgentDeprecateResponse, AgentGetBySlugData, AgentGetBySlugError, AgentGetData, AgentGetError, AgentListData, AgentListError, AgentPublishData, AgentPublishError, AgentPublishResponse, AgentSearchData, AgentSearchError, AgentSearchResponse, AgentUndeprecateData, AgentUndeprecateError, AgentUndeprecateResponse, AgentUpdateData, AgentUpdateError, AgentUpdateResponse, AgentVersionArchiveData, AgentVersionArchiveError, AgentVersionArchiveResponse, AgentVersionCreateData, AgentVersionCreateError, AgentVersionCreateResponse, AgentVersionGetData, AgentVersionGetError, AgentVersionListData, AgentVersionListError, BillingDailyUsageData, BillingDailyUsageError, BillingGetData, BillingGetError, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlError, BillingInvoicesData, BillingInvoicesError, BillingUpdatePlanData, BillingUpdatePlanError, BillingUpdatePlanResponse, BlueprintArchiveData, BlueprintArchiveError, BlueprintArchiveResponse, BlueprintCreateData, BlueprintCreateError, BlueprintCreateResponse, BlueprintDeprecateData, BlueprintDeprecateError, BlueprintDeprecateResponse, BlueprintGetData, BlueprintGetError, BlueprintInstallData, BlueprintInstallError, BlueprintInstallResponse, BlueprintListData, BlueprintListError, BlueprintPublishData, BlueprintPublishError, BlueprintPublishResponse, BlueprintUndeprecateData, BlueprintUndeprecateError, BlueprintUndeprecateResponse, BlueprintUpdateData, BlueprintUpdateError, BlueprintUpdateResponse, CredentialArchiveData, CredentialArchiveError, CredentialArchiveResponse, CredentialCreateData, CredentialCreateError, CredentialCreateResponse, CredentialDeleteData, CredentialDeleteError, CredentialDeleteResponse, CredentialGetData, CredentialGetError, CredentialListData, CredentialListError, CredentialOauthSessionData, CredentialOauthSessionError, CredentialOauthStartData, CredentialOauthStartError, CredentialOauthStartResponse, CredentialUpdateData, CredentialUpdateError, CredentialUpdateResponse, DashboardGetData, DashboardGetError, EnvironmentArchiveData, EnvironmentArchiveError, EnvironmentArchiveResponse, EnvironmentCreateData, EnvironmentCreateError, EnvironmentCreateResponse, EnvironmentDeleteData, EnvironmentDeleteError, EnvironmentDeleteResponse, EnvironmentGetData, EnvironmentGetError, EnvironmentListData, EnvironmentListError, EnvironmentUpdateData, EnvironmentUpdateError, EnvironmentUpdateResponse, FileStoreArchiveData, FileStoreArchiveError, FileStoreArchiveResponse, FileStoreCreateData, FileStoreCreateError, FileStoreCreateResponse, FileStoreFilesDeleteData, FileStoreFilesDeleteError, FileStoreFilesDeleteResponse, FileStoreFilesFinalizeUploadData, FileStoreFilesFinalizeUploadError, FileStoreFilesFinalizeUploadResponse, FileStoreFilesListData, FileStoreFilesListError, FileStoreFilesPresignDownloadData, FileStoreFilesPresignDownloadError, FileStoreFilesStartUploadData, FileStoreFilesStartUploadError, FileStoreFilesStartUploadResponse, FileStoreGetData, FileStoreGetError, FileStoreListData, FileStoreListError, FileStoreUpdateData, FileStoreUpdateError, FileStoreUpdateResponse, GithubInstallationListData, GithubInstallationListError, GithubInstallationRefreshData, GithubInstallationRefreshError, GithubInstallationRefreshResponse, GithubInstallationRemoveData, GithubInstallationRemoveError, GithubInstallationRemoveResponse, GithubInstallationReposListData, GithubInstallationReposListError, GithubStatusData, GithubStatusError, McpArchiveData, McpArchiveError, McpArchiveResponse, McpCreateData, McpCreateError, McpCreateResponse, McpDeprecateData, McpDeprecateError, McpDeprecateResponse, McpGetBySlugData, McpGetBySlugError, McpGetData, McpGetError, McpListData, McpListError, McpOauthConnectData, McpOauthConnectError, McpOauthConnectResponse, McpOauthSessionData, McpOauthSessionError, McpPublishData, McpPublishError, McpPublishResponse, McpSearchData, McpSearchError, McpSearchResponse, McpUndeprecateData, McpUndeprecateError, McpUndeprecateResponse, McpUpdateData, McpUpdateError, McpUpdateResponse, MeGetData, MeGetError, MemoryStoreArchiveData, MemoryStoreArchiveError, MemoryStoreArchiveResponse, MemoryStoreCreateData, MemoryStoreCreateError, MemoryStoreCreateResponse, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteError, MemoryStoreFilesDeleteResponse, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadError, MemoryStoreFilesFinalizeUploadResponse, MemoryStoreFilesListData, MemoryStoreFilesListError, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadError, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadError, MemoryStoreFilesStartUploadResponse, MemoryStoreGetData, MemoryStoreGetError, MemoryStoreListData, MemoryStoreListError, MemoryStoreUpdateData, MemoryStoreUpdateError, MemoryStoreUpdateResponse, ModelListData, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgError, OnboardingSetupPersonalOrgResponse, OnboardingStartData, OnboardingStartError, OnboardingStartResponse, PatCreateData, PatCreateError, PatCreateResponse, PatListData, PatListError, PatRevokeData, PatRevokeError, PatRevokeResponse, PodArchiveData, PodArchiveError, PodArchiveResponse, PodCreateData, PodCreateError, PodCreateResponse, PodGetData, PodGetError, PodListData, PodListError, PodMemberAddData, PodMemberAddError, PodMemberAddResponse, PodMemberListData, PodMemberListError, PodMemberRemoveData, PodMemberRemoveError, PodMemberRemoveResponse, PodSandboxProvisionData, PodSandboxProvisionError, PodSandboxProvisionResponse2, PodSandboxStatusData, PodSandboxStatusError, PodUpdateData, PodUpdateError, PodUpdateResponse, PodVaultAddData, PodVaultAddError, PodVaultAddResponse, PodVaultListData, PodVaultListError, PodVaultRemoveData, PodVaultRemoveError, PodVaultRemoveResponse, ProjectAgentAddData, ProjectAgentAddError, ProjectAgentAddResponse, ProjectAgentListData, ProjectAgentListError, ProjectAgentRemoveData, ProjectAgentRemoveError, ProjectAgentRemoveResponse, ProjectArchiveData, ProjectArchiveError, ProjectArchiveResponse, ProjectCreateData, ProjectCreateError, ProjectCreateResponse, ProjectFileStoreAddData, ProjectFileStoreAddError, ProjectFileStoreAddResponse, ProjectFileStoreListData, ProjectFileStoreListError, ProjectFileStoreRemoveData, ProjectFileStoreRemoveError, ProjectFileStoreRemoveResponse, ProjectGetData, ProjectGetError, ProjectListData, ProjectListError, ProjectMemoryStoreAddData, ProjectMemoryStoreAddError, ProjectMemoryStoreAddResponse, ProjectMemoryStoreListData, ProjectMemoryStoreListError, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveError, ProjectMemoryStoreRemoveResponse, ProjectUpdateData, ProjectUpdateError, ProjectUpdateResponse, PublisherClaimOrgData, PublisherClaimOrgError, PublisherClaimOrgResponse, PublisherGetData, PublisherGetError, PublisherMeData, PublisherMeError, PublisherUpdateData, PublisherUpdateError, PublisherUpdateResponse, RegistryAgentGetData, RegistryAgentListData, RegistryBlueprintGetData, RegistryMcpGetData, RegistryMcpListData, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadError, RegistryReplayFilesPresignDownloadResponse, RegistryReplayGetData, RegistryReplaySharedFilesPresignDownloadData, RegistryReplaySharedFilesPresignDownloadError, RegistryReplaySharedFilesPresignDownloadResponse, RegistryReplaySharedGetData, RegistrySkillGetData, RegistrySkillListData, ReplayArchiveData, ReplayArchiveError, ReplayArchiveResponse, ReplayCreateData, ReplayCreateError, ReplayCreateResponse, ReplayDeprecateData, ReplayDeprecateError, ReplayDeprecateResponse, ReplayGetData, ReplayGetError, ReplayListData, ReplayListError, ReplayPublishData, ReplayPublishError, ReplayPublishResponse, ReplayShareData, ReplayShareError, ReplayShareResponse, ReplayUndeprecateData, ReplayUndeprecateError, ReplayUndeprecateResponse, ReplayUpdateData, ReplayUpdateError, ReplayUpdateResponse, SessionArchiveData, SessionArchiveError, SessionArchiveResponse, SessionAuthRequirementsData, SessionAuthRequirementsError, SessionCreateData, SessionCreateError, SessionCreateResponse, SessionFilesPresignDownloadData, SessionFilesPresignDownloadError, SessionFilesPresignDownloadResponse2, SessionFilesPresignUploadData, SessionFilesPresignUploadError, SessionFilesPresignUploadResponse2, SessionGetData, SessionGetError, SessionListData, SessionListError, SessionMessagesListData, SessionMessagesListError, SessionUpdateData, SessionUpdateError, SessionUpdateResponse, 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";
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, GithubConnectData, GithubConnectError, GithubConnectResponse, GithubInstallData, GithubInstallError, GithubInstallResponse, GithubReposData, GithubReposError, GithubStatusData, GithubStatusError, GithubUninstallData, GithubUninstallError, GithubUninstallResponse, 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, SlackChannelListData, SlackChannelListError, SlackChannelSetData, SlackChannelSetError, SlackChannelSetResponse, SlackChannelUnsetData, SlackChannelUnsetError, SlackChannelUnsetResponse, SlackInstallData, SlackInstallError, SlackInstallResponse, SlackStatusData, SlackStatusError, SlackUninstallData, SlackUninstallError, SlackUninstallResponse, 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;
@@ -956,6 +956,18 @@ export declare const fileStoreFilesStartUploadMutation: (options?: Partial<Optio
956
956
  * Finalize an upload
957
957
  */
958
958
  export declare const fileStoreFilesFinalizeUploadMutation: (options?: Partial<Options<FileStoreFilesFinalizeUploadData>>) => UseMutationOptions<FileStoreFilesFinalizeUploadResponse, FileStoreFilesFinalizeUploadError, Options<FileStoreFilesFinalizeUploadData>>;
959
+ /**
960
+ * Disconnect the org's GitHub App installation
961
+ */
962
+ export declare const githubUninstallMutation: (options?: Partial<Options<GithubUninstallData>>) => UseMutationOptions<GithubUninstallResponse, GithubUninstallError, Options<GithubUninstallData>>;
963
+ /**
964
+ * Begin installing the GitHub App for the caller's org
965
+ */
966
+ export declare const githubInstallMutation: (options?: Partial<Options<GithubInstallData>>) => UseMutationOptions<GithubInstallResponse, GithubInstallError, Options<GithubInstallData>>;
967
+ /**
968
+ * Begin connecting the caller's personal GitHub account
969
+ */
970
+ export declare const githubConnectMutation: (options?: Partial<Options<GithubConnectData>>) => UseMutationOptions<GithubConnectResponse, GithubConnectError, Options<GithubConnectData>>;
959
971
  export declare const githubStatusQueryKey: (options?: Options<GithubStatusData>) => [Pick<Options<GithubStatusData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
960
972
  _id: string;
961
973
  _infinite?: boolean;
@@ -984,60 +996,32 @@ export declare const githubStatusOptions: (options?: Options<GithubStatusData>)
984
996
  [dataTagErrorSymbol]: GithubStatusError;
985
997
  };
986
998
  };
987
- export declare const githubInstallationListQueryKey: (options?: Options<GithubInstallationListData>) => [Pick<Options<GithubInstallationListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
999
+ export declare const githubReposQueryKey: (options?: Options<GithubReposData>) => [Pick<Options<GithubReposData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
988
1000
  _id: string;
989
1001
  _infinite?: boolean;
990
1002
  tags?: ReadonlyArray<string>;
991
1003
  }];
992
1004
  /**
993
- * List GitHub App installations for the caller's org
1005
+ * Live-fetch repositories accessible to the org's GitHub App installation
994
1006
  */
995
- export declare const githubInstallationListOptions: (options?: Options<GithubInstallationListData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").GithubInstallationResponse[], GithubInstallationListError, import("../types.gen").GithubInstallationResponse[], [Pick<Options<GithubInstallationListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
996
- _id: string;
997
- _infinite?: boolean;
998
- tags?: ReadonlyArray<string>;
999
- }]>, "queryFn"> & {
1000
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").GithubInstallationResponse[], [Pick<Options<GithubInstallationListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
1001
- _id: string;
1002
- _infinite?: boolean;
1003
- tags?: ReadonlyArray<string>;
1004
- }], never> | undefined;
1005
- } & {
1006
- queryKey: [Pick<Options<GithubInstallationListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
1007
- _id: string;
1008
- _infinite?: boolean;
1009
- tags?: ReadonlyArray<string>;
1010
- }] & {
1011
- [dataTagSymbol]: import("../types.gen").GithubInstallationResponse[];
1012
- [dataTagErrorSymbol]: GithubInstallationListError;
1013
- };
1014
- };
1015
- export declare const githubInstallationReposListQueryKey: (options: Options<GithubInstallationReposListData>) => [Pick<Options<GithubInstallationReposListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
1016
- _id: string;
1017
- _infinite?: boolean;
1018
- tags?: ReadonlyArray<string>;
1019
- }];
1020
- /**
1021
- * Live-fetch repositories accessible to a GitHub App installation
1022
- */
1023
- export declare const githubInstallationReposListOptions: (options: Options<GithubInstallationReposListData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1007
+ export declare const githubReposOptions: (options?: Options<GithubReposData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1024
1008
  fullName: string;
1025
- }[], GithubInstallationReposListError, {
1009
+ }[], GithubReposError, {
1026
1010
  fullName: string;
1027
- }[], [Pick<Options<GithubInstallationReposListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
1011
+ }[], [Pick<Options<GithubReposData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
1028
1012
  _id: string;
1029
1013
  _infinite?: boolean;
1030
1014
  tags?: ReadonlyArray<string>;
1031
1015
  }]>, "queryFn"> & {
1032
1016
  queryFn?: import("@tanstack/react-query").QueryFunction<{
1033
1017
  fullName: string;
1034
- }[], [Pick<Options<GithubInstallationReposListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
1018
+ }[], [Pick<Options<GithubReposData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
1035
1019
  _id: string;
1036
1020
  _infinite?: boolean;
1037
1021
  tags?: ReadonlyArray<string>;
1038
1022
  }], never> | undefined;
1039
1023
  } & {
1040
- queryKey: [Pick<Options<GithubInstallationReposListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
1024
+ queryKey: [Pick<Options<GithubReposData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
1041
1025
  _id: string;
1042
1026
  _infinite?: boolean;
1043
1027
  tags?: ReadonlyArray<string>;
@@ -1045,17 +1029,9 @@ export declare const githubInstallationReposListOptions: (options: Options<Githu
1045
1029
  [dataTagSymbol]: {
1046
1030
  fullName: string;
1047
1031
  }[];
1048
- [dataTagErrorSymbol]: GithubInstallationReposListError;
1032
+ [dataTagErrorSymbol]: GithubReposError;
1049
1033
  };
1050
1034
  };
1051
- /**
1052
- * Re-fetch the installation's selected repositories from GitHub
1053
- */
1054
- export declare const githubInstallationRefreshMutation: (options?: Partial<Options<GithubInstallationRefreshData>>) => UseMutationOptions<GithubInstallationRefreshResponse, GithubInstallationRefreshError, Options<GithubInstallationRefreshData>>;
1055
- /**
1056
- * Disconnect a GitHub App installation
1057
- */
1058
- export declare const githubInstallationRemoveMutation: (options?: Partial<Options<GithubInstallationRemoveData>>) => UseMutationOptions<GithubInstallationRemoveResponse, GithubInstallationRemoveError, Options<GithubInstallationRemoveData>>;
1059
1035
  export declare const mcpListQueryKey: (options?: Options<McpListData>) => [Pick<Options<McpListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
1060
1036
  _id: string;
1061
1037
  _infinite?: boolean;
@@ -2732,6 +2708,14 @@ export declare const webhookTriggerUpdateMutation: (options?: Partial<Options<We
2732
2708
  * Archive a webhook trigger
2733
2709
  */
2734
2710
  export declare const webhookTriggerArchiveMutation: (options?: Partial<Options<WebhookTriggerArchiveData>>) => UseMutationOptions<WebhookTriggerArchiveResponse, WebhookTriggerArchiveError, Options<WebhookTriggerArchiveData>>;
2711
+ /**
2712
+ * Disconnect the caller's org Slack workspace
2713
+ */
2714
+ export declare const slackUninstallMutation: (options?: Partial<Options<SlackUninstallData>>) => UseMutationOptions<SlackUninstallResponse, SlackUninstallError, Options<SlackUninstallData>>;
2715
+ /**
2716
+ * Begin a Slack workspace install
2717
+ */
2718
+ export declare const slackInstallMutation: (options?: Partial<Options<SlackInstallData>>) => UseMutationOptions<SlackInstallResponse, SlackInstallError, Options<SlackInstallData>>;
2735
2719
  export declare const slackStatusQueryKey: (options?: Options<SlackStatusData>) => [Pick<Options<SlackStatusData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2736
2720
  _id: string;
2737
2721
  _infinite?: boolean;
@@ -2760,10 +2744,42 @@ export declare const slackStatusOptions: (options?: Options<SlackStatusData>) =>
2760
2744
  [dataTagErrorSymbol]: SlackStatusError;
2761
2745
  };
2762
2746
  };
2747
+ export declare const slackChannelListQueryKey: (options?: Options<SlackChannelListData>) => [Pick<Options<SlackChannelListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2748
+ _id: string;
2749
+ _infinite?: boolean;
2750
+ tags?: ReadonlyArray<string>;
2751
+ }];
2752
+ /**
2753
+ * List Slack channels with their current project mapping
2754
+ */
2755
+ export declare const slackChannelListOptions: (options?: Options<SlackChannelListData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").SlackChannel[], SlackChannelListError, import("../types.gen").SlackChannel[], [Pick<Options<SlackChannelListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2756
+ _id: string;
2757
+ _infinite?: boolean;
2758
+ tags?: ReadonlyArray<string>;
2759
+ }]>, "queryFn"> & {
2760
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").SlackChannel[], [Pick<Options<SlackChannelListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2761
+ _id: string;
2762
+ _infinite?: boolean;
2763
+ tags?: ReadonlyArray<string>;
2764
+ }], never> | undefined;
2765
+ } & {
2766
+ queryKey: [Pick<Options<SlackChannelListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2767
+ _id: string;
2768
+ _infinite?: boolean;
2769
+ tags?: ReadonlyArray<string>;
2770
+ }] & {
2771
+ [dataTagSymbol]: import("../types.gen").SlackChannel[];
2772
+ [dataTagErrorSymbol]: SlackChannelListError;
2773
+ };
2774
+ };
2775
+ /**
2776
+ * Unset a Slack channel's project mapping
2777
+ */
2778
+ export declare const slackChannelUnsetMutation: (options?: Partial<Options<SlackChannelUnsetData>>) => UseMutationOptions<SlackChannelUnsetResponse, SlackChannelUnsetError, Options<SlackChannelUnsetData>>;
2763
2779
  /**
2764
- * Disconnect a Slack workspace installation
2780
+ * Map a Slack channel to a project
2765
2781
  */
2766
- export declare const slackInstallationRemoveMutation: (options?: Partial<Options<SlackInstallationRemoveData>>) => UseMutationOptions<SlackInstallationRemoveResponse, SlackInstallationRemoveError, Options<SlackInstallationRemoveData>>;
2782
+ export declare const slackChannelSetMutation: (options?: Partial<Options<SlackChannelSetData>>) => UseMutationOptions<SlackChannelSetResponse, SlackChannelSetError, Options<SlackChannelSetData>>;
2767
2783
  export declare const vaultListQueryKey: (options?: Options<VaultListData>) => [Pick<Options<VaultListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2768
2784
  _id: string;
2769
2785
  _infinite?: boolean;
@@ -937,61 +937,29 @@ export const fileStoreFilesFinalizeUploadMutation = (options) => {
937
937
  };
938
938
  return mutationOptions;
939
939
  };
940
- export const githubStatusQueryKey = (options) => createQueryKey("githubStatus", options);
941
- /**
942
- * Report whether GitHub install + user OAuth are configured for the caller
943
- */
944
- export const githubStatusOptions = (options) => queryOptions({
945
- queryFn: async ({ queryKey, signal }) => {
946
- const { data } = await RenClient.__registry.get().github.status({
947
- ...options,
948
- ...queryKey[0],
949
- signal,
950
- throwOnError: true,
951
- });
952
- return data;
953
- },
954
- queryKey: githubStatusQueryKey(options),
955
- });
956
- export const githubInstallationListQueryKey = (options) => createQueryKey("githubInstallationList", options);
957
940
  /**
958
- * List GitHub App installations for the caller's org
941
+ * Disconnect the org's GitHub App installation
959
942
  */
960
- export const githubInstallationListOptions = (options) => queryOptions({
961
- queryFn: async ({ queryKey, signal }) => {
962
- const { data } = await RenClient.__registry.get().github.installation.list({
963
- ...options,
964
- ...queryKey[0],
965
- signal,
966
- throwOnError: true,
967
- });
968
- return data;
969
- },
970
- queryKey: githubInstallationListQueryKey(options),
971
- });
972
- export const githubInstallationReposListQueryKey = (options) => createQueryKey("githubInstallationReposList", options);
973
- /**
974
- * Live-fetch repositories accessible to a GitHub App installation
975
- */
976
- export const githubInstallationReposListOptions = (options) => queryOptions({
977
- queryFn: async ({ queryKey, signal }) => {
978
- const { data } = await RenClient.__registry.get().github.installation.repos.list({
979
- ...options,
980
- ...queryKey[0],
981
- signal,
982
- throwOnError: true,
983
- });
984
- return data;
985
- },
986
- queryKey: githubInstallationReposListQueryKey(options),
987
- });
943
+ export const githubUninstallMutation = (options) => {
944
+ const mutationOptions = {
945
+ mutationFn: async (fnOptions) => {
946
+ const { data } = await RenClient.__registry.get().github.uninstall({
947
+ ...options,
948
+ ...fnOptions,
949
+ throwOnError: true,
950
+ });
951
+ return data;
952
+ },
953
+ };
954
+ return mutationOptions;
955
+ };
988
956
  /**
989
- * Re-fetch the installation's selected repositories from GitHub
957
+ * Begin installing the GitHub App for the caller's org
990
958
  */
991
- export const githubInstallationRefreshMutation = (options) => {
959
+ export const githubInstallMutation = (options) => {
992
960
  const mutationOptions = {
993
961
  mutationFn: async (fnOptions) => {
994
- const { data } = await RenClient.__registry.get().github.installation.refresh({
962
+ const { data } = await RenClient.__registry.get().github.install({
995
963
  ...options,
996
964
  ...fnOptions,
997
965
  throwOnError: true,
@@ -1002,12 +970,12 @@ export const githubInstallationRefreshMutation = (options) => {
1002
970
  return mutationOptions;
1003
971
  };
1004
972
  /**
1005
- * Disconnect a GitHub App installation
973
+ * Begin connecting the caller's personal GitHub account
1006
974
  */
1007
- export const githubInstallationRemoveMutation = (options) => {
975
+ export const githubConnectMutation = (options) => {
1008
976
  const mutationOptions = {
1009
977
  mutationFn: async (fnOptions) => {
1010
- const { data } = await RenClient.__registry.get().github.installation.remove({
978
+ const { data } = await RenClient.__registry.get().github.connect({
1011
979
  ...options,
1012
980
  ...fnOptions,
1013
981
  throwOnError: true,
@@ -1017,6 +985,38 @@ export const githubInstallationRemoveMutation = (options) => {
1017
985
  };
1018
986
  return mutationOptions;
1019
987
  };
988
+ export const githubStatusQueryKey = (options) => createQueryKey("githubStatus", options);
989
+ /**
990
+ * Report whether GitHub install + user OAuth are configured for the caller
991
+ */
992
+ export const githubStatusOptions = (options) => queryOptions({
993
+ queryFn: async ({ queryKey, signal }) => {
994
+ const { data } = await RenClient.__registry.get().github.status({
995
+ ...options,
996
+ ...queryKey[0],
997
+ signal,
998
+ throwOnError: true,
999
+ });
1000
+ return data;
1001
+ },
1002
+ queryKey: githubStatusQueryKey(options),
1003
+ });
1004
+ export const githubReposQueryKey = (options) => createQueryKey("githubRepos", options);
1005
+ /**
1006
+ * Live-fetch repositories accessible to the org's GitHub App installation
1007
+ */
1008
+ export const githubReposOptions = (options) => queryOptions({
1009
+ queryFn: async ({ queryKey, signal }) => {
1010
+ const { data } = await RenClient.__registry.get().github.repos({
1011
+ ...options,
1012
+ ...queryKey[0],
1013
+ signal,
1014
+ throwOnError: true,
1015
+ });
1016
+ return data;
1017
+ },
1018
+ queryKey: githubReposQueryKey(options),
1019
+ });
1020
1020
  export const mcpListQueryKey = (options) => createQueryKey("mcpList", options);
1021
1021
  /**
1022
1022
  * List MCPs
@@ -2975,6 +2975,38 @@ export const webhookTriggerArchiveMutation = (options) => {
2975
2975
  };
2976
2976
  return mutationOptions;
2977
2977
  };
2978
+ /**
2979
+ * Disconnect the caller's org Slack workspace
2980
+ */
2981
+ export const slackUninstallMutation = (options) => {
2982
+ const mutationOptions = {
2983
+ mutationFn: async (fnOptions) => {
2984
+ const { data } = await RenClient.__registry.get().slack.uninstall({
2985
+ ...options,
2986
+ ...fnOptions,
2987
+ throwOnError: true,
2988
+ });
2989
+ return data;
2990
+ },
2991
+ };
2992
+ return mutationOptions;
2993
+ };
2994
+ /**
2995
+ * Begin a Slack workspace install
2996
+ */
2997
+ export const slackInstallMutation = (options) => {
2998
+ const mutationOptions = {
2999
+ mutationFn: async (fnOptions) => {
3000
+ const { data } = await RenClient.__registry.get().slack.install({
3001
+ ...options,
3002
+ ...fnOptions,
3003
+ throwOnError: true,
3004
+ });
3005
+ return data;
3006
+ },
3007
+ };
3008
+ return mutationOptions;
3009
+ };
2978
3010
  export const slackStatusQueryKey = (options) => createQueryKey("slackStatus", options);
2979
3011
  /**
2980
3012
  * Report whether Slack is installed for the caller's org
@@ -2991,13 +3023,45 @@ export const slackStatusOptions = (options) => queryOptions({
2991
3023
  },
2992
3024
  queryKey: slackStatusQueryKey(options),
2993
3025
  });
3026
+ export const slackChannelListQueryKey = (options) => createQueryKey("slackChannelList", options);
3027
+ /**
3028
+ * List Slack channels with their current project mapping
3029
+ */
3030
+ export const slackChannelListOptions = (options) => queryOptions({
3031
+ queryFn: async ({ queryKey, signal }) => {
3032
+ const { data } = await RenClient.__registry.get().slack.channel.list({
3033
+ ...options,
3034
+ ...queryKey[0],
3035
+ signal,
3036
+ throwOnError: true,
3037
+ });
3038
+ return data;
3039
+ },
3040
+ queryKey: slackChannelListQueryKey(options),
3041
+ });
3042
+ /**
3043
+ * Unset a Slack channel's project mapping
3044
+ */
3045
+ export const slackChannelUnsetMutation = (options) => {
3046
+ const mutationOptions = {
3047
+ mutationFn: async (fnOptions) => {
3048
+ const { data } = await RenClient.__registry.get().slack.channel.unset({
3049
+ ...options,
3050
+ ...fnOptions,
3051
+ throwOnError: true,
3052
+ });
3053
+ return data;
3054
+ },
3055
+ };
3056
+ return mutationOptions;
3057
+ };
2994
3058
  /**
2995
- * Disconnect a Slack workspace installation
3059
+ * Map a Slack channel to a project
2996
3060
  */
2997
- export const slackInstallationRemoveMutation = (options) => {
3061
+ export const slackChannelSetMutation = (options) => {
2998
3062
  const mutationOptions = {
2999
3063
  mutationFn: async (fnOptions) => {
3000
- const { data } = await RenClient.__registry.get().slack.installation.remove({
3064
+ const { data } = await RenClient.__registry.get().slack.channel.set({
3001
3065
  ...options,
3002
3066
  ...fnOptions,
3003
3067
  throwOnError: true,
@@ -14,7 +14,7 @@ export type OpencodeEvent = {
14
14
  export type OpencodeSessionSyncEntry = {
15
15
  sessionId: string;
16
16
  workspaceId: string | null;
17
- projectId: string;
17
+ projectSlug: string;
18
18
  directory: string;
19
19
  latestSeq: number;
20
20
  };
@@ -323,10 +323,6 @@ export type OpencodeSession = {
323
323
  compactingAt: string | null;
324
324
  };
325
325
  export type OAuthCallbackInput = string;
326
- /**
327
- * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
328
- */
329
- export type ScopeQuery = "user";
330
326
  export type HealthCheckData = {
331
327
  body?: never;
332
328
  path?: never;
@@ -361,62 +357,6 @@ export type GithubOauthCallbackData = {
361
357
  };
362
358
  url: "/api/github/oauth/callback";
363
359
  };
364
- export type GithubFlowStartData = {
365
- body?: never;
366
- path: {
367
- flow: "install" | "connect";
368
- };
369
- query?: {
370
- /**
371
- * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
372
- */
373
- scope?: "user";
374
- returnTo?: string;
375
- };
376
- url: "/api/github/{flow}/start";
377
- };
378
- export type GithubFlowStartErrors = {
379
- /**
380
- * Unauthorized
381
- */
382
- 401: {
383
- error: string;
384
- };
385
- /**
386
- * Forbidden
387
- */
388
- 403: {
389
- error: string;
390
- };
391
- };
392
- export type GithubFlowStartError = GithubFlowStartErrors[keyof GithubFlowStartErrors];
393
- export type SlackInstallStartData = {
394
- body?: never;
395
- path?: never;
396
- query?: {
397
- /**
398
- * Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
399
- */
400
- scope?: "user";
401
- returnTo?: string;
402
- };
403
- url: "/api/slack/install";
404
- };
405
- export type SlackInstallStartErrors = {
406
- /**
407
- * Unauthorized
408
- */
409
- 401: {
410
- error: string;
411
- };
412
- /**
413
- * Forbidden
414
- */
415
- 403: {
416
- error: string;
417
- };
418
- };
419
- export type SlackInstallStartError = SlackInstallStartErrors[keyof SlackInstallStartErrors];
420
360
  export type RegistryAgentGetBySlugData = {
421
361
  body?: never;
422
362
  path: {
@@ -867,7 +807,7 @@ export type SandboxSessionUpdateData = {
867
807
  [key: string]: unknown;
868
808
  };
869
809
  } | null;
870
- currentProjectAgentId?: string;
810
+ currentAgentSlug?: string;
871
811
  };
872
812
  path: {
873
813
  id: string;