@arbol-ai/maximus 7.1.0 → 7.2.1

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.
@@ -1,4 +1,4 @@
1
- import { Jt as Observer, bn as Result, kn as Failure } from "../chunks/types-CGwAhnTE.js";
1
+ import { bn as Result, kn as Failure, qt as Observer } from "../chunks/types-B1C3Ogo5.js";
2
2
  import { Static } from "@sinclair/typebox";
3
3
  //#region src/analytics/analytics.d.ts
4
4
  /** An analytics event: the allowlisted metadata of one operation call, flattened, with an id of its own. */
package/dist/body.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { c as isJsonMediaType, d as retryAfterSeconds, f as BodyReadOptions, g as readBodyText, h as readBodyBytes, l as readJsonBody, m as HttpBodyFailureReason, p as HttpBodyFailure, u as readJsonResponse } from "./chunks/types-CGwAhnTE.js";
1
+ import { c as isJsonMediaType, d as retryAfterSeconds, f as BodyReadOptions, g as readBodyText, h as readBodyBytes, l as readJsonBody, m as HttpBodyFailureReason, p as HttpBodyFailure, u as readJsonResponse } from "./chunks/types-B1C3Ogo5.js";
2
2
  export { type BodyReadOptions, type HttpBodyFailure, type HttpBodyFailureReason, isJsonMediaType, readBodyBytes, readBodyText, readJsonBody, readJsonResponse, retryAfterSeconds };
@@ -68,7 +68,7 @@ function validAttachment(value, maxBytes) {
68
68
  /** An exact-length stream prevents a handler from sending bytes beyond its validated attachment metadata. */
69
69
  function attachmentResponse(file, status = 200) {
70
70
  const encodedFilename = encodeURIComponent(file.filename).replaceAll(/[!'()*]/gu, (character) => `%${character.charCodeAt(0).toString(16).toUpperCase()}`);
71
- const body = file.body instanceof Uint8Array ? file.body : exactLength(file.body, file.byteLength);
71
+ const body = file.body instanceof Uint8Array ? file.body : attachmentStream(file.body, file.byteLength);
72
72
  return new Response(body, {
73
73
  status,
74
74
  headers: {
@@ -81,6 +81,11 @@ function attachmentResponse(file, status = 200) {
81
81
  }
82
82
  });
83
83
  }
84
+ /** Workers determines Content-Length from the body, ignoring a header on an ordinary stream. */
85
+ function attachmentStream(body, byteLength) {
86
+ const bounded = exactLength(body, byteLength);
87
+ return typeof FixedLengthStream === "function" ? bounded.pipeThrough(new FixedLengthStream(byteLength)) : bounded;
88
+ }
84
89
 
85
90
  //#endregion
86
91
  //#region src/internal/http-routes.ts
@@ -1,7 +1,7 @@
1
1
  import { FailureSchema, standardErrors } from "../errors.js";
2
2
  import { r as readBodyText } from "./body-BcMbreNd.js";
3
3
  import { t as isRecord } from "./record-D2H3cg8S.js";
4
- import { C as operationMatchesScopes, D as pathParameterSchemas, O as attachmentResponse, S as operationBodyLimit, T as operationScopes, _ as STANDARD_CODES, b as mcpOpenWorld, c as tokenEndpoints, d as err, h as DEFAULT_MAX_BODY_BYTES, i as createTokenAuthorization, k as binaryBody, l as tokenIssuer, m as sha256Hex, n as defineApp, p as ok, s as tokenAudiences, t as executeOperation, u as usesOwnBearer, v as composeOperations, w as operationOutputLimit, y as isPublicOperation } from "./execution-qfZuMSIu.js";
4
+ import { C as operationMatchesScopes, D as pathParameterSchemas, O as attachmentResponse, S as operationBodyLimit, T as operationScopes, _ as STANDARD_CODES, b as mcpOpenWorld, c as tokenEndpoints, d as err, h as DEFAULT_MAX_BODY_BYTES, i as createTokenAuthorization, k as binaryBody, l as tokenIssuer, m as sha256Hex, n as defineApp, p as ok, s as tokenAudiences, t as executeOperation, u as usesOwnBearer, v as composeOperations, w as operationOutputLimit, y as isPublicOperation } from "./execution-C-ZHm0Ya.js";
5
5
  import { createHttpRouteResolver, operationPathParameters } from "../http-paths.js";
6
6
  import { a as telemetryEnabled, i as reportUnexpected, n as recordAdmission, r as recordExecution, s as withTelemetry } from "./telemetry-DvZgrzZn.js";
7
7
  import { n as mediaType } from "./json-Dwni3u4c.js";
@@ -529,8 +529,19 @@ function failureResponse(status, failures) {
529
529
  * schemas of its paths and components (TypeBox Recursive/Ref) become components, as `bundleSchemas`
530
530
  * describes.
531
531
  */
532
- function createOpenApi(manifest) {
532
+ function createOpenApi(manifest, options) {
533
533
  const document = openApiDocument(manifest);
534
+ if (options?.operationExtensions) {
535
+ const paths = document.paths;
536
+ for (const methods of Object.values(paths)) for (const declared of Object.values(methods)) {
537
+ const name = String(declared.operationId);
538
+ const operation = manifest.operations[name];
539
+ if (!operation) throw new TypeError("The document names an undeclared operation.");
540
+ const extensions = options.operationExtensions(name, operation);
541
+ if (Object.keys(extensions).some((key) => !key.startsWith("x-"))) throw new TypeError("OpenAPI extensions must use x- names.");
542
+ Object.assign(declared, extensions);
543
+ }
544
+ }
534
545
  const own = Object.entries(document.components.schemas);
535
546
  const bundled = bundleSchemas([document.paths, ...own.map(([, schema]) => schema)], document.components.schemas);
536
547
  const [paths, ...schemas] = bundled.values;
@@ -828,6 +839,11 @@ function createHttpHandler(manifest, hooks = {}) {
828
839
  headers.set("cache-control", "private, no-store");
829
840
  headers.set("x-content-type-options", "nosniff");
830
841
  headers.set("x-request-id", requestId);
842
+ const status = manifest.errors.status(error.code);
843
+ if ((status === 401 || status === 403) && !headers.has("www-authenticate")) {
844
+ const challenge = manifest.tokens.challenge?.(error, context);
845
+ if (challenge) headers.set("www-authenticate", challenge);
846
+ }
831
847
  if (error.code === "UNAUTHORIZED" && !headers.has("www-authenticate")) {
832
848
  const metadataUrl = challengeMetadataUrl(context);
833
849
  headers.set("www-authenticate", ownBearer || metadataUrl === null ? "Bearer" : `Bearer resource_metadata="${metadataUrl}"`);
@@ -1,4 +1,4 @@
1
- import { OptionalKind, Static, Static as Static$1, Static as Static$2, StaticDecode, StaticDecode as StaticDecode$1, TArray, TLiteral, TObject, TOptional, TProperties, TSchema, TSchema as TSchema$1, TSchema as TSchema$2, TString, TTransform, TUnion, TUnsafe, Type as Type$1, Type as Type$2, Type as t, Type as t$1 } from "@sinclair/typebox";
1
+ import { Kind, OptionalKind, Static, Static as Static$1, Static as Static$2, StaticDecode, TArray, TLiteral, TObject, TOptional, TProperties, TRecord, TSchema, TSchema as TSchema$1, TSchema as TSchema$2, TString, TTransform, TTuple, TUnion, TUnsafe, TransformKind, Type as Type$1, Type as Type$2, Type as t, Type as t$1 } from "@sinclair/typebox";
2
2
  //#region src/attachment-schema.d.ts
3
3
  /** A file an HTTP operation answers with: its bytes, media type, filename and exact length. */
4
4
  interface Attachment {
@@ -121,7 +121,7 @@ declare const STANDARD: {
121
121
  readonly notFound: {
122
122
  readonly code: 'NOT_FOUND';
123
123
  readonly status: 404;
124
- readonly message: 'The requested operation does not exist.';
124
+ readonly message: 'The requested resource does not exist.';
125
125
  };
126
126
  readonly methodNotAllowed: {
127
127
  readonly code: 'HTTP_METHOD_NOT_ALLOWED';
@@ -307,6 +307,15 @@ interface BinaryBody {
307
307
  read: () => Promise<Result<Uint8Array<ArrayBuffer>, Failure>>;
308
308
  }
309
309
  //#endregion
310
+ //#region src/schema-types.d.ts
311
+ /** Opaque owner codecs already carry their decoded static type; only native transforms need traversal. */
312
+ type HasNativeTransform<S extends TSchema> = typeof TransformKind extends keyof S ? true : string extends S[typeof Kind] ? false : S extends TObject<infer P> ? true extends { [K in keyof P]: HasNativeTransform<P[K]>; }[keyof P] ? true : false : S extends TArray<infer I> ? HasNativeTransform<I> : S extends TUnion<infer U> | TTuple<infer U> ? HasNativeTransform<U[number]> : S extends TRecord<TSchema, infer V> ? HasNativeTransform<V> : false;
313
+ /**
314
+ * A schema's decoded value. TypeBox's deep decoder can recurse indefinitely through opaque owner
315
+ * codecs; a schema without native transforms already has exactly its decoded `Static` type.
316
+ */
317
+ type StaticDecode$1<S extends TSchema> = true extends HasNativeTransform<S> ? StaticDecode<S> : Static<S>;
318
+ //#endregion
310
319
  //#region src/scopes.d.ts
311
320
  /**
312
321
  * Scope names and matching: the namespaced form every scope takes, and whether granted scopes admit a
@@ -514,6 +523,12 @@ interface TokenPolicy<E = unknown> {
514
523
  resolve?: (token: string, context?: TokenResolutionContext<E>) => Promise<TokenPrincipal | Result<TokenPrincipal, Failure>>;
515
524
  /** Absolute discovery URL when a mounted API and its OAuth resource have different origins or paths. */
516
525
  resourceMetadataUrl?: string | null | ((context: TokenResolutionContext<E>) => string | null);
526
+ /**
527
+ * Optional WWW-Authenticate value for a 401 or 403 refusal, including a resolver's missing-scope
528
+ * failure. Null keeps the default 401 challenge and leaves a 403 without a challenge. This hook
529
+ * changes response metadata only; it cannot admit a refused request.
530
+ */
531
+ challenge?: (failure: Failure, context: TokenResolutionContext<E>) => string | null;
517
532
  /** Absolute RFC 9728 paths for distinct resources; replaces inferred discovery when configured. */
518
533
  resources?: Readonly<Record<string, OAuthResource<E>>>;
519
534
  /**
@@ -852,7 +867,7 @@ declare function operation<C, I extends TSchema, O extends TSchema, const X exte
852
867
  effect: OperationShape['effect'];
853
868
  input: I;
854
869
  output: O;
855
- execute: (context: C, input: StaticDecode<I>) => Promise<Result<Static<O>, Failure>>;
870
+ execute: (context: C, input: StaticDecode$1<I>) => Promise<Result<Static<O>, Failure>>;
856
871
  }): X & {
857
872
  scope: OperationScope;
858
873
  scopeMatch?: ScopeMatch;
@@ -863,7 +878,7 @@ declare function operation<C, I extends TSchema, O extends TSchema, const X exte
863
878
  effect: OperationShape['effect'];
864
879
  input: I;
865
880
  output: O;
866
- execute: (context: C, input: StaticDecode<I>) => Promise<Result<Static<O>, Failure>>;
881
+ execute: (context: C, input: StaticDecode$1<I>) => Promise<Result<Static<O>, Failure>>;
867
882
  };
868
883
  /** The intersection of a union's members: the operations of every composed group. */
869
884
  type Intersection<U> = (U extends unknown ? (value: U) => void : never) extends ((value: infer I) => void) ? I : never;
@@ -1025,7 +1040,7 @@ declare class ApplicationBuilder<E, C, Ops extends Record<string, OperationShape
1025
1040
  };
1026
1041
  } ? {
1027
1042
  body: BinaryBody;
1028
- } : object), input: StaticDecode<I>) => Promise<Result<Static<O>, Failure>>): ApplicationBuilder<E, C, Ops & Record<N, Definition<I, O, X> & {
1043
+ } : object), input: StaticDecode$1<I>) => Promise<Result<Static<O>, Failure>>): ApplicationBuilder<E, C, Ops & Record<N, Definition<I, O, X> & {
1029
1044
  execute: typeof execute;
1030
1045
  }>>;
1031
1046
  /**
@@ -1081,7 +1096,7 @@ declare function parseInput<Schema extends TSchema>(schema: Schema, input: unkno
1081
1096
  declare function parseSchema<Schema extends TSchema>(schema: Schema, input: unknown): Static<Schema>;
1082
1097
  /** Admit a real wire schema once, materialize declared defaults, and decode native TypeBox transforms.
1083
1098
  * Output validation deliberately remains check-only: response data must already be canonical. */
1084
- declare function decodeSchema<Schema extends TSchema>(schema: Schema, input: unknown): StaticDecode<Schema>;
1099
+ declare function decodeSchema<Schema extends TSchema>(schema: Schema, input: unknown): StaticDecode$1<Schema>;
1085
1100
  /** Field issues a refusal carries: enough to correct the input, never an input value. */
1086
1101
  interface InputIssue {
1087
1102
  /** RFC 6901 JSON Pointer to the refused field; empty for the whole input. */
@@ -1096,9 +1111,7 @@ interface InputIssue {
1096
1111
  declare function decodeInput<Schema extends TSchema>(schema: Schema, input: unknown): {
1097
1112
  error?: undefined;
1098
1113
  ok: true;
1099
- value: import("@sinclair/typebox").StaticDecodeIsAny<Schema> extends true ? unknown : (import("@sinclair/typebox").TDecodeType<Schema> & {
1100
- params: [];
1101
- })["static"];
1114
+ value: StaticDecode$1<Schema>;
1102
1115
  } | {
1103
1116
  value?: undefined;
1104
1117
  ok: false;
@@ -1134,7 +1147,7 @@ type InputKeys<P extends TProperties> = { [K in keyof P]: P[K] extends {
1134
1147
  * The type a schema accepts on the wire: a field that is optional or has a default may be omitted, and a
1135
1148
  * field a codec declares (`normalizeSchema`, `transformSchema`, `pipeSchema`) is sent as its source.
1136
1149
  */
1137
- type SchemaInput<S extends TSchema, Depth extends unknown[] = []> = Depth['length'] extends 6 ? Static<S> : typeof WIRE extends keyof S ? S extends WireType<infer W> ? W : never : S extends TObject<infer P> ? { [K in Exclude<keyof P, InputKeys<P>>]: SchemaInput<P[K]>; } & { [K in InputKeys<P>]?: SchemaInput<P[K]>; } : S extends TArray<infer I> ? SchemaInput<I>[] : S extends TUnion<infer U> ? SchemaInput<U[number]> : Static<S>;
1150
+ type SchemaInput<S extends TSchema, Depth extends unknown[] = []> = Depth['length'] extends 6 ? Static<S> : typeof WIRE extends keyof S ? S extends WireType<infer W> ? W : never : S extends TObject<infer P> ? { [K in Exclude<keyof P, InputKeys<P>>]: SchemaInput<P[K], [...Depth, unknown]>; } & { [K in InputKeys<P>]?: SchemaInput<P[K], [...Depth, unknown]>; } : S extends TArray<infer I> ? SchemaInput<I, [...Depth, unknown]>[] : S extends TUnion<infer U> ? SchemaInput<U[number], [...Depth, unknown]> : Static<S>;
1138
1151
  /**
1139
1152
  * One refused field: a code, a message that names the expectation and never the value, and the path to the
1140
1153
  * field.
@@ -1154,7 +1167,7 @@ declare class SchemaValidationError extends TypeError {
1154
1167
  constructor(issues: SchemaIssue[]);
1155
1168
  }
1156
1169
  /** A union of literals: `literalUnion(['open', 'done'])`. */
1157
- declare const literalUnion: <const V extends readonly (string | number | boolean)[]>(values: V) => TUnion<import("@sinclair/typebox").TLiteral<V[number]>[]>;
1170
+ declare const literalUnion: <const V extends readonly (string | number | boolean)[]>(values: V) => TUnion<{ -readonly [K in keyof V]: TLiteral<V[K]>; }>;
1158
1171
  /**
1159
1172
  * The schema with a default that decoding applies when the field is absent, so the field is optional on the
1160
1173
  * wire.
@@ -1224,9 +1237,9 @@ declare const urlSchema: (options: {
1224
1237
  */
1225
1238
  declare function inputSchema<S extends TSchema>(schema: S, options?: {
1226
1239
  stripUnknown?: boolean;
1227
- }): TTransform<TUnsafe<SchemaInput<S>>, StaticDecode<S>>;
1240
+ }): TTransform<TUnsafe<SchemaInput<S>>, StaticDecode$1<S>>;
1228
1241
  /** The same, reading another wire shape `wire` and decoding it into `schema`'s canonical type. */
1229
- declare function inputSchema<S extends TSchema, W extends TSchema>(schema: S, wire: W): TTransform<W, StaticDecode<S>>;
1242
+ declare function inputSchema<S extends TSchema, W extends TSchema>(schema: S, wire: W): TTransform<W, StaticDecode$1<S>>;
1230
1243
  //#endregion
1231
1244
  //#region src/schema-reader.d.ts
1232
1245
  /**
@@ -1235,7 +1248,7 @@ declare function inputSchema<S extends TSchema, W extends TSchema>(schema: S, wi
1235
1248
  */
1236
1249
  type Checked<S extends TSchema> = {
1237
1250
  success: true;
1238
- data: StaticDecode<S>;
1251
+ data: StaticDecode$1<S>;
1239
1252
  error?: never;
1240
1253
  } | {
1241
1254
  success: false;
@@ -1249,7 +1262,7 @@ type Checked<S extends TSchema> = {
1249
1262
  */
1250
1263
  declare function checkSchema<S extends TSchema>(schema: S, input: unknown): Checked<S>;
1251
1264
  /** `checkSchema`, throwing its SchemaValidationError on refusal. */
1252
- declare function readSchema<S extends TSchema>(schema: S, input: unknown): StaticDecode<S>;
1265
+ declare function readSchema<S extends TSchema>(schema: S, input: unknown): StaticDecode$1<S>;
1253
1266
  //#endregion
1254
1267
  //#region src/pagination.d.ts
1255
1268
  /**
@@ -1613,7 +1626,10 @@ declare function retryAfterSeconds(value: string | null, nowMs: number, maximum?
1613
1626
  * schemas of its paths and components (TypeBox Recursive/Ref) become components, as `bundleSchemas`
1614
1627
  * describes.
1615
1628
  */
1616
- declare function createOpenApi<E, C, O extends Record<string, OperationShape>>(manifest: AppManifest<E, C, O>): Record<string, unknown>;
1629
+ declare function createOpenApi<E, C, O extends Record<string, OperationShape>>(manifest: AppManifest<E, C, O>, options?: {
1630
+ /** Adapter-owned operation metadata; schemas in extensions share the document's components. */
1631
+ operationExtensions?: (name: string, operation: OperationShape) => Record<`x-${string}`, unknown>;
1632
+ }): Record<string, unknown>;
1617
1633
  //#endregion
1618
1634
  //#region src/execution.d.ts
1619
1635
  /**
@@ -1627,4 +1643,4 @@ declare function executeOperation<E, C, O extends Record<string, OperationShape>
1627
1643
  /** Checks the application, then hands it back unchanged. */
1628
1644
  declare function defineApp<Env, C>(): <const Ops extends Record<string, OperationShape>>(manifest: AppManifest<Env, C, Ops>) => AppManifest<Env, C, Ops>;
1629
1645
  //#endregion
1630
- export { PageQuery as $, telemetryEnabled as $t, EmptyInputSchema as A, FailureData as An, AppManifest as At, EmailAddressSchema as B, parseTraceParent as Bn, composeOperations as Bt, operationPathParameters as C, isResult as Cn, decodeInput as Ct, RouteContext as D, ErrorDefinition as Dn, ApplicationBuilder as Dt, HttpTransport as E, ErrorCatalog as En, parseSchema as Et, Type$2 as F, DurableCorrelation as Fn, McpGuide as Ft, PhoneNumberSchema as G, AdmissionObservation as Gt, HttpsUrlSchema as H, AttachmentOutputSchema as Hn, operation as Ht, UuidSchema as I, TraceParent as In, McpSkill as It, SignedUrl as J, Observer as Jt, PostalAddress as K, BackgroundContext as Kt, t$1 as L, createRequestId as Ln, OperationMiddleware as Lt, Static$2 as M, defineErrors as Mn, Invocation as Mt, StaticDecode$1 as N, resultSchema as Nn, InvocationAuthority as Nt, TransportContext as O, ErrorFactory as On, ApplicationConfiguration as Ot, TSchema$2 as P, standardErrors as Pn, McpConfiguration as Pt, PageInfoSchema as Q, reportUnexpected as Qt, DeletedObject as R, durableCorrelation as Rn, OperationScope as Rt, isPathParameterValue as S, err as Sn, InputIssue as St, HttpRoute as T, DefinedErrors as Tn, parseInput as Tt, NamedReference as U, operationMatchesScopes as Ut, HexColorSchema as V, Attachment as Vn, isPublicOperation as Vt, NamedReferenceSchema as W, operationScopes as Wt, Page as X, diagnosticsEnabled as Xt, SignedUrlSchema as Y, TelemetryConfig as Yt, PageInfo as Z, recordExecution as Zt, HttpRouteDefinition as _, matchesScopes as _n, refineSchema as _t, Type$1 as a, TokenClient as an, readSchema as at, decodePathParameter as b, Result as bn, transformSchema as bt, isJsonMediaType as c, TokenPrincipal as cn, SchemaValidationError as ct, retryAfterSeconds as d, createTokenAuthorization as dn, inputSchema as dt, withDiagnostics as en, PageQueryFields as et, BodyReadOptions as f, createTokenVerifier as fn, inspectSchema as ft, readBodyText as g, ScopeMatch as gn, pipeSchema as gt, readBodyBytes as h, protectedResourceMetadata as hn, normalizeSchema as ht, TSchema$1 as i, TokenClaims as in, checkSchema as it, OrganizationIdSchema as j, FailureSchema as jn, Exposure as jt, createHttpHandler as k, Failure as kn, maximus as kt, readJsonBody as l, TokenResolutionContext as ln, defaultSchema as lt, HttpBodyFailureReason as m, OAuthResource as mn, looseObject as mt, executeOperation as n, PrincipalSchema as nn, pageLimit as nt, t as o, TokenDevelopment as on, SchemaInput as ot, HttpBodyFailure as p, projectToken as pn, literalUnion as pt, PostalAddressSchema as q, ExecutionObservation as qt, Static$1 as r, TokenAlgorithm as rn, Checked as rt, createOpenApi as s, TokenPolicy as sn, SchemaIssue as st, defineApp as t, Principal as tn, TPage as tt, readJsonResponse as u, TokenScheme as un, extendObject as ut, HttpRouteMatch as v, BinaryBody as vn, strictObject as vt, HttpOptions as w, ok as wn, decodeSchema as wt, isInputHeaderName as x, Success as xn, urlSchema as xt, createHttpRouteResolver as y, FailureResult as yn, stripObject as yt, DeletedObjectSchema as z, isRequestId as zn, OperationShape as zt };
1646
+ export { PageQueryFields as $, withDiagnostics as $t, EmptyInputSchema as A, FailureData as An, Exposure as At, HexColorSchema as B, parseTraceParent as Bn, isPublicOperation as Bt, operationPathParameters as C, isResult as Cn, decodeSchema as Ct, RouteContext as D, ErrorDefinition as Dn, ApplicationConfiguration as Dt, HttpTransport as E, ErrorCatalog as En, ApplicationBuilder as Et, UuidSchema as F, DurableCorrelation as Fn, McpSkill as Ft, PostalAddress as G, BackgroundContext as Gt, NamedReference as H, AttachmentOutputSchema as Hn, operationMatchesScopes as Ht, t$1 as I, TraceParent as In, OperationMiddleware as It, SignedUrlSchema as J, TelemetryConfig as Jt, PostalAddressSchema as K, ExecutionObservation as Kt, DeletedObject as L, createRequestId as Ln, OperationScope as Lt, Static$2 as M, defineErrors as Mn, InvocationAuthority as Mt, TSchema$2 as N, resultSchema as Nn, McpConfiguration as Nt, TransportContext as O, ErrorFactory as On, maximus as Ot, Type$2 as P, standardErrors as Pn, McpGuide as Pt, PageQuery as Q, telemetryEnabled as Qt, DeletedObjectSchema as R, durableCorrelation as Rn, OperationShape as Rt, isPathParameterValue as S, err as Sn, decodeInput as St, HttpRoute as T, DefinedErrors as Tn, parseSchema as Tt, NamedReferenceSchema as U, operationScopes as Ut, HttpsUrlSchema as V, Attachment as Vn, operation as Vt, PhoneNumberSchema as W, AdmissionObservation as Wt, PageInfo as X, recordExecution as Xt, Page as Y, diagnosticsEnabled as Yt, PageInfoSchema as Z, reportUnexpected as Zt, HttpRouteDefinition as _, StaticDecode$1 as _n, strictObject as _t, Type$1 as a, TokenDevelopment as an, SchemaInput as at, decodePathParameter as b, Result as bn, urlSchema as bt, isJsonMediaType as c, TokenResolutionContext as cn, defaultSchema as ct, retryAfterSeconds as d, createTokenVerifier as dn, inspectSchema as dt, Principal as en, TPage as et, BodyReadOptions as f, projectToken as fn, literalUnion as ft, readBodyText as g, matchesScopes as gn, refineSchema as gt, readBodyBytes as h, ScopeMatch as hn, pipeSchema as ht, TSchema$1 as i, TokenClient as in, readSchema as it, OrganizationIdSchema as j, FailureSchema as jn, Invocation as jt, createHttpHandler as k, Failure as kn, AppManifest as kt, readJsonBody as l, TokenScheme as ln, extendObject as lt, HttpBodyFailureReason as m, protectedResourceMetadata as mn, normalizeSchema as mt, executeOperation as n, TokenAlgorithm as nn, Checked as nt, t as o, TokenPolicy as on, SchemaIssue as ot, HttpBodyFailure as p, OAuthResource as pn, looseObject as pt, SignedUrl as q, Observer as qt, Static$1 as r, TokenClaims as rn, checkSchema as rt, createOpenApi as s, TokenPrincipal as sn, SchemaValidationError as st, defineApp as t, PrincipalSchema as tn, pageLimit as tt, readJsonResponse as u, createTokenAuthorization as un, inputSchema as ut, HttpRouteMatch as v, BinaryBody as vn, stripObject as vt, HttpOptions as w, ok as wn, parseInput as wt, isInputHeaderName as x, Success as xn, InputIssue as xt, createHttpRouteResolver as y, FailureResult as yn, transformSchema as yt, EmailAddressSchema as z, isRequestId as zn, composeOperations as zt };
@@ -1,4 +1,4 @@
1
- import { kn as Failure, r as Static, zt as OperationShape } from "../chunks/types-CGwAhnTE.js";
1
+ import { Rt as OperationShape, kn as Failure, r as Static } from "../chunks/types-B1C3Ogo5.js";
2
2
  //#region src/client/client.d.ts
3
3
  /** What every HTTP operation answers: its data on success, its failure otherwise, and the request id. */
4
4
  export type Envelope<T> = {
@@ -1,4 +1,4 @@
1
- import { $t as telemetryEnabled, Bn as parseTraceParent, Fn as DurableCorrelation, In as TraceParent, Jt as Observer, Kt as BackgroundContext, Ln as createRequestId, Qt as reportUnexpected, Rn as durableCorrelation, Xt as diagnosticsEnabled, Yt as TelemetryConfig, Zt as recordExecution, en as withDiagnostics, qt as ExecutionObservation, zn as isRequestId } from "./chunks/types-CGwAhnTE.js";
1
+ import { $t as withDiagnostics, Bn as parseTraceParent, Fn as DurableCorrelation, Gt as BackgroundContext, In as TraceParent, Jt as TelemetryConfig, Kt as ExecutionObservation, Ln as createRequestId, Qt as telemetryEnabled, Rn as durableCorrelation, Xt as recordExecution, Yt as diagnosticsEnabled, Zt as reportUnexpected, qt as Observer, zn as isRequestId } from "./chunks/types-B1C3Ogo5.js";
2
2
  //#region src/internal/diagnostics.d.ts
3
3
  /**
4
4
  * What diagnostics may say about an error: its name, its causes' names, its issue count and its stack
package/dist/errors.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { An as FailureData, Dn as ErrorDefinition, En as ErrorCatalog, Mn as defineErrors, Nn as resultSchema, On as ErrorFactory, Pn as standardErrors, Tn as DefinedErrors, jn as FailureSchema, kn as Failure, zn as isRequestId } from "./chunks/types-CGwAhnTE.js";
1
+ import { An as FailureData, Dn as ErrorDefinition, En as ErrorCatalog, Mn as defineErrors, Nn as resultSchema, On as ErrorFactory, Pn as standardErrors, Tn as DefinedErrors, jn as FailureSchema, kn as Failure, zn as isRequestId } from "./chunks/types-B1C3Ogo5.js";
2
2
  export { DefinedErrors, ErrorCatalog, ErrorDefinition, ErrorFactory, Failure, FailureData, FailureSchema, defineErrors, isRequestId, resultSchema, standardErrors };
@@ -1,2 +1,2 @@
1
- import { C as operationPathParameters, S as isPathParameterValue, _ as HttpRouteDefinition, b as decodePathParameter, v as HttpRouteMatch, x as isInputHeaderName, y as createHttpRouteResolver } from "./chunks/types-CGwAhnTE.js";
1
+ import { C as operationPathParameters, S as isPathParameterValue, _ as HttpRouteDefinition, b as decodePathParameter, v as HttpRouteMatch, x as isInputHeaderName, y as createHttpRouteResolver } from "./chunks/types-B1C3Ogo5.js";
2
2
  export { HttpRouteDefinition, HttpRouteMatch, createHttpRouteResolver, decodePathParameter, isInputHeaderName, isPathParameterValue, operationPathParameters };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as PageQuery, A as EmptyInputSchema, An as FailureData, At as AppManifest, B as EmailAddressSchema, Cn as isResult, D as RouteContext, Dn as ErrorDefinition, Dt as ApplicationBuilder, E as HttpTransport, En as ErrorCatalog, Et as parseSchema, Ft as McpGuide, G as PhoneNumberSchema, Gt as AdmissionObservation, H as HttpsUrlSchema, Hn as AttachmentOutputSchema, I as UuidSchema, It as McpSkill, J as SignedUrl, Jt as Observer, K as PostalAddress, Kt as BackgroundContext, Lt as OperationMiddleware, Mn as defineErrors, Mt as Invocation, Nn as resultSchema, Nt as InvocationAuthority, O as TransportContext, On as ErrorFactory, Ot as ApplicationConfiguration, Pn as standardErrors, Pt as McpConfiguration, Q as PageInfoSchema, Qt as reportUnexpected, R as DeletedObject, Rt as OperationScope, Sn as err, T as HttpRoute, Tn as DefinedErrors, Tt as parseInput, U as NamedReference, Ut as operationMatchesScopes, V as HexColorSchema, Vn as Attachment, Vt as isPublicOperation, W as NamedReferenceSchema, Wt as operationScopes, X as Page, Y as SignedUrlSchema, Yt as TelemetryConfig, Z as PageInfo, _ as HttpRouteDefinition, _n as matchesScopes, a as Type, an as TokenClient, bn as Result, c as isJsonMediaType, cn as TokenPrincipal, d as retryAfterSeconds, dn as createTokenAuthorization, et as PageQueryFields, f as BodyReadOptions, fn as createTokenVerifier, g as readBodyText, gn as ScopeMatch, h as readBodyBytes, hn as protectedResourceMetadata, i as TSchema, in as TokenClaims, j as OrganizationIdSchema, jn as FailureSchema, jt as Exposure, k as createHttpHandler, kn as Failure, kt as maximus, l as readJsonBody, ln as TokenResolutionContext, m as HttpBodyFailureReason, mn as OAuthResource, nn as PrincipalSchema, nt as pageLimit, o as t, on as TokenDevelopment, p as HttpBodyFailure, pn as projectToken, q as PostalAddressSchema, qt as ExecutionObservation, r as Static, rn as TokenAlgorithm, s as createOpenApi, sn as TokenPolicy, tn as Principal, tt as TPage, u as readJsonResponse, un as TokenScheme, v as HttpRouteMatch, vn as BinaryBody, w as HttpOptions, wn as ok, xn as Success, y as createHttpRouteResolver, yn as FailureResult, z as DeletedObjectSchema, zt as OperationShape } from "./chunks/types-CGwAhnTE.js";
1
+ import { $ as PageQueryFields, A as EmptyInputSchema, An as FailureData, At as Exposure, B as HexColorSchema, Bt as isPublicOperation, Cn as isResult, D as RouteContext, Dn as ErrorDefinition, Dt as ApplicationConfiguration, E as HttpTransport, En as ErrorCatalog, Et as ApplicationBuilder, F as UuidSchema, Ft as McpSkill, G as PostalAddress, Gt as BackgroundContext, H as NamedReference, Hn as AttachmentOutputSchema, Ht as operationMatchesScopes, It as OperationMiddleware, J as SignedUrlSchema, Jt as TelemetryConfig, K as PostalAddressSchema, Kt as ExecutionObservation, L as DeletedObject, Lt as OperationScope, Mn as defineErrors, Mt as InvocationAuthority, Nn as resultSchema, Nt as McpConfiguration, O as TransportContext, On as ErrorFactory, Ot as maximus, Pn as standardErrors, Pt as McpGuide, Q as PageQuery, R as DeletedObjectSchema, Rt as OperationShape, Sn as err, T as HttpRoute, Tn as DefinedErrors, Tt as parseSchema, U as NamedReferenceSchema, Ut as operationScopes, V as HttpsUrlSchema, Vn as Attachment, W as PhoneNumberSchema, Wt as AdmissionObservation, X as PageInfo, Y as Page, Z as PageInfoSchema, Zt as reportUnexpected, _ as HttpRouteDefinition, a as Type, an as TokenDevelopment, bn as Result, c as isJsonMediaType, cn as TokenResolutionContext, d as retryAfterSeconds, dn as createTokenVerifier, en as Principal, et as TPage, f as BodyReadOptions, fn as projectToken, g as readBodyText, gn as matchesScopes, h as readBodyBytes, hn as ScopeMatch, i as TSchema, in as TokenClient, j as OrganizationIdSchema, jn as FailureSchema, jt as Invocation, k as createHttpHandler, kn as Failure, kt as AppManifest, l as readJsonBody, ln as TokenScheme, m as HttpBodyFailureReason, mn as protectedResourceMetadata, nn as TokenAlgorithm, o as t, on as TokenPolicy, p as HttpBodyFailure, pn as OAuthResource, q as SignedUrl, qt as Observer, r as Static, rn as TokenClaims, s as createOpenApi, sn as TokenPrincipal, tn as PrincipalSchema, tt as pageLimit, u as readJsonResponse, un as createTokenAuthorization, v as HttpRouteMatch, vn as BinaryBody, w as HttpOptions, wn as ok, wt as parseInput, xn as Success, y as createHttpRouteResolver, yn as FailureResult, z as EmailAddressSchema } from "./chunks/types-B1C3Ogo5.js";
2
2
  export { type AdmissionObservation, type AppManifest, type ApplicationBuilder, type ApplicationConfiguration, type Attachment, AttachmentOutputSchema, type BackgroundContext, type BinaryBody, type BodyReadOptions, type DefinedErrors, type DeletedObject, DeletedObjectSchema, EmailAddressSchema, EmptyInputSchema, type ErrorCatalog, type ErrorDefinition, type ErrorFactory, type ExecutionObservation, type Exposure, type Failure, type FailureData, type FailureResult, FailureSchema, HexColorSchema, type HttpBodyFailure, type HttpBodyFailureReason, type HttpOptions, type HttpRoute, type HttpRouteDefinition, type HttpRouteMatch, type HttpTransport, HttpsUrlSchema, type Invocation, type InvocationAuthority, type McpConfiguration, type McpGuide, type McpSkill, type NamedReference, NamedReferenceSchema, type OAuthResource, type Observer, type OperationMiddleware, type OperationScope, type OperationShape, OrganizationIdSchema, Page, type PageInfo, PageInfoSchema, type PageQuery, PageQueryFields, PhoneNumberSchema, type PostalAddress, PostalAddressSchema, type Principal, PrincipalSchema, type Result, type RouteContext, type ScopeMatch, type SignedUrl, SignedUrlSchema, type Static, type Success, type TPage, type TSchema, type TelemetryConfig, type TokenAlgorithm, type TokenClaims, type TokenClient, type TokenDevelopment, type TokenPolicy, type TokenPrincipal, type TokenResolutionContext, type TokenScheme, type TransportContext, Type, UuidSchema, createHttpHandler, createHttpRouteResolver, createOpenApi, createTokenAuthorization, createTokenVerifier, defineErrors, err, isJsonMediaType, isPublicOperation, isResult, matchesScopes, maximus, ok, operationMatchesScopes, operationScopes, pageLimit, parseInput, parseSchema, projectToken, protectedResourceMetadata, readBodyBytes, readBodyText, readJsonBody, readJsonResponse, reportUnexpected, resultSchema, retryAfterSeconds, standardErrors, t };
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { i as parseSchema, r as parseInput } from "./chunks/validation-DWxKk1Js.js";
2
2
  import { FailureSchema, defineErrors, resultSchema, standardErrors } from "./errors.js";
3
3
  import { n as readBodyBytes, r as readBodyText } from "./chunks/body-BcMbreNd.js";
4
- import { C as operationMatchesScopes, E as matchesScopes, T as operationScopes, a as createTokenVerifier, d as err, f as isResult, i as createTokenAuthorization, o as projectToken, p as ok, r as PrincipalSchema, y as isPublicOperation } from "./chunks/execution-qfZuMSIu.js";
4
+ import { C as operationMatchesScopes, E as matchesScopes, T as operationScopes, a as createTokenVerifier, d as err, f as isResult, i as createTokenAuthorization, o as projectToken, p as ok, r as PrincipalSchema, y as isPublicOperation } from "./chunks/execution-C-ZHm0Ya.js";
5
5
  import { createHttpRouteResolver } from "./http-paths.js";
6
6
  import { _ as pageLimit, c as HexColorSchema, d as PhoneNumberSchema, f as PostalAddressSchema, g as PageQueryFields, h as PageInfoSchema, i as UuidSchema, l as HttpsUrlSchema, m as Page, n as OrganizationIdSchema, o as DeletedObjectSchema, p as SignedUrlSchema, s as EmailAddressSchema, t as EmptyInputSchema, u as NamedReferenceSchema, v as AttachmentOutputSchema } from "./chunks/schemas-q-51wBMQ.js";
7
- import { c as maximus, i as createOpenApi, n as t, r as createHttpHandler, s as protectedResourceMetadata, t as Type } from "./chunks/src-Ph5KHCRP.js";
7
+ import { c as maximus, i as createOpenApi, n as t, r as createHttpHandler, s as protectedResourceMetadata, t as Type } from "./chunks/src-D-JmAzlF.js";
8
8
  import { i as reportUnexpected } from "./chunks/telemetry-DvZgrzZn.js";
9
9
  import { a as retryAfterSeconds, i as readJsonResponse, r as readJsonBody, t as isJsonMediaType } from "./chunks/json-Dwni3u4c.js";
10
10
 
@@ -1,2 +1,2 @@
1
- import { $t as telemetryEnabled, At as AppManifest, Bt as composeOperations, E as HttpTransport, Ht as operation, Kt as BackgroundContext, Lt as OperationMiddleware, Mt as Invocation, Nt as InvocationAuthority, O as TransportContext, Wt as operationScopes, Yt as TelemetryConfig, Zt as recordExecution, _ as HttpRouteDefinition, en as withDiagnostics, n as executeOperation, t as defineApp, v as HttpRouteMatch, w as HttpOptions, y as createHttpRouteResolver, zt as OperationShape } from "./chunks/types-CGwAhnTE.js";
1
+ import { $t as withDiagnostics, E as HttpTransport, Gt as BackgroundContext, It as OperationMiddleware, Jt as TelemetryConfig, Mt as InvocationAuthority, O as TransportContext, Qt as telemetryEnabled, Rt as OperationShape, Ut as operationScopes, Vt as operation, Xt as recordExecution, _ as HttpRouteDefinition, jt as Invocation, kt as AppManifest, n as executeOperation, t as defineApp, v as HttpRouteMatch, w as HttpOptions, y as createHttpRouteResolver, zt as composeOperations } from "./chunks/types-B1C3Ogo5.js";
2
2
  export { type AppManifest, type BackgroundContext, type HttpOptions, type HttpRouteDefinition, type HttpRouteMatch, type HttpTransport, type Invocation, type InvocationAuthority, type OperationMiddleware, type OperationShape, type TelemetryConfig, type TransportContext, composeOperations, createHttpRouteResolver, defineApp, executeOperation, operation, operationScopes, recordExecution, telemetryEnabled, withDiagnostics };
package/dist/internals.js CHANGED
@@ -1,4 +1,4 @@
1
- import { T as operationScopes, n as defineApp, t as executeOperation, v as composeOperations, x as operation } from "./chunks/execution-qfZuMSIu.js";
1
+ import { T as operationScopes, n as defineApp, t as executeOperation, v as composeOperations, x as operation } from "./chunks/execution-C-ZHm0Ya.js";
2
2
  import { createHttpRouteResolver } from "./http-paths.js";
3
3
  import { a as telemetryEnabled, o as withDiagnostics, r as recordExecution } from "./chunks/telemetry-DvZgrzZn.js";
4
4
 
@@ -1,4 +1,4 @@
1
- import { E as HttpTransport } from "../chunks/types-CGwAhnTE.js";
1
+ import { E as HttpTransport } from "../chunks/types-B1C3Ogo5.js";
2
2
  //#region src/mcp/index.d.ts
3
3
  /**
4
4
  * The MCP transport, for `createWorker(app, { transports: [mcp()] })`: serves the operations that declare
package/dist/mcp/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { standardErrors } from "../errors.js";
2
- import { C as operationMatchesScopes, b as mcpOpenWorld, g as MAX_BODY_BYTES_CEILING, m as sha256Hex } from "../chunks/execution-qfZuMSIu.js";
3
- import { a as canonical, o as standaloneSchema } from "../chunks/src-Ph5KHCRP.js";
2
+ import { C as operationMatchesScopes, b as mcpOpenWorld, g as MAX_BODY_BYTES_CEILING, m as sha256Hex } from "../chunks/execution-C-ZHm0Ya.js";
3
+ import { a as canonical, o as standaloneSchema } from "../chunks/src-D-JmAzlF.js";
4
4
  import { i as reportUnexpected } from "../chunks/telemetry-DvZgrzZn.js";
5
5
  import { Type } from "@sinclair/typebox";
6
6
  import { Value } from "@sinclair/typebox/value";
package/dist/schemas.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as PageQuery, A as EmptyInputSchema, B as EmailAddressSchema, Ct as decodeInput, Et as parseSchema, F as Type, G as PhoneNumberSchema, H as HttpsUrlSchema, Hn as AttachmentOutputSchema, I as UuidSchema, J as SignedUrl, K as PostalAddress, L as t, M as Static, N as StaticDecode, P as TSchema, Q as PageInfoSchema, R as DeletedObject, St as InputIssue, Tt as parseInput, U as NamedReference, V as HexColorSchema, Vn as Attachment, W as NamedReferenceSchema, X as Page, Y as SignedUrlSchema, Z as PageInfo, _t as refineSchema, at as readSchema, bt as transformSchema, ct as SchemaValidationError, dt as inputSchema, et as PageQueryFields, ft as inspectSchema, gt as pipeSchema, ht as normalizeSchema, it as checkSchema, j as OrganizationIdSchema, lt as defaultSchema, mt as looseObject, nt as pageLimit, ot as SchemaInput, pt as literalUnion, q as PostalAddressSchema, rt as Checked, st as SchemaIssue, tt as TPage, ut as extendObject, vt as strictObject, wt as decodeSchema, xt as urlSchema, yt as stripObject, z as DeletedObjectSchema } from "./chunks/types-CGwAhnTE.js";
1
+ import { $ as PageQueryFields, A as EmptyInputSchema, B as HexColorSchema, Ct as decodeSchema, F as UuidSchema, G as PostalAddress, H as NamedReference, Hn as AttachmentOutputSchema, I as t, J as SignedUrlSchema, K as PostalAddressSchema, L as DeletedObject, M as Static, N as TSchema, P as Type, Q as PageQuery, R as DeletedObjectSchema, St as decodeInput, Tt as parseSchema, U as NamedReferenceSchema, V as HttpsUrlSchema, Vn as Attachment, W as PhoneNumberSchema, X as PageInfo, Y as Page, Z as PageInfoSchema, _n as StaticDecode, _t as strictObject, at as SchemaInput, bt as urlSchema, ct as defaultSchema, dt as inspectSchema, et as TPage, ft as literalUnion, gt as refineSchema, ht as pipeSchema, it as readSchema, j as OrganizationIdSchema, lt as extendObject, mt as normalizeSchema, nt as Checked, ot as SchemaIssue, pt as looseObject, q as SignedUrl, rt as checkSchema, st as SchemaValidationError, tt as pageLimit, ut as inputSchema, vt as stripObject, wt as parseInput, xt as InputIssue, yt as transformSchema, z as EmailAddressSchema } from "./chunks/types-B1C3Ogo5.js";
2
2
  export { type Attachment, AttachmentOutputSchema, type Checked, type DeletedObject, DeletedObjectSchema, EmailAddressSchema, EmptyInputSchema, HexColorSchema, HttpsUrlSchema, type InputIssue, type NamedReference, NamedReferenceSchema, OrganizationIdSchema, Page, type PageInfo, PageInfoSchema, type PageQuery, PageQueryFields, PhoneNumberSchema, type PostalAddress, PostalAddressSchema, type SchemaInput, type SchemaIssue, SchemaValidationError, type SignedUrl, SignedUrlSchema, type Static, type StaticDecode, type TPage, type TSchema, Type, UuidSchema, checkSchema, decodeInput, decodeSchema, defaultSchema, extendObject, inputSchema, inspectSchema, literalUnion, looseObject, normalizeSchema, pageLimit, parseInput, parseSchema, pipeSchema, readSchema, refineSchema, strictObject, stripObject, t, transformSchema, urlSchema };
@@ -37,7 +37,7 @@ export declare const STANDARD_FAILURES: {
37
37
  readonly notFound: {
38
38
  readonly code: 'NOT_FOUND';
39
39
  readonly status: 404;
40
- readonly message: 'The requested operation does not exist.';
40
+ readonly message: 'The requested resource does not exist.';
41
41
  };
42
42
  readonly methodNotAllowed: {
43
43
  readonly code: 'HTTP_METHOD_NOT_ALLOWED';
@@ -19,7 +19,7 @@ const STANDARD_FAILURES = {
19
19
  notFound: {
20
20
  code: "NOT_FOUND",
21
21
  status: 404,
22
- message: "The requested operation does not exist."
22
+ message: "The requested resource does not exist."
23
23
  },
24
24
  methodNotAllowed: {
25
25
  code: "HTTP_METHOD_NOT_ALLOWED",
@@ -1,4 +1,4 @@
1
- import { bn as Result, kn as Failure } from "./chunks/types-CGwAhnTE.js";
1
+ import { bn as Result, kn as Failure } from "./chunks/types-B1C3Ogo5.js";
2
2
  //#region src/webhooks.d.ts
3
3
  /** Why a webhook signature was refused: absent, malformed, outside the time tolerance, or not matching. */
4
4
  export declare const WEBHOOK_SIGNATURE_FAILURES: readonly ['missing', 'malformed', 'expired', 'mismatch'];
@@ -1,4 +1,4 @@
1
- import { At as AppManifest, T as HttpRoute, bn as Result, i as TSchema, kn as Failure, r as Static, tn as Principal, w as HttpOptions, zt as OperationShape } from "../chunks/types-CGwAhnTE.js";
1
+ import { Rt as OperationShape, T as HttpRoute, bn as Result, en as Principal, i as TSchema, kn as Failure, kt as AppManifest, r as Static, w as HttpOptions } from "../chunks/types-B1C3Ogo5.js";
2
2
  import { DurableObject, WorkerEntrypoint } from "cloudflare:workers";
3
3
  //#region src/workers/assets.d.ts
4
4
  /** A Workers static-assets binding; product stores and secrets never satisfy this capability. */
@@ -1,8 +1,8 @@
1
1
  import { r as parseInput } from "../chunks/validation-DWxKk1Js.js";
2
2
  import { r as isRequestId } from "../chunks/correlation-gaiEoMBr.js";
3
3
  import { standardErrors } from "../errors.js";
4
- import { d as err, p as ok, r as PrincipalSchema, t as executeOperation } from "../chunks/execution-qfZuMSIu.js";
5
- import { r as createHttpHandler } from "../chunks/src-Ph5KHCRP.js";
4
+ import { d as err, p as ok, r as PrincipalSchema, t as executeOperation } from "../chunks/execution-C-ZHm0Ya.js";
5
+ import { r as createHttpHandler } from "../chunks/src-D-JmAzlF.js";
6
6
  import { a as telemetryEnabled, r as recordExecution, s as withTelemetry } from "../chunks/telemetry-DvZgrzZn.js";
7
7
  import { DurableObject, WorkerEntrypoint, tracing } from "cloudflare:workers";
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbol-ai/maximus",
3
- "version": "7.1.0",
3
+ "version": "7.2.1",
4
4
  "description": "Maximus: define a service once and serve it over HTTP, MCP and Worker RPC on Cloudflare Workers, with its OpenAPI, typed client and CLI.",
5
5
  "keywords": [
6
6
  "api",