@omnara/sdk 0.1.1 → 0.1.2
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/{chunk-EXRYZBJH.js → chunk-OEMZZYRM.js} +16 -1
- package/dist/chunk-OEMZZYRM.js.map +1 -0
- package/dist/{chunk-L7Q46XLT.js → chunk-UZA6TQOU.js} +2 -2
- package/dist/chunk-UZA6TQOU.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +29 -2
- package/dist/index.js.map +1 -1
- package/dist/{sdk.gen-BwwvPS9F.d.ts → sdk.gen-ZBFBMn0v.d.ts} +29 -5
- package/dist/tanstack.d.ts +6 -6
- package/dist/tanstack.js +2 -2
- package/dist/tanstack.js.map +1 -1
- package/dist/zod.d.ts +87 -65
- package/dist/zod.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-EXRYZBJH.js.map +0 -1
- package/dist/chunk-L7Q46XLT.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as AuthStrategy } from './auth-CnOxLjlL.js';
|
|
2
2
|
export { b as bearerToken } from './auth-CnOxLjlL.js';
|
|
3
|
-
import { fx as Config, fy as Client, fz as StreamEventsData, fA as AgentEventStreamData, fB as Error$1 } from './sdk.gen-
|
|
4
|
-
export { A as AcceptInvitationData, b as AcceptInvitationError, fC as AcceptInvitationErrors, a as AcceptInvitationResponse, fD as AcceptInvitationResponses, bE as Actor, fE as ActorId, fF as ActorProvider, fG as Agent, bH as AgentConfig, fH as AgentConfigId, fI as AgentConfigModel, fJ as AgentControlType, fK as AgentCount, fL as AgentCronTriggerTarget, fM as AgentEvent, fN as AgentEventId, fO as AgentId, fP as AgentInput, fQ as AgentInputContentBlock, fR as AgentInputDeliveryMode, fS as AgentInputEnvelope, fT as AgentInputEvent, fU as AgentInputId, fV as AgentInputKind, fW as AgentInteraction, fX as AgentInteractionId, fY as AgentInteractionKind, fZ as AgentInteractionState, f_ as AgentMachineBinding, f$ as AgentMachineBindingId, g0 as AgentMachineBindingKind, g1 as AgentMachineBindingState, g2 as AgentMcpConnection, g3 as AgentModel, bN as AgentProfile, g4 as AgentProfileCronTriggerTarget, g5 as AgentProfileId, g6 as AgentSequence, g7 as AgentSequenceCursor, g8 as AgentTurn, g9 as AgentTurnId, c as ArchiveAgentData, e as ArchiveAgentError, ga as ArchiveAgentErrors, d as ArchiveAgentResponse, gb as ArchiveAgentResponses, bS as Artifact, gc as ArtifactId, gd as AwsCredentialsSecretMaterial, B as BootstrapDaemonData, g as BootstrapDaemonError, ge as BootstrapDaemonErrors, gf as BootstrapDaemonResponse, f as BootstrapDaemonResponse2, gg as BootstrapDaemonResponses, C as CancelAgentData, i as CancelAgentError, gh as CancelAgentErrors, gi as CancelAgentRequest, gj as CancelAgentResponse, h as CancelAgentResponse2, gk as CancelAgentResponses, j as CancelQueuedBacklogInputData, l as CancelQueuedBacklogInputError, gl as CancelQueuedBacklogInputErrors, k as CancelQueuedBacklogInputResponse, gm as CancelQueuedBacklogInputResponses, gn as ClientErrorCode, go as ClientOptions, gp as ConfiguredModel, gq as ConfiguredModelId, cN as ConfiguredModelList, gr as ConfiguredModelRevisionId, gs as ConfiguredModelSummary, m as ConnectByoMachineData, o as ConnectByoMachineError, gt as ConnectByoMachineErrors, gu as ConnectByoMachineRequest, gv as ConnectByoMachineResponse, n as ConnectByoMachineResponse2, gw as ConnectByoMachineResponses, gx as ContentBlockMetadata, gy as ContextCheckpointEvent, gz as ContextCheckpointId, p as CreateAgentConfigData, r as CreateAgentConfigError, gA as CreateAgentConfigErrors, gB as CreateAgentConfigRequest, q as CreateAgentConfigResponse, gC as CreateAgentConfigResponses, v as CreateAgentData, x as CreateAgentError, gD as CreateAgentErrors, gE as CreateAgentInputContentBlock, s as CreateAgentInputData, gF as CreateAgentInputDeliveryMode, u as CreateAgentInputError, gG as CreateAgentInputErrors, gH as CreateAgentInputRequest, t as CreateAgentInputResponse, gI as CreateAgentInputResponses, y as CreateAgentProfileData, D as CreateAgentProfileError, gJ as CreateAgentProfileErrors, gK as CreateAgentProfileRequest, z as CreateAgentProfileResponse, gL as CreateAgentProfileResponses, gM as CreateAgentRequest, w as CreateAgentResponse, gN as CreateAgentResponses, E as CreateByoMachineDaemonTokenData, G as CreateByoMachineDaemonTokenError, gO as CreateByoMachineDaemonTokenErrors, F as CreateByoMachineDaemonTokenResponse, gP as CreateByoMachineDaemonTokenResponses, H as CreateConfiguredModelData, J as CreateConfiguredModelError, gQ as CreateConfiguredModelErrors, gR as CreateConfiguredModelRequest, I as CreateConfiguredModelResponse, gS as CreateConfiguredModelResponses, K as CreateCronTriggerData, M as CreateCronTriggerError, gT as CreateCronTriggerErrors, gU as CreateCronTriggerRequest, L as CreateCronTriggerResponse, gV as CreateCronTriggerResponses, N as CreateIntegrationOAuthSetupData, Q as CreateIntegrationOAuthSetupError, gW as CreateIntegrationOAuthSetupErrors, gX as CreateIntegrationOAuthSetupRequest, P as CreateIntegrationOAuthSetupResponse, gY as CreateIntegrationOAuthSetupResponses, gZ as CreateMachineDaemonTokenRequest, g_ as CreateMachineDaemonTokenResponse, R as CreateMachineData, T as CreateMachineError, g$ as CreateMachineErrors, U as CreateMachinePoolData, W as CreateMachinePoolError, h0 as CreateMachinePoolErrors, h1 as CreateMachinePoolRequest, h2 as CreateMachinePoolRequestBase, V as CreateMachinePoolResponse, h3 as CreateMachinePoolResponses, h4 as CreateMachineRequest, S as CreateMachineResponse, h5 as CreateMachineResponses, X as CreateModelProviderConfigData, Z as CreateModelProviderConfigError, h6 as CreateModelProviderConfigErrors, h7 as CreateModelProviderConfigRequest, h8 as CreateModelProviderConfigResponse, Y as CreateModelProviderConfigResponse2, h9 as CreateModelProviderConfigResponses, _ as CreateOrgApiKeyData, a0 as CreateOrgApiKeyError, ha as CreateOrgApiKeyErrors, hb as CreateOrgApiKeyRequest, hc as CreateOrgApiKeyResponse, $ as CreateOrgApiKeyResponse2, hd as CreateOrgApiKeyResponses, a1 as CreateOrgInvitationData, a3 as CreateOrgInvitationError, he as CreateOrgInvitationErrors, hf as CreateOrgInvitationRequest, a2 as CreateOrgInvitationResponse, hg as CreateOrgInvitationResponses, a4 as CreateOrganizationData, a6 as CreateOrganizationError, hh as CreateOrganizationErrors, hi as CreateOrganizationRequest, hj as CreateOrganizationResponse, a5 as CreateOrganizationResponse2, hk as CreateOrganizationResponses, a7 as CreatePersonalAccessTokenData, a9 as CreatePersonalAccessTokenError, hl as CreatePersonalAccessTokenErrors, hm as CreatePersonalAccessTokenRequest, hn as CreatePersonalAccessTokenResponse, a8 as CreatePersonalAccessTokenResponse2, ho as CreatePersonalAccessTokenResponses, aj as CreateProjectData, al as CreateProjectError, hp as CreateProjectErrors, aa as CreateProjectMachineGrantData, ac as CreateProjectMachineGrantError, hq as CreateProjectMachineGrantErrors, hr as CreateProjectMachineGrantRequest, hs as CreateProjectMachineGrantResponse, ab as CreateProjectMachineGrantResponse2, ht as CreateProjectMachineGrantResponses, ad as CreateProjectMachinePoolGrantData, af as CreateProjectMachinePoolGrantError, hu as CreateProjectMachinePoolGrantErrors, hv as CreateProjectMachinePoolGrantRequest, ae as CreateProjectMachinePoolGrantResponse, hw as CreateProjectMachinePoolGrantResponses, ag as CreateProjectModelGrantData, ai as CreateProjectModelGrantError, hx as CreateProjectModelGrantErrors, hy as CreateProjectModelGrantRequest, ah as CreateProjectModelGrantResponse, hz as CreateProjectModelGrantResponses, hA as CreateProjectRequest, ak as CreateProjectResponse, hB as CreateProjectResponses, ap as CreateSecretData, ar as CreateSecretError, hC as CreateSecretErrors, am as CreateSecretGrantData, ao as CreateSecretGrantError, hD as CreateSecretGrantErrors, an as CreateSecretGrantResponse, hE as CreateSecretGrantResponses, hF as CreateSecretRequest, aq as CreateSecretResponse, hG as CreateSecretResponses, as as CreateSecretVersionData, au as CreateSecretVersionError, hH as CreateSecretVersionErrors, at as CreateSecretVersionResponse, hI as CreateSecretVersionResponses, ay as CreateSkillData, aA as CreateSkillError, hJ as CreateSkillErrors, av as CreateSkillGrantData, ax as CreateSkillGrantError, hK as CreateSkillGrantErrors, aw as CreateSkillGrantResponse, hL as CreateSkillGrantResponses, hM as CreateSkillRequest, az as CreateSkillResponse, hN as CreateSkillResponses, aB as CreateSlackSetupData, aD as CreateSlackSetupError, hO as CreateSlackSetupErrors, hP as CreateSlackSetupRequest, aC as CreateSlackSetupResponse, hQ as CreateSlackSetupResponses, hR as CreatedResourceListSort, hS as CronExpression, hT as CronMessageTemplate, hU as CronTimezone, bV as CronTrigger, hV as CronTriggerFailureReport, hW as CronTriggerId, hX as CronTriggerTarget, hY as CurrentAgentResponse, bY as CurrentUser, hZ as CurrentUserIdentity, h_ as CurrentUserOrg, h$ as DaemonRuntime, i0 as DaemonRuntimeId, i1 as DaemonRuntimeReconciliation, i2 as DaemonRuntimeState, aE as DeclineInvitationData, aG as DeclineInvitationError, i3 as DeclineInvitationErrors, aF as DeclineInvitationResponse, i4 as DeclineInvitationResponses, aH as DeleteAgentProfileData, aJ as DeleteAgentProfileError, i5 as DeleteAgentProfileErrors, aI as DeleteAgentProfileResponse, i6 as DeleteAgentProfileResponses, aK as DeleteConfiguredModelData, aM as DeleteConfiguredModelError, i7 as DeleteConfiguredModelErrors, aL as DeleteConfiguredModelResponse, i8 as DeleteConfiguredModelResponses, aN as DeleteCronTriggerData, aP as DeleteCronTriggerError, i9 as DeleteCronTriggerErrors, aO as DeleteCronTriggerResponse, ia as DeleteCronTriggerResponses, aQ as DeleteCurrentUserData, aS as DeleteCurrentUserError, ib as DeleteCurrentUserErrors, aR as DeleteCurrentUserResponse, ic as DeleteCurrentUserResponses, aT as DeleteIntegrationInstallData, aV as DeleteIntegrationInstallError, id as DeleteIntegrationInstallErrors, aU as DeleteIntegrationInstallResponse, ie as DeleteIntegrationInstallResponses, aW as DeleteMachineData, aY as DeleteMachineError, ig as DeleteMachineErrors, aZ as DeleteMachinePoolData, a$ as DeleteMachinePoolError, ih as DeleteMachinePoolErrors, a_ as DeleteMachinePoolResponse, ii as DeleteMachinePoolResponses, aX as DeleteMachineResponse, ij as DeleteMachineResponses, b0 as DeleteModelProviderConfigData, b2 as DeleteModelProviderConfigError, ik as DeleteModelProviderConfigErrors, b1 as DeleteModelProviderConfigResponse, il as DeleteModelProviderConfigResponses, b3 as DeleteOrgInvitationData, b5 as DeleteOrgInvitationError, im as DeleteOrgInvitationErrors, b4 as DeleteOrgInvitationResponse, io as DeleteOrgInvitationResponses, b6 as DeleteOrganizationData, b8 as DeleteOrganizationError, ip as DeleteOrganizationErrors, b7 as DeleteOrganizationResponse, iq as DeleteOrganizationResponses, bi as DeleteProjectData, bk as DeleteProjectError, ir as DeleteProjectErrors, b9 as DeleteProjectMachineGrantData, bb as DeleteProjectMachineGrantError, is as DeleteProjectMachineGrantErrors, ba as DeleteProjectMachineGrantResponse, it as DeleteProjectMachineGrantResponses, bc as DeleteProjectMachinePoolGrantData, be as DeleteProjectMachinePoolGrantError, iu as DeleteProjectMachinePoolGrantErrors, bd as DeleteProjectMachinePoolGrantResponse, iv as DeleteProjectMachinePoolGrantResponses, bf as DeleteProjectModelGrantData, bh as DeleteProjectModelGrantError, iw as DeleteProjectModelGrantErrors, bg as DeleteProjectModelGrantResponse, ix as DeleteProjectModelGrantResponses, bj as DeleteProjectResponse, iy as DeleteProjectResponses, bo as DeleteSecretData, bq as DeleteSecretError, iz as DeleteSecretErrors, bl as DeleteSecretGrantData, bn as DeleteSecretGrantError, iA as DeleteSecretGrantErrors, bm as DeleteSecretGrantResponse, iB as DeleteSecretGrantResponses, bp as DeleteSecretResponse, iC as DeleteSecretResponses, bu as DeleteSkillData, bw as DeleteSkillError, iD as DeleteSkillErrors, br as DeleteSkillGrantData, bt as DeleteSkillGrantError, iE as DeleteSkillGrantErrors, bs as DeleteSkillGrantResponse, iF as DeleteSkillGrantResponses, bv as DeleteSkillResponse, iG as DeleteSkillResponses, bx as DemoteSteeringInputToQueuedData, bz as DemoteSteeringInputToQueuedError, iH as DemoteSteeringInputToQueuedErrors, by as DemoteSteeringInputToQueuedResponse, iI as DemoteSteeringInputToQueuedResponses, iJ as DirectSecretAvailability, iK as DirectSkillAvailability, iL as DiscoveredProviderModel, bA as EndMachineDaemonRuntimeData, bC as EndMachineDaemonRuntimeError, iM as EndMachineDaemonRuntimeErrors, bB as EndMachineDaemonRuntimeResponse, iN as EndMachineDaemonRuntimeResponses, iO as ErrorContentBlock, iP as ExternalActorParams, iQ as GenericSecretMaterial, bD as GetActorData, bF as GetActorError, iR as GetActorErrors, iS as GetActorResponse, iT as GetActorResponses, bG as GetAgentConfigData, bI as GetAgentConfigError, iU as GetAgentConfigErrors, iV as GetAgentConfigResponse, iW as GetAgentConfigResponses, bJ as GetAgentData, bL as GetAgentError, iX as GetAgentErrors, bM as GetAgentProfileData, bO as GetAgentProfileError, iY as GetAgentProfileErrors, iZ as GetAgentProfileResponse, i_ as GetAgentProfileResponses, bK as GetAgentResponse, i$ as GetAgentResponse2, j0 as GetAgentResponses, bP as GetArtifactContentData, bQ as GetArtifactContentError, j1 as GetArtifactContentErrors, j2 as GetArtifactContentResponse, j3 as GetArtifactContentResponses, bR as GetArtifactData, bT as GetArtifactError, j4 as GetArtifactErrors, j5 as GetArtifactResponse, j6 as GetArtifactResponses, bU as GetCronTriggerData, bW as GetCronTriggerError, j7 as GetCronTriggerErrors, j8 as GetCronTriggerResponse, j9 as GetCronTriggerResponses, bX as GetCurrentUserData, bZ as GetCurrentUserError, ja as GetCurrentUserErrors, jb as GetCurrentUserResponse, jc as GetCurrentUserResponses, b_ as GetDaemonSkillArchiveData, b$ as GetDaemonSkillArchiveError, jd as GetDaemonSkillArchiveErrors, je as GetDaemonSkillArchiveResponse, jf as GetDaemonSkillArchiveResponses, c0 as GetMachineData, c2 as GetMachineError, jg as GetMachineErrors, c3 as GetMachinePoolData, c5 as GetMachinePoolError, jh as GetMachinePoolErrors, ji as GetMachinePoolResponse, jj as GetMachinePoolResponses, jk as GetMachineResponse, jl as GetMachineResponses, c6 as GetModelCatalogData, c8 as GetModelCatalogError, jm as GetModelCatalogErrors, jn as GetModelCatalogResponse, jo as GetModelCatalogResponses, c9 as GetModelProviderConfigData, cb as GetModelProviderConfigError, jp as GetModelProviderConfigErrors, jq as GetModelProviderConfigResponse, jr as GetModelProviderConfigResponses, cc as GetOrgApiKeyData, ce as GetOrgApiKeyError, js as GetOrgApiKeyErrors, jt as GetOrgApiKeyResponse, ju as GetOrgApiKeyResponses, cf as GetOrgOverviewData, ch as GetOrgOverviewError, jv as GetOrgOverviewErrors, jw as GetOrgOverviewResponse, jx as GetOrgOverviewResponses, ci as GetProjectAvailableSecretData, ck as GetProjectAvailableSecretError, jy as GetProjectAvailableSecretErrors, jz as GetProjectAvailableSecretResponse, jA as GetProjectAvailableSecretResponses, cl as GetProjectMachinePoolGrantData, cn as GetProjectMachinePoolGrantError, jB as GetProjectMachinePoolGrantErrors, jC as GetProjectMachinePoolGrantResponse, jD as GetProjectMachinePoolGrantResponses, co as GetSecretData, cq as GetSecretError, jE as GetSecretErrors, jF as GetSecretResponse, jG as GetSecretResponses, cr as GetSkillData, ct as GetSkillError, jH as GetSkillErrors, jI as GetSkillResponse, jJ as GetSkillResponses, cu as GetToolCatalogData, cw as GetToolCatalogError, jK as GetToolCatalogErrors, jL as GetToolCatalogResponse, jM as GetToolCatalogResponses, jN as GrantedSecretAvailability, jO as GrantedSkillAvailability, jP as IdempotencyKey, jQ as InlineMediaContentBlock, jR as InstallationId, jS as IntegrationInstall, jT as IntegrationInstallAgentProfileFilter, jU as IntegrationInstallId, jV as IntegrationInstallOAuthFlowIdFilter, jW as IntegrationOAuthFlowId, jX as IntegrationOAuthSetup, jY as IntegrationTarget, jZ as InteractionAnswer, j_ as InteractionForm, j$ as InteractionFormContextItem, k0 as InteractionFormOption, k1 as InteractionFormQuestion, k2 as InteractionResolution, k3 as JsonBlob, k4 as LaunchAgentResponse, cx as ListActorsData, cz as ListActorsError, k5 as ListActorsErrors, cy as ListActorsResponse, k6 as ListActorsResponse2, k7 as ListActorsResponses, cT as ListAgentEventsResponse, dC as ListAgentInputsResponse, cA as ListAgentInteractionsData, cC as ListAgentInteractionsError, k8 as ListAgentInteractionsErrors, cB as ListAgentInteractionsResponse, k9 as ListAgentInteractionsResponse2, ka as ListAgentInteractionsResponses, cD as ListAgentProfilesData, cF as ListAgentProfilesError, kb as ListAgentProfilesErrors, cE as ListAgentProfilesResponse, kc as ListAgentProfilesResponse2, kd as ListAgentProfilesResponses, dX as ListAgentTurnsResponse, cG as ListAgentsData, cI as ListAgentsError, ke as ListAgentsErrors, cH as ListAgentsResponse, kf as ListAgentsResponse2, kg as ListAgentsResponses, cJ as ListByoMachineDaemonTokensData, cL as ListByoMachineDaemonTokensError, kh as ListByoMachineDaemonTokensErrors, ki as ListByoMachineDaemonTokensResponse, kj as ListByoMachineDaemonTokensResponses, cM as ListConfiguredModelsData, cO as ListConfiguredModelsError, kk as ListConfiguredModelsErrors, kl as ListConfiguredModelsResponse, km as ListConfiguredModelsResponses, cP as ListCronTriggersData, cR as ListCronTriggersError, kn as ListCronTriggersErrors, cQ as ListCronTriggersResponse, ko as ListCronTriggersResponse2, kp as ListCronTriggersResponses, cS as ListEventsData, cU as ListEventsError, kq as ListEventsErrors, kr as ListEventsResponse, ks as ListEventsResponses, cV as ListIntegrationInstallsData, cX as ListIntegrationInstallsError, kt as ListIntegrationInstallsErrors, cW as ListIntegrationInstallsResponse, ku as ListIntegrationInstallsResponse2, kv as ListIntegrationInstallsResponses, cK as ListMachineDaemonTokensResponse, cY as ListMachinePoolsData, c_ as ListMachinePoolsError, kw as ListMachinePoolsErrors, cZ as ListMachinePoolsResponse, kx as ListMachinePoolsResponse2, ky as ListMachinePoolsResponses, c$ as ListMemberProjectAccessData, d1 as ListMemberProjectAccessError, kz as ListMemberProjectAccessErrors, kA as ListMemberProjectAccessResponse, kB as ListMemberProjectAccessResponses, d2 as ListModelProviderConfigsData, d4 as ListModelProviderConfigsError, kC as ListModelProviderConfigsErrors, kD as ListModelProviderConfigsResponse, kE as ListModelProviderConfigsResponses, d5 as ListOrgApiKeyProjectAccessData, d6 as ListOrgApiKeyProjectAccessError, kF as ListOrgApiKeyProjectAccessErrors, kG as ListOrgApiKeyProjectAccessResponse, kH as ListOrgApiKeyProjectAccessResponses, d7 as ListOrgApiKeysData, d9 as ListOrgApiKeysError, kI as ListOrgApiKeysErrors, d8 as ListOrgApiKeysResponse, kJ as ListOrgApiKeysResponse2, kK as ListOrgApiKeysResponses, da as ListOrgInvitationsData, dc as ListOrgInvitationsError, kL as ListOrgInvitationsErrors, db as ListOrgInvitationsResponse, kM as ListOrgInvitationsResponse2, kN as ListOrgInvitationsResponses, dd as ListOrgMembersData, df as ListOrgMembersError, kO as ListOrgMembersErrors, de as ListOrgMembersResponse, kP as ListOrgMembersResponse2, kQ as ListOrgMembersResponses, dg as ListPendingInvitationsData, dh as ListPendingInvitationsError, kR as ListPendingInvitationsErrors, kS as ListPendingInvitationsResponse, kT as ListPendingInvitationsResponses, di as ListPersonalAccessTokensData, dk as ListPersonalAccessTokensError, kU as ListPersonalAccessTokensErrors, dj as ListPersonalAccessTokensResponse, kV as ListPersonalAccessTokensResponse2, kW as ListPersonalAccessTokensResponses, dl as ListProjectAvailableSecretsData, dn as ListProjectAvailableSecretsError, kX as ListProjectAvailableSecretsErrors, kY as ListProjectAvailableSecretsResponse, kZ as ListProjectAvailableSecretsResponses, dp as ListProjectAvailableSkillsData, dr as ListProjectAvailableSkillsError, k_ as ListProjectAvailableSkillsErrors, k$ as ListProjectAvailableSkillsResponse, l0 as ListProjectAvailableSkillsResponses, ds as ListProjectMachineGrantsData, du as ListProjectMachineGrantsError, l1 as ListProjectMachineGrantsErrors, dt as ListProjectMachineGrantsResponse, l2 as ListProjectMachineGrantsResponse2, l3 as ListProjectMachineGrantsResponses, dv as ListProjectMachinePoolGrantsData, dx as ListProjectMachinePoolGrantsError, l4 as ListProjectMachinePoolGrantsErrors, dw as ListProjectMachinePoolGrantsResponse, l5 as ListProjectMachinePoolGrantsResponse2, l6 as ListProjectMachinePoolGrantsResponses, d0 as ListProjectMembershipGrantsResponse, dy as ListProjectModelGrantsData, dA as ListProjectModelGrantsError, l7 as ListProjectModelGrantsErrors, dz as ListProjectModelGrantsResponse, l8 as ListProjectModelGrantsResponse2, l9 as ListProjectModelGrantsResponses, dm as ListProjectSecretAccessesResponse, dq as ListProjectSkillAccessesResponse, e3 as ListProjectsResponse, dB as ListQueuedBacklogInputsData, dD as ListQueuedBacklogInputsError, la as ListQueuedBacklogInputsErrors, lb as ListQueuedBacklogInputsResponse, lc as ListQueuedBacklogInputsResponses, dE as ListSecretGrantsData, dG as ListSecretGrantsError, ld as ListSecretGrantsErrors, dF as ListSecretGrantsResponse, le as ListSecretGrantsResponse2, lf as ListSecretGrantsResponses, dH as ListSecretsData, dJ as ListSecretsError, lg as ListSecretsErrors, dI as ListSecretsResponse, lh as ListSecretsResponse2, li as ListSecretsResponses, dK as ListSkillGrantsData, dM as ListSkillGrantsError, lj as ListSkillGrantsErrors, dL as ListSkillGrantsResponse, lk as ListSkillGrantsResponse2, ll as ListSkillGrantsResponses, dN as ListSkillsData, dP as ListSkillsError, lm as ListSkillsErrors, dO as ListSkillsResponse, ln as ListSkillsResponse2, lo as ListSkillsResponses, dQ as ListToolCallsData, dS as ListToolCallsError, lp as ListToolCallsErrors, dR as ListToolCallsResponse, lq as ListToolCallsResponse2, lr as ListToolCallsResponses, dT as ListTurnEventsData, dV as ListTurnEventsError, ls as ListTurnEventsErrors, dU as ListTurnEventsResponse, lt as ListTurnEventsResponse2, lu as ListTurnEventsResponses, dW as ListTurnsData, dY as ListTurnsError, lv as ListTurnsErrors, lw as ListTurnsResponse, lx as ListTurnsResponses, dZ as ListVisibleMachinesData, d$ as ListVisibleMachinesError, ly as ListVisibleMachinesErrors, d_ as ListVisibleMachinesResponse, lz as ListVisibleMachinesResponse2, lA as ListVisibleMachinesResponses, e0 as ListVisibleProjectMachinesData, e1 as ListVisibleProjectMachinesError, lB as ListVisibleProjectMachinesErrors, lC as ListVisibleProjectMachinesResponse, lD as ListVisibleProjectMachinesResponses, e2 as ListVisibleProjectsData, e4 as ListVisibleProjectsError, lE as ListVisibleProjectsErrors, lF as ListVisibleProjectsResponse, lG as ListVisibleProjectsResponses, c1 as Machine, lH as MachineAccess, lI as MachineAccessSource, lJ as MachineAccessSourceKind, lK as MachineConnectionState, lL as MachineDaemonToken, lM as MachineDaemonTokenId, lN as MachineFailureReport, lO as MachineId, lP as MachineLifecycleState, lQ as MachineMetadata, c4 as MachinePool, lR as MachinePoolId, lS as MachinePoolSummary, lT as MachinePoolUsage, lU as MachineSourceKind, lV as MachineSourceKindFilter, lW as MachineSummary, lX as MachineSummaryFields, lY as ManagementKind, lZ as McpoAuthFlowId, l_ as McpoAuthStartMetadata, l$ as McpoAuthStartRequest, m0 as McpoAuthStartResponse, m1 as MediaRefContentBlock, m2 as Metadata, m3 as ModelApiFormat, m4 as ModelApiVariantOptions, m5 as ModelCacheRetention, m6 as ModelCallContextId, c7 as ModelCatalog, m7 as ModelOutputBlockStartDelta, m8 as ModelOutputBlockStopDelta, m9 as ModelOutputContentBlock, ma as ModelOutputDelta, mb as ModelOutputErrorDelta, mc as ModelOutputEvent, md as ModelOutputMessageStopDelta, me as ModelOutputStopReason, mf as ModelOutputStreamBlock, mg as ModelOutputStreamDelta, mh as ModelOutputTextDelta, mi as ModelOutputTextStreamBlock, mj as ModelOutputThinkingDelta, mk as ModelOutputThinkingStreamBlock, ml as ModelOutputToolArgumentsDelta, mm as ModelOutputToolUseStreamBlock, mn as ModelProviderApiVariant, mo as ModelProviderApiVariantResponse, mp as ModelProviderAuthKind, ca as ModelProviderConfig, mq as ModelProviderConfigId, d3 as ModelProviderConfigList, mr as ModelStopReason, ms as ModelToolCallContentBlock, mt as ModelUsage, e5 as MoveQueuedBacklogInputData, e7 as MoveQueuedBacklogInputError, mu as MoveQueuedBacklogInputErrors, mv as MoveQueuedBacklogInputRequest, e6 as MoveQueuedBacklogInputResponse, mw as MoveQueuedBacklogInputResponses, mx as OAuthRefreshSecretMaterial, my as OAuthTokenSetSecretMaterial, mz as OkResponse, cd as OrgApiKey, mA as OrgApiKeyId, mB as OrgApiKeyRole, mC as OrgInvitation, mD as OrgInvitationId, mE as OrgMember, cg as OrgOverviewResponse, mF as OrgSecretOwner, mG as OrgSecretOwnerInput, mH as OrgSkillOwner, mI as OrgSkillOwnerInput, mJ as Organization, mK as OrganizationId, mL as OrganizationMembership, mM as PageCursor, mN as PageLimit, mO as PersonalAccessToken, mP as PersonalAccessTokenId, mQ as ProcessActionId, mR as ProcessActionReconciliationClaim, mS as ProcessActionReconciliationDirective, mT as ProcessId, mU as ProcessReconciliationClaim, mV as ProcessReconciliationDirective, mW as Project, mX as ProjectAccess, mY as ProjectFields, mZ as ProjectId, m_ as ProjectMachineGrant, m$ as ProjectMachineGrantId, n0 as ProjectMachineGrantListItem, n1 as ProjectMachineGrantSourceKind, cm as ProjectMachinePoolGrant, n2 as ProjectMachinePoolGrantId, n3 as ProjectMachinePoolGrantListItem, n4 as ProjectMembershipGrant, n5 as ProjectModelGrant, n6 as ProjectModelGrantEnvelope, n7 as ProjectModelGrantId, n8 as ProjectModelGrantListItem, cj as ProjectSecretAccess, n9 as ProjectSecretOwner, na as ProjectSecretOwnerInput, nb as ProjectSkillAccess, nc as ProjectSkillOwner, nd as ProjectSkillOwnerInput, e8 as PromoteQueuedInputToSteeringData, ea as PromoteQueuedInputToSteeringError, ne as PromoteQueuedInputToSteeringErrors, nf as PromoteQueuedInputToSteeringRequest, e9 as PromoteQueuedInputToSteeringResponse, ng as PromoteQueuedInputToSteeringResponses, eb as PutActorData, ed as PutActorError, nh as PutActorErrors, ec as PutActorResponse, ni as PutActorResponses, nj as ReasoningContentBlock, ee as RecordMachineFailureData, eg as RecordMachineFailureError, nk as RecordMachineFailureErrors, ef as RecordMachineFailureResponse, nl as RecordMachineFailureResponses, nm as RegisterDaemonRuntimeRequest, nn as RegisterDaemonRuntimeResponse, eh as RegisterMachineDaemonRuntimeData, ej as RegisterMachineDaemonRuntimeError, no as RegisterMachineDaemonRuntimeErrors, ei as RegisterMachineDaemonRuntimeResponse, np as RegisterMachineDaemonRuntimeResponses, ek as RemoveMemberProjectAccessData, em as RemoveMemberProjectAccessError, nq as RemoveMemberProjectAccessErrors, el as RemoveMemberProjectAccessResponse, nr as RemoveMemberProjectAccessResponses, en as RemoveOrgApiKeyProjectRoleData, ep as RemoveOrgApiKeyProjectRoleError, ns as RemoveOrgApiKeyProjectRoleErrors, eo as RemoveOrgApiKeyProjectRoleResponse, nt as RemoveOrgApiKeyProjectRoleResponses, eq as RemoveOrgMemberData, es as RemoveOrgMemberError, nu as RemoveOrgMemberErrors, er as RemoveOrgMemberResponse, nv as RemoveOrgMemberResponses, et as RenameAgentProfileData, ev as RenameAgentProfileError, nw as RenameAgentProfileErrors, nx as RenameAgentProfileRequest, eu as RenameAgentProfileResponse, ny as RenameAgentProfileResponses, ew as ResolveAgentInteractionData, ey as ResolveAgentInteractionError, nz as ResolveAgentInteractionErrors, nA as ResolveAgentInteractionRequest, ex as ResolveAgentInteractionResponse, nB as ResolveAgentInteractionResponses, nC as ResourceListSort, nD as ResourceNameFilter, ez as RevokeMachineDaemonTokenData, eB as RevokeMachineDaemonTokenError, nE as RevokeMachineDaemonTokenErrors, eA as RevokeMachineDaemonTokenResponse, nF as RevokeMachineDaemonTokenResponses, eC as RevokeOrgApiKeyData, eE as RevokeOrgApiKeyError, nG as RevokeOrgApiKeyErrors, eD as RevokeOrgApiKeyResponse, nH as RevokeOrgApiKeyResponses, eF as RevokePersonalAccessTokenData, eH as RevokePersonalAccessTokenError, nI as RevokePersonalAccessTokenErrors, eG as RevokePersonalAccessTokenResponse, nJ as RevokePersonalAccessTokenResponses, cp as Secret, nK as SecretAvailability, nL as SecretAvailabilitySourceFilter, nM as SecretGrant, nN as SecretGrantCreateRequest, nO as SecretGrantId, nP as SecretGrantListItem, nQ as SecretId, nR as SecretKind, nS as SecretKindFilter, nT as SecretMaterial, nU as SecretMcpoAuthFlowIdFilter, nV as SecretMetadataFilter, nW as SecretOwner, nX as SecretOwnerInput, nY as SecretOwnerKindFilter, nZ as SecretOwnerProjectIdFilter, n_ as SecretVersionRequest, n$ as ServerErrorCode, eI as SetMemberProjectAccessData, eK as SetMemberProjectAccessError, o0 as SetMemberProjectAccessErrors, eJ as SetMemberProjectAccessResponse, o1 as SetMemberProjectAccessResponses, eL as SetOrgApiKeyProjectRoleData, eN as SetOrgApiKeyProjectRoleError, o2 as SetOrgApiKeyProjectRoleErrors, eM as SetOrgApiKeyProjectRoleResponse, o3 as SetOrgApiKeyProjectRoleResponses, o4 as SetProjectMembershipRequest, cs as Skill, o5 as SkillAvailability, o6 as SkillAvailabilitySourceFilter, o7 as SkillGrant, o8 as SkillGrantCreateRequest, o9 as SkillGrantId, oa as SkillGrantListItem, ob as SkillId, oc as SkillOwner, od as SkillOwnerInput, oe as SkillOwnerKindFilter, of as SkillOwnerProjectIdFilter, og as SkillRevisionId, oh as SlackSetup, oi as SlackSetupIcon, eO as SleepMachineDaemonRuntimeData, eQ as SleepMachineDaemonRuntimeError, oj as SleepMachineDaemonRuntimeErrors, eP as SleepMachineDaemonRuntimeResponse, ok as SleepMachineDaemonRuntimeResponses, eR as SocketMachineDaemonRuntimeData, eS as SocketMachineDaemonRuntimeError, ol as SocketMachineDaemonRuntimeErrors, eT as StartSecretMcpoAuthData, eV as StartSecretMcpoAuthError, om as StartSecretMcpoAuthErrors, eU as StartSecretMcpoAuthResponse, on as StartSecretMcpoAuthResponses, oo as StreamEventsError, op as StreamEventsErrors, oq as StreamEventsResponse, or as StreamEventsResponses, os as StructuredDataContentBlock, eW as SubmitToolCallResultData, eY as SubmitToolCallResultError, ot as SubmitToolCallResultErrors, ou as SubmitToolCallResultRequest, ov as SubmitToolCallResultResponse, eX as SubmitToolCallResultResponse2, ow as SubmitToolCallResultResponses, ox as SubmitToolResultContentBlock, oy as TextContentBlock, oz as Timestamp, oA as ToolCall, oB as ToolCallId, oC as ToolCallOutcome, oD as ToolCallState, oE as ToolCallType, oF as ToolCallUpdate, cv as ToolCatalog, oG as ToolCatalogEntry, oH as ToolInput, oI as ToolPermissionMode, oJ as ToolPermissionProfile, oK as ToolPermissionSelection, oL as ToolResult, oM as ToolResultContentBlock, oN as ToolResultEvent, eZ as UpdateAgentConfigData, e$ as UpdateAgentConfigError, oO as UpdateAgentConfigErrors, oP as UpdateAgentConfigRequest, oQ as UpdateAgentConfigResponse, e_ as UpdateAgentConfigResponse2, oR as UpdateAgentConfigResponses, f0 as UpdateAgentProfileData, f2 as UpdateAgentProfileError, oS as UpdateAgentProfileErrors, oT as UpdateAgentProfileRequest, f1 as UpdateAgentProfileResponse, oU as UpdateAgentProfileResponses, f3 as UpdateConfiguredModelData, f5 as UpdateConfiguredModelError, oV as UpdateConfiguredModelErrors, oW as UpdateConfiguredModelRequest, f4 as UpdateConfiguredModelResponse, oX as UpdateConfiguredModelResponses, f6 as UpdateCronTriggerData, f8 as UpdateCronTriggerError, oY as UpdateCronTriggerErrors, oZ as UpdateCronTriggerRequest, f7 as UpdateCronTriggerResponse, o_ as UpdateCronTriggerResponses, f9 as UpdateMachineData, fb as UpdateMachineError, o$ as UpdateMachineErrors, fc as UpdateMachinePoolData, fe as UpdateMachinePoolError, p0 as UpdateMachinePoolErrors, p1 as UpdateMachinePoolRequest, fd as UpdateMachinePoolResponse, p2 as UpdateMachinePoolResponses, p3 as UpdateMachineRequest, fa as UpdateMachineResponse, p4 as UpdateMachineResponses, ff as UpdateModelProviderConfigData, fh as UpdateModelProviderConfigError, p5 as UpdateModelProviderConfigErrors, p6 as UpdateModelProviderConfigRequest, fg as UpdateModelProviderConfigResponse, p7 as UpdateModelProviderConfigResponses, fi as UpdateOrgApiKeyData, fk as UpdateOrgApiKeyError, p8 as UpdateOrgApiKeyErrors, p9 as UpdateOrgApiKeyRequest, fj as UpdateOrgApiKeyResponse, pa as UpdateOrgApiKeyResponses, fl as UpdateOrgMemberData, fn as UpdateOrgMemberError, pb as UpdateOrgMemberErrors, pc as UpdateOrgMemberRequest, fm as UpdateOrgMemberResponse, pd as UpdateOrgMemberResponses, fo as UpdateProjectMachinePoolGrantData, fq as UpdateProjectMachinePoolGrantError, pe as UpdateProjectMachinePoolGrantErrors, pf as UpdateProjectMachinePoolGrantRequest, fp as UpdateProjectMachinePoolGrantResponse, pg as UpdateProjectMachinePoolGrantResponses, fr as UpdateProjectModelGrantData, ft as UpdateProjectModelGrantError, ph as UpdateProjectModelGrantErrors, pi as UpdateProjectModelGrantRequest, fs as UpdateProjectModelGrantResponse, pj as UpdateProjectModelGrantResponses, fu as UpdateSecretData, fw as UpdateSecretError, pk as UpdateSecretErrors, pl as UpdateSecretRequest, fv as UpdateSecretResponse, pm as UpdateSecretResponses, pn as UserId, po as UserSecretOwner, pp as UserSecretOwnerInput, pq as UserSkillOwner, pr as UserSkillOwnerInput, ps as VisibleMachine, pt as VisibleProject, pu as Warning, pv as sdk } from './sdk.gen-BwwvPS9F.js';
|
|
3
|
+
import { fx as Config, fy as Client, fz as StreamEventsData, fA as AgentEventStreamData, fB as Error$1 } from './sdk.gen-ZBFBMn0v.js';
|
|
4
|
+
export { A as AcceptInvitationData, b as AcceptInvitationError, fC as AcceptInvitationErrors, a as AcceptInvitationResponse, fD as AcceptInvitationResponses, bE as Actor, fE as ActorId, fF as ActorProvider, fG as Agent, bH as AgentConfig, fH as AgentConfigId, fI as AgentConfigModel, fJ as AgentControlType, fK as AgentCount, fL as AgentCronTriggerTarget, fM as AgentEvent, fN as AgentEventId, fO as AgentId, fP as AgentInput, fQ as AgentInputContentBlock, fR as AgentInputDeliveryMode, fS as AgentInputEnvelope, fT as AgentInputEvent, fU as AgentInputId, fV as AgentInputKind, fW as AgentInteraction, fX as AgentInteractionId, fY as AgentInteractionKind, fZ as AgentInteractionState, f_ as AgentMachineBinding, f$ as AgentMachineBindingId, g0 as AgentMachineBindingKind, g1 as AgentMachineBindingState, g2 as AgentMcpConnection, g3 as AgentModel, bN as AgentProfile, g4 as AgentProfileCronTriggerTarget, g5 as AgentProfileId, g6 as AgentSequence, g7 as AgentSequenceCursor, g8 as AgentTurn, g9 as AgentTurnId, c as ArchiveAgentData, e as ArchiveAgentError, ga as ArchiveAgentErrors, d as ArchiveAgentResponse, gb as ArchiveAgentResponses, bS as Artifact, gc as ArtifactId, gd as AwsCredentialsSecretMaterial, B as BootstrapDaemonData, g as BootstrapDaemonError, ge as BootstrapDaemonErrors, gf as BootstrapDaemonResponse, f as BootstrapDaemonResponse2, gg as BootstrapDaemonResponses, C as CancelAgentData, i as CancelAgentError, gh as CancelAgentErrors, gi as CancelAgentRequest, gj as CancelAgentResponse, h as CancelAgentResponse2, gk as CancelAgentResponses, j as CancelQueuedBacklogInputData, l as CancelQueuedBacklogInputError, gl as CancelQueuedBacklogInputErrors, k as CancelQueuedBacklogInputResponse, gm as CancelQueuedBacklogInputResponses, gn as ClientErrorCode, go as ClientOptions, gp as ConfiguredModel, gq as ConfiguredModelId, cN as ConfiguredModelList, gr as ConfiguredModelRevisionId, gs as ConfiguredModelSummary, m as ConnectByoMachineData, o as ConnectByoMachineError, gt as ConnectByoMachineErrors, gu as ConnectByoMachineRequest, gv as ConnectByoMachineResponse, n as ConnectByoMachineResponse2, gw as ConnectByoMachineResponses, gx as ContentBlockMetadata, gy as ContextCheckpointEvent, gz as ContextCheckpointId, p as CreateAgentConfigData, r as CreateAgentConfigError, gA as CreateAgentConfigErrors, gB as CreateAgentConfigRequest, q as CreateAgentConfigResponse, gC as CreateAgentConfigResponses, v as CreateAgentData, x as CreateAgentError, gD as CreateAgentErrors, gE as CreateAgentInputContentBlock, s as CreateAgentInputData, gF as CreateAgentInputDeliveryMode, u as CreateAgentInputError, gG as CreateAgentInputErrors, gH as CreateAgentInputRequest, t as CreateAgentInputResponse, gI as CreateAgentInputResponses, y as CreateAgentProfileData, D as CreateAgentProfileError, gJ as CreateAgentProfileErrors, gK as CreateAgentProfileRequest, z as CreateAgentProfileResponse, gL as CreateAgentProfileResponses, gM as CreateAgentRequest, w as CreateAgentResponse, gN as CreateAgentResponses, E as CreateByoMachineDaemonTokenData, G as CreateByoMachineDaemonTokenError, gO as CreateByoMachineDaemonTokenErrors, F as CreateByoMachineDaemonTokenResponse, gP as CreateByoMachineDaemonTokenResponses, H as CreateConfiguredModelData, J as CreateConfiguredModelError, gQ as CreateConfiguredModelErrors, gR as CreateConfiguredModelRequest, I as CreateConfiguredModelResponse, gS as CreateConfiguredModelResponses, K as CreateCronTriggerData, M as CreateCronTriggerError, gT as CreateCronTriggerErrors, gU as CreateCronTriggerRequest, L as CreateCronTriggerResponse, gV as CreateCronTriggerResponses, N as CreateIntegrationOAuthSetupData, Q as CreateIntegrationOAuthSetupError, gW as CreateIntegrationOAuthSetupErrors, gX as CreateIntegrationOAuthSetupRequest, P as CreateIntegrationOAuthSetupResponse, gY as CreateIntegrationOAuthSetupResponses, gZ as CreateMachineDaemonTokenRequest, g_ as CreateMachineDaemonTokenResponse, R as CreateMachineData, T as CreateMachineError, g$ as CreateMachineErrors, U as CreateMachinePoolData, W as CreateMachinePoolError, h0 as CreateMachinePoolErrors, h1 as CreateMachinePoolRequest, h2 as CreateMachinePoolRequestBase, V as CreateMachinePoolResponse, h3 as CreateMachinePoolResponses, h4 as CreateMachineRequest, S as CreateMachineResponse, h5 as CreateMachineResponses, X as CreateModelProviderConfigData, Z as CreateModelProviderConfigError, h6 as CreateModelProviderConfigErrors, h7 as CreateModelProviderConfigRequest, h8 as CreateModelProviderConfigResponse, Y as CreateModelProviderConfigResponse2, h9 as CreateModelProviderConfigResponses, _ as CreateOrgApiKeyData, a0 as CreateOrgApiKeyError, ha as CreateOrgApiKeyErrors, hb as CreateOrgApiKeyRequest, hc as CreateOrgApiKeyResponse, $ as CreateOrgApiKeyResponse2, hd as CreateOrgApiKeyResponses, a1 as CreateOrgInvitationData, a3 as CreateOrgInvitationError, he as CreateOrgInvitationErrors, hf as CreateOrgInvitationRequest, a2 as CreateOrgInvitationResponse, hg as CreateOrgInvitationResponses, a4 as CreateOrganizationData, a6 as CreateOrganizationError, hh as CreateOrganizationErrors, hi as CreateOrganizationRequest, hj as CreateOrganizationResponse, a5 as CreateOrganizationResponse2, hk as CreateOrganizationResponses, a7 as CreatePersonalAccessTokenData, a9 as CreatePersonalAccessTokenError, hl as CreatePersonalAccessTokenErrors, hm as CreatePersonalAccessTokenRequest, hn as CreatePersonalAccessTokenResponse, a8 as CreatePersonalAccessTokenResponse2, ho as CreatePersonalAccessTokenResponses, aj as CreateProjectData, al as CreateProjectError, hp as CreateProjectErrors, aa as CreateProjectMachineGrantData, ac as CreateProjectMachineGrantError, hq as CreateProjectMachineGrantErrors, hr as CreateProjectMachineGrantRequest, hs as CreateProjectMachineGrantResponse, ab as CreateProjectMachineGrantResponse2, ht as CreateProjectMachineGrantResponses, ad as CreateProjectMachinePoolGrantData, af as CreateProjectMachinePoolGrantError, hu as CreateProjectMachinePoolGrantErrors, hv as CreateProjectMachinePoolGrantRequest, ae as CreateProjectMachinePoolGrantResponse, hw as CreateProjectMachinePoolGrantResponses, ag as CreateProjectModelGrantData, ai as CreateProjectModelGrantError, hx as CreateProjectModelGrantErrors, hy as CreateProjectModelGrantRequest, ah as CreateProjectModelGrantResponse, hz as CreateProjectModelGrantResponses, hA as CreateProjectRequest, ak as CreateProjectResponse, hB as CreateProjectResponses, ap as CreateSecretData, ar as CreateSecretError, hC as CreateSecretErrors, am as CreateSecretGrantData, ao as CreateSecretGrantError, hD as CreateSecretGrantErrors, an as CreateSecretGrantResponse, hE as CreateSecretGrantResponses, hF as CreateSecretRequest, aq as CreateSecretResponse, hG as CreateSecretResponses, as as CreateSecretVersionData, au as CreateSecretVersionError, hH as CreateSecretVersionErrors, at as CreateSecretVersionResponse, hI as CreateSecretVersionResponses, ay as CreateSkillData, aA as CreateSkillError, hJ as CreateSkillErrors, av as CreateSkillGrantData, ax as CreateSkillGrantError, hK as CreateSkillGrantErrors, aw as CreateSkillGrantResponse, hL as CreateSkillGrantResponses, hM as CreateSkillRequest, az as CreateSkillResponse, hN as CreateSkillResponses, aB as CreateSlackSetupData, aD as CreateSlackSetupError, hO as CreateSlackSetupErrors, hP as CreateSlackSetupRequest, aC as CreateSlackSetupResponse, hQ as CreateSlackSetupResponses, hR as CreatedResourceListSort, hS as CronExpression, hT as CronMessageTemplate, hU as CronTimezone, bV as CronTrigger, hV as CronTriggerFailureReport, hW as CronTriggerId, hX as CronTriggerTarget, hY as CurrentAgentResponse, bY as CurrentUser, hZ as CurrentUserIdentity, h_ as CurrentUserOrg, h$ as DaemonRuntime, i0 as DaemonRuntimeId, i1 as DaemonRuntimeReconciliation, i2 as DaemonRuntimeState, aE as DeclineInvitationData, aG as DeclineInvitationError, i3 as DeclineInvitationErrors, aF as DeclineInvitationResponse, i4 as DeclineInvitationResponses, aH as DeleteAgentProfileData, aJ as DeleteAgentProfileError, i5 as DeleteAgentProfileErrors, aI as DeleteAgentProfileResponse, i6 as DeleteAgentProfileResponses, aK as DeleteConfiguredModelData, aM as DeleteConfiguredModelError, i7 as DeleteConfiguredModelErrors, aL as DeleteConfiguredModelResponse, i8 as DeleteConfiguredModelResponses, aN as DeleteCronTriggerData, aP as DeleteCronTriggerError, i9 as DeleteCronTriggerErrors, aO as DeleteCronTriggerResponse, ia as DeleteCronTriggerResponses, aQ as DeleteCurrentUserData, aS as DeleteCurrentUserError, ib as DeleteCurrentUserErrors, aR as DeleteCurrentUserResponse, ic as DeleteCurrentUserResponses, aT as DeleteIntegrationInstallData, aV as DeleteIntegrationInstallError, id as DeleteIntegrationInstallErrors, aU as DeleteIntegrationInstallResponse, ie as DeleteIntegrationInstallResponses, aW as DeleteMachineData, aY as DeleteMachineError, ig as DeleteMachineErrors, aZ as DeleteMachinePoolData, a$ as DeleteMachinePoolError, ih as DeleteMachinePoolErrors, a_ as DeleteMachinePoolResponse, ii as DeleteMachinePoolResponses, aX as DeleteMachineResponse, ij as DeleteMachineResponses, b0 as DeleteModelProviderConfigData, b2 as DeleteModelProviderConfigError, ik as DeleteModelProviderConfigErrors, b1 as DeleteModelProviderConfigResponse, il as DeleteModelProviderConfigResponses, b3 as DeleteOrgInvitationData, b5 as DeleteOrgInvitationError, im as DeleteOrgInvitationErrors, b4 as DeleteOrgInvitationResponse, io as DeleteOrgInvitationResponses, b6 as DeleteOrganizationData, b8 as DeleteOrganizationError, ip as DeleteOrganizationErrors, b7 as DeleteOrganizationResponse, iq as DeleteOrganizationResponses, bi as DeleteProjectData, bk as DeleteProjectError, ir as DeleteProjectErrors, b9 as DeleteProjectMachineGrantData, bb as DeleteProjectMachineGrantError, is as DeleteProjectMachineGrantErrors, ba as DeleteProjectMachineGrantResponse, it as DeleteProjectMachineGrantResponses, bc as DeleteProjectMachinePoolGrantData, be as DeleteProjectMachinePoolGrantError, iu as DeleteProjectMachinePoolGrantErrors, bd as DeleteProjectMachinePoolGrantResponse, iv as DeleteProjectMachinePoolGrantResponses, bf as DeleteProjectModelGrantData, bh as DeleteProjectModelGrantError, iw as DeleteProjectModelGrantErrors, bg as DeleteProjectModelGrantResponse, ix as DeleteProjectModelGrantResponses, bj as DeleteProjectResponse, iy as DeleteProjectResponses, bo as DeleteSecretData, bq as DeleteSecretError, iz as DeleteSecretErrors, bl as DeleteSecretGrantData, bn as DeleteSecretGrantError, iA as DeleteSecretGrantErrors, bm as DeleteSecretGrantResponse, iB as DeleteSecretGrantResponses, bp as DeleteSecretResponse, iC as DeleteSecretResponses, bu as DeleteSkillData, bw as DeleteSkillError, iD as DeleteSkillErrors, br as DeleteSkillGrantData, bt as DeleteSkillGrantError, iE as DeleteSkillGrantErrors, bs as DeleteSkillGrantResponse, iF as DeleteSkillGrantResponses, bv as DeleteSkillResponse, iG as DeleteSkillResponses, bx as DemoteSteeringInputToQueuedData, bz as DemoteSteeringInputToQueuedError, iH as DemoteSteeringInputToQueuedErrors, by as DemoteSteeringInputToQueuedResponse, iI as DemoteSteeringInputToQueuedResponses, iJ as DirectSecretAvailability, iK as DirectSkillAvailability, iL as DiscoveredProviderModel, bA as EndMachineDaemonRuntimeData, bC as EndMachineDaemonRuntimeError, iM as EndMachineDaemonRuntimeErrors, bB as EndMachineDaemonRuntimeResponse, iN as EndMachineDaemonRuntimeResponses, iO as ErrorContentBlock, iP as ExternalActorParams, iQ as GenericSecretMaterial, bD as GetActorData, bF as GetActorError, iR as GetActorErrors, iS as GetActorResponse, iT as GetActorResponses, bG as GetAgentConfigData, bI as GetAgentConfigError, iU as GetAgentConfigErrors, iV as GetAgentConfigResponse, iW as GetAgentConfigResponses, bJ as GetAgentData, bL as GetAgentError, iX as GetAgentErrors, bM as GetAgentProfileData, bO as GetAgentProfileError, iY as GetAgentProfileErrors, iZ as GetAgentProfileResponse, i_ as GetAgentProfileResponses, bK as GetAgentResponse, i$ as GetAgentResponse2, j0 as GetAgentResponses, bP as GetArtifactContentData, bQ as GetArtifactContentError, j1 as GetArtifactContentErrors, j2 as GetArtifactContentResponse, j3 as GetArtifactContentResponses, bR as GetArtifactData, bT as GetArtifactError, j4 as GetArtifactErrors, j5 as GetArtifactResponse, j6 as GetArtifactResponses, bU as GetCronTriggerData, bW as GetCronTriggerError, j7 as GetCronTriggerErrors, j8 as GetCronTriggerResponse, j9 as GetCronTriggerResponses, bX as GetCurrentUserData, bZ as GetCurrentUserError, ja as GetCurrentUserErrors, jb as GetCurrentUserResponse, jc as GetCurrentUserResponses, b_ as GetDaemonSkillArchiveData, b$ as GetDaemonSkillArchiveError, jd as GetDaemonSkillArchiveErrors, je as GetDaemonSkillArchiveResponse, jf as GetDaemonSkillArchiveResponses, c0 as GetMachineData, c2 as GetMachineError, jg as GetMachineErrors, c3 as GetMachinePoolData, c5 as GetMachinePoolError, jh as GetMachinePoolErrors, ji as GetMachinePoolResponse, jj as GetMachinePoolResponses, jk as GetMachineResponse, jl as GetMachineResponses, c6 as GetModelCatalogData, c8 as GetModelCatalogError, jm as GetModelCatalogErrors, jn as GetModelCatalogResponse, jo as GetModelCatalogResponses, c9 as GetModelProviderConfigData, cb as GetModelProviderConfigError, jp as GetModelProviderConfigErrors, jq as GetModelProviderConfigResponse, jr as GetModelProviderConfigResponses, cc as GetOrgApiKeyData, ce as GetOrgApiKeyError, js as GetOrgApiKeyErrors, jt as GetOrgApiKeyResponse, ju as GetOrgApiKeyResponses, cf as GetOrgOverviewData, ch as GetOrgOverviewError, jv as GetOrgOverviewErrors, jw as GetOrgOverviewResponse, jx as GetOrgOverviewResponses, ci as GetProjectAvailableSecretData, ck as GetProjectAvailableSecretError, jy as GetProjectAvailableSecretErrors, jz as GetProjectAvailableSecretResponse, jA as GetProjectAvailableSecretResponses, cl as GetProjectMachinePoolGrantData, cn as GetProjectMachinePoolGrantError, jB as GetProjectMachinePoolGrantErrors, jC as GetProjectMachinePoolGrantResponse, jD as GetProjectMachinePoolGrantResponses, co as GetSecretData, cq as GetSecretError, jE as GetSecretErrors, jF as GetSecretResponse, jG as GetSecretResponses, cr as GetSkillData, ct as GetSkillError, jH as GetSkillErrors, jI as GetSkillResponse, jJ as GetSkillResponses, cu as GetToolCatalogData, cw as GetToolCatalogError, jK as GetToolCatalogErrors, jL as GetToolCatalogResponse, jM as GetToolCatalogResponses, jN as GrantedSecretAvailability, jO as GrantedSkillAvailability, jP as IdempotencyKey, jQ as InlineMediaContentBlock, jR as InstallationId, jS as IntegrationInstall, jT as IntegrationInstallAgentProfileFilter, jU as IntegrationInstallId, jV as IntegrationInstallOAuthFlowIdFilter, jW as IntegrationOAuthFlowId, jX as IntegrationOAuthSetup, jY as IntegrationTarget, jZ as InteractionAnswer, j_ as InteractionForm, j$ as InteractionFormContextItem, k0 as InteractionFormOption, k1 as InteractionFormQuestion, k2 as InteractionResolution, k3 as JsonBlob, k4 as LaunchAgentResponse, cx as ListActorsData, cz as ListActorsError, k5 as ListActorsErrors, cy as ListActorsResponse, k6 as ListActorsResponse2, k7 as ListActorsResponses, cT as ListAgentEventsResponse, dC as ListAgentInputsResponse, cA as ListAgentInteractionsData, cC as ListAgentInteractionsError, k8 as ListAgentInteractionsErrors, cB as ListAgentInteractionsResponse, k9 as ListAgentInteractionsResponse2, ka as ListAgentInteractionsResponses, cD as ListAgentProfilesData, cF as ListAgentProfilesError, kb as ListAgentProfilesErrors, cE as ListAgentProfilesResponse, kc as ListAgentProfilesResponse2, kd as ListAgentProfilesResponses, dX as ListAgentTurnsResponse, cG as ListAgentsData, cI as ListAgentsError, ke as ListAgentsErrors, cH as ListAgentsResponse, kf as ListAgentsResponse2, kg as ListAgentsResponses, cJ as ListByoMachineDaemonTokensData, cL as ListByoMachineDaemonTokensError, kh as ListByoMachineDaemonTokensErrors, ki as ListByoMachineDaemonTokensResponse, kj as ListByoMachineDaemonTokensResponses, cM as ListConfiguredModelsData, cO as ListConfiguredModelsError, kk as ListConfiguredModelsErrors, kl as ListConfiguredModelsResponse, km as ListConfiguredModelsResponses, cP as ListCronTriggersData, cR as ListCronTriggersError, kn as ListCronTriggersErrors, cQ as ListCronTriggersResponse, ko as ListCronTriggersResponse2, kp as ListCronTriggersResponses, cS as ListEventsData, cU as ListEventsError, kq as ListEventsErrors, kr as ListEventsResponse, ks as ListEventsResponses, cV as ListIntegrationInstallsData, cX as ListIntegrationInstallsError, kt as ListIntegrationInstallsErrors, cW as ListIntegrationInstallsResponse, ku as ListIntegrationInstallsResponse2, kv as ListIntegrationInstallsResponses, cK as ListMachineDaemonTokensResponse, cY as ListMachinePoolsData, c_ as ListMachinePoolsError, kw as ListMachinePoolsErrors, cZ as ListMachinePoolsResponse, kx as ListMachinePoolsResponse2, ky as ListMachinePoolsResponses, c$ as ListMemberProjectAccessData, d1 as ListMemberProjectAccessError, kz as ListMemberProjectAccessErrors, kA as ListMemberProjectAccessResponse, kB as ListMemberProjectAccessResponses, d2 as ListModelProviderConfigsData, d4 as ListModelProviderConfigsError, kC as ListModelProviderConfigsErrors, kD as ListModelProviderConfigsResponse, kE as ListModelProviderConfigsResponses, d5 as ListOrgApiKeyProjectAccessData, d6 as ListOrgApiKeyProjectAccessError, kF as ListOrgApiKeyProjectAccessErrors, kG as ListOrgApiKeyProjectAccessResponse, kH as ListOrgApiKeyProjectAccessResponses, d7 as ListOrgApiKeysData, d9 as ListOrgApiKeysError, kI as ListOrgApiKeysErrors, d8 as ListOrgApiKeysResponse, kJ as ListOrgApiKeysResponse2, kK as ListOrgApiKeysResponses, da as ListOrgInvitationsData, dc as ListOrgInvitationsError, kL as ListOrgInvitationsErrors, db as ListOrgInvitationsResponse, kM as ListOrgInvitationsResponse2, kN as ListOrgInvitationsResponses, dd as ListOrgMembersData, df as ListOrgMembersError, kO as ListOrgMembersErrors, de as ListOrgMembersResponse, kP as ListOrgMembersResponse2, kQ as ListOrgMembersResponses, dg as ListPendingInvitationsData, dh as ListPendingInvitationsError, kR as ListPendingInvitationsErrors, kS as ListPendingInvitationsResponse, kT as ListPendingInvitationsResponses, di as ListPersonalAccessTokensData, dk as ListPersonalAccessTokensError, kU as ListPersonalAccessTokensErrors, dj as ListPersonalAccessTokensResponse, kV as ListPersonalAccessTokensResponse2, kW as ListPersonalAccessTokensResponses, dl as ListProjectAvailableSecretsData, dn as ListProjectAvailableSecretsError, kX as ListProjectAvailableSecretsErrors, kY as ListProjectAvailableSecretsResponse, kZ as ListProjectAvailableSecretsResponses, dp as ListProjectAvailableSkillsData, dr as ListProjectAvailableSkillsError, k_ as ListProjectAvailableSkillsErrors, k$ as ListProjectAvailableSkillsResponse, l0 as ListProjectAvailableSkillsResponses, ds as ListProjectMachineGrantsData, du as ListProjectMachineGrantsError, l1 as ListProjectMachineGrantsErrors, dt as ListProjectMachineGrantsResponse, l2 as ListProjectMachineGrantsResponse2, l3 as ListProjectMachineGrantsResponses, dv as ListProjectMachinePoolGrantsData, dx as ListProjectMachinePoolGrantsError, l4 as ListProjectMachinePoolGrantsErrors, dw as ListProjectMachinePoolGrantsResponse, l5 as ListProjectMachinePoolGrantsResponse2, l6 as ListProjectMachinePoolGrantsResponses, d0 as ListProjectMembershipGrantsResponse, dy as ListProjectModelGrantsData, dA as ListProjectModelGrantsError, l7 as ListProjectModelGrantsErrors, dz as ListProjectModelGrantsResponse, l8 as ListProjectModelGrantsResponse2, l9 as ListProjectModelGrantsResponses, dm as ListProjectSecretAccessesResponse, dq as ListProjectSkillAccessesResponse, e3 as ListProjectsResponse, dB as ListQueuedBacklogInputsData, dD as ListQueuedBacklogInputsError, la as ListQueuedBacklogInputsErrors, lb as ListQueuedBacklogInputsResponse, lc as ListQueuedBacklogInputsResponses, dE as ListSecretGrantsData, dG as ListSecretGrantsError, ld as ListSecretGrantsErrors, dF as ListSecretGrantsResponse, le as ListSecretGrantsResponse2, lf as ListSecretGrantsResponses, dH as ListSecretsData, dJ as ListSecretsError, lg as ListSecretsErrors, dI as ListSecretsResponse, lh as ListSecretsResponse2, li as ListSecretsResponses, dK as ListSkillGrantsData, dM as ListSkillGrantsError, lj as ListSkillGrantsErrors, dL as ListSkillGrantsResponse, lk as ListSkillGrantsResponse2, ll as ListSkillGrantsResponses, dN as ListSkillsData, dP as ListSkillsError, lm as ListSkillsErrors, dO as ListSkillsResponse, ln as ListSkillsResponse2, lo as ListSkillsResponses, dQ as ListToolCallsData, dS as ListToolCallsError, lp as ListToolCallsErrors, dR as ListToolCallsResponse, lq as ListToolCallsResponse2, lr as ListToolCallsResponses, dT as ListTurnEventsData, dV as ListTurnEventsError, ls as ListTurnEventsErrors, dU as ListTurnEventsResponse, lt as ListTurnEventsResponse2, lu as ListTurnEventsResponses, dW as ListTurnsData, dY as ListTurnsError, lv as ListTurnsErrors, lw as ListTurnsResponse, lx as ListTurnsResponses, dZ as ListVisibleMachinesData, d$ as ListVisibleMachinesError, ly as ListVisibleMachinesErrors, d_ as ListVisibleMachinesResponse, lz as ListVisibleMachinesResponse2, lA as ListVisibleMachinesResponses, e0 as ListVisibleProjectMachinesData, e1 as ListVisibleProjectMachinesError, lB as ListVisibleProjectMachinesErrors, lC as ListVisibleProjectMachinesResponse, lD as ListVisibleProjectMachinesResponses, e2 as ListVisibleProjectsData, e4 as ListVisibleProjectsError, lE as ListVisibleProjectsErrors, lF as ListVisibleProjectsResponse, lG as ListVisibleProjectsResponses, c1 as Machine, lH as MachineAccess, lI as MachineAccessSource, lJ as MachineAccessSourceKind, lK as MachineConnectionState, lL as MachineDaemonToken, lM as MachineDaemonTokenId, lN as MachineFailureReport, lO as MachineId, lP as MachineLifecycleState, lQ as MachineMetadata, c4 as MachinePool, lR as MachinePoolId, lS as MachinePoolSummary, lT as MachinePoolUsage, lU as MachineSourceKind, lV as MachineSourceKindFilter, lW as MachineSummary, lX as MachineSummaryFields, lY as ManagementKind, lZ as McpoAuthFlowId, l_ as McpoAuthStartMetadata, l$ as McpoAuthStartRequest, m0 as McpoAuthStartResponse, m1 as MediaRefContentBlock, m2 as Metadata, m3 as ModelApiFormat, m4 as ModelApiVariantOptions, m5 as ModelCacheRetention, m6 as ModelCallContextId, c7 as ModelCatalog, m7 as ModelOutputBlockStartDelta, m8 as ModelOutputBlockStopDelta, m9 as ModelOutputContentBlock, ma as ModelOutputDelta, mb as ModelOutputErrorDelta, mc as ModelOutputEvent, md as ModelOutputMessageStopDelta, me as ModelOutputStopReason, mf as ModelOutputStreamBlock, mg as ModelOutputStreamDelta, mh as ModelOutputTextDelta, mi as ModelOutputTextStreamBlock, mj as ModelOutputThinkingDelta, mk as ModelOutputThinkingStreamBlock, ml as ModelOutputToolArgumentsDelta, mm as ModelOutputToolUseStreamBlock, mn as ModelProviderApiVariant, mo as ModelProviderApiVariantResponse, mp as ModelProviderAuthKind, ca as ModelProviderConfig, mq as ModelProviderConfigId, d3 as ModelProviderConfigList, mr as ModelStopReason, ms as ModelToolCallContentBlock, mt as ModelUsage, e5 as MoveQueuedBacklogInputData, e7 as MoveQueuedBacklogInputError, mu as MoveQueuedBacklogInputErrors, mv as MoveQueuedBacklogInputRequest, e6 as MoveQueuedBacklogInputResponse, mw as MoveQueuedBacklogInputResponses, mx as OAuthRefreshSecretMaterial, my as OAuthTokenSetSecretMaterial, mz as OkResponse, cd as OrgApiKey, mA as OrgApiKeyId, mB as OrgApiKeyRole, mC as OrgInvitation, mD as OrgInvitationId, mE as OrgMember, cg as OrgOverviewResponse, mF as OrgSecretOwner, mG as OrgSecretOwnerInput, mH as OrgSkillOwner, mI as OrgSkillOwnerInput, mJ as Organization, mK as OrganizationId, mL as OrganizationMembership, mM as PageCursor, mN as PageLimit, mO as PersonalAccessToken, mP as PersonalAccessTokenId, mQ as ProcessActionId, mR as ProcessActionReconciliationClaim, mS as ProcessActionReconciliationDirective, mT as ProcessId, mU as ProcessReconciliationClaim, mV as ProcessReconciliationDirective, mW as Project, mX as ProjectAccess, mY as ProjectFields, mZ as ProjectId, m_ as ProjectMachineGrant, m$ as ProjectMachineGrantId, n0 as ProjectMachineGrantListItem, n1 as ProjectMachineGrantSourceKind, cm as ProjectMachinePoolGrant, n2 as ProjectMachinePoolGrantId, n3 as ProjectMachinePoolGrantListItem, n4 as ProjectMembershipGrant, n5 as ProjectModelGrant, n6 as ProjectModelGrantEnvelope, n7 as ProjectModelGrantId, n8 as ProjectModelGrantListItem, cj as ProjectSecretAccess, n9 as ProjectSecretOwner, na as ProjectSecretOwnerInput, nb as ProjectSkillAccess, nc as ProjectSkillOwner, nd as ProjectSkillOwnerInput, e8 as PromoteQueuedInputToSteeringData, ea as PromoteQueuedInputToSteeringError, ne as PromoteQueuedInputToSteeringErrors, nf as PromoteQueuedInputToSteeringRequest, e9 as PromoteQueuedInputToSteeringResponse, ng as PromoteQueuedInputToSteeringResponses, eb as PutActorData, ed as PutActorError, nh as PutActorErrors, ec as PutActorResponse, ni as PutActorResponses, nj as ReasoningContentBlock, ee as RecordMachineFailureData, eg as RecordMachineFailureError, nk as RecordMachineFailureErrors, ef as RecordMachineFailureResponse, nl as RecordMachineFailureResponses, nm as RegisterDaemonRuntimeRequest, nn as RegisterDaemonRuntimeResponse, eh as RegisterMachineDaemonRuntimeData, ej as RegisterMachineDaemonRuntimeError, no as RegisterMachineDaemonRuntimeErrors, ei as RegisterMachineDaemonRuntimeResponse, np as RegisterMachineDaemonRuntimeResponses, ek as RemoveMemberProjectAccessData, em as RemoveMemberProjectAccessError, nq as RemoveMemberProjectAccessErrors, el as RemoveMemberProjectAccessResponse, nr as RemoveMemberProjectAccessResponses, en as RemoveOrgApiKeyProjectRoleData, ep as RemoveOrgApiKeyProjectRoleError, ns as RemoveOrgApiKeyProjectRoleErrors, eo as RemoveOrgApiKeyProjectRoleResponse, nt as RemoveOrgApiKeyProjectRoleResponses, eq as RemoveOrgMemberData, es as RemoveOrgMemberError, nu as RemoveOrgMemberErrors, er as RemoveOrgMemberResponse, nv as RemoveOrgMemberResponses, et as RenameAgentProfileData, ev as RenameAgentProfileError, nw as RenameAgentProfileErrors, nx as RenameAgentProfileRequest, eu as RenameAgentProfileResponse, ny as RenameAgentProfileResponses, ew as ResolveAgentInteractionData, ey as ResolveAgentInteractionError, nz as ResolveAgentInteractionErrors, nA as ResolveAgentInteractionRequest, ex as ResolveAgentInteractionResponse, nB as ResolveAgentInteractionResponses, nC as ResourceListSort, nD as ResourceNameFilter, ez as RevokeMachineDaemonTokenData, eB as RevokeMachineDaemonTokenError, nE as RevokeMachineDaemonTokenErrors, eA as RevokeMachineDaemonTokenResponse, nF as RevokeMachineDaemonTokenResponses, eC as RevokeOrgApiKeyData, eE as RevokeOrgApiKeyError, nG as RevokeOrgApiKeyErrors, eD as RevokeOrgApiKeyResponse, nH as RevokeOrgApiKeyResponses, eF as RevokePersonalAccessTokenData, eH as RevokePersonalAccessTokenError, nI as RevokePersonalAccessTokenErrors, eG as RevokePersonalAccessTokenResponse, nJ as RevokePersonalAccessTokenResponses, cp as Secret, nK as SecretAvailability, nL as SecretAvailabilitySourceFilter, nM as SecretGrant, nN as SecretGrantCreateRequest, nO as SecretGrantId, nP as SecretGrantListItem, nQ as SecretId, nR as SecretKind, nS as SecretKindFilter, nT as SecretMaterial, nU as SecretMcpoAuthFlowIdFilter, nV as SecretMetadataFilter, nW as SecretOwner, nX as SecretOwnerInput, nY as SecretOwnerKindFilter, nZ as SecretOwnerProjectIdFilter, n_ as SecretVersionRequest, n$ as ServerErrorCode, eI as SetMemberProjectAccessData, eK as SetMemberProjectAccessError, o0 as SetMemberProjectAccessErrors, eJ as SetMemberProjectAccessResponse, o1 as SetMemberProjectAccessResponses, eL as SetOrgApiKeyProjectRoleData, eN as SetOrgApiKeyProjectRoleError, o2 as SetOrgApiKeyProjectRoleErrors, eM as SetOrgApiKeyProjectRoleResponse, o3 as SetOrgApiKeyProjectRoleResponses, o4 as SetProjectMembershipRequest, cs as Skill, o5 as SkillAvailability, o6 as SkillAvailabilitySourceFilter, o7 as SkillGrant, o8 as SkillGrantCreateRequest, o9 as SkillGrantId, oa as SkillGrantListItem, ob as SkillId, oc as SkillOwner, od as SkillOwnerInput, oe as SkillOwnerKindFilter, of as SkillOwnerProjectIdFilter, og as SkillRevisionId, oh as SlackSetup, oi as SlackSetupIcon, eO as SleepMachineDaemonRuntimeData, eQ as SleepMachineDaemonRuntimeError, oj as SleepMachineDaemonRuntimeErrors, eP as SleepMachineDaemonRuntimeResponse, ok as SleepMachineDaemonRuntimeResponses, eR as SocketMachineDaemonRuntimeData, eS as SocketMachineDaemonRuntimeError, ol as SocketMachineDaemonRuntimeErrors, eT as StartSecretMcpoAuthData, eV as StartSecretMcpoAuthError, om as StartSecretMcpoAuthErrors, eU as StartSecretMcpoAuthResponse, on as StartSecretMcpoAuthResponses, oo as StreamEventsError, op as StreamEventsErrors, oq as StreamEventsResponse, or as StreamEventsResponses, os as StructuredDataContentBlock, eW as SubmitToolCallResultData, eY as SubmitToolCallResultError, ot as SubmitToolCallResultErrors, ou as SubmitToolCallResultRequest, ov as SubmitToolCallResultResponse, eX as SubmitToolCallResultResponse2, ow as SubmitToolCallResultResponses, ox as SubmitToolResultContentBlock, oy as TextContentBlock, oz as Timestamp, oA as ToolCall, oB as ToolCallId, oC as ToolCallOutcome, oD as ToolCallState, oE as ToolCallType, oF as ToolCallUpdate, cv as ToolCatalog, oG as ToolCatalogEntry, oH as ToolInput, oI as ToolPermissionMode, oJ as ToolPermissionProfile, oK as ToolPermissionSelection, oL as ToolResult, oM as ToolResultContentBlock, oN as ToolResultEvent, eZ as UpdateAgentConfigData, e$ as UpdateAgentConfigError, oO as UpdateAgentConfigErrors, oP as UpdateAgentConfigRequest, oQ as UpdateAgentConfigResponse, e_ as UpdateAgentConfigResponse2, oR as UpdateAgentConfigResponses, f0 as UpdateAgentProfileData, f2 as UpdateAgentProfileError, oS as UpdateAgentProfileErrors, oT as UpdateAgentProfileRequest, f1 as UpdateAgentProfileResponse, oU as UpdateAgentProfileResponses, f3 as UpdateConfiguredModelData, f5 as UpdateConfiguredModelError, oV as UpdateConfiguredModelErrors, oW as UpdateConfiguredModelRequest, f4 as UpdateConfiguredModelResponse, oX as UpdateConfiguredModelResponses, f6 as UpdateCronTriggerData, f8 as UpdateCronTriggerError, oY as UpdateCronTriggerErrors, oZ as UpdateCronTriggerRequest, f7 as UpdateCronTriggerResponse, o_ as UpdateCronTriggerResponses, f9 as UpdateMachineData, fb as UpdateMachineError, o$ as UpdateMachineErrors, fc as UpdateMachinePoolData, fe as UpdateMachinePoolError, p0 as UpdateMachinePoolErrors, p1 as UpdateMachinePoolRequest, fd as UpdateMachinePoolResponse, p2 as UpdateMachinePoolResponses, p3 as UpdateMachineRequest, fa as UpdateMachineResponse, p4 as UpdateMachineResponses, ff as UpdateModelProviderConfigData, fh as UpdateModelProviderConfigError, p5 as UpdateModelProviderConfigErrors, p6 as UpdateModelProviderConfigRequest, fg as UpdateModelProviderConfigResponse, p7 as UpdateModelProviderConfigResponses, fi as UpdateOrgApiKeyData, fk as UpdateOrgApiKeyError, p8 as UpdateOrgApiKeyErrors, p9 as UpdateOrgApiKeyRequest, fj as UpdateOrgApiKeyResponse, pa as UpdateOrgApiKeyResponses, fl as UpdateOrgMemberData, fn as UpdateOrgMemberError, pb as UpdateOrgMemberErrors, pc as UpdateOrgMemberRequest, fm as UpdateOrgMemberResponse, pd as UpdateOrgMemberResponses, fo as UpdateProjectMachinePoolGrantData, fq as UpdateProjectMachinePoolGrantError, pe as UpdateProjectMachinePoolGrantErrors, pf as UpdateProjectMachinePoolGrantRequest, fp as UpdateProjectMachinePoolGrantResponse, pg as UpdateProjectMachinePoolGrantResponses, fr as UpdateProjectModelGrantData, ft as UpdateProjectModelGrantError, ph as UpdateProjectModelGrantErrors, pi as UpdateProjectModelGrantRequest, fs as UpdateProjectModelGrantResponse, pj as UpdateProjectModelGrantResponses, fu as UpdateSecretData, fw as UpdateSecretError, pk as UpdateSecretErrors, pl as UpdateSecretRequest, fv as UpdateSecretResponse, pm as UpdateSecretResponses, pn as UserId, po as UserSecretOwner, pp as UserSecretOwnerInput, pq as UserSkillOwner, pr as UserSkillOwnerInput, ps as VisibleMachine, pt as VisibleProject, pu as Warning, pv as sdk } from './sdk.gen-ZBFBMn0v.js';
|
|
5
5
|
import * as z from 'zod';
|
|
6
6
|
|
|
7
7
|
declare const createClient: (config?: Config) => Client;
|
package/dist/index.js
CHANGED
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
isUnknownEnumError,
|
|
8
8
|
sdk_gen_exports,
|
|
9
9
|
streamEvents
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UZA6TQOU.js";
|
|
11
11
|
import {
|
|
12
12
|
zStreamEventsResponse
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OEMZZYRM.js";
|
|
14
14
|
import "./chunk-PZ5AY32C.js";
|
|
15
15
|
|
|
16
16
|
// src/agent-event-stream.ts
|
|
@@ -125,6 +125,32 @@ function bearerToken(token) {
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
// src/client.ts
|
|
128
|
+
function stripClientSelector(client) {
|
|
129
|
+
const strip = (dispatch) => (options) => {
|
|
130
|
+
if (options == null || !("client" in options)) return dispatch(options);
|
|
131
|
+
const rest = { ...options };
|
|
132
|
+
delete rest.client;
|
|
133
|
+
return dispatch(rest);
|
|
134
|
+
};
|
|
135
|
+
const methods = [
|
|
136
|
+
"connect",
|
|
137
|
+
"delete",
|
|
138
|
+
"get",
|
|
139
|
+
"head",
|
|
140
|
+
"options",
|
|
141
|
+
"patch",
|
|
142
|
+
"post",
|
|
143
|
+
"put",
|
|
144
|
+
"request",
|
|
145
|
+
"trace"
|
|
146
|
+
];
|
|
147
|
+
const wrap = (target) => {
|
|
148
|
+
const dispatches = target;
|
|
149
|
+
for (const method of methods) dispatches[method] &&= strip(dispatches[method]);
|
|
150
|
+
};
|
|
151
|
+
wrap(client);
|
|
152
|
+
wrap(client.sse);
|
|
153
|
+
}
|
|
128
154
|
function createOmnaraClient(options = {}) {
|
|
129
155
|
const client = createClient(
|
|
130
156
|
createConfig({
|
|
@@ -147,6 +173,7 @@ function createOmnaraClient(options = {}) {
|
|
|
147
173
|
if (!response.ok) throw await ApiError.fromResponse(response);
|
|
148
174
|
return response;
|
|
149
175
|
});
|
|
176
|
+
stripClientSelector(client);
|
|
150
177
|
return client;
|
|
151
178
|
}
|
|
152
179
|
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/agent-event-stream.ts","../src/auth.ts","../src/client.ts","../src/device.ts"],"sourcesContent":["import type { OmnaraClient } from './client'\nimport { streamEvents } from './generated/sdk.gen'\nimport type { AgentEventStreamData, StreamEventsData } from './generated/types.gen'\nimport { zStreamEventsResponse } from './generated/zod.gen'\nimport { isUnknownEnumError } from './validate-response'\n\nexport type AgentEventStreamErrorKind = 'aborted' | 'contract' | 'http' | 'transport'\n\nexport class AgentEventStreamError extends Error {\n readonly kind: AgentEventStreamErrorKind\n readonly retryable: boolean\n readonly status: number | undefined\n\n constructor({\n kind,\n message,\n retryable,\n status,\n cause,\n }: {\n kind: AgentEventStreamErrorKind\n message: string\n retryable: boolean\n status?: number\n cause?: unknown\n }) {\n super(message, { cause })\n this.name = 'AgentEventStreamError'\n this.kind = kind\n this.retryable = retryable\n this.status = status\n }\n}\n\nexport interface OpenAgentEventStreamOptions {\n client: OmnaraClient\n path: StreamEventsData['path']\n query?: StreamEventsData['query']\n headers?: StreamEventsData['headers']\n signal?: AbortSignal\n}\n\nexport interface AgentEventStream {\n stream: AsyncGenerator<AgentEventStreamData>\n}\n\nconst generatedHTTPError = /^SSE failed: (\\d{3})(?:\\s|$)/\n\nfunction classifyStreamError(error: unknown, signal?: AbortSignal): AgentEventStreamError {\n if (error instanceof AgentEventStreamError) return error\n if (signal?.aborted === true || (error instanceof Error && error.name === 'AbortError')) {\n return new AgentEventStreamError({\n kind: 'aborted',\n message: 'Agent event stream canceled',\n retryable: false,\n cause: error,\n })\n }\n const match = error instanceof Error ? generatedHTTPError.exec(error.message) : null\n const status = match?.[1] == null ? undefined : Number.parseInt(match[1], 10)\n if (status != null) {\n return new AgentEventStreamError({\n kind: 'http',\n message: `Agent event stream request failed with HTTP ${status}`,\n retryable: status === 408 || status === 429 || status >= 500,\n status,\n cause: error,\n })\n }\n return new AgentEventStreamError({\n kind: 'transport',\n message: 'Agent event stream disconnected',\n retryable: true,\n cause: error,\n })\n}\n\nasync function* validatedFrames(\n source: AsyncIterable<unknown>,\n sourceError: () => AgentEventStreamError | undefined,\n signal?: AbortSignal,\n): AsyncGenerator<AgentEventStreamData> {\n try {\n for await (const data of source) {\n const parsed = await zStreamEventsResponse.safeParseAsync(data)\n if (parsed.success) {\n yield parsed.data\n } else if (isUnknownEnumError(parsed.error, data)) {\n yield data as AgentEventStreamData\n } else {\n throw new AgentEventStreamError({\n kind: 'contract',\n message: 'Agent event stream received data that does not match the API contract',\n retryable: false,\n cause: parsed.error,\n })\n }\n }\n } catch (error) {\n throw classifyStreamError(error, signal)\n }\n const error = sourceError()\n if (error != null) throw error\n}\n\nexport async function openAgentEventStream({\n client,\n path,\n query,\n headers,\n signal,\n}: OpenAgentEventStreamOptions): Promise<AgentEventStream> {\n let connectionError: AgentEventStreamError | undefined\n try {\n const result = await streamEvents({\n client,\n path,\n query,\n headers,\n signal,\n responseValidator: undefined,\n sseMaxRetryAttempts: 1,\n onSseError: (error) => {\n connectionError = classifyStreamError(error, signal)\n },\n })\n return {\n stream: validatedFrames(result.stream, () => connectionError, signal),\n }\n } catch (error) {\n throw classifyStreamError(error, signal)\n }\n}\n","export interface AuthStrategy {\n authenticate(request: Request): void | Promise<void>\n}\n\nexport function bearerToken(token: string | (() => string | Promise<string>)): AuthStrategy {\n const resolve = typeof token === 'function' ? token : () => token\n return {\n async authenticate(request) {\n const value = await resolve()\n if (value) request.headers.set('Authorization', `Bearer ${value}`)\n },\n }\n}\n","import type { AuthStrategy } from './auth'\nimport { ApiError } from './errors'\nimport { createClient, createConfig } from './generated/client'\n\nexport type OmnaraClient = ReturnType<typeof createClient>\n\nexport interface OmnaraClientOptions {\n baseUrl?: string\n credentials?: RequestCredentials\n auth?: AuthStrategy\n headers?: Record<string, string>\n}\n\nexport function createOmnaraClient(options: OmnaraClientOptions = {}): OmnaraClient {\n const client = createClient(\n createConfig({\n throwOnError: true,\n }),\n )\n client.setConfig({\n baseUrl: options.baseUrl ?? '',\n credentials: options.credentials,\n headers: options.headers,\n })\n const { auth } = options\n if (auth) {\n client.interceptors.request.use(async (request) => {\n await auth.authenticate(request)\n return request\n })\n }\n client.interceptors.response.use(async (response) => {\n if (!response.ok) throw await ApiError.fromResponse(response)\n return response\n })\n return client\n}\n","import * as z from 'zod'\n\nimport { ApiError } from './errors'\n\nconst zDeviceAuthStartResponse = z.object({\n device_code: z.string().min(1),\n user_code: z.string().min(1),\n verification_uri: z.string().min(1),\n verification_uri_complete: z.string().min(1),\n expires_in: z.number().int().positive(),\n interval: z.number().int().positive(),\n})\n\nconst zDeviceAuthWaitingResponse = z.object({\n interval: z.number().int().positive(),\n})\n\nconst zDeviceAuthFailureResponse = z.object({\n error: z.enum(['access_denied', 'expired_token']),\n})\n\nconst zDeviceAuthApprovedResponse = z.object({\n access_token: z.string().min(1),\n token_type: z.string(),\n})\n\nexport type DeviceAuthFailureCode = z.infer<typeof zDeviceAuthFailureResponse>['error']\n\nconst DEVICE_AUTH_FAILURE_MESSAGES: Record<DeviceAuthFailureCode, string> = {\n access_denied: 'the login request was denied',\n expired_token: 'the login request expired before it was approved',\n}\n\nexport class DeviceAuthError extends Error {\n readonly code: DeviceAuthFailureCode\n\n constructor(code: DeviceAuthFailureCode) {\n super(DEVICE_AUTH_FAILURE_MESSAGES[code])\n this.name = 'DeviceAuthError'\n this.code = code\n }\n}\n\nexport interface DeviceAuthStart {\n deviceCode: string\n userCode: string\n verificationUri: string\n verificationUriComplete: string\n expiresInSeconds: number\n intervalSeconds: number\n}\n\nasync function postDeviceAuthJSON(\n fetchImpl: typeof fetch,\n baseUrl: string,\n path: string,\n body: unknown,\n): Promise<Response> {\n return fetchImpl(`${baseUrl.replace(/\\/+$/, '')}${path}`, {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body: JSON.stringify(body),\n })\n}\n\nexport interface StartDeviceAuthOptions {\n baseUrl: string\n clientName: string\n tokenName: string\n fetch?: typeof fetch\n}\n\nexport async function startDeviceAuth(options: StartDeviceAuthOptions): Promise<DeviceAuthStart> {\n const response = await postDeviceAuthJSON(\n options.fetch ?? fetch,\n options.baseUrl,\n '/api/auth/device/code',\n { client_name: options.clientName, token_name: options.tokenName },\n )\n if (!response.ok) throw await ApiError.fromResponse(response)\n const data = zDeviceAuthStartResponse.parse(await response.json())\n return {\n deviceCode: data.device_code,\n userCode: data.user_code,\n verificationUri: new URL(data.verification_uri, options.baseUrl).toString(),\n verificationUriComplete: new URL(data.verification_uri_complete, options.baseUrl).toString(),\n expiresInSeconds: data.expires_in,\n intervalSeconds: data.interval,\n }\n}\n\nfunction defaultSleep(seconds: number): Promise<void> {\n return new Promise((resolve) => setTimeout(resolve, seconds * 1000))\n}\n\nexport interface PollDeviceAuthTokenOptions {\n baseUrl: string\n deviceCode: string\n intervalSeconds: number\n fetch?: typeof fetch\n sleep?: (seconds: number) => Promise<void>\n}\n\nexport async function pollDeviceAuthToken(options: PollDeviceAuthTokenOptions): Promise<string> {\n const fetchImpl = options.fetch ?? fetch\n const sleep = options.sleep ?? defaultSleep\n let interval = options.intervalSeconds\n while (true) {\n await sleep(interval)\n const response = await postDeviceAuthJSON(\n fetchImpl,\n options.baseUrl,\n '/api/auth/device/token',\n {\n device_code: options.deviceCode,\n },\n )\n if (response.status === 200) {\n return zDeviceAuthApprovedResponse.parse(await response.json()).access_token\n }\n if (response.status === 202) {\n interval = zDeviceAuthWaitingResponse.parse(await response.json()).interval\n continue\n }\n if (response.status === 400) {\n const failure = zDeviceAuthFailureResponse.safeParse(\n await response\n .clone()\n .json()\n .catch((): unknown => undefined),\n )\n if (failure.success) throw new DeviceAuthError(failure.data.error)\n }\n throw await ApiError.fromResponse(response)\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAQO,IAAM,wBAAN,cAAoC,MAAM;AAAA,EACtC;AAAA,EACA;AAAA,EACA;AAAA,EAET,YAAY;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,GAMG;AACD,UAAM,SAAS,EAAE,MAAM,CAAC;AACxB,SAAK,OAAO;AACZ,SAAK,OAAO;AACZ,SAAK,YAAY;AACjB,SAAK,SAAS;AAAA,EAChB;AACF;AAcA,IAAM,qBAAqB;AAE3B,SAAS,oBAAoB,OAAgB,QAA6C;AACxF,MAAI,iBAAiB,sBAAuB,QAAO;AACnD,MAAI,QAAQ,YAAY,QAAS,iBAAiB,SAAS,MAAM,SAAS,cAAe;AACvF,WAAO,IAAI,sBAAsB;AAAA,MAC/B,MAAM;AAAA,MACN,SAAS;AAAA,MACT,WAAW;AAAA,MACX,OAAO;AAAA,IACT,CAAC;AAAA,EACH;AACA,QAAM,QAAQ,iBAAiB,QAAQ,mBAAmB,KAAK,MAAM,OAAO,IAAI;AAChF,QAAM,SAAS,QAAQ,CAAC,KAAK,OAAO,SAAY,OAAO,SAAS,MAAM,CAAC,GAAG,EAAE;AAC5E,MAAI,UAAU,MAAM;AAClB,WAAO,IAAI,sBA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ACxB;AACF;AAEA,SAAS,aAAa,SAAgC;AACpD,SAAO,IAAI,QAAQ,CAAC,YAAY,WAAW,SAAS,UAAU,GAAI,CAAC;AACrE;AAUA,eAAsB,oBAAoB,SAAsD;AAC9F,QAAM,YAAY,QAAQ,SAAS;AACnC,QAAM,QAAQ,QAAQ,SAAS;AAC/B,MAAI,WAAW,QAAQ;AACvB,SAAO,MAAM;AACX,UAAM,MAAM,QAAQ;AACpB,UAAM,WAAW,MAAM;AAAA,MACrB;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACA;AAAA,QACE,aAAa,QAAQ;AAAA,MACvB;AAAA,IACF;AACA,QAAI,SAAS,WAAW,KAAK;AAC3B,aAAO,4BAA4B,MAAM,MAAM,SAAS,KAAK,CAAC,EAAE;AAAA,IAClE;AACA,QAAI,SAAS,WAAW,KAAK;AAC3B,iBAAW,2BAA2B,MAAM,MAAM,SAAS,KAAK,CAAC,EAAE;AACnE;AAAA,IACF;AACA,QAAI,SAAS,WAAW,KAAK;AAC3B,YAAM,UAAU,2BAA2B;AAAA,QACzC,MAAM,SACH,MAAM,EACN,KAAK,EACL,MAAM,MAAe,MAAS;AAAA,MACnC;AACA,UAAI,QAAQ,QAAS,OAAM,IAAI,gBAAgB,QAAQ,KAAK,KAAK;AAAA,IACnE;AACA,UAAM,MAAM,SAAS,aAAa,QAAQ;AAAA,EAC5C;AACF;","names":["error"]}
|
|
1
|
+
{"version":3,"sources":["../src/agent-event-stream.ts","../src/auth.ts","../src/client.ts","../src/device.ts"],"sourcesContent":["import type { OmnaraClient } from './client'\nimport { streamEvents } from './generated/sdk.gen'\nimport type { AgentEventStreamData, StreamEventsData } from './generated/types.gen'\nimport { zStreamEventsResponse } from './generated/zod.gen'\nimport { isUnknownEnumError } from './validate-response'\n\nexport type AgentEventStreamErrorKind = 'aborted' | 'contract' | 'http' | 'transport'\n\nexport class AgentEventStreamError extends Error {\n readonly kind: AgentEventStreamErrorKind\n readonly retryable: boolean\n readonly status: number | undefined\n\n constructor({\n kind,\n message,\n retryable,\n status,\n cause,\n }: {\n kind: AgentEventStreamErrorKind\n message: string\n retryable: boolean\n status?: number\n cause?: unknown\n }) {\n super(message, { cause })\n this.name = 'AgentEventStreamError'\n this.kind = kind\n this.retryable = retryable\n this.status = status\n }\n}\n\nexport interface OpenAgentEventStreamOptions {\n client: OmnaraClient\n path: StreamEventsData['path']\n query?: StreamEventsData['query']\n headers?: StreamEventsData['headers']\n signal?: AbortSignal\n}\n\nexport interface AgentEventStream {\n stream: AsyncGenerator<AgentEventStreamData>\n}\n\nconst generatedHTTPError = /^SSE failed: (\\d{3})(?:\\s|$)/\n\nfunction classifyStreamError(error: unknown, signal?: AbortSignal): AgentEventStreamError {\n if (error instanceof AgentEventStreamError) return error\n if (signal?.aborted === true || (error instanceof Error && error.name === 'AbortError')) {\n return new AgentEventStreamError({\n kind: 'aborted',\n message: 'Agent event stream canceled',\n retryable: false,\n cause: error,\n })\n }\n const match = error instanceof Error ? generatedHTTPError.exec(error.message) : null\n const status = match?.[1] == null ? undefined : Number.parseInt(match[1], 10)\n if (status != null) {\n return new AgentEventStreamError({\n kind: 'http',\n message: `Agent event stream request failed with HTTP ${status}`,\n retryable: status === 408 || status === 429 || status >= 500,\n status,\n cause: error,\n })\n }\n return new AgentEventStreamError({\n kind: 'transport',\n message: 'Agent event stream disconnected',\n retryable: true,\n cause: error,\n })\n}\n\nasync function* validatedFrames(\n source: AsyncIterable<unknown>,\n sourceError: () => AgentEventStreamError | undefined,\n signal?: AbortSignal,\n): AsyncGenerator<AgentEventStreamData> {\n try {\n for await (const data of source) {\n const parsed = await zStreamEventsResponse.safeParseAsync(data)\n if (parsed.success) {\n yield parsed.data\n } else if (isUnknownEnumError(parsed.error, data)) {\n yield data as AgentEventStreamData\n } else {\n throw new AgentEventStreamError({\n kind: 'contract',\n message: 'Agent event stream received data that does not match the API contract',\n retryable: false,\n cause: parsed.error,\n })\n }\n }\n } catch (error) {\n throw classifyStreamError(error, signal)\n }\n const error = sourceError()\n if (error != null) throw error\n}\n\nexport async function openAgentEventStream({\n client,\n path,\n query,\n headers,\n signal,\n}: OpenAgentEventStreamOptions): Promise<AgentEventStream> {\n let connectionError: AgentEventStreamError | undefined\n try {\n const result = await streamEvents({\n client,\n path,\n query,\n headers,\n signal,\n responseValidator: undefined,\n sseMaxRetryAttempts: 1,\n onSseError: (error) => {\n connectionError = classifyStreamError(error, signal)\n },\n })\n return {\n stream: validatedFrames(result.stream, () => connectionError, signal),\n }\n } catch (error) {\n throw classifyStreamError(error, signal)\n }\n}\n","export interface AuthStrategy {\n authenticate(request: Request): void | Promise<void>\n}\n\nexport function bearerToken(token: string | (() => string | Promise<string>)): AuthStrategy {\n const resolve = typeof token === 'function' ? token : () => token\n return {\n async authenticate(request) {\n const value = await resolve()\n if (value) request.headers.set('Authorization', `Bearer ${value}`)\n },\n }\n}\n","import type { AuthStrategy } from './auth'\nimport { ApiError } from './errors'\nimport { createClient, createConfig } from './generated/client'\n\nexport type OmnaraClient = ReturnType<typeof createClient>\n\nexport interface OmnaraClientOptions {\n baseUrl?: string\n credentials?: RequestCredentials\n auth?: AuthStrategy\n headers?: Record<string, string>\n}\n\ntype Dispatch = (options?: Record<string, unknown>) => unknown\n\n// The generated client leaks per-call options — including the `client`\n// selector — into the Request init, which throws on Deno and Bun (they\n// reserve the `client` init key). Drop the key before dispatch.\n// TODO: remove once hey-api/hey-api#4177 is fixed and regenerated.\nfunction stripClientSelector(client: OmnaraClient): void {\n const strip =\n (dispatch: Dispatch): Dispatch =>\n (options) => {\n if (options == null || !('client' in options)) return dispatch(options)\n const rest = { ...options }\n delete rest.client\n return dispatch(rest)\n }\n const methods = [\n 'connect',\n 'delete',\n 'get',\n 'head',\n 'options',\n 'patch',\n 'post',\n 'put',\n 'request',\n 'trace',\n ] as const\n const wrap = (target: object) => {\n const dispatches = target as Partial<Record<(typeof methods)[number], Dispatch>>\n for (const method of methods) dispatches[method] &&= strip(dispatches[method])\n }\n wrap(client)\n wrap(client.sse)\n}\n\nexport function createOmnaraClient(options: OmnaraClientOptions = {}): OmnaraClient {\n const client = createClient(\n createConfig({\n throwOnError: true,\n }),\n )\n client.setConfig({\n baseUrl: options.baseUrl ?? '',\n credentials: options.credentials,\n headers: options.headers,\n })\n const { auth } = options\n if (auth) {\n client.interceptors.request.use(async (request) => {\n await auth.authenticate(request)\n return request\n })\n }\n client.interceptors.response.use(async (response) => {\n if (!response.ok) throw await ApiError.fromResponse(response)\n return response\n })\n stripClientSelector(client)\n return client\n}\n","import * as z from 'zod'\n\nimport { ApiError } from './errors'\n\nconst zDeviceAuthStartResponse = z.object({\n device_code: z.string().min(1),\n user_code: z.string().min(1),\n verification_uri: z.string().min(1),\n verification_uri_complete: z.string().min(1),\n expires_in: z.number().int().positive(),\n interval: z.number().int().positive(),\n})\n\nconst zDeviceAuthWaitingResponse = z.object({\n interval: z.number().int().positive(),\n})\n\nconst zDeviceAuthFailureResponse = z.object({\n error: z.enum(['access_denied', 'expired_token']),\n})\n\nconst zDeviceAuthApprovedResponse = z.object({\n access_token: z.string().min(1),\n token_type: z.string(),\n})\n\nexport type DeviceAuthFailureCode = z.infer<typeof zDeviceAuthFailureResponse>['error']\n\nconst DEVICE_AUTH_FAILURE_MESSAGES: Record<DeviceAuthFailureCode, string> = {\n access_denied: 'the login request was denied',\n expired_token: 'the login request expired before it was approved',\n}\n\nexport class DeviceAuthError extends Error {\n readonly code: DeviceAuthFailureCode\n\n constructor(code: DeviceAuthFailureCode) {\n super(DEVICE_AUTH_FAILURE_MESSAGES[code])\n this.name = 'DeviceAuthError'\n this.code = code\n }\n}\n\nexport interface DeviceAuthStart {\n deviceCode: string\n userCode: string\n verificationUri: string\n verificationUriComplete: string\n expiresInSeconds: number\n intervalSeconds: number\n}\n\nasync function postDeviceAuthJSON(\n fetchImpl: typeof fetch,\n baseUrl: string,\n path: string,\n body: unknown,\n): Promise<Response> {\n return fetchImpl(`${baseUrl.replace(/\\/+$/, '')}${path}`, {\n method: 'POST',\n headers: { 'Content-Type': 'application/json' },\n body: JSON.stringify(body),\n })\n}\n\nexport interface StartDeviceAuthOptions {\n baseUrl: string\n clientName: string\n tokenName: string\n fetch?: typeof fetch\n}\n\nexport async function startDeviceAuth(options: StartDeviceAuthOptions): Promise<DeviceAuthStart> {\n const response = await postDeviceAuthJSON(\n options.fetch ?? fetch,\n options.baseUrl,\n '/api/auth/device/code',\n { client_name: options.clientName, token_name: options.tokenName },\n )\n if (!response.ok) throw await ApiError.fromResponse(response)\n const data = zDeviceAuthStartResponse.parse(await response.json())\n return {\n deviceCode: data.device_code,\n userCode: data.user_code,\n verificationUri: new URL(data.verification_uri, options.baseUrl).toString(),\n verificationUriComplete: new URL(data.verification_uri_complete, options.baseUrl).toString(),\n expiresInSeconds: data.expires_in,\n intervalSeconds: data.interval,\n }\n}\n\nfunction defaultSleep(seconds: number): Promise<void> {\n return new Promise((resolve) => setTimeout(resolve, seconds * 1000))\n}\n\nexport interface PollDeviceAuthTokenOptions {\n baseUrl: string\n deviceCode: string\n intervalSeconds: number\n fetch?: typeof fetch\n sleep?: (seconds: number) => Promise<void>\n}\n\nexport async function pollDeviceAuthToken(options: PollDeviceAuthTokenOptions): Promise<string> {\n const fetchImpl = options.fetch ?? fetch\n const sleep = options.sleep ?? defaultSleep\n let interval = options.intervalSeconds\n while (true) {\n await sleep(interval)\n const response = await postDeviceAuthJSON(\n fetchImpl,\n options.baseUrl,\n '/api/auth/device/token',\n {\n device_code: options.deviceCode,\n },\n )\n if (response.status === 200) {\n return zDeviceAuthApprovedResponse.parse(await response.json()).access_token\n }\n if (response.status === 202) {\n interval = zDeviceAuthWaitingResponse.parse(await response.json()).interval\n continue\n }\n if (response.status === 400) {\n const failure = zDeviceAuthFailureResponse.safeParse(\n await response\n .clone()\n .json()\n .catch((): unknown => undefined),\n )\n if (failure.success) throw new DeviceAuthError(failure.data.error)\n }\n throw await ApiError.fromResponse(response)\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAQO,IAAM,wBAA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AAA,IAC3F,kBAAkB,KAAK;AAAA,IACvB,iBAAiB,KAAK;AAAA,EACxB;AACF;AAEA,SAAS,aAAa,SAAgC;AACpD,SAAO,IAAI,QAAQ,CAAC,YAAY,WAAW,SAAS,UAAU,GAAI,CAAC;AACrE;AAUA,eAAsB,oBAAoB,SAAsD;AAC9F,QAAM,YAAY,QAAQ,SAAS;AACnC,QAAM,QAAQ,QAAQ,SAAS;AAC/B,MAAI,WAAW,QAAQ;AACvB,SAAO,MAAM;AACX,UAAM,MAAM,QAAQ;AACpB,UAAM,WAAW,MAAM;AAAA,MACrB;AAAA,MACA,QAAQ;AAAA,MACR;AAAA,MACA;AAAA,QACE,aAAa,QAAQ;AAAA,MACvB;AAAA,IACF;AACA,QAAI,SAAS,WAAW,KAAK;AAC3B,aAAO,4BAA4B,MAAM,MAAM,SAAS,KAAK,CAAC,EAAE;AAAA,IAClE;AACA,QAAI,SAAS,WAAW,KAAK;AAC3B,iBAAW,2BAA2B,MAAM,MAAM,SAAS,KAAK,CAAC,EAAE;AACnE;AAAA,IACF;AACA,QAAI,SAAS,WAAW,KAAK;AAC3B,YAAM,UAAU,2BAA2B;AAAA,QACzC,MAAM,SACH,MAAM,EACN,KAAK,EACL,MAAM,MAAe,MAAS;AAAA,MACnC;AACA,UAAI,QAAQ,QAAS,OAAM,IAAI,gBAAgB,QAAQ,KAAK,KAAK;AAAA,IACnE;AACA,UAAM,MAAM,SAAS,aAAa,QAAQ;AAAA,EAC5C;AACF;","names":["error"]}
|
|
@@ -1929,6 +1929,10 @@ type CreateMachinePoolRequestBase = {
|
|
|
1929
1929
|
min_machine_memory_mb?: number;
|
|
1930
1930
|
max_machine_cpu?: number;
|
|
1931
1931
|
max_machine_memory_mb?: number;
|
|
1932
|
+
/**
|
|
1933
|
+
* Idle minutes before deleting a machine from this pool. Omit to leave the pool default unset; a grant or agent source may still override it.
|
|
1934
|
+
*/
|
|
1935
|
+
delete_after_idle_minutes?: number;
|
|
1932
1936
|
metadata?: MachineMetadata;
|
|
1933
1937
|
};
|
|
1934
1938
|
type UpdateMachinePoolRequest = {
|
|
@@ -1967,6 +1971,10 @@ type UpdateMachinePoolRequest = {
|
|
|
1967
1971
|
min_machine_memory_mb?: number | null;
|
|
1968
1972
|
max_machine_cpu?: number | null;
|
|
1969
1973
|
max_machine_memory_mb?: number | null;
|
|
1974
|
+
/**
|
|
1975
|
+
* Idle minutes before deleting a machine from this pool. Null clears the pool default; omitted leaves it unchanged.
|
|
1976
|
+
*/
|
|
1977
|
+
delete_after_idle_minutes?: number | null;
|
|
1970
1978
|
metadata?: MachineMetadata;
|
|
1971
1979
|
};
|
|
1972
1980
|
type MachinePool = {
|
|
@@ -2009,6 +2017,10 @@ type MachinePool = {
|
|
|
2009
2017
|
min_machine_memory_mb: number | null;
|
|
2010
2018
|
max_machine_cpu: number | null;
|
|
2011
2019
|
max_machine_memory_mb: number | null;
|
|
2020
|
+
/**
|
|
2021
|
+
* Idle minutes before deleting a machine from this pool, or null when the pool default is unset.
|
|
2022
|
+
*/
|
|
2023
|
+
delete_after_idle_minutes: number | null;
|
|
2012
2024
|
metadata: Metadata;
|
|
2013
2025
|
created_at: Timestamp;
|
|
2014
2026
|
updated_at: Timestamp;
|
|
@@ -2190,6 +2202,10 @@ type ProjectMachinePoolGrant = {
|
|
|
2190
2202
|
min_machine_memory_mb: number | null;
|
|
2191
2203
|
max_machine_cpu: number | null;
|
|
2192
2204
|
max_machine_memory_mb: number | null;
|
|
2205
|
+
/**
|
|
2206
|
+
* Idle minutes before deleting a machine created through this grant. Zero disables deletion for this grant; null inherits the pool default.
|
|
2207
|
+
*/
|
|
2208
|
+
delete_after_idle_minutes: 0 | number | null;
|
|
2193
2209
|
metadata: Metadata;
|
|
2194
2210
|
created_at: Timestamp;
|
|
2195
2211
|
updated_at: Timestamp;
|
|
@@ -2222,6 +2238,10 @@ type CreateProjectMachinePoolGrantRequest = {
|
|
|
2222
2238
|
min_machine_memory_mb?: number;
|
|
2223
2239
|
max_machine_cpu?: number;
|
|
2224
2240
|
max_machine_memory_mb?: number;
|
|
2241
|
+
/**
|
|
2242
|
+
* Idle minutes before deleting a machine created through this grant. Use 0 to disable for this grant; omit to inherit the pool default. Values from 1 through 4 are invalid.
|
|
2243
|
+
*/
|
|
2244
|
+
delete_after_idle_minutes?: 0 | number;
|
|
2225
2245
|
metadata?: Metadata;
|
|
2226
2246
|
};
|
|
2227
2247
|
/**
|
|
@@ -2248,6 +2268,10 @@ type UpdateProjectMachinePoolGrantRequest = {
|
|
|
2248
2268
|
min_machine_memory_mb?: number | null;
|
|
2249
2269
|
max_machine_cpu?: number | null;
|
|
2250
2270
|
max_machine_memory_mb?: number | null;
|
|
2271
|
+
/**
|
|
2272
|
+
* Idle minutes before deleting a machine created through this grant. Use 0 to disable for this grant; null restores inheritance from the pool; omitted leaves it unchanged. Values from 1 through 4 are invalid.
|
|
2273
|
+
*/
|
|
2274
|
+
delete_after_idle_minutes?: 0 | number | null;
|
|
2251
2275
|
metadata?: Metadata;
|
|
2252
2276
|
};
|
|
2253
2277
|
type ListProjectMachinePoolGrantsResponse = {
|
|
@@ -12138,10 +12162,10 @@ declare const recordMachineFailure: <ThrowOnError extends boolean = true>(option
|
|
|
12138
12162
|
* Create organization
|
|
12139
12163
|
*
|
|
12140
12164
|
* Creates the organization and its local default resources atomically.
|
|
12141
|
-
*
|
|
12142
|
-
*
|
|
12143
|
-
*
|
|
12144
|
-
*
|
|
12165
|
+
* An idempotency key determines the proposed organization ID; replaying it
|
|
12166
|
+
* returns the existing organization. Without a key, each request is a fresh
|
|
12167
|
+
* attempt. Optional default-provider provisioning begins after commit and
|
|
12168
|
+
* retries asynchronously without failing organization creation.
|
|
12145
12169
|
*
|
|
12146
12170
|
*/
|
|
12147
12171
|
declare const createOrganization: <ThrowOnError extends boolean = true>(options: Options<CreateOrganizationData, ThrowOnError>) => RequestResult<CreateOrganizationResponses, CreateOrganizationErrors, ThrowOnError>;
|
|
@@ -12750,7 +12774,7 @@ declare const getMachinePool: <ThrowOnError extends boolean = true>(options: Opt
|
|
|
12750
12774
|
/**
|
|
12751
12775
|
* Update machine pool
|
|
12752
12776
|
*
|
|
12753
|
-
* Tenant-managed pools support every request field. Cluster-managed pools only allow changes to default CPU and memory, environment and secret environment variables,
|
|
12777
|
+
* Tenant-managed pools support every request field. Cluster-managed pools only allow changes to default CPU and memory, environment and secret environment variables, provider-supported per-machine CPU and memory limits, and the idle deletion policy. Other cluster-managed changes are rejected with 409 Conflict.
|
|
12754
12778
|
*/
|
|
12755
12779
|
declare const updateMachinePool: <ThrowOnError extends boolean = true>(options: Options<UpdateMachinePoolData, ThrowOnError>) => RequestResult<UpdateMachinePoolResponses, UpdateMachinePoolErrors, ThrowOnError>;
|
|
12756
12780
|
/**
|
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, A as AcceptInvitationData, a as AcceptInvitationResponse, b as AcceptInvitationError, c as ArchiveAgentData, d as ArchiveAgentResponse, e as ArchiveAgentError, B as BootstrapDaemonData, f as BootstrapDaemonResponse2, g as BootstrapDaemonError, C as CancelAgentData, h as CancelAgentResponse2, i as CancelAgentError, j as CancelQueuedBacklogInputData, k as CancelQueuedBacklogInputResponse, l as CancelQueuedBacklogInputError, m as ConnectByoMachineData, n as ConnectByoMachineResponse2, o as ConnectByoMachineError, p as CreateAgentConfigData, q as CreateAgentConfigResponse, r as CreateAgentConfigError, s as CreateAgentInputData, t as CreateAgentInputResponse, u as CreateAgentInputError, v as CreateAgentData, w as CreateAgentResponse, x as CreateAgentError, y as CreateAgentProfileData, z as CreateAgentProfileResponse, D as CreateAgentProfileError, E as CreateByoMachineDaemonTokenData, F as CreateByoMachineDaemonTokenResponse, G as CreateByoMachineDaemonTokenError, H as CreateConfiguredModelData, I as CreateConfiguredModelResponse, J as CreateConfiguredModelError, K as CreateCronTriggerData, L as CreateCronTriggerResponse, M as CreateCronTriggerError, N as CreateIntegrationOAuthSetupData, P as CreateIntegrationOAuthSetupResponse, Q as CreateIntegrationOAuthSetupError, R as CreateMachineData, S as CreateMachineResponse, T as CreateMachineError, U as CreateMachinePoolData, V as CreateMachinePoolResponse, W as CreateMachinePoolError, X as CreateModelProviderConfigData, Y as CreateModelProviderConfigResponse2, Z as CreateModelProviderConfigError, _ as CreateOrgApiKeyData, $ as CreateOrgApiKeyResponse2, a0 as CreateOrgApiKeyError, a1 as CreateOrgInvitationData, a2 as CreateOrgInvitationResponse, a3 as CreateOrgInvitationError, a4 as CreateOrganizationData, a5 as CreateOrganizationResponse2, a6 as CreateOrganizationError, a7 as CreatePersonalAccessTokenData, a8 as CreatePersonalAccessTokenResponse2, a9 as CreatePersonalAccessTokenError, aa as CreateProjectMachineGrantData, ab as CreateProjectMachineGrantResponse2, ac as CreateProjectMachineGrantError, ad as CreateProjectMachinePoolGrantData, ae as CreateProjectMachinePoolGrantResponse, af as CreateProjectMachinePoolGrantError, ag as CreateProjectModelGrantData, ah as CreateProjectModelGrantResponse, ai as CreateProjectModelGrantError, aj as CreateProjectData, ak as CreateProjectResponse, al as CreateProjectError, am as CreateSecretGrantData, an as CreateSecretGrantResponse, ao as CreateSecretGrantError, ap as CreateSecretData, aq as CreateSecretResponse, ar as CreateSecretError, as as CreateSecretVersionData, at as CreateSecretVersionResponse, au as CreateSecretVersionError, av as CreateSkillGrantData, aw as CreateSkillGrantResponse, ax as CreateSkillGrantError, ay as CreateSkillData, az as CreateSkillResponse, aA as CreateSkillError, aB as CreateSlackSetupData, aC as CreateSlackSetupResponse, aD as CreateSlackSetupError, aE as DeclineInvitationData, aF as DeclineInvitationResponse, aG as DeclineInvitationError, aH as DeleteAgentProfileData, aI as DeleteAgentProfileResponse, aJ as DeleteAgentProfileError, aK as DeleteConfiguredModelData, aL as DeleteConfiguredModelResponse, aM as DeleteConfiguredModelError, aN as DeleteCronTriggerData, aO as DeleteCronTriggerResponse, aP as DeleteCronTriggerError, aQ as DeleteCurrentUserData, aR as DeleteCurrentUserResponse, aS as DeleteCurrentUserError, aT as DeleteIntegrationInstallData, aU as DeleteIntegrationInstallResponse, aV as DeleteIntegrationInstallError, aW as DeleteMachineData, aX as DeleteMachineResponse, aY as DeleteMachineError, aZ as DeleteMachinePoolData, a_ as DeleteMachinePoolResponse, a$ as DeleteMachinePoolError, b0 as DeleteModelProviderConfigData, b1 as DeleteModelProviderConfigResponse, b2 as DeleteModelProviderConfigError, b3 as DeleteOrgInvitationData, b4 as DeleteOrgInvitationResponse, b5 as DeleteOrgInvitationError, b6 as DeleteOrganizationData, b7 as DeleteOrganizationResponse, b8 as DeleteOrganizationError, b9 as DeleteProjectMachineGrantData, ba as DeleteProjectMachineGrantResponse, bb as DeleteProjectMachineGrantError, bc as DeleteProjectMachinePoolGrantData, bd as DeleteProjectMachinePoolGrantResponse, be as DeleteProjectMachinePoolGrantError, bf as DeleteProjectModelGrantData, bg as DeleteProjectModelGrantResponse, bh as DeleteProjectModelGrantError, bi as DeleteProjectData, bj as DeleteProjectResponse, bk as DeleteProjectError, bl as DeleteSecretGrantData, bm as DeleteSecretGrantResponse, bn as DeleteSecretGrantError, bo as DeleteSecretData, bp as DeleteSecretResponse, bq as DeleteSecretError, br as DeleteSkillGrantData, bs as DeleteSkillGrantResponse, bt as DeleteSkillGrantError, bu as DeleteSkillData, bv as DeleteSkillResponse, bw as DeleteSkillError, bx as DemoteSteeringInputToQueuedData, by as DemoteSteeringInputToQueuedResponse, bz as DemoteSteeringInputToQueuedError, bA as EndMachineDaemonRuntimeData, bB as EndMachineDaemonRuntimeResponse, bC as EndMachineDaemonRuntimeError, bD as GetActorData, bE as Actor, bF as GetActorError, bG as GetAgentConfigData, bH as AgentConfig, bI as GetAgentConfigError, bJ as GetAgentData, bK as GetAgentResponse, bL as GetAgentError, bM as GetAgentProfileData, bN as AgentProfile, bO as GetAgentProfileError, bP as GetArtifactContentData, bQ as GetArtifactContentError, bR as GetArtifactData, bS as Artifact, bT as GetArtifactError, bU as GetCronTriggerData, bV as CronTrigger, bW as GetCronTriggerError, bX as GetCurrentUserData, bY as CurrentUser, bZ as GetCurrentUserError, b_ as GetDaemonSkillArchiveData, b$ as GetDaemonSkillArchiveError, c0 as GetMachineData, c1 as Machine, c2 as GetMachineError, c3 as GetMachinePoolData, c4 as MachinePool, c5 as GetMachinePoolError, c6 as GetModelCatalogData, c7 as ModelCatalog, c8 as GetModelCatalogError, c9 as GetModelProviderConfigData, ca as ModelProviderConfig, cb as GetModelProviderConfigError, cc as GetOrgApiKeyData, cd as OrgApiKey, ce as GetOrgApiKeyError, cf as GetOrgOverviewData, cg as OrgOverviewResponse, ch as GetOrgOverviewError, ci as GetProjectAvailableSecretData, cj as ProjectSecretAccess, ck as GetProjectAvailableSecretError, cl as GetProjectMachinePoolGrantData, cm as ProjectMachinePoolGrant, cn as GetProjectMachinePoolGrantError, co as GetSecretData, cp as Secret, cq as GetSecretError, cr as GetSkillData, cs as Skill, ct as GetSkillError, cu as GetToolCatalogData, cv as ToolCatalog, cw as GetToolCatalogError, cx as ListActorsData, cy as ListActorsResponse, cz as ListActorsError, cA as ListAgentInteractionsData, cB as ListAgentInteractionsResponse, cC as ListAgentInteractionsError, cD as ListAgentProfilesData, cE as ListAgentProfilesResponse, cF as ListAgentProfilesError, cG as ListAgentsData, cH as ListAgentsResponse, cI as ListAgentsError, cJ as ListByoMachineDaemonTokensData, cK as ListMachineDaemonTokensResponse, cL as ListByoMachineDaemonTokensError, cM as ListConfiguredModelsData, cN as ConfiguredModelList, cO as ListConfiguredModelsError, cP as ListCronTriggersData, cQ as ListCronTriggersResponse, cR as ListCronTriggersError, cS as ListEventsData, cT as ListAgentEventsResponse, cU as ListEventsError, cV as ListIntegrationInstallsData, cW as ListIntegrationInstallsResponse, cX as ListIntegrationInstallsError, cY as ListMachinePoolsData, cZ as ListMachinePoolsResponse, c_ as ListMachinePoolsError, c$ as ListMemberProjectAccessData, d0 as ListProjectMembershipGrantsResponse, d1 as ListMemberProjectAccessError, d2 as ListModelProviderConfigsData, d3 as ModelProviderConfigList, d4 as ListModelProviderConfigsError, d5 as ListOrgApiKeyProjectAccessData, d6 as ListOrgApiKeyProjectAccessError, d7 as ListOrgApiKeysData, d8 as ListOrgApiKeysResponse, d9 as ListOrgApiKeysError, da as ListOrgInvitationsData, db as ListOrgInvitationsResponse, dc as ListOrgInvitationsError, dd as ListOrgMembersData, de as ListOrgMembersResponse, df as ListOrgMembersError, dg as ListPendingInvitationsData, dh as ListPendingInvitationsError, di as ListPersonalAccessTokensData, dj as ListPersonalAccessTokensResponse, dk as ListPersonalAccessTokensError, dl as ListProjectAvailableSecretsData, dm as ListProjectSecretAccessesResponse, dn as ListProjectAvailableSecretsError, dp as ListProjectAvailableSkillsData, dq as ListProjectSkillAccessesResponse, dr as ListProjectAvailableSkillsError, ds as ListProjectMachineGrantsData, dt as ListProjectMachineGrantsResponse, du as ListProjectMachineGrantsError, dv as ListProjectMachinePoolGrantsData, dw as ListProjectMachinePoolGrantsResponse, dx as ListProjectMachinePoolGrantsError, dy as ListProjectModelGrantsData, dz as ListProjectModelGrantsResponse, dA as ListProjectModelGrantsError, dB as ListQueuedBacklogInputsData, dC as ListAgentInputsResponse, dD as ListQueuedBacklogInputsError, dE as ListSecretGrantsData, dF as ListSecretGrantsResponse, dG as ListSecretGrantsError, dH as ListSecretsData, dI as ListSecretsResponse, dJ as ListSecretsError, dK as ListSkillGrantsData, dL as ListSkillGrantsResponse, dM as ListSkillGrantsError, dN as ListSkillsData, dO as ListSkillsResponse, dP as ListSkillsError, dQ as ListToolCallsData, dR as ListToolCallsResponse, dS as ListToolCallsError, dT as ListTurnEventsData, dU as ListTurnEventsResponse, dV as ListTurnEventsError, dW as ListTurnsData, dX as ListAgentTurnsResponse, dY as ListTurnsError, dZ as ListVisibleMachinesData, d_ as ListVisibleMachinesResponse, d$ as ListVisibleMachinesError, e0 as ListVisibleProjectMachinesData, e1 as ListVisibleProjectMachinesError, e2 as ListVisibleProjectsData, e3 as ListProjectsResponse, e4 as ListVisibleProjectsError, e5 as MoveQueuedBacklogInputData, e6 as MoveQueuedBacklogInputResponse, e7 as MoveQueuedBacklogInputError, e8 as PromoteQueuedInputToSteeringData, e9 as PromoteQueuedInputToSteeringResponse, ea as PromoteQueuedInputToSteeringError, eb as PutActorData, ec as PutActorResponse, ed as PutActorError, ee as RecordMachineFailureData, ef as RecordMachineFailureResponse, eg as RecordMachineFailureError, eh as RegisterMachineDaemonRuntimeData, ei as RegisterMachineDaemonRuntimeResponse, ej as RegisterMachineDaemonRuntimeError, ek as RemoveMemberProjectAccessData, el as RemoveMemberProjectAccessResponse, em as RemoveMemberProjectAccessError, en as RemoveOrgApiKeyProjectRoleData, eo as RemoveOrgApiKeyProjectRoleResponse, ep as RemoveOrgApiKeyProjectRoleError, eq as RemoveOrgMemberData, er as RemoveOrgMemberResponse, es as RemoveOrgMemberError, et as RenameAgentProfileData, eu as RenameAgentProfileResponse, ev as RenameAgentProfileError, ew as ResolveAgentInteractionData, ex as ResolveAgentInteractionResponse, ey as ResolveAgentInteractionError, ez as RevokeMachineDaemonTokenData, eA as RevokeMachineDaemonTokenResponse, eB as RevokeMachineDaemonTokenError, eC as RevokeOrgApiKeyData, eD as RevokeOrgApiKeyResponse, eE as RevokeOrgApiKeyError, eF as RevokePersonalAccessTokenData, eG as RevokePersonalAccessTokenResponse, eH as RevokePersonalAccessTokenError, eI as SetMemberProjectAccessData, eJ as SetMemberProjectAccessResponse, eK as SetMemberProjectAccessError, eL as SetOrgApiKeyProjectRoleData, eM as SetOrgApiKeyProjectRoleResponse, eN as SetOrgApiKeyProjectRoleError, eO as SleepMachineDaemonRuntimeData, eP as SleepMachineDaemonRuntimeResponse, eQ as SleepMachineDaemonRuntimeError, eR as SocketMachineDaemonRuntimeData, eS as SocketMachineDaemonRuntimeError, eT as StartSecretMcpoAuthData, eU as StartSecretMcpoAuthResponse, eV as StartSecretMcpoAuthError, eW as SubmitToolCallResultData, eX as SubmitToolCallResultResponse2, eY as SubmitToolCallResultError, eZ as UpdateAgentConfigData, e_ as UpdateAgentConfigResponse2, e$ as UpdateAgentConfigError, f0 as UpdateAgentProfileData, f1 as UpdateAgentProfileResponse, f2 as UpdateAgentProfileError, f3 as UpdateConfiguredModelData, f4 as UpdateConfiguredModelResponse, f5 as UpdateConfiguredModelError, f6 as UpdateCronTriggerData, f7 as UpdateCronTriggerResponse, f8 as UpdateCronTriggerError, f9 as UpdateMachineData, fa as UpdateMachineResponse, fb as UpdateMachineError, fc as UpdateMachinePoolData, fd as UpdateMachinePoolResponse, fe as UpdateMachinePoolError, ff as UpdateModelProviderConfigData, fg as UpdateModelProviderConfigResponse, fh as UpdateModelProviderConfigError, fi as UpdateOrgApiKeyData, fj as UpdateOrgApiKeyResponse, fk as UpdateOrgApiKeyError, fl as UpdateOrgMemberData, fm as UpdateOrgMemberResponse, fn as UpdateOrgMemberError, fo as UpdateProjectMachinePoolGrantData, fp as UpdateProjectMachinePoolGrantResponse, fq as UpdateProjectMachinePoolGrantError, fr as UpdateProjectModelGrantData, fs as UpdateProjectModelGrantResponse, ft as UpdateProjectModelGrantError, fu as UpdateSecretData, fv as UpdateSecretResponse, fw as UpdateSecretError } from './sdk.gen-BwwvPS9F.js';
|
|
3
|
+
import { O as Options, A as AcceptInvitationData, a as AcceptInvitationResponse, b as AcceptInvitationError, c as ArchiveAgentData, d as ArchiveAgentResponse, e as ArchiveAgentError, B as BootstrapDaemonData, f as BootstrapDaemonResponse2, g as BootstrapDaemonError, C as CancelAgentData, h as CancelAgentResponse2, i as CancelAgentError, j as CancelQueuedBacklogInputData, k as CancelQueuedBacklogInputResponse, l as CancelQueuedBacklogInputError, m as ConnectByoMachineData, n as ConnectByoMachineResponse2, o as ConnectByoMachineError, p as CreateAgentConfigData, q as CreateAgentConfigResponse, r as CreateAgentConfigError, s as CreateAgentInputData, t as CreateAgentInputResponse, u as CreateAgentInputError, v as CreateAgentData, w as CreateAgentResponse, x as CreateAgentError, y as CreateAgentProfileData, z as CreateAgentProfileResponse, D as CreateAgentProfileError, E as CreateByoMachineDaemonTokenData, F as CreateByoMachineDaemonTokenResponse, G as CreateByoMachineDaemonTokenError, H as CreateConfiguredModelData, I as CreateConfiguredModelResponse, J as CreateConfiguredModelError, K as CreateCronTriggerData, L as CreateCronTriggerResponse, M as CreateCronTriggerError, N as CreateIntegrationOAuthSetupData, P as CreateIntegrationOAuthSetupResponse, Q as CreateIntegrationOAuthSetupError, R as CreateMachineData, S as CreateMachineResponse, T as CreateMachineError, U as CreateMachinePoolData, V as CreateMachinePoolResponse, W as CreateMachinePoolError, X as CreateModelProviderConfigData, Y as CreateModelProviderConfigResponse2, Z as CreateModelProviderConfigError, _ as CreateOrgApiKeyData, $ as CreateOrgApiKeyResponse2, a0 as CreateOrgApiKeyError, a1 as CreateOrgInvitationData, a2 as CreateOrgInvitationResponse, a3 as CreateOrgInvitationError, a4 as CreateOrganizationData, a5 as CreateOrganizationResponse2, a6 as CreateOrganizationError, a7 as CreatePersonalAccessTokenData, a8 as CreatePersonalAccessTokenResponse2, a9 as CreatePersonalAccessTokenError, aa as CreateProjectMachineGrantData, ab as CreateProjectMachineGrantResponse2, ac as CreateProjectMachineGrantError, ad as CreateProjectMachinePoolGrantData, ae as CreateProjectMachinePoolGrantResponse, af as CreateProjectMachinePoolGrantError, ag as CreateProjectModelGrantData, ah as CreateProjectModelGrantResponse, ai as CreateProjectModelGrantError, aj as CreateProjectData, ak as CreateProjectResponse, al as CreateProjectError, am as CreateSecretGrantData, an as CreateSecretGrantResponse, ao as CreateSecretGrantError, ap as CreateSecretData, aq as CreateSecretResponse, ar as CreateSecretError, as as CreateSecretVersionData, at as CreateSecretVersionResponse, au as CreateSecretVersionError, av as CreateSkillGrantData, aw as CreateSkillGrantResponse, ax as CreateSkillGrantError, ay as CreateSkillData, az as CreateSkillResponse, aA as CreateSkillError, aB as CreateSlackSetupData, aC as CreateSlackSetupResponse, aD as CreateSlackSetupError, aE as DeclineInvitationData, aF as DeclineInvitationResponse, aG as DeclineInvitationError, aH as DeleteAgentProfileData, aI as DeleteAgentProfileResponse, aJ as DeleteAgentProfileError, aK as DeleteConfiguredModelData, aL as DeleteConfiguredModelResponse, aM as DeleteConfiguredModelError, aN as DeleteCronTriggerData, aO as DeleteCronTriggerResponse, aP as DeleteCronTriggerError, aQ as DeleteCurrentUserData, aR as DeleteCurrentUserResponse, aS as DeleteCurrentUserError, aT as DeleteIntegrationInstallData, aU as DeleteIntegrationInstallResponse, aV as DeleteIntegrationInstallError, aW as DeleteMachineData, aX as DeleteMachineResponse, aY as DeleteMachineError, aZ as DeleteMachinePoolData, a_ as DeleteMachinePoolResponse, a$ as DeleteMachinePoolError, b0 as DeleteModelProviderConfigData, b1 as DeleteModelProviderConfigResponse, b2 as DeleteModelProviderConfigError, b3 as DeleteOrgInvitationData, b4 as DeleteOrgInvitationResponse, b5 as DeleteOrgInvitationError, b6 as DeleteOrganizationData, b7 as DeleteOrganizationResponse, b8 as DeleteOrganizationError, b9 as DeleteProjectMachineGrantData, ba as DeleteProjectMachineGrantResponse, bb as DeleteProjectMachineGrantError, bc as DeleteProjectMachinePoolGrantData, bd as DeleteProjectMachinePoolGrantResponse, be as DeleteProjectMachinePoolGrantError, bf as DeleteProjectModelGrantData, bg as DeleteProjectModelGrantResponse, bh as DeleteProjectModelGrantError, bi as DeleteProjectData, bj as DeleteProjectResponse, bk as DeleteProjectError, bl as DeleteSecretGrantData, bm as DeleteSecretGrantResponse, bn as DeleteSecretGrantError, bo as DeleteSecretData, bp as DeleteSecretResponse, bq as DeleteSecretError, br as DeleteSkillGrantData, bs as DeleteSkillGrantResponse, bt as DeleteSkillGrantError, bu as DeleteSkillData, bv as DeleteSkillResponse, bw as DeleteSkillError, bx as DemoteSteeringInputToQueuedData, by as DemoteSteeringInputToQueuedResponse, bz as DemoteSteeringInputToQueuedError, bA as EndMachineDaemonRuntimeData, bB as EndMachineDaemonRuntimeResponse, bC as EndMachineDaemonRuntimeError, bD as GetActorData, bE as Actor, bF as GetActorError, bG as GetAgentConfigData, bH as AgentConfig, bI as GetAgentConfigError, bJ as GetAgentData, bK as GetAgentResponse, bL as GetAgentError, bM as GetAgentProfileData, bN as AgentProfile, bO as GetAgentProfileError, bP as GetArtifactContentData, bQ as GetArtifactContentError, bR as GetArtifactData, bS as Artifact, bT as GetArtifactError, bU as GetCronTriggerData, bV as CronTrigger, bW as GetCronTriggerError, bX as GetCurrentUserData, bY as CurrentUser, bZ as GetCurrentUserError, b_ as GetDaemonSkillArchiveData, b$ as GetDaemonSkillArchiveError, c0 as GetMachineData, c1 as Machine, c2 as GetMachineError, c3 as GetMachinePoolData, c4 as MachinePool, c5 as GetMachinePoolError, c6 as GetModelCatalogData, c7 as ModelCatalog, c8 as GetModelCatalogError, c9 as GetModelProviderConfigData, ca as ModelProviderConfig, cb as GetModelProviderConfigError, cc as GetOrgApiKeyData, cd as OrgApiKey, ce as GetOrgApiKeyError, cf as GetOrgOverviewData, cg as OrgOverviewResponse, ch as GetOrgOverviewError, ci as GetProjectAvailableSecretData, cj as ProjectSecretAccess, ck as GetProjectAvailableSecretError, cl as GetProjectMachinePoolGrantData, cm as ProjectMachinePoolGrant, cn as GetProjectMachinePoolGrantError, co as GetSecretData, cp as Secret, cq as GetSecretError, cr as GetSkillData, cs as Skill, ct as GetSkillError, cu as GetToolCatalogData, cv as ToolCatalog, cw as GetToolCatalogError, cx as ListActorsData, cy as ListActorsResponse, cz as ListActorsError, cA as ListAgentInteractionsData, cB as ListAgentInteractionsResponse, cC as ListAgentInteractionsError, cD as ListAgentProfilesData, cE as ListAgentProfilesResponse, cF as ListAgentProfilesError, cG as ListAgentsData, cH as ListAgentsResponse, cI as ListAgentsError, cJ as ListByoMachineDaemonTokensData, cK as ListMachineDaemonTokensResponse, cL as ListByoMachineDaemonTokensError, cM as ListConfiguredModelsData, cN as ConfiguredModelList, cO as ListConfiguredModelsError, cP as ListCronTriggersData, cQ as ListCronTriggersResponse, cR as ListCronTriggersError, cS as ListEventsData, cT as ListAgentEventsResponse, cU as ListEventsError, cV as ListIntegrationInstallsData, cW as ListIntegrationInstallsResponse, cX as ListIntegrationInstallsError, cY as ListMachinePoolsData, cZ as ListMachinePoolsResponse, c_ as ListMachinePoolsError, c$ as ListMemberProjectAccessData, d0 as ListProjectMembershipGrantsResponse, d1 as ListMemberProjectAccessError, d2 as ListModelProviderConfigsData, d3 as ModelProviderConfigList, d4 as ListModelProviderConfigsError, d5 as ListOrgApiKeyProjectAccessData, d6 as ListOrgApiKeyProjectAccessError, d7 as ListOrgApiKeysData, d8 as ListOrgApiKeysResponse, d9 as ListOrgApiKeysError, da as ListOrgInvitationsData, db as ListOrgInvitationsResponse, dc as ListOrgInvitationsError, dd as ListOrgMembersData, de as ListOrgMembersResponse, df as ListOrgMembersError, dg as ListPendingInvitationsData, dh as ListPendingInvitationsError, di as ListPersonalAccessTokensData, dj as ListPersonalAccessTokensResponse, dk as ListPersonalAccessTokensError, dl as ListProjectAvailableSecretsData, dm as ListProjectSecretAccessesResponse, dn as ListProjectAvailableSecretsError, dp as ListProjectAvailableSkillsData, dq as ListProjectSkillAccessesResponse, dr as ListProjectAvailableSkillsError, ds as ListProjectMachineGrantsData, dt as ListProjectMachineGrantsResponse, du as ListProjectMachineGrantsError, dv as ListProjectMachinePoolGrantsData, dw as ListProjectMachinePoolGrantsResponse, dx as ListProjectMachinePoolGrantsError, dy as ListProjectModelGrantsData, dz as ListProjectModelGrantsResponse, dA as ListProjectModelGrantsError, dB as ListQueuedBacklogInputsData, dC as ListAgentInputsResponse, dD as ListQueuedBacklogInputsError, dE as ListSecretGrantsData, dF as ListSecretGrantsResponse, dG as ListSecretGrantsError, dH as ListSecretsData, dI as ListSecretsResponse, dJ as ListSecretsError, dK as ListSkillGrantsData, dL as ListSkillGrantsResponse, dM as ListSkillGrantsError, dN as ListSkillsData, dO as ListSkillsResponse, dP as ListSkillsError, dQ as ListToolCallsData, dR as ListToolCallsResponse, dS as ListToolCallsError, dT as ListTurnEventsData, dU as ListTurnEventsResponse, dV as ListTurnEventsError, dW as ListTurnsData, dX as ListAgentTurnsResponse, dY as ListTurnsError, dZ as ListVisibleMachinesData, d_ as ListVisibleMachinesResponse, d$ as ListVisibleMachinesError, e0 as ListVisibleProjectMachinesData, e1 as ListVisibleProjectMachinesError, e2 as ListVisibleProjectsData, e3 as ListProjectsResponse, e4 as ListVisibleProjectsError, e5 as MoveQueuedBacklogInputData, e6 as MoveQueuedBacklogInputResponse, e7 as MoveQueuedBacklogInputError, e8 as PromoteQueuedInputToSteeringData, e9 as PromoteQueuedInputToSteeringResponse, ea as PromoteQueuedInputToSteeringError, eb as PutActorData, ec as PutActorResponse, ed as PutActorError, ee as RecordMachineFailureData, ef as RecordMachineFailureResponse, eg as RecordMachineFailureError, eh as RegisterMachineDaemonRuntimeData, ei as RegisterMachineDaemonRuntimeResponse, ej as RegisterMachineDaemonRuntimeError, ek as RemoveMemberProjectAccessData, el as RemoveMemberProjectAccessResponse, em as RemoveMemberProjectAccessError, en as RemoveOrgApiKeyProjectRoleData, eo as RemoveOrgApiKeyProjectRoleResponse, ep as RemoveOrgApiKeyProjectRoleError, eq as RemoveOrgMemberData, er as RemoveOrgMemberResponse, es as RemoveOrgMemberError, et as RenameAgentProfileData, eu as RenameAgentProfileResponse, ev as RenameAgentProfileError, ew as ResolveAgentInteractionData, ex as ResolveAgentInteractionResponse, ey as ResolveAgentInteractionError, ez as RevokeMachineDaemonTokenData, eA as RevokeMachineDaemonTokenResponse, eB as RevokeMachineDaemonTokenError, eC as RevokeOrgApiKeyData, eD as RevokeOrgApiKeyResponse, eE as RevokeOrgApiKeyError, eF as RevokePersonalAccessTokenData, eG as RevokePersonalAccessTokenResponse, eH as RevokePersonalAccessTokenError, eI as SetMemberProjectAccessData, eJ as SetMemberProjectAccessResponse, eK as SetMemberProjectAccessError, eL as SetOrgApiKeyProjectRoleData, eM as SetOrgApiKeyProjectRoleResponse, eN as SetOrgApiKeyProjectRoleError, eO as SleepMachineDaemonRuntimeData, eP as SleepMachineDaemonRuntimeResponse, eQ as SleepMachineDaemonRuntimeError, eR as SocketMachineDaemonRuntimeData, eS as SocketMachineDaemonRuntimeError, eT as StartSecretMcpoAuthData, eU as StartSecretMcpoAuthResponse, eV as StartSecretMcpoAuthError, eW as SubmitToolCallResultData, eX as SubmitToolCallResultResponse2, eY as SubmitToolCallResultError, eZ as UpdateAgentConfigData, e_ as UpdateAgentConfigResponse2, e$ as UpdateAgentConfigError, f0 as UpdateAgentProfileData, f1 as UpdateAgentProfileResponse, f2 as UpdateAgentProfileError, f3 as UpdateConfiguredModelData, f4 as UpdateConfiguredModelResponse, f5 as UpdateConfiguredModelError, f6 as UpdateCronTriggerData, f7 as UpdateCronTriggerResponse, f8 as UpdateCronTriggerError, f9 as UpdateMachineData, fa as UpdateMachineResponse, fb as UpdateMachineError, fc as UpdateMachinePoolData, fd as UpdateMachinePoolResponse, fe as UpdateMachinePoolError, ff as UpdateModelProviderConfigData, fg as UpdateModelProviderConfigResponse, fh as UpdateModelProviderConfigError, fi as UpdateOrgApiKeyData, fj as UpdateOrgApiKeyResponse, fk as UpdateOrgApiKeyError, fl as UpdateOrgMemberData, fm as UpdateOrgMemberResponse, fn as UpdateOrgMemberError, fo as UpdateProjectMachinePoolGrantData, fp as UpdateProjectMachinePoolGrantResponse, fq as UpdateProjectMachinePoolGrantError, fr as UpdateProjectModelGrantData, fs as UpdateProjectModelGrantResponse, ft as UpdateProjectModelGrantError, fu as UpdateSecretData, fv as UpdateSecretResponse, fw as UpdateSecretError } from './sdk.gen-ZBFBMn0v.js';
|
|
4
4
|
|
|
5
5
|
type QueryKey<TOptions extends Options> = [
|
|
6
6
|
Pick<TOptions, 'baseUrl' | 'body' | 'headers' | 'path' | 'query'> & {
|
|
@@ -85,10 +85,10 @@ declare const recordMachineFailureMutation: (options?: Partial<Options<RecordMac
|
|
|
85
85
|
* Create organization
|
|
86
86
|
*
|
|
87
87
|
* Creates the organization and its local default resources atomically.
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
88
|
+
* An idempotency key determines the proposed organization ID; replaying it
|
|
89
|
+
* returns the existing organization. Without a key, each request is a fresh
|
|
90
|
+
* attempt. Optional default-provider provisioning begins after commit and
|
|
91
|
+
* retries asynchronously without failing organization creation.
|
|
92
92
|
*
|
|
93
93
|
*/
|
|
94
94
|
declare const createOrganizationMutation: (options?: Partial<Options<CreateOrganizationData>>) => UseMutationOptions<CreateOrganizationResponse2, CreateOrganizationError, Options<CreateOrganizationData>>;
|
|
@@ -2545,7 +2545,7 @@ declare const getMachinePoolOptions: (options: Options<GetMachinePoolData>) => _
|
|
|
2545
2545
|
/**
|
|
2546
2546
|
* Update machine pool
|
|
2547
2547
|
*
|
|
2548
|
-
* Tenant-managed pools support every request field. Cluster-managed pools only allow changes to default CPU and memory, environment and secret environment variables,
|
|
2548
|
+
* Tenant-managed pools support every request field. Cluster-managed pools only allow changes to default CPU and memory, environment and secret environment variables, provider-supported per-machine CPU and memory limits, and the idle deletion policy. Other cluster-managed changes are rejected with 409 Conflict.
|
|
2549
2549
|
*/
|
|
2550
2550
|
declare const updateMachinePoolMutation: (options?: Partial<Options<UpdateMachinePoolData>>) => UseMutationOptions<UpdateMachinePoolResponse, UpdateMachinePoolError, Options<UpdateMachinePoolData>>;
|
|
2551
2551
|
declare const listProjectMachinePoolGrantsQueryKey: (options: Options<ListProjectMachinePoolGrantsData>) => [Pick<Options<ListProjectMachinePoolGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
package/dist/tanstack.js
CHANGED
|
@@ -137,8 +137,8 @@ import {
|
|
|
137
137
|
updateProjectMachinePoolGrant,
|
|
138
138
|
updateProjectModelGrant,
|
|
139
139
|
updateSecret
|
|
140
|
-
} from "./chunk-
|
|
141
|
-
import "./chunk-
|
|
140
|
+
} from "./chunk-UZA6TQOU.js";
|
|
141
|
+
import "./chunk-OEMZZYRM.js";
|
|
142
142
|
import "./chunk-PZ5AY32C.js";
|
|
143
143
|
|
|
144
144
|
// src/generated/@tanstack/react-query.gen.ts
|