@tempo-ai/mcp 0.0.130-staging.1 → 0.0.131-staging.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +1 -1
- package/dist/{call-JHP4VTAZ.js → call-RHKCTWG6.js} +2 -2
- package/dist/{chunk-J7MDKWL3.js → chunk-TKNQXOLX.js} +4 -4
- package/dist/index.js +1 -1
- package/dist/{serve-JJUN7772.js → serve-URQCT2TT.js} +13 -7
- package/dist/{serve-JJUN7772.js.map → serve-URQCT2TT.js.map} +1 -1
- package/package.json +1 -1
- /package/dist/{call-JHP4VTAZ.js.map → call-RHKCTWG6.js.map} +0 -0
- /package/dist/{chunk-J7MDKWL3.js.map → chunk-TKNQXOLX.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-TKNQXOLX.js";
|
|
6
6
|
import "./chunk-24QSPUN7.js";
|
|
7
7
|
import "./chunk-JKT5N6IQ.js";
|
|
8
8
|
|
|
@@ -9,7 +9,7 @@ import "./chunk-JKT5N6IQ.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-URQCT2TT.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-RHKCTWG6.js.map
|
|
@@ -122,7 +122,7 @@ async function run(argv) {
|
|
|
122
122
|
process.stderr.write(USAGE);
|
|
123
123
|
return 1;
|
|
124
124
|
}
|
|
125
|
-
const { runServe } = await import("./serve-
|
|
125
|
+
const { runServe } = await import("./serve-URQCT2TT.js");
|
|
126
126
|
return await runServe(options);
|
|
127
127
|
}
|
|
128
128
|
switch (subcommand) {
|
|
@@ -137,11 +137,11 @@ async function run(argv) {
|
|
|
137
137
|
return await runToken(rest);
|
|
138
138
|
}
|
|
139
139
|
case "tools": {
|
|
140
|
-
const { runTools } = await import("./call-
|
|
140
|
+
const { runTools } = await import("./call-RHKCTWG6.js");
|
|
141
141
|
return await runTools(rest);
|
|
142
142
|
}
|
|
143
143
|
case "call": {
|
|
144
|
-
const { runCall } = await import("./call-
|
|
144
|
+
const { runCall } = await import("./call-RHKCTWG6.js");
|
|
145
145
|
return await runCall(rest);
|
|
146
146
|
}
|
|
147
147
|
default:
|
|
@@ -164,4 +164,4 @@ async function run(argv) {
|
|
|
164
164
|
export {
|
|
165
165
|
run
|
|
166
166
|
};
|
|
167
|
-
//# sourceMappingURL=chunk-
|
|
167
|
+
//# sourceMappingURL=chunk-TKNQXOLX.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-TKNQXOLX.js";
|
|
5
5
|
import "./chunk-24QSPUN7.js";
|
|
6
6
|
import "./chunk-JKT5N6IQ.js";
|
|
7
7
|
export {
|
|
@@ -89587,7 +89587,7 @@ function matchClass(line) {
|
|
|
89587
89587
|
hint: "A native dependency binary in node_modules is locked by another process. Close running dev servers/editors using it and retry; Tempo will avoid unnecessary root reinstalls."
|
|
89588
89588
|
};
|
|
89589
89589
|
}
|
|
89590
|
-
if (/
|
|
89590
|
+
if (/ERR_PNPM_OUTDATED_LOCKFILE|ERR_PNPM_FROZEN_LOCKFILE_WITH_OUTDATED_LOCKFILE|YN0028|package-lock\.json.*out of sync|npm ci.*(?:in sync|can only install)|lockfile would have been modified|cannot install with.*frozen-lockfile/i.test(
|
|
89591
89591
|
line
|
|
89592
89592
|
)) {
|
|
89593
89593
|
return {
|
|
@@ -99704,7 +99704,8 @@ var TempoDevServer = class _TempoDevServer {
|
|
|
99704
99704
|
try {
|
|
99705
99705
|
await this.prepareManagedDependencies({
|
|
99706
99706
|
signal: options2?.signal,
|
|
99707
|
-
onOutput: options2?.onInstallOutput
|
|
99707
|
+
onOutput: options2?.onInstallOutput,
|
|
99708
|
+
onInstallStart: options2?.onInstallStart
|
|
99708
99709
|
});
|
|
99709
99710
|
if (this.state.dependenciesInstalled) {
|
|
99710
99711
|
const [tempoInstallReady, rootInstallReady] = await Promise.all([
|
|
@@ -99729,7 +99730,8 @@ var TempoDevServer = class _TempoDevServer {
|
|
|
99729
99730
|
await this.installDependenciesForStart(
|
|
99730
99731
|
options2?.forceInstall === true,
|
|
99731
99732
|
options2?.signal,
|
|
99732
|
-
options2?.onInstallOutput
|
|
99733
|
+
options2?.onInstallOutput,
|
|
99734
|
+
options2?.onInstallStart
|
|
99733
99735
|
);
|
|
99734
99736
|
}
|
|
99735
99737
|
throwIfLaunchAborted(options2?.signal);
|
|
@@ -99746,6 +99748,7 @@ var TempoDevServer = class _TempoDevServer {
|
|
|
99746
99748
|
sdkUpgradeResult = preparedSdkUpgrade ?? await ensureTempoSdkChannelSpec(this.commandCwd, options2?.signal, {
|
|
99747
99749
|
updateCommand: this.config.scripts.updateSdk,
|
|
99748
99750
|
runCommand: async (command, cwd, signal) => {
|
|
99751
|
+
options2?.onInstallStart?.();
|
|
99749
99752
|
const affectedRoots = this.config.scripts.updateSdk?.trim() || (await resolveTempoSdkUpgradePlan(cwd)).governedByAncestorWorkspace ? installRoots : [this.tempoRoot];
|
|
99750
99753
|
sdkInstallReceipts = /* @__PURE__ */ new Map();
|
|
99751
99754
|
this.state.dependenciesInstalled = false;
|
|
@@ -99808,7 +99811,8 @@ var TempoDevServer = class _TempoDevServer {
|
|
|
99808
99811
|
}
|
|
99809
99812
|
const self2 = this;
|
|
99810
99813
|
this.restartHostForFlutter = async () => {
|
|
99811
|
-
if (self2.disposed || !self2.flutterHostActive || restartingForFlutter)
|
|
99814
|
+
if (self2.disposed || !self2.flutterHostActive || restartingForFlutter)
|
|
99815
|
+
return;
|
|
99812
99816
|
restartingForFlutter = true;
|
|
99813
99817
|
try {
|
|
99814
99818
|
self2.stopUrlHealthProbe();
|
|
@@ -100065,6 +100069,7 @@ var TempoDevServer = class _TempoDevServer {
|
|
|
100065
100069
|
),
|
|
100066
100070
|
signal: options2.signal,
|
|
100067
100071
|
runCommand: async (command, cwd, signal, pm) => {
|
|
100072
|
+
options2.onInstallStart?.();
|
|
100068
100073
|
options2.onOutput?.("Updating Tempo dependency lockfile...\n");
|
|
100069
100074
|
return runShellCommand(
|
|
100070
100075
|
await buildSafeInstallCommand({ pm, installCmd: command }, cwd),
|
|
@@ -100121,7 +100126,7 @@ var TempoDevServer = class _TempoDevServer {
|
|
|
100121
100126
|
});
|
|
100122
100127
|
this.checkedLegacyDependencyLock = true;
|
|
100123
100128
|
}
|
|
100124
|
-
async installDependenciesForStart(forceInstall, signal, onOutput) {
|
|
100129
|
+
async installDependenciesForStart(forceInstall, signal, onOutput, onInstallStart) {
|
|
100125
100130
|
const installTimer = devTimer("supervisor:install", {
|
|
100126
100131
|
tempoRoot: this.tempoRoot,
|
|
100127
100132
|
commandCwd: this.commandCwd,
|
|
@@ -100134,6 +100139,7 @@ var TempoDevServer = class _TempoDevServer {
|
|
|
100134
100139
|
if (steps.length === 0) {
|
|
100135
100140
|
return;
|
|
100136
100141
|
}
|
|
100142
|
+
onInstallStart?.();
|
|
100137
100143
|
this.state.dependenciesInstalled = false;
|
|
100138
100144
|
await this.persistStatus();
|
|
100139
100145
|
try {
|
|
@@ -135464,7 +135470,7 @@ function buildBackends(runtime, toolsets, workspace) {
|
|
|
135464
135470
|
}
|
|
135465
135471
|
|
|
135466
135472
|
// src/version.ts
|
|
135467
|
-
var CLI_VERSION = "0.0.
|
|
135473
|
+
var CLI_VERSION = "0.0.131-staging.1";
|
|
135468
135474
|
|
|
135469
135475
|
// src/canvas-hooks.ts
|
|
135470
135476
|
var import_pngjs4 = __toESM(require_png(), 1);
|
|
@@ -136703,4 +136709,4 @@ unpdf/dist/index.mjs:
|
|
|
136703
136709
|
* @license Apache-2.0
|
|
136704
136710
|
*)
|
|
136705
136711
|
*/
|
|
136706
|
-
//# sourceMappingURL=serve-
|
|
136712
|
+
//# sourceMappingURL=serve-URQCT2TT.js.map
|