@d5render/cli 0.1.51 → 0.1.54

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/bin/copilot.js CHANGED
@@ -1,4 +1,4 @@
1
- import process$1, { argv, platform } from "node:process";
1
+ import process$1, { argv } from "node:process";
2
2
  import { dirname, join } from "node:path";
3
3
  import { fileURLToPath } from "node:url";
4
4
 
@@ -18844,7 +18844,6 @@ const tools = [
18844
18844
  "--deny-tool",
18845
18845
  "github-mcp-server"
18846
18846
  ];
18847
- if (platform === "linux") tools.push("--model", "gemini-3-pro-preview");
18848
18847
  function toEnv(key, defaultValue) {
18849
18848
  return envJson[key] || process.env[key] || defaultValue;
18850
18849
  }
package/bin/d5cli CHANGED
@@ -46,7 +46,6 @@ const tools = [
46
46
  "--deny-tool",
47
47
  "github-mcp-server"
48
48
  ];
49
- if (platform === "linux") tools.push("--model", "gemini-3-pro-preview");
50
49
  function toEnv(key, defaultValue) {
51
50
  return envJson[key] || process.env[key] || defaultValue;
52
51
  }
@@ -108,7 +107,7 @@ function installCopilot() {
108
107
  //#endregion
109
108
  //#region package.json
110
109
  var name = "@d5render/cli";
111
- var version = "0.1.51";
110
+ var version = "0.1.54";
112
111
 
113
112
  //#endregion
114
113
  //#region packages/gitlab/url.ts
@@ -285,7 +284,12 @@ Otherwise, use chinese as default language to call the mcp tool '${name$1}-${rep
285
284
  "pipe",
286
285
  "pipe"
287
286
  ],
288
- ...platform === "win32" && { windowsHide: true }
287
+ ...platform === "win32" && { windowsHide: true },
288
+ env: {
289
+ ...process.env,
290
+ HTTP_PROXY: process.env.HTTP_PROXY || process.env.http_proxy || "",
291
+ HTTPS_PROXY: process.env.HTTPS_PROXY || process.env.https_proxy || ""
292
+ }
289
293
  });
290
294
  copilot.stdout.on("data", (chunk) => console.log(String(chunk)));
291
295
  copilot.stderr.on("data", (chunk) => console.error(String(chunk)));
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.51",
7
+ "version": "0.1.54",
8
8
  "devDependencies": {
9
9
  "@modelcontextprotocol/sdk": "^1.25.1",
10
10
  "@types/node": "^25.0.3",