@d5render/cli 0.1.71 → 0.1.73
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/d5cli +4 -4
- package/package.json +1 -1
package/bin/d5cli
CHANGED
|
@@ -8,7 +8,7 @@ import { fileURLToPath } from "node:url";
|
|
|
8
8
|
|
|
9
9
|
//#region package.json
|
|
10
10
|
var name$1 = "@d5render/cli";
|
|
11
|
-
var version = "0.1.
|
|
11
|
+
var version = "0.1.73";
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region packages/env.ts
|
|
@@ -280,7 +280,7 @@ async function getCopilotUsage(options = {}) {
|
|
|
280
280
|
const config = join(dirname(fileURLToPath(import.meta.url)), "copilot-mcp.json");
|
|
281
281
|
const tools = [
|
|
282
282
|
"--additional-mcp-config",
|
|
283
|
-
`"@${config}"`,
|
|
283
|
+
platform === "win32" ? `"@${config}"` : `@${config}`,
|
|
284
284
|
"--model",
|
|
285
285
|
"claude-opus-4.6",
|
|
286
286
|
"--allow-all-paths",
|
|
@@ -317,6 +317,7 @@ async function cli() {
|
|
|
317
317
|
if (httpProxy) env.HTTP_PROXY = httpProxy;
|
|
318
318
|
if (httpsProxy) env.HTTPS_PROXY = httpsProxy;
|
|
319
319
|
console.log("@d5render/cli version:", VERSION);
|
|
320
|
+
console.log("@d5render/cli env:", env);
|
|
320
321
|
const child = spawn(bind, [
|
|
321
322
|
...tools,
|
|
322
323
|
"-p",
|
|
@@ -328,8 +329,7 @@ async function cli() {
|
|
|
328
329
|
"pipe",
|
|
329
330
|
"pipe"
|
|
330
331
|
],
|
|
331
|
-
shell: true
|
|
332
|
-
...platform === "win32" ? {} : { env: { ...env } }
|
|
332
|
+
...platform === "win32" ? { shell: true } : { env: { ...env } }
|
|
333
333
|
});
|
|
334
334
|
child.stdout.on("data", (chunk) => console.log(String(chunk)));
|
|
335
335
|
child.stderr.on("data", (chunk) => console.error(String(chunk)));
|