@d5render/cli 0.1.71 → 0.1.72

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 +3 -4
  2. 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.71";
11
+ var version = "0.1.72";
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",
@@ -328,8 +328,7 @@ async function cli() {
328
328
  "pipe",
329
329
  "pipe"
330
330
  ],
331
- shell: true,
332
- ...platform === "win32" ? {} : { env: { ...env } }
331
+ ...platform === "win32" ? { shell: true } : { env: { ...env } }
333
332
  });
334
333
  child.stdout.on("data", (chunk) => console.log(String(chunk)));
335
334
  child.stderr.on("data", (chunk) => console.error(String(chunk)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d5render/cli",
3
- "version": "0.1.71",
3
+ "version": "0.1.72",
4
4
  "license": "MIT",
5
5
  "author": "jasirou",
6
6
  "bin": {