@ai-ecoverse/mcpcat 0.27.2 → 0.27.3

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.
@@ -17903,7 +17903,7 @@ async function runComplete(platform2, conn, args2, json) {
17903
17903
  const completion = result?.completion;
17904
17904
  const values = completion?.values ?? [];
17905
17905
  for (const v of values) {
17906
- const line = String(v).replace(/\r/g, "\\r").replace(/\n/g, "\\n");
17906
+ const line = String(v).replace(/\\/g, "\\\\").replace(/\r/g, "\\r").replace(/\n/g, "\\n");
17907
17907
  await platform2.write(1, sanitizeTerminal(`${line}
17908
17908
  `));
17909
17909
  }
@@ -19378,5 +19378,5 @@ try {
19378
19378
  });
19379
19379
  } catch {
19380
19380
  }
19381
- var code = await run(platform, "0.27.2", args);
19381
+ var code = await run(platform, "0.27.3", args);
19382
19382
  process.exit(code);
@@ -17420,7 +17420,7 @@ async function runComplete(platform2, conn, args, json) {
17420
17420
  const completion = result?.completion;
17421
17421
  const values = completion?.values ?? [];
17422
17422
  for (const v of values) {
17423
- const line = String(v).replace(/\r/g, "\\r").replace(/\n/g, "\\n");
17423
+ const line = String(v).replace(/\\/g, "\\\\").replace(/\r/g, "\\r").replace(/\n/g, "\\n");
17424
17424
  await platform2.write(1, sanitizeTerminal(`${line}
17425
17425
  `));
17426
17426
  }
@@ -18605,7 +18605,7 @@ async function main(ctx) {
18605
18605
  packageDir: "/node_modules/@ai-ecoverse/mcpcat"
18606
18606
  });
18607
18607
  const args = ctx.argv.slice(1);
18608
- return run(platform2, "0.27.2", args);
18608
+ return run(platform2, "0.27.3", args);
18609
18609
  }
18610
18610
  export {
18611
18611
  main as default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/mcpcat",
3
- "version": "0.27.2",
3
+ "version": "0.27.3",
4
4
  "description": "A curl for the Model Context Protocol",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -58,7 +58,7 @@
58
58
  "trust:dry": "npx fledgling sync --dry-run -y --skip-publish"
59
59
  },
60
60
  "devDependencies": {
61
- "@ai-ecoverse/slicc-kernel": "1.157.0",
61
+ "@ai-ecoverse/slicc-kernel": "1.157.1",
62
62
  "@ai-ecoverse/slicc-shared-web": "2.12.0",
63
63
  "@biomejs/biome": "2.5.15",
64
64
  "@earendil-works/pi-codemode": "1.3.0",