@omnara/sdk 0.1.7 → 0.1.9

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.
@@ -0,0 +1,60 @@
1
+ import {
2
+ relaxedSchema
3
+ } from "./chunk-6ZFYUHM3.js";
4
+ import {
5
+ zError
6
+ } from "./chunk-6NNNQM73.js";
7
+
8
+ // src/json-body.ts
9
+ import * as z from "zod";
10
+ var zJsonBody = z.json();
11
+ var zJsonText = z.string().transform((text, ctx) => {
12
+ try {
13
+ const value = JSON.parse(text);
14
+ return value;
15
+ } catch (error) {
16
+ ctx.addIssue({ code: "custom", message: String(error), input: text, params: { cause: error } });
17
+ return z.NEVER;
18
+ }
19
+ });
20
+
21
+ // src/errors.ts
22
+ import * as z2 from "zod";
23
+ var zErrorBody = zJsonText.pipe(zJsonBody);
24
+ var zErrorResponse = relaxedSchema(
25
+ zError.partial({ code: true }).extend({ error_description: z2.string().optional() })
26
+ );
27
+ function issuesFromBody(body) {
28
+ const parsed = zErrorResponse.safeParse(body);
29
+ return parsed.success ? parsed.data.issues ?? [] : [];
30
+ }
31
+ var ApiError = class _ApiError extends Error {
32
+ status;
33
+ code;
34
+ body;
35
+ issues;
36
+ constructor(status, message, code, body) {
37
+ super(message);
38
+ this.name = "ApiError";
39
+ this.status = status;
40
+ this.code = code;
41
+ this.body = body;
42
+ this.issues = issuesFromBody(body);
43
+ }
44
+ static async fromResponse(response) {
45
+ const body = zErrorBody.safeParse(await response.clone().text());
46
+ return _ApiError.fromBody(response.status, body.success ? body.data : void 0);
47
+ }
48
+ static fromBody(status, body) {
49
+ const parsed = zErrorResponse.safeParse(body);
50
+ const message = parsed.data?.error_description ?? parsed.data?.error ?? `request failed with status ${status}`;
51
+ return new _ApiError(status, message, parsed.data?.code, body);
52
+ }
53
+ };
54
+
55
+ export {
56
+ zJsonText,
57
+ zErrorResponse,
58
+ ApiError
59
+ };
60
+ //# sourceMappingURL=chunk-UD4ZHHMO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/json-body.ts","../src/errors.ts"],"sourcesContent":["import * as z from 'zod'\n\nexport const zJsonBody = z.json()\n\nexport type JsonBody = z.infer<typeof zJsonBody>\n\nexport const zJsonText = z.string().transform((text, ctx) => {\n try {\n const value: unknown = JSON.parse(text)\n return value\n } catch (error) {\n ctx.addIssue({ code: 'custom', message: String(error), input: text, params: { cause: error } })\n return z.NEVER\n }\n})\n","import * as z from 'zod'\n\nimport type { AgentConfigErrorIssue, Error as ApiErrorBody } from './generated/types.gen'\nimport { zError } from './generated/zod.gen'\nimport { type JsonBody, zJsonBody, zJsonText } from './json-body'\nimport { relaxedSchema } from './validate-response'\n\nexport type ApiErrorCode = ApiErrorBody['code']\n\nconst zErrorBody = zJsonText.pipe(zJsonBody)\n\nexport const zErrorResponse = relaxedSchema(\n zError.partial({ code: true }).extend({ error_description: z.string().optional() }),\n)\n\nfunction issuesFromBody(body: JsonBody | undefined): AgentConfigErrorIssue[] {\n const parsed = zErrorResponse.safeParse(body)\n return parsed.success ? (parsed.data.issues ?? []) : []\n}\n\nexport class ApiError extends Error {\n readonly status: number\n readonly code: ApiErrorCode | undefined\n readonly body: JsonBody | undefined\n readonly issues: AgentConfigErrorIssue[]\n\n constructor(status: number, message: string, code?: ApiErrorCode, body?: JsonBody) {\n super(message)\n this.name = 'ApiError'\n this.status = status\n this.code = code\n this.body = body\n this.issues = issuesFromBody(body)\n }\n\n static async fromResponse(response: Response): Promise<ApiError> {\n const body = zErrorBody.safeParse(await response.clone().text())\n return ApiError.fromBody(response.status, body.success ? body.data : undefined)\n }\n\n static fromBody(status: number, body: JsonBody | undefined): ApiError {\n const parsed = zErrorResponse.safeParse(body)\n const message =\n parsed.data?.error_description ?? parsed.data?.error ?? `request failed with status ${status}`\n return new ApiError(status, message, parsed.data?.code, body)\n }\n}\n"],"mappings":";;;;;;;;AAAA,YAAY,OAAO;AAEZ,IAAM,YAAc,OAAK;AAIzB,IAAM,YAAc,SAAO,EAAE,UAAU,CAAC,MAAM,QAAQ;AAC3D,MAAI;AACF,UAAM,QAAiB,KAAK,MAAM,IAAI;AACtC,WAAO;AAAA,EACT,SAAS,OAAO;AACd,QAAI,SAAS,EAAE,MAAM,UAAU,SAAS,OAAO,KAAK,GAAG,OAAO,MAAM,QAAQ,EAAE,OAAO,MAAM,EAAE,CAAC;AAC9F,WAAS;AAAA,EACX;AACF,CAAC;;;ACdD,YAAYA,QAAO;AASnB,IAAM,aAAa,UAAU,KAAK,SAAS;AAEpC,IAAM,iBAAiB;AAAA,EAC5B,OAAO,QAAQ,EAAE,MAAM,KAAK,CAAC,EAAE,OAAO,EAAE,mBAAqB,UAAO,EAAE,SAAS,EAAE,CAAC;AACpF;AAEA,SAAS,eAAe,MAAqD;AAC3E,QAAM,SAAS,eAAe,UAAU,IAAI;AAC5C,SAAO,OAAO,UAAW,OAAO,KAAK,UAAU,CAAC,IAAK,CAAC;AACxD;AAEO,IAAM,WAAN,MAAM,kBAAiB,MAAM;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAET,YAAY,QAAgB,SAAiB,MAAqB,MAAiB;AACjF,UAAM,OAAO;AACb,SAAK,OAAO;AACZ,SAAK,SAAS;AACd,SAAK,OAAO;AACZ,SAAK,OAAO;AACZ,SAAK,SAAS,eAAe,IAAI;AAAA,EACnC;AAAA,EAEA,aAAa,aAAa,UAAuC;AAC/D,UAAM,OAAO,WAAW,UAAU,MAAM,SAAS,MAAM,EAAE,KAAK,CAAC;AAC/D,WAAO,UAAS,SAAS,SAAS,QAAQ,KAAK,UAAU,KAAK,OAAO,MAAS;AAAA,EAChF;AAAA,EAEA,OAAO,SAAS,QAAgB,MAAsC;AACpE,UAAM,SAAS,eAAe,UAAU,IAAI;AAC5C,UAAM,UACJ,OAAO,MAAM,qBAAqB,OAAO,MAAM,SAAS,8BAA8B,MAAM;AAC9F,WAAO,IAAI,UAAS,QAAQ,SAAS,OAAO,MAAM,MAAM,IAAI;AAAA,EAC9D;AACF;","names":["z"]}
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { A as AuthStrategy } from './auth-CnOxLjlL.js';
2
- export { b as bearerToken } from './auth-CnOxLjlL.js';
3
- import { fL as Config, fM as Client, fN as StreamEventsData, fO as AgentEventStreamData, fP as PersonalAccessToken, fQ as Error$1, fR as AgentConfigErrorIssue } from './sdk.gen-qOnMVktp.js';
4
- export { A as AcceptInvitationData, b as AcceptInvitationError, fS as AcceptInvitationErrors, a as AcceptInvitationResponse, fT as AcceptInvitationResponses, bG as Actor, fU as ActorId, fV as ActorProvider, fW as Agent, bJ as AgentConfig, fX as AgentConfigId, fY as AgentConfigModel, fZ as AgentControlType, f_ as AgentCount, f$ as AgentCronTriggerTarget, g0 as AgentEvent, g1 as AgentEventId, g2 as AgentId, g3 as AgentInput, g4 as AgentInputContentBlock, g5 as AgentInputDeliveryMode, g6 as AgentInputEnvelope, g7 as AgentInputEvent, g8 as AgentInputId, g9 as AgentInputKind, ga as AgentInteraction, gb as AgentInteractionId, gc as AgentInteractionKind, gd as AgentInteractionState, ge as AgentMachineBinding, gf as AgentMachineBindingId, gg as AgentMachineBindingKind, gh as AgentMachineBindingState, gi as AgentMcpConnection, gj as AgentModel, gk as AgentName, bP as AgentProfile, gl as AgentProfileCronTriggerTarget, gm as AgentProfileId, gn as AgentSequence, go as AgentSequenceCursor, gp as AgentTurn, gq as AgentTurnId, c as ArchiveAgentData, e as ArchiveAgentError, gr as ArchiveAgentErrors, d as ArchiveAgentResponse, gs as ArchiveAgentResponses, bU as Artifact, gt as ArtifactId, gu as AwsCredentialsSecretMaterial, B as BootstrapDaemonData, g as BootstrapDaemonError, gv as BootstrapDaemonErrors, gw as BootstrapDaemonResponse, f as BootstrapDaemonResponse2, gx as BootstrapDaemonResponses, C as CancelAgentData, i as CancelAgentError, gy as CancelAgentErrors, gz as CancelAgentRequest, gA as CancelAgentResponse, h as CancelAgentResponse2, gB as CancelAgentResponses, j as CancelQueuedBacklogInputData, l as CancelQueuedBacklogInputError, gC as CancelQueuedBacklogInputErrors, k as CancelQueuedBacklogInputResponse, gD as CancelQueuedBacklogInputResponses, gE as ClientErrorCode, gF as ClientOptions, gG as ConfiguredModel, gH as ConfiguredModelId, cP as ConfiguredModelList, gI as ConfiguredModelRevisionId, gJ as ConfiguredModelSummary, m as ConnectByoMachineData, o as ConnectByoMachineError, gK as ConnectByoMachineErrors, gL as ConnectByoMachineRequest, gM as ConnectByoMachineResponse, n as ConnectByoMachineResponse2, gN as ConnectByoMachineResponses, gO as ContentBlockMetadata, gP as ContextCheckpointEvent, gQ as ContextCheckpointId, p as CreateAgentConfigData, r as CreateAgentConfigError, gR as CreateAgentConfigErrors, gS as CreateAgentConfigRequest, q as CreateAgentConfigResponse, gT as CreateAgentConfigResponses, v as CreateAgentData, x as CreateAgentError, gU as CreateAgentErrors, gV as CreateAgentInputContentBlock, s as CreateAgentInputData, gW as CreateAgentInputDeliveryMode, u as CreateAgentInputError, gX as CreateAgentInputErrors, gY as CreateAgentInputRequest, t as CreateAgentInputResponse, gZ as CreateAgentInputResponses, y as CreateAgentProfileData, D as CreateAgentProfileError, g_ as CreateAgentProfileErrors, g$ as CreateAgentProfileRequest, z as CreateAgentProfileResponse, h0 as CreateAgentProfileResponses, h1 as CreateAgentRequest, w as CreateAgentResponse, h2 as CreateAgentResponses, E as CreateByoMachineDaemonTokenData, G as CreateByoMachineDaemonTokenError, h3 as CreateByoMachineDaemonTokenErrors, F as CreateByoMachineDaemonTokenResponse, h4 as CreateByoMachineDaemonTokenResponses, H as CreateConfiguredModelData, J as CreateConfiguredModelError, h5 as CreateConfiguredModelErrors, h6 as CreateConfiguredModelRequest, I as CreateConfiguredModelResponse, h7 as CreateConfiguredModelResponses, K as CreateCronTriggerData, M as CreateCronTriggerError, h8 as CreateCronTriggerErrors, h9 as CreateCronTriggerRequest, L as CreateCronTriggerResponse, ha as CreateCronTriggerResponses, N as CreateIntegrationOAuthSetupData, Q as CreateIntegrationOAuthSetupError, hb as CreateIntegrationOAuthSetupErrors, hc as CreateIntegrationOAuthSetupRequest, P as CreateIntegrationOAuthSetupResponse, hd as CreateIntegrationOAuthSetupResponses, he as CreateMachineDaemonTokenRequest, hf as CreateMachineDaemonTokenResponse, R as CreateMachineData, T as CreateMachineError, hg as CreateMachineErrors, U as CreateMachinePoolData, W as CreateMachinePoolError, hh as CreateMachinePoolErrors, hi as CreateMachinePoolRequest, hj as CreateMachinePoolRequestBase, V as CreateMachinePoolResponse, hk as CreateMachinePoolResponses, hl as CreateMachineRequest, S as CreateMachineResponse, hm as CreateMachineResponses, X as CreateModelProviderConfigData, Z as CreateModelProviderConfigError, hn as CreateModelProviderConfigErrors, ho as CreateModelProviderConfigRequest, hp as CreateModelProviderConfigResponse, Y as CreateModelProviderConfigResponse2, hq as CreateModelProviderConfigResponses, _ as CreateOrgApiKeyData, a0 as CreateOrgApiKeyError, hr as CreateOrgApiKeyErrors, hs as CreateOrgApiKeyRequest, ht as CreateOrgApiKeyResponse, $ as CreateOrgApiKeyResponse2, hu as CreateOrgApiKeyResponses, a1 as CreateOrgInvitationData, a3 as CreateOrgInvitationError, hv as CreateOrgInvitationErrors, hw as CreateOrgInvitationRequest, a2 as CreateOrgInvitationResponse, hx as CreateOrgInvitationResponses, a4 as CreateOrganizationData, a6 as CreateOrganizationError, hy as CreateOrganizationErrors, hz as CreateOrganizationRequest, hA as CreateOrganizationResponse, a5 as CreateOrganizationResponse2, hB as CreateOrganizationResponses, a7 as CreatePersonalAccessTokenData, a9 as CreatePersonalAccessTokenError, hC as CreatePersonalAccessTokenErrors, hD as CreatePersonalAccessTokenRequest, hE as CreatePersonalAccessTokenResponse, a8 as CreatePersonalAccessTokenResponse2, hF as CreatePersonalAccessTokenResponses, aj as CreateProjectData, al as CreateProjectError, hG as CreateProjectErrors, aa as CreateProjectMachineGrantData, ac as CreateProjectMachineGrantError, hH as CreateProjectMachineGrantErrors, hI as CreateProjectMachineGrantRequest, hJ as CreateProjectMachineGrantResponse, ab as CreateProjectMachineGrantResponse2, hK as CreateProjectMachineGrantResponses, ad as CreateProjectMachinePoolGrantData, af as CreateProjectMachinePoolGrantError, hL as CreateProjectMachinePoolGrantErrors, hM as CreateProjectMachinePoolGrantRequest, ae as CreateProjectMachinePoolGrantResponse, hN as CreateProjectMachinePoolGrantResponses, ag as CreateProjectModelGrantData, ai as CreateProjectModelGrantError, hO as CreateProjectModelGrantErrors, hP as CreateProjectModelGrantRequest, ah as CreateProjectModelGrantResponse, hQ as CreateProjectModelGrantResponses, hR as CreateProjectRequest, ak as CreateProjectResponse, hS as CreateProjectResponses, ap as CreateSecretData, ar as CreateSecretError, hT as CreateSecretErrors, am as CreateSecretGrantData, ao as CreateSecretGrantError, hU as CreateSecretGrantErrors, an as CreateSecretGrantResponse, hV as CreateSecretGrantResponses, hW as CreateSecretRequest, aq as CreateSecretResponse, hX as CreateSecretResponses, as as CreateSecretVersionData, au as CreateSecretVersionError, hY as CreateSecretVersionErrors, at as CreateSecretVersionResponse, hZ as CreateSecretVersionResponses, ay as CreateSkillData, aA as CreateSkillError, h_ as CreateSkillErrors, av as CreateSkillGrantData, ax as CreateSkillGrantError, h$ as CreateSkillGrantErrors, aw as CreateSkillGrantResponse, i0 as CreateSkillGrantResponses, i1 as CreateSkillRequest, az as CreateSkillResponse, i2 as CreateSkillResponses, aB as CreateSlackSetupData, aD as CreateSlackSetupError, i3 as CreateSlackSetupErrors, i4 as CreateSlackSetupRequest, aC as CreateSlackSetupResponse, i5 as CreateSlackSetupResponses, i6 as CreatedResourceListSort, i7 as CronExpression, i8 as CronMessageTemplate, i9 as CronTimezone, bX as CronTrigger, ia as CronTriggerFailureReport, ib as CronTriggerId, ic as CronTriggerTarget, id as CurrentAgentResponse, b_ as CurrentUser, ie as CurrentUserIdentity, ig as CurrentUserOrg, ih as DaemonRuntime, ii as DaemonRuntimeId, ij as DaemonRuntimeReconciliation, ik as DaemonRuntimeState, aE as DeclineInvitationData, aG as DeclineInvitationError, il as DeclineInvitationErrors, aF as DeclineInvitationResponse, im as DeclineInvitationResponses, aH as DeleteAgentProfileData, aJ as DeleteAgentProfileError, io as DeleteAgentProfileErrors, aI as DeleteAgentProfileResponse, ip as DeleteAgentProfileResponses, aK as DeleteConfiguredModelData, aM as DeleteConfiguredModelError, iq as DeleteConfiguredModelErrors, aL as DeleteConfiguredModelResponse, ir as DeleteConfiguredModelResponses, aN as DeleteCronTriggerData, aP as DeleteCronTriggerError, is as DeleteCronTriggerErrors, aO as DeleteCronTriggerResponse, it as DeleteCronTriggerResponses, aQ as DeleteCurrentUserData, aS as DeleteCurrentUserError, iu as DeleteCurrentUserErrors, aR as DeleteCurrentUserResponse, iv as DeleteCurrentUserResponses, aT as DeleteIntegrationInstallData, aV as DeleteIntegrationInstallError, iw as DeleteIntegrationInstallErrors, aU as DeleteIntegrationInstallResponse, ix as DeleteIntegrationInstallResponses, aW as DeleteMachineData, aY as DeleteMachineError, iy as DeleteMachineErrors, aZ as DeleteMachinePoolData, a$ as DeleteMachinePoolError, iz as DeleteMachinePoolErrors, a_ as DeleteMachinePoolResponse, iA as DeleteMachinePoolResponses, aX as DeleteMachineResponse, iB as DeleteMachineResponses, b0 as DeleteModelProviderConfigData, b2 as DeleteModelProviderConfigError, iC as DeleteModelProviderConfigErrors, b1 as DeleteModelProviderConfigResponse, iD as DeleteModelProviderConfigResponses, b3 as DeleteOrgInvitationData, b5 as DeleteOrgInvitationError, iE as DeleteOrgInvitationErrors, b4 as DeleteOrgInvitationResponse, iF as DeleteOrgInvitationResponses, b6 as DeleteOrganizationData, b8 as DeleteOrganizationError, iG as DeleteOrganizationErrors, b7 as DeleteOrganizationResponse, iH as DeleteOrganizationResponses, bi as DeleteProjectData, bk as DeleteProjectError, iI as DeleteProjectErrors, b9 as DeleteProjectMachineGrantData, bb as DeleteProjectMachineGrantError, iJ as DeleteProjectMachineGrantErrors, ba as DeleteProjectMachineGrantResponse, iK as DeleteProjectMachineGrantResponses, bc as DeleteProjectMachinePoolGrantData, be as DeleteProjectMachinePoolGrantError, iL as DeleteProjectMachinePoolGrantErrors, bd as DeleteProjectMachinePoolGrantResponse, iM as DeleteProjectMachinePoolGrantResponses, bf as DeleteProjectModelGrantData, bh as DeleteProjectModelGrantError, iN as DeleteProjectModelGrantErrors, bg as DeleteProjectModelGrantResponse, iO as DeleteProjectModelGrantResponses, bj as DeleteProjectResponse, iP as DeleteProjectResponses, bo as DeleteSecretData, bq as DeleteSecretError, iQ as DeleteSecretErrors, bl as DeleteSecretGrantData, bn as DeleteSecretGrantError, iR as DeleteSecretGrantErrors, bm as DeleteSecretGrantResponse, iS as DeleteSecretGrantResponses, bp as DeleteSecretResponse, iT as DeleteSecretResponses, bu as DeleteSkillData, bw as DeleteSkillError, iU as DeleteSkillErrors, br as DeleteSkillGrantData, bt as DeleteSkillGrantError, iV as DeleteSkillGrantErrors, bs as DeleteSkillGrantResponse, iW as DeleteSkillGrantResponses, bv as DeleteSkillResponse, iX as DeleteSkillResponses, bx as DemoteSteeringInputToQueuedData, bz as DemoteSteeringInputToQueuedError, iY as DemoteSteeringInputToQueuedErrors, by as DemoteSteeringInputToQueuedResponse, iZ as DemoteSteeringInputToQueuedResponses, i_ as DirectSecretAvailability, i$ as DirectSkillAvailability, j0 as DiscoveredProviderModel, bA as DownloadDaemonArtifactData, bB as DownloadDaemonArtifactError, j1 as DownloadDaemonArtifactErrors, j2 as DownloadDaemonArtifactResponse, j3 as DownloadDaemonArtifactResponses, bC as EndMachineDaemonRuntimeData, bE as EndMachineDaemonRuntimeError, j4 as EndMachineDaemonRuntimeErrors, bD as EndMachineDaemonRuntimeResponse, j5 as EndMachineDaemonRuntimeResponses, j6 as ErrorContentBlock, j7 as ExternalActorParams, j8 as GenericSecretMaterial, bF as GetActorData, bH as GetActorError, j9 as GetActorErrors, ja as GetActorResponse, jb as GetActorResponses, bI as GetAgentConfigData, bK as GetAgentConfigError, jc as GetAgentConfigErrors, jd as GetAgentConfigResponse, je as GetAgentConfigResponses, bL as GetAgentData, bN as GetAgentError, jf as GetAgentErrors, bO as GetAgentProfileData, bQ as GetAgentProfileError, jg as GetAgentProfileErrors, jh as GetAgentProfileResponse, ji as GetAgentProfileResponses, bM as GetAgentResponse, jj as GetAgentResponse2, jk as GetAgentResponses, bR as GetArtifactContentData, bS as GetArtifactContentError, jl as GetArtifactContentErrors, jm as GetArtifactContentResponse, jn as GetArtifactContentResponses, bT as GetArtifactData, bV as GetArtifactError, jo as GetArtifactErrors, jp as GetArtifactResponse, jq as GetArtifactResponses, bW as GetCronTriggerData, bY as GetCronTriggerError, jr as GetCronTriggerErrors, js as GetCronTriggerResponse, jt as GetCronTriggerResponses, bZ as GetCurrentUserData, b$ as GetCurrentUserError, ju as GetCurrentUserErrors, jv as GetCurrentUserResponse, jw as GetCurrentUserResponses, c0 as GetDaemonSkillArchiveData, c1 as GetDaemonSkillArchiveError, jx as GetDaemonSkillArchiveErrors, jy as GetDaemonSkillArchiveResponse, jz as GetDaemonSkillArchiveResponses, c2 as GetMachineData, c4 as GetMachineError, jA as GetMachineErrors, c5 as GetMachinePoolData, c7 as GetMachinePoolError, jB as GetMachinePoolErrors, jC as GetMachinePoolResponse, jD as GetMachinePoolResponses, jE as GetMachineResponse, jF as GetMachineResponses, c8 as GetModelCatalogData, ca as GetModelCatalogError, jG as GetModelCatalogErrors, jH as GetModelCatalogResponse, jI as GetModelCatalogResponses, cb as GetModelProviderConfigData, cd as GetModelProviderConfigError, jJ as GetModelProviderConfigErrors, jK as GetModelProviderConfigResponse, jL as GetModelProviderConfigResponses, ce as GetOrgApiKeyData, cg as GetOrgApiKeyError, jM as GetOrgApiKeyErrors, jN as GetOrgApiKeyResponse, jO as GetOrgApiKeyResponses, ch as GetOrgOverviewData, cj as GetOrgOverviewError, jP as GetOrgOverviewErrors, jQ as GetOrgOverviewResponse, jR as GetOrgOverviewResponses, ck as GetProjectAvailableSecretData, cm as GetProjectAvailableSecretError, jS as GetProjectAvailableSecretErrors, jT as GetProjectAvailableSecretResponse, jU as GetProjectAvailableSecretResponses, cn as GetProjectMachinePoolGrantData, cp as GetProjectMachinePoolGrantError, jV as GetProjectMachinePoolGrantErrors, jW as GetProjectMachinePoolGrantResponse, jX as GetProjectMachinePoolGrantResponses, cq as GetSecretData, cs as GetSecretError, jY as GetSecretErrors, jZ as GetSecretResponse, j_ as GetSecretResponses, ct as GetSkillData, cv as GetSkillError, j$ as GetSkillErrors, k0 as GetSkillResponse, k1 as GetSkillResponses, cw as GetToolCatalogData, cy as GetToolCatalogError, k2 as GetToolCatalogErrors, k3 as GetToolCatalogResponse, k4 as GetToolCatalogResponses, k5 as GrantedSecretAvailability, k6 as GrantedSkillAvailability, k7 as IdempotencyKey, k8 as InlineMediaContentBlock, k9 as InstallationId, ka as IntegrationInstall, kb as IntegrationInstallAgentProfileFilter, kc as IntegrationInstallId, kd as IntegrationInstallOAuthFlowIdFilter, ke as IntegrationOAuthFlowId, kf as IntegrationOAuthSetup, kg as IntegrationTarget, kh as InteractionAnswer, ki as InteractionForm, kj as InteractionFormContextItem, kk as InteractionFormOption, kl as InteractionFormQuestion, km as InteractionResolution, kn as JsonBlob, ko as LaunchAgentResponse, cz as ListActorsData, cB as ListActorsError, kp as ListActorsErrors, cA as ListActorsResponse, kq as ListActorsResponse2, kr as ListActorsResponses, cV as ListAgentEventsResponse, dK as ListAgentInputsResponse, cC as ListAgentInteractionsData, cE as ListAgentInteractionsError, ks as ListAgentInteractionsErrors, cD as ListAgentInteractionsResponse, kt as ListAgentInteractionsResponse2, ku as ListAgentInteractionsResponses, cF as ListAgentProfilesData, cH as ListAgentProfilesError, kv as ListAgentProfilesErrors, cG as ListAgentProfilesResponse, kw as ListAgentProfilesResponse2, kx as ListAgentProfilesResponses, e3 as ListAgentTurnsResponse, cI as ListAgentsData, cK as ListAgentsError, ky as ListAgentsErrors, cJ as ListAgentsResponse, kz as ListAgentsResponse2, kA as ListAgentsResponses, cL as ListByoMachineDaemonTokensData, cN as ListByoMachineDaemonTokensError, kB as ListByoMachineDaemonTokensErrors, kC as ListByoMachineDaemonTokensResponse, kD as ListByoMachineDaemonTokensResponses, cO as ListConfiguredModelsData, cQ as ListConfiguredModelsError, kE as ListConfiguredModelsErrors, kF as ListConfiguredModelsResponse, kG as ListConfiguredModelsResponses, cR as ListCronTriggersData, cT as ListCronTriggersError, kH as ListCronTriggersErrors, cS as ListCronTriggersResponse, kI as ListCronTriggersResponse2, kJ as ListCronTriggersResponses, cU as ListEventsData, cW as ListEventsError, kK as ListEventsErrors, kL as ListEventsResponse, kM as ListEventsResponses, cX as ListIntegrationInstallsData, cZ as ListIntegrationInstallsError, kN as ListIntegrationInstallsErrors, cY as ListIntegrationInstallsResponse, kO as ListIntegrationInstallsResponse2, kP as ListIntegrationInstallsResponses, cM as ListMachineDaemonTokensResponse, c_ as ListMachinePoolsData, d0 as ListMachinePoolsError, kQ as ListMachinePoolsErrors, c$ as ListMachinePoolsResponse, kR as ListMachinePoolsResponse2, kS as ListMachinePoolsResponses, d1 as ListMcpServerToolsData, d3 as ListMcpServerToolsError, kT as ListMcpServerToolsErrors, d2 as ListMcpServerToolsResponse, kU as ListMcpServerToolsResponses, d4 as ListMcpServersData, d6 as ListMcpServersError, kV as ListMcpServersErrors, d5 as ListMcpServersResponse, kW as ListMcpServersResponse2, kX as ListMcpServersResponses, d7 as ListMemberProjectAccessData, d9 as ListMemberProjectAccessError, kY as ListMemberProjectAccessErrors, kZ as ListMemberProjectAccessResponse, k_ as ListMemberProjectAccessResponses, da as ListModelProviderConfigsData, dc as ListModelProviderConfigsError, k$ as ListModelProviderConfigsErrors, l0 as ListModelProviderConfigsResponse, l1 as ListModelProviderConfigsResponses, dd as ListOrgApiKeyProjectAccessData, de as ListOrgApiKeyProjectAccessError, l2 as ListOrgApiKeyProjectAccessErrors, l3 as ListOrgApiKeyProjectAccessResponse, l4 as ListOrgApiKeyProjectAccessResponses, df as ListOrgApiKeysData, dh as ListOrgApiKeysError, l5 as ListOrgApiKeysErrors, dg as ListOrgApiKeysResponse, l6 as ListOrgApiKeysResponse2, l7 as ListOrgApiKeysResponses, di as ListOrgInvitationsData, dk as ListOrgInvitationsError, l8 as ListOrgInvitationsErrors, dj as ListOrgInvitationsResponse, l9 as ListOrgInvitationsResponse2, la as ListOrgInvitationsResponses, dl as ListOrgMembersData, dn as ListOrgMembersError, lb as ListOrgMembersErrors, dm as ListOrgMembersResponse, lc as ListOrgMembersResponse2, ld as ListOrgMembersResponses, dp as ListPendingInvitationsData, dq as ListPendingInvitationsError, le as ListPendingInvitationsErrors, lf as ListPendingInvitationsResponse, lg as ListPendingInvitationsResponses, dr as ListPersonalAccessTokensData, dt as ListPersonalAccessTokensError, lh as ListPersonalAccessTokensErrors, ds as ListPersonalAccessTokensResponse, li as ListPersonalAccessTokensResponse2, lj as ListPersonalAccessTokensResponses, du as ListProjectAvailableSecretsData, dw as ListProjectAvailableSecretsError, lk as ListProjectAvailableSecretsErrors, ll as ListProjectAvailableSecretsResponse, lm as ListProjectAvailableSecretsResponses, dx as ListProjectAvailableSkillsData, dz as ListProjectAvailableSkillsError, ln as ListProjectAvailableSkillsErrors, lo as ListProjectAvailableSkillsResponse, lp as ListProjectAvailableSkillsResponses, dA as ListProjectMachineGrantsData, dC as ListProjectMachineGrantsError, lq as ListProjectMachineGrantsErrors, dB as ListProjectMachineGrantsResponse, lr as ListProjectMachineGrantsResponse2, ls as ListProjectMachineGrantsResponses, dD as ListProjectMachinePoolGrantsData, dF as ListProjectMachinePoolGrantsError, lt as ListProjectMachinePoolGrantsErrors, dE as ListProjectMachinePoolGrantsResponse, lu as ListProjectMachinePoolGrantsResponse2, lv as ListProjectMachinePoolGrantsResponses, d8 as ListProjectMembershipGrantsResponse, dG as ListProjectModelGrantsData, dI as ListProjectModelGrantsError, lw as ListProjectModelGrantsErrors, dH as ListProjectModelGrantsResponse, lx as ListProjectModelGrantsResponse2, ly as ListProjectModelGrantsResponses, dv as ListProjectSecretAccessesResponse, dy as ListProjectSkillAccessesResponse, eb as ListProjectsResponse, dJ as ListQueuedBacklogInputsData, dL as ListQueuedBacklogInputsError, lz as ListQueuedBacklogInputsErrors, lA as ListQueuedBacklogInputsResponse, lB as ListQueuedBacklogInputsResponses, dM as ListSecretGrantsData, dO as ListSecretGrantsError, lC as ListSecretGrantsErrors, dN as ListSecretGrantsResponse, lD as ListSecretGrantsResponse2, lE as ListSecretGrantsResponses, dP as ListSecretsData, dR as ListSecretsError, lF as ListSecretsErrors, dQ as ListSecretsResponse, lG as ListSecretsResponse2, lH as ListSecretsResponses, dS as ListSkillGrantsData, dU as ListSkillGrantsError, lI as ListSkillGrantsErrors, dT as ListSkillGrantsResponse, lJ as ListSkillGrantsResponse2, lK as ListSkillGrantsResponses, dV as ListSkillsData, dX as ListSkillsError, lL as ListSkillsErrors, dW as ListSkillsResponse, lM as ListSkillsResponse2, lN as ListSkillsResponses, dY as ListToolCallsData, d_ as ListToolCallsError, lO as ListToolCallsErrors, dZ as ListToolCallsResponse, lP as ListToolCallsResponse2, lQ as ListToolCallsResponses, d$ as ListTurnEventsData, e1 as ListTurnEventsError, lR as ListTurnEventsErrors, e0 as ListTurnEventsResponse, lS as ListTurnEventsResponse2, lT as ListTurnEventsResponses, e2 as ListTurnsData, e4 as ListTurnsError, lU as ListTurnsErrors, lV as ListTurnsResponse, lW as ListTurnsResponses, e5 as ListVisibleMachinesData, e7 as ListVisibleMachinesError, lX as ListVisibleMachinesErrors, e6 as ListVisibleMachinesResponse, lY as ListVisibleMachinesResponse2, lZ as ListVisibleMachinesResponses, e8 as ListVisibleProjectMachinesData, e9 as ListVisibleProjectMachinesError, l_ as ListVisibleProjectMachinesErrors, l$ as ListVisibleProjectMachinesResponse, m0 as ListVisibleProjectMachinesResponses, ea as ListVisibleProjectsData, ec as ListVisibleProjectsError, m1 as ListVisibleProjectsErrors, m2 as ListVisibleProjectsResponse, m3 as ListVisibleProjectsResponses, c3 as Machine, m4 as MachineAccess, m5 as MachineAccessSource, m6 as MachineAccessSourceKind, m7 as MachineConnectionState, m8 as MachineDaemonToken, m9 as MachineDaemonTokenId, ma as MachineFailureReport, mb as MachineId, mc as MachineLifecycleState, md as MachineMetadata, c6 as MachinePool, me as MachinePoolId, mf as MachinePoolSummary, mg as MachinePoolUsage, mh as MachineSourceKind, mi as MachineSourceKindFilter, mj as MachineSummary, mk as MachineSummaryFields, ml as ManagementKind, mm as McpRegistryHeader, mn as McpRegistryIcon, mo as McpRegistryRemote, mp as McpRegistryServer, mq as McpServerAuth, mr as McpServerAuthBearer, ms as McpServerAuthHint, mt as McpServerAuthNone, mu as McpServerAuthOAuth, mv as McpServerAuthRequiredError, mw as McpServerAuthSigV4, mx as McpServerInfo, my as McpServerTool, mz as McpServerToolAnnotations, mA as McpServerToolsRequest, mB as McpServerToolsResponse, mC as McpoAuthFlowId, mD as McpoAuthStartMetadata, mE as McpoAuthStartRequest, mF as McpoAuthStartResponse, mG as MediaRefContentBlock, mH as Metadata, mI as ModelApiFormat, mJ as ModelApiVariantOptions, mK as ModelCacheRetention, mL as ModelCallContextId, c9 as ModelCatalog, mM as ModelOutputBlockStartDelta, mN as ModelOutputBlockStopDelta, mO as ModelOutputContentBlock, mP as ModelOutputDelta, mQ as ModelOutputErrorDelta, mR as ModelOutputEvent, mS as ModelOutputMessageStopDelta, mT as ModelOutputStopReason, mU as ModelOutputStreamBlock, mV as ModelOutputStreamDelta, mW as ModelOutputTextDelta, mX as ModelOutputTextStreamBlock, mY as ModelOutputThinkingDelta, mZ as ModelOutputThinkingStreamBlock, m_ as ModelOutputToolArgumentsDelta, m$ as ModelOutputToolUseStreamBlock, n0 as ModelProviderApiVariant, n1 as ModelProviderApiVariantResponse, n2 as ModelProviderAuthKind, cc as ModelProviderConfig, n3 as ModelProviderConfigId, db as ModelProviderConfigList, n4 as ModelStopReason, n5 as ModelToolCallContentBlock, n6 as ModelUsage, ed as MoveQueuedBacklogInputData, ef as MoveQueuedBacklogInputError, n7 as MoveQueuedBacklogInputErrors, n8 as MoveQueuedBacklogInputRequest, ee as MoveQueuedBacklogInputResponse, n9 as MoveQueuedBacklogInputResponses, na as OAuthRefreshSecretMaterial, nb as OAuthTokenSetSecretMaterial, nc as OkResponse, cf as OrgApiKey, nd as OrgApiKeyId, ne as OrgApiKeyRole, nf as OrgInvitation, ng as OrgInvitationId, nh as OrgMember, ci as OrgOverviewResponse, ni as OrgSecretOwner, nj as OrgSecretOwnerInput, nk as OrgSkillOwner, nl as OrgSkillOwnerInput, nm as Organization, nn as OrganizationId, no as OrganizationMembership, np as PageCursor, nq as PageLimit, nr as PersonalAccessTokenId, ns as ProcessActionId, nt as ProcessActionReconciliationClaim, nu as ProcessActionReconciliationDirective, nv as ProcessId, nw as ProcessReconciliationClaim, nx as ProcessReconciliationDirective, ny as Project, nz as ProjectAccess, nA as ProjectFields, nB as ProjectId, nC as ProjectMachineGrant, nD as ProjectMachineGrantId, nE as ProjectMachineGrantListItem, nF as ProjectMachineGrantSourceKind, co as ProjectMachinePoolGrant, nG as ProjectMachinePoolGrantId, nH as ProjectMachinePoolGrantListItem, nI as ProjectMembershipGrant, nJ as ProjectModelGrant, nK as ProjectModelGrantEnvelope, nL as ProjectModelGrantId, nM as ProjectModelGrantListItem, cl as ProjectSecretAccess, nN as ProjectSecretOwner, nO as ProjectSecretOwnerInput, nP as ProjectSkillAccess, nQ as ProjectSkillOwner, nR as ProjectSkillOwnerInput, eg as PromoteQueuedInputToSteeringData, ei as PromoteQueuedInputToSteeringError, nS as PromoteQueuedInputToSteeringErrors, nT as PromoteQueuedInputToSteeringRequest, eh as PromoteQueuedInputToSteeringResponse, nU as PromoteQueuedInputToSteeringResponses, ej as PutActorData, el as PutActorError, nV as PutActorErrors, ek as PutActorResponse, nW as PutActorResponses, nX as ReasoningContentBlock, em as RecordMachineFailureData, eo as RecordMachineFailureError, nY as RecordMachineFailureErrors, en as RecordMachineFailureResponse, nZ as RecordMachineFailureResponses, n_ as RegisterDaemonRuntimeRequest, n$ as RegisterDaemonRuntimeResponse, ep as RegisterMachineDaemonRuntimeData, er as RegisterMachineDaemonRuntimeError, o0 as RegisterMachineDaemonRuntimeErrors, eq as RegisterMachineDaemonRuntimeResponse, o1 as RegisterMachineDaemonRuntimeResponses, es as RemoveMemberProjectAccessData, eu as RemoveMemberProjectAccessError, o2 as RemoveMemberProjectAccessErrors, et as RemoveMemberProjectAccessResponse, o3 as RemoveMemberProjectAccessResponses, ev as RemoveOrgApiKeyProjectRoleData, ex as RemoveOrgApiKeyProjectRoleError, o4 as RemoveOrgApiKeyProjectRoleErrors, ew as RemoveOrgApiKeyProjectRoleResponse, o5 as RemoveOrgApiKeyProjectRoleResponses, ey as RemoveOrgMemberData, eA as RemoveOrgMemberError, o6 as RemoveOrgMemberErrors, ez as RemoveOrgMemberResponse, o7 as RemoveOrgMemberResponses, eB as RenameAgentProfileData, eD as RenameAgentProfileError, o8 as RenameAgentProfileErrors, o9 as RenameAgentProfileRequest, eC as RenameAgentProfileResponse, oa as RenameAgentProfileResponses, eE as ResolveAgentInteractionData, eG as ResolveAgentInteractionError, ob as ResolveAgentInteractionErrors, oc as ResolveAgentInteractionRequest, eF as ResolveAgentInteractionResponse, od as ResolveAgentInteractionResponses, oe as ResourceListSort, of as ResourceName, og as ResourceNameFilter, eH as RevokeMachineDaemonTokenData, eJ as RevokeMachineDaemonTokenError, oh as RevokeMachineDaemonTokenErrors, eI as RevokeMachineDaemonTokenResponse, oi as RevokeMachineDaemonTokenResponses, eK as RevokeOrgApiKeyData, eM as RevokeOrgApiKeyError, oj as RevokeOrgApiKeyErrors, eL as RevokeOrgApiKeyResponse, ok as RevokeOrgApiKeyResponses, eN as RevokePersonalAccessTokenData, eP as RevokePersonalAccessTokenError, ol as RevokePersonalAccessTokenErrors, eO as RevokePersonalAccessTokenResponse, om as RevokePersonalAccessTokenResponses, cr as Secret, on as SecretAvailability, oo as SecretAvailabilitySourceFilter, op as SecretGrant, oq as SecretGrantCreateRequest, or as SecretGrantId, os as SecretGrantListItem, ot as SecretId, ou as SecretKind, ov as SecretKindFilter, ow as SecretMaterial, ox as SecretMcpoAuthFlowIdFilter, oy as SecretMetadataFilter, oz as SecretOwner, oA as SecretOwnerInput, oB as SecretOwnerKindFilter, oC as SecretOwnerProjectIdFilter, oD as SecretVersionRequest, oE as ServerErrorCode, eQ as SetMemberProjectAccessData, eS as SetMemberProjectAccessError, oF as SetMemberProjectAccessErrors, eR as SetMemberProjectAccessResponse, oG as SetMemberProjectAccessResponses, eT as SetOrgApiKeyProjectRoleData, eV as SetOrgApiKeyProjectRoleError, oH as SetOrgApiKeyProjectRoleErrors, eU as SetOrgApiKeyProjectRoleResponse, oI as SetOrgApiKeyProjectRoleResponses, oJ as SetProjectMembershipRequest, cu as Skill, oK as SkillAvailability, oL as SkillAvailabilitySourceFilter, oM as SkillFile, oN as SkillGrant, oO as SkillGrantCreateRequest, oP as SkillGrantId, oQ as SkillGrantListItem, oR as SkillId, oS as SkillName, oT as SkillOwner, oU as SkillOwnerInput, oV as SkillOwnerKindFilter, oW as SkillOwnerProjectIdFilter, oX as SkillRevisionId, oY as SlackSetup, oZ as SlackSetupIcon, eW as SleepMachineDaemonRuntimeData, eY as SleepMachineDaemonRuntimeError, o_ as SleepMachineDaemonRuntimeErrors, eX as SleepMachineDaemonRuntimeResponse, o$ as SleepMachineDaemonRuntimeResponses, eZ as SocketMachineDaemonRuntimeData, e_ as SocketMachineDaemonRuntimeError, p0 as SocketMachineDaemonRuntimeErrors, e$ as StartSecretMcpoAuthData, f1 as StartSecretMcpoAuthError, p1 as StartSecretMcpoAuthErrors, f0 as StartSecretMcpoAuthResponse, p2 as StartSecretMcpoAuthResponses, p3 as StreamEventsError, p4 as StreamEventsErrors, p5 as StreamEventsResponse, p6 as StreamEventsResponses, p7 as StructuredDataContentBlock, f2 as SubmitToolCallResultData, f4 as SubmitToolCallResultError, p8 as SubmitToolCallResultErrors, p9 as SubmitToolCallResultRequest, pa as SubmitToolCallResultResponse, f3 as SubmitToolCallResultResponse2, pb as SubmitToolCallResultResponses, pc as SubmitToolResultContentBlock, pd as TextContentBlock, pe as Timestamp, pf as ToolCall, pg as ToolCallId, ph as ToolCallOutcome, pi as ToolCallState, pj as ToolCallType, pk as ToolCallUpdate, cx as ToolCatalog, pl as ToolCatalogEntry, pm as ToolInput, pn as ToolPermissionMode, po as ToolPermissionProfile, pp as ToolPermissionSelection, pq as ToolResult, pr as ToolResultContentBlock, ps as ToolResultEvent, f5 as UpdateAgentConfigData, f7 as UpdateAgentConfigError, pt as UpdateAgentConfigErrors, pu as UpdateAgentConfigRequest, pv as UpdateAgentConfigResponse, f6 as UpdateAgentConfigResponse2, pw as UpdateAgentConfigResponses, f8 as UpdateAgentProfileData, fa as UpdateAgentProfileError, px as UpdateAgentProfileErrors, py as UpdateAgentProfileRequest, f9 as UpdateAgentProfileResponse, pz as UpdateAgentProfileResponses, fb as UpdateConfiguredModelData, fd as UpdateConfiguredModelError, pA as UpdateConfiguredModelErrors, pB as UpdateConfiguredModelRequest, fc as UpdateConfiguredModelResponse, pC as UpdateConfiguredModelResponses, fe as UpdateCronTriggerData, fg as UpdateCronTriggerError, pD as UpdateCronTriggerErrors, pE as UpdateCronTriggerRequest, ff as UpdateCronTriggerResponse, pF as UpdateCronTriggerResponses, fh as UpdateMachineData, fj as UpdateMachineError, pG as UpdateMachineErrors, fk as UpdateMachinePoolData, fm as UpdateMachinePoolError, pH as UpdateMachinePoolErrors, pI as UpdateMachinePoolRequest, fl as UpdateMachinePoolResponse, pJ as UpdateMachinePoolResponses, pK as UpdateMachineRequest, fi as UpdateMachineResponse, pL as UpdateMachineResponses, fn as UpdateModelProviderConfigData, fp as UpdateModelProviderConfigError, pM as UpdateModelProviderConfigErrors, pN as UpdateModelProviderConfigRequest, fo as UpdateModelProviderConfigResponse, pO as UpdateModelProviderConfigResponses, fq as UpdateOrgApiKeyData, fs as UpdateOrgApiKeyError, pP as UpdateOrgApiKeyErrors, pQ as UpdateOrgApiKeyRequest, fr as UpdateOrgApiKeyResponse, pR as UpdateOrgApiKeyResponses, ft as UpdateOrgMemberData, fv as UpdateOrgMemberError, pS as UpdateOrgMemberErrors, pT as UpdateOrgMemberRequest, fu as UpdateOrgMemberResponse, pU as UpdateOrgMemberResponses, fw as UpdateProjectMachinePoolGrantData, fy as UpdateProjectMachinePoolGrantError, pV as UpdateProjectMachinePoolGrantErrors, pW as UpdateProjectMachinePoolGrantRequest, fx as UpdateProjectMachinePoolGrantResponse, pX as UpdateProjectMachinePoolGrantResponses, fz as UpdateProjectModelGrantData, fB as UpdateProjectModelGrantError, pY as UpdateProjectModelGrantErrors, pZ as UpdateProjectModelGrantRequest, fA as UpdateProjectModelGrantResponse, p_ as UpdateProjectModelGrantResponses, fC as UpdateSecretData, fE as UpdateSecretError, p$ as UpdateSecretErrors, q0 as UpdateSecretRequest, fD as UpdateSecretResponse, q1 as UpdateSecretResponses, fF as UpdateSkillData, fH as UpdateSkillError, q2 as UpdateSkillErrors, q3 as UpdateSkillRequest, fG as UpdateSkillResponse, q4 as UpdateSkillResponses, q5 as UploadArtifactResponse, fI as UploadDaemonArtifactData, fK as UploadDaemonArtifactError, q6 as UploadDaemonArtifactErrors, fJ as UploadDaemonArtifactResponse, q7 as UploadDaemonArtifactResponses, q8 as UserId, q9 as UserSecretOwner, qa as UserSecretOwnerInput, qb as UserSkillOwner, qc as UserSkillOwnerInput, qd as VisibleMachine, qe as VisibleProject, qf as Warning, qg as sdk } from './sdk.gen-qOnMVktp.js';
5
- export { z as schemas } from './zod.gen-ClvDjqAD.js';
6
- import 'zod';
1
+ import { A as AuthStrategy } from './auth-ChKpCt8W.js';
2
+ export { b as bearerToken } from './auth-ChKpCt8W.js';
3
+ import { fL as Config, fM as Client, fN as Error$1, fO as AgentConfigErrorIssue, fP as AgentEventStreamData, fQ as StreamEventsData, fR as PersonalAccessToken } from './sdk.gen-CQPqz02h.js';
4
+ export { A as AcceptInvitationData, b as AcceptInvitationError, fS as AcceptInvitationErrors, a as AcceptInvitationResponse, fT as AcceptInvitationResponses, bG as Actor, fU as ActorId, fV as ActorProvider, fW as Agent, bJ as AgentConfig, fX as AgentConfigId, fY as AgentConfigModel, fZ as AgentControlType, f_ as AgentCount, f$ as AgentCronTriggerTarget, g0 as AgentEvent, g1 as AgentEventId, g2 as AgentId, g3 as AgentInput, g4 as AgentInputContentBlock, g5 as AgentInputDeliveryMode, g6 as AgentInputEnvelope, g7 as AgentInputEvent, g8 as AgentInputId, g9 as AgentInputKind, ga as AgentInteraction, gb as AgentInteractionId, gc as AgentInteractionKind, gd as AgentInteractionState, ge as AgentMachineBinding, gf as AgentMachineBindingId, gg as AgentMachineBindingKind, gh as AgentMachineBindingState, gi as AgentMcpConnection, gj as AgentModel, gk as AgentName, bP as AgentProfile, gl as AgentProfileCronTriggerTarget, gm as AgentProfileId, gn as AgentSequence, go as AgentSequenceCursor, gp as AgentTurn, gq as AgentTurnId, c as ArchiveAgentData, e as ArchiveAgentError, gr as ArchiveAgentErrors, d as ArchiveAgentResponse, gs as ArchiveAgentResponses, bU as Artifact, gt as ArtifactId, gu as AwsCredentialsSecretMaterial, B as BootstrapDaemonData, g as BootstrapDaemonError, gv as BootstrapDaemonErrors, gw as BootstrapDaemonResponse, f as BootstrapDaemonResponse2, gx as BootstrapDaemonResponses, C as CancelAgentData, i as CancelAgentError, gy as CancelAgentErrors, gz as CancelAgentRequest, gA as CancelAgentResponse, h as CancelAgentResponse2, gB as CancelAgentResponses, j as CancelQueuedBacklogInputData, l as CancelQueuedBacklogInputError, gC as CancelQueuedBacklogInputErrors, k as CancelQueuedBacklogInputResponse, gD as CancelQueuedBacklogInputResponses, gE as ClientErrorCode, gF as ClientOptions, gG as ConfiguredModel, gH as ConfiguredModelId, cP as ConfiguredModelList, gI as ConfiguredModelRevisionId, gJ as ConfiguredModelSummary, m as ConnectByoMachineData, o as ConnectByoMachineError, gK as ConnectByoMachineErrors, gL as ConnectByoMachineRequest, gM as ConnectByoMachineResponse, n as ConnectByoMachineResponse2, gN as ConnectByoMachineResponses, gO as ContentBlockMetadata, gP as ContextCheckpointEvent, gQ as ContextCheckpointId, p as CreateAgentConfigData, r as CreateAgentConfigError, gR as CreateAgentConfigErrors, gS as CreateAgentConfigRequest, q as CreateAgentConfigResponse, gT as CreateAgentConfigResponses, v as CreateAgentData, x as CreateAgentError, gU as CreateAgentErrors, gV as CreateAgentInputContentBlock, s as CreateAgentInputData, gW as CreateAgentInputDeliveryMode, u as CreateAgentInputError, gX as CreateAgentInputErrors, gY as CreateAgentInputRequest, t as CreateAgentInputResponse, gZ as CreateAgentInputResponses, y as CreateAgentProfileData, D as CreateAgentProfileError, g_ as CreateAgentProfileErrors, g$ as CreateAgentProfileRequest, z as CreateAgentProfileResponse, h0 as CreateAgentProfileResponses, h1 as CreateAgentRequest, w as CreateAgentResponse, h2 as CreateAgentResponses, E as CreateByoMachineDaemonTokenData, G as CreateByoMachineDaemonTokenError, h3 as CreateByoMachineDaemonTokenErrors, F as CreateByoMachineDaemonTokenResponse, h4 as CreateByoMachineDaemonTokenResponses, H as CreateConfiguredModelData, J as CreateConfiguredModelError, h5 as CreateConfiguredModelErrors, h6 as CreateConfiguredModelRequest, I as CreateConfiguredModelResponse, h7 as CreateConfiguredModelResponses, K as CreateCronTriggerData, M as CreateCronTriggerError, h8 as CreateCronTriggerErrors, h9 as CreateCronTriggerRequest, L as CreateCronTriggerResponse, ha as CreateCronTriggerResponses, N as CreateIntegrationOAuthSetupData, Q as CreateIntegrationOAuthSetupError, hb as CreateIntegrationOAuthSetupErrors, hc as CreateIntegrationOAuthSetupRequest, P as CreateIntegrationOAuthSetupResponse, hd as CreateIntegrationOAuthSetupResponses, he as CreateMachineDaemonTokenRequest, hf as CreateMachineDaemonTokenResponse, R as CreateMachineData, T as CreateMachineError, hg as CreateMachineErrors, U as CreateMachinePoolData, W as CreateMachinePoolError, hh as CreateMachinePoolErrors, hi as CreateMachinePoolRequest, hj as CreateMachinePoolRequestBase, V as CreateMachinePoolResponse, hk as CreateMachinePoolResponses, hl as CreateMachineRequest, S as CreateMachineResponse, hm as CreateMachineResponses, X as CreateModelProviderConfigData, Z as CreateModelProviderConfigError, hn as CreateModelProviderConfigErrors, ho as CreateModelProviderConfigRequest, hp as CreateModelProviderConfigResponse, Y as CreateModelProviderConfigResponse2, hq as CreateModelProviderConfigResponses, _ as CreateOrgApiKeyData, a0 as CreateOrgApiKeyError, hr as CreateOrgApiKeyErrors, hs as CreateOrgApiKeyRequest, ht as CreateOrgApiKeyResponse, $ as CreateOrgApiKeyResponse2, hu as CreateOrgApiKeyResponses, a1 as CreateOrgInvitationData, a3 as CreateOrgInvitationError, hv as CreateOrgInvitationErrors, hw as CreateOrgInvitationRequest, a2 as CreateOrgInvitationResponse, hx as CreateOrgInvitationResponses, a4 as CreateOrganizationData, a6 as CreateOrganizationError, hy as CreateOrganizationErrors, hz as CreateOrganizationRequest, hA as CreateOrganizationResponse, a5 as CreateOrganizationResponse2, hB as CreateOrganizationResponses, a7 as CreatePersonalAccessTokenData, a9 as CreatePersonalAccessTokenError, hC as CreatePersonalAccessTokenErrors, hD as CreatePersonalAccessTokenRequest, hE as CreatePersonalAccessTokenResponse, a8 as CreatePersonalAccessTokenResponse2, hF as CreatePersonalAccessTokenResponses, aj as CreateProjectData, al as CreateProjectError, hG as CreateProjectErrors, aa as CreateProjectMachineGrantData, ac as CreateProjectMachineGrantError, hH as CreateProjectMachineGrantErrors, hI as CreateProjectMachineGrantRequest, hJ as CreateProjectMachineGrantResponse, ab as CreateProjectMachineGrantResponse2, hK as CreateProjectMachineGrantResponses, ad as CreateProjectMachinePoolGrantData, af as CreateProjectMachinePoolGrantError, hL as CreateProjectMachinePoolGrantErrors, hM as CreateProjectMachinePoolGrantRequest, ae as CreateProjectMachinePoolGrantResponse, hN as CreateProjectMachinePoolGrantResponses, ag as CreateProjectModelGrantData, ai as CreateProjectModelGrantError, hO as CreateProjectModelGrantErrors, hP as CreateProjectModelGrantRequest, ah as CreateProjectModelGrantResponse, hQ as CreateProjectModelGrantResponses, hR as CreateProjectRequest, ak as CreateProjectResponse, hS as CreateProjectResponses, ap as CreateSecretData, ar as CreateSecretError, hT as CreateSecretErrors, am as CreateSecretGrantData, ao as CreateSecretGrantError, hU as CreateSecretGrantErrors, an as CreateSecretGrantResponse, hV as CreateSecretGrantResponses, hW as CreateSecretRequest, aq as CreateSecretResponse, hX as CreateSecretResponses, as as CreateSecretVersionData, au as CreateSecretVersionError, hY as CreateSecretVersionErrors, at as CreateSecretVersionResponse, hZ as CreateSecretVersionResponses, ay as CreateSkillData, aA as CreateSkillError, h_ as CreateSkillErrors, av as CreateSkillGrantData, ax as CreateSkillGrantError, h$ as CreateSkillGrantErrors, aw as CreateSkillGrantResponse, i0 as CreateSkillGrantResponses, i1 as CreateSkillRequest, az as CreateSkillResponse, i2 as CreateSkillResponses, aB as CreateSlackSetupData, aD as CreateSlackSetupError, i3 as CreateSlackSetupErrors, i4 as CreateSlackSetupRequest, aC as CreateSlackSetupResponse, i5 as CreateSlackSetupResponses, i6 as CreatedResourceListSort, i7 as CronExpression, i8 as CronMessageTemplate, i9 as CronTimezone, bX as CronTrigger, ia as CronTriggerDeliveryMode, ib as CronTriggerFailureReport, ic as CronTriggerId, id as CronTriggerTarget, ie as CurrentAgentResponse, b_ as CurrentUser, ig as CurrentUserIdentity, ih as CurrentUserOrg, ii as DaemonRuntime, ij as DaemonRuntimeId, ik as DaemonRuntimeReconciliation, il as DaemonRuntimeState, aE as DeclineInvitationData, aG as DeclineInvitationError, im as DeclineInvitationErrors, aF as DeclineInvitationResponse, io as DeclineInvitationResponses, aH as DeleteAgentProfileData, aJ as DeleteAgentProfileError, ip as DeleteAgentProfileErrors, aI as DeleteAgentProfileResponse, iq as DeleteAgentProfileResponses, aK as DeleteConfiguredModelData, aM as DeleteConfiguredModelError, ir as DeleteConfiguredModelErrors, aL as DeleteConfiguredModelResponse, is as DeleteConfiguredModelResponses, aN as DeleteCronTriggerData, aP as DeleteCronTriggerError, it as DeleteCronTriggerErrors, aO as DeleteCronTriggerResponse, iu as DeleteCronTriggerResponses, aQ as DeleteCurrentUserData, aS as DeleteCurrentUserError, iv as DeleteCurrentUserErrors, aR as DeleteCurrentUserResponse, iw as DeleteCurrentUserResponses, aT as DeleteIntegrationInstallData, aV as DeleteIntegrationInstallError, ix as DeleteIntegrationInstallErrors, aU as DeleteIntegrationInstallResponse, iy as DeleteIntegrationInstallResponses, aW as DeleteMachineData, aY as DeleteMachineError, iz as DeleteMachineErrors, aZ as DeleteMachinePoolData, a$ as DeleteMachinePoolError, iA as DeleteMachinePoolErrors, a_ as DeleteMachinePoolResponse, iB as DeleteMachinePoolResponses, aX as DeleteMachineResponse, iC as DeleteMachineResponses, b0 as DeleteModelProviderConfigData, b2 as DeleteModelProviderConfigError, iD as DeleteModelProviderConfigErrors, b1 as DeleteModelProviderConfigResponse, iE as DeleteModelProviderConfigResponses, b3 as DeleteOrgInvitationData, b5 as DeleteOrgInvitationError, iF as DeleteOrgInvitationErrors, b4 as DeleteOrgInvitationResponse, iG as DeleteOrgInvitationResponses, b6 as DeleteOrganizationData, b8 as DeleteOrganizationError, iH as DeleteOrganizationErrors, b7 as DeleteOrganizationResponse, iI as DeleteOrganizationResponses, bi as DeleteProjectData, bk as DeleteProjectError, iJ as DeleteProjectErrors, b9 as DeleteProjectMachineGrantData, bb as DeleteProjectMachineGrantError, iK as DeleteProjectMachineGrantErrors, ba as DeleteProjectMachineGrantResponse, iL as DeleteProjectMachineGrantResponses, bc as DeleteProjectMachinePoolGrantData, be as DeleteProjectMachinePoolGrantError, iM as DeleteProjectMachinePoolGrantErrors, bd as DeleteProjectMachinePoolGrantResponse, iN as DeleteProjectMachinePoolGrantResponses, bf as DeleteProjectModelGrantData, bh as DeleteProjectModelGrantError, iO as DeleteProjectModelGrantErrors, bg as DeleteProjectModelGrantResponse, iP as DeleteProjectModelGrantResponses, bj as DeleteProjectResponse, iQ as DeleteProjectResponses, bo as DeleteSecretData, bq as DeleteSecretError, iR as DeleteSecretErrors, bl as DeleteSecretGrantData, bn as DeleteSecretGrantError, iS as DeleteSecretGrantErrors, bm as DeleteSecretGrantResponse, iT as DeleteSecretGrantResponses, bp as DeleteSecretResponse, iU as DeleteSecretResponses, bu as DeleteSkillData, bw as DeleteSkillError, iV as DeleteSkillErrors, br as DeleteSkillGrantData, bt as DeleteSkillGrantError, iW as DeleteSkillGrantErrors, bs as DeleteSkillGrantResponse, iX as DeleteSkillGrantResponses, bv as DeleteSkillResponse, iY as DeleteSkillResponses, bx as DemoteSteeringInputToQueuedData, bz as DemoteSteeringInputToQueuedError, iZ as DemoteSteeringInputToQueuedErrors, by as DemoteSteeringInputToQueuedResponse, i_ as DemoteSteeringInputToQueuedResponses, i$ as DirectSecretAvailability, j0 as DirectSkillAvailability, j1 as DiscoveredProviderModel, bA as DownloadDaemonArtifactData, bB as DownloadDaemonArtifactError, j2 as DownloadDaemonArtifactErrors, j3 as DownloadDaemonArtifactResponse, j4 as DownloadDaemonArtifactResponses, bC as EndMachineDaemonRuntimeData, bE as EndMachineDaemonRuntimeError, j5 as EndMachineDaemonRuntimeErrors, bD as EndMachineDaemonRuntimeResponse, j6 as EndMachineDaemonRuntimeResponses, j7 as ErrorContentBlock, j8 as ExternalActorParams, j9 as GenericSecretMaterial, bF as GetActorData, bH as GetActorError, ja as GetActorErrors, jb as GetActorResponse, jc as GetActorResponses, bI as GetAgentConfigData, bK as GetAgentConfigError, jd as GetAgentConfigErrors, je as GetAgentConfigResponse, jf as GetAgentConfigResponses, bL as GetAgentData, bN as GetAgentError, jg as GetAgentErrors, bO as GetAgentProfileData, bQ as GetAgentProfileError, jh as GetAgentProfileErrors, ji as GetAgentProfileResponse, jj as GetAgentProfileResponses, bM as GetAgentResponse, jk as GetAgentResponse2, jl as GetAgentResponses, bR as GetArtifactContentData, bS as GetArtifactContentError, jm as GetArtifactContentErrors, jn as GetArtifactContentResponse, jo as GetArtifactContentResponses, bT as GetArtifactData, bV as GetArtifactError, jp as GetArtifactErrors, jq as GetArtifactResponse, jr as GetArtifactResponses, bW as GetCronTriggerData, bY as GetCronTriggerError, js as GetCronTriggerErrors, jt as GetCronTriggerResponse, ju as GetCronTriggerResponses, bZ as GetCurrentUserData, b$ as GetCurrentUserError, jv as GetCurrentUserErrors, jw as GetCurrentUserResponse, jx as GetCurrentUserResponses, c0 as GetDaemonSkillArchiveData, c1 as GetDaemonSkillArchiveError, jy as GetDaemonSkillArchiveErrors, jz as GetDaemonSkillArchiveResponse, jA as GetDaemonSkillArchiveResponses, c2 as GetMachineData, c4 as GetMachineError, jB as GetMachineErrors, c5 as GetMachinePoolData, c7 as GetMachinePoolError, jC as GetMachinePoolErrors, jD as GetMachinePoolResponse, jE as GetMachinePoolResponses, jF as GetMachineResponse, jG as GetMachineResponses, c8 as GetModelCatalogData, ca as GetModelCatalogError, jH as GetModelCatalogErrors, jI as GetModelCatalogResponse, jJ as GetModelCatalogResponses, cb as GetModelProviderConfigData, cd as GetModelProviderConfigError, jK as GetModelProviderConfigErrors, jL as GetModelProviderConfigResponse, jM as GetModelProviderConfigResponses, ce as GetOrgApiKeyData, cg as GetOrgApiKeyError, jN as GetOrgApiKeyErrors, jO as GetOrgApiKeyResponse, jP as GetOrgApiKeyResponses, ch as GetOrgOverviewData, cj as GetOrgOverviewError, jQ as GetOrgOverviewErrors, jR as GetOrgOverviewResponse, jS as GetOrgOverviewResponses, ck as GetProjectAvailableSecretData, cm as GetProjectAvailableSecretError, jT as GetProjectAvailableSecretErrors, jU as GetProjectAvailableSecretResponse, jV as GetProjectAvailableSecretResponses, cn as GetProjectMachinePoolGrantData, cp as GetProjectMachinePoolGrantError, jW as GetProjectMachinePoolGrantErrors, jX as GetProjectMachinePoolGrantResponse, jY as GetProjectMachinePoolGrantResponses, cq as GetSecretData, cs as GetSecretError, jZ as GetSecretErrors, j_ as GetSecretResponse, j$ as GetSecretResponses, ct as GetSkillData, cv as GetSkillError, k0 as GetSkillErrors, k1 as GetSkillResponse, k2 as GetSkillResponses, cw as GetToolCatalogData, cy as GetToolCatalogError, k3 as GetToolCatalogErrors, k4 as GetToolCatalogResponse, k5 as GetToolCatalogResponses, k6 as GrantedSecretAvailability, k7 as GrantedSkillAvailability, k8 as IdempotencyKey, k9 as InlineMediaContentBlock, ka as InstallationId, kb as IntegrationInstall, kc as IntegrationInstallAgentProfileFilter, kd as IntegrationInstallId, ke as IntegrationInstallOAuthFlowIdFilter, kf as IntegrationOAuthFlowId, kg as IntegrationOAuthSetup, kh as IntegrationTarget, ki as InteractionAnswer, kj as InteractionForm, kk as InteractionFormContextItem, kl as InteractionFormOption, km as InteractionFormQuestion, kn as InteractionResolution, ko as JsonBlob, kp as LaunchAgentResponse, cz as ListActorsData, cB as ListActorsError, kq as ListActorsErrors, cA as ListActorsResponse, kr as ListActorsResponse2, ks as ListActorsResponses, cV as ListAgentEventsResponse, dK as ListAgentInputsResponse, cC as ListAgentInteractionsData, cE as ListAgentInteractionsError, kt as ListAgentInteractionsErrors, cD as ListAgentInteractionsResponse, ku as ListAgentInteractionsResponse2, kv as ListAgentInteractionsResponses, cF as ListAgentProfilesData, cH as ListAgentProfilesError, kw as ListAgentProfilesErrors, cG as ListAgentProfilesResponse, kx as ListAgentProfilesResponse2, ky as ListAgentProfilesResponses, e3 as ListAgentTurnsResponse, cI as ListAgentsData, cK as ListAgentsError, kz as ListAgentsErrors, cJ as ListAgentsResponse, kA as ListAgentsResponse2, kB as ListAgentsResponses, cL as ListByoMachineDaemonTokensData, cN as ListByoMachineDaemonTokensError, kC as ListByoMachineDaemonTokensErrors, kD as ListByoMachineDaemonTokensResponse, kE as ListByoMachineDaemonTokensResponses, cO as ListConfiguredModelsData, cQ as ListConfiguredModelsError, kF as ListConfiguredModelsErrors, kG as ListConfiguredModelsResponse, kH as ListConfiguredModelsResponses, cR as ListCronTriggersData, cT as ListCronTriggersError, kI as ListCronTriggersErrors, cS as ListCronTriggersResponse, kJ as ListCronTriggersResponse2, kK as ListCronTriggersResponses, cU as ListEventsData, cW as ListEventsError, kL as ListEventsErrors, kM as ListEventsResponse, kN as ListEventsResponses, cX as ListIntegrationInstallsData, cZ as ListIntegrationInstallsError, kO as ListIntegrationInstallsErrors, cY as ListIntegrationInstallsResponse, kP as ListIntegrationInstallsResponse2, kQ as ListIntegrationInstallsResponses, cM as ListMachineDaemonTokensResponse, c_ as ListMachinePoolsData, d0 as ListMachinePoolsError, kR as ListMachinePoolsErrors, c$ as ListMachinePoolsResponse, kS as ListMachinePoolsResponse2, kT as ListMachinePoolsResponses, d1 as ListMcpServerToolsData, d3 as ListMcpServerToolsError, kU as ListMcpServerToolsErrors, d2 as ListMcpServerToolsResponse, kV as ListMcpServerToolsResponses, d4 as ListMcpServersData, d6 as ListMcpServersError, kW as ListMcpServersErrors, d5 as ListMcpServersResponse, kX as ListMcpServersResponse2, kY as ListMcpServersResponses, d7 as ListMemberProjectAccessData, d9 as ListMemberProjectAccessError, kZ as ListMemberProjectAccessErrors, k_ as ListMemberProjectAccessResponse, k$ as ListMemberProjectAccessResponses, da as ListModelProviderConfigsData, dc as ListModelProviderConfigsError, l0 as ListModelProviderConfigsErrors, l1 as ListModelProviderConfigsResponse, l2 as ListModelProviderConfigsResponses, dd as ListOrgApiKeyProjectAccessData, de as ListOrgApiKeyProjectAccessError, l3 as ListOrgApiKeyProjectAccessErrors, l4 as ListOrgApiKeyProjectAccessResponse, l5 as ListOrgApiKeyProjectAccessResponses, df as ListOrgApiKeysData, dh as ListOrgApiKeysError, l6 as ListOrgApiKeysErrors, dg as ListOrgApiKeysResponse, l7 as ListOrgApiKeysResponse2, l8 as ListOrgApiKeysResponses, di as ListOrgInvitationsData, dk as ListOrgInvitationsError, l9 as ListOrgInvitationsErrors, dj as ListOrgInvitationsResponse, la as ListOrgInvitationsResponse2, lb as ListOrgInvitationsResponses, dl as ListOrgMembersData, dn as ListOrgMembersError, lc as ListOrgMembersErrors, dm as ListOrgMembersResponse, ld as ListOrgMembersResponse2, le as ListOrgMembersResponses, dp as ListPendingInvitationsData, dq as ListPendingInvitationsError, lf as ListPendingInvitationsErrors, lg as ListPendingInvitationsResponse, lh as ListPendingInvitationsResponses, dr as ListPersonalAccessTokensData, dt as ListPersonalAccessTokensError, li as ListPersonalAccessTokensErrors, ds as ListPersonalAccessTokensResponse, lj as ListPersonalAccessTokensResponse2, lk as ListPersonalAccessTokensResponses, du as ListProjectAvailableSecretsData, dw as ListProjectAvailableSecretsError, ll as ListProjectAvailableSecretsErrors, lm as ListProjectAvailableSecretsResponse, ln as ListProjectAvailableSecretsResponses, dx as ListProjectAvailableSkillsData, dz as ListProjectAvailableSkillsError, lo as ListProjectAvailableSkillsErrors, lp as ListProjectAvailableSkillsResponse, lq as ListProjectAvailableSkillsResponses, dA as ListProjectMachineGrantsData, dC as ListProjectMachineGrantsError, lr as ListProjectMachineGrantsErrors, dB as ListProjectMachineGrantsResponse, ls as ListProjectMachineGrantsResponse2, lt as ListProjectMachineGrantsResponses, dD as ListProjectMachinePoolGrantsData, dF as ListProjectMachinePoolGrantsError, lu as ListProjectMachinePoolGrantsErrors, dE as ListProjectMachinePoolGrantsResponse, lv as ListProjectMachinePoolGrantsResponse2, lw as ListProjectMachinePoolGrantsResponses, d8 as ListProjectMembershipGrantsResponse, dG as ListProjectModelGrantsData, dI as ListProjectModelGrantsError, lx as ListProjectModelGrantsErrors, dH as ListProjectModelGrantsResponse, ly as ListProjectModelGrantsResponse2, lz as ListProjectModelGrantsResponses, dv as ListProjectSecretAccessesResponse, dy as ListProjectSkillAccessesResponse, eb as ListProjectsResponse, dJ as ListQueuedBacklogInputsData, dL as ListQueuedBacklogInputsError, lA as ListQueuedBacklogInputsErrors, lB as ListQueuedBacklogInputsResponse, lC as ListQueuedBacklogInputsResponses, dM as ListSecretGrantsData, dO as ListSecretGrantsError, lD as ListSecretGrantsErrors, dN as ListSecretGrantsResponse, lE as ListSecretGrantsResponse2, lF as ListSecretGrantsResponses, dP as ListSecretsData, dR as ListSecretsError, lG as ListSecretsErrors, dQ as ListSecretsResponse, lH as ListSecretsResponse2, lI as ListSecretsResponses, dS as ListSkillGrantsData, dU as ListSkillGrantsError, lJ as ListSkillGrantsErrors, dT as ListSkillGrantsResponse, lK as ListSkillGrantsResponse2, lL as ListSkillGrantsResponses, dV as ListSkillsData, dX as ListSkillsError, lM as ListSkillsErrors, dW as ListSkillsResponse, lN as ListSkillsResponse2, lO as ListSkillsResponses, dY as ListToolCallsData, d_ as ListToolCallsError, lP as ListToolCallsErrors, dZ as ListToolCallsResponse, lQ as ListToolCallsResponse2, lR as ListToolCallsResponses, d$ as ListTurnEventsData, e1 as ListTurnEventsError, lS as ListTurnEventsErrors, e0 as ListTurnEventsResponse, lT as ListTurnEventsResponse2, lU as ListTurnEventsResponses, e2 as ListTurnsData, e4 as ListTurnsError, lV as ListTurnsErrors, lW as ListTurnsResponse, lX as ListTurnsResponses, e5 as ListVisibleMachinesData, e7 as ListVisibleMachinesError, lY as ListVisibleMachinesErrors, e6 as ListVisibleMachinesResponse, lZ as ListVisibleMachinesResponse2, l_ as ListVisibleMachinesResponses, e8 as ListVisibleProjectMachinesData, e9 as ListVisibleProjectMachinesError, l$ as ListVisibleProjectMachinesErrors, m0 as ListVisibleProjectMachinesResponse, m1 as ListVisibleProjectMachinesResponses, ea as ListVisibleProjectsData, ec as ListVisibleProjectsError, m2 as ListVisibleProjectsErrors, m3 as ListVisibleProjectsResponse, m4 as ListVisibleProjectsResponses, c3 as Machine, m5 as MachineAccess, m6 as MachineAccessSource, m7 as MachineAccessSourceKind, m8 as MachineConnectionState, m9 as MachineDaemonToken, ma as MachineDaemonTokenId, mb as MachineFailureReport, mc as MachineId, md as MachineLifecycleState, me as MachineMetadata, c6 as MachinePool, mf as MachinePoolId, mg as MachinePoolSummary, mh as MachinePoolUsage, mi as MachineSourceKind, mj as MachineSourceKindFilter, mk as MachineSummary, ml as MachineSummaryFields, mm as ManagementKind, mn as McpRegistryHeader, mo as McpRegistryIcon, mp as McpRegistryRemote, mq as McpRegistryServer, mr as McpServerAuth, ms as McpServerAuthBearer, mt as McpServerAuthHint, mu as McpServerAuthNone, mv as McpServerAuthOAuth, mw as McpServerAuthRequiredError, mx as McpServerAuthSigV4, my as McpServerInfo, mz as McpServerTool, mA as McpServerToolAnnotations, mB as McpServerToolsRequest, mC as McpServerToolsResponse, mD as McpoAuthFlowId, mE as McpoAuthStartMetadata, mF as McpoAuthStartRequest, mG as McpoAuthStartResponse, mH as MediaRefContentBlock, mI as Metadata, mJ as ModelApiFormat, mK as ModelApiVariantOptions, mL as ModelCacheRetention, mM as ModelCallContextId, c9 as ModelCatalog, mN as ModelOutputBlockStartDelta, mO as ModelOutputBlockStopDelta, mP as ModelOutputContentBlock, mQ as ModelOutputDelta, mR as ModelOutputErrorDelta, mS as ModelOutputEvent, mT as ModelOutputMessageStopDelta, mU as ModelOutputStopReason, mV as ModelOutputStreamBlock, mW as ModelOutputStreamDelta, mX as ModelOutputTextDelta, mY as ModelOutputTextStreamBlock, mZ as ModelOutputThinkingDelta, m_ as ModelOutputThinkingStreamBlock, m$ as ModelOutputToolArgumentsDelta, n0 as ModelOutputToolUseStreamBlock, n1 as ModelProviderApiVariant, n2 as ModelProviderApiVariantResponse, n3 as ModelProviderAuthKind, cc as ModelProviderConfig, n4 as ModelProviderConfigId, db as ModelProviderConfigList, n5 as ModelStopReason, n6 as ModelToolCallContentBlock, n7 as ModelUsage, ed as MoveQueuedBacklogInputData, ef as MoveQueuedBacklogInputError, n8 as MoveQueuedBacklogInputErrors, n9 as MoveQueuedBacklogInputRequest, ee as MoveQueuedBacklogInputResponse, na as MoveQueuedBacklogInputResponses, nb as OAuthRefreshSecretMaterial, nc as OAuthTokenSetSecretMaterial, nd as OkResponse, cf as OrgApiKey, ne as OrgApiKeyId, nf as OrgApiKeyRole, ng as OrgInvitation, nh as OrgInvitationId, ni as OrgMember, ci as OrgOverviewResponse, nj as OrgSecretOwner, nk as OrgSecretOwnerInput, nl as OrgSkillOwner, nm as OrgSkillOwnerInput, nn as Organization, no as OrganizationId, np as OrganizationMembership, nq as PageCursor, nr as PageLimit, ns as PersonalAccessTokenId, nt as ProcessActionId, nu as ProcessActionReconciliationClaim, nv as ProcessActionReconciliationDirective, nw as ProcessId, nx as ProcessReconciliationClaim, ny as ProcessReconciliationDirective, nz as Project, nA as ProjectAccess, nB as ProjectFields, nC as ProjectId, nD as ProjectMachineGrant, nE as ProjectMachineGrantId, nF as ProjectMachineGrantListItem, nG as ProjectMachineGrantSourceKind, co as ProjectMachinePoolGrant, nH as ProjectMachinePoolGrantId, nI as ProjectMachinePoolGrantListItem, nJ as ProjectMembershipGrant, nK as ProjectModelGrant, nL as ProjectModelGrantEnvelope, nM as ProjectModelGrantId, nN as ProjectModelGrantListItem, cl as ProjectSecretAccess, nO as ProjectSecretOwner, nP as ProjectSecretOwnerInput, nQ as ProjectSkillAccess, nR as ProjectSkillOwner, nS as ProjectSkillOwnerInput, eg as PromoteQueuedInputToSteeringData, ei as PromoteQueuedInputToSteeringError, nT as PromoteQueuedInputToSteeringErrors, nU as PromoteQueuedInputToSteeringRequest, eh as PromoteQueuedInputToSteeringResponse, nV as PromoteQueuedInputToSteeringResponses, ej as PutActorData, el as PutActorError, nW as PutActorErrors, ek as PutActorResponse, nX as PutActorResponses, nY as ReasoningContentBlock, em as RecordMachineFailureData, eo as RecordMachineFailureError, nZ as RecordMachineFailureErrors, en as RecordMachineFailureResponse, n_ as RecordMachineFailureResponses, n$ as RegisterDaemonRuntimeRequest, o0 as RegisterDaemonRuntimeResponse, ep as RegisterMachineDaemonRuntimeData, er as RegisterMachineDaemonRuntimeError, o1 as RegisterMachineDaemonRuntimeErrors, eq as RegisterMachineDaemonRuntimeResponse, o2 as RegisterMachineDaemonRuntimeResponses, es as RemoveMemberProjectAccessData, eu as RemoveMemberProjectAccessError, o3 as RemoveMemberProjectAccessErrors, et as RemoveMemberProjectAccessResponse, o4 as RemoveMemberProjectAccessResponses, ev as RemoveOrgApiKeyProjectRoleData, ex as RemoveOrgApiKeyProjectRoleError, o5 as RemoveOrgApiKeyProjectRoleErrors, ew as RemoveOrgApiKeyProjectRoleResponse, o6 as RemoveOrgApiKeyProjectRoleResponses, ey as RemoveOrgMemberData, eA as RemoveOrgMemberError, o7 as RemoveOrgMemberErrors, ez as RemoveOrgMemberResponse, o8 as RemoveOrgMemberResponses, eB as RenameAgentProfileData, eD as RenameAgentProfileError, o9 as RenameAgentProfileErrors, oa as RenameAgentProfileRequest, eC as RenameAgentProfileResponse, ob as RenameAgentProfileResponses, eE as ResolveAgentInteractionData, eG as ResolveAgentInteractionError, oc as ResolveAgentInteractionErrors, od as ResolveAgentInteractionRequest, eF as ResolveAgentInteractionResponse, oe as ResolveAgentInteractionResponses, of as ResourceListSort, og as ResourceName, oh as ResourceNameFilter, eH as RevokeMachineDaemonTokenData, eJ as RevokeMachineDaemonTokenError, oi as RevokeMachineDaemonTokenErrors, eI as RevokeMachineDaemonTokenResponse, oj as RevokeMachineDaemonTokenResponses, eK as RevokeOrgApiKeyData, eM as RevokeOrgApiKeyError, ok as RevokeOrgApiKeyErrors, eL as RevokeOrgApiKeyResponse, ol as RevokeOrgApiKeyResponses, eN as RevokePersonalAccessTokenData, eP as RevokePersonalAccessTokenError, om as RevokePersonalAccessTokenErrors, eO as RevokePersonalAccessTokenResponse, on as RevokePersonalAccessTokenResponses, cr as Secret, oo as SecretAvailability, op as SecretAvailabilitySourceFilter, oq as SecretGrant, or as SecretGrantCreateRequest, os as SecretGrantId, ot as SecretGrantListItem, ou as SecretId, ov as SecretKind, ow as SecretKindFilter, ox as SecretMaterial, oy as SecretMcpoAuthFlowIdFilter, oz as SecretMetadataFilter, oA as SecretOwner, oB as SecretOwnerInput, oC as SecretOwnerKindFilter, oD as SecretOwnerProjectIdFilter, oE as SecretVersionRequest, oF as ServerErrorCode, eQ as SetMemberProjectAccessData, eS as SetMemberProjectAccessError, oG as SetMemberProjectAccessErrors, eR as SetMemberProjectAccessResponse, oH as SetMemberProjectAccessResponses, eT as SetOrgApiKeyProjectRoleData, eV as SetOrgApiKeyProjectRoleError, oI as SetOrgApiKeyProjectRoleErrors, eU as SetOrgApiKeyProjectRoleResponse, oJ as SetOrgApiKeyProjectRoleResponses, oK as SetProjectMembershipRequest, cu as Skill, oL as SkillAvailability, oM as SkillAvailabilitySourceFilter, oN as SkillFile, oO as SkillGrant, oP as SkillGrantCreateRequest, oQ as SkillGrantId, oR as SkillGrantListItem, oS as SkillId, oT as SkillName, oU as SkillOwner, oV as SkillOwnerInput, oW as SkillOwnerKindFilter, oX as SkillOwnerProjectIdFilter, oY as SkillRevisionId, oZ as SlackSetup, o_ as SlackSetupIcon, eW as SleepMachineDaemonRuntimeData, eY as SleepMachineDaemonRuntimeError, o$ as SleepMachineDaemonRuntimeErrors, eX as SleepMachineDaemonRuntimeResponse, p0 as SleepMachineDaemonRuntimeResponses, eZ as SocketMachineDaemonRuntimeData, e_ as SocketMachineDaemonRuntimeError, p1 as SocketMachineDaemonRuntimeErrors, e$ as StartSecretMcpoAuthData, f1 as StartSecretMcpoAuthError, p2 as StartSecretMcpoAuthErrors, f0 as StartSecretMcpoAuthResponse, p3 as StartSecretMcpoAuthResponses, p4 as StreamEventsError, p5 as StreamEventsErrors, p6 as StreamEventsResponse, p7 as StreamEventsResponses, p8 as StructuredDataContentBlock, f2 as SubmitToolCallResultData, f4 as SubmitToolCallResultError, p9 as SubmitToolCallResultErrors, pa as SubmitToolCallResultRequest, pb as SubmitToolCallResultResponse, f3 as SubmitToolCallResultResponse2, pc as SubmitToolCallResultResponses, pd as SubmitToolResultContentBlock, pe as TextContentBlock, pf as Timestamp, pg as ToolCall, ph as ToolCallId, pi as ToolCallOutcome, pj as ToolCallState, pk as ToolCallType, pl as ToolCallUpdate, cx as ToolCatalog, pm as ToolCatalogEntry, pn as ToolInput, po as ToolPermissionMode, pp as ToolPermissionProfile, pq as ToolPermissionSelection, pr as ToolResult, ps as ToolResultContentBlock, pt as ToolResultEvent, f5 as UpdateAgentConfigData, f7 as UpdateAgentConfigError, pu as UpdateAgentConfigErrors, pv as UpdateAgentConfigRequest, pw as UpdateAgentConfigResponse, f6 as UpdateAgentConfigResponse2, px as UpdateAgentConfigResponses, f8 as UpdateAgentProfileData, fa as UpdateAgentProfileError, py as UpdateAgentProfileErrors, pz as UpdateAgentProfileRequest, f9 as UpdateAgentProfileResponse, pA as UpdateAgentProfileResponses, fb as UpdateConfiguredModelData, fd as UpdateConfiguredModelError, pB as UpdateConfiguredModelErrors, pC as UpdateConfiguredModelRequest, fc as UpdateConfiguredModelResponse, pD as UpdateConfiguredModelResponses, fe as UpdateCronTriggerData, fg as UpdateCronTriggerError, pE as UpdateCronTriggerErrors, pF as UpdateCronTriggerRequest, ff as UpdateCronTriggerResponse, pG as UpdateCronTriggerResponses, fh as UpdateMachineData, fj as UpdateMachineError, pH as UpdateMachineErrors, fk as UpdateMachinePoolData, fm as UpdateMachinePoolError, pI as UpdateMachinePoolErrors, pJ as UpdateMachinePoolRequest, fl as UpdateMachinePoolResponse, pK as UpdateMachinePoolResponses, pL as UpdateMachineRequest, fi as UpdateMachineResponse, pM as UpdateMachineResponses, fn as UpdateModelProviderConfigData, fp as UpdateModelProviderConfigError, pN as UpdateModelProviderConfigErrors, pO as UpdateModelProviderConfigRequest, fo as UpdateModelProviderConfigResponse, pP as UpdateModelProviderConfigResponses, fq as UpdateOrgApiKeyData, fs as UpdateOrgApiKeyError, pQ as UpdateOrgApiKeyErrors, pR as UpdateOrgApiKeyRequest, fr as UpdateOrgApiKeyResponse, pS as UpdateOrgApiKeyResponses, ft as UpdateOrgMemberData, fv as UpdateOrgMemberError, pT as UpdateOrgMemberErrors, pU as UpdateOrgMemberRequest, fu as UpdateOrgMemberResponse, pV as UpdateOrgMemberResponses, fw as UpdateProjectMachinePoolGrantData, fy as UpdateProjectMachinePoolGrantError, pW as UpdateProjectMachinePoolGrantErrors, pX as UpdateProjectMachinePoolGrantRequest, fx as UpdateProjectMachinePoolGrantResponse, pY as UpdateProjectMachinePoolGrantResponses, fz as UpdateProjectModelGrantData, fB as UpdateProjectModelGrantError, pZ as UpdateProjectModelGrantErrors, p_ as UpdateProjectModelGrantRequest, fA as UpdateProjectModelGrantResponse, p$ as UpdateProjectModelGrantResponses, fC as UpdateSecretData, fE as UpdateSecretError, q0 as UpdateSecretErrors, q1 as UpdateSecretRequest, fD as UpdateSecretResponse, q2 as UpdateSecretResponses, fF as UpdateSkillData, fH as UpdateSkillError, q3 as UpdateSkillErrors, q4 as UpdateSkillRequest, fG as UpdateSkillResponse, q5 as UpdateSkillResponses, q6 as UploadArtifactResponse, fI as UploadDaemonArtifactData, fK as UploadDaemonArtifactError, q7 as UploadDaemonArtifactErrors, fJ as UploadDaemonArtifactResponse, q8 as UploadDaemonArtifactResponses, q9 as UserId, qa as UserSecretOwner, qb as UserSecretOwnerInput, qc as UserSkillOwner, qd as UserSkillOwnerInput, qe as VisibleMachine, qf as VisibleProject, qg as Warning, qh as sdk } from './sdk.gen-CQPqz02h.js';
5
+ import * as z from 'zod';
6
+ export { z as schemas } from './zod.gen-CSIcJlIc.js';
7
7
 
8
8
  declare const createClient: (config?: Config) => Client;
9
9
 
@@ -13,33 +13,59 @@ interface OmnaraClientOptions {
13
13
  credentials?: RequestCredentials;
14
14
  auth?: AuthStrategy;
15
15
  headers?: Record<string, string>;
16
+ fetch?: typeof fetch;
16
17
  }
17
18
  declare function createOmnaraClient(options?: OmnaraClientOptions): OmnaraClient;
18
19
 
19
- type AgentEventStreamErrorKind = 'aborted' | 'contract' | 'http' | 'transport';
20
+ declare const zJsonBody: z.ZodJSONSchema;
21
+ type JsonBody = z.infer<typeof zJsonBody>;
22
+ declare const zJsonText: z.ZodPipe<z.ZodString, z.ZodTransform<unknown, string>>;
23
+
24
+ type ApiErrorCode = Error$1['code'];
25
+ declare class ApiError extends Error {
26
+ readonly status: number;
27
+ readonly code: ApiErrorCode | undefined;
28
+ readonly body: JsonBody | undefined;
29
+ readonly issues: AgentConfigErrorIssue[];
30
+ constructor(status: number, message: string, code?: ApiErrorCode, body?: JsonBody);
31
+ static fromResponse(response: Response): Promise<ApiError>;
32
+ static fromBody(status: number, body: JsonBody | undefined): ApiError;
33
+ }
34
+
35
+ type AgentEventStreamFrame = Exclude<AgentEventStreamData, Error$1>;
36
+ type AgentEventStreamErrorKind = 'api' | 'client' | 'contract' | 'http' | 'transport';
20
37
  declare class AgentEventStreamError extends Error {
21
38
  readonly kind: AgentEventStreamErrorKind;
22
- readonly retryable: boolean;
23
39
  readonly status: number | undefined;
24
- constructor({ kind, message, retryable, status, cause, }: {
40
+ readonly code: ApiErrorCode | undefined;
41
+ readonly retryAfterMs: number | undefined;
42
+ constructor({ kind, message, status, code, retryAfterMs, cause, }: {
25
43
  kind: AgentEventStreamErrorKind;
26
44
  message: string;
27
- retryable: boolean;
28
45
  status?: number;
46
+ code?: ApiErrorCode;
47
+ retryAfterMs?: number;
29
48
  cause?: unknown;
30
49
  });
31
50
  }
51
+ type AgentEventStreamConnectionState = {
52
+ state: 'connected';
53
+ reconnected: boolean;
54
+ } | {
55
+ state: 'reconnecting';
56
+ attempt: number;
57
+ delayMs: number;
58
+ error: AgentEventStreamError;
59
+ };
32
60
  interface OpenAgentEventStreamOptions {
33
61
  client: OmnaraClient;
34
62
  path: StreamEventsData['path'];
35
63
  query?: StreamEventsData['query'];
36
64
  headers?: StreamEventsData['headers'];
37
65
  signal?: AbortSignal;
66
+ onConnectionStateChange?: (state: AgentEventStreamConnectionState) => void;
38
67
  }
39
- interface AgentEventStream {
40
- stream: AsyncGenerator<AgentEventStreamData>;
41
- }
42
- declare function openAgentEventStream({ client, path, query, headers, signal, }: OpenAgentEventStreamOptions): Promise<AgentEventStream>;
68
+ declare function openAgentEventStream({ client, path, query, headers, signal, onConnectionStateChange, }: OpenAgentEventStreamOptions): AsyncGenerator<AgentEventStreamFrame>;
43
69
 
44
70
  declare function cliLoginTokenName(hostName?: string): string;
45
71
  declare function isCliLoginToken(token: PersonalAccessToken): boolean;
@@ -79,14 +105,4 @@ interface PollDeviceAuthTokenOptions {
79
105
  }
80
106
  declare function pollDeviceAuthToken(options: PollDeviceAuthTokenOptions): Promise<string>;
81
107
 
82
- type ApiErrorCode = Error$1['code'];
83
- declare class ApiError extends Error {
84
- readonly status: number;
85
- readonly code: ApiErrorCode | undefined;
86
- readonly body: unknown;
87
- readonly issues: AgentConfigErrorIssue[];
88
- constructor(status: number, message: string, code?: ApiErrorCode, body?: unknown);
89
- static fromResponse(response: Response): Promise<ApiError>;
90
- }
91
-
92
- export { AgentConfigErrorIssue, AgentEventStreamData, AgentEventStreamError, type AgentEventStreamErrorKind, ApiError, type ApiErrorCode, AuthStrategy, DeviceAuthError, type DeviceAuthFailureCode, type DeviceAuthStart, Error$1 as Error, OAUTH_DEVICE_GRANT_TYPE, OMNARA_CLI_OAUTH_CLIENT_ID, type OmnaraClient, type OmnaraClientOptions, type OpenAgentEventStreamOptions, PersonalAccessToken, type PollDeviceAuthTokenOptions, type StartDeviceAuthOptions, StreamEventsData, cliLoginTokenHost, cliLoginTokenName, createOmnaraClient, isCliLoginToken, openAgentEventStream, pollDeviceAuthToken, startDeviceAuth };
108
+ export { AgentConfigErrorIssue, type AgentEventStreamConnectionState, AgentEventStreamData, AgentEventStreamError, type AgentEventStreamErrorKind, type AgentEventStreamFrame, ApiError, type ApiErrorCode, AuthStrategy, DeviceAuthError, type DeviceAuthFailureCode, type DeviceAuthStart, Error$1 as Error, type JsonBody, OAUTH_DEVICE_GRANT_TYPE, OMNARA_CLI_OAUTH_CLIENT_ID, type OmnaraClient, type OmnaraClientOptions, type OpenAgentEventStreamOptions, PersonalAccessToken, type PollDeviceAuthTokenOptions, type StartDeviceAuthOptions, StreamEventsData, cliLoginTokenHost, cliLoginTokenName, createOmnaraClient, isCliLoginToken, openAgentEventStream, pollDeviceAuthToken, startDeviceAuth, zJsonText };