@renai-labs/sdk 0.1.6 → 0.1.7
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/generated/@tanstack/react-query.gen.d.ts +5 -1
- package/dist/generated/@tanstack/react-query.gen.js +16 -0
- package/dist/generated/internal/types.gen.d.ts +2 -0
- package/dist/generated/sdk.gen.d.ts +5 -1
- package/dist/generated/sdk.gen.js +13 -0
- package/dist/generated/types.gen.d.ts +53 -0
- package/dist/generated/zod.gen.d.ts +59 -0
- package/dist/generated/zod.gen.js +17 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type InfiniteData, type UseMutationOptions } from "@tanstack/react-query";
|
|
2
2
|
import { type Options } from "../sdk.gen";
|
|
3
|
-
import type { AgentArchiveData, AgentArchiveError, AgentArchiveResponse, AgentCreateData, AgentCreateError, AgentCreateResponse, AgentDeprecateData, AgentDeprecateError, AgentDeprecateResponse, AgentGetBySlugData, AgentGetBySlugError, AgentGetData, AgentGetError, AgentListData, AgentListError, AgentPublishData, AgentPublishError, AgentPublishResponse, AgentSearchData, AgentSearchError, AgentSearchResponse, AgentUndeprecateData, AgentUndeprecateError, AgentUndeprecateResponse, AgentUpdateData, AgentUpdateError, AgentUpdateResponse, AgentVersionArchiveData, AgentVersionArchiveError, AgentVersionArchiveResponse, AgentVersionCreateData, AgentVersionCreateError, AgentVersionCreateResponse, AgentVersionGetData, AgentVersionGetError, AgentVersionListData, AgentVersionListError, BillingDailyUsageData, BillingDailyUsageError, BillingGetData, BillingGetError, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlError, BillingInvoicesData, BillingInvoicesError, BillingUpdatePlanData, BillingUpdatePlanError, BillingUpdatePlanResponse, BlueprintArchiveData, BlueprintArchiveError, BlueprintArchiveResponse, BlueprintCreateData, BlueprintCreateError, BlueprintCreateResponse, BlueprintDeprecateData, BlueprintDeprecateError, BlueprintDeprecateResponse, BlueprintGetData, BlueprintGetError, BlueprintInstallData, BlueprintInstallError, BlueprintInstallResponse, BlueprintListData, BlueprintListError, BlueprintPublishData, BlueprintPublishError, BlueprintPublishResponse, BlueprintUndeprecateData, BlueprintUndeprecateError, BlueprintUndeprecateResponse, BlueprintUpdateData, BlueprintUpdateError, BlueprintUpdateResponse, CredentialArchiveData, CredentialArchiveError, CredentialArchiveResponse, CredentialCreateData, CredentialCreateError, CredentialCreateResponse, CredentialDeleteData, CredentialDeleteError, CredentialDeleteResponse, CredentialGetData, CredentialGetError, CredentialListData, CredentialListError, CredentialOauthSessionData, CredentialOauthSessionError, CredentialOauthStartData, CredentialOauthStartError, CredentialOauthStartResponse, CredentialUpdateData, CredentialUpdateError, CredentialUpdateResponse, DashboardGetData, DashboardGetError, EnvironmentArchiveData, EnvironmentArchiveError, EnvironmentArchiveResponse, EnvironmentCreateData, EnvironmentCreateError, EnvironmentCreateResponse, EnvironmentDeleteData, EnvironmentDeleteError, EnvironmentDeleteResponse, EnvironmentGetData, EnvironmentGetError, EnvironmentListData, EnvironmentListError, EnvironmentUpdateData, EnvironmentUpdateError, EnvironmentUpdateResponse, FileStoreArchiveData, FileStoreArchiveError, FileStoreArchiveResponse, FileStoreCreateData, FileStoreCreateError, FileStoreCreateResponse, FileStoreFilesDeleteData, FileStoreFilesDeleteError, FileStoreFilesDeleteResponse, FileStoreFilesFinalizeUploadData, FileStoreFilesFinalizeUploadError, FileStoreFilesFinalizeUploadResponse, FileStoreFilesListData, FileStoreFilesListError, FileStoreFilesPresignDownloadData, FileStoreFilesPresignDownloadError, FileStoreFilesStartUploadData, FileStoreFilesStartUploadError, FileStoreFilesStartUploadResponse, FileStoreGetData, FileStoreGetError, FileStoreListData, FileStoreListError, FileStoreUpdateData, FileStoreUpdateError, FileStoreUpdateResponse, GithubConnectData, GithubConnectError, GithubConnectResponse, GithubInstallData, GithubInstallError, GithubInstallResponse, GithubReposData, GithubReposError, GithubStatusData, GithubStatusError, GithubUninstallData, GithubUninstallError, GithubUninstallResponse, McpArchiveData, McpArchiveError, McpArchiveResponse, McpCreateData, McpCreateError, McpCreateResponse, McpDeprecateData, McpDeprecateError, McpDeprecateResponse, McpGetBySlugData, McpGetBySlugError, McpGetData, McpGetError, McpListData, McpListError, McpOauthConnectData, McpOauthConnectError, McpOauthConnectResponse, McpOauthSessionData, McpOauthSessionError, McpPublishData, McpPublishError, McpPublishResponse, McpSearchData, McpSearchError, McpSearchResponse, McpUndeprecateData, McpUndeprecateError, McpUndeprecateResponse, McpUpdateData, McpUpdateError, McpUpdateResponse, MeGetData, MeGetError, MemoryStoreArchiveData, MemoryStoreArchiveError, MemoryStoreArchiveResponse, MemoryStoreCreateData, MemoryStoreCreateError, MemoryStoreCreateResponse, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteError, MemoryStoreFilesDeleteResponse, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadError, MemoryStoreFilesFinalizeUploadResponse, MemoryStoreFilesListData, MemoryStoreFilesListError, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadError, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadError, MemoryStoreFilesStartUploadResponse, MemoryStoreGetData, MemoryStoreGetError, MemoryStoreListData, MemoryStoreListError, MemoryStoreUpdateData, MemoryStoreUpdateError, MemoryStoreUpdateResponse, ModelListData, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgError, OnboardingSetupPersonalOrgResponse, OnboardingStartData, OnboardingStartError, OnboardingStartResponse, PatCreateData, PatCreateError, PatCreateResponse, PatListData, PatListError, PatRevokeData, PatRevokeError, PatRevokeResponse, PodArchiveData, PodArchiveError, PodArchiveResponse, PodCreateData, PodCreateError, PodCreateResponse, PodGetData, PodGetError, PodListData, PodListError, PodMemberAddData, PodMemberAddError, PodMemberAddResponse, PodMemberListData, PodMemberListError, PodMemberRemoveData, PodMemberRemoveError, PodMemberRemoveResponse, PodSandboxProvisionData, PodSandboxProvisionError, PodSandboxProvisionResponse2, PodSandboxStatusData, PodSandboxStatusError, PodUpdateData, PodUpdateError, PodUpdateResponse, PodVaultAddData, PodVaultAddError, PodVaultAddResponse, PodVaultListData, PodVaultListError, PodVaultRemoveData, PodVaultRemoveError, PodVaultRemoveResponse, ProjectAgentAddData, ProjectAgentAddError, ProjectAgentAddResponse, ProjectAgentListData, ProjectAgentListError, ProjectAgentRemoveData, ProjectAgentRemoveError, ProjectAgentRemoveResponse, ProjectArchiveData, ProjectArchiveError, ProjectArchiveResponse, ProjectCreateData, ProjectCreateError, ProjectCreateResponse, ProjectFileStoreAddData, ProjectFileStoreAddError, ProjectFileStoreAddResponse, ProjectFileStoreListData, ProjectFileStoreListError, ProjectFileStoreRemoveData, ProjectFileStoreRemoveError, ProjectFileStoreRemoveResponse, ProjectGetData, ProjectGetError, ProjectListData, ProjectListError, ProjectMemoryStoreAddData, ProjectMemoryStoreAddError, ProjectMemoryStoreAddResponse, ProjectMemoryStoreListData, ProjectMemoryStoreListError, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveError, ProjectMemoryStoreRemoveResponse, ProjectUpdateData, ProjectUpdateError, ProjectUpdateResponse, PublisherClaimOrgData, PublisherClaimOrgError, PublisherClaimOrgResponse, PublisherGetData, PublisherGetError, PublisherMeData, PublisherMeError, PublisherUpdateData, PublisherUpdateError, PublisherUpdateResponse, RegistryAgentGetData, RegistryAgentListData, RegistryBlueprintGetData, RegistryMcpGetData, RegistryMcpListData, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadError, RegistryReplayFilesPresignDownloadResponse, RegistryReplayGetData, RegistryReplaySharedFilesPresignDownloadData, RegistryReplaySharedFilesPresignDownloadError, RegistryReplaySharedFilesPresignDownloadResponse, RegistryReplaySharedGetData, RegistrySkillGetData, RegistrySkillListData, ReplayArchiveData, ReplayArchiveError, ReplayArchiveResponse, ReplayCreateData, ReplayCreateError, ReplayCreateResponse, ReplayDeprecateData, ReplayDeprecateError, ReplayDeprecateResponse, ReplayGetData, ReplayGetError, ReplayListData, ReplayListError, ReplayPublishData, ReplayPublishError, ReplayPublishResponse, ReplayShareData, ReplayShareError, ReplayShareResponse, ReplayUndeprecateData, ReplayUndeprecateError, ReplayUndeprecateResponse, ReplayUpdateData, ReplayUpdateError, ReplayUpdateResponse, SessionArchiveData, SessionArchiveError, SessionArchiveResponse, SessionAuthRequirementsData, SessionAuthRequirementsError, SessionCreateData, SessionCreateError, SessionCreateResponse, SessionFilesPresignDownloadData, SessionFilesPresignDownloadError, SessionFilesPresignDownloadResponse2, SessionFilesPresignUploadData, SessionFilesPresignUploadError, SessionFilesPresignUploadResponse2, SessionGetData, SessionGetError, SessionListData, SessionListError, SessionMessagesListData, SessionMessagesListError, SessionUpdateData, SessionUpdateError, SessionUpdateResponse, SessionUrlData, SessionUrlError, SkillArchiveData, SkillArchiveError, SkillArchiveResponse, SkillCopyData, SkillCopyError, SkillCopyResponse, SkillCreateData, SkillCreateError, SkillCreateResponse, SkillDeprecateData, SkillDeprecateError, SkillDeprecateResponse, SkillGetBySlugData, SkillGetBySlugError, SkillGetData, SkillGetError, SkillListData, SkillListError, SkillPublishData, SkillPublishError, SkillPublishResponse, SkillSearchData, SkillSearchError, SkillSearchResponse, SkillUndeprecateData, SkillUndeprecateError, SkillUndeprecateResponse, SkillUpdateData, SkillUpdateError, SkillUpdateResponse, SkillVersionArchiveData, SkillVersionArchiveError, SkillVersionArchiveResponse, SkillVersionCreateData, SkillVersionCreateError, SkillVersionCreateResponse, SkillVersionDataData, SkillVersionDataError, SkillVersionGetData, SkillVersionGetError, SkillVersionListData, SkillVersionListError, SlackChannelListData, SlackChannelListError, SlackChannelSetData, SlackChannelSetError, SlackChannelSetResponse, SlackChannelUnsetData, SlackChannelUnsetError, SlackChannelUnsetResponse, SlackInstallData, SlackInstallError, SlackInstallResponse, SlackStatusData, SlackStatusError, SlackUninstallData, SlackUninstallError, SlackUninstallResponse, TriggerArchiveData, TriggerArchiveError, TriggerArchiveResponse, TriggerCreateData, TriggerCreateError, TriggerCreateResponse, TriggerGetData, TriggerGetError, TriggerListData, TriggerListError, TriggerUpdateData, TriggerUpdateError, TriggerUpdateResponse, VaultArchiveData, VaultArchiveError, VaultArchiveResponse, VaultCreateData, VaultCreateError, VaultCreateResponse, VaultDeleteData, VaultDeleteError, VaultDeleteResponse, VaultGetData, VaultGetError, VaultListData, VaultListError, VaultUpdateData, VaultUpdateError, VaultUpdateResponse, WebhookTriggerArchiveData, WebhookTriggerArchiveError, WebhookTriggerArchiveResponse, WebhookTriggerCreateData, WebhookTriggerCreateError, WebhookTriggerCreateResponse, WebhookTriggerGetData, WebhookTriggerGetError, WebhookTriggerListData, WebhookTriggerListError, WebhookTriggerUpdateData, WebhookTriggerUpdateError, WebhookTriggerUpdateResponse } from "../types.gen";
|
|
3
|
+
import type { AgentArchiveData, AgentArchiveError, AgentArchiveResponse, AgentCreateData, AgentCreateError, AgentCreateResponse, AgentDeprecateData, AgentDeprecateError, AgentDeprecateResponse, AgentGetBySlugData, AgentGetBySlugError, AgentGetData, AgentGetError, AgentListData, AgentListError, AgentPublishData, AgentPublishError, AgentPublishResponse, AgentSearchData, AgentSearchError, AgentSearchResponse, AgentUndeprecateData, AgentUndeprecateError, AgentUndeprecateResponse, AgentUpdateData, AgentUpdateError, AgentUpdateResponse, AgentVersionArchiveData, AgentVersionArchiveError, AgentVersionArchiveResponse, AgentVersionCreateData, AgentVersionCreateError, AgentVersionCreateResponse, AgentVersionGetData, AgentVersionGetError, AgentVersionListData, AgentVersionListError, BillingDailyUsageData, BillingDailyUsageError, BillingGetData, BillingGetError, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlError, BillingInvoicesData, BillingInvoicesError, BillingUpdatePlanData, BillingUpdatePlanError, BillingUpdatePlanResponse, BlueprintArchiveData, BlueprintArchiveError, BlueprintArchiveResponse, BlueprintCreateData, BlueprintCreateError, BlueprintCreateResponse, BlueprintDeprecateData, BlueprintDeprecateError, BlueprintDeprecateResponse, BlueprintGetData, BlueprintGetError, BlueprintInstallData, BlueprintInstallError, BlueprintInstallResponse, BlueprintListData, BlueprintListError, BlueprintPublishData, BlueprintPublishError, BlueprintPublishResponse, BlueprintUndeprecateData, BlueprintUndeprecateError, BlueprintUndeprecateResponse, BlueprintUpdateData, BlueprintUpdateError, BlueprintUpdateResponse, CredentialArchiveData, CredentialArchiveError, CredentialArchiveResponse, CredentialCreateData, CredentialCreateError, CredentialCreateResponse, CredentialDeleteData, CredentialDeleteError, CredentialDeleteResponse, CredentialGetData, CredentialGetError, CredentialListData, CredentialListError, CredentialOauthSessionData, CredentialOauthSessionError, CredentialOauthStartData, CredentialOauthStartError, CredentialOauthStartResponse, CredentialUpdateData, CredentialUpdateError, CredentialUpdateResponse, DashboardGetData, DashboardGetError, EnvironmentArchiveData, EnvironmentArchiveError, EnvironmentArchiveResponse, EnvironmentCreateData, EnvironmentCreateError, EnvironmentCreateResponse, EnvironmentDeleteData, EnvironmentDeleteError, EnvironmentDeleteResponse, EnvironmentGetData, EnvironmentGetError, EnvironmentListData, EnvironmentListError, EnvironmentUpdateData, EnvironmentUpdateError, EnvironmentUpdateResponse, FileStoreArchiveData, FileStoreArchiveError, FileStoreArchiveResponse, FileStoreCreateData, FileStoreCreateError, FileStoreCreateResponse, FileStoreFilesDeleteData, FileStoreFilesDeleteError, FileStoreFilesDeleteResponse, FileStoreFilesFinalizeUploadData, FileStoreFilesFinalizeUploadError, FileStoreFilesFinalizeUploadResponse, FileStoreFilesListData, FileStoreFilesListError, FileStoreFilesPresignDownloadData, FileStoreFilesPresignDownloadError, FileStoreFilesStartUploadData, FileStoreFilesStartUploadError, FileStoreFilesStartUploadResponse, FileStoreGetData, FileStoreGetError, FileStoreListData, FileStoreListError, FileStoreUpdateData, FileStoreUpdateError, FileStoreUpdateResponse, GithubConnectData, GithubConnectError, GithubConnectResponse, GithubInstallData, GithubInstallError, GithubInstallResponse, GithubReposData, GithubReposError, GithubStatusData, GithubStatusError, GithubUninstallData, GithubUninstallError, GithubUninstallResponse, McpArchiveData, McpArchiveError, McpArchiveResponse, McpCreateData, McpCreateError, McpCreateResponse, McpDeprecateData, McpDeprecateError, McpDeprecateResponse, McpGetBySlugData, McpGetBySlugError, McpGetData, McpGetError, McpListData, McpListError, McpOauthConnectData, McpOauthConnectError, McpOauthConnectResponse, McpOauthSessionData, McpOauthSessionError, McpPublishData, McpPublishError, McpPublishResponse, McpSearchData, McpSearchError, McpSearchResponse, McpUndeprecateData, McpUndeprecateError, McpUndeprecateResponse, McpUpdateData, McpUpdateError, McpUpdateResponse, MeGetData, MeGetError, MemoryStoreArchiveData, MemoryStoreArchiveError, MemoryStoreArchiveResponse, MemoryStoreCreateData, MemoryStoreCreateError, MemoryStoreCreateResponse, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteError, MemoryStoreFilesDeleteResponse, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadError, MemoryStoreFilesFinalizeUploadResponse, MemoryStoreFilesListData, MemoryStoreFilesListError, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadError, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadError, MemoryStoreFilesStartUploadResponse, MemoryStoreGetData, MemoryStoreGetError, MemoryStoreListData, MemoryStoreListError, MemoryStoreUpdateData, MemoryStoreUpdateError, MemoryStoreUpdateResponse, ModelListData, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgError, OnboardingSetupPersonalOrgResponse, OnboardingStartData, OnboardingStartError, OnboardingStartResponse, PatCreateData, PatCreateError, PatCreateResponse, PatListData, PatListError, PatRevokeData, PatRevokeError, PatRevokeResponse, PodArchiveData, PodArchiveError, PodArchiveResponse, PodCreateData, PodCreateError, PodCreateResponse, PodGetData, PodGetError, PodListData, PodListError, PodMemberAddData, PodMemberAddError, PodMemberAddResponse, PodMemberListData, PodMemberListError, PodMemberRemoveData, PodMemberRemoveError, PodMemberRemoveResponse, PodSandboxProvisionData, PodSandboxProvisionError, PodSandboxProvisionResponse2, PodSandboxStatusData, PodSandboxStatusError, PodUpdateData, PodUpdateError, PodUpdateResponse, PodVaultAddData, PodVaultAddError, PodVaultAddResponse, PodVaultListData, PodVaultListError, PodVaultRemoveData, PodVaultRemoveError, PodVaultRemoveResponse, ProjectAgentAddData, ProjectAgentAddError, ProjectAgentAddResponse, ProjectAgentListData, ProjectAgentListError, ProjectAgentRemoveData, ProjectAgentRemoveError, ProjectAgentRemoveResponse, 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, ReplayArchiveData, ReplayArchiveError, ReplayArchiveResponse, ReplayCreateData, ReplayCreateError, ReplayCreateResponse, ReplayDeprecateData, ReplayDeprecateError, ReplayDeprecateResponse, ReplayGetData, ReplayGetError, ReplayListData, ReplayListError, ReplayPublishData, ReplayPublishError, ReplayPublishResponse, ReplayShareData, ReplayShareError, ReplayShareResponse, ReplayUndeprecateData, ReplayUndeprecateError, ReplayUndeprecateResponse, ReplayUpdateData, ReplayUpdateError, ReplayUpdateResponse, SessionArchiveData, SessionArchiveError, SessionArchiveResponse, SessionAuthRequirementsData, SessionAuthRequirementsError, SessionCreateData, SessionCreateError, SessionCreateResponse, SessionFilesPresignDownloadData, SessionFilesPresignDownloadError, SessionFilesPresignDownloadResponse2, SessionFilesPresignUploadData, SessionFilesPresignUploadError, SessionFilesPresignUploadResponse2, SessionGetData, SessionGetError, SessionListData, SessionListError, SessionMessagesListData, SessionMessagesListError, SessionUpdateData, SessionUpdateError, SessionUpdateResponse, SessionUrlData, SessionUrlError, SkillArchiveData, SkillArchiveError, SkillArchiveResponse, SkillCopyData, SkillCopyError, SkillCopyResponse, SkillCreateData, SkillCreateError, SkillCreateResponse, SkillDeprecateData, SkillDeprecateError, SkillDeprecateResponse, SkillGetBySlugData, SkillGetBySlugError, SkillGetData, SkillGetError, SkillListData, SkillListError, SkillPublishData, SkillPublishError, SkillPublishResponse, SkillSearchData, SkillSearchError, SkillSearchResponse, SkillUndeprecateData, SkillUndeprecateError, SkillUndeprecateResponse, SkillUpdateData, SkillUpdateError, SkillUpdateResponse, SkillVersionArchiveData, SkillVersionArchiveError, SkillVersionArchiveResponse, SkillVersionCreateData, SkillVersionCreateError, SkillVersionCreateResponse, SkillVersionDataData, SkillVersionDataError, SkillVersionGetData, SkillVersionGetError, SkillVersionListData, SkillVersionListError, SlackChannelListData, SlackChannelListError, SlackChannelSetData, SlackChannelSetError, SlackChannelSetResponse, SlackChannelUnsetData, SlackChannelUnsetError, SlackChannelUnsetResponse, SlackInstallData, SlackInstallError, SlackInstallResponse, SlackStatusData, SlackStatusError, SlackUninstallData, SlackUninstallError, SlackUninstallResponse, TriggerArchiveData, TriggerArchiveError, TriggerArchiveResponse, TriggerCreateData, TriggerCreateError, TriggerCreateResponse, TriggerGetData, TriggerGetError, TriggerListData, TriggerListError, TriggerUpdateData, TriggerUpdateError, TriggerUpdateResponse, VaultArchiveData, VaultArchiveError, VaultArchiveResponse, VaultCreateData, VaultCreateError, VaultCreateResponse, VaultDeleteData, VaultDeleteError, VaultDeleteResponse, VaultGetData, VaultGetError, VaultListData, VaultListError, VaultUpdateData, VaultUpdateError, VaultUpdateResponse, WebhookTriggerArchiveData, WebhookTriggerArchiveError, WebhookTriggerArchiveResponse, WebhookTriggerCreateData, WebhookTriggerCreateError, WebhookTriggerCreateResponse, WebhookTriggerGetData, WebhookTriggerGetError, WebhookTriggerListData, WebhookTriggerListError, WebhookTriggerUpdateData, WebhookTriggerUpdateError, WebhookTriggerUpdateResponse } from "../types.gen";
|
|
4
4
|
export type QueryKey<TOptions extends Options> = [
|
|
5
5
|
Pick<TOptions, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
6
6
|
_id: string;
|
|
@@ -1788,6 +1788,10 @@ export declare const projectAgentAddMutation: (options?: Partial<Options<Project
|
|
|
1788
1788
|
* Detach an agent from a project
|
|
1789
1789
|
*/
|
|
1790
1790
|
export declare const projectAgentRemoveMutation: (options?: Partial<Options<ProjectAgentRemoveData>>) => UseMutationOptions<ProjectAgentRemoveResponse, ProjectAgentRemoveError, Options<ProjectAgentRemoveData>>;
|
|
1791
|
+
/**
|
|
1792
|
+
* Update an agent's membership in a project
|
|
1793
|
+
*/
|
|
1794
|
+
export declare const projectAgentUpdateMutation: (options?: Partial<Options<ProjectAgentUpdateData>>) => UseMutationOptions<ProjectAgentUpdateResponse, ProjectAgentUpdateError, Options<ProjectAgentUpdateData>>;
|
|
1791
1795
|
export declare const projectFileStoreListQueryKey: (options: Options<ProjectFileStoreListData>) => [Pick<Options<ProjectFileStoreListData>, "headers" | "query" | "body" | "path" | "baseUrl"> & {
|
|
1792
1796
|
_id: string;
|
|
1793
1797
|
_infinite?: boolean;
|
|
@@ -1917,6 +1917,22 @@ export const projectAgentRemoveMutation = (options) => {
|
|
|
1917
1917
|
};
|
|
1918
1918
|
return mutationOptions;
|
|
1919
1919
|
};
|
|
1920
|
+
/**
|
|
1921
|
+
* Update an agent's membership in a project
|
|
1922
|
+
*/
|
|
1923
|
+
export const projectAgentUpdateMutation = (options) => {
|
|
1924
|
+
const mutationOptions = {
|
|
1925
|
+
mutationFn: async (fnOptions) => {
|
|
1926
|
+
const { data } = await RenClient.__registry.get().project.agent.update({
|
|
1927
|
+
...options,
|
|
1928
|
+
...fnOptions,
|
|
1929
|
+
throwOnError: true,
|
|
1930
|
+
});
|
|
1931
|
+
return data;
|
|
1932
|
+
},
|
|
1933
|
+
};
|
|
1934
|
+
return mutationOptions;
|
|
1935
|
+
};
|
|
1920
1936
|
export const projectFileStoreListQueryKey = (options) => createQueryKey("projectFileStoreList", options);
|
|
1921
1937
|
/**
|
|
1922
1938
|
* List file stores attached to a project
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Client, type Options as Options2, type TDataShape } from "./client";
|
|
2
|
-
import type { AgentArchiveData, AgentArchiveErrors, AgentArchiveResponses, AgentCreateData, AgentCreateErrors, AgentCreateResponses, AgentDeprecateData, AgentDeprecateErrors, AgentDeprecateResponses, AgentGetBySlugData, AgentGetBySlugErrors, AgentGetBySlugResponses, AgentGetData, AgentGetErrors, AgentGetResponses, AgentListData, AgentListErrors, AgentListResponses, AgentPublishData, AgentPublishErrors, AgentPublishResponses, AgentSearchData, AgentSearchErrors, AgentSearchResponses, AgentUndeprecateData, AgentUndeprecateErrors, AgentUndeprecateResponses, AgentUpdateData, AgentUpdateErrors, AgentUpdateResponses, AgentVersionArchiveData, AgentVersionArchiveErrors, AgentVersionArchiveResponses, AgentVersionCreateData, AgentVersionCreateErrors, AgentVersionCreateResponses, AgentVersionGetData, AgentVersionGetErrors, AgentVersionGetResponses, AgentVersionListData, AgentVersionListErrors, AgentVersionListResponses, BillingDailyUsageData, BillingDailyUsageErrors, BillingDailyUsageResponses, BillingGetData, BillingGetErrors, BillingGetResponses, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlErrors, BillingInvoicePaymentUrlResponses, BillingInvoicesData, BillingInvoicesErrors, BillingInvoicesResponses, BillingUpdatePlanData, BillingUpdatePlanErrors, BillingUpdatePlanResponses, BlueprintArchiveData, BlueprintArchiveErrors, BlueprintArchiveResponses, BlueprintCreateData, BlueprintCreateErrors, BlueprintCreateResponses, BlueprintDeprecateData, BlueprintDeprecateErrors, BlueprintDeprecateResponses, BlueprintGetData, BlueprintGetErrors, BlueprintGetResponses, BlueprintInstallData, BlueprintInstallErrors, BlueprintInstallResponses, BlueprintListData, BlueprintListErrors, BlueprintListResponses, BlueprintPublishData, BlueprintPublishErrors, BlueprintPublishResponses, BlueprintUndeprecateData, BlueprintUndeprecateErrors, BlueprintUndeprecateResponses, BlueprintUpdateData, BlueprintUpdateErrors, BlueprintUpdateResponses, CredentialArchiveData, CredentialArchiveErrors, CredentialArchiveResponses, CredentialCreateData, CredentialCreateErrors, CredentialCreateResponses, CredentialDeleteData, CredentialDeleteErrors, CredentialDeleteResponses, CredentialGetData, CredentialGetErrors, CredentialGetResponses, CredentialListData, CredentialListErrors, CredentialListResponses, CredentialOauthSessionData, CredentialOauthSessionErrors, CredentialOauthSessionResponses, CredentialOauthStartData, CredentialOauthStartErrors, CredentialOauthStartResponses, CredentialUpdateData, CredentialUpdateErrors, CredentialUpdateResponses, DashboardGetData, DashboardGetErrors, DashboardGetResponses, EnvironmentArchiveData, EnvironmentArchiveErrors, EnvironmentArchiveResponses, EnvironmentCreateData, EnvironmentCreateErrors, EnvironmentCreateResponses, EnvironmentDeleteData, EnvironmentDeleteErrors, EnvironmentDeleteResponses, EnvironmentGetData, EnvironmentGetErrors, EnvironmentGetResponses, EnvironmentListData, EnvironmentListErrors, EnvironmentListResponses, EnvironmentUpdateData, EnvironmentUpdateErrors, EnvironmentUpdateResponses, FileStoreArchiveData, FileStoreArchiveErrors, FileStoreArchiveResponses, FileStoreCreateData, FileStoreCreateErrors, FileStoreCreateResponses, FileStoreFilesDeleteData, FileStoreFilesDeleteErrors, FileStoreFilesDeleteResponses, FileStoreFilesFinalizeUploadData, FileStoreFilesFinalizeUploadErrors, FileStoreFilesFinalizeUploadResponses, FileStoreFilesListData, FileStoreFilesListErrors, FileStoreFilesListResponses, FileStoreFilesPresignDownloadData, FileStoreFilesPresignDownloadErrors, FileStoreFilesPresignDownloadResponses, FileStoreFilesStartUploadData, FileStoreFilesStartUploadErrors, FileStoreFilesStartUploadResponses, FileStoreGetData, FileStoreGetErrors, FileStoreGetResponses, FileStoreListData, FileStoreListErrors, FileStoreListResponses, FileStoreUpdateData, FileStoreUpdateErrors, FileStoreUpdateResponses, GithubConnectData, GithubConnectErrors, GithubConnectResponses, GithubInstallData, GithubInstallErrors, GithubInstallResponses, GithubReposData, GithubReposErrors, GithubReposResponses, GithubStatusData, GithubStatusErrors, GithubStatusResponses, GithubUninstallData, GithubUninstallErrors, GithubUninstallResponses, McpArchiveData, McpArchiveErrors, McpArchiveResponses, McpCreateData, McpCreateErrors, McpCreateResponses, McpDeprecateData, McpDeprecateErrors, McpDeprecateResponses, McpGetBySlugData, McpGetBySlugErrors, McpGetBySlugResponses, McpGetData, McpGetErrors, McpGetResponses, McpListData, McpListErrors, McpListResponses, McpOauthConnectData, McpOauthConnectErrors, McpOauthConnectResponses, McpOauthSessionData, McpOauthSessionErrors, McpOauthSessionResponses, McpPublishData, McpPublishErrors, McpPublishResponses, McpSearchData, McpSearchErrors, McpSearchResponses, McpUndeprecateData, McpUndeprecateErrors, McpUndeprecateResponses, McpUpdateData, McpUpdateErrors, McpUpdateResponses, MeGetData, MeGetErrors, MeGetResponses, MemoryStoreArchiveData, MemoryStoreArchiveErrors, MemoryStoreArchiveResponses, MemoryStoreCreateData, MemoryStoreCreateErrors, MemoryStoreCreateResponses, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteErrors, MemoryStoreFilesDeleteResponses, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadErrors, MemoryStoreFilesFinalizeUploadResponses, MemoryStoreFilesListData, MemoryStoreFilesListErrors, MemoryStoreFilesListResponses, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadErrors, MemoryStoreFilesPresignDownloadResponses, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadErrors, MemoryStoreFilesStartUploadResponses, MemoryStoreGetData, MemoryStoreGetErrors, MemoryStoreGetResponses, MemoryStoreListData, MemoryStoreListErrors, MemoryStoreListResponses, MemoryStoreUpdateData, MemoryStoreUpdateErrors, MemoryStoreUpdateResponses, ModelListData, ModelListResponses, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgErrors, OnboardingSetupPersonalOrgResponses, OnboardingStartData, OnboardingStartErrors, OnboardingStartResponses, PatCreateData, PatCreateErrors, PatCreateResponses, PatListData, PatListErrors, PatListResponses, PatRevokeData, PatRevokeErrors, PatRevokeResponses, PodArchiveData, PodArchiveErrors, PodArchiveResponses, PodCreateData, PodCreateErrors, PodCreateResponses, PodGetData, PodGetErrors, PodGetResponses, PodListData, PodListErrors, PodListResponses, PodMemberAddData, PodMemberAddErrors, PodMemberAddResponses, PodMemberListData, PodMemberListErrors, PodMemberListResponses, PodMemberRemoveData, PodMemberRemoveErrors, PodMemberRemoveResponses, PodSandboxProvisionData, PodSandboxProvisionErrors, PodSandboxProvisionResponses, PodSandboxStatusData, PodSandboxStatusErrors, PodSandboxStatusResponses, PodUpdateData, PodUpdateErrors, PodUpdateResponses, PodVaultAddData, PodVaultAddErrors, PodVaultAddResponses, PodVaultListData, PodVaultListErrors, PodVaultListResponses, PodVaultRemoveData, PodVaultRemoveErrors, PodVaultRemoveResponses, ProjectAgentAddData, ProjectAgentAddErrors, ProjectAgentAddResponses, ProjectAgentListData, ProjectAgentListErrors, ProjectAgentListResponses, ProjectAgentRemoveData, ProjectAgentRemoveErrors, ProjectAgentRemoveResponses, ProjectArchiveData, ProjectArchiveErrors, ProjectArchiveResponses, ProjectCreateData, ProjectCreateErrors, ProjectCreateResponses, ProjectFileStoreAddData, ProjectFileStoreAddErrors, ProjectFileStoreAddResponses, ProjectFileStoreListData, ProjectFileStoreListErrors, ProjectFileStoreListResponses, ProjectFileStoreRemoveData, ProjectFileStoreRemoveErrors, ProjectFileStoreRemoveResponses, ProjectGetData, ProjectGetErrors, ProjectGetResponses, ProjectListData, ProjectListErrors, ProjectListResponses, ProjectMemoryStoreAddData, ProjectMemoryStoreAddErrors, ProjectMemoryStoreAddResponses, ProjectMemoryStoreListData, ProjectMemoryStoreListErrors, ProjectMemoryStoreListResponses, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveErrors, ProjectMemoryStoreRemoveResponses, ProjectUpdateData, ProjectUpdateErrors, ProjectUpdateResponses, PublisherClaimOrgData, PublisherClaimOrgErrors, PublisherClaimOrgResponses, PublisherGetData, PublisherGetErrors, PublisherGetResponses, PublisherMeData, PublisherMeErrors, PublisherMeResponses, PublisherUpdateData, PublisherUpdateErrors, PublisherUpdateResponses, RegistryAgentGetData, RegistryAgentGetErrors, RegistryAgentGetResponses, RegistryAgentListData, RegistryAgentListErrors, RegistryAgentListResponses, RegistryBlueprintGetData, RegistryBlueprintGetErrors, RegistryBlueprintGetResponses, RegistryMcpGetData, RegistryMcpGetErrors, RegistryMcpGetResponses, RegistryMcpListData, RegistryMcpListErrors, RegistryMcpListResponses, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadErrors, RegistryReplayFilesPresignDownloadResponses, RegistryReplayGetData, RegistryReplayGetErrors, RegistryReplayGetResponses, RegistryReplaySharedFilesPresignDownloadData, RegistryReplaySharedFilesPresignDownloadErrors, RegistryReplaySharedFilesPresignDownloadResponses, RegistryReplaySharedGetData, RegistryReplaySharedGetErrors, RegistryReplaySharedGetResponses, RegistrySkillGetData, RegistrySkillGetErrors, RegistrySkillGetResponses, RegistrySkillListData, RegistrySkillListErrors, RegistrySkillListResponses, ReplayArchiveData, ReplayArchiveErrors, ReplayArchiveResponses, ReplayCreateData, ReplayCreateErrors, ReplayCreateResponses, ReplayDeprecateData, ReplayDeprecateErrors, ReplayDeprecateResponses, ReplayGetData, ReplayGetErrors, ReplayGetResponses, ReplayListData, ReplayListErrors, ReplayListResponses, ReplayPublishData, ReplayPublishErrors, ReplayPublishResponses, ReplayShareData, ReplayShareErrors, ReplayShareResponses, ReplayUndeprecateData, ReplayUndeprecateErrors, ReplayUndeprecateResponses, ReplayUpdateData, ReplayUpdateErrors, ReplayUpdateResponses, SessionArchiveData, SessionArchiveErrors, SessionArchiveResponses, SessionAuthRequirementsData, SessionAuthRequirementsErrors, SessionAuthRequirementsResponses, SessionCreateData, SessionCreateErrors, SessionCreateResponses, SessionFilesPresignDownloadData, SessionFilesPresignDownloadErrors, SessionFilesPresignDownloadResponses, SessionFilesPresignUploadData, SessionFilesPresignUploadErrors, SessionFilesPresignUploadResponses, SessionGetData, SessionGetErrors, SessionGetResponses, SessionListData, SessionListErrors, SessionListResponses, SessionMessagesListData, SessionMessagesListErrors, SessionMessagesListResponses, SessionUpdateData, SessionUpdateErrors, SessionUpdateResponses, SessionUrlData, SessionUrlErrors, SessionUrlResponses, SkillArchiveData, SkillArchiveErrors, SkillArchiveResponses, SkillCopyData, SkillCopyErrors, SkillCopyResponses, SkillCreateData, SkillCreateErrors, SkillCreateResponses, SkillDeprecateData, SkillDeprecateErrors, SkillDeprecateResponses, SkillGetBySlugData, SkillGetBySlugErrors, SkillGetBySlugResponses, SkillGetData, SkillGetErrors, SkillGetResponses, SkillListData, SkillListErrors, SkillListResponses, SkillPublishData, SkillPublishErrors, SkillPublishResponses, SkillSearchData, SkillSearchErrors, SkillSearchResponses, SkillUndeprecateData, SkillUndeprecateErrors, SkillUndeprecateResponses, SkillUpdateData, SkillUpdateErrors, SkillUpdateResponses, SkillVersionArchiveData, SkillVersionArchiveErrors, SkillVersionArchiveResponses, SkillVersionCreateData, SkillVersionCreateErrors, SkillVersionCreateResponses, SkillVersionDataData, SkillVersionDataErrors, SkillVersionDataResponses, SkillVersionGetData, SkillVersionGetErrors, SkillVersionGetResponses, SkillVersionListData, SkillVersionListErrors, SkillVersionListResponses, SlackChannelListData, SlackChannelListErrors, SlackChannelListResponses, SlackChannelSetData, SlackChannelSetErrors, SlackChannelSetResponses, SlackChannelUnsetData, SlackChannelUnsetErrors, SlackChannelUnsetResponses, SlackInstallData, SlackInstallErrors, SlackInstallResponses, SlackStatusData, SlackStatusErrors, SlackStatusResponses, SlackUninstallData, SlackUninstallErrors, SlackUninstallResponses, TriggerArchiveData, TriggerArchiveErrors, TriggerArchiveResponses, TriggerCreateData, TriggerCreateErrors, TriggerCreateResponses, TriggerGetData, TriggerGetErrors, TriggerGetResponses, TriggerListData, TriggerListErrors, TriggerListResponses, TriggerUpdateData, TriggerUpdateErrors, TriggerUpdateResponses, VaultArchiveData, VaultArchiveErrors, VaultArchiveResponses, VaultCreateData, VaultCreateErrors, VaultCreateResponses, VaultDeleteData, VaultDeleteErrors, VaultDeleteResponses, VaultGetData, VaultGetErrors, VaultGetResponses, VaultListData, VaultListErrors, VaultListResponses, VaultUpdateData, VaultUpdateErrors, VaultUpdateResponses, WebhookTriggerArchiveData, WebhookTriggerArchiveErrors, WebhookTriggerArchiveResponses, WebhookTriggerCreateData, WebhookTriggerCreateErrors, WebhookTriggerCreateResponses, WebhookTriggerGetData, WebhookTriggerGetErrors, WebhookTriggerGetResponses, WebhookTriggerListData, WebhookTriggerListErrors, WebhookTriggerListResponses, WebhookTriggerUpdateData, WebhookTriggerUpdateErrors, WebhookTriggerUpdateResponses } from "./types.gen";
|
|
2
|
+
import type { AgentArchiveData, AgentArchiveErrors, AgentArchiveResponses, AgentCreateData, AgentCreateErrors, AgentCreateResponses, AgentDeprecateData, AgentDeprecateErrors, AgentDeprecateResponses, AgentGetBySlugData, AgentGetBySlugErrors, AgentGetBySlugResponses, AgentGetData, AgentGetErrors, AgentGetResponses, AgentListData, AgentListErrors, AgentListResponses, AgentPublishData, AgentPublishErrors, AgentPublishResponses, AgentSearchData, AgentSearchErrors, AgentSearchResponses, AgentUndeprecateData, AgentUndeprecateErrors, AgentUndeprecateResponses, AgentUpdateData, AgentUpdateErrors, AgentUpdateResponses, AgentVersionArchiveData, AgentVersionArchiveErrors, AgentVersionArchiveResponses, AgentVersionCreateData, AgentVersionCreateErrors, AgentVersionCreateResponses, AgentVersionGetData, AgentVersionGetErrors, AgentVersionGetResponses, AgentVersionListData, AgentVersionListErrors, AgentVersionListResponses, BillingDailyUsageData, BillingDailyUsageErrors, BillingDailyUsageResponses, BillingGetData, BillingGetErrors, BillingGetResponses, BillingInvoicePaymentUrlData, BillingInvoicePaymentUrlErrors, BillingInvoicePaymentUrlResponses, BillingInvoicesData, BillingInvoicesErrors, BillingInvoicesResponses, BillingUpdatePlanData, BillingUpdatePlanErrors, BillingUpdatePlanResponses, BlueprintArchiveData, BlueprintArchiveErrors, BlueprintArchiveResponses, BlueprintCreateData, BlueprintCreateErrors, BlueprintCreateResponses, BlueprintDeprecateData, BlueprintDeprecateErrors, BlueprintDeprecateResponses, BlueprintGetData, BlueprintGetErrors, BlueprintGetResponses, BlueprintInstallData, BlueprintInstallErrors, BlueprintInstallResponses, BlueprintListData, BlueprintListErrors, BlueprintListResponses, BlueprintPublishData, BlueprintPublishErrors, BlueprintPublishResponses, BlueprintUndeprecateData, BlueprintUndeprecateErrors, BlueprintUndeprecateResponses, BlueprintUpdateData, BlueprintUpdateErrors, BlueprintUpdateResponses, CredentialArchiveData, CredentialArchiveErrors, CredentialArchiveResponses, CredentialCreateData, CredentialCreateErrors, CredentialCreateResponses, CredentialDeleteData, CredentialDeleteErrors, CredentialDeleteResponses, CredentialGetData, CredentialGetErrors, CredentialGetResponses, CredentialListData, CredentialListErrors, CredentialListResponses, CredentialOauthSessionData, CredentialOauthSessionErrors, CredentialOauthSessionResponses, CredentialOauthStartData, CredentialOauthStartErrors, CredentialOauthStartResponses, CredentialUpdateData, CredentialUpdateErrors, CredentialUpdateResponses, DashboardGetData, DashboardGetErrors, DashboardGetResponses, EnvironmentArchiveData, EnvironmentArchiveErrors, EnvironmentArchiveResponses, EnvironmentCreateData, EnvironmentCreateErrors, EnvironmentCreateResponses, EnvironmentDeleteData, EnvironmentDeleteErrors, EnvironmentDeleteResponses, EnvironmentGetData, EnvironmentGetErrors, EnvironmentGetResponses, EnvironmentListData, EnvironmentListErrors, EnvironmentListResponses, EnvironmentUpdateData, EnvironmentUpdateErrors, EnvironmentUpdateResponses, FileStoreArchiveData, FileStoreArchiveErrors, FileStoreArchiveResponses, FileStoreCreateData, FileStoreCreateErrors, FileStoreCreateResponses, FileStoreFilesDeleteData, FileStoreFilesDeleteErrors, FileStoreFilesDeleteResponses, FileStoreFilesFinalizeUploadData, FileStoreFilesFinalizeUploadErrors, FileStoreFilesFinalizeUploadResponses, FileStoreFilesListData, FileStoreFilesListErrors, FileStoreFilesListResponses, FileStoreFilesPresignDownloadData, FileStoreFilesPresignDownloadErrors, FileStoreFilesPresignDownloadResponses, FileStoreFilesStartUploadData, FileStoreFilesStartUploadErrors, FileStoreFilesStartUploadResponses, FileStoreGetData, FileStoreGetErrors, FileStoreGetResponses, FileStoreListData, FileStoreListErrors, FileStoreListResponses, FileStoreUpdateData, FileStoreUpdateErrors, FileStoreUpdateResponses, GithubConnectData, GithubConnectErrors, GithubConnectResponses, GithubInstallData, GithubInstallErrors, GithubInstallResponses, GithubReposData, GithubReposErrors, GithubReposResponses, GithubStatusData, GithubStatusErrors, GithubStatusResponses, GithubUninstallData, GithubUninstallErrors, GithubUninstallResponses, McpArchiveData, McpArchiveErrors, McpArchiveResponses, McpCreateData, McpCreateErrors, McpCreateResponses, McpDeprecateData, McpDeprecateErrors, McpDeprecateResponses, McpGetBySlugData, McpGetBySlugErrors, McpGetBySlugResponses, McpGetData, McpGetErrors, McpGetResponses, McpListData, McpListErrors, McpListResponses, McpOauthConnectData, McpOauthConnectErrors, McpOauthConnectResponses, McpOauthSessionData, McpOauthSessionErrors, McpOauthSessionResponses, McpPublishData, McpPublishErrors, McpPublishResponses, McpSearchData, McpSearchErrors, McpSearchResponses, McpUndeprecateData, McpUndeprecateErrors, McpUndeprecateResponses, McpUpdateData, McpUpdateErrors, McpUpdateResponses, MeGetData, MeGetErrors, MeGetResponses, MemoryStoreArchiveData, MemoryStoreArchiveErrors, MemoryStoreArchiveResponses, MemoryStoreCreateData, MemoryStoreCreateErrors, MemoryStoreCreateResponses, MemoryStoreFilesDeleteData, MemoryStoreFilesDeleteErrors, MemoryStoreFilesDeleteResponses, MemoryStoreFilesFinalizeUploadData, MemoryStoreFilesFinalizeUploadErrors, MemoryStoreFilesFinalizeUploadResponses, MemoryStoreFilesListData, MemoryStoreFilesListErrors, MemoryStoreFilesListResponses, MemoryStoreFilesPresignDownloadData, MemoryStoreFilesPresignDownloadErrors, MemoryStoreFilesPresignDownloadResponses, MemoryStoreFilesStartUploadData, MemoryStoreFilesStartUploadErrors, MemoryStoreFilesStartUploadResponses, MemoryStoreGetData, MemoryStoreGetErrors, MemoryStoreGetResponses, MemoryStoreListData, MemoryStoreListErrors, MemoryStoreListResponses, MemoryStoreUpdateData, MemoryStoreUpdateErrors, MemoryStoreUpdateResponses, ModelListData, ModelListResponses, OnboardingSetupPersonalOrgData, OnboardingSetupPersonalOrgErrors, OnboardingSetupPersonalOrgResponses, OnboardingStartData, OnboardingStartErrors, OnboardingStartResponses, PatCreateData, PatCreateErrors, PatCreateResponses, PatListData, PatListErrors, PatListResponses, PatRevokeData, PatRevokeErrors, PatRevokeResponses, PodArchiveData, PodArchiveErrors, PodArchiveResponses, PodCreateData, PodCreateErrors, PodCreateResponses, PodGetData, PodGetErrors, PodGetResponses, PodListData, PodListErrors, PodListResponses, PodMemberAddData, PodMemberAddErrors, PodMemberAddResponses, PodMemberListData, PodMemberListErrors, PodMemberListResponses, PodMemberRemoveData, PodMemberRemoveErrors, PodMemberRemoveResponses, PodSandboxProvisionData, PodSandboxProvisionErrors, PodSandboxProvisionResponses, PodSandboxStatusData, PodSandboxStatusErrors, PodSandboxStatusResponses, PodUpdateData, PodUpdateErrors, PodUpdateResponses, PodVaultAddData, PodVaultAddErrors, PodVaultAddResponses, PodVaultListData, PodVaultListErrors, PodVaultListResponses, PodVaultRemoveData, PodVaultRemoveErrors, PodVaultRemoveResponses, ProjectAgentAddData, ProjectAgentAddErrors, ProjectAgentAddResponses, ProjectAgentListData, ProjectAgentListErrors, ProjectAgentListResponses, ProjectAgentRemoveData, ProjectAgentRemoveErrors, ProjectAgentRemoveResponses, ProjectAgentUpdateData, ProjectAgentUpdateErrors, ProjectAgentUpdateResponses, ProjectArchiveData, ProjectArchiveErrors, ProjectArchiveResponses, ProjectCreateData, ProjectCreateErrors, ProjectCreateResponses, ProjectFileStoreAddData, ProjectFileStoreAddErrors, ProjectFileStoreAddResponses, ProjectFileStoreListData, ProjectFileStoreListErrors, ProjectFileStoreListResponses, ProjectFileStoreRemoveData, ProjectFileStoreRemoveErrors, ProjectFileStoreRemoveResponses, ProjectGetData, ProjectGetErrors, ProjectGetResponses, ProjectListData, ProjectListErrors, ProjectListResponses, ProjectMemoryStoreAddData, ProjectMemoryStoreAddErrors, ProjectMemoryStoreAddResponses, ProjectMemoryStoreListData, ProjectMemoryStoreListErrors, ProjectMemoryStoreListResponses, ProjectMemoryStoreRemoveData, ProjectMemoryStoreRemoveErrors, ProjectMemoryStoreRemoveResponses, ProjectUpdateData, ProjectUpdateErrors, ProjectUpdateResponses, PublisherClaimOrgData, PublisherClaimOrgErrors, PublisherClaimOrgResponses, PublisherGetData, PublisherGetErrors, PublisherGetResponses, PublisherMeData, PublisherMeErrors, PublisherMeResponses, PublisherUpdateData, PublisherUpdateErrors, PublisherUpdateResponses, RegistryAgentGetData, RegistryAgentGetErrors, RegistryAgentGetResponses, RegistryAgentListData, RegistryAgentListErrors, RegistryAgentListResponses, RegistryBlueprintGetData, RegistryBlueprintGetErrors, RegistryBlueprintGetResponses, RegistryMcpGetData, RegistryMcpGetErrors, RegistryMcpGetResponses, RegistryMcpListData, RegistryMcpListErrors, RegistryMcpListResponses, RegistryReplayFilesPresignDownloadData, RegistryReplayFilesPresignDownloadErrors, RegistryReplayFilesPresignDownloadResponses, RegistryReplayGetData, RegistryReplayGetErrors, RegistryReplayGetResponses, RegistryReplaySharedFilesPresignDownloadData, RegistryReplaySharedFilesPresignDownloadErrors, RegistryReplaySharedFilesPresignDownloadResponses, RegistryReplaySharedGetData, RegistryReplaySharedGetErrors, RegistryReplaySharedGetResponses, RegistrySkillGetData, RegistrySkillGetErrors, RegistrySkillGetResponses, RegistrySkillListData, RegistrySkillListErrors, RegistrySkillListResponses, ReplayArchiveData, ReplayArchiveErrors, ReplayArchiveResponses, ReplayCreateData, ReplayCreateErrors, ReplayCreateResponses, ReplayDeprecateData, ReplayDeprecateErrors, ReplayDeprecateResponses, ReplayGetData, ReplayGetErrors, ReplayGetResponses, ReplayListData, ReplayListErrors, ReplayListResponses, ReplayPublishData, ReplayPublishErrors, ReplayPublishResponses, ReplayShareData, ReplayShareErrors, ReplayShareResponses, ReplayUndeprecateData, ReplayUndeprecateErrors, ReplayUndeprecateResponses, ReplayUpdateData, ReplayUpdateErrors, ReplayUpdateResponses, SessionArchiveData, SessionArchiveErrors, SessionArchiveResponses, SessionAuthRequirementsData, SessionAuthRequirementsErrors, SessionAuthRequirementsResponses, SessionCreateData, SessionCreateErrors, SessionCreateResponses, SessionFilesPresignDownloadData, SessionFilesPresignDownloadErrors, SessionFilesPresignDownloadResponses, SessionFilesPresignUploadData, SessionFilesPresignUploadErrors, SessionFilesPresignUploadResponses, SessionGetData, SessionGetErrors, SessionGetResponses, SessionListData, SessionListErrors, SessionListResponses, SessionMessagesListData, SessionMessagesListErrors, SessionMessagesListResponses, SessionUpdateData, SessionUpdateErrors, SessionUpdateResponses, SessionUrlData, SessionUrlErrors, SessionUrlResponses, SkillArchiveData, SkillArchiveErrors, SkillArchiveResponses, SkillCopyData, SkillCopyErrors, SkillCopyResponses, SkillCreateData, SkillCreateErrors, SkillCreateResponses, SkillDeprecateData, SkillDeprecateErrors, SkillDeprecateResponses, SkillGetBySlugData, SkillGetBySlugErrors, SkillGetBySlugResponses, SkillGetData, SkillGetErrors, SkillGetResponses, SkillListData, SkillListErrors, SkillListResponses, SkillPublishData, SkillPublishErrors, SkillPublishResponses, SkillSearchData, SkillSearchErrors, SkillSearchResponses, SkillUndeprecateData, SkillUndeprecateErrors, SkillUndeprecateResponses, SkillUpdateData, SkillUpdateErrors, SkillUpdateResponses, SkillVersionArchiveData, SkillVersionArchiveErrors, SkillVersionArchiveResponses, SkillVersionCreateData, SkillVersionCreateErrors, SkillVersionCreateResponses, SkillVersionDataData, SkillVersionDataErrors, SkillVersionDataResponses, SkillVersionGetData, SkillVersionGetErrors, SkillVersionGetResponses, SkillVersionListData, SkillVersionListErrors, SkillVersionListResponses, SlackChannelListData, SlackChannelListErrors, SlackChannelListResponses, SlackChannelSetData, SlackChannelSetErrors, SlackChannelSetResponses, SlackChannelUnsetData, SlackChannelUnsetErrors, SlackChannelUnsetResponses, SlackInstallData, SlackInstallErrors, SlackInstallResponses, SlackStatusData, SlackStatusErrors, SlackStatusResponses, SlackUninstallData, SlackUninstallErrors, SlackUninstallResponses, 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
|
|
@@ -470,6 +470,10 @@ export declare class Agent2 extends HeyApiClient {
|
|
|
470
470
|
* Detach an agent from a project
|
|
471
471
|
*/
|
|
472
472
|
remove<ThrowOnError extends boolean = false>(options: Options<ProjectAgentRemoveData, ThrowOnError>): import("./client").RequestResult<ProjectAgentRemoveResponses, ProjectAgentRemoveErrors, ThrowOnError, "fields">;
|
|
473
|
+
/**
|
|
474
|
+
* Update an agent's membership in a project
|
|
475
|
+
*/
|
|
476
|
+
update<ThrowOnError extends boolean = false>(options: Options<ProjectAgentUpdateData, ThrowOnError>): import("./client").RequestResult<ProjectAgentUpdateResponses, ProjectAgentUpdateErrors, ThrowOnError, "fields">;
|
|
473
477
|
}
|
|
474
478
|
export declare class FileStore2 extends HeyApiClient {
|
|
475
479
|
/**
|
|
@@ -1059,6 +1059,19 @@ export class Agent2 extends HeyApiClient {
|
|
|
1059
1059
|
...options,
|
|
1060
1060
|
});
|
|
1061
1061
|
}
|
|
1062
|
+
/**
|
|
1063
|
+
* Update an agent's membership in a project
|
|
1064
|
+
*/
|
|
1065
|
+
update(options) {
|
|
1066
|
+
return (options.client ?? this.client).patch({
|
|
1067
|
+
url: "/api/projects/{id}/agents/{agentId}",
|
|
1068
|
+
...options,
|
|
1069
|
+
headers: {
|
|
1070
|
+
"Content-Type": "application/json",
|
|
1071
|
+
...options.headers,
|
|
1072
|
+
},
|
|
1073
|
+
});
|
|
1074
|
+
}
|
|
1062
1075
|
}
|
|
1063
1076
|
export class FileStore2 extends HeyApiClient {
|
|
1064
1077
|
/**
|
|
@@ -159,6 +159,8 @@ export type AgentLatestVersion = {
|
|
|
159
159
|
agentId: string;
|
|
160
160
|
version: string;
|
|
161
161
|
description: string | null;
|
|
162
|
+
prompt: string | null;
|
|
163
|
+
model: string | null;
|
|
162
164
|
skills: Array<{
|
|
163
165
|
skillId: string;
|
|
164
166
|
skillVersionId?: string | null;
|
|
@@ -5233,6 +5235,57 @@ export type ProjectAgentRemoveResponses = {
|
|
|
5233
5235
|
200: ProjectAgent;
|
|
5234
5236
|
};
|
|
5235
5237
|
export type ProjectAgentRemoveResponse = ProjectAgentRemoveResponses[keyof ProjectAgentRemoveResponses];
|
|
5238
|
+
export type ProjectAgentUpdateData = {
|
|
5239
|
+
body?: {
|
|
5240
|
+
agentVersionId?: string | null;
|
|
5241
|
+
type?: "primary" | "subagent" | "all";
|
|
5242
|
+
};
|
|
5243
|
+
path: {
|
|
5244
|
+
id: string;
|
|
5245
|
+
agentId: string;
|
|
5246
|
+
};
|
|
5247
|
+
query?: {
|
|
5248
|
+
/**
|
|
5249
|
+
* Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
|
|
5250
|
+
*/
|
|
5251
|
+
scope?: "user";
|
|
5252
|
+
};
|
|
5253
|
+
url: "/api/projects/{id}/agents/{agentId}";
|
|
5254
|
+
};
|
|
5255
|
+
export type ProjectAgentUpdateErrors = {
|
|
5256
|
+
/**
|
|
5257
|
+
* Bad request
|
|
5258
|
+
*/
|
|
5259
|
+
400: {
|
|
5260
|
+
error: string;
|
|
5261
|
+
};
|
|
5262
|
+
/**
|
|
5263
|
+
* Unauthorized
|
|
5264
|
+
*/
|
|
5265
|
+
401: {
|
|
5266
|
+
error: string;
|
|
5267
|
+
};
|
|
5268
|
+
/**
|
|
5269
|
+
* Forbidden
|
|
5270
|
+
*/
|
|
5271
|
+
403: {
|
|
5272
|
+
error: string;
|
|
5273
|
+
};
|
|
5274
|
+
/**
|
|
5275
|
+
* Not found
|
|
5276
|
+
*/
|
|
5277
|
+
404: {
|
|
5278
|
+
error: string;
|
|
5279
|
+
};
|
|
5280
|
+
};
|
|
5281
|
+
export type ProjectAgentUpdateError = ProjectAgentUpdateErrors[keyof ProjectAgentUpdateErrors];
|
|
5282
|
+
export type ProjectAgentUpdateResponses = {
|
|
5283
|
+
/**
|
|
5284
|
+
* Updated agent membership
|
|
5285
|
+
*/
|
|
5286
|
+
200: ProjectAgent;
|
|
5287
|
+
};
|
|
5288
|
+
export type ProjectAgentUpdateResponse = ProjectAgentUpdateResponses[keyof ProjectAgentUpdateResponses];
|
|
5236
5289
|
export type ProjectFileStoreListData = {
|
|
5237
5290
|
body?: never;
|
|
5238
5291
|
path: {
|
|
@@ -690,6 +690,8 @@ export declare const zAgentLatestVersion: z.ZodObject<{
|
|
|
690
690
|
agentId: z.ZodString;
|
|
691
691
|
version: z.ZodString;
|
|
692
692
|
description: z.ZodNullable<z.ZodString>;
|
|
693
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
694
|
+
model: z.ZodNullable<z.ZodString>;
|
|
693
695
|
skills: z.ZodArray<z.ZodObject<{
|
|
694
696
|
skillId: z.ZodString;
|
|
695
697
|
skillVersionId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -2299,6 +2301,8 @@ export declare const zAgent: z.ZodObject<{
|
|
|
2299
2301
|
agentId: z.ZodString;
|
|
2300
2302
|
version: z.ZodString;
|
|
2301
2303
|
description: z.ZodNullable<z.ZodString>;
|
|
2304
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
2305
|
+
model: z.ZodNullable<z.ZodString>;
|
|
2302
2306
|
skills: z.ZodArray<z.ZodObject<{
|
|
2303
2307
|
skillId: z.ZodString;
|
|
2304
2308
|
skillVersionId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -2366,6 +2370,8 @@ export declare const zAgentListResponse: z.ZodArray<z.ZodObject<{
|
|
|
2366
2370
|
agentId: z.ZodString;
|
|
2367
2371
|
version: z.ZodString;
|
|
2368
2372
|
description: z.ZodNullable<z.ZodString>;
|
|
2373
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
2374
|
+
model: z.ZodNullable<z.ZodString>;
|
|
2369
2375
|
skills: z.ZodArray<z.ZodObject<{
|
|
2370
2376
|
skillId: z.ZodString;
|
|
2371
2377
|
skillVersionId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -2573,6 +2579,8 @@ export declare const zAgentCreateResponse: z.ZodObject<{
|
|
|
2573
2579
|
agentId: z.ZodString;
|
|
2574
2580
|
version: z.ZodString;
|
|
2575
2581
|
description: z.ZodNullable<z.ZodString>;
|
|
2582
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
2583
|
+
model: z.ZodNullable<z.ZodString>;
|
|
2576
2584
|
skills: z.ZodArray<z.ZodObject<{
|
|
2577
2585
|
skillId: z.ZodString;
|
|
2578
2586
|
skillVersionId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -2665,6 +2673,8 @@ export declare const zAgentGetBySlugResponse: z.ZodObject<{
|
|
|
2665
2673
|
agentId: z.ZodString;
|
|
2666
2674
|
version: z.ZodString;
|
|
2667
2675
|
description: z.ZodNullable<z.ZodString>;
|
|
2676
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
2677
|
+
model: z.ZodNullable<z.ZodString>;
|
|
2668
2678
|
skills: z.ZodArray<z.ZodObject<{
|
|
2669
2679
|
skillId: z.ZodString;
|
|
2670
2680
|
skillVersionId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -2727,6 +2737,8 @@ export declare const zAgentGetResponse: z.ZodObject<{
|
|
|
2727
2737
|
agentId: z.ZodString;
|
|
2728
2738
|
version: z.ZodString;
|
|
2729
2739
|
description: z.ZodNullable<z.ZodString>;
|
|
2740
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
2741
|
+
model: z.ZodNullable<z.ZodString>;
|
|
2730
2742
|
skills: z.ZodArray<z.ZodObject<{
|
|
2731
2743
|
skillId: z.ZodString;
|
|
2732
2744
|
skillVersionId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -2803,6 +2815,8 @@ export declare const zAgentUpdateResponse: z.ZodObject<{
|
|
|
2803
2815
|
agentId: z.ZodString;
|
|
2804
2816
|
version: z.ZodString;
|
|
2805
2817
|
description: z.ZodNullable<z.ZodString>;
|
|
2818
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
2819
|
+
model: z.ZodNullable<z.ZodString>;
|
|
2806
2820
|
skills: z.ZodArray<z.ZodObject<{
|
|
2807
2821
|
skillId: z.ZodString;
|
|
2808
2822
|
skillVersionId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -2865,6 +2879,8 @@ export declare const zAgentArchiveResponse: z.ZodObject<{
|
|
|
2865
2879
|
agentId: z.ZodString;
|
|
2866
2880
|
version: z.ZodString;
|
|
2867
2881
|
description: z.ZodNullable<z.ZodString>;
|
|
2882
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
2883
|
+
model: z.ZodNullable<z.ZodString>;
|
|
2868
2884
|
skills: z.ZodArray<z.ZodObject<{
|
|
2869
2885
|
skillId: z.ZodString;
|
|
2870
2886
|
skillVersionId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -2927,6 +2943,8 @@ export declare const zAgentPublishResponse: z.ZodObject<{
|
|
|
2927
2943
|
agentId: z.ZodString;
|
|
2928
2944
|
version: z.ZodString;
|
|
2929
2945
|
description: z.ZodNullable<z.ZodString>;
|
|
2946
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
2947
|
+
model: z.ZodNullable<z.ZodString>;
|
|
2930
2948
|
skills: z.ZodArray<z.ZodObject<{
|
|
2931
2949
|
skillId: z.ZodString;
|
|
2932
2950
|
skillVersionId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -2992,6 +3010,8 @@ export declare const zAgentDeprecateResponse: z.ZodObject<{
|
|
|
2992
3010
|
agentId: z.ZodString;
|
|
2993
3011
|
version: z.ZodString;
|
|
2994
3012
|
description: z.ZodNullable<z.ZodString>;
|
|
3013
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
3014
|
+
model: z.ZodNullable<z.ZodString>;
|
|
2995
3015
|
skills: z.ZodArray<z.ZodObject<{
|
|
2996
3016
|
skillId: z.ZodString;
|
|
2997
3017
|
skillVersionId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -3054,6 +3074,8 @@ export declare const zAgentUndeprecateResponse: z.ZodObject<{
|
|
|
3054
3074
|
agentId: z.ZodString;
|
|
3055
3075
|
version: z.ZodString;
|
|
3056
3076
|
description: z.ZodNullable<z.ZodString>;
|
|
3077
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
3078
|
+
model: z.ZodNullable<z.ZodString>;
|
|
3057
3079
|
skills: z.ZodArray<z.ZodObject<{
|
|
3058
3080
|
skillId: z.ZodString;
|
|
3059
3081
|
skillVersionId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -8824,6 +8846,39 @@ export declare const zProjectAgentRemoveResponse: z.ZodObject<{
|
|
|
8824
8846
|
createdAt: z.ZodISODateTime;
|
|
8825
8847
|
updatedAt: z.ZodISODateTime;
|
|
8826
8848
|
}, z.core.$strip>;
|
|
8849
|
+
export declare const zProjectAgentUpdateBody: z.ZodObject<{
|
|
8850
|
+
agentVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8851
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
8852
|
+
primary: "primary";
|
|
8853
|
+
subagent: "subagent";
|
|
8854
|
+
all: "all";
|
|
8855
|
+
}>>;
|
|
8856
|
+
}, z.core.$strip>;
|
|
8857
|
+
export declare const zProjectAgentUpdatePath: z.ZodObject<{
|
|
8858
|
+
id: z.ZodString;
|
|
8859
|
+
agentId: z.ZodString;
|
|
8860
|
+
}, z.core.$strip>;
|
|
8861
|
+
export declare const zProjectAgentUpdateQuery: z.ZodObject<{
|
|
8862
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
8863
|
+
user: "user";
|
|
8864
|
+
}>>;
|
|
8865
|
+
}, z.core.$strip>;
|
|
8866
|
+
/**
|
|
8867
|
+
* Updated agent membership
|
|
8868
|
+
*/
|
|
8869
|
+
export declare const zProjectAgentUpdateResponse: z.ZodObject<{
|
|
8870
|
+
id: z.ZodString;
|
|
8871
|
+
projectId: z.ZodString;
|
|
8872
|
+
agentId: z.ZodString;
|
|
8873
|
+
agentVersionId: z.ZodNullable<z.ZodString>;
|
|
8874
|
+
type: z.ZodEnum<{
|
|
8875
|
+
primary: "primary";
|
|
8876
|
+
subagent: "subagent";
|
|
8877
|
+
all: "all";
|
|
8878
|
+
}>;
|
|
8879
|
+
createdAt: z.ZodISODateTime;
|
|
8880
|
+
updatedAt: z.ZodISODateTime;
|
|
8881
|
+
}, z.core.$strip>;
|
|
8827
8882
|
export declare const zProjectFileStoreListPath: z.ZodObject<{
|
|
8828
8883
|
id: z.ZodString;
|
|
8829
8884
|
}, z.core.$strip>;
|
|
@@ -11673,6 +11728,8 @@ export declare const zRegistryAgentListResponse: z.ZodArray<z.ZodObject<{
|
|
|
11673
11728
|
agentId: z.ZodString;
|
|
11674
11729
|
version: z.ZodString;
|
|
11675
11730
|
description: z.ZodNullable<z.ZodString>;
|
|
11731
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
11732
|
+
model: z.ZodNullable<z.ZodString>;
|
|
11676
11733
|
skills: z.ZodArray<z.ZodObject<{
|
|
11677
11734
|
skillId: z.ZodString;
|
|
11678
11735
|
skillVersionId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -11730,6 +11787,8 @@ export declare const zRegistryAgentGetResponse: z.ZodObject<{
|
|
|
11730
11787
|
agentId: z.ZodString;
|
|
11731
11788
|
version: z.ZodString;
|
|
11732
11789
|
description: z.ZodNullable<z.ZodString>;
|
|
11790
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
11791
|
+
model: z.ZodNullable<z.ZodString>;
|
|
11733
11792
|
skills: z.ZodArray<z.ZodObject<{
|
|
11734
11793
|
skillId: z.ZodString;
|
|
11735
11794
|
skillVersionId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -138,6 +138,8 @@ export const zAgentLatestVersion = z.object({
|
|
|
138
138
|
agentId: z.string(),
|
|
139
139
|
version: z.string().regex(/^\d+\.\d+\.\d+$/),
|
|
140
140
|
description: z.string().nullable(),
|
|
141
|
+
prompt: z.string().nullable(),
|
|
142
|
+
model: z.string().nullable(),
|
|
141
143
|
skills: z.array(z.object({
|
|
142
144
|
skillId: z.string(),
|
|
143
145
|
skillVersionId: z.string().nullish().default(null),
|
|
@@ -2401,6 +2403,21 @@ export const zProjectAgentRemoveQuery = z.object({
|
|
|
2401
2403
|
* Detached agent
|
|
2402
2404
|
*/
|
|
2403
2405
|
export const zProjectAgentRemoveResponse = zProjectAgent;
|
|
2406
|
+
export const zProjectAgentUpdateBody = z.object({
|
|
2407
|
+
agentVersionId: z.string().nullish(),
|
|
2408
|
+
type: z.enum(["primary", "subagent", "all"]).optional(),
|
|
2409
|
+
});
|
|
2410
|
+
export const zProjectAgentUpdatePath = z.object({
|
|
2411
|
+
id: z.string().regex(/^prj_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
2412
|
+
agentId: z.string().regex(/^agt_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
2413
|
+
});
|
|
2414
|
+
export const zProjectAgentUpdateQuery = z.object({
|
|
2415
|
+
scope: z.enum(["user"]).optional(),
|
|
2416
|
+
});
|
|
2417
|
+
/**
|
|
2418
|
+
* Updated agent membership
|
|
2419
|
+
*/
|
|
2420
|
+
export const zProjectAgentUpdateResponse = zProjectAgent;
|
|
2404
2421
|
export const zProjectFileStoreListPath = z.object({
|
|
2405
2422
|
id: z.string().regex(/^prj_[0-9A-HJKMNP-TV-Z]{26}$/),
|
|
2406
2423
|
});
|