@amdahl/cli 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/dist/amdahl.js +3 -3
- package/package.json +1 -1
package/dist/amdahl.js
CHANGED
|
@@ -8667,7 +8667,7 @@ async function installMcp(ctx, client, print) {
|
|
|
8667
8667
|
const mcpUrl = `${ctx.apiUrl}/mcp`;
|
|
8668
8668
|
const { io } = ctx;
|
|
8669
8669
|
if (client === "claude-code") {
|
|
8670
|
-
const args = ["mcp", "add", "--transport", "http", "amdahl", mcpUrl];
|
|
8670
|
+
const args = ["mcp", "add", "--scope", "user", "--transport", "http", "amdahl", mcpUrl];
|
|
8671
8671
|
const command = `claude ${args.join(" ")}`;
|
|
8672
8672
|
if (print || !await onPath(ctx, "claude")) {
|
|
8673
8673
|
const notes = print ? [] : ["`claude` is not on your PATH. Run the command above once it is installed."];
|
|
@@ -8677,7 +8677,7 @@ async function installMcp(ctx, client, print) {
|
|
|
8677
8677
|
if (res.code !== 0) {
|
|
8678
8678
|
throw new CliError("install_failed", `\`${command}\` failed: ${res.stderr.trim() || `exit ${res.code}`}`, EXIT.general);
|
|
8679
8679
|
}
|
|
8680
|
-
return { data: { ok: true, client, action: "ran", command }, human: `Added Amdahl to Claude Code. Run /mcp in Claude Code to sign in.`, notes: [] };
|
|
8680
|
+
return { data: { ok: true, client, action: "ran", command }, human: `Added Amdahl to Claude Code for all your projects. Run /mcp in Claude Code to sign in. If amdahl is not listed there, restart Claude Code first.`, notes: [] };
|
|
8681
8681
|
}
|
|
8682
8682
|
if (client === "codex") {
|
|
8683
8683
|
const path2 = join4(io.homedir, ".codex", "config.toml");
|
|
@@ -9828,7 +9828,7 @@ async function workspaceUse(ctx, args) {
|
|
|
9828
9828
|
}
|
|
9829
9829
|
|
|
9830
9830
|
// src/version.ts
|
|
9831
|
-
var VERSION = "0.2.
|
|
9831
|
+
var VERSION = "0.2.2";
|
|
9832
9832
|
|
|
9833
9833
|
// src/main.ts
|
|
9834
9834
|
var COMMANDS = {
|
package/package.json
CHANGED