@agentmuxer/setup 0.1.0 → 0.1.1
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 +4 -3
- package/dist/bin.js +5 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,9 +19,10 @@ AgentMuxer endpoint and marked block; a nonstandard or different MCP using the s
|
|
|
19
19
|
as a conflict and left untouched. The guidance requires a free catalog search before external tooling, then leaves
|
|
20
20
|
the native-versus-specialized choice to fit, simplicity, and cost. Search never requires invocation.
|
|
21
21
|
|
|
22
|
-
After installation, run the sign-in command printed for your client
|
|
23
|
-
|
|
24
|
-
OAuth
|
|
22
|
+
After installation, run the sign-in command printed for your client — every AgentMuxer call
|
|
23
|
+
requires it; unauthenticated requests answer a standard 401 challenge that starts the host
|
|
24
|
+
OAuth flow. Status verifies the MCP configuration and guidance only; OAuth state remains
|
|
25
|
+
client-owned and is not inspected.
|
|
25
26
|
|
|
26
27
|
Release maintainers must run `vp run @agentmuxer/setup#release:smoke` and publish the exact tested
|
|
27
28
|
tarball it writes to `.context/release`, never publish this directory with npm.
|
package/dist/bin.js
CHANGED
|
@@ -327,7 +327,7 @@ const authenticationCommands = {
|
|
|
327
327
|
const authenticationCommand = (client) => authenticationCommands[client];
|
|
328
328
|
//#endregion
|
|
329
329
|
//#region src/cli.ts
|
|
330
|
-
const version = "0.1.
|
|
330
|
+
const version = "0.1.1";
|
|
331
331
|
const help = `AgentMuxer setup ${version}
|
|
332
332
|
|
|
333
333
|
Usage:
|
|
@@ -390,7 +390,7 @@ const install = async (args) => {
|
|
|
390
390
|
lines: [
|
|
391
391
|
`${clientLabel(client)} MCP: ${result.path}`,
|
|
392
392
|
`${clientLabel(client)} guidance: ${guidance.path}`,
|
|
393
|
-
`${clientLabel(client)} sign-in: ${authenticationCommand(client)}`
|
|
393
|
+
`${clientLabel(client)} sign-in (required): ${authenticationCommand(client)}`
|
|
394
394
|
],
|
|
395
395
|
failure: void 0
|
|
396
396
|
};
|
|
@@ -405,7 +405,7 @@ const install = async (args) => {
|
|
|
405
405
|
for (const line of outcomes.flatMap((outcome) => outcome.lines ?? [])) process.stdout.write(`${line}\n`);
|
|
406
406
|
const failures = outcomes.flatMap((outcome) => outcome.failure ?? []);
|
|
407
407
|
if (failures.length > 0) fail(failures.join("\n"));
|
|
408
|
-
process.stdout.write("Restart open clients after setup
|
|
408
|
+
process.stdout.write("Restart open clients after setup, then run the sign-in command above — every AgentMuxer call requires it (unauthenticated requests answer a 401 challenge).\n");
|
|
409
409
|
};
|
|
410
410
|
const status = async (args) => {
|
|
411
411
|
const clients = parseClients(args) ?? await detectedClients();
|
|
@@ -421,6 +421,8 @@ const status = async (args) => {
|
|
|
421
421
|
return installation !== void 0 && guidance.installed;
|
|
422
422
|
}).every(Boolean)) fail("AgentMuxer setup is incomplete or conflicting; run agentmuxer-setup install, or remove a custom same-name MCP manually");
|
|
423
423
|
process.stdout.write("AgentMuxer configuration and guidance verified.\n");
|
|
424
|
+
process.stdout.write("Not verified: sign-in. If calls answer 401, sign in:\n");
|
|
425
|
+
for (const client of clients) process.stdout.write(` ${clientLabel(client)}: ${authenticationCommand(client)}\n`);
|
|
424
426
|
};
|
|
425
427
|
const remove = async (args) => {
|
|
426
428
|
const clients = parseClients(args) ?? supportedClients;
|