dlw-machine-setup 0.2.1 → 0.2.3
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 +4 -7
- package/package.json +1 -1
package/bin/installer.js
CHANGED
|
@@ -3709,7 +3709,7 @@ var mcp_servers_default = {
|
|
|
3709
3709
|
function getAgentMCPTarget(agent) {
|
|
3710
3710
|
switch (agent) {
|
|
3711
3711
|
case "claude-code":
|
|
3712
|
-
return { filePath: "mcp.json", rootKey: "mcpServers", dir: null };
|
|
3712
|
+
return { filePath: ".mcp.json", rootKey: "mcpServers", dir: null };
|
|
3713
3713
|
case "cursor":
|
|
3714
3714
|
return { filePath: ".cursor/mcp.json", rootKey: "mcpServers", dir: ".cursor" };
|
|
3715
3715
|
case "github-copilot":
|
|
@@ -3891,7 +3891,7 @@ function getInstructionFilePath(agent) {
|
|
|
3891
3891
|
function getMCPConfigPath(agent) {
|
|
3892
3892
|
switch (agent) {
|
|
3893
3893
|
case "claude-code":
|
|
3894
|
-
return "mcp.json";
|
|
3894
|
+
return ".mcp.json";
|
|
3895
3895
|
case "cursor":
|
|
3896
3896
|
return ".cursor/mcp.json";
|
|
3897
3897
|
case "github-copilot":
|
|
@@ -3938,16 +3938,13 @@ async function main() {
|
|
|
3938
3938
|
async function collectInputs() {
|
|
3939
3939
|
const selectedIds = await esm_default2({
|
|
3940
3940
|
message: "Personas:",
|
|
3941
|
+
instructions: " Space to select \xB7 Enter to confirm",
|
|
3941
3942
|
choices: personas.map((p) => ({
|
|
3942
3943
|
name: p.name.replace(/ Developer$/, ""),
|
|
3943
3944
|
value: p.id
|
|
3944
3945
|
})),
|
|
3945
|
-
required:
|
|
3946
|
+
required: true
|
|
3946
3947
|
});
|
|
3947
|
-
if (selectedIds.length === 0) {
|
|
3948
|
-
console.log("\nNo personas selected. Exiting.");
|
|
3949
|
-
return null;
|
|
3950
|
-
}
|
|
3951
3948
|
const selectedPersonas = personas.filter((p) => selectedIds.includes(p.id));
|
|
3952
3949
|
const agent = await esm_default5({
|
|
3953
3950
|
message: "AI coding tool:",
|