dlw-machine-setup 0.2.0 → 0.2.2
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/installer.js +3 -2
- package/package.json +1 -1
package/bin/installer.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
1
2
|
"use strict";
|
|
2
3
|
var __create = Object.create;
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
@@ -3708,7 +3709,7 @@ var mcp_servers_default = {
|
|
|
3708
3709
|
function getAgentMCPTarget(agent) {
|
|
3709
3710
|
switch (agent) {
|
|
3710
3711
|
case "claude-code":
|
|
3711
|
-
return { filePath: "mcp.json", rootKey: "mcpServers", dir: null };
|
|
3712
|
+
return { filePath: ".mcp.json", rootKey: "mcpServers", dir: null };
|
|
3712
3713
|
case "cursor":
|
|
3713
3714
|
return { filePath: ".cursor/mcp.json", rootKey: "mcpServers", dir: ".cursor" };
|
|
3714
3715
|
case "github-copilot":
|
|
@@ -3890,7 +3891,7 @@ function getInstructionFilePath(agent) {
|
|
|
3890
3891
|
function getMCPConfigPath(agent) {
|
|
3891
3892
|
switch (agent) {
|
|
3892
3893
|
case "claude-code":
|
|
3893
|
-
return "mcp.json";
|
|
3894
|
+
return ".mcp.json";
|
|
3894
3895
|
case "cursor":
|
|
3895
3896
|
return ".cursor/mcp.json";
|
|
3896
3897
|
case "github-copilot":
|