@omnara/sdk 0.1.39 → 0.1.41
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/browser.js +2 -2
- package/dist/{chunk-43OBJDTP.js → chunk-6YKVAVCM.js} +2 -2
- package/dist/{chunk-NUU6DY46.js → chunk-PPREVIWL.js} +2 -2
- package/dist/chunk-PPREVIWL.js.map +1 -0
- package/dist/{chunk-P6QIAFYS.js → chunk-WM4BXMLD.js} +28 -4
- package/dist/chunk-WM4BXMLD.js.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/{sdk.gen-PMvhgCZ2.d.ts → sdk.gen-Bp5seXss.d.ts} +38 -12
- package/dist/tanstack.d.ts +6 -4
- package/dist/tanstack.js +2 -2
- package/dist/tanstack.js.map +1 -1
- package/dist/zod.d.ts +1 -1
- package/dist/{zod.gen-D18VayDm.d.ts → zod.gen-ArHIe1NX.d.ts} +208 -2
- package/dist/zod.js +7 -1
- package/package.json +1 -1
- package/dist/chunk-NUU6DY46.js.map +0 -1
- package/dist/chunk-P6QIAFYS.js.map +0 -1
- /package/dist/{chunk-43OBJDTP.js.map → chunk-6YKVAVCM.js.map} +0 -0
package/dist/tanstack.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { UseMutationOptions, InfiniteData } from '@tanstack/react-query';
|
|
3
|
-
import { O as Options } from './sdk.gen-
|
|
3
|
+
import { O as Options } from './sdk.gen-Bp5seXss.js';
|
|
4
4
|
import { AcceptInvitationData, AcceptInvitationResponse, AcceptInvitationError, ArchiveAgentData, ArchiveAgentResponse, ArchiveAgentError, BootstrapDaemonData, BootstrapDaemonResponse2, BootstrapDaemonError, CancelAgentData, CancelAgentResponse2, CancelAgentError, CancelQueuedBacklogInputData, CancelQueuedBacklogInputResponse, CancelQueuedBacklogInputError, CheckMachinePoolConnectionData, CheckMachinePoolConnectionResponse, CheckMachinePoolConnectionError, ConfigureIntegrationData, ConfigureIntegrationResponse, ConfigureIntegrationError, ConnectByoMachineData, ConnectByoMachineResponse2, ConnectByoMachineError, CreateAgentConfigData, CreateAgentConfigResponse, CreateAgentConfigError, CreateAgentInputData, CreateAgentInputResponse, CreateAgentInputError, CreateAgentData, CreateAgentResponse, CreateAgentError, CreateAgentProfileData, CreateAgentProfileResponse, CreateAgentProfileError, CreateByoMachineDaemonTokenData, CreateByoMachineDaemonTokenResponse, CreateByoMachineDaemonTokenError, CreateConfiguredModelData, CreateConfiguredModelResponse, CreateConfiguredModelError, CreateCronTriggerData, CreateCronTriggerResponse, CreateCronTriggerError, CreateEventWebhookData, CreateEventWebhookResponse, CreateEventWebhookError, CreateIntegrationGitHubSetupData, CreateIntegrationGitHubSetupResponse, CreateIntegrationGitHubSetupError, CreateIntegrationData, CreateIntegrationResponse, CreateIntegrationError, CreateIntegrationOAuthSetupData, CreateIntegrationOAuthSetupResponse, CreateIntegrationOAuthSetupError, CreateIntegrationSlackSetupData, CreateIntegrationSlackSetupResponse, CreateIntegrationSlackSetupError, CreateIntegrationSubscriptionData, CreateIntegrationSubscriptionResponse, CreateIntegrationSubscriptionError, CreateMachineData, CreateMachineResponse, CreateMachineError, CreateMachinePoolData, CreateMachinePoolResponse, CreateMachinePoolError, CreateMemoryStoreData, CreateMemoryStoreResponse, CreateMemoryStoreError, CreateModelProviderConfigData, CreateModelProviderConfigResponse2, CreateModelProviderConfigError, CreateOrgApiKeyData, CreateOrgApiKeyResponse2, CreateOrgApiKeyError, CreateOrgInvitationData, CreateOrgInvitationResponse, CreateOrgInvitationError, CreateOrganizationData, CreateOrganizationResponse2, CreateOrganizationError, CreatePersonalAccessTokenData, CreatePersonalAccessTokenResponse2, CreatePersonalAccessTokenError, CreateProjectMachineGrantData, CreateProjectMachineGrantResponse2, CreateProjectMachineGrantError, CreateProjectMachinePoolGrantData, CreateProjectMachinePoolGrantResponse, CreateProjectMachinePoolGrantError, CreateProjectModelGrantData, CreateProjectModelGrantResponse, CreateProjectModelGrantError, CreateProjectData, CreateProjectResponse, CreateProjectError, CreateSecretGrantData, CreateSecretGrantResponse, CreateSecretGrantError, CreateSecretData, CreateSecretResponse, CreateSecretError, CreateSecretVersionData, CreateSecretVersionResponse, CreateSecretVersionError, CreateSkillGrantData, CreateSkillGrantResponse, CreateSkillGrantError, CreateSkillData, CreateSkillResponse, CreateSkillError, DeclineInvitationData, DeclineInvitationResponse, DeclineInvitationError, DeleteAgentProfileData, DeleteAgentProfileResponse, DeleteAgentProfileError, DeleteConfiguredModelData, DeleteConfiguredModelResponse, DeleteConfiguredModelError, DeleteCronTriggerData, DeleteCronTriggerResponse, DeleteCronTriggerError, DeleteCurrentUserData, DeleteCurrentUserResponse, DeleteCurrentUserError, DeleteEventWebhookData, DeleteEventWebhookResponse, DeleteEventWebhookError, DeleteIntegrationData, DeleteIntegrationResponse, DeleteIntegrationError, DeleteIntegrationSubscriptionData, DeleteIntegrationSubscriptionResponse, DeleteIntegrationSubscriptionError, DeleteMachineData, DeleteMachineResponse, DeleteMachineError, DeleteMachinePoolData, DeleteMachinePoolResponse, DeleteMachinePoolError, DeleteMemoryFileData, DeleteMemoryFileResponse, DeleteMemoryFileError, DeleteMemoryStoreData, DeleteMemoryStoreResponse, DeleteMemoryStoreError, DeleteModelProviderConfigData, DeleteModelProviderConfigResponse, DeleteModelProviderConfigError, DeleteOrgInvitationData, DeleteOrgInvitationResponse, DeleteOrgInvitationError, DeleteOrganizationData, DeleteOrganizationResponse, DeleteOrganizationError, DeleteProjectMachineGrantData, DeleteProjectMachineGrantResponse, DeleteProjectMachineGrantError, DeleteProjectMachinePoolGrantData, DeleteProjectMachinePoolGrantResponse, DeleteProjectMachinePoolGrantError, DeleteProjectModelGrantData, DeleteProjectModelGrantResponse, DeleteProjectModelGrantError, DeleteProjectData, DeleteProjectResponse, DeleteProjectError, DeleteSecretGrantData, DeleteSecretGrantResponse, DeleteSecretGrantError, DeleteSecretData, DeleteSecretResponse, DeleteSecretError, DeleteSkillGrantData, DeleteSkillGrantResponse, DeleteSkillGrantError, DeleteSkillData, DeleteSkillResponse, DeleteSkillError, DemoteSteeringInputToQueuedData, DemoteSteeringInputToQueuedResponse, DemoteSteeringInputToQueuedError, DisconnectIntegrationData, DisconnectIntegrationResponse, DisconnectIntegrationError, DownloadDaemonFileData, DownloadDaemonFileError, DownloadMemoryFileData, DownloadMemoryFileError, EndMachineDaemonRuntimeData, EndMachineDaemonRuntimeResponse, EndMachineDaemonRuntimeError, GetActorData, Actor, GetActorError, GetAgentConfigGeneratedSourceData, AgentConfigGeneratedSource, GetAgentConfigGeneratedSourceError, GetAgentConfigData, AgentConfig, GetAgentConfigError, GetAgentData, GetAgentResponse, GetAgentError, GetAgentProfileData, AgentProfile, GetAgentProfileError, GetAgentProfileUsageData, UsageReport, GetAgentProfileUsageError, GetAgentUsageData, GetAgentUsageError, GetArtifactContentData, GetArtifactContentError, GetArtifactData, Artifact, GetArtifactError, GetCronTriggerData, CronTrigger, GetCronTriggerError, GetCurrentUserData, CurrentUser, GetCurrentUserError, GetDaemonGitCredentialsData, GetDaemonGitCredentialsResponse, GetDaemonGitCredentialsError, GetDaemonSkillArchiveData, GetDaemonSkillArchiveError, GetIntegrationData, Integration, GetIntegrationError, GetMachineData, Machine, GetMachineError, GetMachinePoolData, MachinePool, GetMachinePoolError, GetMemoryStoreData, MemoryStore, GetMemoryStoreError, GetModelCatalogData, ModelCatalog, GetModelCatalogError, GetModelProviderConfigData, ModelProviderConfig, GetModelProviderConfigError, GetOrgApiKeyData, OrgApiKey, GetOrgApiKeyError, GetOrgOverviewData, OrgOverviewResponse, GetOrgOverviewError, GetOrgUsageData, GetOrgUsageError, GetOrgUsageTimeseriesData, UsageTimeseries, GetOrgUsageTimeseriesError, GetProjectAvailableSecretData, ProjectSecretAccess, GetProjectAvailableSecretError, GetProjectMachinePoolGrantData, ProjectMachinePoolGrant, GetProjectMachinePoolGrantError, GetProjectUsageData, GetProjectUsageError, GetSecretData, Secret, GetSecretError, GetSkillData, Skill, GetSkillError, GetToolCatalogData, ToolCatalog, GetToolCatalogError, InspectIntegrationGitHubInstallationsData, InspectIntegrationGitHubInstallationsResponse, InspectIntegrationGitHubInstallationsError, ListActorsData, ListActorsResponse, ListActorsError, ListAgentInteractionsData, ListAgentInteractionsResponse, ListAgentInteractionsError, ListAgentProfilesData, ListAgentProfilesResponse, ListAgentProfilesError, ListAgentsData, ListAgentsResponse, ListAgentsError, ListByoMachineDaemonTokensData, ListMachineDaemonTokensResponse, ListByoMachineDaemonTokensError, ListConfiguredModelsData, ConfiguredModelList, ListConfiguredModelsError, ListCronTriggersData, ListCronTriggersResponse, ListCronTriggersError, ListEventWebhooksData, ListEventWebhooksResponse, ListEventWebhooksError, ListEventsData, ListAgentEventsResponse, ListEventsError, ListIntegrationDefinitionsData, ListIntegrationDefinitionsResponse, ListIntegrationDefinitionsError, ListIntegrationGitHubRepositoriesData, ListGitHubRepositoriesResponse, ListIntegrationGitHubRepositoriesError, ListIntegrationSubscriptionsData, ListIntegrationSubscriptionsResponse, ListIntegrationSubscriptionsError, ListIntegrationsData, ListIntegrationsResponse, ListIntegrationsError, ListMachinePoolsData, ListMachinePoolsResponse, ListMachinePoolsError, ListMcpServerToolsData, ListMcpServerToolsResponse, ListMcpServerToolsError, ListMcpServersData, ListMcpServersResponse, ListMcpServersError, ListMemberProjectAccessData, ListProjectMembershipGrantsResponse, ListMemberProjectAccessError, ListMemoryFilesData, MemoryFileList, ListMemoryFilesError, ListMemoryStoresData, MemoryStoreList, ListMemoryStoresError, ListModelProviderConfigsData, ModelProviderConfigList, ListModelProviderConfigsError, ListOrgAgentProfilesData, ListOrgAgentProfilesError, ListOrgAgentsData, ListOrgAgentsError, ListOrgApiKeyProjectAccessData, ListOrgApiKeyProjectAccessError, ListOrgApiKeysData, ListOrgApiKeysResponse, ListOrgApiKeysError, ListOrgIntegrationsData, ListOrgIntegrationsError, ListOrgInvitationsData, ListOrgInvitationsResponse, ListOrgInvitationsError, ListOrgMembersData, ListOrgMembersResponse, ListOrgMembersError, ListOrgMemoryStoresData, ListOrgMemoryStoresError, ListOrganizationsData, ListOrganizationsResponse, ListOrganizationsError, ListPendingInvitationsData, ListPendingInvitationsError, ListPersonalAccessTokensData, ListPersonalAccessTokensResponse, ListPersonalAccessTokensError, ListProjectAvailableSecretsData, ListProjectSecretAccessesResponse, ListProjectAvailableSecretsError, ListProjectAvailableSkillsData, ListProjectSkillAccessesResponse, ListProjectAvailableSkillsError, ListProjectMachineGrantsData, ListProjectMachineGrantsResponse, ListProjectMachineGrantsError, ListProjectMachinePoolGrantsData, ListProjectMachinePoolGrantsResponse, ListProjectMachinePoolGrantsError, ListProjectModelGrantsData, ListProjectModelGrantsResponse, ListProjectModelGrantsError, ListQueuedBacklogInputsData, ListAgentInputsResponse, ListQueuedBacklogInputsError, ListSecretGrantsData, ListSecretGrantsResponse, ListSecretGrantsError, ListSecretsData, ListSecretsResponse, ListSecretsError, ListSkillGrantsData, ListSkillGrantsResponse, ListSkillGrantsError, ListSkillsData, ListSkillsResponse, ListSkillsError, ListToolCallsData, ListToolCallsResponse, ListToolCallsError, ListTurnEventsData, ListTurnEventsResponse, ListTurnEventsError, ListTurnsData, ListAgentTurnsResponse, ListTurnsError, ListVisibleMachinesData, ListVisibleMachinesResponse, ListVisibleMachinesError, ListVisibleProjectMachinesData, ListVisibleProjectMachinesError, ListVisibleProjectsData, ListProjectsResponse, ListVisibleProjectsError, MoveQueuedBacklogInputData, MoveQueuedBacklogInputResponse, MoveQueuedBacklogInputError, PromoteQueuedInputToSteeringData, PromoteQueuedInputToSteeringResponse, PromoteQueuedInputToSteeringError, PutActorData, PutActorResponse, PutActorError, RecordMachineFailureData, RecordMachineFailureResponse, RecordMachineFailureError, RegisterMachineDaemonRuntimeData, RegisterMachineDaemonRuntimeResponse, RegisterMachineDaemonRuntimeError, RemoveMemberProjectAccessData, RemoveMemberProjectAccessResponse, RemoveMemberProjectAccessError, RemoveOrgApiKeyProjectRoleData, RemoveOrgApiKeyProjectRoleResponse, RemoveOrgApiKeyProjectRoleError, RemoveOrgMemberData, RemoveOrgMemberResponse, RemoveOrgMemberError, RenameAgentProfileData, RenameAgentProfileResponse, RenameAgentProfileError, ResolveAgentConfigToolsData, ResolveAgentConfigToolsResponse, ResolveAgentConfigToolsError, ResolveAgentInteractionData, ResolveAgentInteractionResponse, ResolveAgentInteractionError, RevokeMachineDaemonTokenData, RevokeMachineDaemonTokenResponse, RevokeMachineDaemonTokenError, RevokeOrgApiKeyData, RevokeOrgApiKeyResponse, RevokeOrgApiKeyError, RevokePersonalAccessTokenData, RevokePersonalAccessTokenResponse, RevokePersonalAccessTokenError, SetMemberProjectAccessData, SetMemberProjectAccessResponse, SetMemberProjectAccessError, SetOrgApiKeyProjectRoleData, SetOrgApiKeyProjectRoleResponse, SetOrgApiKeyProjectRoleError, SleepMachineDaemonRuntimeData, SleepMachineDaemonRuntimeResponse, SleepMachineDaemonRuntimeError, SocketMachineDaemonRuntimeData, SocketMachineDaemonRuntimeError, StartSecretMcpoAuthData, StartSecretMcpoAuthResponse, StartSecretMcpoAuthError, SubmitToolCallResultData, SubmitToolCallResultResponse2, SubmitToolCallResultError, UpdateAgentConfigData, UpdateAgentConfigResponse2, UpdateAgentConfigError, UpdateAgentProfileData, UpdateAgentProfileResponse, UpdateAgentProfileError, UpdateConfiguredModelData, UpdateConfiguredModelResponse, UpdateConfiguredModelError, UpdateCronTriggerData, UpdateCronTriggerResponse, UpdateCronTriggerError, UpdateEventWebhookData, UpdateEventWebhookResponse, UpdateEventWebhookError, UpdateIntegrationData, UpdateIntegrationResponse, UpdateIntegrationError, UpdateMachineData, UpdateMachineResponse, UpdateMachineError, UpdateMachinePoolData, UpdateMachinePoolResponse, UpdateMachinePoolError, UpdateMemoryStoreData, UpdateMemoryStoreResponse, UpdateMemoryStoreError, UpdateModelProviderConfigData, UpdateModelProviderConfigResponse, UpdateModelProviderConfigError, UpdateOrgApiKeyData, UpdateOrgApiKeyResponse, UpdateOrgApiKeyError, UpdateOrgMemberData, UpdateOrgMemberResponse, UpdateOrgMemberError, UpdateProjectMachinePoolGrantData, UpdateProjectMachinePoolGrantResponse, UpdateProjectMachinePoolGrantError, UpdateProjectModelGrantData, UpdateProjectModelGrantResponse, UpdateProjectModelGrantError, UpdateSecretData, UpdateSecretResponse, UpdateSecretError, UpdateSkillData, UpdateSkillResponse, UpdateSkillError, UploadDaemonFileData, UploadDaemonFileResponse, UploadDaemonFileError, WriteMemoryFileData, WriteMemoryFileResponse, WriteMemoryFileError } from './index.js';
|
|
5
5
|
|
|
6
6
|
type QueryKey<TOptions extends Options> = [
|
|
@@ -180,7 +180,7 @@ declare const deleteOrganizationMutation: (options?: Partial<Options<DeleteOrgan
|
|
|
180
180
|
/**
|
|
181
181
|
* Delete the authenticated user's account
|
|
182
182
|
*
|
|
183
|
-
* Deletes the account, revokes all personal access tokens and browser sessions, removes all organization and project memberships, and releases the account's sign-in identity (emails, linked auth identities, and password credentials) so the same email can register a new account. Personal secrets and skills owned by the user are deleted with the account. Deletion is blocked while the user is the last owner of any organization (add another owner or delete the organization first), while a personal skill is referenced by an active agent's configuration, or while a personal secret is referenced by a model provider config, machine pool, or integration. Organization and project resources are unaffected, and agents, machines, and other records the user created are kept with their attribution.
|
|
183
|
+
* Deletes the account, revokes all personal access tokens and browser sessions, removes all organization and project memberships, and releases the account's sign-in identity (emails, linked auth identities, and password credentials) so the same email can register a new account. Personal secrets and skills owned by the user are deleted with the account, and pending invitations they sent are canceled. Deletion is blocked while the user is the last owner of any organization (add another owner or delete the organization first), while a personal skill is referenced by an active agent's configuration, or while a personal secret is referenced by a model provider config, machine pool, or integration. Organization and project resources are unaffected, and agents, machines, and other records the user created are kept with their attribution.
|
|
184
184
|
*/
|
|
185
185
|
declare const deleteCurrentUserMutation: (options?: Partial<Options<DeleteCurrentUserData>>) => UseMutationOptions<DeleteCurrentUserResponse, DeleteCurrentUserError, Options<DeleteCurrentUserData>>;
|
|
186
186
|
declare const getCurrentUserQueryKey: (options?: Options<GetCurrentUserData>) => [Pick<Options<GetCurrentUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
@@ -634,11 +634,13 @@ declare const listOrgMembersInfiniteOptions: (options: Options<ListOrgMembersDat
|
|
|
634
634
|
/**
|
|
635
635
|
* Remove org member
|
|
636
636
|
*
|
|
637
|
-
* Removes the user's organization membership and all project memberships in the organization. The member's personal secrets and skills in the organization are deleted with the membership. Removal is blocked when the user is the organization's last owner, while a personal skill is referenced by an active agent's configuration, or while a personal secret is referenced by a model provider config, machine pool, or integration.
|
|
637
|
+
* Removes the user's organization membership and all project memberships in the organization. The member's personal secrets and skills in the organization are deleted with the membership, and pending invitations they sent are canceled. Only owners can remove an owner. Removal is blocked when the user is the organization's last owner, while a personal skill is referenced by an active agent's configuration, or while a personal secret is referenced by a model provider config, machine pool, or integration.
|
|
638
638
|
*/
|
|
639
639
|
declare const removeOrgMemberMutation: (options?: Partial<Options<RemoveOrgMemberData>>) => UseMutationOptions<RemoveOrgMemberResponse, RemoveOrgMemberError, Options<RemoveOrgMemberData>>;
|
|
640
640
|
/**
|
|
641
641
|
* Update org member role
|
|
642
|
+
*
|
|
643
|
+
* Changes the member's org role. Only owners can grant the owner role or change an owner's role, and the last owner cannot be demoted. Demoting an owner cancels the pending owner invitations they sent.
|
|
642
644
|
*/
|
|
643
645
|
declare const updateOrgMemberMutation: (options?: Partial<Options<UpdateOrgMemberData>>) => UseMutationOptions<UpdateOrgMemberResponse, UpdateOrgMemberError, Options<UpdateOrgMemberData>>;
|
|
644
646
|
declare const listMemberProjectAccessQueryKey: (options: Options<ListMemberProjectAccessData>) => [Pick<Options<ListMemberProjectAccessData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
@@ -782,7 +784,7 @@ declare const updateOrgApiKeyMutation: (options?: Partial<Options<UpdateOrgApiKe
|
|
|
782
784
|
/**
|
|
783
785
|
* Revoke an org API key
|
|
784
786
|
*
|
|
785
|
-
* Terminally revokes the key
|
|
787
|
+
* Terminally revokes the key, removes its org and project roles, and cancels pending invitations it sent. Idempotent.
|
|
786
788
|
*/
|
|
787
789
|
declare const revokeOrgApiKeyMutation: (options?: Partial<Options<RevokeOrgApiKeyData>>) => UseMutationOptions<RevokeOrgApiKeyResponse, RevokeOrgApiKeyError, Options<RevokeOrgApiKeyData>>;
|
|
788
790
|
declare const listOrgApiKeyProjectAccessQueryKey: (options: Options<ListOrgApiKeyProjectAccessData>) => [Pick<Options<ListOrgApiKeyProjectAccessData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
package/dist/tanstack.js
CHANGED
|
@@ -181,9 +181,9 @@ import {
|
|
|
181
181
|
updateSkill,
|
|
182
182
|
uploadDaemonFile,
|
|
183
183
|
writeMemoryFile
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-PPREVIWL.js";
|
|
185
185
|
import "./chunk-NZCMY3BC.js";
|
|
186
|
-
import "./chunk-
|
|
186
|
+
import "./chunk-WM4BXMLD.js";
|
|
187
187
|
|
|
188
188
|
// src/generated/@tanstack/react-query.gen.ts
|
|
189
189
|
import { infiniteQueryOptions, queryOptions } from "@tanstack/react-query";
|