protogridctl 0.1.1 → 0.2.0
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/README.md +2 -1
- package/dist/api.d.ts +12 -56
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +13 -28
- package/dist/api.js.map +1 -1
- package/dist/args.d.ts +46 -0
- package/dist/args.d.ts.map +1 -0
- package/dist/args.js +122 -0
- package/dist/args.js.map +1 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +38 -77
- package/dist/cli.js.map +1 -1
- package/dist/clients.d.ts +2 -1
- package/dist/clients.d.ts.map +1 -1
- package/dist/clients.js +44 -10
- package/dist/clients.js.map +1 -1
- package/dist/commands.d.ts +13 -11
- package/dist/commands.d.ts.map +1 -1
- package/dist/commands.js +93 -195
- package/dist/commands.js.map +1 -1
- package/dist/destinations.d.ts +40 -0
- package/dist/destinations.d.ts.map +1 -0
- package/dist/destinations.js +163 -0
- package/dist/destinations.js.map +1 -0
- package/dist/errors.d.ts +6 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +9 -0
- package/dist/errors.js.map +1 -0
- package/dist/files.d.ts +0 -2
- package/dist/files.d.ts.map +1 -1
- package/dist/files.js +1 -3
- package/dist/files.js.map +1 -1
- package/dist/plan.d.ts +47 -0
- package/dist/plan.d.ts.map +1 -0
- package/dist/plan.js +66 -0
- package/dist/plan.js.map +1 -0
- package/package.json +4 -1
package/dist/clients.js
CHANGED
|
@@ -5,56 +5,83 @@
|
|
|
5
5
|
import { join } from "node:path";
|
|
6
6
|
const config = (env) => env.xdgConfig ?? join(env.home, ".config");
|
|
7
7
|
/** VS Code's and Claude Desktop's per-user folder on each platform. */
|
|
8
|
-
const appDir = (env, app) => env.platform === "darwin"
|
|
8
|
+
const appDir = (env, app) => env.platform === "darwin"
|
|
9
|
+
? join(env.home, "Library", "Application Support", app)
|
|
10
|
+
: env.platform === "win32"
|
|
11
|
+
? join(env.appData ?? join(env.home, "AppData", "Roaming"), app)
|
|
12
|
+
: join(config(env), app);
|
|
9
13
|
export const CLIENTS = [
|
|
10
14
|
{
|
|
11
15
|
id: "cursor",
|
|
12
16
|
label: "Cursor",
|
|
13
17
|
target: "cursor",
|
|
14
|
-
locate: (env, scope) => ({
|
|
18
|
+
locate: (env, scope) => ({
|
|
19
|
+
format: "json",
|
|
20
|
+
path: scope === "user" ? join(env.home, ".cursor", "mcp.json") : join(env.cwd, ".cursor", "mcp.json"),
|
|
21
|
+
rootKey: "mcpServers",
|
|
22
|
+
}),
|
|
15
23
|
},
|
|
16
24
|
{
|
|
17
25
|
id: "vscode",
|
|
18
26
|
label: "VS Code",
|
|
19
27
|
target: "vscode",
|
|
20
|
-
locate: (env, scope) => ({
|
|
28
|
+
locate: (env, scope) => ({
|
|
29
|
+
format: "json",
|
|
30
|
+
path: scope === "user" ? join(appDir(env, "Code"), "User", "mcp.json") : join(env.cwd, ".vscode", "mcp.json"),
|
|
31
|
+
rootKey: "servers",
|
|
32
|
+
}),
|
|
21
33
|
},
|
|
22
34
|
{
|
|
23
35
|
id: "claude-code",
|
|
24
36
|
label: "Claude Code",
|
|
25
37
|
target: "mcpServers",
|
|
26
|
-
locate: (env, scope) =>
|
|
38
|
+
locate: (env, scope) => scope === "user"
|
|
39
|
+
? { format: "command" }
|
|
40
|
+
: { format: "json", path: join(env.cwd, ".mcp.json"), rootKey: "mcpServers" },
|
|
27
41
|
},
|
|
28
42
|
{
|
|
29
43
|
id: "claude-desktop",
|
|
30
44
|
label: "Claude Desktop",
|
|
31
45
|
target: "mcpServers",
|
|
32
46
|
localOnly: true,
|
|
33
|
-
locate: (env, scope) =>
|
|
47
|
+
locate: (env, scope) => scope === "user"
|
|
48
|
+
? { format: "json", path: join(appDir(env, "Claude"), "claude_desktop_config.json"), rootKey: "mcpServers" }
|
|
49
|
+
: null,
|
|
34
50
|
},
|
|
35
51
|
{
|
|
36
52
|
id: "gemini",
|
|
37
53
|
label: "Gemini CLI",
|
|
38
54
|
target: "gemini",
|
|
39
|
-
locate: (env, scope) => ({
|
|
55
|
+
locate: (env, scope) => ({
|
|
56
|
+
format: "json",
|
|
57
|
+
path: scope === "user" ? join(env.home, ".gemini", "settings.json") : join(env.cwd, ".gemini", "settings.json"),
|
|
58
|
+
rootKey: "mcpServers",
|
|
59
|
+
}),
|
|
40
60
|
},
|
|
41
61
|
{
|
|
42
62
|
id: "codex",
|
|
43
63
|
label: "Codex",
|
|
44
64
|
target: "codex-toml",
|
|
45
|
-
locate: (env, scope) =>
|
|
65
|
+
locate: (env, scope) => scope === "user"
|
|
66
|
+
? { format: "toml", path: join(env.codexHome ?? join(env.home, ".codex"), "config.toml") }
|
|
67
|
+
: null,
|
|
46
68
|
},
|
|
47
69
|
{
|
|
48
70
|
id: "opencode",
|
|
49
71
|
label: "opencode",
|
|
50
72
|
target: "opencode",
|
|
51
|
-
locate: (env, scope) => ({
|
|
73
|
+
locate: (env, scope) => ({
|
|
74
|
+
format: "json",
|
|
75
|
+
path: scope === "user" ? join(config(env), "opencode", "opencode.json") : join(env.cwd, "opencode.json"),
|
|
76
|
+
rootKey: "mcp",
|
|
77
|
+
newFile: { $schema: "https://opencode.ai/config.json" },
|
|
78
|
+
}),
|
|
52
79
|
},
|
|
53
80
|
{
|
|
54
81
|
id: "goose",
|
|
55
82
|
label: "Goose",
|
|
56
83
|
target: "goose",
|
|
57
|
-
locate: (env, scope) =>
|
|
84
|
+
locate: (env, scope) => scope === "user" ? { format: "print", path: join(config(env), "goose", "config.yaml") } : null,
|
|
58
85
|
},
|
|
59
86
|
];
|
|
60
87
|
export function findClient(id) {
|
|
@@ -62,6 +89,13 @@ export function findClient(id) {
|
|
|
62
89
|
}
|
|
63
90
|
export function envFromProcess() {
|
|
64
91
|
const e = process.env;
|
|
65
|
-
return {
|
|
92
|
+
return {
|
|
93
|
+
home: e["HOME"] ?? e["USERPROFILE"] ?? process.cwd(),
|
|
94
|
+
cwd: process.cwd(),
|
|
95
|
+
platform: process.platform,
|
|
96
|
+
appData: e["APPDATA"],
|
|
97
|
+
xdgConfig: e["XDG_CONFIG_HOME"] || undefined,
|
|
98
|
+
codexHome: e["CODEX_HOME"] || undefined,
|
|
99
|
+
};
|
|
66
100
|
}
|
|
67
101
|
//# sourceMappingURL=clients.js.map
|
package/dist/clients.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clients.js","sourceRoot":"","sources":["../src/clients.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"clients.js","sourceRoot":"","sources":["../src/clients.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAgDjC,MAAM,MAAM,GAAG,CAAC,GAAQ,EAAE,EAAE,CAAC,GAAG,CAAC,SAAS,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;AACxE,uEAAuE;AACvE,MAAM,MAAM,GAAG,CAAC,GAAQ,EAAE,GAAW,EAAE,EAAE,CACvC,GAAG,CAAC,QAAQ,KAAK,QAAQ;IACvB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,SAAS,EAAE,qBAAqB,EAAE,GAAG,CAAC;IACvD,CAAC,CAAC,GAAG,CAAC,QAAQ,KAAK,OAAO;QACxB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,CAAC,EAAE,GAAG,CAAC;QAChE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC;AAE/B,MAAM,CAAC,MAAM,OAAO,GAAiB;IACnC;QACE,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,QAAQ;QACf,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE,CAA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e,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,eAAe,CAAC;YACxG,OAAO,EAAE,KAAK;YACd,OAAO,EAAE,EAAE,OAAO,EAAE,iCAAiC,EAAE;SACxD,CAAC;KACH;IACD;QACE,EAAE,EAAE,OAAO;QACX,KAAK,EAAE,OAAO;QACd,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,CACrB,KAAK,KAAK,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,OAAO,EAAE,aAAa,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI;KACjG;CACF,CAAC;AAEF,MAAM,UAAU,UAAU,CAAC,EAAU;IACnC,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;AAC1C,CAAC;AAED,MAAM,UAAU,cAAc;IAC5B,MAAM,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC;IACtB,OAAO;QACL,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,aAAa,CAAC,IAAI,OAAO,CAAC,GAAG,EAAE;QACpD,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE;QAClB,QAAQ,EAAE,OAAO,CAAC,QAAQ;QAC1B,OAAO,EAAE,CAAC,CAAC,SAAS,CAAC;QACrB,SAAS,EAAE,CAAC,CAAC,iBAAiB,CAAC,IAAI,SAAS;QAC5C,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,IAAI,SAAS;KACxC,CAAC;AACJ,CAAC"}
|
package/dist/commands.d.ts
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* What each command does, with its outside world injected (API, terminal, files' home, the `claude` command) so the
|
|
3
|
+
* tests run it end to end on temporary directories. The rules live in the install plan (plan.ts) and the formats in
|
|
4
|
+
* the destinations (destinations.ts); this file asks, fetches and prints.
|
|
5
|
+
*/
|
|
6
|
+
import { type Api, type Extension } from "./api.js";
|
|
2
7
|
import { type Env, type Scope } from "./clients.js";
|
|
8
|
+
import { type RunClaude } from "./destinations.js";
|
|
9
|
+
import { CliError } from "./errors.js";
|
|
3
10
|
import type { Prompter } from "./prompt.js";
|
|
11
|
+
export { CliError };
|
|
4
12
|
export interface Deps {
|
|
5
13
|
api: Api;
|
|
6
14
|
prompter: Prompter;
|
|
7
15
|
env: Env;
|
|
8
16
|
out: (line: string) => void;
|
|
17
|
+
/** Errors and refusals, on their own stream so a script can tell them from results. */
|
|
18
|
+
err: (line: string) => void;
|
|
9
19
|
/** Runs `claude` with these arguments (never through a shell); `notFound` when it is not installed. */
|
|
10
|
-
runClaude:
|
|
11
|
-
status: number | null;
|
|
12
|
-
notFound: boolean;
|
|
13
|
-
stderr: string;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
export declare class CliError extends Error {
|
|
17
|
-
readonly code: number;
|
|
18
|
-
constructor(message: string, code?: number);
|
|
20
|
+
runClaude: RunClaude;
|
|
19
21
|
}
|
|
20
22
|
export interface AddOptions {
|
|
21
23
|
client: string;
|
|
@@ -31,6 +33,6 @@ export declare function remove(nameOrKey: string, o: {
|
|
|
31
33
|
scope: Scope;
|
|
32
34
|
dryRun: boolean;
|
|
33
35
|
}, d: Deps): Promise<void>;
|
|
34
|
-
export declare function search(q: string, limit: number, d: Deps): Promise<void>;
|
|
36
|
+
export declare function search(q: string, limit: number, d: Deps, extensions?: Extension[]): Promise<void>;
|
|
35
37
|
export declare function listClients(d: Deps): void;
|
|
36
38
|
//# sourceMappingURL=commands.d.ts.map
|
package/dist/commands.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../src/commands.ts"],"names":[],"mappings":"
|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,EAAE,OAAO,CAAA;CAAE,EACpD,CAAC,EAAE,IAAI,GACN,OAAO,CAAC,IAAI,CAAC,CAaf;AAED,wBAAsB,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,GAAE,SAAS,EAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAsB3G;AAED,wBAAgB,WAAW,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,CAgBzC"}
|
package/dist/commands.js
CHANGED
|
@@ -1,26 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* What each command does, with its outside world injected (API, terminal, files' home, the `claude` command) so the
|
|
3
|
-
* tests run it end to end on temporary directories.
|
|
3
|
+
* tests run it end to end on temporary directories. The rules live in the install plan (plan.ts) and the formats in
|
|
4
|
+
* the destinations (destinations.ts); this file asks, fetches and prints.
|
|
4
5
|
*/
|
|
5
|
-
import {
|
|
6
|
-
import { ApiError } from "./api.js";
|
|
6
|
+
import { ProtogridError } from "./api.js";
|
|
7
7
|
import { CLIENTS, findClient } from "./clients.js";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
super(message);
|
|
13
|
-
this.code = code;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
const CLASS_TEXT = {
|
|
17
|
-
R0: "remote, nothing to set up",
|
|
18
|
-
R1: "remote, needs a key or token you hold",
|
|
19
|
-
R2: "remote, signs in with OAuth in your client",
|
|
20
|
-
L0: "local package that runs on your machine",
|
|
21
|
-
};
|
|
22
|
-
/** Problems that a confirmation may accept; a score under `--min-quality` or a blocked listing is refused outright. */
|
|
23
|
-
const HARD_RULES = new Set(["min_quality", "listing"]);
|
|
8
|
+
import { destinationFor } from "./destinations.js";
|
|
9
|
+
import { CliError } from "./errors.js";
|
|
10
|
+
import { gateRules, judgeGate, planInstall } from "./plan.js";
|
|
11
|
+
export { CliError };
|
|
24
12
|
function client(id) {
|
|
25
13
|
const c = findClient(id);
|
|
26
14
|
if (!c)
|
|
@@ -34,222 +22,119 @@ function located(c, env, scope) {
|
|
|
34
22
|
return loc;
|
|
35
23
|
}
|
|
36
24
|
const apiMessage = (e, name) => {
|
|
37
|
-
if (e instanceof
|
|
25
|
+
if (e instanceof ProtogridError && e.status === 404)
|
|
38
26
|
return new CliError(`no server named "${name}" in the registry; try: protogridctl search <words>`, 1);
|
|
39
|
-
if (e instanceof
|
|
27
|
+
if (e instanceof ProtogridError)
|
|
40
28
|
return new CliError(`the registry answered ${e.status}: ${e.message}`, 1);
|
|
41
29
|
return new CliError(`the registry could not be reached: ${e.message}`, 1);
|
|
42
30
|
};
|
|
43
|
-
|
|
44
|
-
function fill(value, answers, escape = (s) => s) {
|
|
45
|
-
if (typeof value === "string")
|
|
46
|
-
return value.replace(/\$\{([^}]+)\}/g, (all, n) => (answers.has(n) ? escape(answers.get(n)) : all));
|
|
47
|
-
if (Array.isArray(value))
|
|
48
|
-
return value.map((v) => fill(v, answers, escape));
|
|
49
|
-
if (value && typeof value === "object")
|
|
50
|
-
return Object.fromEntries(Object.entries(value).map(([k, v]) => [k, fill(v, answers, escape)]));
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
/** A TOML basic string's escapes, for a value placed inside the API's quotes. */
|
|
54
|
-
const tomlEscape = (s) => JSON.stringify(s).slice(1, -1);
|
|
55
|
-
export async function add(name, o, d) {
|
|
56
|
-
const c = client(o.client);
|
|
57
|
-
const loc = located(c, d.env, o.scope);
|
|
58
|
-
// 1. Check the server before anything is written.
|
|
59
|
-
const rules = { no_fail: "tools.hidden_text,tools.poisoning", exclude_quality_flags: "known-vulns" };
|
|
60
|
-
if (o.minQuality != null)
|
|
61
|
-
rules["min_quality"] = String(o.minQuality);
|
|
62
|
-
let gate;
|
|
31
|
+
async function connection(d, name, target) {
|
|
63
32
|
try {
|
|
64
|
-
|
|
33
|
+
return await d.api.getConnection(name, target);
|
|
65
34
|
}
|
|
66
35
|
catch (e) {
|
|
36
|
+
if (e instanceof ProtogridError && [403, 409, 410].includes(e.status))
|
|
37
|
+
throw new CliError(`no connection offered: ${e.message}`, 1);
|
|
67
38
|
throw apiMessage(e, name);
|
|
68
39
|
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
// 2. The entry in the client's own shape.
|
|
86
|
-
let conn;
|
|
40
|
+
}
|
|
41
|
+
/** A yes from the person, or `--yes`; without a terminal, the reasons and how to go on anyway. */
|
|
42
|
+
async function confirmed(d, yes, question, refusal) {
|
|
43
|
+
if (yes)
|
|
44
|
+
return;
|
|
45
|
+
if (!d.prompter.interactive)
|
|
46
|
+
throw new CliError(refusal, 3);
|
|
47
|
+
if (!(await d.prompter.confirm(question)))
|
|
48
|
+
throw new CliError("not installed", 3);
|
|
49
|
+
}
|
|
50
|
+
export async function add(name, o, d) {
|
|
51
|
+
const c = client(o.client);
|
|
52
|
+
const dest = destinationFor(located(c, d.env, o.scope), d.runClaude);
|
|
53
|
+
// 1. The gate, before anything else is fetched.
|
|
54
|
+
let gate;
|
|
87
55
|
try {
|
|
88
|
-
|
|
56
|
+
gate = await d.api.gate(name, gateRules(o.minQuality));
|
|
89
57
|
}
|
|
90
58
|
catch (e) {
|
|
91
|
-
if (e instanceof ApiError && [403, 409, 410].includes(e.status))
|
|
92
|
-
throw new CliError(`no connection offered: ${e.message}`, 1);
|
|
93
59
|
throw apiMessage(e, name);
|
|
94
60
|
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
throw new CliError("not installed", 3);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
// 3. Secrets: asked for, written only to the local file; the ones a client reads from the environment are named.
|
|
120
|
-
const payload = entry ? JSON.stringify(entry) : text;
|
|
121
|
-
const inline = conn.secrets.filter((s) => payload.includes(`\${${s.name}}`));
|
|
122
|
-
const fromEnv = conn.secrets.filter((s) => !inline.includes(s));
|
|
61
|
+
const verdict = judgeGate(gate);
|
|
62
|
+
for (const l of verdict.summary)
|
|
63
|
+
d.out(l);
|
|
64
|
+
if (verdict.refused)
|
|
65
|
+
throw new CliError("not installed", 3);
|
|
66
|
+
// 2. The entry in the client's own shape, and the plan for it.
|
|
67
|
+
const conn = await connection(d, name, c.target);
|
|
68
|
+
const plan = planInstall({
|
|
69
|
+
verdict,
|
|
70
|
+
gate,
|
|
71
|
+
conn,
|
|
72
|
+
client: c,
|
|
73
|
+
entry: conn.kind === "bundle" ? null : dest.entryOf(conn),
|
|
74
|
+
});
|
|
75
|
+
if (plan.kind === "elsewhere")
|
|
76
|
+
return d.out(plan.message);
|
|
77
|
+
for (const l of plan.warnings)
|
|
78
|
+
d.out(l);
|
|
79
|
+
if (plan.doubts.length > 0)
|
|
80
|
+
await confirmed(d, o.yes, "Install it anyway?", `not installed: ${plan.doubts.join("; ")}; rerun with --yes to install anyway`);
|
|
81
|
+
// 3. Secrets: asked for, written only to the local file.
|
|
123
82
|
const answers = new Map();
|
|
124
|
-
if (
|
|
125
|
-
for (const s of
|
|
83
|
+
if (plan.ask.length > 0 && o.prompt && d.prompter.interactive && !o.dryRun && dest.writes) {
|
|
84
|
+
for (const s of plan.ask) {
|
|
126
85
|
const v = await d.prompter.secret(`${s.name} (${s.where}, written only to your ${c.label} config; empty keeps the placeholder): `);
|
|
127
86
|
if (v)
|
|
128
87
|
answers.set(s.name, v);
|
|
129
88
|
}
|
|
130
89
|
}
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
d.out(text.replace(/\s+$/, ""));
|
|
90
|
+
if (!dest.writes) {
|
|
91
|
+
for (const l of dest.install(conn.key, plan.entry, answers))
|
|
92
|
+
d.out(l);
|
|
135
93
|
return;
|
|
136
94
|
}
|
|
137
95
|
// 4. Write it.
|
|
138
|
-
const
|
|
139
|
-
if (
|
|
140
|
-
const
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
d.out(`Would run: claude mcp add-json ${conn.key} '${JSON.stringify(entry)}' --scope user`);
|
|
144
|
-
return;
|
|
145
|
-
}
|
|
146
|
-
const r = d.runClaude(args);
|
|
147
|
-
if (r.notFound)
|
|
148
|
-
throw new CliError(`the claude command was not found; run: claude mcp add-json ${conn.key} '${JSON.stringify(entry)}' --scope user`, 1);
|
|
149
|
-
if (r.status !== 0)
|
|
150
|
-
throw new CliError(`claude mcp add-json failed: ${r.stderr.trim() || `exit ${r.status}`}`, 1);
|
|
151
|
-
d.out(`Added "${conn.key}" to Claude Code (user scope).`);
|
|
96
|
+
const exists = dest.has(conn.key);
|
|
97
|
+
if (o.dryRun) {
|
|
98
|
+
for (const l of dest.preview(conn.key, plan.entry, exists))
|
|
99
|
+
d.out(l);
|
|
100
|
+
return;
|
|
152
101
|
}
|
|
153
|
-
|
|
154
|
-
const
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
const current = existsSync(path) ? readFileSync(path, "utf8") : "";
|
|
160
|
-
exists = hasTomlServer(current, conn.key);
|
|
161
|
-
content = withTomlServer(current, conn.key, String(fill(text, answers, tomlEscape)));
|
|
162
|
-
}
|
|
163
|
-
else {
|
|
164
|
-
const doc = readJsonConfig(path);
|
|
165
|
-
exists = hasJsonEntry(doc, loc.rootKey, conn.key, path);
|
|
166
|
-
content = jsonText(withJsonEntry(doc, loc.rootKey, conn.key, fill(entry, answers), path, loc.newFile));
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
catch (e) {
|
|
170
|
-
if (e instanceof ConfigError)
|
|
171
|
-
throw new CliError(e.message, 1);
|
|
172
|
-
throw e;
|
|
173
|
-
}
|
|
174
|
-
if (exists && !o.yes && !o.dryRun) {
|
|
175
|
-
if (!d.prompter.interactive)
|
|
176
|
-
throw new CliError(`"${conn.key}" is already in ${path}; rerun with --yes to replace it`, 1);
|
|
177
|
-
if (!(await d.prompter.confirm(`"${conn.key}" is already in ${path}. Replace it?`)))
|
|
178
|
-
throw new CliError("left as it was", 1);
|
|
179
|
-
}
|
|
180
|
-
if (o.dryRun) {
|
|
181
|
-
d.out(`Would ${exists ? "replace" : "add"} "${conn.key}" in ${path}:`);
|
|
182
|
-
d.out(loc.format === "toml" ? text.replace(/\s+$/, "") : JSON.stringify(entry, null, 2));
|
|
183
|
-
return;
|
|
184
|
-
}
|
|
185
|
-
const { backup } = writeConfig(path, content, { secret });
|
|
186
|
-
d.out(`${exists ? "Replaced" : "Added"} "${conn.key}" in ${path}${backup ? ` (previous file kept as ${backup})` : ""}.`);
|
|
102
|
+
if (exists && !o.yes) {
|
|
103
|
+
const where = `"${conn.key}" is already in ${dest.where}`;
|
|
104
|
+
if (!d.prompter.interactive)
|
|
105
|
+
throw new CliError(`${where}; rerun with --yes to replace it`, 1);
|
|
106
|
+
if (!(await d.prompter.confirm(`${where}. Replace it?`)))
|
|
107
|
+
throw new CliError("left as it was", 1);
|
|
187
108
|
}
|
|
109
|
+
for (const l of dest.install(conn.key, plan.entry, answers))
|
|
110
|
+
d.out(l);
|
|
111
|
+
const missing = plan.ask.filter((s) => !answers.has(s.name));
|
|
188
112
|
if (missing.length > 0)
|
|
189
113
|
d.out(`Fill in before use: ${missing.map((s) => `\${${s.name}}`).join(", ")} (${missing.map((s) => s.where).join(", ")}).`);
|
|
190
|
-
|
|
191
|
-
d.out(
|
|
192
|
-
if (conn.kind === "package")
|
|
193
|
-
d.out("This server runs as a local package on your machine when the client starts it.");
|
|
194
|
-
if (gate.class === "R2")
|
|
195
|
-
d.out(`${c.label} will open a sign-in page the first time it connects.`);
|
|
196
|
-
d.out(`Restart ${c.label} or reload its MCP servers to use it.`);
|
|
114
|
+
for (const l of plan.after)
|
|
115
|
+
d.out(l);
|
|
197
116
|
}
|
|
198
117
|
export async function remove(nameOrKey, o, d) {
|
|
199
118
|
const c = client(o.client);
|
|
200
|
-
const
|
|
119
|
+
const dest = destinationFor(located(c, d.env, o.scope), d.runClaude);
|
|
201
120
|
// A registry name gives the key the API used when adding it; anything else is taken as the key itself.
|
|
202
121
|
let key = nameOrKey;
|
|
203
122
|
if (nameOrKey.includes("/")) {
|
|
204
123
|
try {
|
|
205
|
-
key = (await d.api.
|
|
124
|
+
key = (await d.api.getConnection(nameOrKey, c.target)).key;
|
|
206
125
|
}
|
|
207
126
|
catch (e) {
|
|
208
|
-
if (!(e instanceof
|
|
127
|
+
if (!(e instanceof ProtogridError && e.status === 404))
|
|
209
128
|
throw apiMessage(e, nameOrKey);
|
|
210
129
|
}
|
|
211
130
|
}
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
if (loc.format === "command") {
|
|
215
|
-
if (o.dryRun)
|
|
216
|
-
return d.out(`Would run: claude mcp remove ${key} --scope user`);
|
|
217
|
-
const r = d.runClaude(["mcp", "remove", key, "--scope", "user"]);
|
|
218
|
-
if (r.notFound)
|
|
219
|
-
throw new CliError(`the claude command was not found; run: claude mcp remove ${key} --scope user`, 1);
|
|
220
|
-
if (r.status !== 0)
|
|
221
|
-
throw new CliError(`claude mcp remove failed: ${r.stderr.trim() || `exit ${r.status}`}`, 1);
|
|
222
|
-
return d.out(`Removed "${key}" from Claude Code (user scope).`);
|
|
223
|
-
}
|
|
224
|
-
const path = loc.path;
|
|
225
|
-
try {
|
|
226
|
-
if (loc.format === "toml") {
|
|
227
|
-
const current = existsSync(path) ? readFileSync(path, "utf8") : "";
|
|
228
|
-
if (!hasTomlServer(current, key))
|
|
229
|
-
throw new CliError(`"${key}" is not in ${path}`, 1);
|
|
230
|
-
if (o.dryRun)
|
|
231
|
-
return d.out(`Would remove "${key}" from ${path}.`);
|
|
232
|
-
const { backup } = writeConfig(path, withoutTomlServer(current, key), { secret: false });
|
|
233
|
-
return d.out(`Removed "${key}" from ${path} (previous file kept as ${backup}).`);
|
|
234
|
-
}
|
|
235
|
-
const doc = readJsonConfig(path);
|
|
236
|
-
if (!doc || !hasJsonEntry(doc, loc.rootKey, key, path))
|
|
237
|
-
throw new CliError(`"${key}" is not in ${path}`, 1);
|
|
238
|
-
if (o.dryRun)
|
|
239
|
-
return d.out(`Would remove "${key}" from ${path}.`);
|
|
240
|
-
const { backup } = writeConfig(path, jsonText(withoutJsonEntry(doc, loc.rootKey, key, path)), { secret: false });
|
|
241
|
-
d.out(`Removed "${key}" from ${path} (previous file kept as ${backup}).`);
|
|
242
|
-
}
|
|
243
|
-
catch (e) {
|
|
244
|
-
if (e instanceof ConfigError)
|
|
245
|
-
throw new CliError(e.message, 1);
|
|
246
|
-
throw e;
|
|
247
|
-
}
|
|
131
|
+
for (const l of o.dryRun ? dest.previewRemove(key) : dest.remove(key))
|
|
132
|
+
d.out(l);
|
|
248
133
|
}
|
|
249
|
-
export async function search(q, limit, d) {
|
|
134
|
+
export async function search(q, limit, d, extensions = []) {
|
|
250
135
|
let results;
|
|
251
136
|
try {
|
|
252
|
-
results = await d.api.search(q, limit);
|
|
137
|
+
results = (await d.api.search({ q, limit, extensions })).results;
|
|
253
138
|
}
|
|
254
139
|
catch (e) {
|
|
255
140
|
throw apiMessage(e, q);
|
|
@@ -257,7 +142,14 @@ export async function search(q, limit, d) {
|
|
|
257
142
|
if (results.length === 0)
|
|
258
143
|
return d.out("No servers found.");
|
|
259
144
|
for (const r of results) {
|
|
260
|
-
const
|
|
145
|
+
const uses = r.extensions?.length ? `uses ${[...r.extensions].sort().join(", ")}` : null;
|
|
146
|
+
const facts = [
|
|
147
|
+
r.connection_class,
|
|
148
|
+
r.quality_score != null ? `quality ${r.quality_score}` : null,
|
|
149
|
+
r.owner_verified ? "owner verified" : null,
|
|
150
|
+
uses,
|
|
151
|
+
...(r.quality_flags ?? []),
|
|
152
|
+
].filter(Boolean);
|
|
261
153
|
d.out(`${r.name} ${facts.join(" · ")}`);
|
|
262
154
|
const about = (r.title || r.description || "").replace(/\s+/g, " ").trim();
|
|
263
155
|
if (about)
|
|
@@ -269,7 +161,13 @@ export function listClients(d) {
|
|
|
269
161
|
for (const c of CLIENTS) {
|
|
270
162
|
const where = (s) => {
|
|
271
163
|
const l = c.locate(d.env, s);
|
|
272
|
-
return !l
|
|
164
|
+
return !l
|
|
165
|
+
? "-"
|
|
166
|
+
: l.format === "command"
|
|
167
|
+
? "claude mcp add-json"
|
|
168
|
+
: l.format === "print"
|
|
169
|
+
? `${l.path} (printed, not written)`
|
|
170
|
+
: l.path;
|
|
273
171
|
};
|
|
274
172
|
d.out(`${c.id.padEnd(15)} ${c.label}`);
|
|
275
173
|
d.out(` user: ${where("user")}`);
|
package/dist/commands.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands.js","sourceRoot":"","sources":["../src/commands.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,QAAQ,EAA6B,MAAM,UAAU,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,UAAU,EAAwD,MAAM,cAAc,CAAC;AACzG,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,EAAE,aAAa,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAYjL,MAAM,OAAO,QAAS,SAAQ,KAAK;IAGtB;IAFX,YACE,OAAe,EACN,OAAO,CAAC;QAEjB,KAAK,CAAC,OAAO,CAAC,CAAC;QAFN,SAAI,GAAJ,IAAI,CAAI;IAGnB,CAAC;C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