@arbol-ai/maximus 8.5.0 → 8.5.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.
- package/dist/chunks/{define-app-CQpWqqqE.js → define-app-CvTei9a8.js} +8 -5
- package/dist/chunks/{execution-Bpq6s4nA.js → execution-BJGx5Kxb.js} +1 -1
- package/dist/chunks/{http-layout-BcYH4I2w.js → http-layout-pnmGxDOY.js} +1 -1
- package/dist/chunks/openapi-CoKhMm1C.js +792 -0
- package/dist/chunks/{openapi-file-BK8zET5U.js → openapi-file-Crm9fT4U.js} +1 -1
- package/dist/chunks/{pages-B7ysoFAM.js → pages-D0zdaO0w.js} +1 -1
- package/dist/chunks/{runtime-8OpxAvsI.js → runtime-CUhyce4d.js} +3 -3
- package/dist/chunks/{server-CVhTLNj2.js → server-tygU8dw_.js} +1 -1
- package/dist/chunks/{src-B_LthUVU.js → src-DfMzoKE_.js} +5 -4
- package/dist/chunks/{openapi-D2rds7vy.js → tokens-D4gRyyPu.js} +205 -991
- package/dist/index.js +3 -2
- package/dist/internals.js +2 -2
- package/dist/mcp/index.js +1 -1
- package/dist/project/index.js +2 -2
- package/dist/tooling/cli.js +1 -1
- package/dist/vite/index.js +3 -3
- package/dist/workers/runtime.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4,11 +4,12 @@ import { i as standardErrors, n as defineErrors, r as resultSchema, t as Failure
|
|
|
4
4
|
import { n as readBodyBytes, r as readBodyText } from "./chunks/body-DOIHwIIl.js";
|
|
5
5
|
import { t as createHttpRouteResolver } from "./chunks/http-paths-D043DkJv.js";
|
|
6
6
|
import { S as matchesScopes, b as operationScopes, m as isPublicOperation, v as operationMatchesScopes } from "./chunks/tasks-DYdY-dBI.js";
|
|
7
|
-
import {
|
|
7
|
+
import { a as projectToken, d as projectAccessToken, n as createTokenAuthorization, p as PrincipalSchema, r as createTokenVerifier } from "./chunks/tokens-D4gRyyPu.js";
|
|
8
8
|
import { n as isResult, r as ok, t as err } from "./chunks/result-CF4OzG9O.js";
|
|
9
|
-
import { a as maximus, i as protectedResourceMetadata, n as t, r as createHttpHandler, t as Type } from "./chunks/src-
|
|
9
|
+
import { a as maximus, i as protectedResourceMetadata, n as t, r as createHttpHandler, t as Type } from "./chunks/src-DfMzoKE_.js";
|
|
10
10
|
import { a as defineTelemetry, i as defineHandler, n as defineAuth, o as defineTool, r as defineContext } from "./chunks/handler-DSpyrWc-.js";
|
|
11
11
|
import { o as reportUnexpected } from "./chunks/telemetry-BtxJh69Q.js";
|
|
12
|
+
import { n as createRpcOpenApi, t as createOpenApi } from "./chunks/openapi-CoKhMm1C.js";
|
|
12
13
|
import { a as retryAfterSeconds, i as readJsonResponse, r as readJsonBody, t as isJsonMediaType } from "./chunks/json-B14evE6-.js";
|
|
13
14
|
import { t as publicDestination } from "./chunks/destination-5xTX0b7E.js";
|
|
14
15
|
|
package/dist/internals.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as defineApp } from "./chunks/define-app-
|
|
1
|
+
import { n as defineApp } from "./chunks/define-app-CvTei9a8.js";
|
|
2
2
|
import { t as createHttpRouteResolver } from "./chunks/http-paths-D043DkJv.js";
|
|
3
3
|
import { b as operationScopes, g as operation, p as composeOperations } from "./chunks/tasks-DYdY-dBI.js";
|
|
4
4
|
import { a as recordExecution, c as withDiagnostics, s as telemetryEnabled } from "./chunks/telemetry-BtxJh69Q.js";
|
|
5
|
-
import { n as recordCapture, t as executeOperation } from "./chunks/execution-
|
|
5
|
+
import { n as recordCapture, t as executeOperation } from "./chunks/execution-BJGx5Kxb.js";
|
|
6
6
|
|
|
7
7
|
export { composeOperations, createHttpRouteResolver, defineApp, executeOperation, operation, operationScopes, recordCapture, recordExecution, telemetryEnabled, withDiagnostics };
|
package/dist/mcp/index.js
CHANGED
|
@@ -13,7 +13,7 @@ function mcp(options = {}) {
|
|
|
13
13
|
scope: (namespace) => `${namespace}:mcp:use`,
|
|
14
14
|
maxBodyBytes: (operations, fallback) => Math.max(fallback, ...operations.flatMap(([, op]) => op.mcp ? [op.maxBodyBytes ?? fallback] : [])),
|
|
15
15
|
async handle(context) {
|
|
16
|
-
const { handleMcp } = await import("../chunks/server-
|
|
16
|
+
const { handleMcp } = await import("../chunks/server-tygU8dw_.js");
|
|
17
17
|
return handleMcp(context);
|
|
18
18
|
}
|
|
19
19
|
};
|
package/dist/project/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as standardErrors } from "../chunks/errors-BoutSmiy.js";
|
|
2
|
-
import { r as createAssetHandler, t as createWorker } from "../chunks/runtime-
|
|
3
|
-
import { t as checkPagePaths } from "../chunks/pages-
|
|
2
|
+
import { r as createAssetHandler, t as createWorker } from "../chunks/runtime-CUhyce4d.js";
|
|
3
|
+
import { t as checkPagePaths } from "../chunks/pages-D0zdaO0w.js";
|
|
4
4
|
|
|
5
5
|
// src/project/handlers.ts
|
|
6
6
|
/** Compose file handlers with explicit fallbacks, preserving the platform's execution context. */
|
package/dist/tooling/cli.js
CHANGED
|
@@ -139,7 +139,7 @@ async function run() {
|
|
|
139
139
|
return;
|
|
140
140
|
}
|
|
141
141
|
case "openapi": {
|
|
142
|
-
const { writeOpenApi } = await import("../chunks/openapi-file-
|
|
142
|
+
const { writeOpenApi } = await import("../chunks/openapi-file-Crm9fT4U.js");
|
|
143
143
|
const written = await writeOpenApi(rest[0] ?? ".", {
|
|
144
144
|
...values.out === void 0 ? {} : { out: values.out },
|
|
145
145
|
check: values.check
|
package/dist/vite/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as checkMcpResourceNames } from "../chunks/define-app-
|
|
1
|
+
import { t as checkMcpResourceNames } from "../chunks/define-app-CvTei9a8.js";
|
|
2
2
|
import { a as operationPathParameters } from "../chunks/http-paths-D043DkJv.js";
|
|
3
|
-
import { a as ownsPrefix, t as VERSIONED_PATH } from "../chunks/http-layout-
|
|
4
|
-
import { t as checkPagePaths } from "../chunks/pages-
|
|
3
|
+
import { a as ownsPrefix, t as VERSIONED_PATH } from "../chunks/http-layout-pnmGxDOY.js";
|
|
4
|
+
import { t as checkPagePaths } from "../chunks/pages-D0zdaO0w.js";
|
|
5
5
|
import { t as routeName } from "../chunks/names-ncD7A3DV.js";
|
|
6
6
|
import { a as projectPath, i as projectFiles, o as publicFiles, r as compareNames, s as routeShape, t as PROJECT_DIRECTORIES } from "../chunks/project-files-C0OX7MQQ.js";
|
|
7
7
|
import { existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
package/dist/workers/runtime.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbol-ai/maximus",
|
|
3
|
-
"version": "8.5.
|
|
3
|
+
"version": "8.5.1",
|
|
4
4
|
"description": "Maximus: define a service once and serve it over HTTP, MCP and Worker RPC on Cloudflare Workers, configured in vite.config.ts, with its OpenAPI and CLI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api",
|