From 7b19b379242319bd05b4c6ed3a552c399f7b82f2 Mon Sep 17 00:00:00 2001 From: ship Date: Tue, 11 Aug 2026 13:56:45 +0800 Subject: [PATCH] =?UTF-8?q?ship=201.4.37=EF=BC=9AArcrun@d8bbf2241bd6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- arcrun-code/worker.mjs | 102 ++-- arcrun-cypher-executor/worker.mjs | 331 +++++++------ arcrun-http-request/worker.mjs | 52 +-- arcrun-kbdb/worker.mjs | 74 +-- arcrun-mcp/worker.mjs | 753 +++++++++++++++--------------- manifest.json | 51 +- 7 files changed, 678 insertions(+), 687 deletions(-) diff --git a/README.md b/README.md index af60289..db19348 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Served via jsDelivr; fetched automatically during install — you never need to - `arcrun-mcp/` — **arcrun-mcp** - `daemon/` — 桌面 App(Mac/Windows)安裝檔 -Built from `Arcrun@788295e` by `installer/scripts/ship.mjs`(arcrun-rag repo,release 1.4.36,built 2026-08-11)。 +Built from `Arcrun@d8bbf2241bd6` by `installer/scripts/ship.mjs`(arcrun-rag repo,release 1.4.37,built 2026-08-11)。 ⚠️ 這份檔案由出貨管線每次自動重寫(`installer/scripts/render-bundles-readme.mjs`)—— 不要手動改這裡列的零件清單,要改就改 `installer/scripts/bundle-components.mjs`(唯一真相源,改一個地方兩條出貨路徑同時生效)。 diff --git a/arcrun-code/worker.mjs b/arcrun-code/worker.mjs index 3281c7c..4096fc7 100644 --- a/arcrun-code/worker.mjs +++ b/arcrun-code/worker.mjs @@ -1,22 +1,17 @@ var __defProp = Object.defineProperty; var __getOwnPropNames = Object.getOwnPropertyNames; -var __esm = (fn, res, err2) => function __init() { - if (err2) throw err2[0]; - try { - return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res; - } catch (e) { - throw err2 = [e], e; - } +var __esm = (fn, res) => function __init() { + return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res; }; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; -// ../../matrix/arcrun/registry/components/code/node_modules/@jitl/quickjs-ffi-types/dist/index.mjs +// registry/components/code/node_modules/@jitl/quickjs-ffi-types/dist/index.mjs var EvalFlags, IntrinsicsFlags, JSPromiseStateEnum, GetOwnPropertyNamesFlags, IsEqualOp; var init_dist = __esm({ - "../../matrix/arcrun/registry/components/code/node_modules/@jitl/quickjs-ffi-types/dist/index.mjs"() { + "registry/components/code/node_modules/@jitl/quickjs-ffi-types/dist/index.mjs"() { EvalFlags = { JS_EVAL_TYPE_GLOBAL: 0, JS_EVAL_TYPE_MODULE: 1, JS_EVAL_TYPE_DIRECT: 2, JS_EVAL_TYPE_INDIRECT: 3, JS_EVAL_TYPE_MASK: 3, JS_EVAL_FLAG_STRICT: 8, JS_EVAL_FLAG_STRIP: 16, JS_EVAL_FLAG_COMPILE_ONLY: 32, JS_EVAL_FLAG_BACKTRACE_BARRIER: 64 }; IntrinsicsFlags = { BaseObjects: 1, Date: 2, Eval: 4, StringNormalize: 8, RegExp: 16, RegExpCompiler: 32, JSON: 64, Proxy: 128, MapSet: 256, TypedArrays: 512, Promise: 1024, BigInt: 2048, BigFloat: 4096, BigDecimal: 8192, OperatorOverloading: 16384, BignumExt: 32768 }; JSPromiseStateEnum = { Pending: 0, Fulfilled: 1, Rejected: 2 }; @@ -25,7 +20,7 @@ var init_dist = __esm({ } }); -// ../../matrix/arcrun/registry/components/code/node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs +// registry/components/code/node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs function debugLog(...args) { QTS_DEBUG && console.log("quickjs-emscripten:", ...args); } @@ -107,9 +102,9 @@ function applyBaseRuntimeOptions(runtime, options) { function applyModuleEvalRuntimeOptions(runtime, options) { options.moduleLoader && runtime.setModuleLoader(options.moduleLoader), options.shouldInterrupt && runtime.setInterruptHandler(options.shouldInterrupt), options.memoryLimitBytes !== void 0 && runtime.setMemoryLimit(options.memoryLimitBytes), options.maxStackSizeBytes !== void 0 && runtime.setMaxStackSize(options.maxStackSizeBytes); } -var __defProp2, __export2, QTS_DEBUG, errors_exports, QuickJSUnwrapError, QuickJSWrongOwner, QuickJSUseAfterFree, QuickJSNotImplemented, QuickJSAsyncifyError, QuickJSAsyncifySuspended, QuickJSMemoryLeakDetected, QuickJSEmscriptenModuleError, QuickJSUnknownIntrinsic, QuickJSPromisePending, QuickJSEmptyGetOwnPropertyNames, AwaitYield, UsingDisposable, SymbolDispose, prototypeAsAny, Lifetime, StaticLifetime, WeakLifetime, Scope, AbstractDisposableResult, DisposableSuccess, DisposableFail, DisposableResult, QuickJSDeferredPromise, ModuleMemory, DefaultIntrinsics, QuickJSIterator, ContextMemory, QuickJSContext, QuickJSRuntime, QuickJSEmscriptenModuleCallbacks, QuickJSModuleCallbacks, QuickJSWASMModule; +var __defProp2, __export2, QTS_DEBUG, errors_exports, QuickJSUnwrapError, QuickJSWrongOwner, QuickJSUseAfterFree, QuickJSNotImplemented, QuickJSAsyncifyError, QuickJSAsyncifySuspended, QuickJSMemoryLeakDetected, QuickJSEmscriptenModuleError, QuickJSUnknownIntrinsic, QuickJSPromisePending, QuickJSEmptyGetOwnPropertyNames, AwaitYield, UsingDisposable, SymbolDispose, prototypeAsAny, Lifetime, StaticLifetime, WeakLifetime, Scope, AbstractDisposableResult, DisposableSuccess, DisposableFail, DisposableResult, QuickJSDeferredPromise, ModuleMemory, UnstableSymbol, DefaultIntrinsics, QuickJSIterator, ContextMemory, QuickJSContext, QuickJSRuntime, QuickJSEmscriptenModuleCallbacks, QuickJSModuleCallbacks, QuickJSWASMModule; var init_chunk_JTKJZQYV = __esm({ - "../../matrix/arcrun/registry/components/code/node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs"() { + "registry/components/code/node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs"() { init_dist(); init_dist(); __defProp2 = Object.defineProperty; @@ -195,7 +190,7 @@ var init_chunk_JTKJZQYV = __esm({ return this.dispose(); } }; - SymbolDispose = Symbol.dispose ?? /* @__PURE__ */ Symbol.for("Symbol.dispose"); + SymbolDispose = Symbol.dispose ?? Symbol.for("Symbol.dispose"); prototypeAsAny = UsingDisposable.prototype; prototypeAsAny[SymbolDispose] || (prototypeAsAny[SymbolDispose] = function() { return this.dispose(); @@ -414,6 +409,7 @@ Lifetime used`) : new QuickJSUseAfterFree("Lifetime not alive"); return this.module._free(ptr), str; } }; + UnstableSymbol = Symbol("Unstable"); DefaultIntrinsics = Object.freeze({ BaseObjects: true, Date: true, Eval: true, StringNormalize: true, RegExp: true, JSON: true, Proxy: true, MapSet: true, TypedArrays: true, Promise: true }); QuickJSIterator = class extends UsingDisposable { constructor(handle, context) { @@ -777,7 +773,7 @@ ${cause.stack}Host: ${hostStack}`), Object.assign(exception, rest), exception; } return result.value; } - [/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")]() { + [Symbol.for("nodejs.util.inspect.custom")]() { return this.alive ? `${this.constructor.name} { ctx: ${this.ctx.value} rt: ${this.rt.value} }` : `${this.constructor.name} { disposed }`; } getFunction(fn_id) { @@ -913,7 +909,7 @@ ${cause.stack}Host: ${hostStack}`), Object.assign(exception, rest), exception; debugLog(...msg) { this._debugMode && console.log("quickjs-emscripten:", ...msg); } - [/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")]() { + [Symbol.for("nodejs.util.inspect.custom")]() { return this.alive ? `${this.constructor.name} { rt: ${this.rt.value} }` : `${this.constructor.name} { disposed }`; } getSystemContext() { @@ -1041,7 +1037,7 @@ Attempted to suspend at:`); } }); -// ../../matrix/arcrun/registry/components/code/node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs +// registry/components/code/node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs var module_6F3E5H7Y_exports = {}; __export(module_6F3E5H7Y_exports, { QuickJSModuleCallbacks: () => QuickJSModuleCallbacks, @@ -1050,19 +1046,19 @@ __export(module_6F3E5H7Y_exports, { applyModuleEvalRuntimeOptions: () => applyModuleEvalRuntimeOptions }); var init_module_6F3E5H7Y = __esm({ - "../../matrix/arcrun/registry/components/code/node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs"() { + "registry/components/code/node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs"() { init_chunk_JTKJZQYV(); } }); -// ../../matrix/arcrun/registry/components/code/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs +// registry/components/code/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs var ffi_exports = {}; __export(ffi_exports, { QuickJSFFI: () => QuickJSFFI }); var QuickJSFFI; var init_ffi = __esm({ - "../../matrix/arcrun/registry/components/code/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs"() { + "registry/components/code/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs"() { QuickJSFFI = class { constructor(module) { this.module = module; @@ -1140,7 +1136,7 @@ var init_ffi = __esm({ } }); -// ../../matrix/arcrun/registry/components/code/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.browser.mjs +// registry/components/code/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.browser.mjs var emscripten_module_browser_exports = {}; __export(emscripten_module_browser_exports, { default: () => emscripten_module_browser_default @@ -1343,10 +1339,10 @@ async function QuickJSRaw(moduleArg = {}) { x ? (0 === h && (h = ra()), g[m] = x(e[m])) : g[m] = e[m]; } b = a(...g); - return b = (function(k) { + return b = function(k) { 0 !== h && sa(h); return "string" === d ? R(k) : "boolean" === d ? !!k : k; - })(b); + }(b); }; c.wasmMemory ? r = c.wasmMemory : r = new WebAssembly.Memory({ initial: (c.INITIAL_MEMORY || 16777216) / 65536, maximum: 32768 }); K(); @@ -1468,7 +1464,7 @@ async function QuickJSRaw(moduleArg = {}) { }, t: function(a, d) { c.callbacks.freeHostRef(void 0, a, d); } }, Z; - Z = await (async function() { + Z = await async function() { function a(b) { b = Z = b.exports; c._malloc = b.v; @@ -1555,7 +1551,7 @@ async function QuickJSRaw(moduleArg = {}) { }); M ??= c.locateFile ? c.locateFile ? c.locateFile("emscripten-module.wasm", u) : u + "emscripten-module.wasm" : new URL("emscripten-module.wasm", import.meta.url).href; return a((await ea(d)).instance); - })(); + }(); (function() { function a() { c.calledRun = true; @@ -1587,12 +1583,12 @@ async function QuickJSRaw(moduleArg = {}) { } var emscripten_module_browser_default; var init_emscripten_module_browser = __esm({ - "../../matrix/arcrun/registry/components/code/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.browser.mjs"() { + "registry/components/code/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.browser.mjs"() { emscripten_module_browser_default = QuickJSRaw; } }); -// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/compose.js +// registry/components/code/node_modules/hono/dist/compose.js var compose = (middleware, onError, onNotFound) => { return (context, next) => { let index = -1; @@ -1636,10 +1632,10 @@ var compose = (middleware, onError, onNotFound) => { }; }; -// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/request/constants.js +// registry/components/code/node_modules/hono/dist/request/constants.js var GET_MATCH_RESULT = /* @__PURE__ */ Symbol(); -// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/utils/body.js +// registry/components/code/node_modules/hono/dist/utils/body.js var parseBody = async (request, options = /* @__PURE__ */ Object.create(null)) => { const { all = false, dot = false } = options; const headers = request instanceof HonoRequest ? request.raw.headers : request.headers; @@ -1711,7 +1707,7 @@ var handleParsingNestedValues = (form, key, value) => { }); }; -// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/utils/url.js +// registry/components/code/node_modules/hono/dist/utils/url.js var splitPath = (path) => { const paths = path.split("/"); if (paths[0] === "") { @@ -1915,7 +1911,7 @@ var getQueryParams = (url, key) => { }; var decodeURIComponent_ = decodeURIComponent; -// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/request.js +// registry/components/code/node_modules/hono/dist/request.js var tryDecodeURIComponent = (str) => tryDecode(str, decodeURIComponent_); var HonoRequest = class { /** @@ -2198,7 +2194,7 @@ var HonoRequest = class { } }; -// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/utils/html.js +// registry/components/code/node_modules/hono/dist/utils/html.js var HtmlEscapedCallbackPhase = { Stringify: 1, BeforeStream: 2, @@ -2240,7 +2236,7 @@ var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) => } }; -// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/context.js +// registry/components/code/node_modules/hono/dist/context.js var TEXT_PLAIN = "text/plain; charset=UTF-8"; var setDefaultContentType = (contentType, headers) => { return { @@ -2647,7 +2643,7 @@ var Context = class { }; }; -// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/router.js +// registry/components/code/node_modules/hono/dist/router.js var METHOD_NAME_ALL = "ALL"; var METHOD_NAME_ALL_LOWERCASE = "all"; var METHODS = ["get", "post", "put", "delete", "options", "patch"]; @@ -2655,10 +2651,10 @@ var MESSAGE_MATCHER_IS_ALREADY_BUILT = "Can not add a route since the matcher is var UnsupportedPathError = class extends Error { }; -// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/utils/constants.js +// registry/components/code/node_modules/hono/dist/utils/constants.js var COMPOSED_HANDLER = "__COMPOSED_HANDLER"; -// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/hono-base.js +// registry/components/code/node_modules/hono/dist/hono-base.js var notFoundHandler = (c) => { return c.text("404 Not Found", 404); }; @@ -3034,11 +3030,11 @@ var Hono = class _Hono { }; }; -// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/router/reg-exp-router/matcher.js +// registry/components/code/node_modules/hono/dist/router/reg-exp-router/matcher.js var emptyParam = []; function match(method, path) { const matchers = this.buildAllMatchers(); - const match2 = ((method2, path2) => { + const match2 = (method2, path2) => { const matcher = matchers[method2] || matchers[METHOD_NAME_ALL]; const staticMatch = matcher[2][path2]; if (staticMatch) { @@ -3050,12 +3046,12 @@ function match(method, path) { } const index = match3.indexOf("", 1); return [matcher[1][index], match3]; - }); + }; this.match = match2; return match2(method, path); } -// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/router/reg-exp-router/node.js +// registry/components/code/node_modules/hono/dist/router/reg-exp-router/node.js var LABEL_REG_EXP_STR = "[^/]+"; var ONLY_WILDCARD_REG_EXP_STR = ".*"; var TAIL_WILDCARD_REG_EXP_STR = "(?:|/.*)"; @@ -3163,7 +3159,7 @@ var Node = class _Node { } }; -// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/router/reg-exp-router/trie.js +// registry/components/code/node_modules/hono/dist/router/reg-exp-router/trie.js var Trie = class { #context = { varIndex: 0 }; #root = new Node(); @@ -3219,7 +3215,7 @@ var Trie = class { } }; -// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/router/reg-exp-router/router.js +// registry/components/code/node_modules/hono/dist/router/reg-exp-router/router.js var nullMatcher = [/^$/, [], /* @__PURE__ */ Object.create(null)]; var wildcardRegExpCache = /* @__PURE__ */ Object.create(null); function buildWildcardRegExp(path) { @@ -3398,7 +3394,7 @@ var RegExpRouter = class { } }; -// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/router/smart-router/router.js +// registry/components/code/node_modules/hono/dist/router/smart-router/router.js var SmartRouter = class { name = "SmartRouter"; #routers = []; @@ -3453,7 +3449,7 @@ var SmartRouter = class { } }; -// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/router/trie-router/node.js +// registry/components/code/node_modules/hono/dist/router/trie-router/node.js var emptyParams = /* @__PURE__ */ Object.create(null); var hasChildren = (children) => { for (const _ in children) { @@ -3628,7 +3624,7 @@ var Node2 = class _Node2 { } }; -// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/router/trie-router/router.js +// registry/components/code/node_modules/hono/dist/router/trie-router/router.js var TrieRouter = class { name = "TrieRouter"; #node; @@ -3650,7 +3646,7 @@ var TrieRouter = class { } }; -// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/hono.js +// registry/components/code/node_modules/hono/dist/hono.js var Hono2 = class extends Hono { /** * Creates an instance of the Hono class. @@ -3665,7 +3661,7 @@ var Hono2 = class extends Hono { } }; -// ../../matrix/arcrun/registry/components/code/node_modules/hono/dist/middleware/cors/index.js +// registry/components/code/node_modules/hono/dist/middleware/cors/index.js var cors = (options) => { const opts = { origin: "*", @@ -3747,7 +3743,7 @@ var cors = (options) => { }; }; -// ../../matrix/arcrun/registry/components/code/node_modules/quickjs-emscripten-core/dist/index.mjs +// registry/components/code/node_modules/quickjs-emscripten-core/dist/index.mjs init_chunk_JTKJZQYV(); init_dist(); async function newQuickJSWASMModuleFromVariant(variantOrPromise) { @@ -3810,14 +3806,14 @@ function newMockExtensions(log) { } }; } -// ../../matrix/arcrun/registry/components/code/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs +// registry/components/code/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs var variant = { type: "sync", importFFI: () => Promise.resolve().then(() => (init_ffi(), ffi_exports)).then((mod) => mod.QuickJSFFI), importModuleLoader: () => Promise.resolve().then(() => (init_emscripten_module_browser(), emscripten_module_browser_exports)).then((mod) => mod.default) }; var src_default = variant; -// ../../matrix/arcrun/registry/components/code/index.ts +// registry/components/code/index.ts import wasmModule from "./quickjs.wasm"; -// ../../matrix/arcrun/registry/components/code/sandbox.mjs +// registry/components/code/sandbox.mjs var _variant = null; function setVariant(v) { _variant = v; @@ -3987,7 +3983,7 @@ function err(message, error_type) { return { success: false, error: message, error_type }; } -// ../../matrix/arcrun/registry/components/code/index.ts +// registry/components/code/index.ts setVariant(newVariant(src_default, { wasmModule })); var app = new Hono2(); app.use("*", cors()); @@ -4012,7 +4008,7 @@ app.post("/", async (c) => { ); } }); -var index_default = app; +var code_default = app; export { - index_default as default + code_default as default }; diff --git a/arcrun-cypher-executor/worker.mjs b/arcrun-cypher-executor/worker.mjs index fba034e..2b2877c 100644 --- a/arcrun-cypher-executor/worker.mjs +++ b/arcrun-cypher-executor/worker.mjs @@ -1,22 +1,17 @@ var __defProp = Object.defineProperty; var __getOwnPropNames = Object.getOwnPropertyNames; -var __esm = (fn, res, err) => function __init() { - if (err) throw err[0]; - try { - return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res; - } catch (e) { - throw err = [e], e; - } +var __esm = (fn, res) => function __init() { + return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res; }; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/compose.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/compose.js var compose; var init_compose = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/compose.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/compose.js"() { compose = (middleware, onError, onNotFound) => { return (context, next) => { let index = -1; @@ -62,21 +57,21 @@ var init_compose = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/http-exception.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/http-exception.js var init_http_exception = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/http-exception.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/http-exception.js"() { } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/request/constants.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/request/constants.js var GET_MATCH_RESULT; var init_constants = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/request/constants.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/request/constants.js"() { GET_MATCH_RESULT = /* @__PURE__ */ Symbol(); } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/body.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/body.js async function parseFormData(request, options) { const formData = await request.formData(); if (formData) { @@ -107,7 +102,7 @@ function convertFormDataToBodyData(formData, options) { } var parseBody, handleParsingAllValues, handleParsingNestedValues; var init_body = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/body.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/body.js"() { init_request(); parseBody = async (request, options = /* @__PURE__ */ Object.create(null)) => { const { all = false, dot = false } = options; @@ -154,10 +149,10 @@ var init_body = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/url.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/url.js var splitPath, splitRoutingPath, extractGroupsFromPath, replaceGroupMarks, patternCache, getPattern, tryDecode, tryDecodeURI, getPath, getPathNoStrict, mergePath, checkOptionalParameter, _decodeURI, _getQueryParam, getQueryParam, getQueryParams, decodeURIComponent_; var init_url = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/url.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/url.js"() { splitPath = (path) => { const paths = path.split("/"); if (paths[0] === "") { @@ -363,10 +358,10 @@ var init_url = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/request.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/request.js var tryDecodeURIComponent, HonoRequest; var init_request = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/request.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/request.js"() { init_http_exception(); init_constants(); init_body(); @@ -640,10 +635,10 @@ var init_request = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/html.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/html.js var HtmlEscapedCallbackPhase, raw, resolveCallback; var init_html = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/html.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/html.js"() { HtmlEscapedCallbackPhase = { Stringify: 1, BeforeStream: 2, @@ -687,10 +682,10 @@ var init_html = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/context.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/context.js var TEXT_PLAIN, setDefaultContentType, createResponseInstance, Context; var init_context = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/context.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/context.js"() { init_request(); init_html(); TEXT_PLAIN = "text/plain; charset=UTF-8"; @@ -1101,10 +1096,10 @@ var init_context = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router.js var METHOD_NAME_ALL, METHOD_NAME_ALL_LOWERCASE, METHODS, MESSAGE_MATCHER_IS_ALREADY_BUILT, UnsupportedPathError; var init_router = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router.js"() { METHOD_NAME_ALL = "ALL"; METHOD_NAME_ALL_LOWERCASE = "all"; METHODS = ["get", "post", "put", "delete", "options", "patch"]; @@ -1114,18 +1109,18 @@ var init_router = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/constants.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/constants.js var COMPOSED_HANDLER; var init_constants2 = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/constants.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/constants.js"() { COMPOSED_HANDLER = "__COMPOSED_HANDLER"; } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/hono-base.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/hono-base.js var notFoundHandler, errorHandler, Hono; var init_hono_base = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/hono-base.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/hono-base.js"() { init_compose(); init_context(); init_router(); @@ -1503,10 +1498,10 @@ var init_hono_base = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/matcher.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/matcher.js function match(method, path) { const matchers = this.buildAllMatchers(); - const match2 = ((method2, path2) => { + const match2 = (method2, path2) => { const matcher = matchers[method2] || matchers[METHOD_NAME_ALL]; const staticMatch = matcher[2][path2]; if (staticMatch) { @@ -1518,19 +1513,19 @@ function match(method, path) { } const index = match3.indexOf("", 1); return [matcher[1][index], match3]; - }); + }; this.match = match2; return match2(method, path); } var emptyParam; var init_matcher = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/matcher.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/matcher.js"() { init_router(); emptyParam = []; } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/node.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/node.js function compareKey(a, b) { if (a.length === 1) { return b.length === 1 ? a < b ? -1 : 1 : -1; @@ -1552,7 +1547,7 @@ function compareKey(a, b) { } var LABEL_REG_EXP_STR, ONLY_WILDCARD_REG_EXP_STR, TAIL_WILDCARD_REG_EXP_STR, PATH_ERROR, regExpMetaChars, Node; var init_node = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/node.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/node.js"() { LABEL_REG_EXP_STR = "[^/]+"; ONLY_WILDCARD_REG_EXP_STR = ".*"; TAIL_WILDCARD_REG_EXP_STR = "(?:|/.*)"; @@ -1643,10 +1638,10 @@ var init_node = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/trie.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/trie.js var Trie; var init_trie = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/trie.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/trie.js"() { init_node(); Trie = class { #context = { varIndex: 0 }; @@ -1705,7 +1700,7 @@ var init_trie = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/router.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/router.js function buildWildcardRegExp(path) { return wildcardRegExpCache[path] ??= new RegExp( path === "*" ? "" : `^${path.replace( @@ -1787,7 +1782,7 @@ function findMiddleware(middleware, path) { } var nullMatcher, wildcardRegExpCache, RegExpRouter; var init_router2 = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/router.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/router.js"() { init_router(); init_url(); init_matcher(); @@ -1894,27 +1889,27 @@ var init_router2 = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/prepared-router.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/prepared-router.js var init_prepared_router = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/prepared-router.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/prepared-router.js"() { init_router(); init_matcher(); init_router2(); } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/index.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/index.js var init_reg_exp_router = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/index.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/index.js"() { init_router2(); init_prepared_router(); } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/smart-router/router.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/smart-router/router.js var SmartRouter; var init_router3 = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/smart-router/router.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/smart-router/router.js"() { init_router(); SmartRouter = class { name = "SmartRouter"; @@ -1972,17 +1967,17 @@ var init_router3 = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/smart-router/index.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/smart-router/index.js var init_smart_router = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/smart-router/index.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/smart-router/index.js"() { init_router3(); } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/trie-router/node.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/trie-router/node.js var emptyParams, hasChildren, Node2; var init_node2 = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/trie-router/node.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/trie-router/node.js"() { init_router(); init_url(); emptyParams = /* @__PURE__ */ Object.create(null); @@ -2161,10 +2156,10 @@ var init_node2 = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/trie-router/router.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/trie-router/router.js var TrieRouter; var init_router4 = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/trie-router/router.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/trie-router/router.js"() { init_url(); init_node2(); TrieRouter = class { @@ -2190,17 +2185,17 @@ var init_router4 = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/trie-router/index.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/trie-router/index.js var init_trie_router = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/trie-router/index.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/trie-router/index.js"() { init_router4(); } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/hono.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/hono.js var Hono2; var init_hono = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/hono.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/hono.js"() { init_hono_base(); init_reg_exp_router(); init_smart_router(); @@ -2221,14 +2216,14 @@ var init_hono = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/index.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/index.js var init_dist = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/index.js"() { + "cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/index.js"() { init_hono(); } }); -// ../../matrix/arcrun/cypher-executor/src/types.ts +// cypher-executor/src/types.ts async function kvGetNodeOutput(store, nodeId) { try { const val = await store.kv.get(`${store.runId}:node:${nodeId}`, "json"); @@ -2249,7 +2244,7 @@ async function kvSetNodeOutput(store, nodeId, output) { } var WorkflowPaused, ExecutionError; var init_types = __esm({ - "../../matrix/arcrun/cypher-executor/src/types.ts"() { + "cypher-executor/src/types.ts"() { "use strict"; WorkflowPaused = class extends Error { task_id; @@ -2280,7 +2275,7 @@ var init_types = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/src/lib/hash.ts +// cypher-executor/src/lib/hash.ts async function deriveRecipeHash(canonicalId) { return "rec_" + await sha256Prefix(canonicalId); } @@ -2296,12 +2291,12 @@ async function sha256Prefix(input) { return Array.from(new Uint8Array(buf)).map((b) => b.toString(16).padStart(2, "0")).join("").slice(0, 8); } var init_hash = __esm({ - "../../matrix/arcrun/cypher-executor/src/lib/hash.ts"() { + "cypher-executor/src/lib/hash.ts"() { "use strict"; } }); -// ../../matrix/arcrun/cypher-executor/src/routes/recipes.ts +// cypher-executor/src/routes/recipes.ts async function installRecipeRecord(kv, recipe) { const uuid = recipe.uuid; const { canonical_id, hash_id } = recipe; @@ -2361,7 +2356,7 @@ async function resolveAuthRecipe(service, kv) { } var recipesRouter, kIdxCanonical, kIdxInstalled; var init_recipes = __esm({ - "../../matrix/arcrun/cypher-executor/src/routes/recipes.ts"() { + "cypher-executor/src/routes/recipes.ts"() { "use strict"; init_dist(); init_hash(); @@ -2649,10 +2644,10 @@ var init_recipes = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/src/lib/constants.ts +// cypher-executor/src/lib/constants.ts var VALID_EDGE_TYPES, SEMANTIC_EDGE_MAP, BUILTIN_COMPONENTS; var init_constants3 = __esm({ - "../../matrix/arcrun/cypher-executor/src/lib/constants.ts"() { + "cypher-executor/src/lib/constants.ts"() { "use strict"; VALID_EDGE_TYPES = /* @__PURE__ */ new Set([ // 現有 @@ -2712,7 +2707,7 @@ var init_constants3 = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/src/lib/recipe-payload.ts +// cypher-executor/src/lib/recipe-payload.ts function getPath2(obj, path) { let cur = obj; for (const part of path.split(".")) { @@ -2786,12 +2781,12 @@ function sanitize(input, map) { return s.trim(); } var init_recipe_payload = __esm({ - "../../matrix/arcrun/cypher-executor/src/lib/recipe-payload.ts"() { + "cypher-executor/src/lib/recipe-payload.ts"() { "use strict"; } }); -// ../../matrix/arcrun/cypher-executor/src/lib/component-loader.ts +// cypher-executor/src/lib/component-loader.ts function wasmWorkerUrl(canonicalId, subdomain) { const kebab = canonicalId.replace(/_/g, "-"); return `https://arcrun-${kebab}.${subdomain}.workers.dev`; @@ -3029,7 +3024,7 @@ async function readBodyOnce(res) { } var WASM_HTTP_RUNNER_IDS, LOGIC_BINDING_MAP; var init_component_loader = __esm({ - "../../matrix/arcrun/cypher-executor/src/lib/component-loader.ts"() { + "cypher-executor/src/lib/component-loader.ts"() { "use strict"; init_constants3(); init_hash(); @@ -3073,7 +3068,7 @@ var init_component_loader = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/src/lib/wasi-shim.ts +// cypher-executor/src/lib/wasi-shim.ts async function routedKvGet(env, apiKey, key) { if (key.startsWith("auth_recipe:")) { return env.RECIPES.get(key); @@ -3120,12 +3115,12 @@ function createArcrunHostFunctions(env, apiKey) { }; } var init_wasi_shim = __esm({ - "../../matrix/arcrun/cypher-executor/src/lib/wasi-shim.ts"() { + "cypher-executor/src/lib/wasi-shim.ts"() { "use strict"; } }); -// ../../matrix/arcrun/cypher-executor/src/routes/kbdb-proxy.ts +// cypher-executor/src/routes/kbdb-proxy.ts function kbdbBase(env) { const base = (env.KBDB_BASE_URL ?? "https://arcrun-kbdb.uncle6-me.workers.dev").replace(/\/$/, ""); const headers = { "Content-Type": "application/json" }; @@ -3141,7 +3136,7 @@ function graphBase(env) { } var kbdbProxyRouter, NEED_KEY; var init_kbdb_proxy = __esm({ - "../../matrix/arcrun/cypher-executor/src/routes/kbdb-proxy.ts"() { + "cypher-executor/src/routes/kbdb-proxy.ts"() { "use strict"; init_dist(); kbdbProxyRouter = new Hono2(); @@ -3306,7 +3301,7 @@ var init_kbdb_proxy = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/src/routes/credentials.ts +// cypher-executor/src/routes/credentials.ts async function deriveSecretRef(apiKey, name) { const hash8 = await sha256Prefix(apiKey); return `CRED_${name.toUpperCase()}_${hash8.toUpperCase()}`; @@ -3501,7 +3496,7 @@ async function writeCredential(env, apiKey, name, value, service, sensitivityRaw } var credentialsRouter, CYPHER_SCRIPT_NAME, CREDENTIAL_ENTRY_TYPE, DIR_CACHE_TTL_MS, dirCache; var init_credentials = __esm({ - "../../matrix/arcrun/cypher-executor/src/routes/credentials.ts"() { + "cypher-executor/src/routes/credentials.ts"() { "use strict"; init_dist(); init_hash(); @@ -3613,7 +3608,7 @@ var init_credentials = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/src/actions/auth-dispatcher.ts +// cypher-executor/src/actions/auth-dispatcher.ts async function resolveSecretsFromNewHome(env, apiKey, names) { const resolved = {}; if (names.length === 0) return resolved; @@ -3734,7 +3729,7 @@ async function resolveCredentialRefs(data, env, apiKey) { } var SUPPORTED_PRIMITIVES, AUTH_PRIMITIVE_IDS, CREDENTIAL_REF; var init_auth_dispatcher = __esm({ - "../../matrix/arcrun/cypher-executor/src/actions/auth-dispatcher.ts"() { + "cypher-executor/src/actions/auth-dispatcher.ts"() { "use strict"; init_recipes(); init_component_loader(); @@ -3751,7 +3746,7 @@ var init_auth_dispatcher = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs +// cypher-executor/node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs function setErrorMap(map) { overrideErrorMap = map; } @@ -3933,7 +3928,7 @@ function custom(check, params = {}, fatal) { } var util, objectUtil, ZodParsedType, getParsedType, ZodIssueCode, quotelessJson, ZodError, errorMap, overrideErrorMap, makeIssue, EMPTY_PATH, ParseStatus, INVALID, DIRTY, OK, isAborted, isDirty, isValid, isAsync, errorUtil, _ZodEnum_cache, _ZodNativeEnum_cache, ParseInputLazyPath, handleResult, ZodType, cuidRegex, cuid2Regex, ulidRegex, uuidRegex, nanoidRegex, durationRegex, emailRegex, _emojiRegex, emojiRegex, ipv4Regex, ipv6Regex, base64Regex, dateRegexSource, dateRegex, ZodString, ZodNumber, ZodBigInt, ZodBoolean, ZodDate, ZodSymbol, ZodUndefined, ZodNull, ZodAny, ZodUnknown, ZodNever, ZodVoid, ZodArray, ZodObject, ZodUnion, getDiscriminator, ZodDiscriminatedUnion, ZodIntersection, ZodTuple, ZodRecord, ZodMap, ZodSet, ZodFunction, ZodLazy, ZodLiteral, ZodEnum, ZodNativeEnum, ZodPromise, ZodEffects, ZodOptional, ZodNullable, ZodDefault, ZodCatch, ZodNaN, BRAND, ZodBranded, ZodPipeline, ZodReadonly, late, ZodFirstPartyTypeKind, instanceOfType, stringType, numberType, nanType, bigIntType, booleanType, dateType, symbolType, undefinedType, nullType, anyType, unknownType, neverType, voidType, arrayType, objectType, strictObjectType, unionType, discriminatedUnionType, intersectionType, tupleType, recordType, mapType, setType, functionType, lazyType, literalType, enumType, nativeEnumType, promiseType, effectsType, optionalType, nullableType, preprocessType, pipelineType, ostring, onumber, oboolean, coerce, NEVER, z; var init_lib = __esm({ - "../../matrix/arcrun/cypher-executor/node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs"() { + "cypher-executor/node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs"() { (function(util2) { util2.assertEqual = (val) => val; function assertIs(_arg) { @@ -7360,7 +7355,7 @@ var init_lib = __esm({ ...processCreateParams(params) }); }; - BRAND = /* @__PURE__ */ Symbol("zod_brand"); + BRAND = Symbol("zod_brand"); ZodBranded = class extends ZodType { _parse(input) { const { ctx } = this._processInputParams(input); @@ -7534,14 +7529,14 @@ var init_lib = __esm({ onumber = () => numberType().optional(); oboolean = () => booleanType().optional(); coerce = { - string: ((arg) => ZodString.create({ ...arg, coerce: true })), - number: ((arg) => ZodNumber.create({ ...arg, coerce: true })), - boolean: ((arg) => ZodBoolean.create({ + string: (arg) => ZodString.create({ ...arg, coerce: true }), + number: (arg) => ZodNumber.create({ ...arg, coerce: true }), + boolean: (arg) => ZodBoolean.create({ ...arg, coerce: true - })), - bigint: ((arg) => ZodBigInt.create({ ...arg, coerce: true })), - date: ((arg) => ZodDate.create({ ...arg, coerce: true })) + }), + bigint: (arg) => ZodBigInt.create({ ...arg, coerce: true }), + date: (arg) => ZodDate.create({ ...arg, coerce: true }) }; NEVER = INVALID; z = /* @__PURE__ */ Object.freeze({ @@ -7663,10 +7658,10 @@ var init_lib = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/src/lib/prompt-recipe-schema.ts +// cypher-executor/src/lib/prompt-recipe-schema.ts var TransformSchema, KBDBBlockFragmentSchema, KVFragmentSchema, FragmentSchema, InputSchema, PromptAssemblySchema, OutputSpecSchema, PromptRecipeSchema; var init_prompt_recipe_schema = __esm({ - "../../matrix/arcrun/cypher-executor/src/lib/prompt-recipe-schema.ts"() { + "cypher-executor/src/lib/prompt-recipe-schema.ts"() { "use strict"; init_lib(); TransformSchema = z.string().regex(/^[a-z_]+(:.+)?$/, "transform \u5FC5\u9808\u70BA name \u6216 name:arg \u683C\u5F0F"); @@ -7729,7 +7724,7 @@ var init_prompt_recipe_schema = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/src/lib/recipe-loader.ts +// cypher-executor/src/lib/recipe-loader.ts async function loadPromptRecipe(recipeRef, recipesKv) { const key = recipeRef.startsWith("prompt_recipe:") ? recipeRef : `prompt_recipe:${recipeRef}`; const raw2 = await recipesKv.get(key); @@ -7754,7 +7749,7 @@ async function loadPromptRecipe(recipeRef, recipesKv) { } var RecipeLoadError; var init_recipe_loader = __esm({ - "../../matrix/arcrun/cypher-executor/src/lib/recipe-loader.ts"() { + "cypher-executor/src/lib/recipe-loader.ts"() { "use strict"; init_prompt_recipe_schema(); RecipeLoadError = class extends Error { @@ -7762,12 +7757,11 @@ var init_recipe_loader = __esm({ super(message); this.recipe = recipe; } - recipe; }; } }); -// ../../matrix/arcrun/cypher-executor/src/lib/recipe-transforms.ts +// cypher-executor/src/lib/recipe-transforms.ts function applyTransform(value, spec) { const colonIdx = spec.indexOf(":"); const name = colonIdx === -1 ? spec : spec.slice(0, colonIdx); @@ -7778,7 +7772,7 @@ function applyTransform(value, spec) { } var transforms; var init_recipe_transforms = __esm({ - "../../matrix/arcrun/cypher-executor/src/lib/recipe-transforms.ts"() { + "cypher-executor/src/lib/recipe-transforms.ts"() { "use strict"; transforms = { json_array: (v) => JSON.stringify(v ?? []), @@ -7812,7 +7806,7 @@ var init_recipe_transforms = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/src/lib/recipe-expander.ts +// cypher-executor/src/lib/recipe-expander.ts function getByPath(ctx, path) { const parts = path.split("."); let cur = ctx; @@ -7889,14 +7883,14 @@ ${user}`; }; } var init_recipe_expander = __esm({ - "../../matrix/arcrun/cypher-executor/src/lib/recipe-expander.ts"() { + "cypher-executor/src/lib/recipe-expander.ts"() { "use strict"; init_recipe_loader(); init_recipe_transforms(); } }); -// ../../matrix/arcrun/cypher-executor/src/lib/paused-runs.ts +// cypher-executor/src/lib/paused-runs.ts async function readIndex(kv, apiKey) { const raw2 = await kv.get(`${IDX_PREFIX}${apiKey}`); if (!raw2) return []; @@ -7985,7 +7979,7 @@ function parseRecipeOutput(result, format, requiredFields) { } var KEY_PREFIX, IDX_PREFIX, TTL_SECONDS; var init_paused_runs = __esm({ - "../../matrix/arcrun/cypher-executor/src/lib/paused-runs.ts"() { + "cypher-executor/src/lib/paused-runs.ts"() { "use strict"; KEY_PREFIX = "paused_run:"; IDX_PREFIX = "paused_idx:"; @@ -7993,7 +7987,7 @@ var init_paused_runs = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/src/lib/magic-vars.ts +// cypher-executor/src/lib/magic-vars.ts function isoWeekNumber(d) { const target = new Date(Date.UTC(d.getUTCFullYear(), d.getUTCMonth(), d.getUTCDate())); const dayNum = (target.getUTCDay() + 6) % 7; @@ -8055,12 +8049,12 @@ function buildMagicVars(now2 = /* @__PURE__ */ new Date()) { }; } var init_magic_vars = __esm({ - "../../matrix/arcrun/cypher-executor/src/lib/magic-vars.ts"() { + "cypher-executor/src/lib/magic-vars.ts"() { "use strict"; } }); -// ../../matrix/arcrun/cypher-executor/src/lib/telemetry.ts +// cypher-executor/src/lib/telemetry.ts async function hashApiKey(apiKey) { if (!apiKey) return "anon"; const encoder = new TextEncoder(); @@ -8115,12 +8109,12 @@ function recordTelemetry(env, apiKey, record, ctx) { } } var init_telemetry = __esm({ - "../../matrix/arcrun/cypher-executor/src/lib/telemetry.ts"() { + "cypher-executor/src/lib/telemetry.ts"() { "use strict"; } }); -// ../../matrix/arcrun/cypher-executor/src/graph-executor.ts +// cypher-executor/src/graph-executor.ts function propagateCtx(context, upstreamResult, upstreamNodeId) { const baseCtx = typeof context === "object" && context !== null ? context : {}; const baseResult = typeof upstreamResult === "object" && upstreamResult !== null ? upstreamResult : {}; @@ -8231,7 +8225,7 @@ function getIterableFromContext(context, key) { } var GraphExecutor; var init_graph_executor = __esm({ - "../../matrix/arcrun/cypher-executor/src/graph-executor.ts"() { + "cypher-executor/src/graph-executor.ts"() { "use strict"; init_types(); init_auth_dispatcher(); @@ -8664,10 +8658,10 @@ var init_graph_executor = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/src/lib/schemas.ts +// cypher-executor/src/lib/schemas.ts var graphSchema, executeSchema; var init_schemas = __esm({ - "../../matrix/arcrun/cypher-executor/src/lib/schemas.ts"() { + "cypher-executor/src/lib/schemas.ts"() { "use strict"; init_lib(); graphSchema = z.object({ @@ -8697,7 +8691,7 @@ var init_schemas = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/src/actions/execution-evaluator.ts +// cypher-executor/src/actions/execution-evaluator.ts function componentVerdictsFromTrace(nodes, trace) { const componentByNodeId = /* @__PURE__ */ new Map(); for (const n of nodes) { @@ -8741,13 +8735,13 @@ async function recordComponentStats(env, nodes, trace) { } } var init_execution_evaluator = __esm({ - "../../matrix/arcrun/cypher-executor/src/actions/execution-evaluator.ts"() { + "cypher-executor/src/actions/execution-evaluator.ts"() { "use strict"; init_component_loader(); } }); -// ../../matrix/arcrun/cypher-executor/src/actions/webhook-handlers.ts +// cypher-executor/src/actions/webhook-handlers.ts var webhook_handlers_exports = {}; __export(webhook_handlers_exports, { executeWebhookGraph: () => executeWebhookGraph, @@ -8769,7 +8763,7 @@ function recordRecipeStats(env, recipeKeys, ok, at, ctx) { ) ).then(() => void 0); if (ctx?.waitUntil) ctx.waitUntil(promise); - else void promise; + else ; } function generateToken() { const tokenBytes = crypto.getRandomValues(new Uint8Array(16)); @@ -8811,7 +8805,7 @@ async function executeWebhookGraph(env, graph, triggerContext, token, apiKey, ct result.trace ); if (ctx?.waitUntil) ctx.waitUntil(statsPromise); - else void statsPromise; + else ; } return { success: true, data: result.data, duration_ms }; } catch (err) { @@ -8835,7 +8829,7 @@ async function executeWebhookGraph(env, graph, triggerContext, token, apiKey, ct err.trace ); if (ctx?.waitUntil) ctx.waitUntil(statsPromise); - else void statsPromise; + else ; } if (err instanceof ExecutionError) { const traceFormatted = err.trace.map((s) => ({ @@ -8854,7 +8848,7 @@ async function executeWebhookGraph(env, graph, triggerContext, token, apiKey, ct } } var init_webhook_handlers = __esm({ - "../../matrix/arcrun/cypher-executor/src/actions/webhook-handlers.ts"() { + "cypher-executor/src/actions/webhook-handlers.ts"() { "use strict"; init_types(); init_graph_executor(); @@ -8865,10 +8859,10 @@ var init_webhook_handlers = __esm({ } }); -// ../../matrix/arcrun/cypher-executor/src/index.ts +// cypher-executor/src/index.ts init_dist(); -// ../../matrix/arcrun/cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/middleware/cors/index.js +// cypher-executor/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/middleware/cors/index.js var cors = (options) => { const defaults = { origin: "*", @@ -8956,7 +8950,7 @@ var cors = (options) => { }; }; -// ../../matrix/arcrun/cypher-executor/src/lib/cron-match.ts +// cypher-executor/src/lib/cron-match.ts function matchField(expr, value, min, max) { if (expr === "*") return true; for (const part of expr.split(",")) { @@ -9005,7 +8999,7 @@ function extractCronExpr(graph) { return null; } -// ../../matrix/arcrun/cypher-executor/src/lib/cron-index.ts +// cypher-executor/src/lib/cron-index.ts var CRON_INDEX_KEY = "cron-idx:_all"; function cronEntryKey(apiKey, name) { return `${apiKey}:${name}`; @@ -9038,7 +9032,7 @@ async function updateCronIndexEntry(kv, apiKey, name, cronExpr) { await kv.put(CRON_INDEX_KEY, JSON.stringify(index)); } -// ../../matrix/arcrun/cypher-executor/src/scheduled.ts +// cypher-executor/src/scheduled.ts init_webhook_handlers(); init_kbdb_proxy(); async function handleScheduled(controller, env, ctx) { @@ -9091,10 +9085,10 @@ async function handleScheduled(controller, env, ctx) { } } -// ../../matrix/arcrun/cypher-executor/src/routes/health.ts +// cypher-executor/src/routes/health.ts init_dist(); -// ../../matrix/arcrun/cypher-executor/src/lib/portal-auth-store.ts +// cypher-executor/src/lib/portal-auth-store.ts init_credentials(); var AUTH_STORE_PREFIX = "ARCRUN_AUTH_STORE"; var SHARD_MAX_BYTES = 4600; @@ -9259,7 +9253,7 @@ function authStoreStatus(env) { }; } -// ../../matrix/arcrun/cypher-executor/src/routes/health.ts +// cypher-executor/src/routes/health.ts var healthRouter = new Hono2(); healthRouter.get("/health", (c) => { const bundleVersion = c.env.ARCRUN_BUNDLE_VERSION; @@ -9284,14 +9278,14 @@ healthRouter.get( }) ); -// ../../matrix/arcrun/cypher-executor/src/routes/execute.ts +// cypher-executor/src/routes/execute.ts init_dist(); init_types(); init_graph_executor(); init_schemas(); init_component_loader(); -// ../../matrix/arcrun/cypher-executor/src/actions/execution-logger.ts +// cypher-executor/src/actions/execution-logger.ts init_kbdb_proxy(); function extractTarget(input) { if (!input) return void 0; @@ -9300,7 +9294,6 @@ function extractTarget(input) { return typeof raw2 === "string" ? raw2 : JSON.stringify(raw2); } async function writeExecutionVerdict(env, workflowId, nodes, verdict, durationMs, message, input, apiKey) { - void nodes; try { const { base, headers } = kbdbBase(env); await fetch(`${base}/execution-log/record`, { @@ -9319,7 +9312,7 @@ async function writeExecutionVerdict(env, workflowId, nodes, verdict, durationMs } } -// ../../matrix/arcrun/cypher-executor/src/routes/execute.ts +// cypher-executor/src/routes/execute.ts var executeRouter = new Hono2(); executeRouter.post("/execute", async (c) => { const body = await c.req.json(); @@ -9364,17 +9357,17 @@ executeRouter.post("/execute", async (c) => { } }); -// ../../matrix/arcrun/cypher-executor/src/routes/cypher.ts +// cypher-executor/src/routes/cypher.ts init_dist(); -// ../../matrix/arcrun/cypher-executor/src/actions/cypher-handlers.ts +// cypher-executor/src/actions/cypher-handlers.ts init_types(); init_graph_executor(); init_schemas(); init_component_loader(); init_execution_evaluator(); -// ../../matrix/arcrun/cypher-executor/src/actions/triplet-parser.ts +// cypher-executor/src/actions/triplet-parser.ts init_constants3(); function parseTriplets(rawTriplets) { const edges = []; @@ -9415,11 +9408,11 @@ function toEdgeType(label) { return SEMANTIC_EDGE_MAP[label] ?? SEMANTIC_EDGE_MAP[upper] ?? "PIPE"; } -// ../../matrix/arcrun/cypher-executor/src/actions/search-nodes.ts +// cypher-executor/src/actions/search-nodes.ts init_component_loader(); init_recipes(); -// ../../matrix/arcrun/cypher-executor/src/lib/branch-hints.ts +// cypher-executor/src/lib/branch-hints.ts var BRANCH_HINTS = { if_control: { branch_field: "data.branch", @@ -9448,7 +9441,7 @@ function branchHintFor(componentId) { return BRANCH_HINTS[componentId.toLowerCase()]; } -// ../../matrix/arcrun/cypher-executor/src/actions/search-nodes.ts +// cypher-executor/src/actions/search-nodes.ts async function searchNodes(parsed, config, env, mode = "discover", target) { const nodeResults = {}; const missingNodes = []; @@ -9881,7 +9874,7 @@ async function searchSimilarComponents(registryBase, nodeName) { return [...count.entries()].sort((a, b) => b[1] - a[1]).slice(0, 3).map(([id]) => id); } -// ../../matrix/arcrun/cypher-executor/src/actions/graph-builder.ts +// cypher-executor/src/actions/graph-builder.ts function buildExecutionGraph(parsed, nodeResults, graphId, graphName, config) { const nodes = [...parsed.nodeNames].map((name) => { const nr = nodeResults[name]; @@ -9918,7 +9911,7 @@ function buildExecutionGraph(parsed, nodeResults, graphId, graphName, config) { return { id: graphId, name: graphName, nodes, edges }; } -// ../../matrix/arcrun/cypher-executor/src/actions/cypher-handlers.ts +// cypher-executor/src/actions/cypher-handlers.ts async function handleCypherSearch(triplets, env, mode = "discover", target) { const parsed = parseTriplets(triplets); if (!parsed) { @@ -9982,10 +9975,10 @@ async function handleCypherExecute(triplets, context, graphId, graphName, config } } -// ../../matrix/arcrun/cypher-executor/src/actions/target-search.ts +// cypher-executor/src/actions/target-search.ts init_component_loader(); -// ../../matrix/arcrun/cypher-executor/src/lib/workflow-search.ts +// cypher-executor/src/lib/workflow-search.ts async function fetchTenantWorkflowSearch(env, apiKey, q, mode = "semantic") { const base = (env.KBDB_BASE_URL ?? "https://arcrun-kbdb.uncle6-me.workers.dev").replace(/\/$/, ""); const headers = { "Content-Type": "application/json" }; @@ -10001,7 +9994,7 @@ async function fetchTenantWorkflowSearch(env, apiKey, q, mode = "semantic") { return fetch(`${base}/entries/search?${params.toString()}`, { headers }); } -// ../../matrix/arcrun/cypher-executor/src/actions/target-search.ts +// cypher-executor/src/actions/target-search.ts async function searchByTarget(target, query, env, apiKey) { if (target === "component") { const sub = env.WORKER_SUBDOMAIN; @@ -10071,7 +10064,7 @@ async function searchByTarget(target, query, env, apiKey) { return { ok: true, body: { target, query, ...body } }; } -// ../../matrix/arcrun/cypher-executor/src/routes/cypher.ts +// cypher-executor/src/routes/cypher.ts var cypherRouter = new Hono2(); var VALID_TARGETS = /* @__PURE__ */ new Set(["component", "recipe", "workflow"]); cypherRouter.post("/cypher/search", async (c) => { @@ -10164,7 +10157,7 @@ cypherRouter.post("/cypher/execute", async (c) => { } }); -// ../../matrix/arcrun/cypher-executor/src/routes/validate.ts +// cypher-executor/src/routes/validate.ts init_dist(); init_schemas(); init_telemetry(); @@ -10201,10 +10194,10 @@ validateRouter.post("/validate", async (c) => { return c.json({ valid: true, nodeCount: parsed.data.nodes.length, edgeCount: parsed.data.edges.length }); }); -// ../../matrix/arcrun/cypher-executor/src/routes/docs.ts +// cypher-executor/src/routes/docs.ts init_dist(); -// ../../matrix/arcrun/cypher-executor/src/lib/openapi.ts +// cypher-executor/src/lib/openapi.ts var OPENAPI_SPEC = { openapi: "3.0.3", info: { @@ -10512,7 +10505,7 @@ var OPENAPI_SPEC = { } }; -// ../../matrix/arcrun/cypher-executor/src/routes/docs.ts +// cypher-executor/src/routes/docs.ts var docsRouter = new Hono2(); docsRouter.get("/openapi.json", (c) => { return c.json(OPENAPI_SPEC); @@ -10555,11 +10548,11 @@ docsRouter.get("/docs", (c) => { return c.html(htmlStr); }); -// ../../matrix/arcrun/cypher-executor/src/routes/webhooks.ts +// cypher-executor/src/routes/webhooks.ts init_dist(); init_webhook_handlers(); -// ../../matrix/arcrun/cypher-executor/src/actions/webhook-graph-resolver.ts +// cypher-executor/src/actions/webhook-graph-resolver.ts init_schemas(); async function resolveWebhookGraph(body, description, env) { if (Array.isArray(body.triplets) && body.triplets.length > 0) { @@ -10602,7 +10595,7 @@ async function resolveWebhookGraph(body, description, env) { return { resolvedGraph: {}, error: "\u9700\u63D0\u4F9B graph \u7269\u4EF6\u6216 triplets \u9663\u5217" }; } -// ../../matrix/arcrun/cypher-executor/src/routes/webhooks.ts +// cypher-executor/src/routes/webhooks.ts var webhooksRouter = new Hono2(); webhooksRouter.post("/webhooks", async (c) => { const body = await c.req.json().catch(() => null); @@ -10655,7 +10648,7 @@ webhooksRouter.post("/webhooks/:token/trigger", async (c) => { return c.json(result, result.success ? 200 : 500); }); -// ../../matrix/arcrun/cypher-executor/src/routes/webhooks-crud.ts +// cypher-executor/src/routes/webhooks-crud.ts init_dist(); init_webhook_handlers(); var webhooksCrudRouter = new Hono2(); @@ -10714,7 +10707,7 @@ webhooksCrudRouter.delete("/webhooks/:token", async (c) => { return c.json({ deleted: true, token }); }); -// ../../matrix/arcrun/cypher-executor/src/routes/webhooks-list.ts +// cypher-executor/src/routes/webhooks-list.ts init_dist(); init_webhook_handlers(); var webhooksListRouter = new Hono2(); @@ -10739,11 +10732,11 @@ webhooksListRouter.get("/webhooks", async (c) => { return c.json({ webhooks, total: webhooks.length }); }); -// ../../matrix/arcrun/cypher-executor/src/index.ts +// cypher-executor/src/index.ts init_recipes(); init_credentials(); -// ../../matrix/arcrun/cypher-executor/src/routes/webhooks-named.ts +// cypher-executor/src/routes/webhooks-named.ts init_dist(); init_webhook_handlers(); init_telemetry(); @@ -11095,7 +11088,7 @@ webhooksNamedRouter.delete("/webhooks/named/:name", async (c) => { return c.json({ deleted: true, name }); }); -// ../../matrix/arcrun/cypher-executor/src/routes/auth.ts +// cypher-executor/src/routes/auth.ts init_dist(); init_credentials(); var authRouter = new Hono2(); @@ -11425,7 +11418,7 @@ authRouter.delete("/me/api-key", async (c) => { }); }); -// ../../matrix/arcrun/cypher-executor/src/routes/resume.ts +// cypher-executor/src/routes/resume.ts init_dist(); init_types(); init_graph_executor(); @@ -11495,7 +11488,7 @@ resumeRouter.post("/workflows/resume", async (c) => { } }); -// ../../matrix/arcrun/cypher-executor/src/routes/executions.ts +// cypher-executor/src/routes/executions.ts init_dist(); init_paused_runs(); init_kbdb_proxy(); @@ -11624,12 +11617,12 @@ executionsRouter.get("/workflows/:name/executions", async (c) => { }); }); -// ../../matrix/arcrun/cypher-executor/src/routes/init-seed.ts +// cypher-executor/src/routes/init-seed.ts init_dist(); init_hash(); init_recipes(); -// ../../matrix/arcrun/cypher-executor/src/lib/api-recipe-seeds.ts +// cypher-executor/src/lib/api-recipe-seeds.ts var API_RECIPE_SEEDS = [ // ── KBDB(Supabase 模式,auth_service=kbdb static_key)── { @@ -11758,7 +11751,7 @@ var API_RECIPE_SEEDS = [ } ]; -// ../../matrix/arcrun/cypher-executor/src/lib/auth-recipe-seeds.ts +// cypher-executor/src/lib/auth-recipe-seeds.ts var now = Date.now(); var AUTH_RECIPE_SEEDS = [ // ── Static Key 類 ────────────────────────────────────────────────────────── @@ -12461,11 +12454,11 @@ var AUTH_RECIPE_SEEDS = [ } ]; -// ../../matrix/arcrun/cypher-executor/src/routes/portal.ts +// cypher-executor/src/routes/portal.ts init_dist(); init_kbdb_proxy(); -// ../../matrix/arcrun/cypher-executor/src/routes/console-auth.ts +// cypher-executor/src/routes/console-auth.ts init_dist(); var consoleAuthRouter = new Hono2(); var CREDS_KEY = "console:credentials"; @@ -12632,7 +12625,7 @@ consoleAuthRouter.post("/console/logout", async (c) => { return c.json({ success: true }); }); -// ../../matrix/arcrun/cypher-executor/src/lib/portal-auth.ts +// cypher-executor/src/lib/portal-auth.ts var PBKDF2_ALGO_PREFIX = "pbkdf2-sha256"; var PBKDF2_ITERATIONS = 1e5; function b64encode(bytes) { @@ -12704,7 +12697,7 @@ function generatePassword(length = 16) { return out; } -// ../../matrix/arcrun/cypher-executor/src/lib/portal-seeds.ts +// cypher-executor/src/lib/portal-seeds.ts var PORTAL_TEMPLATE_SEEDS = [ { // design §2.1:portal 同仁帳號。password_hash 存 KDF 輸出(pbkdf2-sha256$…,D-6), @@ -12753,7 +12746,7 @@ var PORTAL_TEMPLATE_SEEDS = [ } ]; -// ../../matrix/arcrun/cypher-executor/src/routes/portal.ts +// cypher-executor/src/routes/portal.ts init_credentials(); var portalRouter = new Hono2(); var SESSION_PREFIX2 = "portal_sess:"; @@ -14070,7 +14063,7 @@ portalRouter.get( }) ); -// ../../matrix/arcrun/cypher-executor/src/routes/init-seed.ts +// cypher-executor/src/routes/init-seed.ts var initSeedRouter = new Hono2(); initSeedRouter.post("/init/seed", async (c) => { const now2 = Date.now(); @@ -14143,14 +14136,14 @@ initSeedRouter.post("/init/seed", async (c) => { ); }); -// ../../matrix/arcrun/cypher-executor/src/index.ts +// cypher-executor/src/index.ts init_kbdb_proxy(); -// ../../matrix/arcrun/cypher-executor/src/routes/console-dashboard.ts +// cypher-executor/src/routes/console-dashboard.ts init_dist(); init_kbdb_proxy(); -// ../../matrix/arcrun/cypher-executor/src/lib/taipei-time.ts +// cypher-executor/src/lib/taipei-time.ts var TAIPEI_OFFSET_MS = 8 * 3600 * 1e3; function taipeiDayKey(ms) { return new Date(ms + TAIPEI_OFFSET_MS).toISOString().slice(0, 10); @@ -14165,7 +14158,7 @@ var TAIPEI_CLIENT_JS = [ "function taipeiMonthDay(ms) { var d = new Date(ms + TAIPEI_OFFSET_MS); return { month: d.getUTCMonth() + 1, day: d.getUTCDate() }; }" ].join("\n"); -// ../../matrix/arcrun/cypher-executor/src/lib/console-dashboard-model.ts +// cypher-executor/src/lib/console-dashboard-model.ts function parseCreatedAtMs(s) { if (s === null || s === void 0 || s === "") return null; if (typeof s === "number") return s < 1e12 ? s * 1e3 : s; @@ -14395,7 +14388,7 @@ function reviveWaitingAges(model, fetchedAtMs, nowMs) { return { ...model, updated_ago_minutes: ago, stale: ago > 48 * 60 }; } -// ../../matrix/arcrun/cypher-executor/src/lib/console-triage-model.ts +// cypher-executor/src/lib/console-triage-model.ts var TIER_ALIASES = { ai: "ai", collab: "collab", @@ -14480,7 +14473,7 @@ function buildTriageModel(todoEntries, inboxEntries) { return { items, projects, counts }; } -// ../../matrix/arcrun/cypher-executor/src/routes/console-dashboard.ts +// cypher-executor/src/routes/console-dashboard.ts var consoleDashboardRouter = new Hono2(); var STALE_MINUTES = 240; var JUDGE_START_HOUR = 9; @@ -14817,7 +14810,7 @@ consoleDashboardRouter.post("/console/triage-check", async (c) => { return c.json({ success: true, entry_id: entryId, action, status: action === "restore" ? "new" : "done" }); }); -// ../../matrix/arcrun/cypher-executor/src/routes/portal-data.ts +// cypher-executor/src/routes/portal-data.ts init_dist(); init_kbdb_proxy(); init_webhook_handlers(); @@ -15225,7 +15218,7 @@ portalDataRouter.get( }) ); -// ../../matrix/arcrun/cypher-executor/src/index.ts +// cypher-executor/src/index.ts var app = new Hono2(); var STATIC_ORIGINS = ["https://arcrun.dev", "https://www.arcrun.dev"]; app.use("*", cors({ @@ -15264,10 +15257,10 @@ app.route("/", consoleAuthRouter); app.route("/", consoleDashboardRouter); app.route("/", portalRouter); app.route("/", portalDataRouter); -var index_default = { +var src_default = { fetch: app.fetch, scheduled: handleScheduled }; export { - index_default as default + src_default as default }; diff --git a/arcrun-http-request/worker.mjs b/arcrun-http-request/worker.mjs index f4aaed0..0ab4b10 100644 --- a/arcrun-http-request/worker.mjs +++ b/arcrun-http-request/worker.mjs @@ -1,7 +1,7 @@ -// ../../matrix/arcrun/.component-builds/http_request/src/index.ts +// .component-builds/http_request/src/index.ts import componentWasm from "./component.wasm"; -// ../../matrix/arcrun/.component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/compose.js +// .component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/compose.js var compose = (middleware, onError, onNotFound) => { return (context, next) => { let index = -1; @@ -45,10 +45,10 @@ var compose = (middleware, onError, onNotFound) => { }; }; -// ../../matrix/arcrun/.component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/request/constants.js +// .component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/request/constants.js var GET_MATCH_RESULT = /* @__PURE__ */ Symbol(); -// ../../matrix/arcrun/.component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/utils/body.js +// .component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/utils/body.js var parseBody = async (request, options = /* @__PURE__ */ Object.create(null)) => { const { all = false, dot = false } = options; const headers = request instanceof HonoRequest ? request.raw.headers : request.headers; @@ -120,7 +120,7 @@ var handleParsingNestedValues = (form, key, value) => { }); }; -// ../../matrix/arcrun/.component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/utils/url.js +// .component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/utils/url.js var splitPath = (path) => { const paths = path.split("/"); if (paths[0] === "") { @@ -324,7 +324,7 @@ var getQueryParams = (url, key) => { }; var decodeURIComponent_ = decodeURIComponent; -// ../../matrix/arcrun/.component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/request.js +// .component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/request.js var tryDecodeURIComponent = (str) => tryDecode(str, decodeURIComponent_); var HonoRequest = class { /** @@ -592,7 +592,7 @@ var HonoRequest = class { } }; -// ../../matrix/arcrun/.component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/utils/html.js +// .component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/utils/html.js var HtmlEscapedCallbackPhase = { Stringify: 1, BeforeStream: 2, @@ -634,7 +634,7 @@ var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) => } }; -// ../../matrix/arcrun/.component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/context.js +// .component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/context.js var TEXT_PLAIN = "text/plain; charset=UTF-8"; var setDefaultContentType = (contentType, headers) => { return { @@ -1041,7 +1041,7 @@ var Context = class { }; }; -// ../../matrix/arcrun/.component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/router.js +// .component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/router.js var METHOD_NAME_ALL = "ALL"; var METHOD_NAME_ALL_LOWERCASE = "all"; var METHODS = ["get", "post", "put", "delete", "options", "patch"]; @@ -1049,10 +1049,10 @@ var MESSAGE_MATCHER_IS_ALREADY_BUILT = "Can not add a route since the matcher is var UnsupportedPathError = class extends Error { }; -// ../../matrix/arcrun/.component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/utils/constants.js +// .component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/utils/constants.js var COMPOSED_HANDLER = "__COMPOSED_HANDLER"; -// ../../matrix/arcrun/.component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/hono-base.js +// .component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/hono-base.js var notFoundHandler = (c) => { return c.text("404 Not Found", 404); }; @@ -1423,11 +1423,11 @@ var Hono = class _Hono { }; }; -// ../../matrix/arcrun/.component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/router/reg-exp-router/matcher.js +// .component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/router/reg-exp-router/matcher.js var emptyParam = []; function match(method, path) { const matchers = this.buildAllMatchers(); - const match2 = ((method2, path2) => { + const match2 = (method2, path2) => { const matcher = matchers[method2] || matchers[METHOD_NAME_ALL]; const staticMatch = matcher[2][path2]; if (staticMatch) { @@ -1439,12 +1439,12 @@ function match(method, path) { } const index = match3.indexOf("", 1); return [matcher[1][index], match3]; - }); + }; this.match = match2; return match2(method, path); } -// ../../matrix/arcrun/.component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/router/reg-exp-router/node.js +// .component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/router/reg-exp-router/node.js var LABEL_REG_EXP_STR = "[^/]+"; var ONLY_WILDCARD_REG_EXP_STR = ".*"; var TAIL_WILDCARD_REG_EXP_STR = "(?:|/.*)"; @@ -1552,7 +1552,7 @@ var Node = class _Node { } }; -// ../../matrix/arcrun/.component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/router/reg-exp-router/trie.js +// .component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/router/reg-exp-router/trie.js var Trie = class { #context = { varIndex: 0 }; #root = new Node(); @@ -1608,7 +1608,7 @@ var Trie = class { } }; -// ../../matrix/arcrun/.component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/router/reg-exp-router/router.js +// .component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/router/reg-exp-router/router.js var nullMatcher = [/^$/, [], /* @__PURE__ */ Object.create(null)]; var wildcardRegExpCache = /* @__PURE__ */ Object.create(null); function buildWildcardRegExp(path) { @@ -1787,7 +1787,7 @@ var RegExpRouter = class { } }; -// ../../matrix/arcrun/.component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/router/smart-router/router.js +// .component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/router/smart-router/router.js var SmartRouter = class { name = "SmartRouter"; #routers = []; @@ -1842,7 +1842,7 @@ var SmartRouter = class { } }; -// ../../matrix/arcrun/.component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/router/trie-router/node.js +// .component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/router/trie-router/node.js var emptyParams = /* @__PURE__ */ Object.create(null); var hasChildren = (children) => { for (const _ in children) { @@ -2017,7 +2017,7 @@ var Node2 = class _Node2 { } }; -// ../../matrix/arcrun/.component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/router/trie-router/router.js +// .component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/router/trie-router/router.js var TrieRouter = class { name = "TrieRouter"; #node; @@ -2039,7 +2039,7 @@ var TrieRouter = class { } }; -// ../../matrix/arcrun/.component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/hono.js +// .component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/hono.js var Hono2 = class extends Hono { /** * Creates an instance of the Hono class. @@ -2054,7 +2054,7 @@ var Hono2 = class extends Hono { } }; -// ../../matrix/arcrun/.component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/middleware/cors/index.js +// .component-builds/http_request/node_modules/.pnpm/hono@4.12.14/node_modules/hono/dist/middleware/cors/index.js var cors = (options) => { const defaults = { origin: "*", @@ -2142,7 +2142,7 @@ var cors = (options) => { }; }; -// ../../matrix/arcrun/cypher-executor/src/lib/wasi-shim.ts +// cypher-executor/src/lib/wasi-shim.ts var WASI_ESUCCESS = 0; var WASI_ENOSYS = 76; var FD_STDIN = 0; @@ -2501,7 +2501,7 @@ function createWasiShim(stdinData, hostFunctions) { return shim; } -// ../../matrix/arcrun/.component-builds/http_request/src/index.ts +// .component-builds/http_request/src/index.ts var app = new Hono2(); app.use("*", cors()); app.get("/", (c) => c.json({ ok: true, component: "http_request" })); @@ -2522,7 +2522,7 @@ app.post("/", async (c) => { ); } }); -var index_default = app; +var src_default = app; async function runWasm(input) { const hostFunctions = { http_request: async (url, method, headersJson, body) => { @@ -2568,5 +2568,5 @@ async function runWasm(input) { return JSON.parse(stdout); } export { - index_default as default + src_default as default }; diff --git a/arcrun-kbdb/worker.mjs b/arcrun-kbdb/worker.mjs index 81bad45..0339fb5 100644 --- a/arcrun-kbdb/worker.mjs +++ b/arcrun-kbdb/worker.mjs @@ -1,4 +1,4 @@ -// ../../matrix/arcrun/kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/compose.js +// kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/compose.js var compose = (middleware, onError, onNotFound) => { return (context, next) => { let index = -1; @@ -42,10 +42,10 @@ var compose = (middleware, onError, onNotFound) => { }; }; -// ../../matrix/arcrun/kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/request/constants.js +// kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/request/constants.js var GET_MATCH_RESULT = /* @__PURE__ */ Symbol(); -// ../../matrix/arcrun/kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/utils/body.js +// kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/utils/body.js var parseBody = async (request, options = /* @__PURE__ */ Object.create(null)) => { const { all = false, dot = false } = options; const headers = request instanceof HonoRequest ? request.raw.headers : request.headers; @@ -117,7 +117,7 @@ var handleParsingNestedValues = (form, key, value) => { }); }; -// ../../matrix/arcrun/kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/utils/url.js +// kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/utils/url.js var splitPath = (path) => { const paths = path.split("/"); if (paths[0] === "") { @@ -321,7 +321,7 @@ var getQueryParams = (url, key) => { }; var decodeURIComponent_ = decodeURIComponent; -// ../../matrix/arcrun/kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/request.js +// kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/request.js var tryDecodeURIComponent = (str) => tryDecode(str, decodeURIComponent_); var HonoRequest = class { /** @@ -604,7 +604,7 @@ var HonoRequest = class { } }; -// ../../matrix/arcrun/kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/utils/html.js +// kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/utils/html.js var HtmlEscapedCallbackPhase = { Stringify: 1, BeforeStream: 2, @@ -646,7 +646,7 @@ var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) => } }; -// ../../matrix/arcrun/kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/context.js +// kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/context.js var TEXT_PLAIN = "text/plain; charset=UTF-8"; var setDefaultContentType = (contentType, headers) => { return { @@ -1053,7 +1053,7 @@ var Context = class { }; }; -// ../../matrix/arcrun/kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router.js +// kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router.js var METHOD_NAME_ALL = "ALL"; var METHOD_NAME_ALL_LOWERCASE = "all"; var METHODS = ["get", "post", "put", "delete", "options", "patch"]; @@ -1061,10 +1061,10 @@ var MESSAGE_MATCHER_IS_ALREADY_BUILT = "Can not add a route since the matcher is var UnsupportedPathError = class extends Error { }; -// ../../matrix/arcrun/kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/utils/constants.js +// kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/utils/constants.js var COMPOSED_HANDLER = "__COMPOSED_HANDLER"; -// ../../matrix/arcrun/kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/hono-base.js +// kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/hono-base.js var notFoundHandler = (c) => { return c.text("404 Not Found", 404); }; @@ -1440,11 +1440,11 @@ var Hono = class _Hono { }; }; -// ../../matrix/arcrun/kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/reg-exp-router/matcher.js +// kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/reg-exp-router/matcher.js var emptyParam = []; function match(method, path) { const matchers = this.buildAllMatchers(); - const match2 = ((method2, path2) => { + const match2 = (method2, path2) => { const matcher = matchers[method2] || matchers[METHOD_NAME_ALL]; const staticMatch = matcher[2][path2]; if (staticMatch) { @@ -1456,12 +1456,12 @@ function match(method, path) { } const index = match3.indexOf("", 1); return [matcher[1][index], match3]; - }); + }; this.match = match2; return match2(method, path); } -// ../../matrix/arcrun/kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/reg-exp-router/node.js +// kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/reg-exp-router/node.js var LABEL_REG_EXP_STR = "[^/]+"; var ONLY_WILDCARD_REG_EXP_STR = ".*"; var TAIL_WILDCARD_REG_EXP_STR = "(?:|/.*)"; @@ -1569,7 +1569,7 @@ var Node = class _Node { } }; -// ../../matrix/arcrun/kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/reg-exp-router/trie.js +// kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/reg-exp-router/trie.js var Trie = class { #context = { varIndex: 0 }; #root = new Node(); @@ -1625,7 +1625,7 @@ var Trie = class { } }; -// ../../matrix/arcrun/kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/reg-exp-router/router.js +// kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/reg-exp-router/router.js var nullMatcher = [/^$/, [], /* @__PURE__ */ Object.create(null)]; var wildcardRegExpCache = /* @__PURE__ */ Object.create(null); function buildWildcardRegExp(path) { @@ -1804,7 +1804,7 @@ var RegExpRouter = class { } }; -// ../../matrix/arcrun/kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/smart-router/router.js +// kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/smart-router/router.js var SmartRouter = class { name = "SmartRouter"; #routers = []; @@ -1859,7 +1859,7 @@ var SmartRouter = class { } }; -// ../../matrix/arcrun/kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/trie-router/node.js +// kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/trie-router/node.js var emptyParams = /* @__PURE__ */ Object.create(null); var hasChildren = (children) => { for (const _ in children) { @@ -2034,7 +2034,7 @@ var Node2 = class _Node2 { } }; -// ../../matrix/arcrun/kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/trie-router/router.js +// kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/router/trie-router/router.js var TrieRouter = class { name = "TrieRouter"; #node; @@ -2056,7 +2056,7 @@ var TrieRouter = class { } }; -// ../../matrix/arcrun/kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/hono.js +// kbdb/node_modules/.pnpm/hono@4.12.23/node_modules/hono/dist/hono.js var Hono2 = class extends Hono { /** * Creates an instance of the Hono class. @@ -2071,7 +2071,7 @@ var Hono2 = class extends Hono { } }; -// ../../matrix/arcrun/kbdb/src/actions/entry-crud.ts +// kbdb/src/actions/entry-crud.ts function uid(prefix) { return `${prefix}_${crypto.randomUUID()}`; } @@ -2408,7 +2408,7 @@ async function searchEntries(db, q, owner_id, entry_type, limit = 50, library, s return applyRelativeCut(res.results ?? []); } -// ../../matrix/arcrun/kbdb/src/embed.ts +// kbdb/src/embed.ts var DEFAULT_EMBED_MODEL = "@cf/baai/bge-m3"; var MIN_SCORE_ABS_FLOOR = 0.45; var MIN_SCORE_TOP_RATIO = 0.8; @@ -2617,7 +2617,7 @@ async function semanticSearch(env, q, opts = {}) { })); } -// ../../matrix/arcrun/kbdb/src/actions/credential-legacy-migration.ts +// kbdb/src/actions/credential-legacy-migration.ts async function legacyCredentialsTableExists(db) { const row = await db.prepare(`SELECT 1 AS x FROM sqlite_master WHERE type = 'table' AND name = 'credentials'`).first(); return row !== null; @@ -2647,7 +2647,7 @@ async function migrateLegacyCredentialsForOwner(db, ownerId) { return (after?.n ?? 0) - (before?.n ?? 0); } -// ../../matrix/arcrun/kbdb/src/routes/entries.ts +// kbdb/src/routes/entries.ts var entryRoutes = new Hono2(); function fireAndForget(c, p) { let ctx; @@ -2898,7 +2898,7 @@ entryRoutes.delete("/:id", async (c) => { return c.json({ success: true, vector_deleted }); }); -// ../../matrix/arcrun/kbdb/src/actions/record-crud.ts +// kbdb/src/actions/record-crud.ts function uid2(prefix) { return `${prefix}_${crypto.randomUUID()}`; } @@ -3031,7 +3031,7 @@ async function deleteRecord(db, recordId) { return true; } -// ../../matrix/arcrun/kbdb/src/routes/templates.ts +// kbdb/src/routes/templates.ts var templateRoutes = new Hono2(); templateRoutes.post("/", async (c) => { const body = await c.req.json().catch(() => null); @@ -3057,7 +3057,7 @@ templateRoutes.patch("/:id", async (c) => { return c.json({ success: true, template: tpl }); }); -// ../../matrix/arcrun/kbdb/src/routes/records.ts +// kbdb/src/routes/records.ts var recordRoutes = new Hono2(); recordRoutes.post("/", async (c) => { const body = await c.req.json().catch(() => null); @@ -3122,7 +3122,7 @@ recordRoutes.delete("/:recordId", async (c) => { return c.json({ success: true }); }); -// ../../matrix/arcrun/kbdb/src/actions/recipe-stat.ts +// kbdb/src/actions/recipe-stat.ts function statId(canonicalId) { return `recipestat:${canonicalId}`; } @@ -3161,7 +3161,7 @@ function emptyStat(canonicalId) { return { canonical_id: canonicalId, success_count: 0, failure_count: 0, last_status: null, last_at: null }; } -// ../../matrix/arcrun/kbdb/src/routes/recipe-stats.ts +// kbdb/src/routes/recipe-stats.ts var recipeStatRoutes = new Hono2(); recipeStatRoutes.post("/record", async (c) => { const body = await c.req.json().catch(() => null); @@ -3177,7 +3177,7 @@ recipeStatRoutes.get("/:canonical_id", async (c) => { return c.json({ success: true, stat }); }); -// ../../matrix/arcrun/kbdb/src/routes/embed.ts +// kbdb/src/routes/embed.ts var embedRoutes = new Hono2(); var OFF_HINT = "\u8A9E\u7FA9\u88DC\u5D4C\u9700\u5148\u958B embed \u6A21\u7D44\uFF08Vectorize+AI binding\uFF09\u3002\u53EB CC\u300C\u5E6B\u6211\u958B\u8A9E\u7FA9\u67E5\u8A62\u300D\uFF08\u8A2D kbdb_embed:true + redeploy \u6CE8\u5165 binding\uFF09\u5F8C\u518D\u547C\u53EB\u672C\u7AEF\u9EDE\u3002"; embedRoutes.post("/backfill", async (c) => { @@ -3210,7 +3210,7 @@ embedRoutes.get("/selftest", async (c) => { return c.json({ success: true, ...result }); }); -// ../../matrix/arcrun/kbdb/src/actions/library-map.ts +// kbdb/src/actions/library-map.ts var LIBRARY_MAP_TEMPLATE_ID = "tpl-library-map"; var LIBRARY_MAP_TEMPLATE_NAME = "library_map"; var LIBRARY_MAP_SLOTS = [ @@ -3509,7 +3509,7 @@ async function getLibraryMapDetail(db, library, owner_id) { }; } -// ../../matrix/arcrun/kbdb/src/routes/map.ts +// kbdb/src/routes/map.ts var mapRoutes = new Hono2(); mapRoutes.post("/recompute", async (c) => { const body = await c.req.json().catch(() => ({})); @@ -3547,7 +3547,7 @@ mapRoutes.get("/:library", async (c) => { return c.json({ success: true, map }); }); -// ../../matrix/arcrun/kbdb/src/actions/execution-log.ts +// kbdb/src/actions/execution-log.ts var SUCCESS_MESSAGE_MAX = 200; var FAILED_MESSAGE_MAX = 2e3; var TARGET_MAX = 300; @@ -3718,7 +3718,7 @@ async function cleanupExpiredLogs(db) { return { deleted, checked_overrides: overrides.length }; } -// ../../matrix/arcrun/kbdb/src/routes/execution-log.ts +// kbdb/src/routes/execution-log.ts var executionLogRoutes = new Hono2(); executionLogRoutes.post("/record", async (c) => { const body = await c.req.json().catch(() => null); @@ -3772,7 +3772,7 @@ executionLogRoutes.post("/cleanup", async (c) => { return c.json({ success: true, ...result }); }); -// ../../matrix/arcrun/kbdb/src/index.ts +// kbdb/src/index.ts var app = new Hono2(); app.use("*", async (c, next) => { const path = new URL(c.req.url).pathname; @@ -3797,7 +3797,7 @@ app.route("/recipe-stats", recipeStatRoutes); app.route("/execution-log", executionLogRoutes); app.route("/embed", embedRoutes); app.route("/map", mapRoutes); -var index_default = app; +var src_default = app; export { - index_default as default + src_default as default }; diff --git a/arcrun-mcp/worker.mjs b/arcrun-mcp/worker.mjs index 7a9a887..973bf83 100644 --- a/arcrun-mcp/worker.mjs +++ b/arcrun-mcp/worker.mjs @@ -5,11 +5,7 @@ var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; var __commonJS = (cb, mod) => function __require() { - try { - return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; - } catch (e) { - throw mod = 0, e; - } + return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; var __export = (target, all) => { for (var name in all) @@ -32,9 +28,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge mod )); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js var require_code = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0; @@ -186,9 +182,9 @@ var require_code = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js var require_scope = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0; @@ -331,9 +327,9 @@ var require_scope = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js var require_codegen = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0; @@ -1051,9 +1047,9 @@ var require_codegen = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js var require_util = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0; @@ -1218,9 +1214,9 @@ var require_util = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js var require_names = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var codegen_1 = require_codegen(); @@ -1257,9 +1253,9 @@ var require_names = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js var require_errors = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0; @@ -1379,9 +1375,9 @@ var require_errors = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js var require_boolSchema = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0; @@ -1430,9 +1426,9 @@ var require_boolSchema = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js var require_rules = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getRules = exports.isJSONType = void 0; @@ -1461,9 +1457,9 @@ var require_rules = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js var require_applicability = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0; @@ -1484,9 +1480,9 @@ var require_applicability = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js var require_dataType = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0; @@ -1668,9 +1664,9 @@ var require_dataType = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js var require_defaults = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.assignDefaults = void 0; @@ -1705,9 +1701,9 @@ var require_defaults = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js var require_code2 = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0; @@ -1838,9 +1834,9 @@ var require_code2 = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js var require_keyword = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0; @@ -1956,9 +1952,9 @@ var require_keyword = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js var require_subschema = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0; @@ -2039,9 +2035,9 @@ var require_subschema = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js +// mcp/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js var require_fast_deep_equal = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js"(exports, module) { + "mcp/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js"(exports, module) { "use strict"; module.exports = function equal(a, b) { if (a === b) return true; @@ -2074,9 +2070,9 @@ var require_fast_deep_equal = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js +// mcp/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js var require_json_schema_traverse = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js"(exports, module) { + "mcp/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js"(exports, module) { "use strict"; var traverse = module.exports = function(schema4, opts, cb) { if (typeof opts == "function") { @@ -2162,9 +2158,9 @@ var require_json_schema_traverse = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js var require_resolve = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0; @@ -2318,9 +2314,9 @@ var require_resolve = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js var require_validate = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0; @@ -2826,9 +2822,9 @@ var require_validate = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js var require_validation_error = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var ValidationError = class extends Error { @@ -2842,9 +2838,9 @@ var require_validation_error = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js var require_ref_error = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var resolve_1 = require_resolve(); @@ -2859,9 +2855,9 @@ var require_ref_error = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js var require_compile = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0; @@ -3083,9 +3079,9 @@ var require_compile = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json var require_data = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json"(exports, module) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json"(exports, module) { module.exports = { $id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", description: "Meta-schema for $data reference (JSON AnySchema extension proposal)", @@ -3102,9 +3098,9 @@ var require_data = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js +// mcp/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js var require_utils = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js"(exports, module) { + "mcp/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js"(exports, module) { "use strict"; var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu); var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u); @@ -3359,9 +3355,9 @@ var require_utils = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js +// mcp/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js var require_schemes = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js"(exports, module) { + "mcp/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js"(exports, module) { "use strict"; var { isUUID } = require_utils(); var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu; @@ -3569,9 +3565,9 @@ var require_schemes = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/index.js +// mcp/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/index.js var require_fast_uri = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/index.js"(exports, module) { + "mcp/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/index.js"(exports, module) { "use strict"; var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizeComponentEncoding, isIPv4, nonSimpleDomain } = require_utils(); var { SCHEMES, getSchemeHandler } = require_schemes(); @@ -3824,9 +3820,9 @@ var require_fast_uri = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js var require_uri = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var uri = require_fast_uri(); @@ -3835,9 +3831,9 @@ var require_uri = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js var require_core = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0; @@ -4446,9 +4442,9 @@ var require_core = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js var require_id = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var def = { @@ -4461,9 +4457,9 @@ var require_id = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js var require_ref = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.callRef = exports.getValidate = void 0; @@ -4583,9 +4579,9 @@ var require_ref = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js var require_core2 = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var id_1 = require_id(); @@ -4604,9 +4600,9 @@ var require_core2 = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js var require_limitNumber = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var codegen_1 = require_codegen(); @@ -4636,9 +4632,9 @@ var require_limitNumber = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js var require_multipleOf = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var codegen_1 = require_codegen(); @@ -4664,9 +4660,9 @@ var require_multipleOf = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js var require_ucs2length = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function ucs2length(str) { @@ -4690,9 +4686,9 @@ var require_ucs2length = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js var require_limitLength = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var codegen_1 = require_codegen(); @@ -4722,9 +4718,9 @@ var require_limitLength = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js var require_pattern = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var code_1 = require_code2(); @@ -4759,9 +4755,9 @@ var require_pattern = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js var require_limitProperties = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var codegen_1 = require_codegen(); @@ -4788,9 +4784,9 @@ var require_limitProperties = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js var require_required = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var code_1 = require_code2(); @@ -4870,9 +4866,9 @@ var require_required = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js var require_limitItems = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var codegen_1 = require_codegen(); @@ -4899,9 +4895,9 @@ var require_limitItems = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js var require_equal = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var equal = require_fast_deep_equal(); @@ -4910,9 +4906,9 @@ var require_equal = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js var require_uniqueItems = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var dataType_1 = require_dataType(); @@ -4977,9 +4973,9 @@ var require_uniqueItems = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js var require_const = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var codegen_1 = require_codegen(); @@ -5006,9 +5002,9 @@ var require_const = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js var require_enum = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var codegen_1 = require_codegen(); @@ -5055,9 +5051,9 @@ var require_enum = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js var require_validation = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var limitNumber_1 = require_limitNumber(); @@ -5093,9 +5089,9 @@ var require_validation = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js var require_additionalItems = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.validateAdditionalItems = void 0; @@ -5146,9 +5142,9 @@ var require_additionalItems = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js var require_items = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.validateTuple = void 0; @@ -5203,9 +5199,9 @@ var require_items = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js var require_prefixItems = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var items_1 = require_items(); @@ -5220,9 +5216,9 @@ var require_prefixItems = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js var require_items2020 = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var codegen_1 = require_codegen(); @@ -5255,9 +5251,9 @@ var require_items2020 = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js var require_contains = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var codegen_1 = require_codegen(); @@ -5349,9 +5345,9 @@ var require_contains = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js var require_dependencies = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0; @@ -5443,9 +5439,9 @@ var require_dependencies = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js var require_propertyNames = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var codegen_1 = require_codegen(); @@ -5486,9 +5482,9 @@ var require_propertyNames = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js var require_additionalProperties = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var code_1 = require_code2(); @@ -5592,9 +5588,9 @@ var require_additionalProperties = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js var require_properties = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var validate_1 = require_validate(); @@ -5650,9 +5646,9 @@ var require_properties = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js var require_patternProperties = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var code_1 = require_code2(); @@ -5724,9 +5720,9 @@ var require_patternProperties = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js var require_not = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var util_1 = require_util(); @@ -5755,9 +5751,9 @@ var require_not = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js var require_anyOf = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var code_1 = require_code2(); @@ -5772,9 +5768,9 @@ var require_anyOf = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js var require_oneOf = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var codegen_1 = require_codegen(); @@ -5830,9 +5826,9 @@ var require_oneOf = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js var require_allOf = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var util_1 = require_util(); @@ -5857,9 +5853,9 @@ var require_allOf = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js var require_if = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var codegen_1 = require_codegen(); @@ -5926,9 +5922,9 @@ var require_if = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js var require_thenElse = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var util_1 = require_util(); @@ -5944,9 +5940,9 @@ var require_thenElse = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js var require_applicator = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var additionalItems_1 = require_additionalItems(); @@ -5992,9 +5988,9 @@ var require_applicator = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js var require_format = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var codegen_1 = require_codegen(); @@ -6082,9 +6078,9 @@ var require_format = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js var require_format2 = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var format_1 = require_format(); @@ -6093,9 +6089,9 @@ var require_format2 = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js var require_metadata = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.contentVocabulary = exports.metadataVocabulary = void 0; @@ -6116,9 +6112,9 @@ var require_metadata = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js var require_draft7 = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = require_core2(); @@ -6138,9 +6134,9 @@ var require_draft7 = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js var require_types = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DiscrError = void 0; @@ -6152,9 +6148,9 @@ var require_types = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js var require_discriminator = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var codegen_1 = require_codegen(); @@ -6257,9 +6253,9 @@ var require_discriminator = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json var require_json_schema_draft_07 = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports, module) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports, module) { module.exports = { $schema: "http://json-schema.org/draft-07/schema#", $id: "http://json-schema.org/draft-07/schema#", @@ -6414,9 +6410,9 @@ var require_json_schema_draft_07 = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js +// mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js var require_ajv = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js"(exports, module) { + "mcp/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js"(exports, module) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0; @@ -6484,9 +6480,9 @@ var require_ajv = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/formats.js +// mcp/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/formats.js var require_formats = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/formats.js"(exports) { + "mcp/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/formats.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.formatNames = exports.fastFormats = exports.fullFormats = void 0; @@ -6687,9 +6683,9 @@ var require_formats = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js +// mcp/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js var require_limit = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js"(exports) { + "mcp/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js"(exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.formatLimitDefinition = void 0; @@ -6759,9 +6755,9 @@ var require_limit = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js +// mcp/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js var require_dist = __commonJS({ - "../../matrix/arcrun/mcp/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js"(exports, module) { + "mcp/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js"(exports, module) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var formats_1 = require_formats(); @@ -6801,7 +6797,7 @@ var require_dist = __commonJS({ } }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/compose.js +// mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/compose.js var compose = (middleware, onError, onNotFound) => { return (context, next) => { let index = -1; @@ -6845,10 +6841,10 @@ var compose = (middleware, onError, onNotFound) => { }; }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/request/constants.js +// mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/request/constants.js var GET_MATCH_RESULT = /* @__PURE__ */ Symbol(); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/body.js +// mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/body.js var parseBody = async (request, options = /* @__PURE__ */ Object.create(null)) => { const { all = false, dot = false } = options; const headers = request instanceof HonoRequest ? request.raw.headers : request.headers; @@ -6920,7 +6916,7 @@ var handleParsingNestedValues = (form, key, value) => { }); }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/url.js +// mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/url.js var splitPath = (path) => { const paths = path.split("/"); if (paths[0] === "") { @@ -7124,7 +7120,7 @@ var getQueryParams = (url, key) => { }; var decodeURIComponent_ = decodeURIComponent; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/request.js +// mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/request.js var tryDecodeURIComponent = (str) => tryDecode(str, decodeURIComponent_); var HonoRequest = class { /** @@ -7392,7 +7388,7 @@ var HonoRequest = class { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/html.js +// mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/html.js var HtmlEscapedCallbackPhase = { Stringify: 1, BeforeStream: 2, @@ -7434,7 +7430,7 @@ var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) => } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/context.js +// mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/context.js var TEXT_PLAIN = "text/plain; charset=UTF-8"; var setDefaultContentType = (contentType, headers) => { return { @@ -7841,7 +7837,7 @@ var Context = class { }; }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router.js +// mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router.js var METHOD_NAME_ALL = "ALL"; var METHOD_NAME_ALL_LOWERCASE = "all"; var METHODS = ["get", "post", "put", "delete", "options", "patch"]; @@ -7849,10 +7845,10 @@ var MESSAGE_MATCHER_IS_ALREADY_BUILT = "Can not add a route since the matcher is var UnsupportedPathError = class extends Error { }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/constants.js +// mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/utils/constants.js var COMPOSED_HANDLER = "__COMPOSED_HANDLER"; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/hono-base.js +// mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/hono-base.js var notFoundHandler = (c) => { return c.text("404 Not Found", 404); }; @@ -8223,11 +8219,11 @@ var Hono = class _Hono { }; }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/matcher.js +// mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/matcher.js var emptyParam = []; function match(method, path) { const matchers = this.buildAllMatchers(); - const match2 = ((method2, path2) => { + const match2 = (method2, path2) => { const matcher = matchers[method2] || matchers[METHOD_NAME_ALL]; const staticMatch = matcher[2][path2]; if (staticMatch) { @@ -8239,12 +8235,12 @@ function match(method, path) { } const index = match3.indexOf("", 1); return [matcher[1][index], match3]; - }); + }; this.match = match2; return match2(method, path); } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/node.js +// mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/node.js var LABEL_REG_EXP_STR = "[^/]+"; var ONLY_WILDCARD_REG_EXP_STR = ".*"; var TAIL_WILDCARD_REG_EXP_STR = "(?:|/.*)"; @@ -8352,7 +8348,7 @@ var Node = class _Node { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/trie.js +// mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/trie.js var Trie = class { #context = { varIndex: 0 }; #root = new Node(); @@ -8408,7 +8404,7 @@ var Trie = class { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/router.js +// mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/reg-exp-router/router.js var nullMatcher = [/^$/, [], /* @__PURE__ */ Object.create(null)]; var wildcardRegExpCache = /* @__PURE__ */ Object.create(null); function buildWildcardRegExp(path) { @@ -8587,7 +8583,7 @@ var RegExpRouter = class { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/smart-router/router.js +// mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/smart-router/router.js var SmartRouter = class { name = "SmartRouter"; #routers = []; @@ -8642,7 +8638,7 @@ var SmartRouter = class { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/trie-router/node.js +// mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/trie-router/node.js var emptyParams = /* @__PURE__ */ Object.create(null); var hasChildren = (children) => { for (const _ in children) { @@ -8817,7 +8813,7 @@ var Node2 = class _Node2 { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/trie-router/router.js +// mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/router/trie-router/router.js var TrieRouter = class { name = "TrieRouter"; #node; @@ -8839,7 +8835,7 @@ var TrieRouter = class { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/hono.js +// mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/hono.js var Hono2 = class extends Hono { /** * Creates an instance of the Hono class. @@ -8854,7 +8850,7 @@ var Hono2 = class extends Hono { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/middleware/cors/index.js +// mcp/node_modules/.pnpm/hono@4.12.10/node_modules/hono/dist/middleware/cors/index.js var cors = (options) => { const defaults = { origin: "*", @@ -8942,7 +8938,7 @@ var cors = (options) => { }; }; -// ../../matrix/arcrun/mcp/src/oauth/crypto.ts +// mcp/src/oauth/crypto.ts function base64UrlEncode(bytes) { let bin = ""; for (const b of bytes) bin += String.fromCharCode(b); @@ -8980,7 +8976,7 @@ async function verifyPkceS256(codeVerifier, codeChallenge, method) { return constantTimeEqual(computed, codeChallenge); } -// ../../matrix/arcrun/mcp/src/oauth/store.ts +// mcp/src/oauth/store.ts var CODE_PREFIX = "oauth:code:"; var TOKEN_PREFIX = "oauth:tok:"; var AUTH_CODE_TTL_SECONDS = 600; @@ -9016,7 +9012,7 @@ async function getAccessToken(kv, token) { } } -// ../../matrix/arcrun/mcp/src/oauth/metadata.ts +// mcp/src/oauth/metadata.ts function originOf(reqUrl) { const u = new URL(reqUrl); return `${u.protocol.toLowerCase()}//${u.host.toLowerCase()}`; @@ -9070,7 +9066,7 @@ function wwwAuthenticateHeader(origin, error2) { return h; } -// ../../matrix/arcrun/mcp/src/middleware/partner-auth.ts +// mcp/src/middleware/partner-auth.ts async function partnerAuthMiddleware(c, next) { const origin = originOf(c.req.url); const unauthorized = (desc, error2) => c.json({ error: "unauthorized", error_description: desc }, 401, { @@ -9130,7 +9126,7 @@ async function partnerAuthMiddleware(c, next) { return unauthorized("Bearer token not recognized; complete OAuth to obtain an access token", "invalid_token"); } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/external.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/external.js var external_exports = {}; __export(external_exports, { BRAND: () => BRAND, @@ -9242,7 +9238,7 @@ __export(external_exports, { void: () => voidType }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.js var util; (function(util2) { util2.assertEqual = (_) => { @@ -9376,7 +9372,7 @@ var getParsedType = (data) => { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/ZodError.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/ZodError.js var ZodIssueCode = util.arrayToEnum([ "invalid_type", "invalid_literal", @@ -9494,7 +9490,7 @@ ZodError.create = (issues) => { return error2; }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/locales/en.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/locales/en.js var errorMap = (issue2, _ctx) => { let message; switch (issue2.code) { @@ -9597,7 +9593,7 @@ var errorMap = (issue2, _ctx) => { }; var en_default = errorMap; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/errors.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/errors.js var overrideErrorMap = en_default; function setErrorMap(map2) { overrideErrorMap = map2; @@ -9606,7 +9602,7 @@ function getErrorMap() { return overrideErrorMap; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js var makeIssue = (params) => { const { data, path, errorMaps, issueData } = params; const fullPath = [...path, ...issueData.path || []]; @@ -9716,14 +9712,14 @@ var isDirty = (x) => x.status === "dirty"; var isValid = (x) => x.status === "valid"; var isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js var errorUtil; (function(errorUtil2) { errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {}; errorUtil2.toString = (message) => typeof message === "string" ? message : message?.message; })(errorUtil || (errorUtil = {})); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js var ParseInputLazyPath = class { constructor(parent, value, path, key) { this._cachedPath = []; @@ -12958,7 +12954,7 @@ ZodNaN.create = (params) => { ...processCreateParams(params) }); }; -var BRAND = /* @__PURE__ */ Symbol("zod_brand"); +var BRAND = Symbol("zod_brand"); var ZodBranded = class extends ZodType { _parse(input) { const { ctx } = this._processInputParams(input); @@ -13160,18 +13156,18 @@ var ostring = () => stringType().optional(); var onumber = () => numberType().optional(); var oboolean = () => booleanType().optional(); var coerce = { - string: ((arg) => ZodString.create({ ...arg, coerce: true })), - number: ((arg) => ZodNumber.create({ ...arg, coerce: true })), - boolean: ((arg) => ZodBoolean.create({ + string: (arg) => ZodString.create({ ...arg, coerce: true }), + number: (arg) => ZodNumber.create({ ...arg, coerce: true }), + boolean: (arg) => ZodBoolean.create({ ...arg, coerce: true - })), - bigint: ((arg) => ZodBigInt.create({ ...arg, coerce: true })), - date: ((arg) => ZodDate.create({ ...arg, coerce: true })) + }), + bigint: (arg) => ZodBigInt.create({ ...arg, coerce: true }), + date: (arg) => ZodDate.create({ ...arg, coerce: true }) }; var NEVER = INVALID; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/core.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/core.js var NEVER2 = Object.freeze({ status: "aborted" }); @@ -13218,6 +13214,7 @@ function $constructor(name, initializer3, params) { Object.defineProperty(_, "name", { value: name }); return _; } +var $brand = Symbol("zod_brand"); var $ZodAsyncError = class extends Error { constructor() { super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`); @@ -13230,7 +13227,7 @@ function config(newConfig) { return globalConfig; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/util.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/util.js var util_exports = {}; __export(util_exports, { BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES, @@ -13751,7 +13748,7 @@ var Class = class { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/errors.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/errors.js var initializer = (inst, def) => { inst.name = "$ZodError"; Object.defineProperty(inst, "_zod", { @@ -13826,7 +13823,7 @@ function formatError(error2, _mapper) { return fieldErrors; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/parse.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/parse.js var _parse = (_Err) => (schema4, value, _ctx, _params) => { const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false }; const result = schema4._zod.run({ value, issues: [] }, ctx); @@ -13878,7 +13875,7 @@ var _safeParseAsync = (_Err) => async (schema4, value, _ctx) => { }; var safeParseAsync = /* @__PURE__ */ _safeParseAsync($ZodRealError); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/regexes.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/regexes.js var cuid = /^[cC][^\s-]{8,}$/; var cuid2 = /^[0-9a-z]+$/; var ulid = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/; @@ -13936,7 +13933,7 @@ var _null = /null/i; var lowercase = /^[^A-Z]*$/; var uppercase = /^[^a-z]*$/; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/checks.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/checks.js var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => { var _a; inst._zod ?? (inst._zod = {}); @@ -14321,7 +14318,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins }; }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/doc.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/doc.js var Doc = class { constructor(args = []) { this.content = []; @@ -14357,14 +14354,14 @@ var Doc = class { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/versions.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/versions.js var version = { major: 4, minor: 0, patch: 0 }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/schemas.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/schemas.js var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => { var _a; inst ?? (inst = {}); @@ -15602,7 +15599,7 @@ function handleRefineResult(result, payload, input, inst) { } } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/en.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/en.js var parsedType = (data) => { const t = typeof data; switch (t) { @@ -15720,7 +15717,9 @@ function en_default2() { }; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/registries.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/registries.js +var $output = Symbol("ZodOutput"); +var $input = Symbol("ZodInput"); var $ZodRegistry = class { constructor() { this._map = /* @__PURE__ */ new Map(); @@ -15768,7 +15767,7 @@ function registry() { } var globalRegistry = /* @__PURE__ */ registry(); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/api.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/api.js function _string(Class2, params) { return new Class2({ type: "string", @@ -16207,7 +16206,7 @@ function _refine(Class2, fn, _params) { return schema4; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/to-json-schema.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/to-json-schema.js var JSONSchemaGenerator = class { constructor(params) { this.counter = 0; @@ -16974,7 +16973,7 @@ function isTransforming(_schema, _ctx) { throw new Error(`Unknown schema type: ${def.type}`); } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/mini/schemas.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/mini/schemas.js var ZodMiniType = /* @__PURE__ */ $constructor("ZodMiniType", (inst, def) => { if (!inst._zod) throw new Error("Uninitialized schema in ZodMiniType."); @@ -16998,10 +16997,10 @@ var ZodMiniType = /* @__PURE__ */ $constructor("ZodMiniType", (inst, def) => { }; inst.clone = (_def, params) => clone(inst, _def, params); inst.brand = () => inst; - inst.register = ((reg, meta) => { + inst.register = (reg, meta) => { reg.add(inst, meta); return inst; - }); + }; }); var ZodMiniObject = /* @__PURE__ */ $constructor("ZodMiniObject", (inst, def) => { $ZodObject.init(inst, def); @@ -17020,7 +17019,7 @@ function object(shape, params) { return new ZodMiniObject(def); } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js +// mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js function isZ4Schema(s) { const schema4 = s; return !!schema4._zod; @@ -17164,7 +17163,7 @@ function getLiteralValue(schema4) { return void 0; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/iso.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/iso.js var iso_exports2 = {}; __export(iso_exports2, { ZodISODate: () => ZodISODate, @@ -17205,7 +17204,7 @@ function duration2(params) { return _isoDuration(ZodISODuration, params); } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/errors.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/errors.js var initializer2 = (inst, issues) => { $ZodError.init(inst, issues); inst.name = "ZodError"; @@ -17239,13 +17238,13 @@ var ZodRealError = $constructor("ZodError", initializer2, { Parent: Error }); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/parse.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/parse.js var parse2 = /* @__PURE__ */ _parse(ZodRealError); var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError); var safeParse3 = /* @__PURE__ */ _safeParse(ZodRealError); var safeParseAsync3 = /* @__PURE__ */ _safeParseAsync(ZodRealError); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/schemas.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/schemas.js var ZodType2 = /* @__PURE__ */ $constructor("ZodType", (inst, def) => { $ZodType.init(inst, def); inst.def = def; @@ -17264,10 +17263,10 @@ var ZodType2 = /* @__PURE__ */ $constructor("ZodType", (inst, def) => { }; inst.clone = (def2, params) => clone(inst, def2, params); inst.brand = () => inst; - inst.register = ((reg, meta) => { + inst.register = (reg, meta) => { reg.add(inst, meta); return inst; - }); + }; inst.parse = (data, params) => parse2(inst, data, params, { callee: inst.parse }); inst.safeParse = (data, params) => safeParse3(inst, data, params); inst.parseAsync = async (data, params) => parseAsync2(inst, data, params, { callee: inst.parseAsync }); @@ -17856,10 +17855,10 @@ function preprocess(fn, schema4) { return pipe(transform(fn), schema4); } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/external.js +// mcp/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/external.js config(en_default2()); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js +// mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js var LATEST_PROTOCOL_VERSION = "2025-11-25"; var DEFAULT_NEGOTIATED_PROTOCOL_VERSION = "2025-03-26"; var SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, "2025-06-18", "2025-03-26", "2024-11-05", "2024-10-07"]; @@ -19239,13 +19238,11 @@ function assertCompleteRequestPrompt(request) { if (request.params.ref.type !== "ref/prompt") { throw new TypeError(`Expected CompleteRequestPrompt, but got ${request.params.ref.type}`); } - void request; } function assertCompleteRequestResourceTemplate(request) { if (request.params.ref.type !== "ref/resource") { throw new TypeError(`Expected CompleteRequestResourceTemplate, but got ${request.params.ref.type}`); } - void request; } var CompleteResultSchema = ResultSchema.extend({ completion: looseObject({ @@ -19392,13 +19389,13 @@ var UrlElicitationRequiredError = class extends McpError { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js +// mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js function isTerminal(status) { return status === "completed" || status === "failed" || status === "cancelled"; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/Options.js -var ignoreOverride = /* @__PURE__ */ Symbol("Let zodToJsonSchema decide on which parser to use"); +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/Options.js +var ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use"); var defaultOptions = { name: void 0, $refStrategy: "root", @@ -19431,7 +19428,7 @@ var getDefaultOptions = (options) => typeof options === "string" ? { ...options }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/Refs.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/Refs.js var getRefs = (options) => { const _options = getDefaultOptions(options); const currentPath = _options.name !== void 0 ? [..._options.basePath, _options.definitionPath, _options.name] : _options.basePath; @@ -19452,7 +19449,7 @@ var getRefs = (options) => { }; }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/errorMessages.js function addErrorMessage(res, key, errorMessage, refs) { if (!refs?.errorMessages) return; @@ -19468,7 +19465,7 @@ function setResponseValueAndErrors(res, key, value, errorMessage, refs) { addErrorMessage(res, key, errorMessage, refs); } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js var getRelativePath = (pathA, pathB) => { let i = 0; for (; i < pathA.length && i < pathB.length; i++) { @@ -19478,7 +19475,7 @@ var getRelativePath = (pathA, pathB) => { return [(pathA.length - i).toString(), ...pathB.slice(i)].join("/"); }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/any.js function parseAnyDef(refs) { if (refs.target !== "openAi") { return {}; @@ -19494,7 +19491,7 @@ function parseAnyDef(refs) { }; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/array.js function parseArrayDef(def, refs) { const res = { type: "array" @@ -19518,7 +19515,7 @@ function parseArrayDef(def, refs) { return res; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js function parseBigintDef(def, refs) { const res = { type: "integer", @@ -19564,24 +19561,24 @@ function parseBigintDef(def, refs) { return res; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js function parseBooleanDef() { return { type: "boolean" }; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js function parseBrandedDef(_def, refs) { return parseDef(_def.type._def, refs); } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js var parseCatchDef = (def, refs) => { return parseDef(def.innerType._def, refs); }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/date.js function parseDateDef(def, refs, overrideDateStrategy) { const strategy = overrideDateStrategy ?? refs.dateStrategy; if (Array.isArray(strategy)) { @@ -19640,7 +19637,7 @@ var integerDateParser = (def, refs) => { return res; }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/default.js function parseDefaultDef(_def, refs) { return { ...parseDef(_def.innerType._def, refs), @@ -19648,12 +19645,12 @@ function parseDefaultDef(_def, refs) { }; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js function parseEffectsDef(_def, refs) { return refs.effectStrategy === "input" ? parseDef(_def.schema._def, refs) : parseAnyDef(refs); } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js function parseEnumDef(def) { return { type: "string", @@ -19661,7 +19658,7 @@ function parseEnumDef(def) { }; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js var isJsonSchema7AllOfType = (type) => { if ("type" in type && type.type === "string") return false; @@ -19703,7 +19700,7 @@ function parseIntersectionDef(def, refs) { } : void 0; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js function parseLiteralDef(def, refs) { const parsedType2 = typeof def.value; if (parsedType2 !== "bigint" && parsedType2 !== "number" && parsedType2 !== "boolean" && parsedType2 !== "string") { @@ -19723,7 +19720,7 @@ function parseLiteralDef(def, refs) { }; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/string.js var emojiRegex2 = void 0; var zodPatterns = { /** @@ -20048,7 +20045,7 @@ function stringifyRegExpWithFlags(regex, refs) { return pattern; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/record.js function parseRecordDef(def, refs) { if (refs.target === "openAi") { console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead."); @@ -20100,7 +20097,7 @@ function parseRecordDef(def, refs) { return schema4; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/map.js function parseMapDef(def, refs) { if (refs.mapStrategy === "record") { return parseRecordDef(def, refs); @@ -20125,7 +20122,7 @@ function parseMapDef(def, refs) { }; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js function parseNativeEnumDef(def) { const object3 = def.values; const actualKeys = Object.keys(def.values).filter((key) => { @@ -20139,7 +20136,7 @@ function parseNativeEnumDef(def) { }; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/never.js function parseNeverDef(refs) { return refs.target === "openAi" ? void 0 : { not: parseAnyDef({ @@ -20149,7 +20146,7 @@ function parseNeverDef(refs) { }; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/null.js function parseNullDef(refs) { return refs.target === "openApi3" ? { enum: ["null"], @@ -20159,7 +20156,7 @@ function parseNullDef(refs) { }; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/union.js var primitiveMappings = { ZodString: "string", ZodNumber: "number", @@ -20227,7 +20224,7 @@ var asAnyOf = (def, refs) => { return anyOf.length ? { anyOf } : void 0; }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js function parseNullableDef(def, refs) { if (["ZodString", "ZodNumber", "ZodBigInt", "ZodBoolean", "ZodNull"].includes(def.innerType._def.typeName) && (!def.innerType._def.checks || !def.innerType._def.checks.length)) { if (refs.target === "openApi3") { @@ -20259,7 +20256,7 @@ function parseNullableDef(def, refs) { return base && { anyOf: [base, { type: "null" }] }; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/number.js function parseNumberDef(def, refs) { const res = { type: "number" @@ -20308,7 +20305,7 @@ function parseNumberDef(def, refs) { return res; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/object.js function parseObjectDef(def, refs) { const forceOptionalIntoNullable = refs.target === "openAi"; const result = { @@ -20378,7 +20375,7 @@ function safeIsOptional(schema4) { } } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js var parseOptionalDef = (def, refs) => { if (refs.currentPath.toString() === refs.propertyPath?.toString()) { return parseDef(def.innerType._def, refs); @@ -20397,7 +20394,7 @@ var parseOptionalDef = (def, refs) => { } : parseAnyDef(refs); }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js var parsePipelineDef = (def, refs) => { if (refs.pipeStrategy === "input") { return parseDef(def.in._def, refs); @@ -20417,12 +20414,12 @@ var parsePipelineDef = (def, refs) => { }; }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js function parsePromiseDef(def, refs) { return parseDef(def.type._def, refs); } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/set.js function parseSetDef(def, refs) { const items = parseDef(def.valueType._def, { ...refs, @@ -20442,7 +20439,7 @@ function parseSetDef(def, refs) { return schema4; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js function parseTupleDef(def, refs) { if (def.rest) { return { @@ -20470,24 +20467,24 @@ function parseTupleDef(def, refs) { } } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js function parseUndefinedDef(refs) { return { not: parseAnyDef(refs) }; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js function parseUnknownDef(refs) { return parseAnyDef(refs); } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js var parseReadonlyDef = (def, refs) => { return parseDef(def.innerType._def, refs); }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/selectParser.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/selectParser.js var selectParser = (def, typeName, refs) => { switch (typeName) { case ZodFirstPartyTypeKind.ZodString: @@ -20563,7 +20560,7 @@ var selectParser = (def, typeName, refs) => { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parseDef.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parseDef.js function parseDef(def, refs, forceResolution = false) { const seenItem = refs.seen.get(def); if (refs.override) { @@ -20619,7 +20616,7 @@ var addMeta = (def, refs, jsonSchema) => { return jsonSchema; }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +// mcp/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js var zodToJsonSchema = (schema4, options) => { const refs = getRefs(options); let definitions = typeof options === "object" && options.definitions ? Object.entries(options.definitions).reduce((acc, [name2, schema5]) => ({ @@ -20681,7 +20678,7 @@ var zodToJsonSchema = (schema4, options) => { return combined; }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js +// mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js function mapMiniTarget(t) { if (!t) return "draft-7"; @@ -20723,7 +20720,7 @@ function parseWithCompat(schema4, data) { return result.data; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js +// mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js var DEFAULT_REQUEST_TIMEOUT_MSEC = 6e4; var Protocol = class { constructor(_options) { @@ -21677,7 +21674,7 @@ function mergeCapabilities(base, additional) { return result; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js +// mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js var import_ajv = __toESM(require_ajv(), 1); var import_ajv_formats = __toESM(require_dist(), 1); function createDefaultAjvInstance() { @@ -21745,7 +21742,7 @@ var AjvJsonSchemaValidator = class { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js +// mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js var ExperimentalServerTasks = class { constructor(_server) { this._server = _server; @@ -21958,7 +21955,7 @@ var ExperimentalServerTasks = class { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js +// mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js function assertToolsCallTaskCapability(requests, method, entityName) { if (!requests) { throw new Error(`${entityName} does not support task creation (required for ${method})`); @@ -21993,7 +21990,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) { } } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js +// mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js var Server = class extends Protocol { /** * Initializes this server with the given name and version information. @@ -22373,8 +22370,8 @@ var Server = class extends Protocol { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js -var COMPLETABLE_SYMBOL = /* @__PURE__ */ Symbol.for("mcp.completable"); +// mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js +var COMPLETABLE_SYMBOL = Symbol.for("mcp.completable"); function isCompletable(schema4) { return !!schema4 && typeof schema4 === "object" && COMPLETABLE_SYMBOL in schema4; } @@ -22387,7 +22384,7 @@ var McpZodTypeKind; McpZodTypeKind2["Completable"] = "McpCompletable"; })(McpZodTypeKind || (McpZodTypeKind = {})); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js +// mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js var TOOL_NAME_REGEX = /^[A-Za-z0-9._-]{1,128}$/; function validateToolName(name) { const warnings = []; @@ -22445,7 +22442,7 @@ function validateAndWarnToolName(name) { return result.isValid; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js +// mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js var ExperimentalMcpServerTasks = class { constructor(_mcpServer) { this._mcpServer = _mcpServer; @@ -22460,7 +22457,7 @@ var ExperimentalMcpServerTasks = class { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js +// mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js var McpServer = class { constructor(serverInfo, options) { this._registeredResources = {}; @@ -23252,7 +23249,7 @@ var EMPTY_COMPLETION_RESULT = { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js +// mcp/node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js var WebStandardStreamableHTTPServerTransport = class { constructor(options = {}) { this._started = false; @@ -23854,12 +23851,12 @@ data: } }; -// ../../matrix/arcrun/mcp/src/brand.ts +// mcp/src/brand.ts var envPrefix = globalThis.process?.env?.ARCRUN_TOOL_PREFIX; var TOOL_PREFIX = envPrefix || "arcrun"; var toolName = (suffix) => `${TOOL_PREFIX}_${suffix}`; -// ../../matrix/arcrun/mcp/src/tools/arcrun_search_components.ts +// mcp/src/tools/arcrun_search_components.ts function registerSearchComponents(server, env, orgNamespace) { server.tool( toolName("search_components"), @@ -23928,7 +23925,7 @@ ${JSON.stringify(results, null, 2)}` ); } -// ../../matrix/arcrun/mcp/src/tools/arcrun_search_workflows.ts +// mcp/src/tools/arcrun_search_workflows.ts function registerSearchWorkflows(server, env, orgNamespace, partnerToken) { server.tool( toolName("search_workflows"), @@ -23989,7 +23986,7 @@ ${JSON.stringify(entries, null, 2)}${hintLine}` ); } -// ../../matrix/arcrun/mcp/src/lib/kbdb-client.ts +// mcp/src/lib/kbdb-client.ts function kbdbFetch(env, path, init) { const headers = new Headers(init?.headers || {}); if (env.KBDB_INTERNAL_TOKEN) { @@ -23998,7 +23995,7 @@ function kbdbFetch(env, path, init) { return env.KBDB.fetch(`http://kbdb${path}`, { ...init, headers }); } -// ../../matrix/arcrun/mcp/src/tools/arcrun_list_components.ts +// mcp/src/tools/arcrun_list_components.ts function registerListComponents(server, env, orgNamespace) { server.tool( toolName("list_components"), @@ -24034,7 +24031,7 @@ function registerListComponents(server, env, orgNamespace) { ); } -// ../../matrix/arcrun/mcp/src/tools/arcrun_get_component.ts +// mcp/src/tools/arcrun_get_component.ts function registerGetComponent(server, env, orgNamespace) { server.tool( toolName("get_component"), @@ -24083,7 +24080,7 @@ function registerGetComponent(server, env, orgNamespace) { ); } -// ../../matrix/arcrun/mcp/src/tools/arcrun_create_tag.ts +// mcp/src/tools/arcrun_create_tag.ts function registerCreateTag(server, env, orgNamespace) { server.tool( toolName("create_tag"), @@ -24126,7 +24123,7 @@ function registerCreateTag(server, env, orgNamespace) { ); } -// ../../matrix/arcrun/mcp/src/tools/arcrun_list_tags.ts +// mcp/src/tools/arcrun_list_tags.ts function registerListTags(server, env, orgNamespace) { server.tool( toolName("list_tags"), @@ -24150,7 +24147,7 @@ function registerListTags(server, env, orgNamespace) { ); } -// ../../matrix/arcrun/mcp/src/tools/arcrun_delete_tag.ts +// mcp/src/tools/arcrun_delete_tag.ts function registerDeleteTag(server, env, orgNamespace) { server.tool( toolName("delete_tag"), @@ -24177,7 +24174,7 @@ function registerDeleteTag(server, env, orgNamespace) { ); } -// ../../matrix/arcrun/mcp/src/tools/arcrun_tag_resource.ts +// mcp/src/tools/arcrun_tag_resource.ts function registerTagResource(server, env, orgNamespace) { server.tool( toolName("tag_resource"), @@ -24231,7 +24228,7 @@ function registerTagResource(server, env, orgNamespace) { ); } -// ../../matrix/arcrun/mcp/src/tools/arcrun_untag_resource.ts +// mcp/src/tools/arcrun_untag_resource.ts function registerUntagResource(server, env, orgNamespace) { server.tool( toolName("untag_resource"), @@ -24270,7 +24267,7 @@ function registerUntagResource(server, env, orgNamespace) { ); } -// ../../matrix/arcrun/mcp/src/tools/arcrun_get_gui_context.ts +// mcp/src/tools/arcrun_get_gui_context.ts function registerGetGuiContext(server, env, orgNamespace) { server.tool( toolName("get_gui_context"), @@ -24329,7 +24326,7 @@ function registerGetGuiContext(server, env, orgNamespace) { ); } -// ../../matrix/arcrun/mcp/src/tools/arcrun_report_feedback.ts +// mcp/src/tools/arcrun_report_feedback.ts var ISSUE_TYPES = [ "success_story", // 順利完成,值得記錄這個 pattern @@ -24456,7 +24453,7 @@ function registerReportFeedback(server, env, orgNamespace) { ); } -// ../../matrix/arcrun/mcp/src/lib/cypher-client.ts +// mcp/src/lib/cypher-client.ts async function cypherFetch(env, path, opts) { if (!env.CYPHER_EXECUTOR) { throw new Error("CYPHER_EXECUTOR service binding not configured"); @@ -24506,7 +24503,7 @@ function successResponse(data, hints) { }; } -// ../../matrix/arcrun/mcp/src/tools/arcrun_introspection.ts +// mcp/src/tools/arcrun_introspection.ts var apiKeyDesc = "\u4F60 (\u7528\u6236) \u7684 arcrun api_key (ak_xxx)\u3002\u5F9E https://arcrun.dev/me \u53D6\u5F97\u3002\u6CE8\u610F\uFF1A\u8DDF MCP \u9023\u7DDA\u7528\u7684 pk_live token \u662F\u4E0D\u540C\u5C64 auth \u2014 pk_live \u7D66 MCP \u7528\uFF0Cak_xxx \u7D66 workflow \u64CD\u4F5C\u7528"; function registerValidateYaml(server, env) { server.tool( @@ -24688,14 +24685,14 @@ function registerAllIntrospectionTools(server, env) { registerListRecentExecutions(server, env); } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/identity.js -var ALIAS = /* @__PURE__ */ Symbol.for("yaml.alias"); -var DOC = /* @__PURE__ */ Symbol.for("yaml.document"); -var MAP = /* @__PURE__ */ Symbol.for("yaml.map"); -var PAIR = /* @__PURE__ */ Symbol.for("yaml.pair"); -var SCALAR = /* @__PURE__ */ Symbol.for("yaml.scalar"); -var SEQ = /* @__PURE__ */ Symbol.for("yaml.seq"); -var NODE_TYPE = /* @__PURE__ */ Symbol.for("yaml.node.type"); +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/identity.js +var ALIAS = Symbol.for("yaml.alias"); +var DOC = Symbol.for("yaml.document"); +var MAP = Symbol.for("yaml.map"); +var PAIR = Symbol.for("yaml.pair"); +var SCALAR = Symbol.for("yaml.scalar"); +var SEQ = Symbol.for("yaml.seq"); +var NODE_TYPE = Symbol.for("yaml.node.type"); var isAlias = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === ALIAS; var isDocument = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === DOC; var isMap = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === MAP; @@ -24724,10 +24721,10 @@ function isNode(node) { } var hasAnchor = (node) => (isScalar(node) || isCollection(node)) && !!node.anchor; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/visit.js -var BREAK = /* @__PURE__ */ Symbol("break visit"); -var SKIP = /* @__PURE__ */ Symbol("skip children"); -var REMOVE = /* @__PURE__ */ Symbol("remove node"); +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/visit.js +var BREAK = Symbol("break visit"); +var SKIP = Symbol("skip children"); +var REMOVE = Symbol("remove node"); function visit(node, visitor) { const visitor_ = initVisitor(visitor); if (isDocument(node)) { @@ -24874,7 +24871,7 @@ function replaceNode(key, path, node) { } } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/doc/directives.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/doc/directives.js var escapeChars = { "!": "%21", ",": "%2C", @@ -25037,7 +25034,7 @@ var Directives = class _Directives { Directives.defaultYaml = { explicit: false, version: "1.2" }; Directives.defaultTags = { "!!": "tag:yaml.org,2002:" }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/doc/anchors.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/doc/anchors.js function anchorIsValid(anchor) { if (/[\x00-\x19\s,[\]{}]/.test(anchor)) { const sa = JSON.stringify(anchor); @@ -25096,7 +25093,7 @@ function createNodeAnchors(doc, prefix) { }; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/doc/applyReviver.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/doc/applyReviver.js function applyReviver(reviver, obj, key, val) { if (val && typeof val === "object") { if (Array.isArray(val)) { @@ -25140,7 +25137,7 @@ function applyReviver(reviver, obj, key, val) { return reviver.call(obj, key, val); } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/toJS.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/toJS.js function toJS(value, arg, ctx) { if (Array.isArray(value)) return value.map((v, i) => toJS(v, String(i), ctx)); @@ -25163,7 +25160,7 @@ function toJS(value, arg, ctx) { return value; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/Node.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/Node.js var NodeBase = class { constructor(type) { Object.defineProperty(this, NODE_TYPE, { value: type }); @@ -25195,7 +25192,7 @@ var NodeBase = class { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/Alias.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/Alias.js var Alias = class extends NodeBase { constructor(source) { super(ALIAS); @@ -25300,7 +25297,7 @@ function getAliasCount(doc, node, anchors) { return 1; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/Scalar.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/Scalar.js var isScalarValue = (value) => !value || typeof value !== "function" && typeof value !== "object"; var Scalar = class extends NodeBase { constructor(value) { @@ -25320,7 +25317,7 @@ Scalar.PLAIN = "PLAIN"; Scalar.QUOTE_DOUBLE = "QUOTE_DOUBLE"; Scalar.QUOTE_SINGLE = "QUOTE_SINGLE"; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/doc/createNode.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/doc/createNode.js var defaultTagPrefix = "tag:yaml.org,2002:"; function findTagObject(value, tagName, tags) { if (tagName) { @@ -25386,7 +25383,7 @@ function createNode(value, tagName, ctx) { return node; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/Collection.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/Collection.js function collectionFromPath(schema4, path, value) { let v = value; for (let i = path.length - 1; i >= 0; --i) { @@ -25518,7 +25515,7 @@ var Collection = class extends NodeBase { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringifyComment.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringifyComment.js var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#"); function indentComment(comment, indent) { if (/^\n+$/.test(comment)) @@ -25527,7 +25524,7 @@ function indentComment(comment, indent) { } var lineComment = (str, indent, comment) => str.endsWith("\n") ? indentComment(comment, indent) : comment.includes("\n") ? "\n" + indentComment(comment, indent) : (str.endsWith(" ") ? "" : " ") + comment; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/foldFlowLines.js var FOLD_FLOW = "flow"; var FOLD_BLOCK = "block"; var FOLD_QUOTED = "quoted"; @@ -25654,7 +25651,7 @@ function consumeMoreIndentedLines(text, i, indent) { return end; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringifyString.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringifyString.js var getFoldOptions = (ctx, isBlock2) => ({ indentAtStart: isBlock2 ? ctx.indent.length : ctx.indentAtStart, lineWidth: ctx.options.lineWidth, @@ -25929,7 +25926,7 @@ function stringifyString(item, ctx, onComment, onChompKeep) { return res; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringify.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringify.js function createStringifyContext(doc, options) { const opt = Object.assign({ blockQuote: true, @@ -26042,7 +26039,7 @@ function stringify(item, ctx, onComment, onChompKeep) { ${ctx.indent}${str}`; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringifyPair.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringifyPair.js function stringifyPair({ key, value }, ctx, onComment, onChompKeep) { const { allNullValues, doc, indent, indentStep, options: { commentString, indentSeq, simpleKeys } } = ctx; let keyComment = isNode(key) && key.comment || null; @@ -26165,14 +26162,14 @@ ${ctx.indent}`; return str; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/log.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/log.js function warn(logLevel, warning) { if (logLevel === "debug" || logLevel === "warn") { console.warn(warning); } } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js var MERGE_KEY = "<<"; var merge2 = { identify: (value) => value === MERGE_KEY || typeof value === "symbol" && value.description === MERGE_KEY, @@ -26222,7 +26219,7 @@ function resolveAliasValue(ctx, value) { return ctx && isAlias(value) ? value.resolve(ctx.doc, ctx) : value; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js function addPairToJSMap(ctx, map2, { key, value }) { if (isNode(key) && key.addToJSMap) key.addToJSMap(ctx, map2, value); @@ -26275,7 +26272,7 @@ function stringifyKey(key, jsKey, ctx) { return JSON.stringify(jsKey); } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/Pair.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/Pair.js function createPair(key, value, ctx) { const k = createNode(key, void 0, ctx); const v = createNode(value, void 0, ctx); @@ -26304,7 +26301,7 @@ var Pair = class _Pair { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringifyCollection.js function stringifyCollection(collection, ctx, options) { const flow = ctx.inFlow ?? collection.flow; const stringify4 = flow ? stringifyFlowCollection : stringifyBlockCollection; @@ -26446,7 +26443,7 @@ function addCommentBefore({ indent, options: { commentString } }, lines, comment } } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/YAMLMap.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/YAMLMap.js function findPair(items, key) { const k = isScalar(key) ? key.value : key; for (const it of items) { @@ -26577,7 +26574,7 @@ var YAMLMap = class extends Collection { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/common/map.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/common/map.js var map = { collection: "map", default: true, @@ -26591,7 +26588,7 @@ var map = { createNode: (schema4, obj, ctx) => YAMLMap.from(schema4, obj, ctx) }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/YAMLSeq.js var YAMLSeq = class extends Collection { static get tagName() { return "tag:yaml.org,2002:seq"; @@ -26695,7 +26692,7 @@ function asItemIndex(key) { return typeof idx === "number" && Number.isInteger(idx) && idx >= 0 ? idx : null; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/common/seq.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/common/seq.js var seq = { collection: "seq", default: true, @@ -26709,7 +26706,7 @@ var seq = { createNode: (schema4, obj, ctx) => YAMLSeq.from(schema4, obj, ctx) }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/common/string.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/common/string.js var string3 = { identify: (value) => typeof value === "string", default: true, @@ -26721,7 +26718,7 @@ var string3 = { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/common/null.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/common/null.js var nullTag = { identify: (value) => value == null, createNode: () => new Scalar(null), @@ -26732,7 +26729,7 @@ var nullTag = { stringify: ({ source }, ctx) => typeof source === "string" && nullTag.test.test(source) ? source : ctx.options.nullStr }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/core/bool.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/core/bool.js var boolTag = { identify: (value) => typeof value === "boolean", default: true, @@ -26749,7 +26746,7 @@ var boolTag = { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringifyNumber.js function stringifyNumber({ format, minFractionDigits, tag, value }) { if (typeof value === "bigint") return String(value); @@ -26770,7 +26767,7 @@ function stringifyNumber({ format, minFractionDigits, tag, value }) { return n; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/core/float.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/core/float.js var floatNaN = { identify: (value) => typeof value === "number", default: true, @@ -26806,7 +26803,7 @@ var float = { stringify: stringifyNumber }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/core/int.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/core/int.js var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value); var intResolve = (str, offset, radix, { intAsBigInt }) => intAsBigInt ? BigInt(str) : parseInt(str.substring(offset), radix); function intStringify(node, radix, prefix) { @@ -26842,7 +26839,7 @@ var intHex = { stringify: (node) => intStringify(node, 16, "0x") }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/core/schema.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/core/schema.js var schema = [ map, seq, @@ -26857,7 +26854,7 @@ var schema = [ float ]; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/json/schema.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/json/schema.js function intIdentify2(value) { return typeof value === "bigint" || Number.isInteger(value); } @@ -26915,7 +26912,7 @@ var jsonError = { }; var schema2 = [map, seq].concat(jsonScalars, jsonError); -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js var binary = { identify: (value) => value instanceof Uint8Array, // Buffer inherits from Uint8Array @@ -26968,7 +26965,7 @@ var binary = { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js function resolvePairs(seq2, onError) { if (isSeq(seq2)) { for (let i = 0; i < seq2.items.length; ++i) { @@ -27034,7 +27031,7 @@ var pairs = { createNode: createPairs }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js var YAMLOMap = class _YAMLOMap extends YAMLSeq { constructor() { super(); @@ -27100,7 +27097,7 @@ var omap = { createNode: (schema4, iterable, ctx) => YAMLOMap.from(schema4, iterable, ctx) }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js function boolStringify({ value, source }, ctx) { const boolObj = value ? trueTag : falseTag; if (source && boolObj.test.test(source)) @@ -27124,7 +27121,7 @@ var falseTag = { stringify: boolStringify }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js var floatNaN2 = { identify: (value) => typeof value === "number", default: true, @@ -27163,7 +27160,7 @@ var float2 = { stringify: stringifyNumber }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js var intIdentify3 = (value) => typeof value === "bigint" || Number.isInteger(value); function intResolve2(str, offset, radix, { intAsBigInt }) { const sign = str[0]; @@ -27232,7 +27229,7 @@ var intHex2 = { stringify: (node) => intStringify2(node, 16, "0x") }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js var YAMLSet = class _YAMLSet extends YAMLMap { constructor(schema4) { super(schema4); @@ -27311,7 +27308,7 @@ var set = { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js function parseSexagesimal(str, asBigInt) { const sign = str[0]; const parts = sign === "-" || sign === "+" ? str.substring(1) : str; @@ -27390,7 +27387,7 @@ var timestamp = { stringify: ({ value }) => value?.toISOString().replace(/(T00:00:00)?\.000Z$/, "") ?? "" }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js var schema3 = [ map, seq, @@ -27415,7 +27412,7 @@ var schema3 = [ timestamp ]; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/tags.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/tags.js var schemas = /* @__PURE__ */ new Map([ ["core", schema], ["failsafe", [map, seq, string3]], @@ -27486,7 +27483,7 @@ function getTags(customTags, schemaName, addMergeTag) { }, []); } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/Schema.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/Schema.js var sortMapEntriesByKey = (a, b) => a.key < b.key ? -1 : a.key > b.key ? 1 : 0; var Schema = class _Schema { constructor({ compat, customTags, merge: merge3, resolveKnownTags, schema: schema4, sortMapEntries, toStringDefaults }) { @@ -27507,7 +27504,7 @@ var Schema = class _Schema { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/stringify/stringifyDocument.js function stringifyDocument(doc, options) { const lines = []; let hasDirectives = options.directives === true; @@ -27578,7 +27575,7 @@ function stringifyDocument(doc, options) { return lines.join("\n") + "\n"; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/doc/Document.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/doc/Document.js var Document = class _Document { constructor(value, replacer, options) { this.commentBefore = null; @@ -27870,7 +27867,7 @@ function assertCollection(contents) { throw new Error("Expected a YAML collection as document contents"); } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/errors.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/errors.js var YAMLError = class extends Error { constructor(name, pos, code, message) { super(); @@ -27926,7 +27923,7 @@ ${pointer} } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-props.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-props.js function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) { let spaceBefore = false; let atNewline = startOnNewline; @@ -28054,7 +28051,7 @@ function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIn }; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/util-contains-newline.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/util-contains-newline.js function containsNewline(key) { if (!key) return null; @@ -28090,7 +28087,7 @@ function containsNewline(key) { } } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js function flowIndentCheck(indent, fc, onError) { if (fc?.type === "flow-collection") { const end = fc.end[0]; @@ -28101,7 +28098,7 @@ function flowIndentCheck(indent, fc, onError) { } } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/util-map-includes.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/util-map-includes.js function mapIncludes(ctx, items, search) { const { uniqueKeys } = ctx.options; if (uniqueKeys === false) @@ -28110,7 +28107,7 @@ function mapIncludes(ctx, items, search) { return items.some((pair) => isEqual(pair.key, search)); } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-block-map.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-block-map.js var startColMsg = "All mapping items must start at the same column"; function resolveBlockMap({ composeNode: composeNode2, composeEmptyNode: composeEmptyNode2 }, ctx, bm, onError, tag) { const NodeClass = tag?.nodeClass ?? YAMLMap; @@ -28206,7 +28203,7 @@ function resolveBlockMap({ composeNode: composeNode2, composeEmptyNode: composeE return map2; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-block-seq.js function resolveBlockSeq({ composeNode: composeNode2, composeEmptyNode: composeEmptyNode2 }, ctx, bs, onError, tag) { const NodeClass = tag?.nodeClass ?? YAMLSeq; const seq2 = new NodeClass(ctx.schema); @@ -28248,7 +28245,7 @@ function resolveBlockSeq({ composeNode: composeNode2, composeEmptyNode: composeE return seq2; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-end.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-end.js function resolveEnd(end, offset, reqSpace, onError) { let comment = ""; if (end) { @@ -28285,7 +28282,7 @@ function resolveEnd(end, offset, reqSpace, onError) { return { comment, offset }; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js var blockMsg = "Block collections are not allowed within flow collections"; var isBlock = (token) => token && (token.type === "block-map" || token.type === "block-seq"); function resolveFlowCollection({ composeNode: composeNode2, composeEmptyNode: composeEmptyNode2 }, ctx, fc, onError, tag) { @@ -28465,7 +28462,7 @@ function resolveFlowCollection({ composeNode: composeNode2, composeEmptyNode: co return coll; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/compose-collection.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/compose-collection.js function resolveCollection(CN2, ctx, token, onError, tagName, tag) { const coll = token.type === "block-map" ? resolveBlockMap(CN2, ctx, token, onError, tag) : token.type === "block-seq" ? resolveBlockSeq(CN2, ctx, token, onError, tag) : resolveFlowCollection(CN2, ctx, token, onError, tag); const Coll = coll.constructor; @@ -28517,7 +28514,7 @@ function composeCollection(CN2, ctx, token, props, onError) { return node; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js function resolveBlockScalar(ctx, scalar, onError) { const start = scalar.offset; const header = parseBlockScalarHeader(scalar, ctx.options.strict, onError); @@ -28693,7 +28690,7 @@ function splitLines(source) { return lines; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js function resolveFlowScalar(scalar, strict, onError) { const { offset, type, source, end } = scalar; let _type; @@ -28905,7 +28902,7 @@ function parseCharCode(source, offset, length, onError) { } } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/compose-scalar.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/compose-scalar.js function composeScalar(ctx, token, tagToken, onError) { const { value, type, comment, range } = token.type === "block-scalar" ? resolveBlockScalar(ctx, token, onError) : resolveFlowScalar(token, ctx.options.strict, onError); const tagName = tagToken ? ctx.directives.tagName(tagToken.source, (msg) => onError(tagToken, "TAG_RESOLVE_FAILED", msg)) : null; @@ -28976,7 +28973,7 @@ function findScalarTagByTest({ atKey, directives, schema: schema4 }, value, toke return tag; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js function emptyScalarPosition(offset, before, pos) { if (before) { pos ?? (pos = before.length); @@ -29000,7 +28997,7 @@ function emptyScalarPosition(offset, before, pos) { return offset; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/compose-node.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/compose-node.js var CN = { composeNode, composeEmptyNode }; function composeNode(ctx, token, props, onError) { const atKey = ctx.atKey; @@ -29093,7 +29090,7 @@ function composeAlias({ options }, { offset, source, end }, onError) { return alias; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/compose-doc.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/compose-doc.js function composeDoc(options, directives, { offset, start, value, end }, onError) { const opts = Object.assign({ _directives: directives }, options); const doc = new Document(void 0, opts); @@ -29126,7 +29123,7 @@ function composeDoc(options, directives, { offset, start, value, end }, onError) return doc; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/composer.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/composer.js function getErrorPos(src) { if (typeof src === "number") return [src, src + 1]; @@ -29319,10 +29316,10 @@ ${end.comment}` : end.comment; } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/parse/cst-visit.js -var BREAK2 = /* @__PURE__ */ Symbol("break visit"); -var SKIP2 = /* @__PURE__ */ Symbol("skip children"); -var REMOVE2 = /* @__PURE__ */ Symbol("remove item"); +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/parse/cst-visit.js +var BREAK2 = Symbol("break visit"); +var SKIP2 = Symbol("skip children"); +var REMOVE2 = Symbol("remove item"); function visit2(cst, visitor) { if ("type" in cst && cst.type === "document") cst = { start: cst.start, value: cst.value }; @@ -29375,7 +29372,7 @@ function _visit(path, item, visitor) { return typeof ctrl === "function" ? ctrl(item, path) : ctrl; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/parse/cst.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/parse/cst.js var BOM = "\uFEFF"; var DOCUMENT = ""; var FLOW_END = ""; @@ -29440,7 +29437,7 @@ function tokenType(source) { return null; } -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/parse/lexer.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/parse/lexer.js function isEmpty(ch) { switch (ch) { case void 0: @@ -30022,7 +30019,7 @@ var Lexer = class { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/parse/line-counter.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/parse/line-counter.js var LineCounter = class { constructor() { this.lineStarts = []; @@ -30047,7 +30044,7 @@ var LineCounter = class { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/parse/parser.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/parse/parser.js function includesToken(list, type) { for (let i = 0; i < list.length; ++i) if (list[i].type === type) @@ -30910,7 +30907,7 @@ var Parser = class { } }; -// ../../matrix/arcrun/mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/public-api.js +// mcp/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/public-api.js function parseOptions(options) { const prettyErrors = options.prettyErrors !== false; const lineCounter = options.lineCounter || prettyErrors && new LineCounter() || null; @@ -30955,7 +30952,7 @@ function parse3(src, reviver, options) { return doc.toJS(Object.assign({ reviver: _reviver }, options)); } -// ../../matrix/arcrun/mcp/src/tools/arcrun_workflow_crud.ts +// mcp/src/tools/arcrun_workflow_crud.ts var apiKeyDesc2 = "\u4F60\uFF08\u7528\u6236\uFF09\u7684 arcrun api_key (ak_xxx)\u3002\u5F9E https://arcrun.dev/me \u53D6\u5F97"; function registerPushWorkflow(server, env) { server.tool( @@ -31257,7 +31254,7 @@ function registerAllWorkflowCrudTools(server, env) { registerRunWorkflow(server, env); } -// ../../matrix/arcrun/mcp/src/tools/arcrun_skills_examples.ts +// mcp/src/tools/arcrun_skills_examples.ts async function kbdbList(env, entryType, limit = 100) { const resp = await kbdbFetch(env, `/entries?entry_type=${encodeURIComponent(entryType)}&limit=${limit}`); if (!resp.ok) throw new Error(`KBDB list entry_type=${entryType} HTTP ${resp.status}`); @@ -31510,7 +31507,7 @@ function registerAllSkillExampleTools(server, env) { registerSearchExamples(server, env); } -// ../../matrix/arcrun/mcp/src/tools/arcrun_recipe.ts +// mcp/src/tools/arcrun_recipe.ts var apiKeyDesc3 = "\u4F60\uFF08\u7528\u6236\uFF09\u7684 arcrun api_key (ak_xxx)\u3002\u5F9E https://arcrun.dev/me \u53D6\u5F97"; function registerAllRecipeTools(server, env) { registerRecipeSearch(server, env); @@ -31708,7 +31705,7 @@ function registerRecipeDelete(server, env) { ); } -// ../../matrix/arcrun/mcp/src/tools/kbdb_data.ts +// mcp/src/tools/kbdb_data.ts function registerAllKbdbDataTools(server, env) { registerCreateTemplate(server, env); registerListTemplates(server, env); @@ -31863,7 +31860,7 @@ function registerSearch(server, env) { ); } -// ../../matrix/arcrun/mcp/src/tools/kbdb_graph.ts +// mcp/src/tools/kbdb_graph.ts var GRAPH_NEIGHBORS_WORKFLOW = "graph_neighbors"; var INSTALL_HINTS = [ `graph \u67E5\u8A62\u7531\u300C${GRAPH_NEIGHBORS_WORKFLOW}\u300Dworkflow \u627F\u8F09\uFF08\u8584\u6BBC\u8A2D\u8A08\uFF0CMCP \u672C\u8EAB\u4E0D\u7B97\u5716\uFF09`, @@ -31964,7 +31961,7 @@ function registerGraphNeighbors(server, env, orgNamespace) { ); } -// ../../matrix/arcrun/mcp/src/lib/library-map.ts +// mcp/src/lib/library-map.ts function parseSlotArray(raw2) { if (Array.isArray(raw2)) return raw2; if (typeof raw2 === "string") { @@ -32031,7 +32028,7 @@ async function buildLibraryMapInstructions(env) { return text; } -// ../../matrix/arcrun/mcp/src/tools/kbdb_map.ts +// mcp/src/tools/kbdb_map.ts var RECOMPUTE_HINTS = [ "\u5730\u5716\u6BCF\u6B21\u67E5\u8A62\u90FD\u6703\u81EA\u52D5\u6838\u5C0D\u5373\u6642\u4E09\u5143\u7D44\u6578\u4E26\u91CD\u7B97\u904E\u671F\u7684\u5EAB\uFF0C\u4E0D\u5FC5\u624B\u52D5\u8655\u7406", "\u5C11\u898B\u60C5\u6CC1\uFF08\u820A\u4E09\u5143\u7D44\u6C92\u6709 library \u6A19\u8A18\uFF09\u624D\u9700\u8981\u624B\u52D5\uFF1APOST /map/recompute?library=<\u5EAB\u540D>\uFF08\u53EF\u5E36 body {narrative, source_prefix}\uFF09" @@ -32117,7 +32114,7 @@ function registerGetMap(server, env) { ); } -// ../../matrix/arcrun/mcp/src/tools/arcrun_whoami.ts +// mcp/src/tools/arcrun_whoami.ts function registerWhoami(server, env, orgNamespace) { server.tool( toolName("whoami"), @@ -32137,7 +32134,7 @@ function registerWhoami(server, env, orgNamespace) { ); } -// ../../matrix/arcrun/mcp/src/tools/registry.ts +// mcp/src/tools/registry.ts function registerAllTools(server, env, orgNamespace, partnerToken) { registerSearchComponents(server, env, orgNamespace); registerSearchWorkflows(server, env, orgNamespace, partnerToken); @@ -32160,7 +32157,7 @@ function registerAllTools(server, env, orgNamespace, partnerToken) { registerWhoami(server, env, orgNamespace); } -// ../../matrix/arcrun/mcp/src/mcp-handler.ts +// mcp/src/mcp-handler.ts async function handleMcpRequest(request, env, orgNamespace, partnerToken) { const mapInstructions = await buildLibraryMapInstructions(env); const startHere = [ @@ -32208,7 +32205,7 @@ ${mapInstructions}` : startHere; return transport.handleRequest(request); } -// ../../matrix/arcrun/mcp/src/pages/inspector.ts +// mcp/src/pages/inspector.ts var inspectorHtml = ` @@ -32868,7 +32865,7 @@ var inspectorHtml = ` `; -// ../../matrix/arcrun/mcp/src/oauth/consent.ts +// mcp/src/oauth/consent.ts function esc2(s) { return s.replace(/&/g, "&").replace(//g, ">").replace(/"/g, """).replace(/'/g, "'"); } @@ -32931,7 +32928,7 @@ function consentPage(p, error2) { `; } -// ../../matrix/arcrun/mcp/src/oauth/routes.ts +// mcp/src/oauth/routes.ts var DEFAULT_TOKEN_TTL = 2592e3; var DEFAULT_REDIRECT_HOSTS = ["claude.ai", "claude.com", "anthropic.com"]; var CORS_JSON = { @@ -33190,7 +33187,7 @@ function registerOAuthRoutes(app2) { }); } -// ../../matrix/arcrun/mcp/src/index.ts +// mcp/src/index.ts var _app = new Hono2(); registerOAuthRoutes(_app); _app.get("/health", (c) => c.json({ @@ -33392,7 +33389,7 @@ app.post("/", partnerAuthMiddleware, async (c) => { const partnerToken = c.get("partner_token"); return handleMcpRequest(c.req.raw, c.env, orgNamespace, partnerToken); }); -var index_default = _app; +var src_default = _app; export { - index_default as default + src_default as default }; diff --git a/manifest.json b/manifest.json index dda816e..199779c 100644 --- a/manifest.json +++ b/manifest.json @@ -1,14 +1,14 @@ { "schema": 1, "built": "2026-08-11", - "source": "Arcrun@788295e", + "source": "Arcrun@d8bbf2241bd6", "core": [ { "name": "arcrun-cypher-executor", "canonical": null, "main_module": "worker.mjs", "main_file": "arcrun-cypher-executor/worker.mjs", - "js_bytes": 571965, + "js_bytes": 568855, "modules": [], "compat_date": "2025-02-19", "compat_flags": [ @@ -49,16 +49,17 @@ "stripped": { "services": 13 }, - "warnings": [], - "sha256": "bfa7287b2bab47a804286a1dcc52d84d58aae31a6a64b20182f8e17eecccb2fe", - "bytes": 571965 + "source_commit": "797e7f751cc42cb1f5d9e2e187f18cf51eb981a1", + "source_content_sha256": "66e2a6341854e8b2de0567a46282b94669e73b95d152b05b17b0f8b58e257fec", + "sha256": "66e2a6341854e8b2de0567a46282b94669e73b95d152b05b17b0f8b58e257fec", + "bytes": 568855 }, { "name": "arcrun-kbdb", "canonical": null, "main_module": "worker.mjs", "main_file": "arcrun-kbdb/worker.mjs", - "js_bytes": 136576, + "js_bytes": 135910, "modules": [], "compat_date": "2025-02-19", "compat_flags": [ @@ -78,16 +79,17 @@ "ENVIRONMENT": "production" } }, - "warnings": [], - "sha256": "138956bf7c3df55dd797b6d0a174908764a53f3ba685c659ec5f0e2a06e181ed", - "bytes": 136576 + "source_commit": "a7e23badf2a771be779a861e69e7efa6e8141dfe", + "source_content_sha256": "5e5a7a030f4fd1f5549ace6791c3827b6497b0bfdd9add46af041af47c472905", + "sha256": "5e5a7a030f4fd1f5549ace6791c3827b6497b0bfdd9add46af041af47c472905", + "bytes": 135910 }, { "name": "arcrun-http-request", "canonical": "http_request", "main_module": "worker.mjs", "main_file": "arcrun-http-request/worker.mjs", - "js_bytes": 80519, + "js_bytes": 80073, "modules": [ { "name": "component.wasm", @@ -110,16 +112,17 @@ "COMPONENT_ID": "http_request" } }, - "warnings": [], - "sha256": "8a175938bf1c98b8dce489ff3085a13f512a5bf18edd0d148233177ce8a20e21", - "bytes": 80519 + "source_commit": "1e85dfb49b0e8d81c0854781d93ee4e6a300c7b3", + "source_content_sha256": "9a9dcb71879a7bdfd9fec1bd94eb9742e12cb63733d822ce63eeb1be30008d15", + "sha256": "9a9dcb71879a7bdfd9fec1bd94eb9742e12cb63733d822ce63eeb1be30008d15", + "bytes": 80073 }, { "name": "arcrun-code", "canonical": "code", "main_module": "worker.mjs", "main_file": "arcrun-code/worker.mjs", - "js_bytes": 154438, + "js_bytes": 153671, "modules": [ { "name": "quickjs.wasm", @@ -139,16 +142,17 @@ "COMPONENT_ID": "code" } }, - "warnings": [], - "sha256": "761acc054b6f01bc2c37dce3b5923cd40d4ac8ac986bc0452f36e16463299a74", - "bytes": 154438 + "source_commit": "621cb8d948d61be6202063fd02effb3f538437fe", + "source_content_sha256": "285a7406ec694ae47dccfaf48517f712c74d207a1689dffa15c39f1555b45be5", + "sha256": "285a7406ec694ae47dccfaf48517f712c74d207a1689dffa15c39f1555b45be5", + "bytes": 153671 }, { "name": "arcrun-mcp", "canonical": null, "main_module": "worker.mjs", "main_file": "arcrun-mcp/worker.mjs", - "js_bytes": 1172208, + "js_bytes": 1165130, "modules": [], "compat_date": "2024-11-27", "compat_flags": [ @@ -163,9 +167,10 @@ "ai": false, "vars": {} }, - "warnings": [], - "sha256": "886ba67cd1b99f710f4f439845967b4a92542e716d52fe5ea21e623c33016cdd", - "bytes": 1172208 + "source_commit": "035e8b255b0dcbd4238707f7d2ac8ccf9ee1ba72", + "source_content_sha256": "be15033f32e605f03f69bd10cd87782dafa34dbafeee2ce367bd7361a062a291", + "sha256": "be15033f32e605f03f69bd10cd87782dafa34dbafeee2ce367bd7361a062a291", + "bytes": 1165130 }, { "name": "arcrun-rag-ui", @@ -202,8 +207,8 @@ "sha256": "782a3b2212884f789e1725f82046cf34ef6bb02e1a8b585cab8e4ae6c6e441ca" } }, - "release": "1.4.36", + "release": "1.4.37", "built_for": "oauth-installer-lazy-load", "notes": [], - "fingerprint": "3db1a1704122e58c6b40bd48e8675fbdbdccfa69d0d735bc7247101bae9c8c25" + "fingerprint": "512c731665e616ac12bdd3b345acf74f20e12eb39ccbe1bbc38fb19a693e3341" }