📦 deps(thirdparty): update snapshots

This commit is contained in:
ci[bot]
2026-07-18 00:02:59 +00:00
parent 82f7c6e56a
commit 47ce7f78dc
1446 changed files with 141041 additions and 6442 deletions
+26
View File
@@ -0,0 +1,26 @@
#!/usr/bin/env node
"use strict";
const path = require("node:path");
const { createVerifiedCatalogResolver } = require("../lib/aas-v1/cache/resolver");
const { McpServer, runStdio } = require("../lib/aas-v1/mcp");
function parseArgs(argv) {
if (argv.length === 0) return {};
if (argv.length === 2 && argv[0] === "--cache-root" && path.isAbsolute(argv[1]) && !argv[1].includes("\0")) {
return { cacheRoot: argv[1] };
}
throw new Error("invalid MCP startup arguments");
}
try {
const root = path.resolve(__dirname, "../..");
const { cacheRoot } = parseArgs(process.argv.slice(2));
const catalogResolver = createVerifiedCatalogResolver({ cacheRoot, bundledRoot: root });
runStdio(new McpServer({ root, catalogResolver }));
} catch {
process.stderr.write("AAS MCP startup failed (details redacted)\n");
process.exitCode = 1;
}
module.exports = { parseArgs };
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env node
"use strict";
const { main } = require("../lib/aas-v1/cli/main");
if (require.main === module) main().then((code) => { process.exitCode = code; });
module.exports = { main };
@@ -1007,7 +1007,12 @@ function main() {
}
if (require.main === module) {
main();
const argv = process.argv.slice(2);
if (["catalog", "stack", "mcp"].includes(argv[0])) {
require("../lib/aas-v1/cli/main").main(argv).then((code) => { process.exitCode = code; });
} else {
main();
}
}
module.exports = {