@tempo-ai/mcp 0.0.141-staging.1 → 0.0.142-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 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-5VZFHPWP.js";
5
+ } from "./chunk-XB5IUZ64.js";
6
6
  import "./chunk-4R6XIZCX.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-DFPNHVBV.js");
12
+ const { createTempoAggregate } = await import("./serve-52N66CHU.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-DFSOEUGA.js.map
131
+ //# sourceMappingURL=call-D54QF5Q5.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-DFPNHVBV.js");
125
+ const { runServe } = await import("./serve-52N66CHU.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-DFSOEUGA.js");
140
+ const { runTools } = await import("./call-D54QF5Q5.js");
141
141
  return await runTools(rest);
142
142
  }
143
143
  case "call": {
144
- const { runCall } = await import("./call-DFSOEUGA.js");
144
+ const { runCall } = await import("./call-D54QF5Q5.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-5VZFHPWP.js.map
167
+ //# sourceMappingURL=chunk-XB5IUZ64.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-5VZFHPWP.js";
4
+ } from "./chunk-XB5IUZ64.js";
5
5
  import "./chunk-4R6XIZCX.js";
6
6
  import "./chunk-JKT5N6IQ.js";
7
7
  export {
@@ -88519,7 +88519,7 @@ var MissingRootDepsError = class extends TempoDevServerError {
88519
88519
  // ../tempo-sdk/package.json
88520
88520
  var package_default = {
88521
88521
  name: "tempo-sdk",
88522
- version: "0.0.93",
88522
+ version: "0.0.94",
88523
88523
  publishConfig: {
88524
88524
  tag: "sdk-v2-latest"
88525
88525
  },
@@ -94873,6 +94873,8 @@ import os2 from "os";
94873
94873
  import path23 from "path";
94874
94874
  var NPM_REGISTRY_ENV = "npm_config_registry";
94875
94875
  var PNPM_REGISTRY_ENV = "pnpm_config_registry";
94876
+ var NPM_CACHE_DIR_ENV = "npm_config_cache_dir";
94877
+ var PNPM_CACHE_DIR_ENV = "pnpm_config_cache_dir";
94876
94878
  var RELEASE_AGE_EXCLUDE_ENV = "pnpm_config_minimum_release_age_exclude";
94877
94879
  async function readPackageManagerConfigEnv(cwd, env2) {
94878
94880
  const additions = {};
@@ -94884,6 +94886,11 @@ async function readPackageManagerConfigEnv(cwd, env2) {
94884
94886
  if (pnpmRegistryKey && !npmRegistryKey) {
94885
94887
  additions[NPM_REGISTRY_ENV] = env2[pnpmRegistryKey];
94886
94888
  }
94889
+ const e2eCacheDir = env2.TEMPO_E2E_PNPM_CACHE_DIR;
94890
+ if (e2eCacheDir) {
94891
+ additions[findEnvKey(env2, NPM_CACHE_DIR_ENV) ?? NPM_CACHE_DIR_ENV] = e2eCacheDir;
94892
+ additions[findEnvKey(env2, PNPM_CACHE_DIR_ENV) ?? PNPM_CACHE_DIR_ENV] = e2eCacheDir;
94893
+ }
94887
94894
  const exclusions = /* @__PURE__ */ new Set([
94888
94895
  ...envReleaseAgeExclusions(env2),
94889
94896
  ...await workspaceReleaseAgeExclusions(cwd),
@@ -123889,10 +123896,13 @@ import path75 from "path";
123889
123896
 
123890
123897
  // ../canvas-capture-headless/src/capture-images.ts
123891
123898
  import { createHash as createHash8 } from "crypto";
123892
- import sharp from "sharp";
123899
+ import { createRequire as createRequire9 } from "module";
123893
123900
  var MAX_IMAGE_BYTES2 = 24 * 1024 * 1024;
123894
123901
  var MAX_IMAGE_PIXELS = 64 * 1024 * 1024;
123895
123902
  var CACHE_BYTES = 32 * 1024 * 1024;
123903
+ var requireModule3 = createRequire9(import.meta.url);
123904
+ var codec;
123905
+ var loadSharp = () => codec ??= requireModule3("sharp");
123896
123906
  function createCaptureImageNormalizer() {
123897
123907
  const cache2 = /* @__PURE__ */ new Map();
123898
123908
  let retainedBytes = 0;
@@ -123908,6 +123918,7 @@ function createCaptureImageNormalizer() {
123908
123918
  cache2.set(key, cached);
123909
123919
  return cached;
123910
123920
  }
123921
+ const sharp = loadSharp();
123911
123922
  const png = await sharp(bytes, { limitInputPixels: MAX_IMAGE_PIXELS }).keepExif().png().toBuffer();
123912
123923
  if (cache2.has(key)) return cache2.get(key);
123913
123924
  if (png.length <= CACHE_BYTES) {
@@ -139136,7 +139147,7 @@ function buildBackends(runtime, toolsets, workspace) {
139136
139147
  }
139137
139148
 
139138
139149
  // src/version.ts
139139
- var CLI_VERSION = "0.0.141-staging.1";
139150
+ var CLI_VERSION = "0.0.142-staging.1";
139140
139151
 
139141
139152
  // src/canvas-hooks.ts
139142
139153
  var import_pngjs4 = __toESM(require_png(), 1);
@@ -140375,4 +140386,4 @@ unpdf/dist/index.mjs:
140375
140386
  * @license Apache-2.0
140376
140387
  *)
140377
140388
  */
140378
- //# sourceMappingURL=serve-DFPNHVBV.js.map
140389
+ //# sourceMappingURL=serve-52N66CHU.js.map