@ai-ecoverse/mcpcat 0.13.0 → 0.14.0

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.
@@ -9183,17 +9183,14 @@ async function createSandbox(platform2, tools, globals, timeoutMs, memoryLimitBy
9183
9183
  return new InlineCodemodeSandbox2({ tools, globals, timeoutMs, wasm, memoryLimitBytes });
9184
9184
  }
9185
9185
  const { CodemodeSandbox: CodemodeSandbox2, loadQuickJSWasm: loadQuickJSWasm2 } = await Promise.resolve().then(() => (init_dist2(), dist_exports));
9186
- const getSeaDir = globalThis.__mcpcat_get_sea_asset_dir;
9187
- const seaDir = getSeaDir?.();
9188
- const wasmPath = seaDir ? `${seaDir}/quickjs.wasm` : await resolveWasmPath(platform2);
9189
- const workerUrl = seaDir ? new URL(`file://${seaDir}/codemode-worker.mjs`) : new URL("./codemode-worker.mjs", import.meta.url);
9186
+ const wasmPath = await resolveWasmPath(platform2);
9190
9187
  return new CodemodeSandbox2({
9191
9188
  tools,
9192
9189
  globals,
9193
9190
  timeoutMs,
9194
9191
  memoryLimitBytes,
9195
9192
  wasm: loadQuickJSWasm2(wasmPath),
9196
- workerUrl
9193
+ workerUrl: new URL("./codemode-worker.mjs", import.meta.url)
9197
9194
  });
9198
9195
  }
9199
9196
  async function resolveWasmPath(platform2) {
@@ -15795,5 +15792,5 @@ try {
15795
15792
  });
15796
15793
  } catch {
15797
15794
  }
15798
- var code = await run(platform, "0.13.0", args);
15795
+ var code = await run(platform, "0.14.0", args);
15799
15796
  process.exit(code);
@@ -8804,17 +8804,14 @@ async function createSandbox(platform2, tools, globals, timeoutMs, memoryLimitBy
8804
8804
  return new InlineCodemodeSandbox2({ tools, globals, timeoutMs, wasm, memoryLimitBytes });
8805
8805
  }
8806
8806
  const { CodemodeSandbox: CodemodeSandbox2, loadQuickJSWasm: loadQuickJSWasm2 } = await Promise.resolve().then(() => (init_dist2(), dist_exports));
8807
- const getSeaDir = globalThis.__mcpcat_get_sea_asset_dir;
8808
- const seaDir = getSeaDir?.();
8809
- const wasmPath = seaDir ? `${seaDir}/quickjs.wasm` : await resolveWasmPath(platform2);
8810
- const workerUrl = seaDir ? new URL(`file://${seaDir}/codemode-worker.mjs`) : new URL("./codemode-worker.mjs", import.meta.url);
8807
+ const wasmPath = await resolveWasmPath(platform2);
8811
8808
  return new CodemodeSandbox2({
8812
8809
  tools,
8813
8810
  globals,
8814
8811
  timeoutMs,
8815
8812
  memoryLimitBytes,
8816
8813
  wasm: loadQuickJSWasm2(wasmPath),
8817
- workerUrl
8814
+ workerUrl: new URL("./codemode-worker.mjs", import.meta.url)
8818
8815
  });
8819
8816
  }
8820
8817
  async function resolveWasmPath(platform2) {
@@ -15458,7 +15455,7 @@ async function main(ctx) {
15458
15455
  packageDir: "/node_modules/@ai-ecoverse/mcpcat"
15459
15456
  });
15460
15457
  const args = ctx.argv.slice(1);
15461
- return run(platform2, "0.13.0", args);
15458
+ return run(platform2, "0.14.0", args);
15462
15459
  }
15463
15460
  export {
15464
15461
  main as default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/mcpcat",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "A curl for the Model Context Protocol",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -56,7 +56,7 @@
56
56
  "trust:dry": "npx fledgling sync --dry-run -y --skip-publish"
57
57
  },
58
58
  "devDependencies": {
59
- "@ai-ecoverse/slicc-kernel": "1.73.1",
59
+ "@ai-ecoverse/slicc-kernel": "1.73.3",
60
60
  "@ai-ecoverse/slicc-shared-web": "1.13.1",
61
61
  "@biomejs/biome": "2.5.15",
62
62
  "@earendil-works/pi-codemode": "1.2.0",