@d5render/cli 0.1.24 → 0.1.25

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.
Files changed (2) hide show
  1. package/bin/d5cli +14 -3
  2. package/package.json +1 -1
package/bin/d5cli CHANGED
@@ -7,7 +7,7 @@ import { fileURLToPath } from "node:url";
7
7
 
8
8
  //#region package.json
9
9
  var name$1 = "@d5render/cli";
10
- var version = "0.1.24";
10
+ var version = "0.1.25";
11
11
 
12
12
  //#endregion
13
13
  //#region packages/gitlab/url.ts
@@ -267,10 +267,21 @@ Otherwise, use chinese as default language to call the mcp tool '${name}-${repor
267
267
  "pipe",
268
268
  "pipe"
269
269
  ],
270
+ env: {
271
+ ...env,
272
+ NODE_NO_WARNINGS: "1",
273
+ PYTHONUNBUFFERED: "1"
274
+ },
270
275
  ...platform === "win32" && { windowsHide: true }
271
276
  });
272
- copilot.stdout.on("data", (chunk) => console.log(String(chunk)));
273
- copilot.stderr.on("data", (chunk) => console.error(String(chunk)));
277
+ copilot.stdout.setEncoding("utf8");
278
+ copilot.stderr.setEncoding("utf8");
279
+ copilot.stdout.on("data", (chunk) => {
280
+ process.stdout.write(chunk);
281
+ });
282
+ copilot.stderr.on("data", (chunk) => {
283
+ process.stderr.write(chunk);
284
+ });
274
285
  copilot.on("close", (code) => {
275
286
  sendding("CRITICAL", "CRITICAL CI ERROR: 代码审查任务失败,请自行检查日志");
276
287
  exit(code);
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "license": "MIT",
5
5
  "author": "jasirou",
6
6
  "main": "./bin/d5cli",
7
- "version": "0.1.24",
7
+ "version": "0.1.25",
8
8
  "devDependencies": {
9
9
  "@modelcontextprotocol/sdk": "^1.25.1",
10
10
  "@types/node": "^25.0.3",