@tempo-ai/mcp 0.0.110 → 0.0.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +1 -1
- package/dist/{call-OOXRQ7JW.js → call-R2CJEFHK.js} +2 -2
- package/dist/{chunk-QH27SS5F.js → chunk-2UWWHBFD.js} +4 -4
- package/dist/index.js +1 -1
- package/dist/{serve-FHROXQCM.js → serve-5CNZ3TCV.js} +51 -6
- package/dist/{serve-FHROXQCM.js.map → serve-5CNZ3TCV.js.map} +1 -1
- package/package.json +1 -1
- /package/dist/{call-OOXRQ7JW.js.map → call-R2CJEFHK.js.map} +0 -0
- /package/dist/{chunk-QH27SS5F.js.map → chunk-2UWWHBFD.js.map} +0 -0
package/dist/bin.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire as __tempoCreateRequire } from 'node:module'; const require = __tempoCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
run
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2UWWHBFD.js";
|
|
6
6
|
import "./chunk-3J3V3CVG.js";
|
|
7
7
|
import "./chunk-WRI3HTCJ.js";
|
|
8
8
|
|
|
@@ -9,7 +9,7 @@ import "./chunk-WRI3HTCJ.js";
|
|
|
9
9
|
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
|
|
10
10
|
import { InMemoryTransport } from "@modelcontextprotocol/sdk/inMemory.js";
|
|
11
11
|
async function connectAggregate(options) {
|
|
12
|
-
const { createTempoAggregate } = await import("./serve-
|
|
12
|
+
const { createTempoAggregate } = await import("./serve-5CNZ3TCV.js");
|
|
13
13
|
const handle = await createTempoAggregate(options, { stageDocuments: false });
|
|
14
14
|
const [clientTransport, serverTransport] = InMemoryTransport.createLinkedPair();
|
|
15
15
|
const client = new Client({ name: "tempo-mcp-cli", version: "0" });
|
|
@@ -128,4 +128,4 @@ export {
|
|
|
128
128
|
runCall,
|
|
129
129
|
runTools
|
|
130
130
|
};
|
|
131
|
-
//# sourceMappingURL=call-
|
|
131
|
+
//# sourceMappingURL=call-R2CJEFHK.js.map
|
|
@@ -157,7 +157,7 @@ async function run(argv) {
|
|
|
157
157
|
process.stderr.write(USAGE);
|
|
158
158
|
return 1;
|
|
159
159
|
}
|
|
160
|
-
const { runServe } = await import("./serve-
|
|
160
|
+
const { runServe } = await import("./serve-5CNZ3TCV.js");
|
|
161
161
|
return await runServe(options);
|
|
162
162
|
}
|
|
163
163
|
switch (subcommand) {
|
|
@@ -172,11 +172,11 @@ async function run(argv) {
|
|
|
172
172
|
return await runToken(rest);
|
|
173
173
|
}
|
|
174
174
|
case "tools": {
|
|
175
|
-
const { runTools } = await import("./call-
|
|
175
|
+
const { runTools } = await import("./call-R2CJEFHK.js");
|
|
176
176
|
return await runTools(rest);
|
|
177
177
|
}
|
|
178
178
|
case "call": {
|
|
179
|
-
const { runCall } = await import("./call-
|
|
179
|
+
const { runCall } = await import("./call-R2CJEFHK.js");
|
|
180
180
|
return await runCall(rest);
|
|
181
181
|
}
|
|
182
182
|
default:
|
|
@@ -195,4 +195,4 @@ async function run(argv) {
|
|
|
195
195
|
export {
|
|
196
196
|
run
|
|
197
197
|
};
|
|
198
|
-
//# sourceMappingURL=chunk-
|
|
198
|
+
//# sourceMappingURL=chunk-2UWWHBFD.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __tempoCreateRequire } from 'node:module'; const require = __tempoCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
run
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2UWWHBFD.js";
|
|
5
5
|
import "./chunk-3J3V3CVG.js";
|
|
6
6
|
import "./chunk-WRI3HTCJ.js";
|
|
7
7
|
export {
|
|
@@ -45828,6 +45828,47 @@ function extractViteAliasKeys(source) {
|
|
|
45828
45828
|
}
|
|
45829
45829
|
return keys;
|
|
45830
45830
|
}
|
|
45831
|
+
function runtimeImportSpecifiers(file, content, verbatimModuleSyntax) {
|
|
45832
|
+
const source = ts3.createSourceFile(file, content, ts3.ScriptTarget.Latest);
|
|
45833
|
+
const specifiers = [];
|
|
45834
|
+
function addSpecifier(node) {
|
|
45835
|
+
if (node && ts3.isStringLiteralLike(node)) specifiers.push(node.text);
|
|
45836
|
+
}
|
|
45837
|
+
function visit(node) {
|
|
45838
|
+
if (ts3.isTypeNode(node)) return;
|
|
45839
|
+
if (ts3.isImportDeclaration(node)) {
|
|
45840
|
+
const clause = node.importClause;
|
|
45841
|
+
if (clause?.isTypeOnly) return;
|
|
45842
|
+
const bindings = clause?.namedBindings;
|
|
45843
|
+
if (!verbatimModuleSyntax && !clause?.name && bindings && ts3.isNamedImports(bindings) && bindings.elements.length > 0 && bindings.elements.every((binding) => binding.isTypeOnly)) {
|
|
45844
|
+
return;
|
|
45845
|
+
}
|
|
45846
|
+
addSpecifier(node.moduleSpecifier);
|
|
45847
|
+
return;
|
|
45848
|
+
}
|
|
45849
|
+
if (ts3.isExportDeclaration(node)) {
|
|
45850
|
+
if (node.isTypeOnly) return;
|
|
45851
|
+
const clause = node.exportClause;
|
|
45852
|
+
if (!verbatimModuleSyntax && clause && ts3.isNamedExports(clause) && clause.elements.length > 0 && clause.elements.every((binding) => binding.isTypeOnly)) {
|
|
45853
|
+
return;
|
|
45854
|
+
}
|
|
45855
|
+
addSpecifier(node.moduleSpecifier);
|
|
45856
|
+
return;
|
|
45857
|
+
}
|
|
45858
|
+
if (ts3.isImportEqualsDeclaration(node)) {
|
|
45859
|
+
if (!node.isTypeOnly && ts3.isExternalModuleReference(node.moduleReference)) {
|
|
45860
|
+
addSpecifier(node.moduleReference.expression);
|
|
45861
|
+
}
|
|
45862
|
+
return;
|
|
45863
|
+
}
|
|
45864
|
+
if (ts3.isCallExpression(node) && (node.expression.kind === ts3.SyntaxKind.ImportKeyword || ts3.isIdentifier(node.expression) && node.expression.text === "require")) {
|
|
45865
|
+
addSpecifier(node.arguments[0]);
|
|
45866
|
+
}
|
|
45867
|
+
ts3.forEachChild(node, visit);
|
|
45868
|
+
}
|
|
45869
|
+
visit(source);
|
|
45870
|
+
return specifiers;
|
|
45871
|
+
}
|
|
45831
45872
|
function walkImports(entryFile, compilerOptions, moduleResolutionHost, projectRoot, primaryTsconfigPath) {
|
|
45832
45873
|
const visited = /* @__PURE__ */ new Set();
|
|
45833
45874
|
const npmPackages = /* @__PURE__ */ new Map();
|
|
@@ -45936,16 +45977,20 @@ function walkImports(entryFile, compilerOptions, moduleResolutionHost, projectRo
|
|
|
45936
45977
|
visited.add(canonical);
|
|
45937
45978
|
const content = ts3.sys.readFile(canonical);
|
|
45938
45979
|
if (content === void 0) continue;
|
|
45939
|
-
const
|
|
45940
|
-
|
|
45941
|
-
|
|
45980
|
+
const importer = importerConfig(canonical);
|
|
45981
|
+
const importOptions = importer?.options ?? compilerOptions;
|
|
45982
|
+
const specifiers = runtimeImportSpecifiers(
|
|
45983
|
+
canonical,
|
|
45984
|
+
content,
|
|
45985
|
+
importOptions.verbatimModuleSyntax === true
|
|
45986
|
+
);
|
|
45987
|
+
for (const specifier of specifiers) {
|
|
45942
45988
|
if (isServerComponentOnlySpecifier(specifier) && !serverOnlyImports.has(specifier)) {
|
|
45943
45989
|
serverOnlyImports.set(
|
|
45944
45990
|
specifier,
|
|
45945
45991
|
path40.relative(canonicalProjectRoot, canonical)
|
|
45946
45992
|
);
|
|
45947
45993
|
}
|
|
45948
|
-
const importer = importerConfig(canonical);
|
|
45949
45994
|
let resolvedModule2 = importer && importer.configPath !== primaryConfigPath ? ts3.resolveModuleName(
|
|
45950
45995
|
specifier,
|
|
45951
45996
|
canonical,
|
|
@@ -52075,7 +52120,7 @@ function buildBackends(runtime, toolsets, workspace) {
|
|
|
52075
52120
|
}
|
|
52076
52121
|
|
|
52077
52122
|
// src/version.ts
|
|
52078
|
-
var CLI_VERSION = "0.0.
|
|
52123
|
+
var CLI_VERSION = "0.0.111";
|
|
52079
52124
|
|
|
52080
52125
|
// src/canvas-hooks.ts
|
|
52081
52126
|
var import_pngjs4 = __toESM(require_png(), 1);
|
|
@@ -53021,4 +53066,4 @@ unpdf/dist/index.mjs:
|
|
|
53021
53066
|
* @license Apache-2.0
|
|
53022
53067
|
*)
|
|
53023
53068
|
*/
|
|
53024
|
-
//# sourceMappingURL=serve-
|
|
53069
|
+
//# sourceMappingURL=serve-5CNZ3TCV.js.map
|