@d5render/cli 0.1.77 → 0.1.79
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 -3
- 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.79";
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region packages/env.ts
|
|
@@ -285,9 +285,10 @@ function getConfigPath() {
|
|
|
285
285
|
/** Windows 用 "@path"(给 shell 引号),Linux 用内联 JSON,避免 @path 写法触发未登录 */
|
|
286
286
|
function getTools() {
|
|
287
287
|
const configPath = getConfigPath();
|
|
288
|
+
console.log("configPath:", configPath);
|
|
289
|
+
const mcpConfigValue = platform === "win32" ? `"@${configPath}"` : existsSync(configPath) ? readFileSync(configPath, "utf8") : "{}";
|
|
290
|
+
console.log("mcpConfigValue:", mcpConfigValue);
|
|
288
291
|
return [
|
|
289
|
-
"--additional-mcp-config",
|
|
290
|
-
platform === "win32" ? `"@${configPath}"` : existsSync(configPath) ? readFileSync(configPath, "utf8") : "{}",
|
|
291
292
|
"--model",
|
|
292
293
|
"claude-opus-4.6",
|
|
293
294
|
"--allow-all-paths",
|