@d5render/cli 0.1.75 → 0.1.76

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 +5 -3
  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.75";
11
+ var version = "0.1.76";
12
12
 
13
13
  //#endregion
14
14
  //#region packages/env.ts
@@ -278,11 +278,13 @@ async function getCopilotUsage(options = {}) {
278
278
  //#endregion
279
279
  //#region review/copilot/deploy.ts
280
280
  const config = join(dirname(fileURLToPath(import.meta.url)), "copilot-mcp.json");
281
+ console.log("config:", config);
282
+ console.log("platform:", platform);
283
+ console.log("readFileSync(config, 'utf8'):", readFileSync(config, "utf8"));
281
284
  /** Windows 用 "@path"(给 shell 引号),Linux 用内联 JSON,避免 @path 写法触发未登录 */
282
285
  function getTools() {
286
+ platform === "win32" ? `${config}` : readFileSync(config, "utf8");
283
287
  return [
284
- "--additional-mcp-config",
285
- platform === "win32" ? `"@${config}"` : readFileSync(config, "utf8"),
286
288
  "--model",
287
289
  "claude-opus-4.6",
288
290
  "--allow-all-paths",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d5render/cli",
3
- "version": "0.1.75",
3
+ "version": "0.1.76",
4
4
  "license": "MIT",
5
5
  "author": "jasirou",
6
6
  "bin": {