@renai-labs/sdk 0.1.20 → 0.1.21
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.
- package/dist/error.js +11 -0
- package/dist/generated/@tanstack/react-query.gen.d.ts +46 -68
- package/dist/generated/@tanstack/react-query.gen.js +29 -35
- package/dist/generated/internal/types.gen.d.ts +9 -20
- package/dist/generated/sdk.gen.d.ts +16 -12
- package/dist/generated/sdk.gen.js +19 -29
- package/dist/generated/types.gen.d.ts +268 -117
- package/dist/generated/zod.gen.d.ts +159 -97
- package/dist/generated/zod.gen.js +133 -55
- package/package.json +1 -1
package/dist/error.js
CHANGED
|
@@ -17,11 +17,22 @@ export class ApiError extends Error {
|
|
|
17
17
|
export function isApiError(value) {
|
|
18
18
|
return value instanceof ApiError;
|
|
19
19
|
}
|
|
20
|
+
function formatIssues(issues) {
|
|
21
|
+
const parts = issues
|
|
22
|
+
.filter((issue) => issue && typeof issue === "object")
|
|
23
|
+
.map((issue) => {
|
|
24
|
+
const where = issue.path && issue.path.length > 0 ? issue.path.join(".") : "body";
|
|
25
|
+
return `${where}: ${issue.message ?? "invalid"}`;
|
|
26
|
+
});
|
|
27
|
+
return parts.length > 0 ? `validation failed — ${parts.join("; ")}` : undefined;
|
|
28
|
+
}
|
|
20
29
|
function extractDetail(body) {
|
|
21
30
|
if (body && typeof body === "object" && "error" in body) {
|
|
22
31
|
const detail = body.error;
|
|
23
32
|
if (typeof detail === "string" && detail.trim())
|
|
24
33
|
return detail;
|
|
34
|
+
if (Array.isArray(detail))
|
|
35
|
+
return formatIssues(detail);
|
|
25
36
|
}
|
|
26
37
|
return undefined;
|
|
27
38
|
}
|
|
@@ -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, AgentPromoteData, AgentPromoteError, AgentPromoteResponse, AgentPublishData, AgentPublishError, AgentPublishResponse, AgentSearchData, AgentSearchError, AgentSearchResponse, AgentUndeprecateData, AgentUndeprecateError, AgentUndeprecateResponse, AgentUpdateData, AgentUpdateError, AgentUpdateResponse, AgentVersionArchiveData, AgentVersionArchiveError, AgentVersionArchiveResponse, AgentVersionCreateData, AgentVersionCreateError, AgentVersionCreateResponse, AgentVersionGetData, AgentVersionGetError, AgentVersionListData, AgentVersionListError, BillingCancelData, BillingCancelError, BillingCancelResponse, BillingChangePlanData, BillingChangePlanError, BillingChangePlanResponse, BillingGetData, BillingGetError, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlError, BillingInvoicesData, BillingInvoicesError, BillingPlansData, BillingPlansError, BillingPortalData, BillingPortalError, BillingSubscribeData, BillingSubscribeError, BillingSubscribeResponse, BillingUsageData, BillingUsageError, BlueprintArchiveData, BlueprintArchiveError, BlueprintArchiveResponse, BlueprintCreateData, BlueprintCreateError, BlueprintCreateResponse, BlueprintDeprecateData, BlueprintDeprecateError, BlueprintDeprecateResponse, BlueprintGetData, BlueprintGetError, BlueprintInstallData, BlueprintInstallError, BlueprintInstallResponse, BlueprintListData, BlueprintListError, BlueprintPublishData, BlueprintPublishError, BlueprintPublishResponse, BlueprintPushData, BlueprintPushError, BlueprintPushResponse, BlueprintUndeprecateData, BlueprintUndeprecateError, BlueprintUndeprecateResponse, BlueprintUpdateData, BlueprintUpdateError, BlueprintUpdateResponse, CredentialArchiveData, CredentialArchiveError, CredentialArchiveResponse, CredentialCreateData, CredentialCreateError, CredentialCreateResponse, CredentialDeleteData, CredentialDeleteError, CredentialDeleteResponse, CredentialGetData, CredentialGetError, CredentialListData, CredentialListError, CredentialOauthSessionData, CredentialOauthSessionError, CredentialOauthStartData, CredentialOauthStartError, CredentialOauthStartResponse, CredentialTransferData, CredentialTransferError, CredentialTransferResponse, 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, InvitationPreviewData, 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, McpPromoteData, McpPromoteError, McpPromoteResponse, McpPublishData, McpPublishError, McpPublishResponse, McpSearchData, McpSearchError, McpSearchResponse, McpUndeprecateData, McpUndeprecateError, McpUndeprecateResponse, McpUpdateData, McpUpdateError, McpUpdateResponse, MeCompleteOnboardingData, MeCompleteOnboardingError, MeCompleteOnboardingResponse, 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, MeUpdatePersonaData, MeUpdatePersonaError, MeUpdatePersonaResponse, ModelListData, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgError, OnboardingSetupPersonalOrgResponse, OnboardingStartData, OnboardingStartError, OnboardingStartResponse, OrganizationLogoUploadData, OrganizationLogoUploadError, OrganizationLogoUploadResponse, OrgGetData, OrgGetError, OrgUpdateData, OrgUpdateError, OrgUpdateResponse, 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, PodUsageData, PodUsageError, 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, ProjectMcpAddData, ProjectMcpAddError, ProjectMcpAddResponse, ProjectMcpListData, ProjectMcpListError, ProjectMcpRemoveData, ProjectMcpRemoveError, ProjectMcpRemoveResponse, ProjectMemoryStoreAddData, ProjectMemoryStoreAddError, ProjectMemoryStoreAddResponse, ProjectMemoryStoreListData, ProjectMemoryStoreListError, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveError, ProjectMemoryStoreRemoveResponse, ProjectSkillAddData, ProjectSkillAddError, ProjectSkillAddResponse, ProjectSkillListData, ProjectSkillListError, ProjectSkillRemoveData, ProjectSkillRemoveError, ProjectSkillRemoveResponse, ProjectUpdateData, ProjectUpdateError, ProjectUpdateResponse, ProjectUsageData, ProjectUsageError, PublisherClaimOrgData, PublisherClaimOrgError, PublisherClaimOrgResponse, PublisherGetData, PublisherGetError, PublisherMeData, PublisherMeError, PublisherUpdateData, PublisherUpdateError, PublisherUpdateResponse, RegistryAgentGetData, RegistryAgentListData, RegistryBlueprintGetData, RegistryMcpGetData, RegistryMcpListData, RegistryPublisherGetData, 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, SessionCreateStatusData, SessionCreateStatusError, SessionFilesPresignDownloadData, SessionFilesPresignDownloadError, SessionFilesPresignDownloadResponse2, SessionFilesPresignUploadData, SessionFilesPresignUploadError, SessionFilesPresignUploadResponse2, SessionGetData, SessionGetError, SessionListData, SessionListError, SessionMessagesListData, SessionMessagesListError, SessionTracesListData, SessionTracesListError, SessionUpdateData, SessionUpdateError, SessionUpdateResponse, SessionUrlData, SessionUrlError, SessionUsageData, SessionUsageError, SkillArchiveData, SkillArchiveError, SkillArchiveResponse, SkillCopyData, SkillCopyError, SkillCopyResponse, SkillCreateData, SkillCreateError, SkillCreateResponse, SkillDeprecateData, SkillDeprecateError, SkillDeprecateResponse, SkillGetBySlugData, SkillGetBySlugError, SkillGetData, SkillGetError, SkillListData, SkillListError, SkillPromoteData, SkillPromoteError, SkillPromoteResponse, 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, SlackOnboardingResolveData, SlackOnboardingResolveError, 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, AgentPromoteData, AgentPromoteError, AgentPromoteResponse, AgentPublishData, AgentPublishError, AgentPublishResponse, AgentSearchData, AgentSearchError, AgentSearchResponse, AgentUndeprecateData, AgentUndeprecateError, AgentUndeprecateResponse, AgentUpdateData, AgentUpdateError, AgentUpdateResponse, AgentVersionArchiveData, AgentVersionArchiveError, AgentVersionArchiveResponse, AgentVersionCreateData, AgentVersionCreateError, AgentVersionCreateResponse, AgentVersionGetData, AgentVersionGetError, AgentVersionListData, AgentVersionListError, BillingCancelData, BillingCancelError, BillingCancelResponse, BillingChangePlanData, BillingChangePlanError, BillingChangePlanResponse, BillingGetData, BillingGetError, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlError, BillingInvoicesData, BillingInvoicesError, BillingPlansData, BillingPlansError, BillingPortalData, BillingPortalError, BillingSubscribeData, BillingSubscribeError, BillingSubscribeResponse, BillingUsageData, BillingUsageError, BlueprintArchiveData, BlueprintArchiveError, BlueprintArchiveResponse, BlueprintCreateData, BlueprintCreateError, BlueprintCreateResponse, BlueprintDeprecateData, BlueprintDeprecateError, BlueprintDeprecateResponse, BlueprintGetData, BlueprintGetError, BlueprintInstallData, BlueprintInstallError, BlueprintInstallResponse, BlueprintListData, BlueprintListError, BlueprintPublishData, BlueprintPublishError, BlueprintPublishResponse, BlueprintPushData, BlueprintPushError, BlueprintPushResponse, BlueprintUndeprecateData, BlueprintUndeprecateError, BlueprintUndeprecateResponse, BlueprintUpdateData, BlueprintUpdateError, BlueprintUpdateResponse, CredentialArchiveData, CredentialArchiveError, CredentialArchiveResponse, CredentialCreateData, CredentialCreateError, CredentialCreateResponse, CredentialDeleteData, CredentialDeleteError, CredentialDeleteResponse, CredentialGetData, CredentialGetError, CredentialListData, CredentialListError, CredentialOauthSessionData, CredentialOauthSessionError, CredentialOauthStartData, CredentialOauthStartError, CredentialOauthStartResponse, CredentialTransferData, CredentialTransferError, CredentialTransferResponse, 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, InvitationPreviewData, 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, McpPromoteData, McpPromoteError, McpPromoteResponse, McpPublishData, McpPublishError, McpPublishResponse, McpSearchData, McpSearchError, McpSearchResponse, McpUndeprecateData, McpUndeprecateError, McpUndeprecateResponse, McpUpdateData, McpUpdateError, McpUpdateResponse, MeCompleteOnboardingData, MeCompleteOnboardingError, MeCompleteOnboardingResponse, 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, MeUpdatePersonaData, MeUpdatePersonaError, MeUpdatePersonaResponse, ModelListData, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgError, OnboardingSetupPersonalOrgResponse, OnboardingStartData, OnboardingStartError, OnboardingStartResponse, OrganizationLogoUploadData, OrganizationLogoUploadError, OrganizationLogoUploadResponse, OrgGetData, OrgGetError, OrgUpdateData, OrgUpdateError, OrgUpdateResponse, 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, PodUsageData, PodUsageError, 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, ProjectMcpAddData, ProjectMcpAddError, ProjectMcpAddResponse, ProjectMcpListData, ProjectMcpListError, ProjectMcpRemoveData, ProjectMcpRemoveError, ProjectMcpRemoveResponse, ProjectMemoryStoreAddData, ProjectMemoryStoreAddError, ProjectMemoryStoreAddResponse, ProjectMemoryStoreListData, ProjectMemoryStoreListError, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveError, ProjectMemoryStoreRemoveResponse, ProjectSkillAddData, ProjectSkillAddError, ProjectSkillAddResponse, ProjectSkillListData, ProjectSkillListError, ProjectSkillRemoveData, ProjectSkillRemoveError, ProjectSkillRemoveResponse, ProjectSkillResolutionData, ProjectSkillResolutionError, ProjectUpdateData, ProjectUpdateError, ProjectUpdateResponse, ProjectUsageData, ProjectUsageError, PublisherClaimOrgData, PublisherClaimOrgError, PublisherClaimOrgResponse, PublisherGetData, PublisherGetError, PublisherMeData, PublisherMeError, PublisherUpdateData, PublisherUpdateError, PublisherUpdateResponse, RegistryAgentGetData, RegistryAgentListData, RegistryBlueprintGetData, RegistryMcpGetData, RegistryMcpListData, RegistryPublisherGetData, 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, SessionCreateStatusData, SessionCreateStatusError, SessionFilesPresignDownloadData, SessionFilesPresignDownloadError, SessionFilesPresignDownloadResponse2, SessionFilesPresignUploadData, SessionFilesPresignUploadError, SessionFilesPresignUploadResponse2, SessionGetData, SessionGetError, SessionListData, SessionListError, SessionMessagesListData, SessionMessagesListError, SessionTracesListData, SessionTracesListError, SessionUpdateData, SessionUpdateError, SessionUpdateResponse, SessionUrlData, SessionUrlError, SessionUsageData, SessionUsageError, SkillArchiveData, SkillArchiveError, SkillArchiveResponse, SkillCopyData, SkillCopyError, SkillCopyResponse, SkillCreateData, SkillCreateError, SkillCreateResponse, SkillDeprecateData, SkillDeprecateError, SkillDeprecateResponse, SkillGetData, SkillGetError, SkillListData, SkillListError, SkillPromoteData, SkillPromoteError, SkillPromoteResponse, SkillPublishData, SkillPublishError, SkillPublishResponse, 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, SlackOnboardingResolveData, SlackOnboardingResolveError, 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;
|
|
@@ -2336,6 +2336,36 @@ export declare const projectSkillListOptions: (options: Options<ProjectSkillList
|
|
|
2336
2336
|
* Attach a skill to a project
|
|
2337
2337
|
*/
|
|
2338
2338
|
export declare const projectSkillAddMutation: (options?: Partial<Options<ProjectSkillAddData>>) => UseMutationOptions<ProjectSkillAddResponse, ProjectSkillAddError, Options<ProjectSkillAddData>>;
|
|
2339
|
+
export declare const projectSkillResolutionQueryKey: (options: Options<ProjectSkillResolutionData>) => [Pick<Options<ProjectSkillResolutionData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2340
|
+
_id: string;
|
|
2341
|
+
_infinite?: boolean;
|
|
2342
|
+
tags?: ReadonlyArray<string>;
|
|
2343
|
+
}];
|
|
2344
|
+
/**
|
|
2345
|
+
* Resolve the one version served per skill in this project, with pin-conflict warnings
|
|
2346
|
+
*
|
|
2347
|
+
* The server resolves one version per skill per project — highest live version wins (decision 5). When a bound pin loses, it is reported here as a warning (never an error at bind time): a pin can lose later when someone publishes a newer version, so there is no request to reject at that moment.
|
|
2348
|
+
*/
|
|
2349
|
+
export declare const projectSkillResolutionOptions: (options: Options<ProjectSkillResolutionData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").ProjectSkillResolution, ProjectSkillResolutionError, import("../types.gen").ProjectSkillResolution, [Pick<Options<ProjectSkillResolutionData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2350
|
+
_id: string;
|
|
2351
|
+
_infinite?: boolean;
|
|
2352
|
+
tags?: ReadonlyArray<string>;
|
|
2353
|
+
}]>, "queryFn"> & {
|
|
2354
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").ProjectSkillResolution, [Pick<Options<ProjectSkillResolutionData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2355
|
+
_id: string;
|
|
2356
|
+
_infinite?: boolean;
|
|
2357
|
+
tags?: ReadonlyArray<string>;
|
|
2358
|
+
}], never> | undefined;
|
|
2359
|
+
} & {
|
|
2360
|
+
queryKey: [Pick<Options<ProjectSkillResolutionData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2361
|
+
_id: string;
|
|
2362
|
+
_infinite?: boolean;
|
|
2363
|
+
tags?: ReadonlyArray<string>;
|
|
2364
|
+
}] & {
|
|
2365
|
+
[dataTagSymbol]: import("../types.gen").ProjectSkillResolution;
|
|
2366
|
+
[dataTagErrorSymbol]: ProjectSkillResolutionError;
|
|
2367
|
+
};
|
|
2368
|
+
};
|
|
2339
2369
|
/**
|
|
2340
2370
|
* Detach a skill from a project
|
|
2341
2371
|
*/
|
|
@@ -2860,7 +2890,7 @@ export declare const skillListQueryKey: (options?: Options<SkillListData>) => [P
|
|
|
2860
2890
|
tags?: ReadonlyArray<string>;
|
|
2861
2891
|
}];
|
|
2862
2892
|
/**
|
|
2863
|
-
* List skills
|
|
2893
|
+
* List and search skills
|
|
2864
2894
|
*/
|
|
2865
2895
|
export declare const skillListOptions: (options?: Options<SkillListData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Skill[], SkillListError, import("../types.gen").Skill[], [Pick<Options<SkillListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2866
2896
|
_id: string;
|
|
@@ -2884,7 +2914,7 @@ export declare const skillListOptions: (options?: Options<SkillListData>) => imp
|
|
|
2884
2914
|
};
|
|
2885
2915
|
export declare const skillListInfiniteQueryKey: (options?: Options<SkillListData>) => QueryKey<Options<SkillListData>>;
|
|
2886
2916
|
/**
|
|
2887
|
-
* List skills
|
|
2917
|
+
* List and search skills
|
|
2888
2918
|
*/
|
|
2889
2919
|
export declare const skillListInfiniteOptions: (options?: Options<SkillListData>) => import("@tanstack/react-query").UseInfiniteQueryOptions<import("../types.gen").Skill[], SkillListError, InfiniteData<import("../types.gen").Skill[], unknown>, QueryKey<Options<SkillListData>>, number | Pick<Pick<Options<SkillListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2890
2920
|
_id: string;
|
|
@@ -2910,45 +2940,13 @@ export declare const skillListInfiniteOptions: (options?: Options<SkillListData>
|
|
|
2910
2940
|
* Create a skill
|
|
2911
2941
|
*/
|
|
2912
2942
|
export declare const skillCreateMutation: (options?: Partial<Options<SkillCreateData>>) => UseMutationOptions<SkillCreateResponse, SkillCreateError, Options<SkillCreateData>>;
|
|
2913
|
-
/**
|
|
2914
|
-
* Search skills across private, org, and published tiers
|
|
2915
|
-
*/
|
|
2916
|
-
export declare const skillSearchMutation: (options?: Partial<Options<SkillSearchData>>) => UseMutationOptions<SkillSearchResponse, SkillSearchError, Options<SkillSearchData>>;
|
|
2917
|
-
export declare const skillGetBySlugQueryKey: (options: Options<SkillGetBySlugData>) => [Pick<Options<SkillGetBySlugData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2918
|
-
_id: string;
|
|
2919
|
-
_infinite?: boolean;
|
|
2920
|
-
tags?: ReadonlyArray<string>;
|
|
2921
|
-
}];
|
|
2922
|
-
/**
|
|
2923
|
-
* Get a skill by slug
|
|
2924
|
-
*/
|
|
2925
|
-
export declare const skillGetBySlugOptions: (options: Options<SkillGetBySlugData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Skill, SkillGetBySlugError, import("../types.gen").Skill, [Pick<Options<SkillGetBySlugData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2926
|
-
_id: string;
|
|
2927
|
-
_infinite?: boolean;
|
|
2928
|
-
tags?: ReadonlyArray<string>;
|
|
2929
|
-
}]>, "queryFn"> & {
|
|
2930
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Skill, [Pick<Options<SkillGetBySlugData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2931
|
-
_id: string;
|
|
2932
|
-
_infinite?: boolean;
|
|
2933
|
-
tags?: ReadonlyArray<string>;
|
|
2934
|
-
}], never> | undefined;
|
|
2935
|
-
} & {
|
|
2936
|
-
queryKey: [Pick<Options<SkillGetBySlugData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2937
|
-
_id: string;
|
|
2938
|
-
_infinite?: boolean;
|
|
2939
|
-
tags?: ReadonlyArray<string>;
|
|
2940
|
-
}] & {
|
|
2941
|
-
[dataTagSymbol]: import("../types.gen").Skill;
|
|
2942
|
-
[dataTagErrorSymbol]: SkillGetBySlugError;
|
|
2943
|
-
};
|
|
2944
|
-
};
|
|
2945
2943
|
export declare const skillGetQueryKey: (options: Options<SkillGetData>) => [Pick<Options<SkillGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2946
2944
|
_id: string;
|
|
2947
2945
|
_infinite?: boolean;
|
|
2948
2946
|
tags?: ReadonlyArray<string>;
|
|
2949
2947
|
}];
|
|
2950
2948
|
/**
|
|
2951
|
-
* Get a skill
|
|
2949
|
+
* Get a skill by ID or slug
|
|
2952
2950
|
*/
|
|
2953
2951
|
export declare const skillGetOptions: (options: Options<SkillGetData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Skill, SkillGetError, import("../types.gen").Skill, [Pick<Options<SkillGetData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
2954
2952
|
_id: string;
|
|
@@ -2980,10 +2978,14 @@ export declare const skillUpdateMutation: (options?: Partial<Options<SkillUpdate
|
|
|
2980
2978
|
export declare const skillArchiveMutation: (options?: Partial<Options<SkillArchiveData>>) => UseMutationOptions<SkillArchiveResponse, SkillArchiveError, Options<SkillArchiveData>>;
|
|
2981
2979
|
/**
|
|
2982
2980
|
* Publish a skill
|
|
2981
|
+
*
|
|
2982
|
+
* Publishing changes copyability (the skill enters the registry), not materialisation: it does NOT fan out to sandboxes. A git-backed skill's repository must be publicly cloneable (decision 11).
|
|
2983
2983
|
*/
|
|
2984
2984
|
export declare const skillPublishMutation: (options?: Partial<Options<SkillPublishData>>) => UseMutationOptions<SkillPublishResponse, SkillPublishError, Options<SkillPublishData>>;
|
|
2985
2985
|
/**
|
|
2986
2986
|
* Deprecate a skill
|
|
2987
|
+
*
|
|
2988
|
+
* Deprecation is an adoption signal only — it does NOT affect materialisation: sandboxes already tracking the skill keep receiving it. Use archive to remove a skill from sandboxes.
|
|
2987
2989
|
*/
|
|
2988
2990
|
export declare const skillDeprecateMutation: (options?: Partial<Options<SkillDeprecateData>>) => UseMutationOptions<SkillDeprecateResponse, SkillDeprecateError, Options<SkillDeprecateData>>;
|
|
2989
2991
|
/**
|
|
@@ -3005,6 +3007,8 @@ export declare const skillVersionListQueryKey: (options: Options<SkillVersionLis
|
|
|
3005
3007
|
}];
|
|
3006
3008
|
/**
|
|
3007
3009
|
* List skill versions
|
|
3010
|
+
*
|
|
3011
|
+
* Git-backed skills are versionless (GitHub owns their history) but expose one pointer row holding the git source; its version string is a placeholder, not a commit SHA.
|
|
3008
3012
|
*/
|
|
3009
3013
|
export declare const skillVersionListOptions: (options: Options<SkillVersionListData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").SkillVersion[], SkillVersionListError, import("../types.gen").SkillVersion[], [Pick<Options<SkillVersionListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
3010
3014
|
_id: string;
|
|
@@ -3029,6 +3033,8 @@ export declare const skillVersionListOptions: (options: Options<SkillVersionList
|
|
|
3029
3033
|
export declare const skillVersionListInfiniteQueryKey: (options: Options<SkillVersionListData>) => QueryKey<Options<SkillVersionListData>>;
|
|
3030
3034
|
/**
|
|
3031
3035
|
* List skill versions
|
|
3036
|
+
*
|
|
3037
|
+
* Git-backed skills are versionless (GitHub owns their history) but expose one pointer row holding the git source; its version string is a placeholder, not a commit SHA.
|
|
3032
3038
|
*/
|
|
3033
3039
|
export declare const skillVersionListInfiniteOptions: (options: Options<SkillVersionListData>) => import("@tanstack/react-query").UseInfiniteQueryOptions<import("../types.gen").SkillVersion[], SkillVersionListError, InfiniteData<import("../types.gen").SkillVersion[], unknown>, QueryKey<Options<SkillVersionListData>>, number | Pick<Pick<Options<SkillVersionListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
3034
3040
|
_id: string;
|
|
@@ -3090,26 +3096,12 @@ export declare const skillVersionDataQueryKey: (options: Options<SkillVersionDat
|
|
|
3090
3096
|
/**
|
|
3091
3097
|
* Read skill version data
|
|
3092
3098
|
*/
|
|
3093
|
-
export declare const skillVersionDataOptions: (options: Options<SkillVersionDataData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
3094
|
-
files: Array<{
|
|
3095
|
-
path: string;
|
|
3096
|
-
content: string;
|
|
3097
|
-
}>;
|
|
3098
|
-
} | {
|
|
3099
|
-
url: string;
|
|
3100
|
-
} | {
|
|
3099
|
+
export declare const skillVersionDataOptions: (options: Options<SkillVersionDataData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").SkillVersionFiles | {
|
|
3101
3100
|
type: "git";
|
|
3102
3101
|
url: string;
|
|
3103
3102
|
ref?: string;
|
|
3104
3103
|
path?: string;
|
|
3105
|
-
}, SkillVersionDataError, {
|
|
3106
|
-
files: Array<{
|
|
3107
|
-
path: string;
|
|
3108
|
-
content: string;
|
|
3109
|
-
}>;
|
|
3110
|
-
} | {
|
|
3111
|
-
url: string;
|
|
3112
|
-
} | {
|
|
3104
|
+
}, SkillVersionDataError, import("../types.gen").SkillVersionFiles | {
|
|
3113
3105
|
type: "git";
|
|
3114
3106
|
url: string;
|
|
3115
3107
|
ref?: string;
|
|
@@ -3119,14 +3111,7 @@ export declare const skillVersionDataOptions: (options: Options<SkillVersionData
|
|
|
3119
3111
|
_infinite?: boolean;
|
|
3120
3112
|
tags?: ReadonlyArray<string>;
|
|
3121
3113
|
}]>, "queryFn"> & {
|
|
3122
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
3123
|
-
files: Array<{
|
|
3124
|
-
path: string;
|
|
3125
|
-
content: string;
|
|
3126
|
-
}>;
|
|
3127
|
-
} | {
|
|
3128
|
-
url: string;
|
|
3129
|
-
} | {
|
|
3114
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").SkillVersionFiles | {
|
|
3130
3115
|
type: "git";
|
|
3131
3116
|
url: string;
|
|
3132
3117
|
ref?: string;
|
|
@@ -3142,14 +3127,7 @@ export declare const skillVersionDataOptions: (options: Options<SkillVersionData
|
|
|
3142
3127
|
_infinite?: boolean;
|
|
3143
3128
|
tags?: ReadonlyArray<string>;
|
|
3144
3129
|
}] & {
|
|
3145
|
-
[dataTagSymbol]: {
|
|
3146
|
-
files: Array<{
|
|
3147
|
-
path: string;
|
|
3148
|
-
content: string;
|
|
3149
|
-
}>;
|
|
3150
|
-
} | {
|
|
3151
|
-
url: string;
|
|
3152
|
-
} | {
|
|
3130
|
+
[dataTagSymbol]: import("../types.gen").SkillVersionFiles | {
|
|
3153
3131
|
type: "git";
|
|
3154
3132
|
url: string;
|
|
3155
3133
|
ref?: string;
|
|
@@ -2515,6 +2515,24 @@ export const projectSkillAddMutation = (options) => {
|
|
|
2515
2515
|
};
|
|
2516
2516
|
return mutationOptions;
|
|
2517
2517
|
};
|
|
2518
|
+
export const projectSkillResolutionQueryKey = (options) => createQueryKey("projectSkillResolution", options);
|
|
2519
|
+
/**
|
|
2520
|
+
* Resolve the one version served per skill in this project, with pin-conflict warnings
|
|
2521
|
+
*
|
|
2522
|
+
* The server resolves one version per skill per project — highest live version wins (decision 5). When a bound pin loses, it is reported here as a warning (never an error at bind time): a pin can lose later when someone publishes a newer version, so there is no request to reject at that moment.
|
|
2523
|
+
*/
|
|
2524
|
+
export const projectSkillResolutionOptions = (options) => queryOptions({
|
|
2525
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
2526
|
+
const { data } = await RenClient.__registry.get().project.skill.resolution({
|
|
2527
|
+
...options,
|
|
2528
|
+
...queryKey[0],
|
|
2529
|
+
signal,
|
|
2530
|
+
throwOnError: true,
|
|
2531
|
+
});
|
|
2532
|
+
return data;
|
|
2533
|
+
},
|
|
2534
|
+
queryKey: projectSkillResolutionQueryKey(options),
|
|
2535
|
+
});
|
|
2518
2536
|
/**
|
|
2519
2537
|
* Detach a skill from a project
|
|
2520
2538
|
*/
|
|
@@ -3104,7 +3122,7 @@ export const sessionFilesPresignDownloadMutation = (options) => {
|
|
|
3104
3122
|
};
|
|
3105
3123
|
export const skillListQueryKey = (options) => createQueryKey("skillList", options);
|
|
3106
3124
|
/**
|
|
3107
|
-
* List skills
|
|
3125
|
+
* List and search skills
|
|
3108
3126
|
*/
|
|
3109
3127
|
export const skillListOptions = (options) => queryOptions({
|
|
3110
3128
|
queryFn: async ({ queryKey, signal }) => {
|
|
@@ -3120,7 +3138,7 @@ export const skillListOptions = (options) => queryOptions({
|
|
|
3120
3138
|
});
|
|
3121
3139
|
export const skillListInfiniteQueryKey = (options) => createQueryKey("skillList", options, true);
|
|
3122
3140
|
/**
|
|
3123
|
-
* List skills
|
|
3141
|
+
* List and search skills
|
|
3124
3142
|
*/
|
|
3125
3143
|
export const skillListInfiniteOptions = (options) => infiniteQueryOptions(
|
|
3126
3144
|
// @ts-ignore
|
|
@@ -3161,41 +3179,9 @@ export const skillCreateMutation = (options) => {
|
|
|
3161
3179
|
};
|
|
3162
3180
|
return mutationOptions;
|
|
3163
3181
|
};
|
|
3164
|
-
/**
|
|
3165
|
-
* Search skills across private, org, and published tiers
|
|
3166
|
-
*/
|
|
3167
|
-
export const skillSearchMutation = (options) => {
|
|
3168
|
-
const mutationOptions = {
|
|
3169
|
-
mutationFn: async (fnOptions) => {
|
|
3170
|
-
const { data } = await RenClient.__registry.get().skill.search({
|
|
3171
|
-
...options,
|
|
3172
|
-
...fnOptions,
|
|
3173
|
-
throwOnError: true,
|
|
3174
|
-
});
|
|
3175
|
-
return data;
|
|
3176
|
-
},
|
|
3177
|
-
};
|
|
3178
|
-
return mutationOptions;
|
|
3179
|
-
};
|
|
3180
|
-
export const skillGetBySlugQueryKey = (options) => createQueryKey("skillGetBySlug", options);
|
|
3181
|
-
/**
|
|
3182
|
-
* Get a skill by slug
|
|
3183
|
-
*/
|
|
3184
|
-
export const skillGetBySlugOptions = (options) => queryOptions({
|
|
3185
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
3186
|
-
const { data } = await RenClient.__registry.get().skill.getBySlug({
|
|
3187
|
-
...options,
|
|
3188
|
-
...queryKey[0],
|
|
3189
|
-
signal,
|
|
3190
|
-
throwOnError: true,
|
|
3191
|
-
});
|
|
3192
|
-
return data;
|
|
3193
|
-
},
|
|
3194
|
-
queryKey: skillGetBySlugQueryKey(options),
|
|
3195
|
-
});
|
|
3196
3182
|
export const skillGetQueryKey = (options) => createQueryKey("skillGet", options);
|
|
3197
3183
|
/**
|
|
3198
|
-
* Get a skill
|
|
3184
|
+
* Get a skill by ID or slug
|
|
3199
3185
|
*/
|
|
3200
3186
|
export const skillGetOptions = (options) => queryOptions({
|
|
3201
3187
|
queryFn: async ({ queryKey, signal }) => {
|
|
@@ -3243,6 +3229,8 @@ export const skillArchiveMutation = (options) => {
|
|
|
3243
3229
|
};
|
|
3244
3230
|
/**
|
|
3245
3231
|
* Publish a skill
|
|
3232
|
+
*
|
|
3233
|
+
* Publishing changes copyability (the skill enters the registry), not materialisation: it does NOT fan out to sandboxes. A git-backed skill's repository must be publicly cloneable (decision 11).
|
|
3246
3234
|
*/
|
|
3247
3235
|
export const skillPublishMutation = (options) => {
|
|
3248
3236
|
const mutationOptions = {
|
|
@@ -3259,6 +3247,8 @@ export const skillPublishMutation = (options) => {
|
|
|
3259
3247
|
};
|
|
3260
3248
|
/**
|
|
3261
3249
|
* Deprecate a skill
|
|
3250
|
+
*
|
|
3251
|
+
* Deprecation is an adoption signal only — it does NOT affect materialisation: sandboxes already tracking the skill keep receiving it. Use archive to remove a skill from sandboxes.
|
|
3262
3252
|
*/
|
|
3263
3253
|
export const skillDeprecateMutation = (options) => {
|
|
3264
3254
|
const mutationOptions = {
|
|
@@ -3324,6 +3314,8 @@ export const skillPromoteMutation = (options) => {
|
|
|
3324
3314
|
export const skillVersionListQueryKey = (options) => createQueryKey("skillVersionList", options);
|
|
3325
3315
|
/**
|
|
3326
3316
|
* List skill versions
|
|
3317
|
+
*
|
|
3318
|
+
* Git-backed skills are versionless (GitHub owns their history) but expose one pointer row holding the git source; its version string is a placeholder, not a commit SHA.
|
|
3327
3319
|
*/
|
|
3328
3320
|
export const skillVersionListOptions = (options) => queryOptions({
|
|
3329
3321
|
queryFn: async ({ queryKey, signal }) => {
|
|
@@ -3340,6 +3332,8 @@ export const skillVersionListOptions = (options) => queryOptions({
|
|
|
3340
3332
|
export const skillVersionListInfiniteQueryKey = (options) => createQueryKey("skillVersionList", options, true);
|
|
3341
3333
|
/**
|
|
3342
3334
|
* List skill versions
|
|
3335
|
+
*
|
|
3336
|
+
* Git-backed skills are versionless (GitHub owns their history) but expose one pointer row holding the git source; its version string is a placeholder, not a commit SHA.
|
|
3343
3337
|
*/
|
|
3344
3338
|
export const skillVersionListInfiniteOptions = (options) => infiniteQueryOptions(
|
|
3345
3339
|
// @ts-ignore
|
|
@@ -53,25 +53,6 @@ export type SandboxMountedVolume = {
|
|
|
53
53
|
endpoint: string | null;
|
|
54
54
|
creds: SandboxVolumeCreds;
|
|
55
55
|
};
|
|
56
|
-
export type SandboxManifestProjectSkillSource = {
|
|
57
|
-
type: "s3";
|
|
58
|
-
presignedUrl: string;
|
|
59
|
-
} | {
|
|
60
|
-
type: "git";
|
|
61
|
-
url: string;
|
|
62
|
-
ref?: string;
|
|
63
|
-
path?: string;
|
|
64
|
-
};
|
|
65
|
-
export type SandboxManifestProjectSkillVersion = {
|
|
66
|
-
versionId: string;
|
|
67
|
-
version: string;
|
|
68
|
-
source: SandboxManifestProjectSkillSource | null;
|
|
69
|
-
};
|
|
70
|
-
export type SandboxManifestProjectSkill = {
|
|
71
|
-
skillId: string;
|
|
72
|
-
skillSlug: string;
|
|
73
|
-
versions: Array<SandboxManifestProjectSkillVersion>;
|
|
74
|
-
};
|
|
75
56
|
export type PermissionConfig = {
|
|
76
57
|
__originalKeys?: Array<string>;
|
|
77
58
|
read?: "allow" | "deny" | "ask" | {
|
|
@@ -144,13 +125,21 @@ export type SandboxManifestProject = {
|
|
|
144
125
|
[key: string]: unknown;
|
|
145
126
|
};
|
|
146
127
|
instructions?: string;
|
|
147
|
-
|
|
128
|
+
/**
|
|
129
|
+
* Menu base path (`projects/<projectId>`) under the skill-serve token root.
|
|
130
|
+
*/
|
|
131
|
+
skillMenuPath?: string;
|
|
148
132
|
volumes: Array<SandboxMountedVolume>;
|
|
149
133
|
};
|
|
150
134
|
export type SandboxTokenResponse = {
|
|
151
135
|
token: string;
|
|
152
136
|
expiresAt: string;
|
|
153
137
|
tokenId: string;
|
|
138
|
+
/**
|
|
139
|
+
* Skill-read token rotated alongside the session token; replaces any prior one for this sandbox.
|
|
140
|
+
*/
|
|
141
|
+
skillReadToken: string;
|
|
142
|
+
skillReadExpiresAt: string;
|
|
154
143
|
};
|
|
155
144
|
export type WebsiteMetadata = {
|
|
156
145
|
title?: string;
|
|
@@ -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, AgentPromoteData, AgentPromoteErrors, AgentPromoteResponses, AgentPublishData, AgentPublishErrors, AgentPublishResponses, AgentSearchData, AgentSearchErrors, AgentSearchResponses, AgentUndeprecateData, AgentUndeprecateErrors, AgentUndeprecateResponses, AgentUpdateData, AgentUpdateErrors, AgentUpdateResponses, AgentVersionArchiveData, AgentVersionArchiveErrors, AgentVersionArchiveResponses, AgentVersionCreateData, AgentVersionCreateErrors, AgentVersionCreateResponses, AgentVersionGetData, AgentVersionGetErrors, AgentVersionGetResponses, AgentVersionListData, AgentVersionListErrors, AgentVersionListResponses, BillingCancelData, BillingCancelErrors, BillingCancelResponses, BillingChangePlanData, BillingChangePlanErrors, BillingChangePlanResponses, BillingGetData, BillingGetErrors, BillingGetResponses, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlErrors, BillingInvoicePaymentUrlResponses, BillingInvoicesData, BillingInvoicesErrors, BillingInvoicesResponses, BillingPlansData, BillingPlansErrors, BillingPlansResponses, BillingPortalData, BillingPortalErrors, BillingPortalResponses, BillingSubscribeData, BillingSubscribeErrors, BillingSubscribeResponses, BillingUsageData, BillingUsageErrors, BillingUsageResponses, BlueprintArchiveData, BlueprintArchiveErrors, BlueprintArchiveResponses, BlueprintCreateData, BlueprintCreateErrors, BlueprintCreateResponses, BlueprintDeprecateData, BlueprintDeprecateErrors, BlueprintDeprecateResponses, BlueprintGetData, BlueprintGetErrors, BlueprintGetResponses, BlueprintInstallData, BlueprintInstallErrors, BlueprintInstallResponses, BlueprintListData, BlueprintListErrors, BlueprintListResponses, BlueprintPublishData, BlueprintPublishErrors, BlueprintPublishResponses, BlueprintPushData, BlueprintPushErrors, BlueprintPushResponses, 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, CredentialTransferData, CredentialTransferErrors, CredentialTransferResponses, CredentialUpdateData, CredentialUpdateErrors, CredentialUpdateResponses, DashboardGetData, DashboardGetErrors, DashboardGetResponses, EmailListData, EmailListErrors, EmailListResponses, EmailSetData, EmailSetErrors, EmailSetResponses, EmailUnsetData, EmailUnsetErrors, EmailUnsetResponses, 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, GithubConnectData, GithubConnectErrors, GithubConnectResponses, GithubInstallData, GithubInstallErrors, GithubInstallResponses, GithubMappingSetData, GithubMappingSetErrors, GithubMappingSetResponses, GithubMappingsListData, GithubMappingsListErrors, GithubMappingsListResponses, GithubMappingUnsetData, GithubMappingUnsetErrors, GithubMappingUnsetResponses, GithubReposData, GithubReposErrors, GithubReposResponses, GithubStatusData, GithubStatusErrors, GithubStatusResponses, GithubUninstallData, GithubUninstallErrors, GithubUninstallResponses, GoogleConfigDeleteData, GoogleConfigDeleteErrors, GoogleConfigDeleteResponses, GoogleConfigSaveData, GoogleConfigSaveErrors, GoogleConfigSaveResponses, GoogleConnectData, GoogleConnectErrors, GoogleConnectResponses, GoogleDisconnectData, GoogleDisconnectErrors, GoogleDisconnectResponses, GoogleStatusData, GoogleStatusErrors, GoogleStatusResponses, InvitationPreviewData, InvitationPreviewResponses, LinearInstallData, LinearInstallErrors, LinearInstallResponses, LinearMappingsCreateData, LinearMappingsCreateErrors, LinearMappingsCreateResponses, LinearMappingsListData, LinearMappingsListErrors, LinearMappingsListResponses, LinearMappingsRemoveData, LinearMappingsRemoveErrors, LinearMappingsRemoveResponses, LinearProjectsData, LinearProjectsErrors, LinearProjectsResponses, LinearStatusData, LinearStatusErrors, LinearStatusResponses, LinearUninstallData, LinearUninstallErrors, LinearUninstallResponses, McpArchiveData, McpArchiveErrors, McpArchiveResponses, McpCreateData, McpCreateErrors, McpCreateResponses, McpDeprecateData, McpDeprecateErrors, McpDeprecateResponses, McpGetBySlugData, McpGetBySlugErrors, McpGetBySlugResponses, McpGetData, McpGetErrors, McpGetResponses, McpListData, McpListErrors, McpListResponses, McpOauthConnectData, McpOauthConnectErrors, McpOauthConnectResponses, McpOauthSessionData, McpOauthSessionErrors, McpOauthSessionResponses, McpPromoteData, McpPromoteErrors, McpPromoteResponses, McpPublishData, McpPublishErrors, McpPublishResponses, McpSearchData, McpSearchErrors, McpSearchResponses, McpUndeprecateData, McpUndeprecateErrors, McpUndeprecateResponses, McpUpdateData, McpUpdateErrors, McpUpdateResponses, MeCompleteOnboardingData, MeCompleteOnboardingErrors, MeCompleteOnboardingResponses, 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, MeUpdatePersonaData, MeUpdatePersonaErrors, MeUpdatePersonaResponses, ModelListData, ModelListResponses, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgErrors, OnboardingSetupPersonalOrgResponses, OnboardingStartData, OnboardingStartErrors, OnboardingStartResponses, OrganizationLogoUploadData, OrganizationLogoUploadErrors, OrganizationLogoUploadResponses, OrgGetData, OrgGetErrors, OrgGetResponses, OrgUpdateData, OrgUpdateErrors, OrgUpdateResponses, 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, PodSandboxTeardownData, PodSandboxTeardownErrors, PodSandboxTeardownResponses, PodUpdateData, PodUpdateErrors, PodUpdateResponses, PodUsageData, PodUsageErrors, PodUsageResponses, PodVaultAddData, PodVaultAddErrors, PodVaultAddResponses, PodVaultListData, PodVaultListErrors, PodVaultListResponses, PodVaultRemoveData, PodVaultRemoveErrors, PodVaultRemoveResponses, ProjectAgentAddData, ProjectAgentAddErrors, ProjectAgentAddResponses, ProjectAgentListData, ProjectAgentListErrors, ProjectAgentListResponses, ProjectAgentRemoveData, ProjectAgentRemoveErrors, ProjectAgentRemoveResponses, ProjectAgentUpdateData, ProjectAgentUpdateErrors, ProjectAgentUpdateResponses, ProjectArchiveData, ProjectArchiveErrors, ProjectArchiveResponses, ProjectCreateData, ProjectCreateErrors, ProjectCreateResponses, ProjectFileStoreAddData, ProjectFileStoreAddErrors, ProjectFileStoreAddResponses, ProjectFileStoreListData, ProjectFileStoreListErrors, ProjectFileStoreListResponses, ProjectFileStoreRemoveData, ProjectFileStoreRemoveErrors, ProjectFileStoreRemoveResponses, ProjectGetData, ProjectGetErrors, ProjectGetResponses, ProjectListData, ProjectListErrors, ProjectListResponses, ProjectMcpAddData, ProjectMcpAddErrors, ProjectMcpAddResponses, ProjectMcpListData, ProjectMcpListErrors, ProjectMcpListResponses, ProjectMcpRemoveData, ProjectMcpRemoveErrors, ProjectMcpRemoveResponses, ProjectMemoryStoreAddData, ProjectMemoryStoreAddErrors, ProjectMemoryStoreAddResponses, ProjectMemoryStoreListData, ProjectMemoryStoreListErrors, ProjectMemoryStoreListResponses, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveErrors, ProjectMemoryStoreRemoveResponses, ProjectSkillAddData, ProjectSkillAddErrors, ProjectSkillAddResponses, ProjectSkillListData, ProjectSkillListErrors, ProjectSkillListResponses, ProjectSkillRemoveData, ProjectSkillRemoveErrors, ProjectSkillRemoveResponses, ProjectUpdateData, ProjectUpdateErrors, ProjectUpdateResponses, ProjectUsageData, ProjectUsageErrors, ProjectUsageResponses, 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, RegistryPublisherGetData, RegistryPublisherGetErrors, RegistryPublisherGetResponses, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadErrors, RegistryReplayFilesPresignDownloadResponses, RegistryReplayGetData, RegistryReplayGetErrors, RegistryReplayGetResponses, RegistryReplaySharedFilesPresignDownloadData, RegistryReplaySharedFilesPresignDownloadErrors, RegistryReplaySharedFilesPresignDownloadResponses, RegistryReplaySharedGetData, RegistryReplaySharedGetErrors, RegistryReplaySharedGetResponses, RegistrySkillGetData, RegistrySkillGetErrors, RegistrySkillGetResponses, RegistrySkillListData, RegistrySkillListErrors, RegistrySkillListResponses, RegistryTopologyShareGetData, RegistryTopologyShareGetErrors, RegistryTopologyShareGetResponses, 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, SessionCreateStatusData, SessionCreateStatusErrors, SessionCreateStatusResponses, SessionFilesPresignDownloadData, SessionFilesPresignDownloadErrors, SessionFilesPresignDownloadResponses, SessionFilesPresignUploadData, SessionFilesPresignUploadErrors, SessionFilesPresignUploadResponses, SessionGetData, SessionGetErrors, SessionGetResponses, SessionListData, SessionListErrors, SessionListResponses, SessionMessagesListData, SessionMessagesListErrors, SessionMessagesListResponses, SessionTracesListData, SessionTracesListErrors, SessionTracesListResponses, SessionUpdateData, SessionUpdateErrors, SessionUpdateResponses, SessionUrlData, SessionUrlErrors, SessionUrlResponses, SessionUsageData, SessionUsageErrors, SessionUsageResponses, SkillArchiveData, SkillArchiveErrors, SkillArchiveResponses, SkillCopyData, SkillCopyErrors, SkillCopyResponses, SkillCreateData, SkillCreateErrors, SkillCreateResponses, SkillDeprecateData, SkillDeprecateErrors, SkillDeprecateResponses, SkillGetBySlugData, SkillGetBySlugErrors, SkillGetBySlugResponses, SkillGetData, SkillGetErrors, SkillGetResponses, SkillListData, SkillListErrors, SkillListResponses, SkillPromoteData, SkillPromoteErrors, SkillPromoteResponses, 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, SlackChannelListData, SlackChannelListErrors, SlackChannelListResponses, SlackChannelSetData, SlackChannelSetErrors, SlackChannelSetResponses, SlackChannelUnsetData, SlackChannelUnsetErrors, SlackChannelUnsetResponses, SlackInstallData, SlackInstallErrors, SlackInstallResponses, SlackOnboardingResolveData, SlackOnboardingResolveErrors, SlackOnboardingResolveResponses, SlackStatusData, SlackStatusErrors, SlackStatusResponses, SlackUninstallData, SlackUninstallErrors, SlackUninstallResponses, TelegramChatListData, TelegramChatListErrors, TelegramChatListResponses, TelegramChatSetData, TelegramChatSetErrors, TelegramChatSetResponses, TelegramChatUnsetData, TelegramChatUnsetErrors, TelegramChatUnsetResponses, TelegramClaimCodeData, TelegramClaimCodeErrors, TelegramClaimCodeResponses, TelegramLinkCodeData, TelegramLinkCodeErrors, TelegramLinkCodeResponses, TelegramMeData, TelegramMeErrors, TelegramMeResponses, TelegramUnlinkData, TelegramUnlinkErrors, TelegramUnlinkResponses, TopologyGetData, TopologyGetErrors, TopologyGetResponses, TopologyShareArchiveData, TopologyShareArchiveErrors, TopologyShareArchiveResponses, TopologyShareCreateData, TopologyShareCreateErrors, TopologyShareCreateResponses, TopologyShareListData, TopologyShareListErrors, TopologyShareListResponses, 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, AgentPromoteData, AgentPromoteErrors, AgentPromoteResponses, AgentPublishData, AgentPublishErrors, AgentPublishResponses, AgentSearchData, AgentSearchErrors, AgentSearchResponses, AgentUndeprecateData, AgentUndeprecateErrors, AgentUndeprecateResponses, AgentUpdateData, AgentUpdateErrors, AgentUpdateResponses, AgentVersionArchiveData, AgentVersionArchiveErrors, AgentVersionArchiveResponses, AgentVersionCreateData, AgentVersionCreateErrors, AgentVersionCreateResponses, AgentVersionGetData, AgentVersionGetErrors, AgentVersionGetResponses, AgentVersionListData, AgentVersionListErrors, AgentVersionListResponses, BillingCancelData, BillingCancelErrors, BillingCancelResponses, BillingChangePlanData, BillingChangePlanErrors, BillingChangePlanResponses, BillingGetData, BillingGetErrors, BillingGetResponses, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlErrors, BillingInvoicePaymentUrlResponses, BillingInvoicesData, BillingInvoicesErrors, BillingInvoicesResponses, BillingPlansData, BillingPlansErrors, BillingPlansResponses, BillingPortalData, BillingPortalErrors, BillingPortalResponses, BillingSubscribeData, BillingSubscribeErrors, BillingSubscribeResponses, BillingUsageData, BillingUsageErrors, BillingUsageResponses, BlueprintArchiveData, BlueprintArchiveErrors, BlueprintArchiveResponses, BlueprintCreateData, BlueprintCreateErrors, BlueprintCreateResponses, BlueprintDeprecateData, BlueprintDeprecateErrors, BlueprintDeprecateResponses, BlueprintGetData, BlueprintGetErrors, BlueprintGetResponses, BlueprintInstallData, BlueprintInstallErrors, BlueprintInstallResponses, BlueprintListData, BlueprintListErrors, BlueprintListResponses, BlueprintPublishData, BlueprintPublishErrors, BlueprintPublishResponses, BlueprintPushData, BlueprintPushErrors, BlueprintPushResponses, 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, CredentialTransferData, CredentialTransferErrors, CredentialTransferResponses, CredentialUpdateData, CredentialUpdateErrors, CredentialUpdateResponses, DashboardGetData, DashboardGetErrors, DashboardGetResponses, EmailListData, EmailListErrors, EmailListResponses, EmailSetData, EmailSetErrors, EmailSetResponses, EmailUnsetData, EmailUnsetErrors, EmailUnsetResponses, 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, GithubConnectData, GithubConnectErrors, GithubConnectResponses, GithubInstallData, GithubInstallErrors, GithubInstallResponses, GithubMappingSetData, GithubMappingSetErrors, GithubMappingSetResponses, GithubMappingsListData, GithubMappingsListErrors, GithubMappingsListResponses, GithubMappingUnsetData, GithubMappingUnsetErrors, GithubMappingUnsetResponses, GithubReposData, GithubReposErrors, GithubReposResponses, GithubStatusData, GithubStatusErrors, GithubStatusResponses, GithubUninstallData, GithubUninstallErrors, GithubUninstallResponses, GoogleConfigDeleteData, GoogleConfigDeleteErrors, GoogleConfigDeleteResponses, GoogleConfigSaveData, GoogleConfigSaveErrors, GoogleConfigSaveResponses, GoogleConnectData, GoogleConnectErrors, GoogleConnectResponses, GoogleDisconnectData, GoogleDisconnectErrors, GoogleDisconnectResponses, GoogleStatusData, GoogleStatusErrors, GoogleStatusResponses, InvitationPreviewData, InvitationPreviewResponses, LinearInstallData, LinearInstallErrors, LinearInstallResponses, LinearMappingsCreateData, LinearMappingsCreateErrors, LinearMappingsCreateResponses, LinearMappingsListData, LinearMappingsListErrors, LinearMappingsListResponses, LinearMappingsRemoveData, LinearMappingsRemoveErrors, LinearMappingsRemoveResponses, LinearProjectsData, LinearProjectsErrors, LinearProjectsResponses, LinearStatusData, LinearStatusErrors, LinearStatusResponses, LinearUninstallData, LinearUninstallErrors, LinearUninstallResponses, McpArchiveData, McpArchiveErrors, McpArchiveResponses, McpCreateData, McpCreateErrors, McpCreateResponses, McpDeprecateData, McpDeprecateErrors, McpDeprecateResponses, McpGetBySlugData, McpGetBySlugErrors, McpGetBySlugResponses, McpGetData, McpGetErrors, McpGetResponses, McpListData, McpListErrors, McpListResponses, McpOauthConnectData, McpOauthConnectErrors, McpOauthConnectResponses, McpOauthSessionData, McpOauthSessionErrors, McpOauthSessionResponses, McpPromoteData, McpPromoteErrors, McpPromoteResponses, McpPublishData, McpPublishErrors, McpPublishResponses, McpSearchData, McpSearchErrors, McpSearchResponses, McpUndeprecateData, McpUndeprecateErrors, McpUndeprecateResponses, McpUpdateData, McpUpdateErrors, McpUpdateResponses, MeCompleteOnboardingData, MeCompleteOnboardingErrors, MeCompleteOnboardingResponses, 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, MeUpdatePersonaData, MeUpdatePersonaErrors, MeUpdatePersonaResponses, ModelListData, ModelListResponses, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgErrors, OnboardingSetupPersonalOrgResponses, OnboardingStartData, OnboardingStartErrors, OnboardingStartResponses, OrganizationLogoUploadData, OrganizationLogoUploadErrors, OrganizationLogoUploadResponses, OrgGetData, OrgGetErrors, OrgGetResponses, OrgUpdateData, OrgUpdateErrors, OrgUpdateResponses, 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, PodSandboxTeardownData, PodSandboxTeardownErrors, PodSandboxTeardownResponses, PodUpdateData, PodUpdateErrors, PodUpdateResponses, PodUsageData, PodUsageErrors, PodUsageResponses, PodVaultAddData, PodVaultAddErrors, PodVaultAddResponses, PodVaultListData, PodVaultListErrors, PodVaultListResponses, PodVaultRemoveData, PodVaultRemoveErrors, PodVaultRemoveResponses, ProjectAgentAddData, ProjectAgentAddErrors, ProjectAgentAddResponses, ProjectAgentListData, ProjectAgentListErrors, ProjectAgentListResponses, ProjectAgentRemoveData, ProjectAgentRemoveErrors, ProjectAgentRemoveResponses, ProjectAgentUpdateData, ProjectAgentUpdateErrors, ProjectAgentUpdateResponses, ProjectArchiveData, ProjectArchiveErrors, ProjectArchiveResponses, ProjectCreateData, ProjectCreateErrors, ProjectCreateResponses, ProjectFileStoreAddData, ProjectFileStoreAddErrors, ProjectFileStoreAddResponses, ProjectFileStoreListData, ProjectFileStoreListErrors, ProjectFileStoreListResponses, ProjectFileStoreRemoveData, ProjectFileStoreRemoveErrors, ProjectFileStoreRemoveResponses, ProjectGetData, ProjectGetErrors, ProjectGetResponses, ProjectListData, ProjectListErrors, ProjectListResponses, ProjectMcpAddData, ProjectMcpAddErrors, ProjectMcpAddResponses, ProjectMcpListData, ProjectMcpListErrors, ProjectMcpListResponses, ProjectMcpRemoveData, ProjectMcpRemoveErrors, ProjectMcpRemoveResponses, ProjectMemoryStoreAddData, ProjectMemoryStoreAddErrors, ProjectMemoryStoreAddResponses, ProjectMemoryStoreListData, ProjectMemoryStoreListErrors, ProjectMemoryStoreListResponses, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveErrors, ProjectMemoryStoreRemoveResponses, ProjectSkillAddData, ProjectSkillAddErrors, ProjectSkillAddResponses, ProjectSkillListData, ProjectSkillListErrors, ProjectSkillListResponses, ProjectSkillRemoveData, ProjectSkillRemoveErrors, ProjectSkillRemoveResponses, ProjectSkillResolutionData, ProjectSkillResolutionErrors, ProjectSkillResolutionResponses, ProjectUpdateData, ProjectUpdateErrors, ProjectUpdateResponses, ProjectUsageData, ProjectUsageErrors, ProjectUsageResponses, 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, RegistryPublisherGetData, RegistryPublisherGetErrors, RegistryPublisherGetResponses, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadErrors, RegistryReplayFilesPresignDownloadResponses, RegistryReplayGetData, RegistryReplayGetErrors, RegistryReplayGetResponses, RegistryReplaySharedFilesPresignDownloadData, RegistryReplaySharedFilesPresignDownloadErrors, RegistryReplaySharedFilesPresignDownloadResponses, RegistryReplaySharedGetData, RegistryReplaySharedGetErrors, RegistryReplaySharedGetResponses, RegistrySkillGetData, RegistrySkillGetErrors, RegistrySkillGetResponses, RegistrySkillListData, RegistrySkillListErrors, RegistrySkillListResponses, RegistryTopologyShareGetData, RegistryTopologyShareGetErrors, RegistryTopologyShareGetResponses, 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, SessionCreateStatusData, SessionCreateStatusErrors, SessionCreateStatusResponses, SessionFilesPresignDownloadData, SessionFilesPresignDownloadErrors, SessionFilesPresignDownloadResponses, SessionFilesPresignUploadData, SessionFilesPresignUploadErrors, SessionFilesPresignUploadResponses, SessionGetData, SessionGetErrors, SessionGetResponses, SessionListData, SessionListErrors, SessionListResponses, SessionMessagesListData, SessionMessagesListErrors, SessionMessagesListResponses, SessionTracesListData, SessionTracesListErrors, SessionTracesListResponses, SessionUpdateData, SessionUpdateErrors, SessionUpdateResponses, SessionUrlData, SessionUrlErrors, SessionUrlResponses, SessionUsageData, SessionUsageErrors, SessionUsageResponses, SkillArchiveData, SkillArchiveErrors, SkillArchiveResponses, SkillCopyData, SkillCopyErrors, SkillCopyResponses, SkillCreateData, SkillCreateErrors, SkillCreateResponses, SkillDeprecateData, SkillDeprecateErrors, SkillDeprecateResponses, SkillGetData, SkillGetErrors, SkillGetResponses, SkillListData, SkillListErrors, SkillListResponses, SkillPromoteData, SkillPromoteErrors, SkillPromoteResponses, SkillPublishData, SkillPublishErrors, SkillPublishResponses, SkillUndeprecateData, SkillUndeprecateErrors, SkillUndeprecateResponses, SkillUpdateData, SkillUpdateErrors, SkillUpdateResponses, SkillVersionArchiveData, SkillVersionArchiveErrors, SkillVersionArchiveResponses, SkillVersionCreateData, SkillVersionCreateErrors, SkillVersionCreateResponses, SkillVersionDataData, SkillVersionDataErrors, SkillVersionDataResponses, SkillVersionGetData, SkillVersionGetErrors, SkillVersionGetResponses, SkillVersionListData, SkillVersionListErrors, SkillVersionListResponses, SlackChannelListData, SlackChannelListErrors, SlackChannelListResponses, SlackChannelSetData, SlackChannelSetErrors, SlackChannelSetResponses, SlackChannelUnsetData, SlackChannelUnsetErrors, SlackChannelUnsetResponses, SlackInstallData, SlackInstallErrors, SlackInstallResponses, SlackOnboardingResolveData, SlackOnboardingResolveErrors, SlackOnboardingResolveResponses, SlackStatusData, SlackStatusErrors, SlackStatusResponses, SlackUninstallData, SlackUninstallErrors, SlackUninstallResponses, TelegramChatListData, TelegramChatListErrors, TelegramChatListResponses, TelegramChatSetData, TelegramChatSetErrors, TelegramChatSetResponses, TelegramChatUnsetData, TelegramChatUnsetErrors, TelegramChatUnsetResponses, TelegramClaimCodeData, TelegramClaimCodeErrors, TelegramClaimCodeResponses, TelegramLinkCodeData, TelegramLinkCodeErrors, TelegramLinkCodeResponses, TelegramMeData, TelegramMeErrors, TelegramMeResponses, TelegramUnlinkData, TelegramUnlinkErrors, TelegramUnlinkResponses, TopologyGetData, TopologyGetErrors, TopologyGetResponses, TopologyShareArchiveData, TopologyShareArchiveErrors, TopologyShareArchiveResponses, TopologyShareCreateData, TopologyShareCreateErrors, TopologyShareCreateResponses, TopologyShareListData, TopologyShareListErrors, TopologyShareListResponses, 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
|
|
@@ -634,6 +634,12 @@ export declare class Skill extends HeyApiClient {
|
|
|
634
634
|
* Attach a skill to a project
|
|
635
635
|
*/
|
|
636
636
|
add<ThrowOnError extends boolean = false>(options: Options<ProjectSkillAddData, ThrowOnError>): import("./client").RequestResult<ProjectSkillAddResponses, ProjectSkillAddErrors, ThrowOnError, "fields">;
|
|
637
|
+
/**
|
|
638
|
+
* Resolve the one version served per skill in this project, with pin-conflict warnings
|
|
639
|
+
*
|
|
640
|
+
* The server resolves one version per skill per project — highest live version wins (decision 5). When a bound pin loses, it is reported here as a warning (never an error at bind time): a pin can lose later when someone publishes a newer version, so there is no request to reject at that moment.
|
|
641
|
+
*/
|
|
642
|
+
resolution<ThrowOnError extends boolean = false>(options: Options<ProjectSkillResolutionData, ThrowOnError>): import("./client").RequestResult<ProjectSkillResolutionResponses, ProjectSkillResolutionErrors, ThrowOnError, "fields">;
|
|
637
643
|
/**
|
|
638
644
|
* Detach a skill from a project
|
|
639
645
|
*/
|
|
@@ -824,6 +830,8 @@ export declare class Session extends HeyApiClient {
|
|
|
824
830
|
export declare class Version2 extends HeyApiClient {
|
|
825
831
|
/**
|
|
826
832
|
* List skill versions
|
|
833
|
+
*
|
|
834
|
+
* Git-backed skills are versionless (GitHub owns their history) but expose one pointer row holding the git source; its version string is a placeholder, not a commit SHA.
|
|
827
835
|
*/
|
|
828
836
|
list<ThrowOnError extends boolean = false>(options: Options<SkillVersionListData, ThrowOnError>): import("./client").RequestResult<SkillVersionListResponses, SkillVersionListErrors, ThrowOnError, "fields">;
|
|
829
837
|
/**
|
|
@@ -845,23 +853,15 @@ export declare class Version2 extends HeyApiClient {
|
|
|
845
853
|
}
|
|
846
854
|
export declare class Skill2 extends HeyApiClient {
|
|
847
855
|
/**
|
|
848
|
-
* List skills
|
|
856
|
+
* List and search skills
|
|
849
857
|
*/
|
|
850
858
|
list<ThrowOnError extends boolean = false>(options?: Options<SkillListData, ThrowOnError>): import("./client").RequestResult<SkillListResponses, SkillListErrors, ThrowOnError, "fields">;
|
|
851
859
|
/**
|
|
852
860
|
* Create a skill
|
|
853
861
|
*/
|
|
854
|
-
create<ThrowOnError extends boolean = false>(options
|
|
855
|
-
/**
|
|
856
|
-
* Search skills across private, org, and published tiers
|
|
857
|
-
*/
|
|
858
|
-
search<ThrowOnError extends boolean = false>(options?: Options<SkillSearchData, ThrowOnError>): import("./client").RequestResult<SkillSearchResponses, SkillSearchErrors, ThrowOnError, "fields">;
|
|
859
|
-
/**
|
|
860
|
-
* Get a skill by slug
|
|
861
|
-
*/
|
|
862
|
-
getBySlug<ThrowOnError extends boolean = false>(options: Options<SkillGetBySlugData, ThrowOnError>): import("./client").RequestResult<SkillGetBySlugResponses, SkillGetBySlugErrors, ThrowOnError, "fields">;
|
|
862
|
+
create<ThrowOnError extends boolean = false>(options?: Options<SkillCreateData, ThrowOnError>): import("./client").RequestResult<SkillCreateResponses, SkillCreateErrors, ThrowOnError, "fields">;
|
|
863
863
|
/**
|
|
864
|
-
* Get a skill
|
|
864
|
+
* Get a skill by ID or slug
|
|
865
865
|
*/
|
|
866
866
|
get<ThrowOnError extends boolean = false>(options: Options<SkillGetData, ThrowOnError>): import("./client").RequestResult<SkillGetResponses, SkillGetErrors, ThrowOnError, "fields">;
|
|
867
867
|
/**
|
|
@@ -874,10 +874,14 @@ export declare class Skill2 extends HeyApiClient {
|
|
|
874
874
|
archive<ThrowOnError extends boolean = false>(options: Options<SkillArchiveData, ThrowOnError>): import("./client").RequestResult<SkillArchiveResponses, SkillArchiveErrors, ThrowOnError, "fields">;
|
|
875
875
|
/**
|
|
876
876
|
* Publish a skill
|
|
877
|
+
*
|
|
878
|
+
* Publishing changes copyability (the skill enters the registry), not materialisation: it does NOT fan out to sandboxes. A git-backed skill's repository must be publicly cloneable (decision 11).
|
|
877
879
|
*/
|
|
878
880
|
publish<ThrowOnError extends boolean = false>(options: Options<SkillPublishData, ThrowOnError>): import("./client").RequestResult<SkillPublishResponses, SkillPublishErrors, ThrowOnError, "fields">;
|
|
879
881
|
/**
|
|
880
882
|
* Deprecate a skill
|
|
883
|
+
*
|
|
884
|
+
* Deprecation is an adoption signal only — it does NOT affect materialisation: sandboxes already tracking the skill keep receiving it. Use archive to remove a skill from sandboxes.
|
|
881
885
|
*/
|
|
882
886
|
deprecate<ThrowOnError extends boolean = false>(options: Options<SkillDeprecateData, ThrowOnError>): import("./client").RequestResult<SkillDeprecateResponses, SkillDeprecateErrors, ThrowOnError, "fields">;
|
|
883
887
|
/**
|