@tempo-ai/mcp 0.0.109-staging.1 → 0.0.109
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-ZAJ4EHFP.js → call-6T466Y4E.js} +2 -2
- package/dist/{chunk-I5V4NC67.js → chunk-76JQJSJT.js} +4 -4
- package/dist/index.js +1 -1
- package/dist/{serve-T3XPU4YF.js → serve-4A2WBHDY.js} +16 -8
- package/dist/{serve-T3XPU4YF.js.map → serve-4A2WBHDY.js.map} +1 -1
- package/package.json +1 -1
- /package/dist/{call-ZAJ4EHFP.js.map → call-6T466Y4E.js.map} +0 -0
- /package/dist/{chunk-I5V4NC67.js.map → chunk-76JQJSJT.js.map} +0 -0
package/dist/bin.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
|
|
9
9
|
import { InMemoryTransport } from "@modelcontextprotocol/sdk/inMemory.js";
|
|
10
10
|
async function connectAggregate(options) {
|
|
11
|
-
const { createTempoAggregate } = await import("./serve-
|
|
11
|
+
const { createTempoAggregate } = await import("./serve-4A2WBHDY.js");
|
|
12
12
|
const handle = await createTempoAggregate(options);
|
|
13
13
|
const [clientTransport, serverTransport] = InMemoryTransport.createLinkedPair();
|
|
14
14
|
const client = new Client({ name: "tempo-mcp-cli", version: "0" });
|
|
@@ -127,4 +127,4 @@ export {
|
|
|
127
127
|
runCall,
|
|
128
128
|
runTools
|
|
129
129
|
};
|
|
130
|
-
//# sourceMappingURL=call-
|
|
130
|
+
//# sourceMappingURL=call-6T466Y4E.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-4A2WBHDY.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-6T466Y4E.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-6T466Y4E.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-76JQJSJT.js.map
|
package/dist/index.js
CHANGED
|
@@ -28017,7 +28017,7 @@ async function parcelEventToFileEvent(event, rootInfo) {
|
|
|
28017
28017
|
// ../tempo-sdk/package.json
|
|
28018
28018
|
var package_default = {
|
|
28019
28019
|
name: "tempo-sdk",
|
|
28020
|
-
version: "0.0.
|
|
28020
|
+
version: "0.0.44",
|
|
28021
28021
|
type: "module",
|
|
28022
28022
|
description: "Tempo SDK \u2014 Vite, Next.js, and Expo plugins for JSX annotation and shared page/storyboard types",
|
|
28023
28023
|
repository: {
|
|
@@ -28098,7 +28098,7 @@ var package_default = {
|
|
|
28098
28098
|
demo: "TEMPO=true pnpm --filter @tempo-modules/vite-annotate-plugin-demo dev",
|
|
28099
28099
|
"demo:nextjs": "TEMPO=true pnpm --filter @tempo-modules/tempo-sdk-nextjs-demo dev",
|
|
28100
28100
|
test: "vitest run",
|
|
28101
|
-
"test:browser": "vitest run canvas-host-vite-e2e.test.ts canvas-host-packed-sdk-e2e.test.ts error-tracking-e2e.test.ts",
|
|
28101
|
+
"test:browser": "vitest run canvas-capture-determinism-browser.test.ts canvas-host-vite-e2e.test.ts canvas-host-packed-sdk-e2e.test.ts error-tracking-e2e.test.ts",
|
|
28102
28102
|
"test:watch": "vitest",
|
|
28103
28103
|
"test:nextjs:unit": "vitest run nextjs-loader.test.ts nextjs-wrapper.test.ts nextjs-fixtures.test.ts nextjs-published.test.ts",
|
|
28104
28104
|
"test:nextjs:integration": "vitest run nextjs-e2e-correctness.test.ts",
|
|
@@ -47064,7 +47064,7 @@ async function installChromium(log, spawnImpl = spawn7) {
|
|
|
47064
47064
|
}
|
|
47065
47065
|
|
|
47066
47066
|
// ../canvas-capture-headless/src/fingerprint.ts
|
|
47067
|
-
var KIT_VERSION = "
|
|
47067
|
+
var KIT_VERSION = "5";
|
|
47068
47068
|
var FONTS_BUNDLE_VERSION = "system-1";
|
|
47069
47069
|
var DEVICE_SCALE_FACTOR = 2;
|
|
47070
47070
|
function buildEnvFingerprint(input) {
|
|
@@ -47554,7 +47554,7 @@ function describeRetryReason(attempt) {
|
|
|
47554
47554
|
}
|
|
47555
47555
|
return "document reloaded mid-capture";
|
|
47556
47556
|
}
|
|
47557
|
-
var
|
|
47557
|
+
var INITIAL_VIEWPORT = { width: 1600, height: 1200 };
|
|
47558
47558
|
async function startCaptureSession(options) {
|
|
47559
47559
|
const log = options.log ?? (() => {
|
|
47560
47560
|
});
|
|
@@ -47580,7 +47580,7 @@ async function startCaptureSession(options) {
|
|
|
47580
47580
|
const contextStart = Date.now();
|
|
47581
47581
|
const context = await browser.newContext({
|
|
47582
47582
|
deviceScaleFactor: capture.deviceScaleFactor ?? DEVICE_SCALE_FACTOR,
|
|
47583
|
-
viewport: capture.viewport ??
|
|
47583
|
+
viewport: capture.viewport ?? INITIAL_VIEWPORT,
|
|
47584
47584
|
reducedMotion: "reduce",
|
|
47585
47585
|
colorScheme: "light",
|
|
47586
47586
|
timezoneId: "UTC",
|
|
@@ -47677,8 +47677,12 @@ async function startCaptureSession(options) {
|
|
|
47677
47677
|
target.storyboardId
|
|
47678
47678
|
);
|
|
47679
47679
|
const selector = buildStoryboardRenderSelector(renderId);
|
|
47680
|
+
const viewport = capture.viewport ?? {
|
|
47681
|
+
width: Math.ceil(target.width),
|
|
47682
|
+
height: Math.ceil(target.height)
|
|
47683
|
+
};
|
|
47680
47684
|
const ownsWorker = reusableWorker === void 0;
|
|
47681
|
-
const worker = reusableWorker ?? await createCaptureWorker(capture);
|
|
47685
|
+
const worker = reusableWorker ?? await createCaptureWorker({ ...capture, viewport });
|
|
47682
47686
|
const { page } = worker;
|
|
47683
47687
|
if (!worker.contextClaimed) {
|
|
47684
47688
|
timings.contextMs = worker.contextMs;
|
|
@@ -47690,6 +47694,10 @@ async function startCaptureSession(options) {
|
|
|
47690
47694
|
try {
|
|
47691
47695
|
const navStart = Date.now();
|
|
47692
47696
|
try {
|
|
47697
|
+
const currentViewport = page.viewportSize();
|
|
47698
|
+
if (currentViewport?.width !== viewport.width || currentViewport?.height !== viewport.height) {
|
|
47699
|
+
await page.setViewportSize(viewport);
|
|
47700
|
+
}
|
|
47693
47701
|
const targetUrl = buildDirectRenderUrl2(options.hostUrl, target);
|
|
47694
47702
|
if (!worker.hasNavigated) {
|
|
47695
47703
|
await page.goto(targetUrl, { waitUntil: "domcontentloaded" });
|
|
@@ -51339,7 +51347,7 @@ function buildBackends(runtime, toolsets, workspace) {
|
|
|
51339
51347
|
}
|
|
51340
51348
|
|
|
51341
51349
|
// src/version.ts
|
|
51342
|
-
var CLI_VERSION = "0.0.109
|
|
51350
|
+
var CLI_VERSION = "0.0.109";
|
|
51343
51351
|
|
|
51344
51352
|
// src/canvas-hooks.ts
|
|
51345
51353
|
var import_pngjs4 = __toESM(require_png(), 1);
|
|
@@ -52276,4 +52284,4 @@ export {
|
|
|
52276
52284
|
runServe,
|
|
52277
52285
|
scopeParamsFor
|
|
52278
52286
|
};
|
|
52279
|
-
//# sourceMappingURL=serve-
|
|
52287
|
+
//# sourceMappingURL=serve-4A2WBHDY.js.map
|