@hasna/sandboxes 0.1.2 → 0.1.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/dist/cli/index.js +3 -3
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -3762,7 +3762,7 @@ program2.command("mcp").description("Install MCP server for AI agents").option("
|
|
|
3762
3762
|
for (const target of targets) {
|
|
3763
3763
|
switch (target) {
|
|
3764
3764
|
case "claude": {
|
|
3765
|
-
const cmd = `claude mcp add --transport stdio --scope user sandboxes -- bunx @hasna/sandboxes sandboxes-mcp`;
|
|
3765
|
+
const cmd = `claude mcp add --transport stdio --scope user sandboxes -- bunx --bun --package @hasna/sandboxes sandboxes-mcp`;
|
|
3766
3766
|
console.log(chalk.dim(`Running: ${cmd}`));
|
|
3767
3767
|
execSync(cmd, { stdio: "inherit" });
|
|
3768
3768
|
console.log(chalk.green("Installed MCP server for Claude Code."));
|
|
@@ -3773,7 +3773,7 @@ program2.command("mcp").description("Install MCP server for AI agents").option("
|
|
|
3773
3773
|
console.log();
|
|
3774
3774
|
console.log(`[mcp_servers.sandboxes]`);
|
|
3775
3775
|
console.log(`command = "bunx"`);
|
|
3776
|
-
console.log(`args = ["@hasna/sandboxes", "sandboxes-mcp"]`);
|
|
3776
|
+
console.log(`args = ["--bun", "--package", "@hasna/sandboxes", "sandboxes-mcp"]`);
|
|
3777
3777
|
break;
|
|
3778
3778
|
}
|
|
3779
3779
|
case "gemini": {
|
|
@@ -3783,7 +3783,7 @@ program2.command("mcp").description("Install MCP server for AI agents").option("
|
|
|
3783
3783
|
mcpServers: {
|
|
3784
3784
|
sandboxes: {
|
|
3785
3785
|
command: "bunx",
|
|
3786
|
-
args: ["@hasna/sandboxes", "sandboxes-mcp"]
|
|
3786
|
+
args: ["--bun", "--package", "@hasna/sandboxes", "sandboxes-mcp"]
|
|
3787
3787
|
}
|
|
3788
3788
|
}
|
|
3789
3789
|
}, null, 2));
|