@renai-labs/sdk 0.1.16 → 0.1.18

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, EmailListData, EmailListError, EmailSetData, EmailSetError, EmailSetResponse, EmailUnsetData, EmailUnsetError, EmailUnsetResponse, 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, GoogleConfigDeleteData, GoogleConfigDeleteError, GoogleConfigDeleteResponse, GoogleConfigSaveData, GoogleConfigSaveError, GoogleConfigSaveResponse, GoogleConnectData, GoogleConnectError, GoogleConnectResponse, GoogleDisconnectData, GoogleDisconnectError, GoogleDisconnectResponse, GoogleStatusData, GoogleStatusError, 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, PodSandboxTeardownData, PodSandboxTeardownError, PodSandboxTeardownResponse2, PodUpdateData, PodUpdateError, PodUpdateResponse, PodVaultAddData, PodVaultAddError, PodVaultAddResponse, PodVaultListData, PodVaultListError, PodVaultRemoveData, PodVaultRemoveError, PodVaultRemoveResponse, ProjectAgentAddData, ProjectAgentAddError, ProjectAgentAddResponse, ProjectAgentListData, ProjectAgentListError, ProjectAgentRemoveData, ProjectAgentRemoveError, ProjectAgentRemoveResponse, ProjectAgentUpdateData, ProjectAgentUpdateError, ProjectAgentUpdateResponse, 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, RegistryTopologyShareGetData, 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, SessionTracesListData, SessionTracesListError, 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, TelegramChatListData, TelegramChatListError, TelegramChatSetData, TelegramChatSetError, TelegramChatSetResponse, TelegramChatUnsetData, TelegramChatUnsetError, TelegramChatUnsetResponse, TelegramClaimCodeData, TelegramClaimCodeError, TelegramClaimCodeResponse, TelegramLinkCodeData, TelegramLinkCodeError, TelegramLinkCodeResponse, TelegramMeData, TelegramMeError, TelegramUnlinkData, TelegramUnlinkError, TelegramUnlinkResponse, TopologyGetData, TopologyGetError, TopologyShareArchiveData, TopologyShareArchiveError, TopologyShareArchiveResponse, TopologyShareCreateData, TopologyShareCreateError, TopologyShareCreateResponse, TopologyShareListData, TopologyShareListError, 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, EmailListData, EmailListError, EmailSetData, EmailSetError, EmailSetResponse, EmailUnsetData, EmailUnsetError, EmailUnsetResponse, 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, GithubMappingSetData, GithubMappingSetError, GithubMappingSetResponse, GithubMappingsListData, GithubMappingsListError, GithubMappingUnsetData, GithubMappingUnsetError, GithubMappingUnsetResponse, GithubReposData, GithubReposError, GithubStatusData, GithubStatusError, GithubUninstallData, GithubUninstallError, GithubUninstallResponse, GoogleConfigDeleteData, GoogleConfigDeleteError, GoogleConfigDeleteResponse, GoogleConfigSaveData, GoogleConfigSaveError, GoogleConfigSaveResponse, GoogleConnectData, GoogleConnectError, GoogleConnectResponse, GoogleDisconnectData, GoogleDisconnectError, GoogleDisconnectResponse, GoogleStatusData, GoogleStatusError, LinearInstallData, LinearInstallError, LinearInstallResponse, LinearMappingsCreateData, LinearMappingsCreateError, LinearMappingsCreateResponse, LinearMappingsListData, LinearMappingsListError, LinearMappingsRemoveData, LinearMappingsRemoveError, LinearMappingsRemoveResponse, LinearProjectsData, LinearProjectsError, LinearStatusData, LinearStatusError, LinearUninstallData, LinearUninstallError, LinearUninstallResponse, 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, PodSandboxTeardownData, PodSandboxTeardownError, PodSandboxTeardownResponse2, PodUpdateData, PodUpdateError, PodUpdateResponse, PodVaultAddData, PodVaultAddError, PodVaultAddResponse, PodVaultListData, PodVaultListError, PodVaultRemoveData, PodVaultRemoveError, PodVaultRemoveResponse, ProjectAgentAddData, ProjectAgentAddError, ProjectAgentAddResponse, ProjectAgentListData, ProjectAgentListError, ProjectAgentRemoveData, ProjectAgentRemoveError, ProjectAgentRemoveResponse, ProjectAgentUpdateData, ProjectAgentUpdateError, ProjectAgentUpdateResponse, 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, RegistryTopologyShareGetData, 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, SessionTracesListData, SessionTracesListError, 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, TelegramChatListData, TelegramChatListError, TelegramChatSetData, TelegramChatSetError, TelegramChatSetResponse, TelegramChatUnsetData, TelegramChatUnsetError, TelegramChatUnsetResponse, TelegramClaimCodeData, TelegramClaimCodeError, TelegramClaimCodeResponse, TelegramLinkCodeData, TelegramLinkCodeError, TelegramLinkCodeResponse, TelegramMeData, TelegramMeError, TelegramUnlinkData, TelegramUnlinkError, TelegramUnlinkResponse, TopologyGetData, TopologyGetError, TopologyShareArchiveData, TopologyShareArchiveError, TopologyShareArchiveResponse, TopologyShareCreateData, TopologyShareCreateError, TopologyShareCreateResponse, TopologyShareListData, TopologyShareListError, 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;
@@ -1002,20 +1002,14 @@ export declare const githubReposQueryKey: (options?: Options<GithubReposData>) =
1002
1002
  tags?: ReadonlyArray<string>;
1003
1003
  }];
1004
1004
  /**
1005
- * Live-fetch repositories accessible to the org's GitHub App installation
1005
+ * Live-fetch repositories across the org's GitHub App installations
1006
1006
  */
1007
- export declare const githubReposOptions: (options?: Options<GithubReposData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1008
- fullName: string;
1009
- }[], GithubReposError, {
1010
- fullName: string;
1011
- }[], [Pick<Options<GithubReposData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
1007
+ export declare const githubReposOptions: (options?: Options<GithubReposData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").GithubRepo[], GithubReposError, import("../types.gen").GithubRepo[], [Pick<Options<GithubReposData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
1012
1008
  _id: string;
1013
1009
  _infinite?: boolean;
1014
1010
  tags?: ReadonlyArray<string>;
1015
1011
  }]>, "queryFn"> & {
1016
- queryFn?: import("@tanstack/react-query").QueryFunction<{
1017
- fullName: string;
1018
- }[], [Pick<Options<GithubReposData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
1012
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").GithubRepo[], [Pick<Options<GithubReposData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
1019
1013
  _id: string;
1020
1014
  _infinite?: boolean;
1021
1015
  tags?: ReadonlyArray<string>;
@@ -1026,12 +1020,46 @@ export declare const githubReposOptions: (options?: Options<GithubReposData>) =>
1026
1020
  _infinite?: boolean;
1027
1021
  tags?: ReadonlyArray<string>;
1028
1022
  }] & {
1029
- [dataTagSymbol]: {
1030
- fullName: string;
1031
- }[];
1023
+ [dataTagSymbol]: import("../types.gen").GithubRepo[];
1032
1024
  [dataTagErrorSymbol]: GithubReposError;
1033
1025
  };
1034
1026
  };
1027
+ export declare const githubMappingsListQueryKey: (options?: Options<GithubMappingsListData>) => [Pick<Options<GithubMappingsListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
1028
+ _id: string;
1029
+ _infinite?: boolean;
1030
+ tags?: ReadonlyArray<string>;
1031
+ }];
1032
+ /**
1033
+ * List GitHub repo→project channel mappings for the org
1034
+ */
1035
+ export declare const githubMappingsListOptions: (options?: Options<GithubMappingsListData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").GithubRepoMapping[], GithubMappingsListError, import("../types.gen").GithubRepoMapping[], [Pick<Options<GithubMappingsListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
1036
+ _id: string;
1037
+ _infinite?: boolean;
1038
+ tags?: ReadonlyArray<string>;
1039
+ }]>, "queryFn"> & {
1040
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").GithubRepoMapping[], [Pick<Options<GithubMappingsListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
1041
+ _id: string;
1042
+ _infinite?: boolean;
1043
+ tags?: ReadonlyArray<string>;
1044
+ }], never> | undefined;
1045
+ } & {
1046
+ queryKey: [Pick<Options<GithubMappingsListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
1047
+ _id: string;
1048
+ _infinite?: boolean;
1049
+ tags?: ReadonlyArray<string>;
1050
+ }] & {
1051
+ [dataTagSymbol]: import("../types.gen").GithubRepoMapping[];
1052
+ [dataTagErrorSymbol]: GithubMappingsListError;
1053
+ };
1054
+ };
1055
+ /**
1056
+ * Remove a GitHub repo→project mapping
1057
+ */
1058
+ export declare const githubMappingUnsetMutation: (options?: Partial<Options<GithubMappingUnsetData>>) => UseMutationOptions<GithubMappingUnsetResponse, GithubMappingUnsetError, Options<GithubMappingUnsetData>>;
1059
+ /**
1060
+ * Map a GitHub repo to a project (PR agent channel)
1061
+ */
1062
+ export declare const githubMappingSetMutation: (options?: Partial<Options<GithubMappingSetData>>) => UseMutationOptions<GithubMappingSetResponse, GithubMappingSetError, Options<GithubMappingSetData>>;
1035
1063
  export declare const googleStatusQueryKey: (options?: Options<GoogleStatusData>) => [Pick<Options<GoogleStatusData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
1036
1064
  _id: string;
1037
1065
  _infinite?: boolean;
@@ -2186,7 +2214,7 @@ export declare const sessionUrlQueryKey: (options: Options<SessionUrlData>) => [
2186
2214
  /**
2187
2215
  * Get the OpenCode URL for a session
2188
2216
  *
2189
- * Returns the session's OpenCode endpoint. `url` is the bare (Basic-auth protected) URL; `authedUrl` embeds the credential as an `auth_token` query param for one-call access — treat it as a secret since it is equivalent to the password. `serverPassword`/`username` are provided so callers can build their own Basic auth header instead.
2217
+ * Returns the session's OpenCode endpoint. `url` is the bare (Basic-auth protected) web-UI deep link; `authedUrl` embeds the credential as an `auth_token` query param for one-call access — treat it as a secret since it is equivalent to the password. `serverUrl` is the bare server origin — pass it to `opencode attach <serverUrl> --session <id>` (its URL arg is the SDK base, so a deep link would break). `serverPassword`/`username` are provided so callers can build their own Basic auth header instead.
2190
2218
  */
2191
2219
  export declare const sessionUrlOptions: (options: Options<SessionUrlData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").SessionUrlResponse, SessionUrlError, import("../types.gen").SessionUrlResponse, [Pick<Options<SessionUrlData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
2192
2220
  _id: string;
@@ -3092,6 +3120,106 @@ export declare const telegramChatUnsetMutation: (options?: Partial<Options<Teleg
3092
3120
  * Map a Telegram chat to a project
3093
3121
  */
3094
3122
  export declare const telegramChatSetMutation: (options?: Partial<Options<TelegramChatSetData>>) => UseMutationOptions<TelegramChatSetResponse, TelegramChatSetError, Options<TelegramChatSetData>>;
3123
+ /**
3124
+ * Disconnect the caller's org Linear workspace
3125
+ */
3126
+ export declare const linearUninstallMutation: (options?: Partial<Options<LinearUninstallData>>) => UseMutationOptions<LinearUninstallResponse, LinearUninstallError, Options<LinearUninstallData>>;
3127
+ /**
3128
+ * Begin a Linear workspace install
3129
+ */
3130
+ export declare const linearInstallMutation: (options?: Partial<Options<LinearInstallData>>) => UseMutationOptions<LinearInstallResponse, LinearInstallError, Options<LinearInstallData>>;
3131
+ export declare const linearStatusQueryKey: (options?: Options<LinearStatusData>) => [Pick<Options<LinearStatusData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3132
+ _id: string;
3133
+ _infinite?: boolean;
3134
+ tags?: ReadonlyArray<string>;
3135
+ }];
3136
+ /**
3137
+ * Report whether Linear is installed for the caller's org
3138
+ */
3139
+ export declare const linearStatusOptions: (options?: Options<LinearStatusData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").LinearStatus, LinearStatusError, import("../types.gen").LinearStatus, [Pick<Options<LinearStatusData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3140
+ _id: string;
3141
+ _infinite?: boolean;
3142
+ tags?: ReadonlyArray<string>;
3143
+ }]>, "queryFn"> & {
3144
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").LinearStatus, [Pick<Options<LinearStatusData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3145
+ _id: string;
3146
+ _infinite?: boolean;
3147
+ tags?: ReadonlyArray<string>;
3148
+ }], never> | undefined;
3149
+ } & {
3150
+ queryKey: [Pick<Options<LinearStatusData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3151
+ _id: string;
3152
+ _infinite?: boolean;
3153
+ tags?: ReadonlyArray<string>;
3154
+ }] & {
3155
+ [dataTagSymbol]: import("../types.gen").LinearStatus;
3156
+ [dataTagErrorSymbol]: LinearStatusError;
3157
+ };
3158
+ };
3159
+ export declare const linearProjectsQueryKey: (options?: Options<LinearProjectsData>) => [Pick<Options<LinearProjectsData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3160
+ _id: string;
3161
+ _infinite?: boolean;
3162
+ tags?: ReadonlyArray<string>;
3163
+ }];
3164
+ /**
3165
+ * List the connected Linear workspace's projects
3166
+ */
3167
+ export declare const linearProjectsOptions: (options?: Options<LinearProjectsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").LinearProject[], LinearProjectsError, import("../types.gen").LinearProject[], [Pick<Options<LinearProjectsData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3168
+ _id: string;
3169
+ _infinite?: boolean;
3170
+ tags?: ReadonlyArray<string>;
3171
+ }]>, "queryFn"> & {
3172
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").LinearProject[], [Pick<Options<LinearProjectsData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3173
+ _id: string;
3174
+ _infinite?: boolean;
3175
+ tags?: ReadonlyArray<string>;
3176
+ }], never> | undefined;
3177
+ } & {
3178
+ queryKey: [Pick<Options<LinearProjectsData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3179
+ _id: string;
3180
+ _infinite?: boolean;
3181
+ tags?: ReadonlyArray<string>;
3182
+ }] & {
3183
+ [dataTagSymbol]: import("../types.gen").LinearProject[];
3184
+ [dataTagErrorSymbol]: LinearProjectsError;
3185
+ };
3186
+ };
3187
+ export declare const linearMappingsListQueryKey: (options?: Options<LinearMappingsListData>) => [Pick<Options<LinearMappingsListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3188
+ _id: string;
3189
+ _infinite?: boolean;
3190
+ tags?: ReadonlyArray<string>;
3191
+ }];
3192
+ /**
3193
+ * List Linear project → Ren project mappings
3194
+ */
3195
+ export declare const linearMappingsListOptions: (options?: Options<LinearMappingsListData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").LinearMapping[], LinearMappingsListError, import("../types.gen").LinearMapping[], [Pick<Options<LinearMappingsListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3196
+ _id: string;
3197
+ _infinite?: boolean;
3198
+ tags?: ReadonlyArray<string>;
3199
+ }]>, "queryFn"> & {
3200
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").LinearMapping[], [Pick<Options<LinearMappingsListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3201
+ _id: string;
3202
+ _infinite?: boolean;
3203
+ tags?: ReadonlyArray<string>;
3204
+ }], never> | undefined;
3205
+ } & {
3206
+ queryKey: [Pick<Options<LinearMappingsListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3207
+ _id: string;
3208
+ _infinite?: boolean;
3209
+ tags?: ReadonlyArray<string>;
3210
+ }] & {
3211
+ [dataTagSymbol]: import("../types.gen").LinearMapping[];
3212
+ [dataTagErrorSymbol]: LinearMappingsListError;
3213
+ };
3214
+ };
3215
+ /**
3216
+ * Map a Linear project to a Ren project
3217
+ */
3218
+ export declare const linearMappingsCreateMutation: (options?: Partial<Options<LinearMappingsCreateData>>) => UseMutationOptions<LinearMappingsCreateResponse, LinearMappingsCreateError, Options<LinearMappingsCreateData>>;
3219
+ /**
3220
+ * Remove a Linear project mapping
3221
+ */
3222
+ export declare const linearMappingsRemoveMutation: (options?: Partial<Options<LinearMappingsRemoveData>>) => UseMutationOptions<LinearMappingsRemoveResponse, LinearMappingsRemoveError, Options<LinearMappingsRemoveData>>;
3095
3223
  export declare const vaultListQueryKey: (options?: Options<VaultListData>) => [Pick<Options<VaultListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
3096
3224
  _id: string;
3097
3225
  _infinite?: boolean;
@@ -1003,7 +1003,7 @@ export const githubStatusOptions = (options) => queryOptions({
1003
1003
  });
1004
1004
  export const githubReposQueryKey = (options) => createQueryKey("githubRepos", options);
1005
1005
  /**
1006
- * Live-fetch repositories accessible to the org's GitHub App installation
1006
+ * Live-fetch repositories across the org's GitHub App installations
1007
1007
  */
1008
1008
  export const githubReposOptions = (options) => queryOptions({
1009
1009
  queryFn: async ({ queryKey, signal }) => {
@@ -1017,6 +1017,54 @@ export const githubReposOptions = (options) => queryOptions({
1017
1017
  },
1018
1018
  queryKey: githubReposQueryKey(options),
1019
1019
  });
1020
+ export const githubMappingsListQueryKey = (options) => createQueryKey("githubMappingsList", options);
1021
+ /**
1022
+ * List GitHub repo→project channel mappings for the org
1023
+ */
1024
+ export const githubMappingsListOptions = (options) => queryOptions({
1025
+ queryFn: async ({ queryKey, signal }) => {
1026
+ const { data } = await RenClient.__registry.get().github.mappings.list({
1027
+ ...options,
1028
+ ...queryKey[0],
1029
+ signal,
1030
+ throwOnError: true,
1031
+ });
1032
+ return data;
1033
+ },
1034
+ queryKey: githubMappingsListQueryKey(options),
1035
+ });
1036
+ /**
1037
+ * Remove a GitHub repo→project mapping
1038
+ */
1039
+ export const githubMappingUnsetMutation = (options) => {
1040
+ const mutationOptions = {
1041
+ mutationFn: async (fnOptions) => {
1042
+ const { data } = await RenClient.__registry.get().github.mapping.unset({
1043
+ ...options,
1044
+ ...fnOptions,
1045
+ throwOnError: true,
1046
+ });
1047
+ return data;
1048
+ },
1049
+ };
1050
+ return mutationOptions;
1051
+ };
1052
+ /**
1053
+ * Map a GitHub repo to a project (PR agent channel)
1054
+ */
1055
+ export const githubMappingSetMutation = (options) => {
1056
+ const mutationOptions = {
1057
+ mutationFn: async (fnOptions) => {
1058
+ const { data } = await RenClient.__registry.get().github.mapping.set({
1059
+ ...options,
1060
+ ...fnOptions,
1061
+ throwOnError: true,
1062
+ });
1063
+ return data;
1064
+ },
1065
+ };
1066
+ return mutationOptions;
1067
+ };
1020
1068
  export const googleStatusQueryKey = (options) => createQueryKey("googleStatus", options);
1021
1069
  /**
1022
1070
  * Report the org's Google Workspace OAuth app configuration
@@ -2473,7 +2521,7 @@ export const sessionUrlQueryKey = (options) => createQueryKey("sessionUrl", opti
2473
2521
  /**
2474
2522
  * Get the OpenCode URL for a session
2475
2523
  *
2476
- * Returns the session's OpenCode endpoint. `url` is the bare (Basic-auth protected) URL; `authedUrl` embeds the credential as an `auth_token` query param for one-call access — treat it as a secret since it is equivalent to the password. `serverPassword`/`username` are provided so callers can build their own Basic auth header instead.
2524
+ * Returns the session's OpenCode endpoint. `url` is the bare (Basic-auth protected) web-UI deep link; `authedUrl` embeds the credential as an `auth_token` query param for one-call access — treat it as a secret since it is equivalent to the password. `serverUrl` is the bare server origin — pass it to `opencode attach <serverUrl> --session <id>` (its URL arg is the SDK base, so a deep link would break). `serverPassword`/`username` are provided so callers can build their own Basic auth header instead.
2477
2525
  */
2478
2526
  export const sessionUrlOptions = (options) => queryOptions({
2479
2527
  queryFn: async ({ queryKey, signal }) => {
@@ -3485,6 +3533,118 @@ export const telegramChatSetMutation = (options) => {
3485
3533
  };
3486
3534
  return mutationOptions;
3487
3535
  };
3536
+ /**
3537
+ * Disconnect the caller's org Linear workspace
3538
+ */
3539
+ export const linearUninstallMutation = (options) => {
3540
+ const mutationOptions = {
3541
+ mutationFn: async (fnOptions) => {
3542
+ const { data } = await RenClient.__registry.get().linear.uninstall({
3543
+ ...options,
3544
+ ...fnOptions,
3545
+ throwOnError: true,
3546
+ });
3547
+ return data;
3548
+ },
3549
+ };
3550
+ return mutationOptions;
3551
+ };
3552
+ /**
3553
+ * Begin a Linear workspace install
3554
+ */
3555
+ export const linearInstallMutation = (options) => {
3556
+ const mutationOptions = {
3557
+ mutationFn: async (fnOptions) => {
3558
+ const { data } = await RenClient.__registry.get().linear.install({
3559
+ ...options,
3560
+ ...fnOptions,
3561
+ throwOnError: true,
3562
+ });
3563
+ return data;
3564
+ },
3565
+ };
3566
+ return mutationOptions;
3567
+ };
3568
+ export const linearStatusQueryKey = (options) => createQueryKey("linearStatus", options);
3569
+ /**
3570
+ * Report whether Linear is installed for the caller's org
3571
+ */
3572
+ export const linearStatusOptions = (options) => queryOptions({
3573
+ queryFn: async ({ queryKey, signal }) => {
3574
+ const { data } = await RenClient.__registry.get().linear.status({
3575
+ ...options,
3576
+ ...queryKey[0],
3577
+ signal,
3578
+ throwOnError: true,
3579
+ });
3580
+ return data;
3581
+ },
3582
+ queryKey: linearStatusQueryKey(options),
3583
+ });
3584
+ export const linearProjectsQueryKey = (options) => createQueryKey("linearProjects", options);
3585
+ /**
3586
+ * List the connected Linear workspace's projects
3587
+ */
3588
+ export const linearProjectsOptions = (options) => queryOptions({
3589
+ queryFn: async ({ queryKey, signal }) => {
3590
+ const { data } = await RenClient.__registry.get().linear.projects({
3591
+ ...options,
3592
+ ...queryKey[0],
3593
+ signal,
3594
+ throwOnError: true,
3595
+ });
3596
+ return data;
3597
+ },
3598
+ queryKey: linearProjectsQueryKey(options),
3599
+ });
3600
+ export const linearMappingsListQueryKey = (options) => createQueryKey("linearMappingsList", options);
3601
+ /**
3602
+ * List Linear project → Ren project mappings
3603
+ */
3604
+ export const linearMappingsListOptions = (options) => queryOptions({
3605
+ queryFn: async ({ queryKey, signal }) => {
3606
+ const { data } = await RenClient.__registry.get().linear.mappings.list({
3607
+ ...options,
3608
+ ...queryKey[0],
3609
+ signal,
3610
+ throwOnError: true,
3611
+ });
3612
+ return data;
3613
+ },
3614
+ queryKey: linearMappingsListQueryKey(options),
3615
+ });
3616
+ /**
3617
+ * Map a Linear project to a Ren project
3618
+ */
3619
+ export const linearMappingsCreateMutation = (options) => {
3620
+ const mutationOptions = {
3621
+ mutationFn: async (fnOptions) => {
3622
+ const { data } = await RenClient.__registry.get().linear.mappings.create({
3623
+ ...options,
3624
+ ...fnOptions,
3625
+ throwOnError: true,
3626
+ });
3627
+ return data;
3628
+ },
3629
+ };
3630
+ return mutationOptions;
3631
+ };
3632
+ /**
3633
+ * Remove a Linear project mapping
3634
+ */
3635
+ export const linearMappingsRemoveMutation = (options) => {
3636
+ const mutationOptions = {
3637
+ mutationFn: async (fnOptions) => {
3638
+ const { data } = await RenClient.__registry.get().linear.mappings.remove({
3639
+ ...options,
3640
+ ...fnOptions,
3641
+ throwOnError: true,
3642
+ });
3643
+ return data;
3644
+ },
3645
+ };
3646
+ return mutationOptions;
3647
+ };
3488
3648
  export const vaultListQueryKey = (options) => createQueryKey("vaultList", options);
3489
3649
  /**
3490
3650
  * List vaults
@@ -190,7 +190,7 @@ export type McpPublicView = {
190
190
  repository: Repository | null;
191
191
  tools: Array<string>;
192
192
  prompts: Array<string>;
193
- auth: "none" | "oauth" | "api_key" | "basic";
193
+ auth: "none" | "oauth" | "api_key" | "basic" | "mcp_provider";
194
194
  env: {
195
195
  [key: string]: string;
196
196
  };
@@ -345,6 +345,15 @@ export type CredentialOauthCallbackData = {
345
345
  };
346
346
  url: "/api/vaults/oauth/callback";
347
347
  };
348
+ export type ComposioOauthCallbackData = {
349
+ body?: never;
350
+ path?: never;
351
+ query: {
352
+ state: string;
353
+ status?: string;
354
+ };
355
+ url: "/api/composio/oauth/callback";
356
+ };
348
357
  export type GithubOauthCallbackData = {
349
358
  body?: never;
350
359
  path?: never;
@@ -1734,3 +1743,52 @@ export type SandboxEmailReplyCurrentResponses = {
1734
1743
  };
1735
1744
  };
1736
1745
  export type SandboxEmailReplyCurrentResponse = SandboxEmailReplyCurrentResponses[keyof SandboxEmailReplyCurrentResponses];
1746
+ export type SandboxLinearReplyCurrentData = {
1747
+ body?: {
1748
+ sessionId: string;
1749
+ text: string;
1750
+ attachments?: Array<{
1751
+ filename: string;
1752
+ contentBase64: string;
1753
+ }>;
1754
+ };
1755
+ path?: never;
1756
+ query?: never;
1757
+ url: "/api/sandbox/linear/reply-current";
1758
+ };
1759
+ export type SandboxLinearReplyCurrentErrors = {
1760
+ /**
1761
+ * Bad request
1762
+ */
1763
+ 400: {
1764
+ error: string;
1765
+ };
1766
+ /**
1767
+ * Unauthorized
1768
+ */
1769
+ 401: {
1770
+ error: string;
1771
+ };
1772
+ /**
1773
+ * Forbidden
1774
+ */
1775
+ 403: {
1776
+ error: string;
1777
+ };
1778
+ /**
1779
+ * Not found
1780
+ */
1781
+ 404: {
1782
+ error: string;
1783
+ };
1784
+ };
1785
+ export type SandboxLinearReplyCurrentError = SandboxLinearReplyCurrentErrors[keyof SandboxLinearReplyCurrentErrors];
1786
+ export type SandboxLinearReplyCurrentResponses = {
1787
+ /**
1788
+ * OK
1789
+ */
1790
+ 200: {
1791
+ ok: true;
1792
+ };
1793
+ };
1794
+ export type SandboxLinearReplyCurrentResponse = SandboxLinearReplyCurrentResponses[keyof SandboxLinearReplyCurrentResponses];